lockstep_rails 0.3.37 → 0.3.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/app/platform_api/schema/ap_aging_header_info.rb +15 -12
  3. data/app/platform_api/schema/ap_header_info.rb +148 -0
  4. data/app/platform_api/schema/app_enrollment.rb +0 -3
  5. data/app/platform_api/schema/app_enrollment_reconnect_info.rb +30 -0
  6. data/app/platform_api/schema/application.rb +5 -0
  7. data/app/platform_api/schema/ar_aging_header_info.rb +16 -1
  8. data/app/platform_api/schema/ar_header_info.rb +41 -7
  9. data/app/platform_api/schema/at_risk_invoice_summary.rb +1 -1
  10. data/app/platform_api/schema/attachment.rb +34 -9
  11. data/app/platform_api/schema/batch_sync.rb +3 -0
  12. data/app/platform_api/schema/bulk_currency_conversion.rb +1 -1
  13. data/app/platform_api/schema/company.rb +17 -24
  14. data/app/platform_api/schema/company_details.rb +98 -0
  15. data/app/platform_api/schema/company_details_payment.rb +60 -0
  16. data/app/platform_api/schema/company_sync.rb +17 -2
  17. data/app/platform_api/schema/connector_info.rb +29 -0
  18. data/app/platform_api/schema/contact.rb +1 -1
  19. data/app/platform_api/schema/contact_sync.rb +7 -1
  20. data/app/platform_api/schema/credit_memo_applied.rb +6 -0
  21. data/app/platform_api/schema/credit_memo_invoice.rb +1 -1
  22. data/app/platform_api/schema/custom_field_sync.rb +4 -4
  23. data/app/platform_api/schema/custom_field_value.rb +12 -0
  24. data/app/platform_api/schema/customer_summary.rb +36 -1
  25. data/app/platform_api/schema/daily_payable_outstanding_report.rb +7 -4
  26. data/app/platform_api/schema/daily_sales_outstanding_report.rb +0 -5
  27. data/app/platform_api/schema/developer_account_submit.rb +8 -0
  28. data/app/platform_api/schema/dpo_summary.rb +46 -0
  29. data/app/platform_api/schema/dpo_summary_group_total.rb +38 -0
  30. data/app/platform_api/schema/feature_flags_request.rb +14 -0
  31. data/app/platform_api/schema/feature_flags_response.rb +14 -0
  32. data/app/platform_api/schema/financial_account.rb +1 -1
  33. data/app/platform_api/schema/financial_account_balance_history_sync.rb +56 -0
  34. data/app/platform_api/schema/financial_account_sync.rb +50 -0
  35. data/app/platform_api/schema/financial_report.rb +38 -0
  36. data/app/platform_api/schema/financial_report_cell.rb +14 -0
  37. data/app/platform_api/schema/financial_report_row.rb +20 -0
  38. data/app/platform_api/schema/financial_year_setting_sync.rb +28 -0
  39. data/app/platform_api/schema/group_account.rb +62 -0
  40. data/app/platform_api/schema/invoice.rb +8 -3
  41. data/app/platform_api/schema/invoice_fetch_result.rb +4 -4
  42. data/app/platform_api/schema/invoice_history.rb +1 -1
  43. data/app/platform_api/schema/invoice_line_sync.rb +3 -3
  44. data/app/platform_api/schema/invoice_payment_detail.rb +1 -1
  45. data/app/platform_api/schema/invoice_summary.rb +7 -1
  46. data/app/platform_api/schema/invoice_summary_invoice_summary_totals_summary_fetch_result.rb +30 -0
  47. data/app/platform_api/schema/invoice_summary_totals.rb +20 -0
  48. data/app/platform_api/schema/invoice_sync.rb +12 -7
  49. data/app/platform_api/schema/lead.rb +1 -0
  50. data/app/platform_api/schema/magic_link.rb +78 -0
  51. data/app/platform_api/schema/magic_link_fetch_result.rb +26 -0
  52. data/app/platform_api/schema/note.rb +24 -5
  53. data/app/platform_api/schema/payables_coming_due.rb +52 -0
  54. data/app/platform_api/schema/payables_coming_due_fetch_result.rb +26 -0
  55. data/app/platform_api/schema/payables_coming_due_header.rb +44 -0
  56. data/app/platform_api/schema/payables_coming_due_widget.rb +29 -0
  57. data/app/platform_api/schema/payables_summary_report.rb +43 -0
  58. data/app/platform_api/schema/payment.rb +6 -5
  59. data/app/platform_api/schema/payment_applied.rb +3 -0
  60. data/app/platform_api/schema/payment_detail.rb +17 -2
  61. data/app/platform_api/schema/payment_detail_header.rb +1 -1
  62. data/app/platform_api/schema/payment_summary.rb +32 -9
  63. data/app/platform_api/schema/payment_summary_payment_summary_totals_summary_fetch_result.rb +30 -0
  64. data/app/platform_api/schema/payment_summary_totals.rb +20 -0
  65. data/app/platform_api/schema/payment_sync.rb +6 -5
  66. data/app/platform_api/schema/public_company_profile.rb +37 -0
  67. data/app/platform_api/schema/public_company_profile_fetch_result.rb +26 -0
  68. data/app/platform_api/schema/risk_rate.rb +6 -1
  69. data/app/platform_api/schema/status.rb +10 -0
  70. data/app/platform_api/schema/summary_aging_totals.rb +19 -0
  71. data/app/platform_api/schema/sync_entity_result.rb +5 -0
  72. data/app/platform_api/schema/sync_request.rb +5 -0
  73. data/app/platform_api/schema/sync_submit.rb +6 -0
  74. data/app/platform_api/schema/transaction.rb +94 -0
  75. data/app/platform_api/schema/transaction_detail.rb +73 -0
  76. data/app/platform_api/schema/transaction_summary_total.rb +35 -0
  77. data/app/platform_api/schema/transaction_transaction_summary_total_summary_fetch_result.rb +30 -0
  78. data/app/platform_api/schema/user_account.rb +6 -2
  79. data/app/platform_api/schema/user_group.rb +30 -0
  80. data/app/platform_api/schema/user_role.rb +1 -1
  81. data/app/platform_api/schema/vendor_summary.rb +63 -10
  82. data/app/platform_api/schema/vendor_summary_fetch_result.rb +26 -0
  83. data/app/platform_api/schema/webhook.rb +6 -2
  84. data/app/platform_api/schema/webhook_history_table_storage.rb +12 -0
  85. data/app/platform_api/schema/webhook_rule.rb +79 -0
  86. data/app/platform_api/schema/webhook_rule_fetch_result.rb +26 -0
  87. data/app/platform_api/swagger.json +11440 -8523
  88. data/lib/lockstep_rails/version.rb +1 -1
  89. metadata +39 -2
