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
 
@@ -18,14 +18,15 @@ module LockstepSdk
18
18
 
19
19
  ##
20
20
  # Information to reconnect an ERP.
21
- class AppEnrollmentReconnectRequest
21
+ class AppEnrollmentReconnectInfo
22
22
 
23
23
  ##
24
- # Initialize the AppEnrollmentReconnectRequest using the provided prototype
24
+ # Initialize the AppEnrollmentReconnectInfo using the provided prototype
25
25
  def initialize(params = {})
26
26
  @auth_code = params.dig(:auth_code)
27
27
  @username = params.dig(:username)
28
28
  @password = params.dig(:password)
29
+ @realm_id = params.dig(:realm_id)
29
30
  @token_id = params.dig(:token_id)
30
31
  @token_secret = params.dig(:token_secret)
31
32
  end
@@ -42,6 +43,10 @@ module LockstepSdk
42
43
  # @return [String] The password for the web services account with access permissions.
43
44
  attr_accessor :password
44
45
 
46
+ ##
47
+ # @return [String] The Realm Id for the app enrollment to reconnect.
48
+ attr_accessor :realm_id
49
+
45
50
  ##
46
51
  # @return [String] The access token id for the connector enrollment.
47
52
  attr_accessor :token_id
@@ -57,6 +62,7 @@ module LockstepSdk
57
62
  'authCode' => @auth_code,
58
63
  'username' => @username,
59
64
  'password' => @password,
65
+ 'realmId' => @realm_id,
60
66
  'tokenId' => @token_id,
61
67
  'tokenSecret' => @token_secret,
62
68
  }
@@ -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
 
@@ -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
 
@@ -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
 
@@ -24,6 +24,7 @@ module LockstepSdk
24
24
  # Initialize the ArHeaderInfoModel using the provided prototype
25
25
  def initialize(params = {})
26
26
  @group_key = params.dig(:group_key)
27
+ @base_currency_code = params.dig(:base_currency_code)
27
28
  @report_date = params.dig(:report_date)
28
29
  @report_period = params.dig(:report_period)
29
30
  @total_customers = params.dig(:total_customers)
@@ -57,6 +58,10 @@ module LockstepSdk
57
58
  # @return [Uuid] The GroupKey uniquely identifies a single Lockstep Platform account. All records for this account will share the same GroupKey value. GroupKey values cannot be changed once created. For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
58
59
  attr_accessor :group_key
59
60
 
61
+ ##
62
+ # @return [String] The base currency code of the group account
63
+ attr_accessor :base_currency_code
64
+
60
65
  ##
61
66
  # @return [Date] The date of the report
62
67
  attr_accessor :report_date
@@ -170,6 +175,7 @@ module LockstepSdk
170
175
  def as_json(options={})
