lockstep_sdk 2022.4.32.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 +7 -0
- data/lib/lockstep_sdk/clients/activities_client.rb +119 -0
- data/lib/lockstep_sdk/clients/api_keys_client.rb +78 -0
- data/lib/lockstep_sdk/clients/app_enrollments_client.rb +121 -0
- data/lib/lockstep_sdk/clients/applications_client.rb +100 -0
- data/lib/lockstep_sdk/clients/attachments_client.rb +121 -0
- data/lib/lockstep_sdk/clients/code_definitions_client.rb +60 -0
- data/lib/lockstep_sdk/clients/companies_client.rb +123 -0
- data/lib/lockstep_sdk/clients/contacts_client.rb +90 -0
- data/lib/lockstep_sdk/clients/credit_memo_applied_client.rb +92 -0
- data/lib/lockstep_sdk/clients/currencies_client.rb +55 -0
- data/lib/lockstep_sdk/clients/custom_field_definitions_client.rb +94 -0
- data/lib/lockstep_sdk/clients/custom_field_values_client.rb +97 -0
- data/lib/lockstep_sdk/clients/definitions_client.rb +95 -0
- data/lib/lockstep_sdk/clients/emails_client.rb +108 -0
- data/lib/lockstep_sdk/clients/invoice_history_client.rb +56 -0
- data/lib/lockstep_sdk/clients/invoices_client.rb +126 -0
- data/lib/lockstep_sdk/clients/leads_client.rb +40 -0
- data/lib/lockstep_sdk/clients/notes_client.rb +84 -0
- data/lib/lockstep_sdk/clients/payment_applications_client.rb +92 -0
- data/lib/lockstep_sdk/clients/payments_client.rb +138 -0
- data/lib/lockstep_sdk/clients/provisioning_client.rb +56 -0
- data/lib/lockstep_sdk/clients/reports_client.rb +114 -0
- data/lib/lockstep_sdk/clients/status_client.rb +53 -0
- data/lib/lockstep_sdk/clients/sync_client.rb +97 -0
- data/lib/lockstep_sdk/clients/user_accounts_client.rb +127 -0
- data/lib/lockstep_sdk/clients/user_roles_client.rb +54 -0
- data/lib/lockstep_sdk/lockstep_api.rb +264 -0
- data/lib/lockstep_sdk/models/activity_model.rb +221 -0
- data/lib/lockstep_sdk/models/activity_stream_item_model.rb +104 -0
- data/lib/lockstep_sdk/models/activity_xref_model.rb +72 -0
- data/lib/lockstep_sdk/models/aging_model.rb +62 -0
- data/lib/lockstep_sdk/models/api_key_model.rb +116 -0
- data/lib/lockstep_sdk/models/app_enrollment_custom_field_model.rb +110 -0
- data/lib/lockstep_sdk/models/app_enrollment_model.rb +151 -0
- data/lib/lockstep_sdk/models/application_model.rb +166 -0
- data/lib/lockstep_sdk/models/ar_aging_header_info_model.rb +86 -0
- data/lib/lockstep_sdk/models/ar_header_info_model.rb +170 -0
- data/lib/lockstep_sdk/models/at_risk_invoice_summary_model.rb +140 -0
- data/lib/lockstep_sdk/models/attachment_header_info_model.rb +74 -0
- data/lib/lockstep_sdk/models/attachment_model.rb +122 -0
- data/lib/lockstep_sdk/models/bulk_currency_conversion_model.rb +56 -0
- data/lib/lockstep_sdk/models/cashflow_report_model.rb +74 -0
- data/lib/lockstep_sdk/models/code_definition_model.rb +99 -0
- data/lib/lockstep_sdk/models/company_model.rb +336 -0
- data/lib/lockstep_sdk/models/connector_info_model.rb +69 -0
- data/lib/lockstep_sdk/models/contact_model.rb +227 -0
- data/lib/lockstep_sdk/models/country_model.rb +116 -0
- data/lib/lockstep_sdk/models/credit_memo_applied_model.rb +150 -0
- data/lib/lockstep_sdk/models/credit_memo_invoice_model.rb +116 -0
- data/lib/lockstep_sdk/models/currency_model.rb +74 -0
- data/lib/lockstep_sdk/models/currency_rate_model.rb +68 -0
- data/lib/lockstep_sdk/models/custom_field_definition_model.rb +121 -0
- data/lib/lockstep_sdk/models/custom_field_value_model.rb +115 -0
- data/lib/lockstep_sdk/models/customer_details_model.rb +164 -0
- data/lib/lockstep_sdk/models/customer_details_payment_model.rb +104 -0
- data/lib/lockstep_sdk/models/customer_summary_model.rb +134 -0
- data/lib/lockstep_sdk/models/daily_sales_outstanding_report_model.rb +62 -0
- data/lib/lockstep_sdk/models/developer_account_submit_model.rb +62 -0
- data/lib/lockstep_sdk/models/email_model.rb +245 -0
- data/lib/lockstep_sdk/models/erp_info_data_model.rb +63 -0
- data/lib/lockstep_sdk/models/erp_info_model.rb +56 -0
- data/lib/lockstep_sdk/models/erp_model.rb +62 -0
- data/lib/lockstep_sdk/models/invite_data_model.rb +56 -0
- data/lib/lockstep_sdk/models/invite_model.rb +68 -0
- data/lib/lockstep_sdk/models/invite_submit_model.rb +50 -0
- data/lib/lockstep_sdk/models/invoice_address_model.rb +140 -0
- data/lib/lockstep_sdk/models/invoice_history_model.rb +238 -0
- data/lib/lockstep_sdk/models/invoice_line_model.rb +194 -0
- data/lib/lockstep_sdk/models/invoice_model.rb +325 -0
- data/lib/lockstep_sdk/models/invoice_payment_detail_model.rb +104 -0
- data/lib/lockstep_sdk/models/invoice_summary_model.rb +134 -0
- data/lib/lockstep_sdk/models/lead_model.rb +74 -0
- data/lib/lockstep_sdk/models/note_model.rb +121 -0
- data/lib/lockstep_sdk/models/payment_applied_model.rb +131 -0
- data/lib/lockstep_sdk/models/payment_detail_header_model.rb +80 -0
- data/lib/lockstep_sdk/models/payment_detail_model.rb +176 -0
- data/lib/lockstep_sdk/models/payment_model.rb +206 -0
- data/lib/lockstep_sdk/models/payment_summary_model.rb +128 -0
- data/lib/lockstep_sdk/models/provisioning_finalize_request_model.rb +74 -0
- data/lib/lockstep_sdk/models/provisioning_model.rb +74 -0
- data/lib/lockstep_sdk/models/provisioning_response_model.rb +86 -0
- data/lib/lockstep_sdk/models/risk_rate_model.rb +98 -0
- data/lib/lockstep_sdk/models/state_model.rb +62 -0
- data/lib/lockstep_sdk/models/status_model.rb +128 -0
- data/lib/lockstep_sdk/models/sync_entity_result_model.rb +74 -0
- data/lib/lockstep_sdk/models/sync_request_model.rb +98 -0
- data/lib/lockstep_sdk/models/sync_submit_model.rb +50 -0
- data/lib/lockstep_sdk/models/transfer_owner_model.rb +56 -0
- data/lib/lockstep_sdk/models/transfer_owner_submit_model.rb +50 -0
- data/lib/lockstep_sdk/models/user_account_model.rb +240 -0
- data/lib/lockstep_sdk/models/user_role_model.rb +86 -0
- data/lib/lockstep_sdk/version.rb +3 -0
- metadata +150 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
#
|
2
|
+
# Lockstep Software Development Kit for Ruby
|
3
|
+
#
|
4
|
+
# (c) 2021-2022 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 Ted Spence <tspence@lockstep.io>
|
10
|
+
# @author Manish Narayan B S <manish.n@lockstep.io>
|
11
|
+
# @author Rishi Rajkumar Jawahar <rjawahar@lockstep.io>
|
12
|
+
# @copyright 2021-2022 Lockstep, Inc.
|
13
|
+
# @version 2022.4
|
14
|
+
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
15
|
+
#
|
16
|
+
|
17
|
+
|
18
|
+
require 'json'
|
19
|
+
|
20
|
+
module LockstepSdk
|
21
|
+
|
22
|
+
##
|
23
|
+
# Model used to submit a transfer ownership request
|
24
|
+
class TransferOwnerSubmitModel
|
25
|
+
|
26
|
+
##
|
27
|
+
# Initialize the TransferOwnerSubmitModel using the provided prototype
|
28
|
+
def initialize(params = {})
|
29
|
+
@target_user_id = params.dig(:target_user_id)
|
30
|
+
end
|
31
|
+
|
32
|
+
##
|
33
|
+
# @return [Uuid] The ID of the user to transfer ownership to.
|
34
|
+
attr_accessor :target_user_id
|
35
|
+
|
36
|
+
##
|
37
|
+
# @return [object] This object as a JSON key-value structure
|
38
|
+
def as_json(options={})
|
39
|
+
{
|
40
|
+
'targetUserId' => @target_user_id,
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
##
|
45
|
+
# @return [String] This object converted to a JSON string
|
46
|
+
def to_json(*options)
|
47
|
+
"[#{as_json(*options).to_json(*options)}]"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,240 @@
|
|
1
|
+
#
|
2
|
+
# Lockstep Software Development Kit for Ruby
|
3
|
+
#
|
4
|
+
# (c) 2021-2022 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 Ted Spence <tspence@lockstep.io>
|
10
|
+
# @author Manish Narayan B S <manish.n@lockstep.io>
|
11
|
+
# @author Rishi Rajkumar Jawahar <rjawahar@lockstep.io>
|
12
|
+
# @copyright 2021-2022 Lockstep, Inc.
|
13
|
+
# @version 2022.4
|
14
|
+
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
15
|
+
#
|
16
|
+
|
17
|
+
|
18
|
+
require 'json'
|
19
|
+
|
20
|
+
module LockstepSdk
|
21
|
+
|
22
|
+
##
|
23
|
+
# A User represents a person who has the ability to authenticate against the Lockstep Platform and use
|
24
|
+
# services such as Lockstep Inbox. A User is uniquely identified by an Azure identity, and each user must
|
25
|
+
# have an email address defined within their account. All Users must validate their email to make use of
|
26
|
+
# Lockstep platform services. Users may have different privileges and access control rights within the
|
27
|
+
# Lockstep Platform.
|
28
|
+
class UserAccountModel
|
29
|
+
|
30
|
+
##
|
31
|
+
# Initialize the UserAccountModel using the provided prototype
|
32
|
+
def initialize(params = {})
|
33
|
+
@user_id = params.dig(:user_id)
|
34
|
+
@group_key = params.dig(:group_key)
|
35
|
+
@user_name = params.dig(:user_name)
|
36
|
+
@email = params.dig(:email)
|
37
|
+
@status = params.dig(:status)
|
38
|
+
@created = params.dig(:created)
|
39
|
+
@created_user_id = params.dig(:created_user_id)
|
40
|
+
@modified = params.dig(:modified)
|
41
|
+
@modified_user_id = params.dig(:modified_user_id)
|
42
|
+
@modified_user_name = params.dig(:modified_user_name)
|
43
|
+
@b2_cuser_id = params.dig(:b2_cuser_id)
|
44
|
+
@user_role = params.dig(:user_role)
|
45
|
+
@invite_sent = params.dig(:invite_sent)
|
46
|
+
@phone_number = params.dig(:phone_number)
|
47
|
+
@fax_number = params.dig(:fax_number)
|
48
|
+
@title = params.dig(:title)
|
49
|
+
@accounting_role_code_def_id = params.dig(:accounting_role_code_def_id)
|
50
|
+
@address1 = params.dig(:address1)
|
51
|
+
@address2 = params.dig(:address2)
|
52
|
+
@address3 = params.dig(:address3)
|
53
|
+
@city = params.dig(:city)
|
54
|
+
@state_region = params.dig(:state_region)
|
55
|
+
@postal_code = params.dig(:postal_code)
|
56
|
+
@country = params.dig(:country)
|
57
|
+
@image_url = params.dig(:image_url)
|
58
|
+
@description = params.dig(:description)
|
59
|
+
@b2_clast_logged_in = params.dig(:b2_clast_logged_in)
|
60
|
+
@default_currency_code = params.dig(:default_currency_code)
|
61
|
+
@notes = params.dig(:notes)
|
62
|
+
@attachments = params.dig(:attachments)
|
63
|
+
@custom_field_values = params.dig(:custom_field_values)
|
64
|
+
@accounting_role_code_definition = params.dig(:accounting_role_code_definition)
|
65
|
+
end
|
66
|
+
|
67
|
+
##
|
68
|
+
# @return [Uuid] The unique ID of this record, automatically assigned by Lockstep when this record is added to the Lockstep platform. This record provides a link to the user's Azure AD B2C OID.
|
69
|
+
attr_accessor :user_id
|
70
|
+
|
71
|
+
##
|
72
|
+
# @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).
|
73
|
+
attr_accessor :group_key
|
74
|
+
|
75
|
+
##
|
76
|
+
# @return [String] The full name of the user
|
77
|
+
attr_accessor :user_name
|
78
|
+
|
79
|
+
##
|
80
|
+
# @return [Email] The email of the user
|
81
|
+
attr_accessor :email
|
82
|
+
|
83
|
+
##
|
84
|
+
# @return [String] The status of the user's account
|
85
|
+
attr_accessor :status
|
86
|
+
|
87
|
+
##
|
88
|
+
# @return [Date-time] The date that the user account was created
|
89
|
+
attr_accessor :created
|
90
|
+
|
91
|
+
##
|
92
|
+
# @return [Uuid] The ID of the user who created the user account
|
93
|
+
attr_accessor :created_user_id
|
94
|
+
|
95
|
+
##
|
96
|
+
# @return [Date-time] The date the user account was last modified
|
97
|
+
attr_accessor :modified
|
98
|
+
|
99
|
+
##
|
100
|
+
# @return [Uuid] The ID of the user who last modified the user account
|
101
|
+
attr_accessor :modified_user_id
|
102
|
+
|
103
|
+
##
|
104
|
+
# @return [String] The name of the user who last modified the user account
|
105
|
+
attr_accessor :modified_user_name
|
106
|
+
|
107
|
+
##
|
108
|
+
# @return [Uuid] The ID of the user in Azure B2C
|
109
|
+
attr_accessor :b2_cuser_id
|
110
|
+
|
111
|
+
##
|
112
|
+
# @return [Uuid] The id of the Permission Level for the user.
|
113
|
+
attr_accessor :user_role
|
114
|
+
|
115
|
+
##
|
116
|
+
# @return [Date-time] The date timestamp when the invite was sent to the user.
|
117
|
+
attr_accessor :invite_sent
|
118
|
+
|
119
|
+
##
|
120
|
+
# @return [String] The phone number of the user.
|
121
|
+
attr_accessor :phone_number
|
122
|
+
|
123
|
+
##
|
124
|
+
# @return [String] The fax number of the user.
|
125
|
+
attr_accessor :fax_number
|
126
|
+
|
127
|
+
##
|
128
|
+
# @return [String] The title of the user; free text field
|
129
|
+
attr_accessor :title
|
130
|
+
|
131
|
+
##
|
132
|
+
# @return [Uuid] FK to the CodeDefinition table; CodeType = 'AccountingRole'
|
133
|
+
attr_accessor :accounting_role_code_def_id
|
134
|
+
|
135
|
+
##
|
136
|
+
# @return [String] Address Line 1 for this User
|
137
|
+
attr_accessor :address1
|
138
|
+
|
139
|
+
##
|
140
|
+
# @return [String] Address Line 2 for this User
|
141
|
+
attr_accessor :address2
|
142
|
+
|
143
|
+
##
|
144
|
+
# @return [String] Address Line 3 for this User
|
145
|
+
attr_accessor :address3
|
146
|
+
|
147
|
+
##
|
148
|
+
# @return [String] City for this User
|
149
|
+
attr_accessor :city
|
150
|
+
|
151
|
+
##
|
152
|
+
# @return [String] Region ("state" in the US) for this User
|
153
|
+
attr_accessor :state_region
|
154
|
+
|
155
|
+
##
|
156
|
+
# @return [String] Postal Code this User
|
157
|
+
attr_accessor :postal_code
|
158
|
+
|
159
|
+
##
|
160
|
+
# @return [String] Country for this User This will be validated by the /api/v1/countries data set
|
161
|
+
attr_accessor :country
|
162
|
+
|
163
|
+
##
|
164
|
+
# @return [String] Image URL for this User
|
165
|
+
attr_accessor :image_url
|
166
|
+
|
167
|
+
##
|
168
|
+
# @return [String] Description for this User.
|
169
|
+
attr_accessor :description
|
170
|
+
|
171
|
+
##
|
172
|
+
# @return [Date-time] Last date time user logged into Azure B2C.
|
173
|
+
attr_accessor :b2_clast_logged_in
|
174
|
+
|
175
|
+
##
|
176
|
+
# @return [String] The default currency code used by this user entity. This value can be overridden for invoices in a different currency code. For a list of defined currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies) This will be validated by the /api/v1/currencies data set
|
177
|
+
attr_accessor :default_currency_code
|
178
|
+
|
179
|
+
##
|
180
|
+
# @return [NoteModel] All notes attached to this User. To retrieve this collection, specify `Notes` in the "Include" parameter for your query.
|
181
|
+
attr_accessor :notes
|
182
|
+
|
183
|
+
##
|
184
|
+
# @return [AttachmentModel] All attachments attached to this User. To retrieve this collection, specify `Attachments` in the "Include" parameter for your query.
|
185
|
+
attr_accessor :attachments
|
186
|
+
|
187
|
+
##
|
188
|
+
# @return [CustomFieldValueModel] All values attached to this User. To retrieve this collection, specify `CustomFieldValues` in the "Include" parameter for your query.
|
189
|
+
attr_accessor :custom_field_values
|
190
|
+
|
191
|
+
##
|
192
|
+
# @return [CodeDefinitionModel] Accounting role definition for this User. To retrieve this collection, specify `AccountingRole` in the "Include" parameter for your query.
|
193
|
+
attr_accessor :accounting_role_code_definition
|
194
|
+
|
195
|
+
##
|
196
|
+
# @return [object] This object as a JSON key-value structure
|
197
|
+
def as_json(options={})
|
198
|
+
{
|
199
|
+
'userId' => @user_id,
|
200
|
+
'groupKey' => @group_key,
|
201
|
+
'userName' => @user_name,
|
202
|
+
'email' => @email,
|
203
|
+
'status' => @status,
|
204
|
+
'created' => @created,
|
205
|
+
'createdUserId' => @created_user_id,
|
206
|
+
'modified' => @modified,
|
207
|
+
'modifiedUserId' => @modified_user_id,
|
208
|
+
'modifiedUserName' => @modified_user_name,
|
209
|
+
'b2CUserId' => @b2_cuser_id,
|
210
|
+
'userRole' => @user_role,
|
211
|
+
'inviteSent' => @invite_sent,
|
212
|
+
'phoneNumber' => @phone_number,
|
213
|
+
'faxNumber' => @fax_number,
|
214
|
+
'title' => @title,
|
215
|
+
'accountingRoleCodeDefId' => @accounting_role_code_def_id,
|
216
|
+
'address1' => @address1,
|
217
|
+
'address2' => @address2,
|
218
|
+
'address3' => @address3,
|
219
|
+
'city' => @city,
|
220
|
+
'stateRegion' => @state_region,
|
221
|
+
'postalCode' => @postal_code,
|
222
|
+
'country' => @country,
|
223
|
+
'imageURL' => @image_url,
|
224
|
+
'description' => @description,
|
225
|
+
'b2CLastLoggedIn' => @b2_clast_logged_in,
|
226
|
+
'defaultCurrencyCode' => @default_currency_code,
|
227
|
+
'notes' => @notes,
|
228
|
+
'attachments' => @attachments,
|
229
|
+
'customFieldValues' => @custom_field_values,
|
230
|
+
'accountingRoleCodeDefinition' => @accounting_role_code_definition,
|
231
|
+
}
|
232
|
+
end
|
233
|
+
|
234
|
+
##
|
235
|
+
# @return [String] This object converted to a JSON string
|
236
|
+
def to_json(*options)
|
237
|
+
"[#{as_json(*options).to_json(*options)}]"
|
238
|
+
end
|
239
|
+
end
|
240
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
#
|
2
|
+
# Lockstep Software Development Kit for Ruby
|
3
|
+
#
|
4
|
+
# (c) 2021-2022 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 Ted Spence <tspence@lockstep.io>
|
10
|
+
# @author Manish Narayan B S <manish.n@lockstep.io>
|
11
|
+
# @author Rishi Rajkumar Jawahar <rjawahar@lockstep.io>
|
12
|
+
# @copyright 2021-2022 Lockstep, Inc.
|
13
|
+
# @version 2022.4
|
14
|
+
# @link https://github.com/Lockstep-Network/lockstep-sdk-ruby
|
15
|
+
#
|
16
|
+
|
17
|
+
|
18
|
+
require 'json'
|
19
|
+
|
20
|
+
module LockstepSdk
|
21
|
+
|
22
|
+
##
|
23
|
+
# Represents a role for a user
|
24
|
+
class UserRoleModel
|
25
|
+
|
26
|
+
##
|
27
|
+
# Initialize the UserRoleModel using the provided prototype
|
28
|
+
def initialize(params = {})
|
29
|
+
@user_role_id = params.dig(:user_role_id)
|
30
|
+
@group_key = params.dig(:group_key)
|
31
|
+
@user_role_name = params.dig(:user_role_name)
|
32
|
+
@created = params.dig(:created)
|
33
|
+
@created_user_id = params.dig(:created_user_id)
|
34
|
+
@modified = params.dig(:modified)
|
35
|
+
@modified_user_id = params.dig(:modified_user_id)
|
36
|
+
end
|
37
|
+
|
38
|
+
##
|
39
|
+
# @return [Uuid] The unique ID of this record, automatically assigned by Lockstep when this record is added to the Lockstep platform.
|
40
|
+
attr_accessor :user_role_id
|
41
|
+
|
42
|
+
##
|
43
|
+
# @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).
|
44
|
+
attr_accessor :group_key
|
45
|
+
|
46
|
+
##
|
47
|
+
# @return [String] The name of the user role
|
48
|
+
attr_accessor :user_role_name
|
49
|
+
|
50
|
+
##
|
51
|
+
# @return [Date-time] The date that the user role was created
|
52
|
+
attr_accessor :created
|
53
|
+
|
54
|
+
##
|
55
|
+
# @return [Uuid] The ID of the user who created the user role
|
56
|
+
attr_accessor :created_user_id
|
57
|
+
|
58
|
+
##
|
59
|
+
# @return [Date-time] The date the user role was last modified
|
60
|
+
attr_accessor :modified
|
61
|
+
|
62
|
+
##
|
63
|
+
# @return [Uuid] The ID of the user who last modified the user role
|
64
|
+
attr_accessor :modified_user_id
|
65
|
+
|
66
|
+
##
|
67
|
+
# @return [object] This object as a JSON key-value structure
|
68
|
+
def as_json(options={})
|
69
|
+
{
|
70
|
+
'userRoleId' => @user_role_id,
|
71
|
+
'groupKey' => @group_key,
|
72
|
+
'userRoleName' => @user_role_name,
|
73
|
+
'created' => @created,
|
74
|
+
'createdUserId' => @created_user_id,
|
75
|
+
'modified' => @modified,
|
76
|
+
'modifiedUserId' => @modified_user_id,
|
77
|
+
}
|
78
|
+
end
|
79
|
+
|
80
|
+
##
|
81
|
+
# @return [String] This object converted to a JSON string
|
82
|
+
def to_json(*options)
|
83
|
+
"[#{as_json(*options).to_json(*options)}]"
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lockstep_sdk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2022.4.32.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lockstep
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: awrence
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: "Allows you to work with the Lockstep Platform API for financial systems
|
28
|
+
automation. The SDK provides rich, \n context sensitive help
|
29
|
+
and documentation for all methods and objects."
|
30
|
+
email: developer@lockstep.io
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- lib/lockstep_sdk/clients/activities_client.rb
|
36
|
+
- lib/lockstep_sdk/clients/api_keys_client.rb
|
37
|
+
- lib/lockstep_sdk/clients/app_enrollments_client.rb
|
38
|
+
- lib/lockstep_sdk/clients/applications_client.rb
|
39
|
+
- lib/lockstep_sdk/clients/attachments_client.rb
|
40
|
+
- lib/lockstep_sdk/clients/code_definitions_client.rb
|
41
|
+
- lib/lockstep_sdk/clients/companies_client.rb
|
42
|
+
- lib/lockstep_sdk/clients/contacts_client.rb
|
43
|
+
- lib/lockstep_sdk/clients/credit_memo_applied_client.rb
|
44
|
+
- lib/lockstep_sdk/clients/currencies_client.rb
|
45
|
+
- lib/lockstep_sdk/clients/custom_field_definitions_client.rb
|
46
|
+
- lib/lockstep_sdk/clients/custom_field_values_client.rb
|
47
|
+
- lib/lockstep_sdk/clients/definitions_client.rb
|
48
|
+
- lib/lockstep_sdk/clients/emails_client.rb
|
49
|
+
- lib/lockstep_sdk/clients/invoice_history_client.rb
|
50
|
+
- lib/lockstep_sdk/clients/invoices_client.rb
|
51
|
+
- lib/lockstep_sdk/clients/leads_client.rb
|
52
|
+
- lib/lockstep_sdk/clients/notes_client.rb
|
53
|
+
- lib/lockstep_sdk/clients/payment_applications_client.rb
|
54
|
+
- lib/lockstep_sdk/clients/payments_client.rb
|
55
|
+
- lib/lockstep_sdk/clients/provisioning_client.rb
|
56
|
+
- lib/lockstep_sdk/clients/reports_client.rb
|
57
|
+
- lib/lockstep_sdk/clients/status_client.rb
|
58
|
+
- lib/lockstep_sdk/clients/sync_client.rb
|
59
|
+
- lib/lockstep_sdk/clients/user_accounts_client.rb
|
60
|
+
- lib/lockstep_sdk/clients/user_roles_client.rb
|
61
|
+
- lib/lockstep_sdk/lockstep_api.rb
|
62
|
+
- lib/lockstep_sdk/models/activity_model.rb
|
63
|
+
- lib/lockstep_sdk/models/activity_stream_item_model.rb
|
64
|
+
- lib/lockstep_sdk/models/activity_xref_model.rb
|
65
|
+
- lib/lockstep_sdk/models/aging_model.rb
|
66
|
+
- lib/lockstep_sdk/models/api_key_model.rb
|
67
|
+
- lib/lockstep_sdk/models/app_enrollment_custom_field_model.rb
|
68
|
+
- lib/lockstep_sdk/models/app_enrollment_model.rb
|
69
|
+
- lib/lockstep_sdk/models/application_model.rb
|
70
|
+
- lib/lockstep_sdk/models/ar_aging_header_info_model.rb
|
71
|
+
- lib/lockstep_sdk/models/ar_header_info_model.rb
|
72
|
+
- lib/lockstep_sdk/models/at_risk_invoice_summary_model.rb
|
73
|
+
- lib/lockstep_sdk/models/attachment_header_info_model.rb
|
74
|
+
- lib/lockstep_sdk/models/attachment_model.rb
|
75
|
+
- lib/lockstep_sdk/models/bulk_currency_conversion_model.rb
|
76
|
+
- lib/lockstep_sdk/models/cashflow_report_model.rb
|
77
|
+
- lib/lockstep_sdk/models/code_definition_model.rb
|
78
|
+
- lib/lockstep_sdk/models/company_model.rb
|
79
|
+
- lib/lockstep_sdk/models/connector_info_model.rb
|
80
|
+
- lib/lockstep_sdk/models/contact_model.rb
|
81
|
+
- lib/lockstep_sdk/models/country_model.rb
|
82
|
+
- lib/lockstep_sdk/models/credit_memo_applied_model.rb
|
83
|
+
- lib/lockstep_sdk/models/credit_memo_invoice_model.rb
|
84
|
+
- lib/lockstep_sdk/models/currency_model.rb
|
85
|
+
- lib/lockstep_sdk/models/currency_rate_model.rb
|
86
|
+
- lib/lockstep_sdk/models/custom_field_definition_model.rb
|
87
|
+
- lib/lockstep_sdk/models/custom_field_value_model.rb
|
88
|
+
- lib/lockstep_sdk/models/customer_details_model.rb
|
89
|
+
- lib/lockstep_sdk/models/customer_details_payment_model.rb
|
90
|
+
- lib/lockstep_sdk/models/customer_summary_model.rb
|
91
|
+
- lib/lockstep_sdk/models/daily_sales_outstanding_report_model.rb
|
92
|
+
- lib/lockstep_sdk/models/developer_account_submit_model.rb
|
93
|
+
- lib/lockstep_sdk/models/email_model.rb
|
94
|
+
- lib/lockstep_sdk/models/erp_info_data_model.rb
|
95
|
+
- lib/lockstep_sdk/models/erp_info_model.rb
|
96
|
+
- lib/lockstep_sdk/models/erp_model.rb
|
97
|
+
- lib/lockstep_sdk/models/invite_data_model.rb
|
98
|
+
- lib/lockstep_sdk/models/invite_model.rb
|
99
|
+
- lib/lockstep_sdk/models/invite_submit_model.rb
|
100
|
+
- lib/lockstep_sdk/models/invoice_address_model.rb
|
101
|
+
- lib/lockstep_sdk/models/invoice_history_model.rb
|
102
|
+
- lib/lockstep_sdk/models/invoice_line_model.rb
|
103
|
+
- lib/lockstep_sdk/models/invoice_model.rb
|
104
|
+
- lib/lockstep_sdk/models/invoice_payment_detail_model.rb
|
105
|
+
- lib/lockstep_sdk/models/invoice_summary_model.rb
|
106
|
+
- lib/lockstep_sdk/models/lead_model.rb
|
107
|
+
- lib/lockstep_sdk/models/note_model.rb
|
108
|
+
- lib/lockstep_sdk/models/payment_applied_model.rb
|
109
|
+
- lib/lockstep_sdk/models/payment_detail_header_model.rb
|
110
|
+
- lib/lockstep_sdk/models/payment_detail_model.rb
|
111
|
+
- lib/lockstep_sdk/models/payment_model.rb
|
112
|
+
- lib/lockstep_sdk/models/payment_summary_model.rb
|
113
|
+
- lib/lockstep_sdk/models/provisioning_finalize_request_model.rb
|
114
|
+
- lib/lockstep_sdk/models/provisioning_model.rb
|
115
|
+
- lib/lockstep_sdk/models/provisioning_response_model.rb
|
116
|
+
- lib/lockstep_sdk/models/risk_rate_model.rb
|
117
|
+
- lib/lockstep_sdk/models/state_model.rb
|
118
|
+
- lib/lockstep_sdk/models/status_model.rb
|
119
|
+
- lib/lockstep_sdk/models/sync_entity_result_model.rb
|
120
|
+
- lib/lockstep_sdk/models/sync_request_model.rb
|
121
|
+
- lib/lockstep_sdk/models/sync_submit_model.rb
|
122
|
+
- lib/lockstep_sdk/models/transfer_owner_model.rb
|
123
|
+
- lib/lockstep_sdk/models/transfer_owner_submit_model.rb
|
124
|
+
- lib/lockstep_sdk/models/user_account_model.rb
|
125
|
+
- lib/lockstep_sdk/models/user_role_model.rb
|
126
|
+
- lib/lockstep_sdk/version.rb
|
127
|
+
homepage: https://developer.lockstep.io
|
128
|
+
licenses:
|
129
|
+
- MIT
|
130
|
+
metadata: {}
|
131
|
+
post_install_message:
|
132
|
+
rdoc_options: []
|
133
|
+
require_paths:
|
134
|
+
- lib
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
requirements: []
|
146
|
+
rubygems_version: 3.3.3
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: API Client to use the Lockstep Platform API
|
150
|
+
test_files: []
|