@@ -0,0 +1,20 @@
1
+ class Schema::FinancialReportRow < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # Describes what type of row this row is (Header, Summary, Classification, Category, Subcategory, Data)
9
+ # @type: string
10
+ field :row_type
11
+
12
+ # The label for the row if it is a Classification, Category, or Subcategory.
13
+ # @type: string
14
+ field :label
15
+
16
+
17
+ has_many :rows, {:class_name=>"Schema::FinancialReportRow", :included=>true}
18
+ has_many :cells, {:class_name=>"Schema::FinancialReportCell", :included=>true}
19
+
20
+ end
@@ -0,0 +1,28 @@
1
+ class Schema::FinancialYearSettingSync < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The type of financial year, either Calendar or Fiscal.
9
+ # @type: string
10
+ field :year_type
11
+
12
+ # Total number of periods in the year. For Calendar year types this should always be 12. For Fiscal year types
13
+ # this can either be 12 or 13 for a 4 week 13 period year.
14
+ # @type: integer
15
+ # @format: int32
16
+ field :total_periods
17
+
18
+ # The start date of the financial year. Should be entered in MM-DD format.
19
+ # @type: string
20
+ field :start_date
21
+
22
+ # The end date of the financial year. Should be entered in MM-DD format.
23
+ # @type: string
24
+ field :end_date
25
+
26
+
27
+
28
+ end
@@ -0,0 +1,62 @@
1
+ class Schema::GroupAccount < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
+ #
11
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
+ # @type: string
13
+ # @format: uuid
14
+ field :group_key
15
+
16
+ # The name of the group
17
+ # @type: string
18
+ field :group_name
19
+
20
+ # The primary user for the group
21
+ # @type: string
22
+ # @format: uuid
23
+ field :primary_user_id
24
+
25
+ # The CompanyId of the Company the group is associated with
26
+ # @type: string
27
+ # @format: uuid
28
+ field :group_company_id
29
+
30
+ # The active status of the group
31
+ # @type: boolean
32
+ field :is_active
33
+
34
+ # The onboarding session status of the group
35
+ # @type: boolean
36
+ field :onboarding_scheduled
37
+
38
+ # The date this group account was created
39
+ # @type: string
40
+ # @format: date-time
41
+ field :created, Types::Params::DateTime
42
+
43
+ # The ID of the user who created this group account
44
+ # @type: string
45
+ # @format: uuid
46
+ field :created_user_id
47
+
48
+ # The date this group account was last modified
49
+ # @type: string
50
+ # @format: date-time
51
+ field :modified, Types::Params::DateTime
52
+
53
+ # The ID of the user who last modified this group account
54
+ # @type: string
55
+ # @format: uuid
56
+ field :modified_user_id
57
+
58
+ belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
59
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
60
+
61
+
62
+ end
@@ -63,9 +63,10 @@ end
63
63
  # A code identifying the type of this invoice.
