lockstep_sdk 2022.37.24.0 → 2023.1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lockstep_sdk/clients/api_keys_client.rb +3 -3
  3. data/lib/lockstep_sdk/clients/app_enrollments_client.rb +5 -5
  4. data/lib/lockstep_sdk/clients/applications_client.rb +3 -3
  5. data/lib/lockstep_sdk/clients/attachments_client.rb +3 -3
  6. data/lib/lockstep_sdk/clients/code_definitions_client.rb +3 -3
  7. data/lib/lockstep_sdk/clients/companies_client.rb +40 -10
  8. data/lib/lockstep_sdk/clients/contacts_client.rb +17 -6
  9. data/lib/lockstep_sdk/clients/{credit_memo_applied_client.rb → credit_memos_applied_client.rb} +30 -30
  10. data/lib/lockstep_sdk/clients/currencies_client.rb +2 -2
  11. data/lib/lockstep_sdk/clients/custom_field_definitions_client.rb +3 -3
  12. data/lib/lockstep_sdk/clients/custom_field_values_client.rb +3 -3
  13. data/lib/lockstep_sdk/clients/definitions_client.rb +6 -6
  14. data/lib/lockstep_sdk/clients/feature_flags_client.rb +35 -0
  15. data/lib/lockstep_sdk/clients/financial_account_balance_history_client.rb +3 -3
  16. data/lib/lockstep_sdk/clients/financial_account_client.rb +3 -3
  17. data/lib/lockstep_sdk/clients/financial_year_settings_client.rb +3 -3
  18. data/lib/lockstep_sdk/clients/group_accounts_client.rb +2 -2
  19. data/lib/lockstep_sdk/clients/invoice_addresses_client.rb +91 -0
  20. data/lib/lockstep_sdk/clients/invoice_history_client.rb +3 -3
  21. data/lib/lockstep_sdk/clients/invoice_lines_client.rb +88 -0
  22. data/lib/lockstep_sdk/clients/invoices_client.rb +17 -6
  23. data/lib/lockstep_sdk/clients/leads_client.rb +2 -2
  24. data/lib/lockstep_sdk/clients/magic_links_client.rb +62 -0
  25. data/lib/lockstep_sdk/clients/notes_client.rb +3 -3
  26. data/lib/lockstep_sdk/clients/payments_applied_client.rb +93 -0
  27. data/lib/lockstep_sdk/clients/payments_client.rb +6 -6
  28. data/lib/lockstep_sdk/clients/profiles_accounting_client.rb +104 -0
  29. data/lib/lockstep_sdk/clients/profiles_accounting_contacts_client.rb +91 -0
  30. data/lib/lockstep_sdk/clients/{profiles_client.rb → profiles_companies_client.rb} +7 -7
  31. data/lib/lockstep_sdk/clients/provisioning_client.rb +2 -2
  32. data/lib/lockstep_sdk/clients/reports_client.rb +4 -4
  33. data/lib/lockstep_sdk/clients/status_client.rb +2 -2
  34. data/lib/lockstep_sdk/clients/sync_client.rb +3 -3
  35. data/lib/lockstep_sdk/clients/transactions_client.rb +54 -0
  36. data/lib/lockstep_sdk/clients/transcriptions_client.rb +91 -0
  37. data/lib/lockstep_sdk/clients/user_accounts_client.rb +13 -15
  38. data/lib/lockstep_sdk/clients/user_roles_client.rb +3 -3
  39. data/lib/lockstep_sdk/clients/webhook_rules_client.rb +3 -3
  40. data/lib/lockstep_sdk/clients/webhooks_client.rb +4 -4
  41. data/lib/lockstep_sdk/lockstep_api.rb +54 -24
  42. data/lib/lockstep_sdk/models/accounting_profile_contact_model.rb +90 -0
  43. data/lib/lockstep_sdk/models/accounting_profile_model.rb +183 -0
  44. data/lib/lockstep_sdk/models/action_result_model.rb +2 -2
  45. data/lib/lockstep_sdk/models/aging_model.rb +2 -2
  46. data/lib/lockstep_sdk/models/ap_aging_header_info_model.rb +2 -2
  47. data/lib/lockstep_sdk/models/ap_header_info_model.rb +8 -2
  48. data/lib/lockstep_sdk/models/api_key_model.rb +2 -2
  49. data/lib/lockstep_sdk/models/app_enrollment_custom_field_model.rb +2 -2
  50. data/lib/lockstep_sdk/models/app_enrollment_model.rb +8 -2
  51. data/lib/lockstep_sdk/models/{app_enrollment_reconnect_request.rb → app_enrollment_reconnect_info.rb} +10 -4
  52. data/lib/lockstep_sdk/models/application_model.rb +2 -2
  53. data/lib/lockstep_sdk/models/ar_aging_header_info_model.rb +2 -2
  54. data/lib/lockstep_sdk/models/ar_header_info_model.rb +8 -2
  55. data/lib/lockstep_sdk/models/at_risk_invoice_summary_model.rb +26 -2
  56. data/lib/lockstep_sdk/models/attachment_header_info_model.rb +2 -2
  57. data/lib/lockstep_sdk/models/attachment_model.rb +2 -2
  58. data/lib/lockstep_sdk/models/batch_sync_model.rb +2 -2
  59. data/lib/lockstep_sdk/models/bulk_currency_conversion_model.rb +2 -2
  60. data/lib/lockstep_sdk/models/bulk_delete_request_model.rb +47 -0
  61. data/lib/lockstep_sdk/models/cashflow_report_model.rb +2 -2
  62. data/lib/lockstep_sdk/models/code_definition_model.rb +2 -2
  63. data/lib/lockstep_sdk/models/company_details_model.rb +2 -2
  64. data/lib/lockstep_sdk/models/company_details_payment_model.rb +2 -2
  65. data/lib/lockstep_sdk/models/company_model.rb +8 -8
  66. data/lib/lockstep_sdk/models/company_sync_model.rb +2 -8
  67. data/lib/lockstep_sdk/models/connector_info_model.rb +2 -2
  68. data/lib/lockstep_sdk/models/contact_model.rb +2 -2
  69. data/lib/lockstep_sdk/models/contact_sync_model.rb +2 -2
  70. data/lib/lockstep_sdk/models/country_model.rb +2 -2
  71. data/lib/lockstep_sdk/models/credit_memo_applied_model.rb +2 -2
  72. data/lib/lockstep_sdk/models/credit_memo_applied_sync_model.rb +2 -2
  73. data/lib/lockstep_sdk/models/credit_memo_invoice_model.rb +32 -2
  74. data/lib/lockstep_sdk/models/currency_model.rb +2 -2
  75. data/lib/lockstep_sdk/models/currency_rate_model.rb +2 -2
  76. data/lib/lockstep_sdk/models/custom_field_definition_model.rb +2 -2
  77. data/lib/lockstep_sdk/models/custom_field_sync_model.rb +2 -2
  78. data/lib/lockstep_sdk/models/custom_field_value_model.rb +20 -2
  79. data/lib/lockstep_sdk/models/customer_summary_model.rb +8 -2
  80. data/lib/lockstep_sdk/models/daily_payable_outstanding_report_model.rb +2 -2
  81. data/lib/lockstep_sdk/models/daily_sales_outstanding_report_model.rb +2 -2
  82. data/lib/lockstep_sdk/models/delete_result.rb +47 -0
  83. data/lib/lockstep_sdk/models/developer_account_submit_model.rb +2 -2
  84. data/lib/lockstep_sdk/models/dpo_summary_group_total_model.rb +2 -2
  85. data/lib/lockstep_sdk/models/dpo_summary_model.rb +2 -2
  86. data/lib/lockstep_sdk/models/erp_model.rb +2 -2
  87. data/lib/lockstep_sdk/models/error_result.rb +2 -2
  88. data/lib/lockstep_sdk/models/feature_flags_request_model.rb +47 -0
  89. data/lib/lockstep_sdk/models/feature_flags_response_model.rb +47 -0
  90. data/lib/lockstep_sdk/models/financial_account_balance_history_model.rb +2 -2
  91. data/lib/lockstep_sdk/models/financial_account_balance_history_sync_model.rb +2 -2
  92. data/lib/lockstep_sdk/models/financial_account_model.rb +2 -2
  93. data/lib/lockstep_sdk/models/financial_account_sync_model.rb +2 -2
  94. data/lib/lockstep_sdk/models/financial_report_cell_model.rb +2 -2
  95. data/lib/lockstep_sdk/models/financial_report_model.rb +2 -2
  96. data/lib/lockstep_sdk/models/financial_report_row_model.rb +2 -2
  97. data/lib/lockstep_sdk/models/financial_year_setting_model.rb +2 -2
  98. data/lib/lockstep_sdk/models/financial_year_setting_sync_model.rb +2 -2
  99. data/lib/lockstep_sdk/models/group_account_model.rb +8 -2
  100. data/lib/lockstep_sdk/models/invite_data_model.rb +2 -2
  101. data/lib/lockstep_sdk/models/invite_model.rb +2 -2
  102. data/lib/lockstep_sdk/models/invite_submit_model.rb +2 -2
  103. data/lib/lockstep_sdk/models/invoice_address_model.rb +2 -2
  104. data/lib/lockstep_sdk/models/invoice_history_model.rb +8 -2
  105. data/lib/lockstep_sdk/models/invoice_line_model.rb +2 -2
  106. data/lib/lockstep_sdk/models/invoice_line_sync_model.rb +2 -2
  107. data/lib/lockstep_sdk/models/invoice_model.rb +8 -2
  108. data/lib/lockstep_sdk/models/invoice_payment_detail_model.rb +32 -2
  109. data/lib/lockstep_sdk/models/invoice_summary_model.rb +44 -2
  110. data/lib/lockstep_sdk/models/invoice_summary_model_invoice_summary_totals_model_summary_fetch_result.rb +75 -0
  111. data/lib/lockstep_sdk/models/invoice_summary_totals_model.rb +53 -0
  112. data/lib/lockstep_sdk/models/invoice_sync_model.rb +8 -2
  113. data/lib/lockstep_sdk/models/lead_model.rb +3 -3
  114. data/lib/lockstep_sdk/models/magic_link_model.rb +131 -0
  115. data/lib/lockstep_sdk/models/magic_link_status_model.rb +71 -0
  116. data/lib/lockstep_sdk/models/note_model.rb +2 -2
  117. data/lib/lockstep_sdk/models/payables_coming_due_header_model.rb +2 -2
  118. data/lib/lockstep_sdk/models/payables_coming_due_model.rb +2 -2
  119. data/lib/lockstep_sdk/models/payables_coming_due_widget_model.rb +2 -2
  120. data/lib/lockstep_sdk/models/payables_summary_report_model.rb +2 -2
  121. data/lib/lockstep_sdk/models/payment_applied_model.rb +2 -2
  122. data/lib/lockstep_sdk/models/payment_applied_sync_model.rb +2 -2
  123. data/lib/lockstep_sdk/models/payment_detail_header_model.rb +10 -4
  124. data/lib/lockstep_sdk/models/payment_detail_model.rb +26 -2
  125. data/lib/lockstep_sdk/models/payment_model.rb +8 -2
  126. data/lib/lockstep_sdk/models/payment_summary_model.rb +38 -2
  127. data/lib/lockstep_sdk/models/payment_summary_model_payment_summary_totals_model_summary_fetch_result.rb +75 -0
  128. data/lib/lockstep_sdk/models/payment_summary_totals_model.rb +53 -0
  129. data/lib/lockstep_sdk/models/payment_sync_model.rb +8 -2
  130. data/lib/lockstep_sdk/models/public_company_profile_model.rb +2 -2
  131. data/lib/lockstep_sdk/models/risk_rate_model.rb +10 -4
  132. data/lib/lockstep_sdk/models/state_model.rb +2 -2
  133. data/lib/lockstep_sdk/models/status_model.rb +32 -2
  134. data/lib/lockstep_sdk/models/summary_aging_totals_model.rb +53 -0
  135. data/lib/lockstep_sdk/models/sync_entity_result_model.rb +2 -2
  136. data/lib/lockstep_sdk/models/sync_request_model.rb +14 -2
  137. data/lib/lockstep_sdk/models/sync_submit_model.rb +2 -2
  138. data/lib/lockstep_sdk/models/transaction_detail_model.rb +138 -0
  139. data/lib/lockstep_sdk/models/transaction_model.rb +144 -0
  140. data/lib/lockstep_sdk/models/transaction_model_transaction_summary_total_model_summary_fetch_result.rb +75 -0
  141. data/lib/lockstep_sdk/models/transaction_summary_total_model.rb +71 -0
  142. data/lib/lockstep_sdk/models/transcription_request_submit.rb +71 -0
  143. data/lib/lockstep_sdk/models/transcription_validation_request.rb +89 -0
  144. data/lib/lockstep_sdk/models/transcription_validation_request_item.rb +149 -0
  145. data/lib/lockstep_sdk/models/transfer_owner_model.rb +2 -2
  146. data/lib/lockstep_sdk/models/transfer_owner_submit_model.rb +2 -2
  147. data/lib/lockstep_sdk/models/uri_model.rb +2 -2
  148. data/lib/lockstep_sdk/models/user_account_model.rb +2 -2
  149. data/lib/lockstep_sdk/models/user_data_response_model.rb +53 -0
  150. data/lib/lockstep_sdk/models/user_group_model.rb +2 -2
  151. data/lib/lockstep_sdk/models/user_role_model.rb +2 -2
  152. data/lib/lockstep_sdk/models/vendor_summary_model.rb +44 -2
  153. data/lib/lockstep_sdk/models/view_box_settings_model.rb +65 -0
  154. data/lib/lockstep_sdk/models/webhook_history_table_storage_model.rb +2 -2
  155. data/lib/lockstep_sdk/models/webhook_model.rb +2 -2
  156. data/lib/lockstep_sdk/models/webhook_rule_model.rb +2 -2
  157. data/lib/lockstep_sdk/version.rb +1 -1
  158. metadata +36 -12
  159. data/lib/lockstep_sdk/clients/activities_client.rb +0 -116
  160. data/lib/lockstep_sdk/clients/emails_client.rb +0 -105
  161. data/lib/lockstep_sdk/clients/payment_applications_client.rb +0 -93
  162. data/lib/lockstep_sdk/models/activity_model.rb +0 -218
  163. data/lib/lockstep_sdk/models/activity_stream_item_model.rb +0 -101
  164. data/lib/lockstep_sdk/models/activity_xref_model.rb +0 -71
  165. data/lib/lockstep_sdk/models/email_model.rb +0 -242
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -80,7 +80,7 @@ class FinancialAccountBalanceHistoryClient
80
80
  #
