lockstep_rails 0.3.43 → 0.3.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -14
- data/app/models/lockstep/accounting_profile.rb +8 -0
- data/app/models/lockstep/magic_link.rb +7 -2
- data/app/models/lockstep/status.rb +13 -0
- data/app/platform_api/schema/accounting_profile.rb +108 -0
- data/app/platform_api/schema/accounting_profile_contact.rb +56 -0
- data/app/platform_api/schema/accounting_profile_contact_fetch_result.rb +26 -0
- data/app/platform_api/schema/accounting_profile_fetch_result.rb +26 -0
- data/app/platform_api/schema/app_enrollment_reconnect_info.rb +4 -0
- data/app/platform_api/schema/bulk_delete_request.rb +14 -0
- data/app/platform_api/schema/delete_result.rb +15 -0
- data/app/platform_api/schema/group_account.rb +4 -0
- data/app/platform_api/schema/invoice.rb +5 -0
- data/app/platform_api/schema/invoice_history.rb +5 -0
- data/app/platform_api/schema/invoice_sync.rb +5 -0
- data/app/platform_api/schema/magic_link.rb +16 -4
- data/app/platform_api/schema/magic_link_status.rb +27 -0
- data/app/platform_api/schema/payment.rb +5 -0
- data/app/platform_api/schema/payment_sync.rb +5 -0
- data/app/platform_api/schema/status.rb +16 -0
- data/app/platform_api/schema/sync_request.rb +9 -0
- data/app/platform_api/schema/transcription_request_submit.rb +30 -0
- data/app/platform_api/schema/transcription_validation_request.rb +53 -0
- data/app/platform_api/schema/transcription_validation_request_fetch_result.rb +26 -0
- data/app/platform_api/schema/transcription_validation_request_item.rb +101 -0
- data/app/platform_api/swagger.json +4385 -1991
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +15 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89bb1d95c176091c5ab6964c910f83d573d29a05b5e749b877ab1c16f171126a
|
4
|
+
data.tar.gz: 6b60815cf092ce0dfc3124350594507d72a7964a1f75faef61f2f1144a8d1a10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc621b5b45579ef9e54b60bbd954f5824149b15f0f221ae6e7c288f571bf7aa1ed9fc7363f8bc4fbe1df89a238ec68b04ba528a3fc50866bc115b17c9aad65d
|
7
|
+
data.tar.gz: 2e3e0f2e494c2cc72452f28f75a1373e16b6d72839b0ba2c11eea4a2ccf1c31f0cc64a33b0c8315c014481a092d1abacfcaba6f5339d3faaec945e98f0122650
|
data/README.md
CHANGED
@@ -39,30 +39,31 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
39
39
|
# Usage
|
40
40
|
|
41
41
|
### Available Records
|
42
|
-
* Lockstep::Contact
|
43
|
-
* Lockstep::Connection
|
44
42
|
* Lockstep::Account
|
45
|
-
* Lockstep::
|
46
|
-
* Lockstep::
|
43
|
+
* Lockstep::ApiKey
|
44
|
+
* Lockstep::AppEnrollment
|
45
|
+
* Lockstep::Connection
|
46
|
+
* Lockstep::Contact
|
47
|
+
* Lockstep::CustomerSummary
|
48
|
+
* Lockstep::FeatureFlag
|
47
49
|
* Lockstep::Invoice
|
50
|
+
* Lockstep::InvoiceAtRiskSummary
|
48
51
|
* Lockstep::InvoiceSummary
|
49
|
-
* Lockstep::
|
52
|
+
* Lockstep::MagicLink
|
53
|
+
* Lockstep::Note
|
50
54
|
* Lockstep::Payments
|
51
55
|
* Lockstep::PaymentSummary
|
52
|
-
* Lockstep::
|
56
|
+
* Lockstep::ReportApAgingHeader
|
53
57
|
* Lockstep::ReportArAgingHeader
|
54
58
|
* Lockstep::ReportCashflow
|
55
|
-
* Lockstep::ReportDailySalesOutstanding
|
56
|
-
* Lockstep::ReportRiskRate
|
57
|
-
* Lockstep::ReportApAgingHeader
|
58
59
|
* Lockstep::ReportDailyPayableOutstanding
|
60
|
+
* Lockstep::ReportDailySalesOutstanding
|
59
61
|
* Lockstep::ReportPayableComingDue
|
60
|
-
* Lockstep::ReportPayableSummary
|
61
62
|
* Lockstep::ReportPayablesComingDueSummary
|
62
|
-
* Lockstep::
|
63
|
-
* Lockstep::
|
64
|
-
* Lockstep::
|
65
|
-
* Lockstep::
|
63
|
+
* Lockstep::ReportPayableSummary
|
64
|
+
* Lockstep::ReportRiskRate
|
65
|
+
* Lockstep::Status
|
66
|
+
* Lockstep::User
|
66
67
|
|
67
68
|
## ActiveModel Interfaces
|
68
69
|
|
@@ -3,8 +3,13 @@ class Lockstep::MagicLink < Lockstep::ApiRecord
|
|
3
3
|
self.id_ref = "magicLinkId"
|
4
4
|
self.query_path = ""
|
5
5
|
|
6
|
-
def self.generate(email_id, expiry, app_id, user_role, company_id)
|
7
|
-
body = {email: email_id,
|
6
|
+
def self.generate(email_id, expiry, app_id, user_role, company_id, accounting_profile_id)
|
7
|
+
body = { email: email_id,
|
8
|
+
expiresInMinutes: expiry, applicationId: app_id,
|
9
|
+
userRole: user_role, companyId: company_id,
|
10
|
+
accountingProfileId: accounting_profile_id }
|
11
|
+
body = body.compact
|
12
|
+
|
8
13
|
resource.post_magic_link('', body: body, params: {})
|
9
14
|
end
|
10
15
|
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class Lockstep::Status
|
2
|
+
Lockstep::ApiRecord.model_name_uri = 'v1/Status'
|
3
|
+
|
4
|
+
def self.ping
|
5
|
+
resp = Lockstep::ApiRecord.resource.get('')
|
6
|
+
raise Lockstep::Exceptions::BadRequestError, 'Endpoint not found' if resp.code == '404'
|
7
|
+
|
8
|
+
status = JSON.parse(resp.body)
|
9
|
+
raise Lockstep::Exceptions::UnauthorizedError, status['errorMessage'] unless status['loggedIn']
|
10
|
+
|
11
|
+
status.deep_transform_keys!(&:underscore).deep_symbolize_keys!
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,108 @@
|
|
1
|
+
class Schema::AccountingProfile < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
9
|
+
# added to the Lockstep platform.
|
10
|
+
# @type: string
|
11
|
+
# @format: uuid
|
12
|
+
field :accounting_profile_id
|
13
|
+
|
14
|
+
# The ID of the company profile to which this accounting profile belongs.
|
15
|
+
# @type: string
|
16
|
+
# @format: uuid
|
17
|
+
field :company_id
|
18
|
+
|
19
|
+
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
20
|
+
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
21
|
+
#
|
22
|
+
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
23
|
+
# @type: string
|
24
|
+
# @format: uuid
|
25
|
+
field :group_key
|
26
|
+
|
27
|
+
# The name of the accounting profile.
|
28
|
+
# @type: string
|
29
|
+
field :name
|
30
|
+
|
31
|
+
# The type of the accounting profile.
|
32
|
+
# Some examples include 'AR', 'AP', 'AR+AP', 'General Accounting', 'Treasury', 'Payroll', 'Finance'
|
33
|
+
# @type: string
|
34
|
+
field :type
|
35
|
+
|
36
|
+
# The email address associated with the accounting profile.
|
37
|
+
# @type: string
|
38
|
+
# @format: email
|
39
|
+
field :email_address
|
40
|
+
|
41
|
+
# The phone number associated with the accounting profile.
|
42
|
+
# @type: string
|
43
|
+
field :phone
|
44
|
+
|
45
|
+
# The first line of the address.
|
46
|
+
# @type: string
|
47
|
+
field :address1
|
48
|
+
|
49
|
+
# The second line of the address.
|
50
|
+
# @type: string
|
51
|
+
field :address2
|
52
|
+
|
53
|
+
# The third line of the address.
|
54
|
+
# @type: string
|
55
|
+
field :address3
|
56
|
+
|
57
|
+
# The city of the address.
|
58
|
+
# @type: string
|
59
|
+
field :city
|
60
|
+
|
61
|
+
# The state/region of the address.
|
62
|
+
# @type: string
|
63
|
+
field :region
|
64
|
+
|
65
|
+
# The postal/zip code of the address.
|
66
|
+
# @type: string
|
67
|
+
field :postal_code
|
68
|
+
|
69
|
+
# The two character country code of the address.
|
70
|
+
# @type: string
|
71
|
+
field :country
|
72
|
+
|
73
|
+
# The ID of the primary contact with which this accounting profile is associated.
|
74
|
+
# @type: string
|
75
|
+
# @format: uuid
|
76
|
+
field :primary_contact_id
|
77
|
+
|
78
|
+
# The date on which this record was created.
|
79
|
+
# @type: string
|
80
|
+
# @format: date-time
|
81
|
+
field :created, Types::Params::DateTime
|
82
|
+
|
83
|
+
# The ID of the user who created this accounting profile.
|
84
|
+
# @type: string
|
85
|
+
# @format: uuid
|
86
|
+
field :created_user_id
|
87
|
+
|
88
|
+
# The date on which this record was last modified.
|
89
|
+
# @type: string
|
90
|
+
# @format: date-time
|
91
|
+
field :modified, Types::Params::DateTime
|
92
|
+
|
93
|
+
# The ID of the user who last modified this accounting profile.
|
94
|
+
# @type: string
|
95
|
+
# @format: uuid
|
96
|
+
field :modified_user_id
|
97
|
+
|
98
|
+
belongs_to :company, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
99
|
+
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
100
|
+
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
101
|
+
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
102
|
+
|
103
|
+
has_many :notes, {:class_name=>"Lockstep::Note", :included=>true, :foreign_key=>:object_key, :polymorphic=>{:table_key=>"AccountingProfile"}}
|
104
|
+
has_many :attachments, {:class_name=>"Schema::Attachment", :included=>true}
|
105
|
+
has_many :custom_field_definitions, {:class_name=>"Schema::CustomFieldDefinition", :included=>true}
|
106
|
+
has_many :custom_field_values, {:class_name=>"Schema::CustomFieldValue", :included=>true}
|
107
|
+
|
108
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
class Schema::AccountingProfileContact < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
9
|
+
# added to the Lockstep platform.
|
10
|
+
# @type: string
|
11
|
+
# @format: uuid
|
12
|
+
field :accounting_profile_contact_id
|
13
|
+
|
14
|
+
# The ID of the profile this contact is belongs to.
|
15
|
+
# @type: string
|
16
|
+
# @format: uuid
|
17
|
+
field :accounting_profile_id
|
18
|
+
|
19
|
+
# The ID of the contact that is linked to this profile.
|
20
|
+
# @type: string
|
21
|
+
# @format: uuid
|
22
|
+
field :contact_id
|
23
|
+
|
24
|
+
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
25
|
+
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
26
|
+
#
|
27
|
+
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
28
|
+
# @type: string
|
29
|
+
# @format: uuid
|
30
|
+
field :group_key
|
31
|
+
|
32
|
+
# The date on which this record was created.
|
33
|
+
# @type: string
|
34
|
+
# @format: date-time
|
35
|
+
field :created, Types::Params::DateTime
|
36
|
+
|
37
|
+
# The ID of the user who created this contact.
|
38
|
+
# @type: string
|
39
|
+
# @format: uuid
|
40
|
+
field :created_user_id
|
41
|
+
|
42
|
+
# The date on which this record was last modified.
|
43
|
+
# @type: string
|
44
|
+
# @format: date-time
|
45
|
+
field :modified, Types::Params::DateTime
|
46
|
+
|
47
|
+
# The ID of the user who last modified this contact.
|
48
|
+
# @type: string
|
49
|
+
# @format: uuid
|
50
|
+
field :modified_user_id
|
51
|
+
|
52
|
+
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
53
|
+
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
54
|
+
|
55
|
+
|
56
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Schema::AccountingProfileContactFetchResult < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
# @type: integer
|
10
|
+
# @format: int32
|
11
|
+
field :total_count
|
12
|
+
|
13
|
+
|
14
|
+
# @type: integer
|
15
|
+
# @format: int32
|
16
|
+
field :page_size
|
17
|
+
|
18
|
+
|
19
|
+
# @type: integer
|
20
|
+
# @format: int32
|
21
|
+
field :page_number
|
22
|
+
|
23
|
+
|
24
|
+
has_many :records, {:class_name=>"Schema::AccountingProfileContact", :included=>true}
|
25
|
+
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Schema::AccountingProfileFetchResult < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
# @type: integer
|
10
|
+
# @format: int32
|
11
|
+
field :total_count
|
12
|
+
|
13
|
+
|
14
|
+
# @type: integer
|
15
|
+
# @format: int32
|
16
|
+
field :page_size
|
17
|
+
|
18
|
+
|
19
|
+
# @type: integer
|
20
|
+
# @format: int32
|
21
|
+
field :page_number
|
22
|
+
|
23
|
+
|
24
|
+
has_many :records, {:class_name=>"Schema::AccountingProfile", :included=>true}
|
25
|
+
|
26
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class Schema::DeleteResult < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# If the API call produced messages, this element will contain a list of user-visible
|
9
|
+
# text strings that contain information about what work occurred in the API.
|
10
|
+
# @type: array
|
11
|
+
field :messages
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
end
|
@@ -201,6 +201,11 @@ end
|
|
201
201
|
# @type: string
|
202
202
|
field :preferred_delivery_method
|
203
203
|
|
204
|
+
# The Currency Rate used to get from the account's base currency to the invoice amount.
|
205
|
+
# @type: number
|
206
|
+
# @format: double
|
207
|
+
field :currency_rate
|
208
|
+
|
204
209
|
# The Company associated to this invoice.
|
205
210
|
# To retrieve this item, specify `Company` in the "Include" parameter for your query.
|
206
211
|
field :company
|
@@ -177,6 +177,11 @@ end
|
|
177
177
|
# @format: uuid
|
178
178
|
field :app_enrollment_id
|
179
179
|
|
180
|
+
# The Currency Rate used to get from the account's base currency to the invoice amount.
|
181
|
+
# @type: number
|
182
|
+
# @format: double
|
183
|
+
field :currency_rate
|
184
|
+
|
180
185
|
belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
181
186
|
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
182
187
|
belongs_to :customer, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
|
@@ -5,13 +5,13 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
8
|
+
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
9
9
|
# added to the Lockstep platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :magic_link_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
14
|
+
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
15
15
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
16
16
|
# @type: string
|
17
17
|
# @format: uuid
|
@@ -62,17 +62,29 @@ end
|
|
62
62
|
# @format: uuid
|
63
63
|
field :modified_user_id
|
64
64
|
|
65
|
-
# The
|
65
|
+
# The ID of the company associated to this magic link
|
66
|
+
# @type: string
|
67
|
+
# @format: uuid
|
68
|
+
field :company_id
|
69
|
+
|
70
|
+
# The ID of the accounting profile associated to this magic link
|
71
|
+
# @type: string
|
72
|
+
# @format: uuid
|
73
|
+
field :accounting_profile_id
|
74
|
+
|
75
|
+
# The created magic link URL. This will only be returned upon creation of the magic link.
|
66
76
|
# All other times, this value will be `null`.
|
67
77
|
# @type: string
|
68
78
|
field :magic_link_url
|
69
79
|
|
70
|
-
# The user associated with this magic link.
|
80
|
+
# The user associated with this magic link.
|
71
81
|
# To retrieve this item, specify `User` in the "Include" parameter for your query.
|
72
82
|
field :user
|
73
83
|
|
74
84
|
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
75
85
|
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
86
|
+
belongs_to :company, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
87
|
+
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
76
88
|
|
77
89
|
|
78
90
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class Schema::MagicLinkStatus < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The id of the Magic link used to authenticate.
|
9
|
+
# @type: string
|
10
|
+
# @format: uuid
|
11
|
+
field :magic_link_id
|
12
|
+
|
13
|
+
# The id of the target company for the Magic Link
|
14
|
+
# @type: string
|
15
|
+
# @format: uuid
|
16
|
+
field :company_id
|
17
|
+
|
18
|
+
# The id of the accounting profile for the Magic Link
|
19
|
+
# @type: string
|
20
|
+
# @format: uuid
|
21
|
+
field :accounting_profile_id
|
22
|
+
|
23
|
+
belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
24
|
+
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
25
|
+
|
26
|
+
|
27
|
+
end
|
@@ -134,6 +134,11 @@ end
|
|
134
134
|
# @type: boolean
|
135
135
|
field :in_dispute
|
136
136
|
|
137
|
+
# The Currency Rate used to get from the account's base currency to the payment amount.
|
138
|
+
# @type: number
|
139
|
+
# @format: double
|
140
|
+
field :currency_rate
|
141
|
+
|
137
142
|
belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
138
143
|
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
139
144
|
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
@@ -9,6 +9,10 @@ end
|
|
9
9
|
# @type: string
|
10
10
|
field :user_name
|
11
11
|
|
12
|
+
# If authentication is successful, contains the email address of the logged-in user.
|
13
|
+
# @type: string
|
14
|
+
field :email_address
|
15
|
+
|
12
16
|
# If authentication is successful, contains subscription account name of logged-in user.
|
13
17
|
# @type: string
|
14
18
|
field :account_name
|
@@ -71,11 +75,23 @@ end
|
|
71
75
|
# @format: uuid
|
72
76
|
field :magic_link_id
|
73
77
|
|
78
|
+
# The id of the target company for the Magic Link
|
79
|
+
# @type: string
|
80
|
+
# @format: uuid
|
81
|
+
field :magic_link_company_id
|
82
|
+
|
83
|
+
# Magic link information about the user
|
84
|
+
field :magic_link
|
85
|
+
|
74
86
|
# Statuses for the dependencies of this api.
|
75
87
|
# OK if the dependency is working.
|
76
88
|
# @type: object
|
77
89
|
field :dependencies
|
78
90
|
|
91
|
+
# Base Currency of the group
|
92
|
+
# @type: string
|
93
|
+
field :base_currency_code
|
94
|
+
|
79
95
|
|
80
96
|
has_many :user_groups, {:class_name=>"Schema::UserGroup", :included=>true}
|
81
97
|
|
@@ -32,6 +32,15 @@ end
|
|
32
32
|
# @type: string
|
33
33
|
field :status_code
|
34
34
|
|
35
|
+
# The name of the OperationType for this SyncRequest
|
36
|
+
# @type: string
|
37
|
+
field :operation_type_name
|
38
|
+
|
39
|
+
# The name of the OperationType for this SyncRequest
|
40
|
+
# @type: integer
|
41
|
+
# @format: int32
|
42
|
+
field :operation_type
|
43
|
+
|
35
44
|
# Message containing information about the sync request results
|
36
45
|
# @type: string
|
37
46
|
field :process_result_message
|
@@ -0,0 +1,30 @@
|
|
1
|
+
class Schema::TranscriptionRequestSubmit < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The base64 string of document content
|
9
|
+
# @type: string
|
10
|
+
field :file_content
|
11
|
+
|
12
|
+
# The location of the file provided
|
13
|
+
# @type: string
|
14
|
+
field :file_url
|
15
|
+
|
16
|
+
# The location of the file provided
|
17
|
+
# @type: string
|
18
|
+
field :file_content_url
|
19
|
+
|
20
|
+
# The name of the file provided
|
21
|
+
# @type: string
|
22
|
+
field :file_name
|
23
|
+
|
24
|
+
# The type of LockstepApi2.Models.TranscriptionRequestSubmit.InvoiceTypeCode requested to transcribe content to.
|
25
|
+
# @type: string
|
26
|
+
field :invoice_type_code
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
class Schema::TranscriptionValidationRequest < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The unique identifier of the transcription validation request.
|
9
|
+
# @type: string
|
10
|
+
# @format: uuid
|
11
|
+
field :transcription_validation_request_id
|
12
|
+
|
13
|
+
# Group account transcription validation request is associated with.
|
14
|
+
# @type: string
|
15
|
+
# @format: uuid
|
16
|
+
field :group_key
|
17
|
+
|
18
|
+
# A code identifying the status of this transcription validation request.
|
19
|
+
#
|
20
|
+
# Recognized Transcription Validation Request status codes are:
|
21
|
+
# * `New` - Represents a transcription validation request that is considered new and needs work to complete
|
22
|
+
# * `In Progress` - Represents a transcription validation request that is currently being worked on
|
23
|
+
# * `Failed` - Represents a transcription validation request that could not complete the validation process
|
24
|
+
# * `Complete` - Represents a transcription validation request that is considered complete and does not need any further work
|
25
|
+
# @type: string
|
26
|
+
field :status_code
|
27
|
+
|
28
|
+
# The date on which this transcription validation request was created.
|
29
|
+
# @type: string
|
30
|
+
# @format: date-time
|
31
|
+
field :created, Types::Params::DateTime
|
32
|
+
|
33
|
+
# The ID number of the user who created this transcription validation request.
|
34
|
+
# @type: string
|
35
|
+
# @format: uuid
|
36
|
+
field :created_user_id
|
37
|
+
|
38
|
+
# The date on which this transcription validation request was last modified.
|
39
|
+
# @type: string
|
40
|
+
# @format: date-time
|
41
|
+
field :modified, Types::Params::DateTime
|
42
|
+
|
43
|
+
# The ID number of the user who most recently modified this transcription validation request.
|
44
|
+
# @type: string
|
45
|
+
# @format: uuid
|
46
|
+
field :modified_user_id
|
47
|
+
|
48
|
+
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
49
|
+
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
50
|
+
|
51
|
+
has_many :items, {:class_name=>"Schema::TranscriptionValidationRequestItem", :included=>true}
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Schema::TranscriptionValidationRequestFetchResult < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
# @type: integer
|
10
|
+
# @format: int32
|
11
|
+
field :total_count
|
12
|
+
|
13
|
+
|
14
|
+
# @type: integer
|
15
|
+
# @format: int32
|
16
|
+
field :page_size
|
17
|
+
|
18
|
+
|
19
|
+
# @type: integer
|
20
|
+
# @format: int32
|
21
|
+
field :page_number
|
22
|
+
|
23
|
+
|
24
|
+
has_many :records, {:class_name=>"Schema::TranscriptionValidationRequest", :included=>true}
|
25
|
+
|
26
|
+
end
|