64
64
  #
65
65
  # Recognized Invoice types are:
66
- # * `Invoice` - Represents an invoice sent by Company to the Customer
67
- # * `AP Invoice` - Represents an invoice sent by Customer to the Company
68
- # * `Credit Memo` - Represents a credit memo generated by Customer given to Company
66
+ # * `AR Invoice` - Represents an invoice sent by Company to the Customer
67
+ # * `AP Invoice` - Represents an invoice sent by Vendor to the Company
68
+ # * `AR Credit Memo` - Represents a credit memo generated by Company given to Customer
69
+ # * `AP Credit Memo` - Represents a credit memo generated by Vendor given to Company
69
70
  # @type: string
70
71
  field :invoice_type_code
71
72
 
@@ -196,6 +197,10 @@ end
196
197
  # @type: boolean
197
198
  field :exclude_from_aging
198
199
 
200
+ # Indicates the preferred delivery method for this invoice. Examples include Print, Email, Fax
201
+ # @type: string
202
+ field :preferred_delivery_method
203
+
199
204
  # The Company associated to this invoice.
200
205
  # To retrieve this item, specify `Company` in the "Include" parameter for your query.
201
206
  field :company
@@ -5,6 +5,10 @@ def self.id_ref
5
5
  nil
6
6
  end
7
7
 
8
+ # For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
9
+ # @type: array
10
+ field :records
11
+
8
12
 
9
13
  # @type: integer
10
14
  # @format: int32
@@ -20,10 +24,6 @@ end
20
24
  # @format: int32
21
25
  field :page_number
22
26
 
23
- # For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
24
- # @type: array
25
- field :records
26
-
27
27
 
28
28
 
29
29
  end
@@ -79,7 +79,7 @@ end
79
79
  # @type: string
80
80
  field :special_terms
81
81
 
82
- # The three-character ISO 4217 currency code used for this invoice. This will be validated by the /api/v1/currencies data set
82
+ # The three-character ISO 4217 currency code used for this invoice. This will be validated by the /api/v1/definitions/currencies data set
83
83
  # @type: string
84
84
  field :currency_code
85
85
 
@@ -99,7 +99,7 @@ end
99
99
  # @type: string
100
100
  field :origin_address_postal_code
101
101
 
102
- # Origination address for this invoice line, if this line item was originated from a different address This will be validated by the /api/v1/countries data set
102
+ # Origination address for this invoice line, if this line item was originated from a different address
103
103
  # @type: string
104
104
  field :origin_address_country
105
105
 
@@ -137,7 +137,7 @@ end
137
137
  # @type: string