81
81
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
82
82
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
83
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
83
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
84
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
85
85
  def query_balance_history(filter:, order:, page_size:, page_number:)
86
86
  path = "/api/v1/FinancialAccountBalanceHistory/query"
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -67,7 +67,7 @@ class FinancialAccountClient
67
67
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
68
68
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve.
69
69
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
70
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
70
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
71
71
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
72
72
  def query_financial_accounts(filter:, include_param:, order:, page_size:, page_number:)
73
73
  path = "/api/v1/FinancialAccount/query"
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -80,7 +80,7 @@ class FinancialYearSettingsClient
80
80
  #
81
81
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
82
82
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
83
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
83
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
84
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
85
85
  def query_financial_year_settings(filter:, order:, page_size:, page_number:)
86
86
  path = "/api/v1/FinancialYearSettings/query"
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -0,0 +1,91 @@
1
+ #
2
+ # Lockstep Platform SDK for Ruby
3
+ #
4
+ # (c) 2021-2023 Lockstep, Inc.
5
+ #
6
+ # For the full copyright and license information, please view the LICENSE
7
+ # file that was distributed with this source code.
8
+ #
9
+ # @author Lockstep Network <support@lockstep.io>
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
+ # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
+ #
13
+
14
+
15
+ require 'awrence'
16
+
17
+ class InvoiceAddressesClient
18
+
19
+ ##
20
+ # Initialize the InvoiceAddressesClient class with an API client instance.
21
+ # @param connection [LockstepApi] The API client object for this connection
22
+ def initialize(connection)
23
+ @connection = connection
24
+ end
25
+
26
+
27
+ ##
28
+ # Retrieves the invoice address specified by this unique identifier, optionally including nested data sets.
29
+ #
30
+ # An Invoice Address contains address information about an invoice. You can use Invoice Addresses to track information about locations important to an invoice such as: where a company's goods are shipped from, where a company's goods are shipped to or billing addresses to name a few.
31
+ #
32
+ # @param id [uuid] The unique ID number of this invoice address
33
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve.
34
+ def retrieve_invoice_address(id:, include_param:)
35
+ path = "/api/v1/invoice-addresses/#{id}"
36
+ params = {:include => include_param}
37
+ @connection.request(:get, path, nil, params)
38
+ end
39
+
40
+ ##
41
+ # Deletes the Invoice Address by this unique identifier.
42
+ #
43
+ # An Invoice Address contains address information about an invoice. You can use Invoice Addresses to track information about locations important to an invoice such as: where a company's goods are shipped from, where a company's goods are shipped to or billing addresses to name a few.
44
+ #
45
+ # @param id [uuid] The unique ID of the Invoice Address to delete
46
+ def delete_invoice_address(id:)
47
+ path = "/api/v1/invoice-addresses/#{id}"
48
+ @connection.request(:delete, path, nil, nil)
49
+ end
50
+
51
+ ##
52
+ # Updates an existing Invoice Address with the information supplied to this PATCH call.
53
+ #
54
+ # The PATCH method allows you to change specific values on the object while leaving other values alone. As input you should supply a list of field names and new values. If you do not provide the name of a field, that field will remain unchanged. This allows you to ensure that you are only updating the specific fields desired.
55
+ #
56
+ # An Invoice Address contains address information about an invoice. You can use Invoice Addresses to track information about locations important to an invoice such as: where a company's goods are shipped from, where a company's goods are shipped to or billing addresses to name a few.
57
+ #
58
+ # @param id [uuid] The unique ID number of the Invoice Address to update
59
+ # @param body [object] A list of changes to apply to this Invoice Address
60
+ def update_invoice_address(id:, body:)
61
+ path = "/api/v1/invoice-addresses/#{id}"
62
+ @connection.request(:patch, path, body.to_camelback_keys.to_json, nil)
63
+ end
64
+
65
+ ##
66
+ # Creates one or more Invoice Addresses within this account and returns the records as created.
67
+ #
68
+ # An Invoice Address contains address information about an invoice. You can use Invoice Addresses to track information about locations important to an invoice such as: where a company's goods are shipped from, where a company's goods are shipped to or billing addresses to name a few.
69
+ #
70
+ # @param body [InvoiceAddressModel] The Invoice Address to create
71
+ def create_invoice_address(body:)
72
+ path = "/api/v1/invoice-addresses"
73
+ @connection.request(:post, path, body, nil)
74
+ end
75
+
76
+ ##
77
+ # Queries Invoice Addresses for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
78
+ #
79
+ # More information on querying can be found on the [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight) page on the Lockstep Developer website.
80
+ #
81
+ # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
82
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
83
+ # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
+ # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
85
+ # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
86
+ def query_invoice_addresses(filter:, include_param:, order:, page_size:, page_number:)
87
+ path = "/api/v1/invoice-addresses/query"
88
+ params = {:filter => filter, :include => include_param, :order => order, :pageSize => page_size, :pageNumber => page_number}
89
+ @connection.request(:get, path, nil, params)
90
+ end
91
+ end
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -43,7 +43,7 @@ class InvoiceHistoryClient
43
43
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
44
44
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available for querying but may be available in the future.
45
45
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
46
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
46
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
47
47
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
48
48
  def query_invoice_history(filter:, include_param:, order:, page_size:, page_number:)
