@@ -45,6 +45,7 @@ def initialize(request_client:)
45
45
# @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned.
46
46
# @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be
47
47
# returned.
48
+ # @param name [String] If provided, will only return Accounts with this name.
48
49
# @param page_size [Integer] Number of results to return per page.
49
50
# @param remote_fields [Merge::Accounting::Accounts::AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins.
50
51
# @param remote_id [String] The API provider's ID for the given object.
@@ -61,7 +62,7 @@ def initialize(request_client:)
61
62
# )
62
63
# api.accounting.accounts.list
63
64
def list ( account_type : nil , company_id : nil , created_after : nil , created_before : nil , cursor : nil , expand : nil ,
64
- include_deleted_data : nil , include_remote_data : nil , include_shell_data : nil , modified_after : nil , modified_before : nil , page_size : nil , remote_fields : nil , remote_id : nil , show_enum_origins : nil , request_options : nil )
65
+ include_deleted_data : nil , include_remote_data : nil , include_shell_data : nil , modified_after : nil , modified_before : nil , name : nil , page_size : nil , remote_fields : nil , remote_id : nil , show_enum_origins : nil , request_options : nil )
65
66
response = @request_client . conn . get do |req |
66
67
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
67
68
req . headers [ "Authorization" ] = request_options . api_key unless request_options &.api_key . nil?
@@ -84,6 +85,7 @@ def list(account_type: nil, company_id: nil, created_after: nil, created_before:
84
85
"include_shell_data" : include_shell_data ,
85
86
"modified_after" : modified_after ,
86
87
"modified_before" : modified_before ,
88
+ "name" : name ,
87
89
"page_size" : page_size ,
88
90
"remote_fields" : remote_fields ,
89
91
"remote_id" : remote_id ,
@@ -152,6 +154,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
152
154
# should be comma separated without spaces.
153
155
# @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
154
156
# produce these models.
157
+ # @param include_shell_data [Boolean] Whether to include shell records. Shell records are empty records (they may
158
+ # contain some metadata but all other fields are null).
155
159
# @param remote_fields [Merge::Accounting::Accounts::AccountsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins.
156
160
# @param show_enum_origins [Merge::Accounting::Accounts::AccountsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original
157
161
# values to be returned, instead of Merge's normalized enum values. [Learn
@@ -165,8 +169,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
165
169
# api_key: "YOUR_AUTH_TOKEN"
166
170
# )
167
171
# api.accounting.accounts.retrieve(id: "id")
168
- def retrieve ( id :, expand : nil , include_remote_data : nil , remote_fields : nil , show_enum_origins : nil ,
169
- request_options : nil )
172
+ def retrieve ( id :, expand : nil , include_remote_data : nil , include_shell_data : nil , remote_fields : nil ,
173
+ show_enum_origins : nil , request_options : nil )
170
174
response = @request_client . conn . get do |req |
171
175
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
172
176
req . headers [ "Authorization" ] = request_options . api_key unless request_options &.api_key . nil?
@@ -180,6 +184,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, remote_fields: nil, sho
180
184
**( request_options &.additional_query_parameters || { } ) ,
181
185
"expand" : expand ,
182
186
"include_remote_data" : include_remote_data ,
187
+ "include_shell_data" : include_shell_data ,
183
188
"remote_fields" : remote_fields ,
184
189
"show_enum_origins" : show_enum_origins
185
190
} . compact
@@ -254,6 +259,7 @@ def initialize(request_client:)
254
259
# @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned.
255
260
# @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be
256
261
# returned.
262
+ # @param name [String] If provided, will only return Accounts with this name.
257
263
# @param page_size [Integer] Number of results to return per page.
258
264
# @param remote_fields [Merge::Accounting::Accounts::AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins.
259
265
# @param remote_id [String] The API provider's ID for the given object.
@@ -270,7 +276,7 @@ def initialize(request_client:)
270
276
# )
271
277
# api.accounting.accounts.list
272
278
def list ( account_type : nil , company_id : nil , created_after : nil , created_before : nil , cursor : nil , expand : nil ,
273
- include_deleted_data : nil , include_remote_data : nil , include_shell_data : nil , modified_after : nil , modified_before : nil , page_size : nil , remote_fields : nil , remote_id : nil , show_enum_origins : nil , request_options : nil )
279
+ include_deleted_data : nil , include_remote_data : nil , include_shell_data : nil , modified_after : nil , modified_before : nil , name : nil , page_size : nil , remote_fields : nil , remote_id : nil , show_enum_origins : nil , request_options : nil )
274
280
Async do
275
281
response = @request_client . conn . get do |req |
276
282
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
@@ -294,6 +300,7 @@ def list(account_type: nil, company_id: nil, created_after: nil, created_before:
294
300
"include_shell_data" : include_shell_data ,
295
301
"modified_after" : modified_after ,
296
302
"modified_before" : modified_before ,
303
+ "name" : name ,
297
304
"page_size" : page_size ,
298
305
"remote_fields" : remote_fields ,
299
306
"remote_id" : remote_id ,
@@ -365,6 +372,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
365
372
# should be comma separated without spaces.
366
373
# @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
367
374
# produce these models.
375
+ # @param include_shell_data [Boolean] Whether to include shell records. Shell records are empty records (they may
376
+ # contain some metadata but all other fields are null).
368
377
# @param remote_fields [Merge::Accounting::Accounts::AccountsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins.
369
378
# @param show_enum_origins [Merge::Accounting::Accounts::AccountsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original
370
379
# values to be returned, instead of Merge's normalized enum values. [Learn
@@ -378,8 +387,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
378
387
# api_key: "YOUR_AUTH_TOKEN"
379
388
# )
380
389
# api.accounting.accounts.retrieve(id: "id")
381
- def retrieve ( id :, expand : nil , include_remote_data : nil , remote_fields : nil , show_enum_origins : nil ,
382
- request_options : nil )
390
+ def retrieve ( id :, expand : nil , include_remote_data : nil , include_shell_data : nil , remote_fields : nil ,
391
+ show_enum_origins : nil , request_options : nil )
383
392
Async do
384
393
response = @request_client . conn . get do |req |
385
394
req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
@@ -394,6 +403,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, remote_fields: nil, sho
394
403
**( request_options &.additional_query_parameters || { } ) ,
395
404
"expand" : expand ,
396
405
"include_remote_data" : include_remote_data ,
406
+ "include_shell_data" : include_shell_data ,
397
407
"remote_fields" : remote_fields ,
398
408
"show_enum_origins" : show_enum_origins
399
409
} . compact
0 commit comments