138
138
  field :bill_to_address_postal_code
139
139
 
140
- # Billing address for this invoice line, if this line item is to be billed to a different address This will be validated by the /api/v1/countries data set
140
+ # Billing address for this invoice line, if this line item is to be billed to a different address
141
141
  # @type: string
142
142
  field :bill_to_address_country
143
143
 
@@ -175,7 +175,7 @@ end
175
175
  # @type: string
176
176
  field :ship_to_address_postal_code
177
177
 
178
- # Shipping address for this invoice line, if this line item is to be shipped to a different address This will be validated by the /api/v1/countries data set
178
+ # Shipping address for this invoice line, if this line item is to be shipped to a different address
179
179
  # @type: string
180
180
  field :ship_to_address_country
181
181
 
@@ -7,7 +7,7 @@ end
7
7
 
8
8
  # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
- #
10
+ #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
12
  # @type: string
13
13
  # @format: uuid
@@ -7,7 +7,7 @@ end
7
7
 
8
8
  # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
9
  # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
- #
10
+ #
11
11
  # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
12
  # @type: string
13
13
  # @format: uuid
@@ -33,6 +33,12 @@ end
33
33
  # @format: date
34
34
  field :invoice_date
35
35
 
36
+ # The date when the invoice was closed and finalized after completion of all payments and delivery of all products and
37
+ # services.
38
+ # @type: string
39
+ # @format: date
40
+ field :invoice_closed_date
41
+
36
42
  # The name of the counterparty for the invoice, for example, a customer or vendor.
37
43
  # @type: string
38
44
  field :customer_name
@@ -0,0 +1,30 @@
1
+ class Schema::InvoiceSummaryInvoiceSummaryTotalsSummaryFetchResult < 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
+ # The totals for an Invoice Summary
24
+ field :summary
25
+
26
+
27
+ has_many :records, {:class_name=>"Schema::InvoiceSummary", :included=>true}
28
+ has_many :aging_summary, {:class_name=>"Schema::SummaryAgingTotals", :included=>true}
29
+
30
+ end
@@ -0,0 +1,20 @@
1
+ class Schema::InvoiceSummaryTotals < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The total amount invoiced.
9
+ # @type: number
10
+ # @format: double
11
+ field :total_invoice_amount
12
+
13
+ # The total outstanding balance
14
+ # @type: number
15
+ # @format: double
16
+ field :total_invoice_balance
17
+
18
+
19
+
20
+ end
@@ -61,9 +61,10 @@ end
61
61
  # A code identifying the type of this invoice.
62
62
  #
63
63
  # Recognized Invoice types are:
64
- # * `Invoice` - Represents an invoice sent by Company to the Customer
65
- # * `AP Invoice` - Represents an invoice sent by Customer to the Company
66
- # * `Credit Memo` - Represents a credit memo generated by Customer given to Company
64
+ # * `AR Invoice` - Represents an invoice sent by Company to the Customer
65
+ # * `AP Invoice` - Represents an invoice sent by Vendor to the Company
66
+ # * `AR Credit Memo` - Represents a credit memo generated by Company given to Customer
67
+ # * `AP Credit Memo` - Represents a credit memo generated by Vendor given to Company
67
68
  # @type: string
68
69
  field :invoice_type_code
69
70
 
@@ -84,7 +85,7 @@ end
84
85
  # @type: string
85
86
  field :special_terms
86
87
 
87
- # The three-character ISO 4217 currency code used for this invoice. This will be validated by the /api/v1/currencies data set
88
+ # The three-character ISO 4217 currency code used for this invoice.
88
89
  # @type: string
89
90
  field :currency_code
90
91
 
@@ -163,7 +164,7 @@ end
163
164
  # @type: string
164
165
  field :origin_address_postal_code
165
166
 
166
- # The origination address for this invoice This will be validated by the /api/v1/countries data set
167
+ # The origination address for this invoice
167
168
  # @type: string
168
169
  field :origin_address_country
169
170
 
@@ -201,7 +202,7 @@ end
201
202
  # @type: string
202
203
  field :bill_to_address_postal_code
203
204
 