49
49
  path = "/api/v1/InvoiceHistory/query"
@@ -0,0 +1,88 @@
1
+ #
2
+ # Lockstep Platform SDK for Ruby
3
+ #
4
+ # (c) 2021-2023 Lockstep, Inc.
5
+ #
6
+ # For the full copyright and license information, please view the LICENSE
7
+ # file that was distributed with this source code.
8
+ #
9
+ # @author Lockstep Network <support@lockstep.io>
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
+ # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
+ #
13
+
14
+
15
+ require 'awrence'
16
+
17
+ class InvoiceLinesClient
18
+
19
+ ##
20
+ # Initialize the InvoiceLinesClient class with an API client instance.
21
+ # @param connection [LockstepApi] The API client object for this connection
22
+ def initialize(connection)
23
+ @connection = connection
24
+ end
25
+
26
+
27
+ ##
28
+ # Creates one or more invoice lines within this account and returns the created records
29
+ #
30
+ # @param body [InvoiceLineModel]
31
+ def create_invoiceline(body:)
32
+ path = "/api/v1/invoice-lines"
33
+ @connection.request(:post, path, body, nil)
34
+ end
35
+
36
+ ##
37
+ #
38
+ #
39
+ # @param body [BulkDeleteRequestModel] The unique Lockstep Platform ID numbers of the Invoice Lines to delete; NOT the customer's ERP keys
40
+ def delete_invoice_lines(body:)
41
+ path = "/api/v1/invoice-lines"
42
+ @connection.request(:delete, path, body, nil)
43
+ end
44
+
45
+ ##
46
+ #
47
+ #
48
+ # @param invoice_line_id [uuid] Unique id of the the InvoiceLine
49
+ def retrieves_invoice_line(invoice_line_id:)
50
+ path = "/api/v1/invoice-lines/#{invoiceLineId}"
51
+ @connection.request(:get, path, nil, nil)
52
+ end
53
+
54
+ ##
55
+ # Updates an existing Invoice Line with the information supplied to this PATCH call.
56
+ #
57
+ # The PATCH method allows you to change specific values on the object while leaving other values alone. As input you should supply a list of field names and new values. If you do not provide the name of a field, that field will remain unchanged. This allows you to ensure that you are only updating the specific fields desired.
58
+ #
59
+ # @param invoice_line_id [uuid] Unique id of the the InvoiceLine
60
+ # @param body [object] A list of changes to apply to this Invoice Line
61
+ def update_invoice_line(invoice_line_id:, body:)
62
+ path = "/api/v1/invoice-lines/#{invoiceLineId}"
63
+ @connection.request(:patch, path, body.to_camelback_keys.to_json, nil)
64
+ end
65
+
66
+ ##
67
+ #
68
+ #
69
+ # @param invoice_line_id [uuid] Unique id of the the InvoiceLine
70
+ def deletes_invoice_line(invoice_line_id:)
71
+ path = "/api/v1/invoice-lines/#{invoiceLineId}"
72
+ @connection.request(:delete, path, nil, nil)
73
+ end
74
+
75
+ ##
76
+ # Queries Invoice Lines for the account using specified filtering More information on querying can be found on the [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight) page on the Lockstep Developer website.
77
+ #
78
+ # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
79
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve.
80
+ # @param order [string] The sort order for the results, in the [Searchlight order syntax]
81
+ # @param page_size [int32] The page size for results (default 200, maximum of 10,000)
82
+ # @param page_number [int32] The page number for results (default 0)
83
+ def query_invoice_lines(filter:, include_param:, order:, page_size:, page_number:)
84
+ path = "/api/v1/invoice-lines/query"
85
+ params = {:filter => filter, :include => include_param, :order => order, :pageSize => page_size, :pageNumber => page_number}
86
+ @connection.request(:get, path, nil, params)
87
+ end
88
+ end
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -71,6 +71,17 @@ class InvoicesClient
71
71
  @connection.request(:post, path, body, nil)
