@@ -45,6 +45,7 @@ def initialize(request_client:)
4545 # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned.
4646 # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be
4747 # returned.
48+ # @param name [String] If provided, will only return Accounts with this name.
4849 # @param page_size [Integer] Number of results to return per page.
4950 # @param remote_fields [Merge::Accounting::Accounts::AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins.
5051 # @param remote_id [String] The API provider's ID for the given object.
@@ -61,7 +62,7 @@ def initialize(request_client:)
6162 # )
6263 # api.accounting.accounts.list
6364 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 )
6566 response = @request_client . conn . get do |req |
6667 req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
6768 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:
8485 "include_shell_data" : include_shell_data ,
8586 "modified_after" : modified_after ,
8687 "modified_before" : modified_before ,
88+ "name" : name ,
8789 "page_size" : page_size ,
8890 "remote_fields" : remote_fields ,
8991 "remote_id" : remote_id ,
@@ -152,6 +154,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
152154 # should be comma separated without spaces.
153155 # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
154156 # 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).
155159 # @param remote_fields [Merge::Accounting::Accounts::AccountsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins.
156160 # @param show_enum_origins [Merge::Accounting::Accounts::AccountsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original
157161 # 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)
165169 # api_key: "YOUR_AUTH_TOKEN"
166170 # )
167171 # 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 )
170174 response = @request_client . conn . get do |req |
171175 req . options . timeout = request_options . timeout_in_seconds unless request_options &.timeout_in_seconds . nil?
172176 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
180184 **( request_options &.additional_query_parameters || { } ) ,
181185 "expand" : expand ,
182186 "include_remote_data" : include_remote_data ,
187+ "include_shell_data" : include_shell_data ,
183188 "remote_fields" : remote_fields ,
184189 "show_enum_origins" : show_enum_origins
185190 } . compact
@@ -254,6 +259,7 @@ def initialize(request_client:)
254259 # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned.
255260 # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be
256261 # returned.
262+ # @param name [String] If provided, will only return Accounts with this name.
257263 # @param page_size [Integer] Number of results to return per page.
258264 # @param remote_fields [Merge::Accounting::Accounts::AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins.
259265 # @param remote_id [String] The API provider's ID for the given object.
@@ -270,7 +276,7 @@ def initialize(request_client:)
270276 # )
271277 # api.accounting.accounts.list
272278 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 )
274280 Async do
275281 response = @request_client . conn . get do |req |
276282 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:
294300 "include_shell_data" : include_shell_data ,
295301 "modified_after" : modified_after ,
296302 "modified_before" : modified_before ,
303+ "name" : name ,
297304 "page_size" : page_size ,
298305 "remote_fields" : remote_fields ,
299306 "remote_id" : remote_id ,
@@ -365,6 +372,8 @@ def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
365372 # should be comma separated without spaces.
366373 # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
367374 # 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).
368377 # @param remote_fields [Merge::Accounting::Accounts::AccountsRetrieveRequestRemoteFields] Deprecated. Use show_enum_origins.
369378 # @param show_enum_origins [Merge::Accounting::Accounts::AccountsRetrieveRequestShowEnumOrigins] A comma separated list of enum field names for which you'd like the original
370379 # 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)
378387 # api_key: "YOUR_AUTH_TOKEN"
379388 # )
380389 # 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 )
383392 Async do
384393 response = @request_client . conn . get do |req |
385394 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
394403 **( request_options &.additional_query_parameters || { } ) ,
395404 "expand" : expand ,
396405 "include_remote_data" : include_remote_data ,
406+ "include_shell_data" : include_shell_data ,
397407 "remote_fields" : remote_fields ,
398408 "show_enum_origins" : show_enum_origins
399409 } . compact
0 commit comments