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.
- checksums.yaml +4 -4
- data/lib/lockstep_sdk/clients/api_keys_client.rb +3 -3
- data/lib/lockstep_sdk/clients/app_enrollments_client.rb +5 -5
- data/lib/lockstep_sdk/clients/applications_client.rb +3 -3
- data/lib/lockstep_sdk/clients/attachments_client.rb +3 -3
- data/lib/lockstep_sdk/clients/code_definitions_client.rb +3 -3
- data/lib/lockstep_sdk/clients/companies_client.rb +40 -10
- data/lib/lockstep_sdk/clients/contacts_client.rb +17 -6
- data/lib/lockstep_sdk/clients/{credit_memo_applied_client.rb → credit_memos_applied_client.rb} +30 -30
- data/lib/lockstep_sdk/clients/currencies_client.rb +2 -2
- data/lib/lockstep_sdk/clients/custom_field_definitions_client.rb +3 -3
- data/lib/lockstep_sdk/clients/custom_field_values_client.rb +3 -3
- data/lib/lockstep_sdk/clients/definitions_client.rb +6 -6
- data/lib/lockstep_sdk/clients/feature_flags_client.rb +35 -0
- data/lib/lockstep_sdk/clients/financial_account_balance_history_client.rb +3 -3
- data/lib/lockstep_sdk/clients/financial_account_client.rb +3 -3
- data/lib/lockstep_sdk/clients/financial_year_settings_client.rb +3 -3
- data/lib/lockstep_sdk/clients/group_accounts_client.rb +2 -2
- data/lib/lockstep_sdk/clients/invoice_addresses_client.rb +91 -0
- data/lib/lockstep_sdk/clients/invoice_history_client.rb +3 -3
- data/lib/lockstep_sdk/clients/invoice_lines_client.rb +88 -0
- data/lib/lockstep_sdk/clients/invoices_client.rb +17 -6
- data/lib/lockstep_sdk/clients/leads_client.rb +2 -2
- data/lib/lockstep_sdk/clients/magic_links_client.rb +62 -0
- data/lib/lockstep_sdk/clients/notes_client.rb +3 -3
- data/lib/lockstep_sdk/clients/payments_applied_client.rb +93 -0
- data/lib/lockstep_sdk/clients/payments_client.rb +6 -6
- data/lib/lockstep_sdk/clients/profiles_accounting_client.rb +104 -0
- data/lib/lockstep_sdk/clients/profiles_accounting_contacts_client.rb +91 -0
- data/lib/lockstep_sdk/clients/{profiles_client.rb → profiles_companies_client.rb} +7 -7
- data/lib/lockstep_sdk/clients/provisioning_client.rb +2 -2
- data/lib/lockstep_sdk/clients/reports_client.rb +4 -4
- data/lib/lockstep_sdk/clients/status_client.rb +2 -2
- data/lib/lockstep_sdk/clients/sync_client.rb +3 -3
- data/lib/lockstep_sdk/clients/transactions_client.rb +54 -0
- data/lib/lockstep_sdk/clients/transcriptions_client.rb +91 -0
- data/lib/lockstep_sdk/clients/user_accounts_client.rb +13 -15
- data/lib/lockstep_sdk/clients/user_roles_client.rb +3 -3
- data/lib/lockstep_sdk/clients/webhook_rules_client.rb +3 -3
- data/lib/lockstep_sdk/clients/webhooks_client.rb +4 -4
- data/lib/lockstep_sdk/lockstep_api.rb +54 -24
- data/lib/lockstep_sdk/models/accounting_profile_contact_model.rb +90 -0
- data/lib/lockstep_sdk/models/accounting_profile_model.rb +183 -0
- data/lib/lockstep_sdk/models/action_result_model.rb +2 -2
- data/lib/lockstep_sdk/models/aging_model.rb +2 -2
- data/lib/lockstep_sdk/models/ap_aging_header_info_model.rb +2 -2
- data/lib/lockstep_sdk/models/ap_header_info_model.rb +8 -2
- data/lib/lockstep_sdk/models/api_key_model.rb +2 -2
- data/lib/lockstep_sdk/models/app_enrollment_custom_field_model.rb +2 -2
- data/lib/lockstep_sdk/models/app_enrollment_model.rb +8 -2
- data/lib/lockstep_sdk/models/{app_enrollment_reconnect_request.rb → app_enrollment_reconnect_info.rb} +10 -4
- data/lib/lockstep_sdk/models/application_model.rb +2 -2
- data/lib/lockstep_sdk/models/ar_aging_header_info_model.rb +2 -2
- data/lib/lockstep_sdk/models/ar_header_info_model.rb +8 -2
- data/lib/lockstep_sdk/models/at_risk_invoice_summary_model.rb +26 -2
- data/lib/lockstep_sdk/models/attachment_header_info_model.rb +2 -2
- data/lib/lockstep_sdk/models/attachment_model.rb +2 -2
- data/lib/lockstep_sdk/models/batch_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/bulk_currency_conversion_model.rb +2 -2
- data/lib/lockstep_sdk/models/bulk_delete_request_model.rb +47 -0
- data/lib/lockstep_sdk/models/cashflow_report_model.rb +2 -2
- data/lib/lockstep_sdk/models/code_definition_model.rb +2 -2
- data/lib/lockstep_sdk/models/company_details_model.rb +2 -2
- data/lib/lockstep_sdk/models/company_details_payment_model.rb +2 -2
- data/lib/lockstep_sdk/models/company_model.rb +8 -8
- data/lib/lockstep_sdk/models/company_sync_model.rb +2 -8
- data/lib/lockstep_sdk/models/connector_info_model.rb +2 -2
- data/lib/lockstep_sdk/models/contact_model.rb +2 -2
- data/lib/lockstep_sdk/models/contact_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/country_model.rb +2 -2
- data/lib/lockstep_sdk/models/credit_memo_applied_model.rb +2 -2
- data/lib/lockstep_sdk/models/credit_memo_applied_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/credit_memo_invoice_model.rb +32 -2
- data/lib/lockstep_sdk/models/currency_model.rb +2 -2
- data/lib/lockstep_sdk/models/currency_rate_model.rb +2 -2
- data/lib/lockstep_sdk/models/custom_field_definition_model.rb +2 -2
- data/lib/lockstep_sdk/models/custom_field_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/custom_field_value_model.rb +20 -2
- data/lib/lockstep_sdk/models/customer_summary_model.rb +8 -2
- data/lib/lockstep_sdk/models/daily_payable_outstanding_report_model.rb +2 -2
- data/lib/lockstep_sdk/models/daily_sales_outstanding_report_model.rb +2 -2
- data/lib/lockstep_sdk/models/delete_result.rb +47 -0
- data/lib/lockstep_sdk/models/developer_account_submit_model.rb +2 -2
- data/lib/lockstep_sdk/models/dpo_summary_group_total_model.rb +2 -2
- data/lib/lockstep_sdk/models/dpo_summary_model.rb +2 -2
- data/lib/lockstep_sdk/models/erp_model.rb +2 -2
- data/lib/lockstep_sdk/models/error_result.rb +2 -2
- data/lib/lockstep_sdk/models/feature_flags_request_model.rb +47 -0
- data/lib/lockstep_sdk/models/feature_flags_response_model.rb +47 -0
- data/lib/lockstep_sdk/models/financial_account_balance_history_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_account_balance_history_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_account_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_account_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_report_cell_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_report_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_report_row_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_year_setting_model.rb +2 -2
- data/lib/lockstep_sdk/models/financial_year_setting_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/group_account_model.rb +8 -2
- data/lib/lockstep_sdk/models/invite_data_model.rb +2 -2
- data/lib/lockstep_sdk/models/invite_model.rb +2 -2
- data/lib/lockstep_sdk/models/invite_submit_model.rb +2 -2
- data/lib/lockstep_sdk/models/invoice_address_model.rb +2 -2
- data/lib/lockstep_sdk/models/invoice_history_model.rb +8 -2
- data/lib/lockstep_sdk/models/invoice_line_model.rb +2 -2
- data/lib/lockstep_sdk/models/invoice_line_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/invoice_model.rb +8 -2
- data/lib/lockstep_sdk/models/invoice_payment_detail_model.rb +32 -2
- data/lib/lockstep_sdk/models/invoice_summary_model.rb +44 -2
- data/lib/lockstep_sdk/models/invoice_summary_model_invoice_summary_totals_model_summary_fetch_result.rb +75 -0
- data/lib/lockstep_sdk/models/invoice_summary_totals_model.rb +53 -0
- data/lib/lockstep_sdk/models/invoice_sync_model.rb +8 -2
- data/lib/lockstep_sdk/models/lead_model.rb +3 -3
- data/lib/lockstep_sdk/models/magic_link_model.rb +131 -0
- data/lib/lockstep_sdk/models/magic_link_status_model.rb +71 -0
- data/lib/lockstep_sdk/models/note_model.rb +2 -2
- data/lib/lockstep_sdk/models/payables_coming_due_header_model.rb +2 -2
- data/lib/lockstep_sdk/models/payables_coming_due_model.rb +2 -2
- data/lib/lockstep_sdk/models/payables_coming_due_widget_model.rb +2 -2
- data/lib/lockstep_sdk/models/payables_summary_report_model.rb +2 -2
- data/lib/lockstep_sdk/models/payment_applied_model.rb +2 -2
- data/lib/lockstep_sdk/models/payment_applied_sync_model.rb +2 -2
- data/lib/lockstep_sdk/models/payment_detail_header_model.rb +10 -4
- data/lib/lockstep_sdk/models/payment_detail_model.rb +26 -2
- data/lib/lockstep_sdk/models/payment_model.rb +8 -2
- data/lib/lockstep_sdk/models/payment_summary_model.rb +38 -2
- data/lib/lockstep_sdk/models/payment_summary_model_payment_summary_totals_model_summary_fetch_result.rb +75 -0
- data/lib/lockstep_sdk/models/payment_summary_totals_model.rb +53 -0
- data/lib/lockstep_sdk/models/payment_sync_model.rb +8 -2
- data/lib/lockstep_sdk/models/public_company_profile_model.rb +2 -2
- data/lib/lockstep_sdk/models/risk_rate_model.rb +10 -4
- data/lib/lockstep_sdk/models/state_model.rb +2 -2
- data/lib/lockstep_sdk/models/status_model.rb +32 -2
- data/lib/lockstep_sdk/models/summary_aging_totals_model.rb +53 -0
- data/lib/lockstep_sdk/models/sync_entity_result_model.rb +2 -2
- data/lib/lockstep_sdk/models/sync_request_model.rb +14 -2
- data/lib/lockstep_sdk/models/sync_submit_model.rb +2 -2
- data/lib/lockstep_sdk/models/transaction_detail_model.rb +138 -0
- data/lib/lockstep_sdk/models/transaction_model.rb +144 -0
- data/lib/lockstep_sdk/models/transaction_model_transaction_summary_total_model_summary_fetch_result.rb +75 -0
- data/lib/lockstep_sdk/models/transaction_summary_total_model.rb +71 -0
- data/lib/lockstep_sdk/models/transcription_request_submit.rb +71 -0
- data/lib/lockstep_sdk/models/transcription_validation_request.rb +89 -0
- data/lib/lockstep_sdk/models/transcription_validation_request_item.rb +149 -0
- data/lib/lockstep_sdk/models/transfer_owner_model.rb +2 -2
- data/lib/lockstep_sdk/models/transfer_owner_submit_model.rb +2 -2
- data/lib/lockstep_sdk/models/uri_model.rb +2 -2
- data/lib/lockstep_sdk/models/user_account_model.rb +2 -2
- data/lib/lockstep_sdk/models/user_data_response_model.rb +53 -0
- data/lib/lockstep_sdk/models/user_group_model.rb +2 -2
- data/lib/lockstep_sdk/models/user_role_model.rb +2 -2
- data/lib/lockstep_sdk/models/vendor_summary_model.rb +44 -2
- data/lib/lockstep_sdk/models/view_box_settings_model.rb +65 -0
- data/lib/lockstep_sdk/models/webhook_history_table_storage_model.rb +2 -2
- data/lib/lockstep_sdk/models/webhook_model.rb +2 -2
- data/lib/lockstep_sdk/models/webhook_rule_model.rb +2 -2
- data/lib/lockstep_sdk/version.rb +1 -1
- metadata +36 -12
- data/lib/lockstep_sdk/clients/activities_client.rb +0 -116
- data/lib/lockstep_sdk/clients/emails_client.rb +0 -105
- data/lib/lockstep_sdk/clients/payment_applications_client.rb +0 -93
- data/lib/lockstep_sdk/models/activity_model.rb +0 -218
- data/lib/lockstep_sdk/models/activity_stream_item_model.rb +0 -101
- data/lib/lockstep_sdk/models/activity_xref_model.rb +0 -71
- data/lib/lockstep_sdk/models/email_model.rb +0 -242
@@ -0,0 +1,104 @@
|
|
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 ProfilesAccountingClient
|
18
|
+
|
19
|
+
##
|
20
|
+
# Initialize the ProfilesAccountingClient 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 Accounting Profile specified by this unique identifier, optionally including nested data sets.
|
29
|
+
#
|
30
|
+
# An Accounting Profile is a child of a Company Profile, and collectively, they comprise the identity and necessary information for an accounting team to work with trading partners, financial institutions, auditors, and others. You can use Accounting Profiles to define an accounting function by what the function does and how to interface with the function.
|
31
|
+
#
|
32
|
+
# @param id [uuid] The unique Lockstep Platform ID number of this Accounting Profile
|
33
|
+
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Attachments, CustomFields, Notes
|
34
|
+
def retrieve_accounting_profile(id:, include_param:)
|
35
|
+
path = "/api/v1/profiles/accounting/#{id}"
|
36
|
+
params = {:include => include_param}
|
37
|
+
@connection.request(:get, path, nil, params)
|
38
|
+
end
|
39
|
+
|
40
|
+
##
|
41
|
+
# Updates an accounting profile that matches the specified id with the requested information.
|
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
|
+
# An Accounting Profile is a child of a Company Profile, and collectively, they comprise the identity and necessary information for an accounting team to work with trading partners, financial institutions, auditors, and others. You can use Accounting Profiles to define an accounting function by what the function does and how to interface with the function.
|
46
|
+
#
|
47
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the Accounting Profile to update
|
48
|
+
# @param body [object] A list of changes to apply to this Accounting Profile
|
49
|
+
def update_accounting_profile(id:, body:)
|
50
|
+
path = "/api/v1/profiles/accounting/#{id}"
|
51
|
+
@connection.request(:patch, path, body.to_camelback_keys.to_json, nil)
|
52
|
+
end
|
53
|
+
|
54
|
+
##
|
55
|
+
# Delete the Accounting Profile referred to by this unique identifier.
|
56
|
+
#
|
57
|
+
# An Accounting Profile is a child of a Company Profile, and collectively, they comprise the identity and necessary information for an accounting team to work with trading partners, financial institutions, auditors, and others. You can use Accounting Profiles to define an accounting function by what the function does and how to interface with the function.
|
58
|
+
#
|
59
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the Accounting Profile to disable
|
60
|
+
def delete_accounting_profile(id:)
|
61
|
+
path = "/api/v1/profiles/accounting/#{id}"
|
62
|
+
@connection.request(:delete, path, nil, nil)
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Creates one or more accounting profiles from a given model.
|
67
|
+
#
|
68
|
+
# An Accounting Profile is a child of a Company Profile, and collectively, they comprise the identity and necessary information for an accounting team to work with trading partners, financial institutions, auditors, and others. You can use Accounting Profiles to define an accounting function by what the function does and how to interface with the function.
|
69
|
+
#
|
70
|
+
# @param body [AccountingProfileModel] The Accounting Profiles to create
|
71
|
+
def create_accounting_profiles(body:)
|
72
|
+
path = "/api/v1/profiles/accounting"
|
73
|
+
@connection.request(:post, path, body, nil)
|
74
|
+
end
|
75
|
+
|
76
|
+
##
|
77
|
+
# Queries Accounting Profiles 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
|
+
# An Accounting Profile is a child of a Company Profile, and collectively, they comprise the identity and necessary information for an accounting team to work with trading partners, financial institutions, auditors, and others. You can use Accounting Profiles to define an accounting function by what the function does and how to interface with the function.
|
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: Attachments, CustomFields, Notes
|
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_accounting_profiles(filter:, include_param:, order:, page_size:, page_number:)
|
89
|
+
path = "/api/v1/profiles/accounting/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
|
+
|
94
|
+
##
|
95
|
+
# Retrieves all the Contacts associated with the Accounting Profile by this unique identifier, optionally including nested data sets.
|
96
|
+
#
|
97
|
+
# A Contact has a link to a Contact that is associated with your company's Accounting Profile.
|
98
|
+
#
|
99
|
+
# @param id [uuid] The unique Lockstep Platform ID number of this Accounting Profile
|
100
|
+
def retrieve_all_accounting_profile_contacts(id:)
|
101
|
+
path = "/api/v1/profiles/accounting/#{id}/contacts/models"
|
102
|
+
@connection.request(:get, path, nil, nil)
|
103
|
+
end
|
104
|
+
end
|
@@ -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 ProfilesAccountingContactsClient
|
18
|
+
|
19
|
+
##
|
20
|
+
# Initialize the ProfilesAccountingContactsClient 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 Accounting Profile Contact specified by this unique identifier, optionally including nested data sets.
|
29
|
+
#
|
30
|
+
# A Contact has a link to a Contact that is associated with your company's Accounting Profile. These Contacts are secondary contacts to the primary that is on the profile.
|
31
|
+
#
|
32
|
+
# @param id [uuid] The unique Lockstep Platform ID number of this Accounting Profile Contact
|
33
|
+
def retrieve_accounting_profile_contact(id:)
|
34
|
+
path = "/api/v1/profiles/accounting/contacts/#{id}"
|
35
|
+
@connection.request(:get, path, nil, nil)
|
36
|
+
end
|
37
|
+
|
38
|
+
##
|
39
|
+
# Delete the Accounting Profile Contact referred to by this unique identifier.
|
40
|
+
#
|
41
|
+
# An Accounting Profile Contact has a link to a Contact that is associated with your company's Accounting Profile. These Contacts are secondary contacts to the primary that is on the profile.
|
42
|
+
#
|
43
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the Accounting Profile Contact to delete
|
44
|
+
def delete_accounting_profile_contact(id:)
|
45
|
+
path = "/api/v1/profiles/accounting/contacts/#{id}"
|
46
|
+
@connection.request(:delete, path, nil, nil)
|
47
|
+
end
|
48
|
+
|
49
|
+
##
|
50
|
+
# Creates one or more Accounting Profile Contacts from a given model.
|
51
|
+
#
|
52
|
+
# An Accounting Profile Contact has a link to a Contact that is associated with your company's Accounting Profile. These Contacts are secondary contacts to the primary that is on the profile.
|
53
|
+
#
|
54
|
+
# @param body [AccountingProfileContactModel] The Accounting Profile Contacts to create
|
55
|
+
def create_accounting_profile_contacts(body:)
|
56
|
+
path = "/api/v1/profiles/accounting/contacts"
|
57
|
+
@connection.request(:post, path, body, nil)
|
58
|
+
end
|
59
|
+
|
60
|
+
##
|
61
|
+
# Updates an accounting profile contact that matches the specified id with the requested information.
|
62
|
+
#
|
63
|
+
# 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.
|
64
|
+
#
|
65
|
+
# An Accounting Profile Contact has a link to a Contact that is associated with your company's Accounting Profile. These Contacts are secondary contacts to the primary that is on the profile.
|
66
|
+
#
|
67
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the Accounting Profile Contact to update
|
68
|
+
# @param contact_id [uuid] The ID of the contact to link to this Accounting Profile Contact
|
69
|
+
def update_accounting_profile_contact(id:, contact_id:)
|
70
|
+
path = "/api/v1/profiles/accounting/contacts/#{id}/#{contactId}"
|
71
|
+
@connection.request(:patch, path, nil, nil)
|
72
|
+
end
|
73
|
+
|
74
|
+
##
|
75
|
+
# Queries Accounting Profile Contacts for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
|
76
|
+
#
|
77
|
+
# 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.
|
78
|
+
#
|
79
|
+
# An Accounting Profile Contact has a link to a Contact that is associated with your company's Accounting Profile. These Contacts are secondary contacts to the primary that is on the profile.
|
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. Available collections: None
|
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 250, maximum of 500). 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_accounting_profile_contacts(filter:, include_param:, order:, page_size:, page_number:)
|
87
|
+
path = "/api/v1/profiles/accounting/contacts/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,23 +1,23 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
14
14
|
|
15
15
|
require 'awrence'
|
16
16
|
|
17
|
-
class
|
17
|
+
class ProfilesCompaniesClient
|
18
18
|
|
19
19
|
##
|
20
|
-
# Initialize the
|
20
|
+
# Initialize the ProfilesCompaniesClient class with an API client instance.
|
21
21
|
# @param connection [LockstepApi] The API client object for this connection
|
22
22
|
def initialize(connection)
|
23
23
|
@connection = connection
|
@@ -31,7 +31,7 @@ class ProfilesClient
|
|
31
31
|
#
|
32
32
|
# @param url_slug [string]
|
33
33
|
def retrieve_public_company_profile(url_slug:)
|
34
|
-
path = "/api/v1/
|
34
|
+
path = "/api/v1/profiles/companies/#{urlSlug}"
|
35
35
|
@connection.request(:get, path, nil, nil)
|
36
36
|
end
|
37
37
|
|
@@ -46,10 +46,10 @@ class ProfilesClient
|
|
46
46
|
#
|
47
47
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
48
48
|
# @param order [string] The sort order for the results, in the [Searchlight order syntax](https://github.com/tspence/csharp-searchlight).
|
49
|
-
# @param page_size [int32] The page size for results (default
|
49
|
+
# @param page_size [int32] The page size for results (default 250, maximum of 500)
|
50
50
|
# @param page_number [int32] The page number for results (default 0)
|
51
51
|
def query_public_company_profiles(filter:, order:, page_size:, page_number:)
|
52
|
-
path = "/api/v1/
|
52
|
+
path = "/api/v1/profiles/companies/query"
|
53
53
|
params = {:filter => filter, :order => order, :pageSize => page_size, :pageNumber => page_number}
|
54
54
|
@connection.request(:get, path, nil, params)
|
55
55
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
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-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
@@ -84,7 +84,7 @@ class ReportsClient
|
|
84
84
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
85
85
|
# @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
|
86
86
|
# @param order [string] The sort order for the results, in the [Searchlight order syntax](https://github.com/tspence/csharp-searchlight).
|
87
|
-
# @param page_size [int32] The page size for results (default
|
87
|
+
# @param page_size [int32] The page size for results (default 250, maximum of 500)
|
88
88
|
# @param page_number [int32] The page number for results (default 0)
|
89
89
|
def payables_coming_due_summary(filter:, include_param:, order:, page_size:, page_number:)
|
90
90
|
path = "/api/v1/Reports/payables-coming-due-summary"
|
@@ -258,7 +258,7 @@ class ReportsClient
|
|
258
258
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
259
259
|
# @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
|
260
260
|
# @param order [string] The sort order for the results, in the [Searchlight order syntax](https://github.com/tspence/csharp-searchlight).
|
261
|
-
# @param page_size [int32] The page size for results (default
|
261
|
+
# @param page_size [int32] The page size for results (default 250, maximum of 500)
|
262
262
|
# @param page_number [int32] The page number for results (default 0)
|
263
263
|
def days_payable_outstanding_summary(report_date:, filter:, include_param:, order:, page_size:, page_number:)
|
264
264
|
path = "/api/v1/Reports/daily-payable-outstanding-summary"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
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-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
@@ -109,7 +109,7 @@ class SyncClient
|
|
109
109
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
110
110
|
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Details
|
111
111
|
# @param order [string] The sort order for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
112
|
-
# @param page_size [int32] The page size for results (default
|
112
|
+
# @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)
|
113
113
|
# @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
114
114
|
def query_syncs(filter:, include_param:, order:, page_size:, page_number:)
|
115
115
|
path = "/api/v1/Sync/query"
|
@@ -0,0 +1,54 @@
|
|
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 TransactionsClient
|
18
|
+
|
19
|
+
##
|
20
|
+
# Initialize the TransactionsClient 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
|
+
# Queries transactions (invoices/credit memos/payments) for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.
|
29
|
+
#
|
30
|
+
# 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.
|
31
|
+
#
|
32
|
+
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
33
|
+
# @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
|
34
|
+
# @param order [string] The sort order for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
35
|
+
# @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)
|
36
|
+
# @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
37
|
+
# @param current_date [date-time] The date the days past due value will be calculated against. If no currentDate is provided the current UTC date will be used.
|
38
|
+
def query_transactions(filter:, include_param:, order:, page_size:, page_number:, current_date:)
|
39
|
+
path = "/api/v1/Transactions/query"
|
40
|
+
params = {:filter => filter, :include => include_param, :order => order, :pageSize => page_size, :pageNumber => page_number, :currentDate => current_date}
|
41
|
+
@connection.request(:get, path, nil, params)
|
42
|
+
end
|
43
|
+
|
44
|
+
##
|
45
|
+
# Retrieves a list of transaction details for the supplied transaction id.
|
46
|
+
#
|
47
|
+
# A Transaction Detail contains information about the associated Transaction. This information can be an invoice associated to a payment or credit memo or a payment or credit memo used as payment for one or more invoices.
|
48
|
+
#
|
49
|
+
# @param id [uuid]
|
50
|
+
def retrieve_transaction_details(id:)
|
51
|
+
path = "/api/v1/Transactions/#{id}/details"
|
52
|
+
@connection.request(:get, path, nil, nil)
|
53
|
+
end
|
54
|
+
end
|
@@ -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 TranscriptionsClient
|
18
|
+
|
19
|
+
##
|
20
|
+
# Initialize the TranscriptionsClient 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 Transcription Validation Request specified by this unique identifier, optionally including nested data sets.
|
29
|
+
#
|
30
|
+
# A Transcription Validation Request represents a collection of files sent from the client to verify the file type using the machine learning platform Sage AI.
|
31
|
+
#
|
32
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the transcription validation request
|
33
|
+
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Items
|
34
|
+
def retrieve_transcription_validation_request(id:, include_param:)
|
35
|
+
path = "/api/v1/Transcriptions/validate/#{id}"
|
36
|
+
params = {:include => include_param}
|
37
|
+
@connection.request(:get, path, nil, params)
|
38
|
+
end
|
39
|
+
|
40
|
+
##
|
41
|
+
# Updates an existing Transcription Validation Request 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 Transcription Validation Request represents a collection of files sent from the client to verify the file type using the machine learning platform Sage AI.
|
46
|
+
#
|
47
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the Transcription Validation Request to update
|
48
|
+
# @param body [object] A list of changes to apply to this Transcription Validation Request
|
49
|
+
def update_transcription_validation_request(id:, body:)
|
50
|
+
path = "/api/v1/Transcriptions/validate/#{id}"
|
51
|
+
@connection.request(:patch, path, body.to_camelback_keys.to_json, nil)
|
52
|
+
end
|
53
|
+
|
54
|
+
##
|
55
|
+
# Deletes the Transcription Validation Request and all associated items referred to by this unique identifier.
|
56
|
+
#
|
57
|
+
# A Transcription Validation Request represents a collection of files sent from the client to verify the file type using the machine learning platform Sage AI.
|
58
|
+
#
|
59
|
+
# @param id [uuid] The unique Lockstep Platform ID number of the transcription validation request to delete
|
60
|
+
def delete_transcription_validation_request(id:)
|
61
|
+
path = "/api/v1/Transcriptions/validate/#{id}"
|
62
|
+
@connection.request(:delete, path, nil, nil)
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Creates one Transcription Validation Request with all the associated request items within this account and returns the record as created.
|
67
|
+
#
|
68
|
+
# A Transcription Validation Request represents a collection of files sent from the client to verify the file type using the machine learning platform Sage AI.
|
69
|
+
#
|
70
|
+
# @param body [TranscriptionRequestSubmit] The files which will be verified
|
71
|
+
def create_transcription_validation_request(body:)
|
72
|
+
path = "/api/v1/Transcriptions/validate"
|
73
|
+
@connection.request(:post, path, body, nil)
|
74
|
+
end
|
75
|
+
|
76
|
+
##
|
77
|
+
# Queries transcription validation requests transactions 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. Available collections: Items
|
83
|
+
# @param order [string] The sort order for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
84
|
+
# @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
|
+
# @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_transcription_validation_requests(filter:, include_param:, order:, page_size:, page_number:)
|
87
|
+
path = "/api/v1/Transcriptions/validate/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-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
@@ -62,18 +62,6 @@ class UserAccountsClient
|
|
62
62
|
@connection.request(:delete, path, nil, nil)
|
63
63
|
end
|
64
64
|
|
65
|
-
##
|
66
|
-
# Reenable the user referred to by this unique identifier.
|
67
|
-
#
|
68
|
-
# A User represents a person who has the ability to authenticate against the Lockstep Platform and use services such as Lockstep Inbox. A User is uniquely identified by an Azure identity, and each user must have an email address defined within their account. All Users must validate their email to make use of Lockstep platform services. Users may have different privileges and access control rights within the Lockstep Platform.
|
69
|
-
#
|
70
|
-
# @param id [uuid] The unique Lockstep Platform ID number of this User
|
71
|
-
def reenable_user(id:)
|
72
|
-
path = "/api/v1/UserAccounts/reenable"
|
73
|
-
params = {:id => id}
|
74
|
-
@connection.request(:post, path, nil, params)
|
75
|
-
end
|
76
|
-
|
77
65
|
##
|
78
66
|
# Invite a user with the specified email to join your accounting group. The user will receive an email to set up their account.
|
79
67
|
#
|
@@ -114,7 +102,7 @@ class UserAccountsClient
|
|
114
102
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
115
103
|
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collections: Notes, Attachments, CustomFields, AccountingRole
|
116
104
|
# @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
117
|
-
# @param page_size [int32] The page size for results (default
|
105
|
+
# @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)
|
118
106
|
# @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
119
107
|
def query_users(filter:, include_param:, order:, page_size:, page_number:)
|
120
108
|
path = "/api/v1/UserAccounts/query"
|
@@ -133,4 +121,14 @@ class UserAccountsClient
|
|
133
121
|
params = {:groupKey => group_key}
|
134
122
|
@connection.request(:post, path, nil, params)
|
135
123
|
end
|
124
|
+
|
125
|
+
##
|
126
|
+
# Retrieves the user data for the current user. This allows for retrieving extended user data such as UTM parameters.
|
127
|
+
#
|
128
|
+
# @param include_param [string] The set of data to retrieve. To avoid any casing confusion, these values are converted to upper case in storage. Possible values are: UTM
|
129
|
+
def get_user_data(include_param:)
|
130
|
+
path = "/api/v1/UserAccounts/user-data"
|
131
|
+
params = {:include => include_param}
|
132
|
+
@connection.request(:get, path, nil, params)
|
133
|
+
end
|
136
134
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
@@ -41,7 +41,7 @@ class UserRolesClient
|
|
41
41
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
42
42
|
# @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
|
43
43
|
# @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
44
|
-
# @param page_size [int32] The page size for results (default
|
44
|
+
# @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)
|
45
45
|
# @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
46
46
|
def query_user_roles(filter:, include_param:, order:, page_size:, page_number:)
|
47
47
|
path = "/api/v1/UserRoles/query"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
10
|
+
# @copyright 2021-2023 Lockstep, Inc.
|
11
11
|
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
12
12
|
#
|
13
13
|
|
@@ -71,7 +71,7 @@ class WebhookRulesClient
|
|
71
71
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
72
72
|
# @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
|
73
73
|
# @param order [string] The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
74
|
-
# @param page_size [int32] The page size for results (default
|
74
|
+
# @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)
|
75
75
|
# @param page_number [int32] The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
76
76
|
def query_webhook_rules(filter:, include_param:, order:, page_size:, page_number:)
|
77
77
|
path = "/api/v1/WebhookRules/query"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
#
|
2
2
|
# Lockstep Platform SDK for Ruby
|
3
3
|
#
|
4
|
-
# (c) 2021-
|
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-
|
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 WebhooksClient
|
|
80
80
|
# @param filter [string] The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)
|
81
81
|
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collection: WebhookRules
|
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
|
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_webhooks(filter:, include_param:, order:, page_size:, page_number:)
|
86
86
|
path = "/api/v1/Webhooks/query"
|
@@ -95,7 +95,7 @@ class WebhooksClient
|
|
95
95
|
# @param include_param [string] To fetch additional data on this object, specify the list of elements to retrieve. Available collection: Records, RequestMessage, ResponseMessage
|
96
96
|
# @param filter [string] The filter for this query. See [Azure Query Language](https://docs.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities)
|
97
97
|
# @param select [string] The selection for this query. Selection is the desired properties of an entity to pull from the set. If a property is not selected, it will either return as null or empty. See [Azure Query Language](https://docs.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities)
|
98
|
-
# @param page_size [int32] The page size for results (default
|
98
|
+
# @param page_size [int32] The page size for results (default 250, maximum of 500).
|
99
99
|
# @param page_number [int32] The page number for results (default 0).
|
100
100
|
def query_webhook_history(webhook_id:, include_param:, filter:, select:, page_size:, page_number:)
|
101
101
|
path = "/api/v1/Webhooks/#{webhookId}/history/query"
|