72
72
  end
73
73
 
74
+ ##
75
+ # Delete the Invoices referred to by these unique identifiers.
76
+ #
77
+ # An Invoice represents a bill sent from one company to another. The creator of the invoice is identified by the `CompanyId` field, and the recipient of the invoice is identified by the `CustomerId` field. Most invoices are uniquely identified both by a Lockstep Platform ID number and a customer ERP "key" that was generated by the system that originated the invoice. Invoices have a total amount and a due date, and when some payments have been made on the Invoice the `TotalAmount` and the `OutstandingBalanceAmount` may be different.
78
+ #
79
+ # @param body [BulkDeleteRequestModel] The unique Lockstep Platform ID numbers of the Invoices to delete; NOT the customer's ERP keys
80
+ def delete_invoices(body:)
81
+ path = "/api/v1/Invoices"
82
+ @connection.request(:delete, path, body, nil)
83
+ end
84
+
74
85
  ##
75
86
  # Queries Invoices for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
76
87
  #
@@ -81,7 +92,7 @@ class InvoicesClient
81
92
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
82
93
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Addresses, Lines, Payments, Notes, Attachments, Company, Customer, CustomFields, CreditMemos
83
94
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
95
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
85
96
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
86
97
  def query_invoices(filter:, include_param:, order:, page_size:, page_number:)
