Skip to content

Commit 9a4caeb

Browse files
SDK regeneration
1 parent ac6a825 commit 9a4caeb

File tree

1,002 files changed

+310072
-70408
lines changed

Some content is hidden

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

1,002 files changed

+310072
-70408
lines changed

.mock/accounting_v3.yml

Lines changed: 32829 additions & 0 deletions
Large diffs are not rendered by default.

.mock/ats_v3.yml

Lines changed: 10845 additions & 0 deletions
Large diffs are not rendered by default.

.mock/crm_v3.yml

Lines changed: 12652 additions & 0 deletions
Large diffs are not rendered by default.

.mock/definition/ats/__package__.yml renamed to .mock/definition/ATS/__package__.yml

Lines changed: 839 additions & 217 deletions
Large diffs are not rendered by default.

.mock/definition/ats/accountDetails.yml renamed to .mock/definition/ATS/accountDetails.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
imports:
2-
root: __package__.yml
2+
atsRoot: __package__.yml
33
service:
44
auth: false
55
base-path: ''
66
endpoints:
77
retrieve:
88
path: /ats/v1/account-details
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Get details for a linked account.
1213
source:
13-
openapi: openapi/openapi.yml
14+
openapi: ats_v3.yml
1415
response:
1516
docs: ''
16-
type: root.AccountDetails
17+
type: atsRoot.AccountDetails
1718
status-code: 200
1819
examples:
19-
- headers: {}
20+
- headers:
21+
X-Account-Token: X-Account-Token
2022
response:
2123
body:
2224
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
@@ -33,4 +35,4 @@ service:
3335
account_type: PRODUCTION
3436
completed_at: '2024-08-26T20:11:19Z'
3537
source:
36-
openapi: openapi/openapi.yml
38+
openapi: ats_v3.yml

.mock/definition/ats/accountToken.yml renamed to .mock/definition/ATS/accountToken.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
imports:
2-
root: __package__.yml
2+
atsRoot: __package__.yml
33
service:
44
auth: false
55
base-path: ''
66
endpoints:
77
retrieve:
88
path: /ats/v1/account-token/{public_token}
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: >-
1213
Returns the account token for the end user with the provided public
1314
token.
1415
source:
15-
openapi: openapi/openapi.yml
16+
openapi: ats_v3.yml
1617
path-parameters:
1718
public_token: string
1819
response:
1920
docs: ''
20-
type: root.AccountToken
21+
type: atsRoot.AccountToken
2122
status-code: 200
2223
examples:
2324
- path-parameters:
2425
public_token: public_token
26+
headers:
27+
X-Account-Token: '[object Object]'
2528
response:
2629
body:
2730
account_token: T9klMDQrcHdm9jrtHuOS2Nf06BIHwMNjpPXPMB
@@ -41,4 +44,4 @@ service:
4144
key: value
4245
id: 0496d4c2-42e6-4072-80b3-7b69bfdc76fd
4346
source:
44-
openapi: openapi/openapi.yml
47+
openapi: ats_v3.yml

.mock/definition/ats/activities.yml renamed to .mock/definition/ATS/activities.yml

