Skip to content

Commit fe79a41

Browse files
committed
SDK regeneration
1 parent fa97937 commit fe79a41

File tree

312 files changed

+134629
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+134629
-567
lines changed

.mock/definition/accounting/__package__.yml

Lines changed: 32654 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
imports:
2+
root: __package__.yml
3+
service:
4+
auth: false
5+
base-path: ''
6+
endpoints:
7+
retrieve:
8+
path: /accounting/v1/account-details
9+
method: GET
10+
auth: true
11+
docs: Get details for a linked account.
12+
source:
13+
openapi: openapi/openapi.yml
14+
response:
15+
docs: ''
16+
type: root.AccountDetails
17+
status-code: 200
18+
examples:
19+
- headers: {}
20+
response:
21+
body:
22+
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
23+
integration: BambooHR
24+
integration_slug: bamboohr
25+
category: hris
26+
end_user_origin_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
27+
end_user_organization_name: Waystar Royco
28+
end_user_email_address: [email protected]
29+
status: COMPLETE
30+
webhook_listener_url: >-
31+
https://api.merge.dev/api/integrations/webhook-listener/7fc3mee0UW8ecV4
32+
is_duplicate: true
33+
account_type: PRODUCTION
34+
completed_at: '2024-08-26T20:11:19Z'
35+
source:
36+
openapi: openapi/openapi.yml
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
imports:
2+
root: __package__.yml
3+
service:
4+
auth: false
5+
base-path: ''
6+
endpoints:
7+
retrieve:
8+
path: /accounting/v1/account-token/{public_token}
9+
method: GET
10+
auth: true
11+
docs: >-
12+
Returns the account token for the end user with the provided public
13+
token.
14+
source:
15+
openapi: openapi/openapi.yml
16+
path-parameters:
17+
public_token: string
18+
response:
19+
docs: ''
20+
type: root.AccountToken
21+
status-code: 200
22+
examples:
23+
- path-parameters:
24+
public_token: public_token
25+
response:
26+
body:
27+
account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB
28+
integration:
29+
name: name
30+
abbreviated_name: abbreviated_name
31+
categories:
32+
- hris
33+
image: image
34+
square_image: square_image
35+
color: color
36+
slug: slug
37+
api_endpoints_to_documentation_urls:
38+
key: value
39+
webhook_setup_guide_url: webhook_setup_guide_url
40+
category_beta_status:
41+
key: value
42+
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
43+
source:
44+
openapi: openapi/openapi.yml
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
imports:
2+
root: __package__.yml
3+
service:
4+
auth: false
5+
base-path: ''
6+
endpoints:
7+
list:
8+
path: /accounting/v1/accounting-periods
9+
method: GET
10+
auth: true
11+
docs: Returns a list of `AccountingPeriod` objects.
12+
source:
13+
openapi: openapi/openapi.yml
14+
request:
15+
name: AccountingPeriodsListRequest
16+
query-parameters:
17+
cursor:
18+
type: optional<string>
19+
docs: The pagination cursor value.
20+
include_deleted_data:
21+
type: optional<boolean>
22+
docs: >-
23+
Indicates whether or not this object has been deleted in the third
24+
party platform. Full coverage deletion detection is a premium
25+
add-on. Native deletion detection is offered for free with limited
26+
coverage. [Learn
27+
more](https://docs.merge.dev/integrations/hris/supported-features/).
28+
include_remote_data:
29+
type: optional<boolean>
30+
docs: >-
31+
Whether to include the original data Merge fetched from the
32+
third-party to produce these models.
33+
include_shell_data:
34+
type: optional<boolean>
35+
docs: >-
36+
Whether to include shell records. Shell records are empty records
37+
(they may contain some metadata but all other fields are null).
38+
page_size:
39+
type: optional<integer>
40+
docs: Number of results to return per page.
41+
response:
42+
docs: ''
43+
type: root.PaginatedAccountingPeriodList
44+
status-code: 200
45+
examples:
46+
- headers: {}
47+
response:
48+
body:
49+
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
50+
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ
51+
results:
52+
- id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0
53+
remote_id: '2804580'
54+
created_at: '2021-09-15T00:00:00Z'
55+
modified_at: '2021-10-16T00:00:00Z'
56+
name: April 2020 Financials
57+
status: ACTIVE
58+
start_date: '2020-03-31T00:00:00Z'
59+
end_date: '2020-05-01T00:00:00Z'
60+
field_mappings:
61+
organization_defined_targets:
62+
custom_key: custom_value
63+
linked_account_defined_targets:
64+
custom_key: custom_value
65+
remote_data:
66+
- path: /actions
67+
data:
68+
- Varies by platform
69+
retrieve:
70+
path: /accounting/v1/accounting-periods/{id}
71+
method: GET
72+
auth: true
73+
docs: Returns an `AccountingPeriod` object with the given `id`.
74+
source:
75+
openapi: openapi/openapi.yml
76+
path-parameters:
77+
id: string
78+
request:
79+
name: AccountingPeriodsRetrieveRequest
80+
query-parameters:
81+
include_remote_data:
82+
type: optional<boolean>
83+
docs: >-
84+
Whether to include the original data Merge fetched from the
85+
third-party to produce these models.
86+
include_shell_data:
87+
type: optional<boolean>
88+
docs: >-
89+
Whether to include shell records. Shell records are empty records
90+
(they may contain some metadata but all other fields are null).
91+
response:
92+
docs: ''
93+
type: root.AccountingPeriod
94+
status-code: 200
95+
examples:
96+
- path-parameters:
97+
id: id
98+
headers: {}
99+
response:
100+
body:
101+
id: 3015f7b1-4d01-460d-bfab-02a52d16cbd0
102+
remote_id: '2804580'
103+
created_at: '2021-09-15T00:00:00Z'
104+
modified_at: '2021-10-16T00:00:00Z'
105+
name: April 2020 Financials
106+
status: ACTIVE
107+
start_date: '2020-03-31T00:00:00Z'
108+
end_date: '2020-05-01T00:00:00Z'
109+
field_mappings:
110+
organization_defined_targets:
111+
custom_key: custom_value
112+
linked_account_defined_targets:
113+
custom_key: custom_value
114+
remote_data:
115+
- path: /actions
116+
data:
117+
- Varies by platform
118+
source:
119+
openapi: openapi/openapi.yml

0 commit comments

Comments
 (0)