87
98
  path = "/api/v1/Invoices/query"
@@ -110,9 +121,9 @@ class InvoicesClient
110
121
  # The Invoice Summary View represents a slightly different view of the data and includes some extra fields that might be useful. For more information, see the data format of the Invoice Summary Model.
111
122
  #
112
123
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
113
- # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
124
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Summary, Aging
114
125
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
115
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
126
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
116
127
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
117
128
  def query_invoice_summary_view(filter:, include_param:, order:, page_size:, page_number:)
118
129
  path = "/api/v1/Invoices/views/summary"
@@ -130,7 +141,7 @@ class InvoicesClient
130
141
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
131
142
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
132
143
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
133
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
144
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
134
145
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
135
146
  def query_at_risk_view(filter:, include_param:, order:, page_size:, page_number:)
136
147
  path = "/api/v1/Invoices/views/at-risk-summary"
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -0,0 +1,62 @@
1
+ #
2
+ # Lockstep Platform SDK for Ruby
3
+ #
4
+ # (c) 2021-2023 Lockstep, Inc.
5
+ #
6
+ # For the full copyright and license information, please view the LICENSE
7
+ # file that was distributed with this source code.
8
+ #
9
+ # @author Lockstep Network <support@lockstep.io>
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
+ # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
+ #
13
+
14
+
15
+ require 'awrence'
16
+
17
+ class MagicLinksClient
18
+
19
+ ##
20
+ # Initialize the MagicLinksClient class with an API client instance.
21
+ # @param connection [LockstepApi] The API client object for this connection
22
+ def initialize(connection)
23
+ @connection = connection
24
+ end
25
+
26
+
27
+ ##
28
+ # Retrieves the Magic Link specified by this unique identifier, optionally including nested data sets.
29
+ #
30
+ # @param id [uuid] The id of the Magic Link
31
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: User
32
+ def retrieve_magic_link(id:, include_param:)
33
+ path = "/api/v1/useraccounts/magic-links/#{id}"
34
+ params = {:include => include_param}
35
+ @connection.request(:get, path, nil, params)
36
+ end
37
+
38
+ ##
39
+ # Revokes the magic link with the specified id so it cannot be used to call the API.
40
+ #
41
+ # Revocation will be received by all servers within five minutes of revocation. API calls made using this magic link after the revocation will fail. A revoked magic link cannot be un-revoked.
42
+ #
43
+ # @param id [uuid] The unique Lockstep Platform ID number of this magic link
44
+ def revoke_magic_link(id:)
45
+ path = "/api/v1/useraccounts/magic-links/#{id}"
46
+ @connection.request(:delete, path, nil, nil)
47
+ end
48
+
49
+ ##
50
+ # Queries Magic Links for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
51
+ #
52
+ # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
53
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: User
54
+ # @param order [string] The sort order for the results, in the [Searchlight order syntax](https://github.com/tspence/csharp-searchlight).
55
+ # @param page_size [int32] The page size for results (default 250, maximum of 500)
56
+ # @param page_number [int32] The page number for results (default 0)
57
+ def query_magic_links(filter:, include_param:, order:, page_size:, page_number:)
58
+ path = "/api/v1/useraccounts/magic-links/query"
59
+ params = {:filter => filter, :include => include_param, :order => order, :pageSize => page_size, :pageNumber => page_number}
60
+ @connection.request(:get, path, nil, params)
61
+ end
62
+ end
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -77,7 +77,7 @@ class NotesClient
77
77
  # @param filter [string] The filter to use to select from the list of available applications, in the [Searchlight query syntax](https://github.com/tspence/csharp-searchlight).
