11types :
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
0 commit comments