Lines changed: 59 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,49 @@ types:
66
name: ActivityTypeVisibility
77
- visibility
88
source:
9-
openapi: openapi/openapi.yml
9+
openapi: ats_v3.yml
1010
ActivitiesListRequestShowEnumOrigins:
1111
enum:
1212
- activity_type
1313
- value: activity_type,visibility
1414
name: ActivityTypeVisibility
1515
- visibility
1616
source:
17-
openapi: openapi/openapi.yml
17+
openapi: ats_v3.yml
1818
ActivitiesRetrieveRequestRemoteFields:
1919
enum:
2020
- activity_type
2121
- value: activity_type,visibility
2222
name: ActivityTypeVisibility
2323
- visibility
2424
source:
25-
openapi: openapi/openapi.yml
25+
openapi: ats_v3.yml
2626
ActivitiesRetrieveRequestShowEnumOrigins:
2727
enum:
2828
- activity_type
2929
- value: activity_type,visibility
3030
name: ActivityTypeVisibility
3131
- visibility
3232
source:
33-
openapi: openapi/openapi.yml
33+
openapi: ats_v3.yml
3434
imports:
35-
root: __package__.yml
35+
atsRoot: __package__.yml
3636
service:
3737
auth: false
3838
base-path: ''
3939
endpoints:
4040
list:
4141
path: /ats/v1/activities
4242
method: GET
43-
auth: true
43+
auth:
44+
- tokenAuth: []
4445
docs: Returns a list of `Activity` objects.
46+
pagination:
47+
cursor: $request.cursor
48+
next_cursor: $response.next
49+
results: $response.results
4550
source:
46-
openapi: openapi/openapi.yml
51+
openapi: ats_v3.yml
4752
request:
4853
name: ActivitiesListRequest
4954
query-parameters:
@@ -60,6 +65,7 @@ service:
6065
docs: The pagination cursor value.
6166
expand:
6267
type: optional<literal<"user">>
68+
allow-multiple: true
6369
docs: >-
6470
Which relations should be returned in expanded form. Multiple
6571
relation names should be comma separated without spaces.
@@ -112,10 +118,25 @@ service:
112118
docs: If provided, will only return activities done by this user.
113119
response:
114120
docs: ''
115-
type: root.PaginatedActivityList
121+
type: atsRoot.PaginatedActivityList
116122
status-code: 200
117123
examples:
118-
- headers: {}
124+
- query-parameters:
125+
created_after: '2024-01-15T09:30:00Z'
126+
created_before: '2024-01-15T09:30:00Z'
127+
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
128+
include_deleted_data: true
129+
include_remote_data: true
130+
include_shell_data: true
131+
modified_after: '2024-01-15T09:30:00Z'
132+
modified_before: '2024-01-15T09:30:00Z'
133+
page_size: 1
134+
remote_fields: activity_type
135+
remote_id: remote_id
136+
show_enum_origins: activity_type
137+
user_id: user_id
138+
headers:
139+
X-Account-Token: X-Account-Token
119140
response:
120141
body:
121142
next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
@@ -145,10 +166,11 @@ service:
145166
create:
146167
path: /ats/v1/activities
147168
method: POST
148-
auth: true
169+
auth:
170+
- tokenAuth: []
149171
docs: Creates an `Activity` object with the given values.
150172
source:
151-
openapi: openapi/openapi.yml
173+
openapi: ats_v3.yml
152174
request:
153175
name: ActivityEndpointRequest
154176
query-parameters:
@@ -162,15 +184,19 @@ service:
162184
docs: Whether or not third-party updates should be run asynchronously.
163185
body:
164186
properties:
165-
model: root.ActivityRequest
187+
model: atsRoot.ActivityRequest
166188
remote_user_id: string
167189
content-type: application/json
168190
response:
169191
docs: ''
170-
type: root.ActivityResponse
192+
type: atsRoot.ActivityResponse
171193
status-code: 201
172194
examples:
173-
- headers: {}
195+
- query-parameters:
196+
is_debug_mode: true
197+
run_async: true
198+
headers:
199+
X-Account-Token: X-Account-Token
174200
request:
175201
model: {}
176202
remote_user_id: remote_user_id
@@ -221,17 +247,19 @@ service:
221247
retrieve:
222248
path: /ats/v1/activities/{id}
223249
method: GET
224-
auth: true
250+
auth:
251+
- tokenAuth: []
225252
docs: Returns an `Activity` object with the given `id`.
226253
source:
227-
openapi: openapi/openapi.yml
254+
openapi: ats_v3.yml
228255
path-parameters:
229256
id: string
230257
request:
231258
name: ActivitiesRetrieveRequest
232259
query-parameters:
233260
expand:
234261
type: optional<literal<"user">>
262+
allow-multiple: true
235263
docs: >-
236264
Which relations should be returned in expanded form. Multiple
237265
relation names should be comma separated without spaces.
@@ -257,12 +285,18 @@ service:
257285
more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
258286
response:
259287
docs: ''
260-
type: root.Activity
288+
type: atsRoot.Activity
261289
status-code: 200
262290
examples:
263291
- path-parameters:
264292
id: id
265-
headers: {}
293+
query-parameters:
294+
include_remote_data: true
295+
include_shell_data: true
296+
remote_fields: activity_type
297+
show_enum_origins: activity_type
298+
headers:
299+
X-Account-Token: X-Account-Token
266300
response:
267301
body:
268302
id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4
@@ -289,16 +323,18 @@ service:
289323
metaPostRetrieve:
290324
path: /ats/v1/activities/meta/post
291325
method: GET
292-
auth: true
326+
auth:
327+
- tokenAuth: []
293328
docs: Returns metadata for `Activity` POSTs.
294329
source:
295-
openapi: openapi/openapi.yml
330+
openapi: ats_v3.yml
296331
response:
297332
docs: ''
298-
type: root.MetaResponse
333+
type: atsRoot.MetaResponse
299334
status-code: 200
300335
examples:
301-
- headers: {}
336+
- headers:
337+
X-Account-Token: X-Account-Token
302338
response:
303339
body:
304340
request_schema:
@@ -471,4 +507,4 @@ service:
471507
has_conditional_params: true
472508
has_required_linked_account_params: true
473509
source:
474-
openapi: openapi/openapi.yml
510+
openapi: ats_v3.yml

0 commit comments

Comments
 (0)