Skip to content

Commit b15443c

Browse files
SDK update: Oct 31 2025
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Nitesh Sandal <[email protected]>
1 parent fcae4cf commit b15443c

File tree

653 files changed

+43193
-6346
lines changed

Some content is hidden

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

653 files changed

+43193
-6346
lines changed

.fernignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ LICENSE.md
99
# Files that avoid breaking changes due to renames.
1010
src/merge/resources/accounting/types/currency_enum.py
1111

12-
tests/integration/test_filestorage.py
12+
tests/integration/*

.mock/definition/accounting/accountDetails.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
retrieve:
88
path: /accounting/v1/account-details
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Get details for a linked account.
1213
source:
1314
openapi: openapi/openapi.yml

.mock/definition/accounting/accountToken.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
retrieve:
88
path: /accounting/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.

.mock/definition/accounting/accountingPeriods.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
list:
88
path: /accounting/v1/accounting-periods
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Returns a list of `AccountingPeriod` objects.
1213
source:
1314
openapi: openapi/openapi.yml
@@ -45,6 +46,10 @@ service:
4546
examples:
4647
- query-parameters:
4748
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
49+
include_deleted_data: true
50+
include_remote_data: true
51+
include_shell_data: true
52+
page_size: 1
4853
headers:
4954
X-Account-Token: X-Account-Token
5055
response:
@@ -72,7 +77,8 @@ service:
7277
retrieve:
7378
path: /accounting/v1/accounting-periods/{id}
7479
method: GET
75-
auth: true
80+
auth:
81+
- tokenAuth: []
7682
docs: Returns an `AccountingPeriod` object with the given `id`.
7783
source:
7884
openapi: openapi/openapi.yml
@@ -98,6 +104,9 @@ service:
98104
examples:
99105
- path-parameters:
100106
id: id
107+
query-parameters:
108+
include_remote_data: true
109+
include_shell_data: true
101110
headers:
102111
X-Account-Token: X-Account-Token
103112
response:

.mock/definition/accounting/accounts.yml

Lines changed: 57 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
types:
2+
AccountsListRequestClassification:
3+
enum:
4+
- value: ''
5+
name: EMPTY
6+
- ASSET
7+
- EQUITY
8+
- EXPENSE
9+
- LIABILITY
10+
- REVENUE
11+
source:
12+
openapi: openapi/openapi.yml
213
AccountsListRequestRemoteFields:
314
enum:
415
- classification
@@ -15,6 +26,15 @@ types:
1526
- status
1627
source:
1728
openapi: openapi/openapi.yml
29+
AccountsListRequestStatus:
30+
enum:
31+
- value: ''
32+
name: EMPTY
33+
- ACTIVE
34+
- INACTIVE
35+
- PENDING
36+
source:
37+
openapi: openapi/openapi.yml
1838
AccountsRetrieveRequestRemoteFields:
1939
enum:
2040
- classification
@@ -40,7 +60,8 @@ service:
4060
list:
4161
path: /accounting/v1/accounts
4262
method: GET
43-
auth: true
63+
auth:
64+
- tokenAuth: []
4465
docs: Returns a list of `Account` objects.
4566
source:
4667
openapi: openapi/openapi.yml
@@ -51,7 +72,7 @@ service:
5172
type: optional<string>
5273
docs: If provided, will only return accounts with the passed in enum.
5374
classification:
54-
type: optional<string>
75+
type: optional<AccountsListRequestClassification>
5576
docs: If provided, will only return accounts with this classification.
5677
company_id:
5778
type: optional<string>
@@ -120,15 +141,32 @@ service:
120141
enum values. [Learn
121142
more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
122143
status:
123-
type: optional<string>
144+
type: optional<AccountsListRequestStatus>
124145
docs: If provided, will only return accounts with this status.
125146
response:
126147
docs: ''
127148
type: root.PaginatedAccountList
128149
status-code: 200
129150
examples:
130151
- query-parameters:
152+
account_type: account_type
153+
classification: ''
154+
company_id: company_id
155+
created_after: '2024-01-15T09:30:00Z'
156+
created_before: '2024-01-15T09:30:00Z'
131157
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
158+
expand: company
159+
include_deleted_data: true
160+
include_remote_data: true
161+
include_shell_data: true
162+
modified_after: '2024-01-15T09:30:00Z'
163+
modified_before: '2024-01-15T09:30:00Z'
164+
name: name
165+
page_size: 1
166+
remote_fields: classification
167+
remote_id: remote_id
168+
show_enum_origins: classification
169+
status: ''
132170
headers:
133171
X-Account-Token: X-Account-Token
134172
response:
@@ -164,7 +202,8 @@ service:
164202
create:
165203
path: /accounting/v1/accounts
166204
method: POST
167-
auth: true
205+
auth:
206+
- tokenAuth: []
168207
docs: Creates an `Account` object with the given values.
169208
source:
170209
openapi: openapi/openapi.yml
@@ -188,7 +227,10 @@ service:
188227
type: root.AccountResponse
189228
status-code: 201
190229
examples:
191-
- headers:
230+
- query-parameters:
231+
is_debug_mode: true
232+
run_async: true
233+
headers:
192234
X-Account-Token: X-Account-Token
193235
request:
194236
model: {}
@@ -243,7 +285,8 @@ service:
243285
retrieve:
244286
path: /accounting/v1/accounts/{id}
245287
method: GET
246-
auth: true
288+
auth:
289+
- tokenAuth: []
247290
docs: Returns an `Account` object with the given `id`.
248291
source:
249292
openapi: openapi/openapi.yml
@@ -284,6 +327,12 @@ service:
284327
examples:
285328
- path-parameters:
286329
id: id
330+
query-parameters:
331+
expand: company
332+
include_remote_data: true
333+
include_shell_data: true
334+
remote_fields: classification
335+
show_enum_origins: classification
287336
headers:
288337
X-Account-Token: X-Account-Token
289338
response:
@@ -316,7 +365,8 @@ service:
316365
metaPostRetrieve:
317366
path: /accounting/v1/accounts/meta/post
318367
method: GET
319-
auth: true
368+
auth:
369+
- tokenAuth: []
320370
docs: Returns metadata for `Account` POSTs.
321371
source:
322372
openapi: openapi/openapi.yml

.mock/definition/accounting/addresses.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
retrieve:
88
path: /accounting/v1/addresses/{id}
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Returns an `Address` object with the given `id`.
1213
source:
1314
openapi: openapi/openapi.yml
@@ -43,6 +44,11 @@ service:
4344
examples:
4445
- path-parameters:
4546
id: id
47+
query-parameters:
48+
include_remote_data: true
49+
include_shell_data: true
50+
remote_fields: type
51+
show_enum_origins: type
4652
headers:
4753
X-Account-Token: X-Account-Token
4854
response:

.mock/definition/accounting/asyncPassthrough.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
create:
88
path: /accounting/v1/async-passthrough
99
method: POST
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: >-
1213
Asynchronously pull data from an endpoint not currently supported by
1314
Merge.
@@ -32,7 +33,8 @@ service:
3233
retrieve:
3334
path: /accounting/v1/async-passthrough/{async_passthrough_receipt_id}
3435
method: GET
35-
auth: true
36+
auth:
37+
- tokenAuth: []
3638
docs: Retrieves data from earlier async-passthrough POST request
3739
source:
3840
openapi: openapi/openapi.yml

.mock/definition/accounting/asyncTasks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
retrieve:
88
path: /accounting/v1/async-tasks/{id}
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Returns an `AsyncPostTask` object with the given `id`.
1213
source:
1314
openapi: openapi/openapi.yml

.mock/definition/accounting/attachments.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
list:
88
path: /accounting/v1/attachments
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Returns a list of `AccountingAttachment` objects.
1213
source:
1314
openapi: openapi/openapi.yml
@@ -70,7 +71,17 @@ service:
7071
status-code: 200
7172
examples:
7273
- query-parameters:
74+
company_id: company_id
75+
created_after: '2024-01-15T09:30:00Z'
76+
created_before: '2024-01-15T09:30:00Z'
7377
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
78+
include_deleted_data: true
79+
include_remote_data: true
80+
include_shell_data: true
81+
modified_after: '2024-01-15T09:30:00Z'
82+
modified_before: '2024-01-15T09:30:00Z'
83+
page_size: 1
84+
remote_id: remote_id
7485
headers:
7586
X-Account-Token: X-Account-Token
7687
response:
@@ -99,7 +110,8 @@ service:
99110
create:
100111
path: /accounting/v1/attachments
101112
method: POST
102-
auth: true
113+
auth:
114+
- tokenAuth: []
103115
docs: Creates an `AccountingAttachment` object with the given values.
104116
source:
105117
openapi: openapi/openapi.yml
@@ -123,7 +135,10 @@ service:
123135
type: root.AccountingAttachmentResponse
124136
status-code: 201
125137
examples:
126-
- headers:
138+
- query-parameters:
139+
is_debug_mode: true
140+
run_async: true
141+
headers:
127142
X-Account-Token: X-Account-Token
128143
request:
129144
model: {}
@@ -171,7 +186,8 @@ service:
171186
retrieve:
172187
path: /accounting/v1/attachments/{id}
173188
method: GET
174-
auth: true
189+
auth:
190+
- tokenAuth: []
175191
docs: Returns an `AccountingAttachment` object with the given `id`.
176192
source:
177193
openapi: openapi/openapi.yml
@@ -197,6 +213,9 @@ service:
197213
examples:
198214
- path-parameters:
199215
id: id
216+
query-parameters:
217+
include_remote_data: true
218+
include_shell_data: true
200219
headers:
201220
X-Account-Token: X-Account-Token
202221
response:
@@ -222,7 +241,8 @@ service:
222241
metaPostRetrieve:
223242
path: /accounting/v1/attachments/meta/post
224243
method: GET
225-
auth: true
244+
auth:
245+
- tokenAuth: []
226246
docs: Returns metadata for `AccountingAttachment` POSTs.
227247
source:
228248
openapi: openapi/openapi.yml

.mock/definition/accounting/auditTrail.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ service:
77
list:
88
path: /accounting/v1/audit-trail
99
method: GET
10-
auth: true
10+
auth:
11+
- tokenAuth: []
1112
docs: Gets a list of audit trail events.
1213
source:
1314
openapi: openapi/openapi.yml
@@ -77,6 +78,11 @@ service:
7778
examples:
7879
- query-parameters:
7980
cursor: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw
81+
end_date: end_date
82+
event_type: event_type
83+
page_size: 1
84+
start_date: start_date
85+
user_email: user_email
8086
headers:
8187
X-Account-Token: '[object Object]'
8288
response:

0 commit comments

Comments
 (0)