204
- # The billing address for this invoice This will be validated by the /api/v1/countries data set
205
+ # The billing address for this invoice
205
206
  # @type: string
206
207
  field :bill_to_address_country
207
208
 
@@ -239,7 +240,7 @@ end
239
240
  # @type: string
240
241
  field :ship_to_address_postal_code
241
242
 
242
- # The shipping address for this invoice This will be validated by the /api/v1/countries data set
243
+ # The shipping address for this invoice
243
244
  # @type: string
244
245
  field :ship_to_address_country
245
246
 
@@ -275,6 +276,10 @@ end
275
276
  # @type: boolean
276
277
  field :in_dispute
277
278
 
279
+ # Indicates the preferred delivery method for this invoice. Examples include Print, Email, Fax
280
+ # @type: string
281
+ field :preferred_delivery_method
282
+
278
283
 
279
284
 
280
285
  end
@@ -21,6 +21,7 @@ end
21
21
 
22
22
  # Email of lead
23
23
  # @type: string
24
+ # @format: email
24
25
  field :email
25
26
 
26
27
  # Requested ERP of lead
@@ -0,0 +1,78 @@
1
+ class Schema::MagicLink < 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 :magic_link_id
13
+
14
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
15
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
16
+ # @type: string
17
+ # @format: uuid
18
+ field :group_key
19
+
20
+ # The unique ID of the user that this magic link is associated with.
21
+ # @type: string
22
+ # @format: uuid
23
+ field :user_id
24
+
25
+ # The ID of the user role for the magic link.
26
+ # @type: string
27
+ # @format: uuid
28
+ field :user_role
29
+
30
+ # The ID of the application for this magic link.
31
+ # @type: string
32
+ # @format: uuid
33
+ field :application_id
34
+
35
+ # The UTC date and time when this magic link expires.
36
+ # @type: string
37
+ # @format: date-time
38
+ field :expires, Types::Params::DateTime
39
+
40
+ # The UTC date and time when this magic link was revoked.
41
+ # @type: string
42
+ # @format: date-time
43
+ field :revoked, Types::Params::DateTime
44
+
45
+ # The date that the magic link was created
46
+ # @type: string
47
+ # @format: date-time
48
+ field :created, Types::Params::DateTime
49
+
50
+ # The ID of the user who created the magic link
51
+ # @type: string
52
+ # @format: uuid
53
+ field :created_user_id
54
+
55
+ # The date that the magic link was last modified
56
+ # @type: string
57
+ # @format: date-time
58
+ field :modified, Types::Params::DateTime
59
+
60
+ # The ID of the user who last modified the magic link
61
+ # @type: string
62
+ # @format: uuid
63
+ field :modified_user_id
64
+
65
+ # The created magic link URL. This will only be returned upon creation of the magic link.
66
+ # All other times, this value will be `null`.
67
+ # @type: string
68
+ field :magic_link_url
69
+
70
+ # The user associated with this magic link.
71
+ # To retrieve this item, specify `User` in the "Include" parameter for your query.
72
+ field :user
73
+
74
+ belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
75
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
76
+
77
+
78
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::MagicLinkFetchResult < 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::MagicLink", :included=>true}
25
+
26
+ end
@@ -19,16 +19,30 @@ end
19
19
  # @format: uuid
20
20
  field :group_key
21
21
 
22
- # The name of the table the note is associated with
22
+ # A Note is connected to an existing item within the Lockstep Platform by the fields `TableKey` and
23
+ # `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
24
+ # `Invoice` and an `ObjectKey` value of `12345`.
25
+ #
26
+ # The `TableKey` value contains the name of the table within the Lockstep Platform to which this metadata
27
+ # is connected.
28
+ #
29
+ # For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
23
30
  # @type: string
24
31
  field :table_key
25
32
 
26
- # The ID of the object the note is associated with
33
+ # A Note is connected to an existing item within the Lockstep Platform by the fields `TableKey` and
34
+ # `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
35
+ # `Invoice` and an `ObjectKey` value of `12345`.
36
+ #
37
+ # The `ObjectKey` value contains the primary key of the record within the Lockstep Platform to which this
38
+ # metadata is connected.
39
+ #
40
+ # For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
27
41
  # @type: string