78
78
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
79
79
  # @param order [string] The sort order for the results, in the [Searchlight order syntax](https://github.com/tspence/csharp-searchlight).
80
- # @param page_size [int32] The page size for results (default 200, maximum of 10,000)
80
+ # @param page_size [int32] The page size for results (default 250, maximum of 500)
81
81
  # @param page_number [int32] The page number for results (default 0)
82
82
  def query_notes(filter:, include_param:, order:, page_size:, page_number:)
83
83
  path = "/api/v1/Notes/query"
@@ -0,0 +1,93 @@
1
+ #
2
+ # Lockstep Platform SDK for Ruby
3
+ #
4
+ # (c) 2021-2023 Lockstep, Inc.
5
+ #
6
+ # For the full copyright and license information, please view the LICENSE
7
+ # file that was distributed with this source code.
8
+ #
9
+ # @author Lockstep Network <support@lockstep.io>
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
+ # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
+ #
13
+
14
+
15
+ require 'awrence'
16
+
17
+ class PaymentsAppliedClient
18
+
19
+ ##
20
+ # Initialize the PaymentsAppliedClient class with an API client instance.
21
+ # @param connection [LockstepApi] The API client object for this connection
22
+ def initialize(connection)
23
+ @connection = connection
24
+ end
25
+
26
+
27
+ ##
28
+ # Retrieves the Payment Applied specified by this unique identifier, optionally including nested data sets.
29
+ #
30
+ # A Payment Applied is created by a business who receives a Payment from a customer. A customer may make a single Payment to match an Invoice exactly, a partial Payment for an Invoice, or a single Payment may be made for multiple smaller Invoices. The Payment Applied contains information about which Invoices are connected to which Payments and for which amounts.
31
+ #
32
+ # @param id [uuid] The unique Lockstep Platform ID number of this Payment Applied; NOT the customer's ERP key
33
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Invoice, Payment
34
+ def retrieve_payment_applied(id:, include_param:)
35
+ path = "/api/v1/payments-applied/#{id}"
36
+ params = {:include => include_param}
37
+ @connection.request(:get, path, nil, params)
38
+ end
39
+
40
+ ##
41
+ # Updates an existing Payment Applied with the information supplied to this PATCH call.
42
+ #
43
+ # The PATCH method allows you to change specific values on the object while leaving other values alone. As input you should supply a list of field names and new values. If you do not provide the name of a field, that field will remain unchanged. This allows you to ensure that you are only updating the specific fields desired.
44
+ #
45
+ # A Payment Applied is created by a business who receives a Payment from a customer. A customer may make a single Payment to match an Invoice exactly, a partial Payment for an Invoice, or a single Payment may be made for multiple smaller Invoices. The Payment Applied contains information about which Invoices are connected to which Payments and for which amounts.
46
+ #
47
+ # @param id [uuid] The unique Lockstep Platform ID number of the Payment Applied to update; NOT the customer's ERP key
48
+ # @param body [object] A list of changes to apply to this Payment Applied
49
+ def update_payment_applied(id:, body:)
50
+ path = "/api/v1/payments-applied/#{id}"
51
+ @connection.request(:patch, path, body.to_camelback_keys.to_json, nil)
52
+ end
53
+
54
+ ##
55
+ # Deletes the Payment Applied referred to by this unique identifier.
56
+ #
57
+ # A Payment Applied is created by a business who receives a Payment from a customer. A customer may make a single Payment to match an Invoice exactly, a partial Payment for an Invoice, or a single Payment may be made for multiple smaller Invoices. The Payment Applied contains information about which Invoices are connected to which Payments and for which amounts.
58
+ #
59
+ # @param id [uuid] The unique Lockstep Platform ID number of the Payment Applied to delete; NOT the customer's ERP key
60
+ def delete_payment_applied(id:)
61
+ path = "/api/v1/payments-applied/#{id}"
62
+ @connection.request(:delete, path, nil, nil)
63
+ end
64
+
65
+ ##
66
+ # Creates one or more Payments Applied within this account and returns the records as created.
67
+ #
68
+ # A Payment Applied is created by a business who receives a Payment from a customer. A customer may make a single Payment to match an Invoice exactly, a partial Payment for an Invoice, or a single Payment may be made for multiple smaller Invoices. The Payment Applied contains information about which Invoices are connected to which Payments and for which amounts.
69
+ #
70
+ # @param body [PaymentAppliedModel] The Payments Applied to create
71
+ def create_payments_applied(body:)
72
+ path = "/api/v1/payments-applied"
73
+ @connection.request(:post, path, body, nil)
74
+ end
75
+
76
+ ##
77
+ # Queries Payments Applied for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
78
+ #
79
+ # More information on querying can be found on the [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight) page on the Lockstep Developer website.
80
+ #
81
+ # A Payment Applied is created by a business who receives a Payment from a customer. A customer may make a single Payment to match an Invoice exactly, a partial Payment for an Invoice, or a single Payment may be made for multiple smaller Invoices. The Payment Applied contains information about which Invoices are connected to which Payments and for which amounts.
82
+ #
83
+ # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Invoice
85
+ # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
86
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
87
+ # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
88
+ def query_payments_applied(filter:, include_param:, order:, page_size:, page_number:)
89
+ path = "/api/v1/payments-applied/query"
90
+ params = {:filter => filter, :include => include_param, :order => order, :pageSize => page_size, :pageNumber => page_number}
91
+ @connection.request(:get, path, nil, params)
92
+ end
93
+ end
@@ -1,13 +1,13 @@
1
1
  #