171
176
  {
172
177
  'groupKey' => @group_key,
178
+ 'baseCurrencyCode' => @base_currency_code,
173
179
  'reportDate' => @report_date,
174
180
  'reportPeriod' => @report_period,
175
181
  'totalCustomers' => @total_customers,
@@ -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
 
@@ -32,8 +32,12 @@ module LockstepSdk
32
32
  @customer_name = params.dig(:customer_name)
33
33
  @status = params.dig(:status)
34
34
  @payment_due_date = params.dig(:payment_due_date)
35
+ @currency_code = params.dig(:currency_code)
35
36
  @invoice_amount = params.dig(:invoice_amount)
36
37
  @outstanding_balance = params.dig(:outstanding_balance)
38
+ @base_currency_code = params.dig(:base_currency_code)
39
+ @base_currency_invoice_amount = params.dig(:base_currency_invoice_amount)
40
+ @base_currency_outstanding_balance = params.dig(:base_currency_outstanding_balance)
37
41
  @invoice_type_code = params.dig(:invoice_type_code)
38
42
  @newest_activity = params.dig(:newest_activity)
39
43
  @days_past_due = params.dig(:days_past_due)
@@ -77,6 +81,10 @@ module LockstepSdk
77
81
  # @return [Date] The due date of the invoice.
78
82
  attr_accessor :payment_due_date
79
83
 
84
+ ##
85
+ # @return [String] The currency code of the invoice
86
+ attr_accessor :currency_code
87
+
80
88
  ##
81
89
  # @return [Double] The total amount of the Invoice.
82
90
  attr_accessor :invoice_amount
@@ -85,6 +93,18 @@ module LockstepSdk
85
93
  # @return [Double] The remaining balance value of this invoice.
86
94
  attr_accessor :outstanding_balance
87
95
 
96
+ ##
97
+ # @return [String] The currency code of the group.
98
+ attr_accessor :base_currency_code
99
+
100
+ ##
101
+ # @return [Double] The total amount of the Invoice in the group's currency.
102
+ attr_accessor :base_currency_invoice_amount
103
+
104
+ ##
105
+ # @return [Double] The remaining balance value of this invoice in the group's currency.
106
+ attr_accessor :base_currency_outstanding_balance
107
+
88
108
  ##
89
109
  # @return [String] A code identifying the type of this Invoice.
90
110
  attr_accessor :invoice_type_code
@@ -118,8 +138,12 @@ module LockstepSdk
118
138
  'customerName' => @customer_name,
119
139
  'status' => @status,
120
140
  'paymentDueDate' => @payment_due_date,
141
+ 'currencyCode' => @currency_code,
121
142
  'invoiceAmount' => @invoice_amount,
122
143
  'outstandingBalance' => @outstanding_balance,
144
+ 'baseCurrencyCode' => @base_currency_code,
145
+ 'baseCurrencyInvoiceAmount' => @base_currency_invoice_amount,
146
+ 'baseCurrencyOutstandingBalance' => @base_currency_outstanding_balance,
123
147
  'invoiceTypeCode' => @invoice_type_code,
124
148
  'newestActivity' => @newest_activity,
125
149
  'daysPastDue' => @days_past_due,
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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,47 @@
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 'json'
16
+
17
+ module LockstepSdk
18
+
19
+ ##
20
+ # Represents a bulk delete request in the API
21
+ class BulkDeleteRequestModel
22
+
23
+ ##
24
+ # Initialize the BulkDeleteRequestModel using the provided prototype
25
+ def initialize(params = {})
26
+ @ids_to_delete = params.dig(:ids_to_delete)
27
+ end
28
+
29
+ ##
30
+ # @return [Uuid] Represents the IDs to be deleted
31
+ attr_accessor :ids_to_delete
32
+
33
+ ##
34
+ # @return [object] This object as a JSON key-value structure
35
+ def as_json(options={})
36
+ {
37
+ 'idsToDelete' => @ids_to_delete,
38
+ }
39
+ end
40
+
41
+ ##
42
+ # @return [String] This object converted to a JSON string
43
+ def to_json(*options)
44
+ "[#{as_json(*options).to_json(*options)}]"
45
+ end
46
+ end
47
+ 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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -31,7 +31,6 @@ module LockstepSdk
31
31
  @company_name = params.dig(:company_name)
32
32
  @erp_key = params.dig(:erp_key)
33
33
  @company_type = params.dig(:company_type)
34
- @company_status = params.dig(:company_status)
35
34
  @parent_company_id = params.dig(:parent_company_id)
36
35
  @enterprise_id = params.dig(:enterprise_id)
37
36
  @group_key = params.dig(:group_key)
@@ -66,6 +65,7 @@ module LockstepSdk
66
65
  @app_enrollment_id = params.dig(:app_enrollment_id)
67
66
  @email_address = params.dig(:email_address)
68
67
  @public_url_slug = params.dig(:public_url_slug)
68
+ @view_box_settings = params.dig(:view_box_settings)
69
69
  @notes = params.dig(:notes)
70
70
  @attachments = params.dig(:attachments)
71
71
  @contacts = params.dig(:contacts)
@@ -91,10 +91,6 @@ module LockstepSdk
91
91
  # @return [String] This field indicates the type of company. It can be one of a limited number of values: Company, Customer, Group, Vendor, or Third Party. A company that represents both a customer and a vendor is identified as a CustomerVendor. * `Company` - This record represents a company that is part of the organization of the account holder. * `Customer` - This record represents a business entity that purchases things from the account holder. * `Group` - Only one record of type `GROUP` exists in each account. Contains your account profile. * `Vendor` - This record represents a business entity that sells things to the account holder. * `Third Party` - This record represents a business entity that is neither a customer nor vendor. * `CustomerVendor` - Both a customer and a vendor.
92
92
  attr_accessor :company_type
93
93
 
94
- ##
95
- # @return [String] The status of the company. Companies can be either `Active` or `Inactive`. When matched to a Lockstep corporate profile, this value will change to reflect that this record will be kept in sync with that company's identity.
96
- attr_accessor :company_status
97
-
98
94
  ##
99
95
  # @return [Uuid] If this business entity is part of an organization, this value is non-null and it is set to the `CompanyId` value of the parent company of this business entity. If this value is null, this business entity is a standalone.
100
96
  attr_accessor :parent_company_id
@@ -231,6 +227,10 @@ module LockstepSdk
231
227
  # @return [String] The public url slug for the Company.
232
228
  attr_accessor :public_url_slug
233
229
 
230
+ ##
231
+ # @return [ViewBoxSettingsModel] View box settings for the company logo.
232
+ attr_accessor :view_box_settings
233
+
234
234
  ##
235
235
  # @return [NoteModel] A collection of notes linked to this record. To retrieve this collection, specify `Notes` in the `include` parameter when retrieving data. To create a note, use the [Create Note](https://developer.lockstep.io/reference/post_api-v1-notes) endpoint with the `TableKey` to `Company` and the `ObjectKey` set to the `CompanyId` for this record. For more information on extensibility, see [linking extensible metadata to objects](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
236
236
  attr_accessor :notes
@@ -267,7 +267,6 @@ module LockstepSdk
267
267
  'companyName' => @company_name,
268
268
  'erpKey' => @erp_key,
269
269
  'companyType' => @company_type,
270
- 'companyStatus' => @company_status,
271
270
  'parentCompanyId' => @parent_company_id,
272
271
  'enterpriseId' => @enterprise_id,
273
272
  'groupKey' => @group_key,
@@ -302,6 +301,7 @@ module LockstepSdk
302
301
  'appEnrollmentId' => @app_enrollment_id,
303
302
  'emailAddress' => @email_address,
304
303
  'publicUrlSlug' => @public_url_slug,
304
+ 'viewBoxSettings' => @view_box_settings,
305
305
  'notes' => @notes,
306
306
  'attachments' => @attachments,
307
307
  'contacts' => @contacts,
@@ -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
 
@@ -35,7 +35,6 @@ module LockstepSdk
35
35
  @erp_key = params.dig(:erp_key)
36
36
  @company_name = params.dig(:company_name)
37
37
  @company_type = params.dig(:company_type)
38
- @company_status = params.dig(:company_status)
39
38
  @parent_company_erp_key = params.dig(:parent_company_erp_key)
40
39
  @is_active = params.dig(:is_active)
41
40
  @default_currency_code = params.dig(:default_currency_code)
@@ -77,10 +76,6 @@ module LockstepSdk
77
76
  # @return [String] This field indicates the type of company. It can be one of a limited number of values: `Company`, `Customer`, `Group`, `Vendor`, or `Third Party`. A company that represents both a customer and a vendor is identified as a `CustomerVendor`. When loading data into Lockstep, you should focus on the distinction between a company that is part of your own enterprise, or a company that is external to your enterprise. For a company that is within your enterprise, you should set this value to be `Company`. For a company that is external to your enterprise, you should set this value to either `Customer`, `Vendor`, `Third Party`, or `CustomerVendor`. If you don't know what value to choose, select `CustomerVendor`.
78
77
  attr_accessor :company_type
79
78
 
80
- ##
81
- # @return [String] An optional field including status codes. Defined status codes are `Active` and `Inactive`.
82
- attr_accessor :company_status
83
-
84
79
  ##
85
80
  # @return [String] If this company has a parent company, identify the parent company's `ErpKey` value here. This value should be the original primary key or unique ID of the parent company to this company belongs. This value should match the original ErpKey field on the parent company. If this company is not a child company, leave this field null.
86
81
  attr_accessor :parent_company_erp_key
@@ -181,7 +176,6 @@ module LockstepSdk
181
176
  'erpKey' => @erp_key,
182
177
  'companyName' => @company_name,
183
178
  'companyType' => @company_type,
184
- 'companyStatus' => @company_status,
185
179
  'parentCompanyErpKey' => @parent_company_erp_key,
186
180
  'isActive' => @is_active,
187
181
  'defaultCurrencyCode' => @default_currency_code,
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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