28
42
  # @format: uuid
29
43
  field :object_key
30
44
 
31
- # The text of the note
45
+ # The full text of the note
32
46
  # @type: string
33
47
  field :note_text
34
48
 
@@ -36,7 +50,11 @@ end
36
50
  # @type: string
37
51
  field :note_type
38
52
 
39
- # Flag indicating if the note has been archived
53
+ # A flag indicating whether this Note is archived (also known as hidden or deleted). When you call
54
+ # [ArchiveNote](https://developer.lockstep.io/reference/delete_api-v1-notes-id) this field will
55
+ # be set to true.
56
+ #
57
+ # You should avoid displaying Notes with the IsArchived field set to true in your user interface.
40
58
  # @type: boolean
41
59
  field :is_archived
42
60
 
@@ -45,7 +63,8 @@ end
45
63
  # @format: date-time
46
64
  field :created, Types::Params::DateTime
47
65
 
48
- # The ID of the user who created the note
66
+ # The unique ID of the [UserAccount](https://developer.lockstep.io/docs/useraccountmodel) of the user
67
+ # who created this Note.
49
68
  # @type: string
50
69
  # @format: uuid
51
70
  field :created_user_id
@@ -0,0 +1,52 @@
1
+ class Schema::PayablesComingDue < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
+ #
11
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
+ # @type: string
13
+ # @format: uuid
14
+ field :group_key
15
+
16
+ # Number of bills due for this time period
17
+ # @type: integer
18
+ # @format: int32
19
+ field :number_of_bills_due
20
+
21
+ # The unique Lockstep Id for the Vendor
22
+ # @type: string
23
+ # @format: uuid
24
+ field :vendor_id
25
+
26
+ # Name for this company
27
+ # @type: string
28
+ field :vendor_name
29
+
30
+ # Primary Contact for this company
31
+ # @type: string
32
+ field :primary_contact
33
+
34
+ # Percentage of total for this time period
35
+ # @type: number
36
+ # @format: double
37
+ field :percentage_of_total
38
+
39
+ # Total amount due for this time period
40
+ # @type: number
41
+ # @format: double
42
+ field :total_amount_due
43
+
44
+ # This model represents all the payables that are
45
+ # either already due or due within this date.
46
+ # @type: string
47
+ # @format: date-time
48
+ field :due_date, Types::Params::DateTime
49
+
50
+
51
+
52
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::PayablesComingDueFetchResult < 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::PayablesComingDue", :included=>true}
25
+
26
+ end
@@ -0,0 +1,44 @@
1
+ class Schema::PayablesComingDueHeader < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
+ #
11
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
+ # @type: string
13
+ # @format: uuid
14
+ field :group_key
15
+
16
+ # Number of bills due for this time period
17
+ # @type: integer
18
+ # @format: int32
19
+ field :number_of_bills_due
20
+
21
+ # Number of total vendors for this time period
22
+ # @type: integer
23
+ # @format: int32
24
+ field :number_of_vendors
25
+
26
+ # Percentage of total for this time period
27
+ # @type: number
28
+ # @format: double
29
+ field :percentage_of_total
30
+
31
+ # Total amount due for this time period
32
+ # @type: number
33
+ # @format: double
34
+ field :total_amount_due
35
+
36
+ # This model represents all the payables that are
37
+ # either already due or due within this date.
38
+ # @type: string
39
+ # @format: date-time
40
+ field :due_date, Types::Params::DateTime
41
+
42
+
43
+
44
+ end
@@ -0,0 +1,29 @@
1
+ class Schema::PayablesComingDueWidget < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
+ #
11
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
+ # @type: string
13
+ # @format: uuid
14
+ field :group_key
15
+
16
+ # This model represents all the payables that are
17
+ # either already due or due within this date.
18
+ # @type: string
19
+ # @format: date-time
20
+ field :date, Types::Params::DateTime
21
+
22
+ # Total amount due for this time period
23
+ # @type: number
24
+ # @format: double
25
+ field :amount_due
26
+
27
+
28
+
29
+ end