2
2
  # Lockstep Platform SDK for Ruby
3
3
  #
4
- # (c) 2021-2022 Lockstep, Inc.
4
+ # (c) 2021-2023 Lockstep, Inc.
5
5
  #
6
6
  # For the full copyright and license information, please view the LICENSE
7
7
  # file that was distributed with this source code.
8
8
  #
9
9
  # @author Lockstep Network <support@lockstep.io>
10
- # @copyright 2021-2022 Lockstep, Inc.
10
+ # @copyright 2021-2023 Lockstep, Inc.
11
11
  # @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
12
12
  #
13
13
 
@@ -83,7 +83,7 @@ class PaymentsClient
83
83
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
84
84
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Applications, Notes, Attachments, CustomFields
85
85
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
86
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
86
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
87
87
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
88
88
  def query_payments(filter:, include_param:, order:, page_size:, page_number:)
89
89
  path = "/api/v1/Payments/query"
@@ -110,9 +110,9 @@ class PaymentsClient
110
110
  # A Payment represents money sent from one company to another. A single payment may contain payments for one or more invoices; it is also possible for payments to be made in advance of an invoice, for example, as a deposit. The creator of the Payment is identified by the `CustomerId` field, and the recipient of the Payment is identified by the `CompanyId` field. Most Payments are uniquely identified both by a Lockstep Platform ID number and a customer ERP "key" that was generated by the system that originated the Payment. Payments that have not been fully applied have a nonzero `UnappliedAmount` value, which represents a deposit that has been paid and not yet applied to an Invoice.
111
111
  #
112
112
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
113
- # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
113
+ # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Summary, Aging
114
114
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
115
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
115
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
116
116
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
117
117
  def query_payment_summary_view(filter:, include_param:, order:, page_size:, page_number:)
118
118
  path = "/api/v1/Payments/views/summary"
@@ -136,7 +136,7 @@ class PaymentsClient
136
136
  # @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
137
137
  # @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. No collections are currently available but may be offered in the future
138
138
  # @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
139
- # @param page_size [int32] The page size for results (default 200). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
139
+ # @param page_size [int32] The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
140
140
  # @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
141
141
  def query_payment_detail_view(filter:, include_param:, order:, page_size:, page_number:)
142
142
  path = "/api/v1/Payments/views/detail"