lockstep_rails 0.3.65 → 0.3.67

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffc2c21371e280e4b0d300d21a889b1e9604ea20868527c470cdd21858fe8c05
4
- data.tar.gz: 2d3f226fe569acb51bf9b9ceddd2eb22c7f7ebaa3ba7e5f8d15ef78043d6c28f
3
+ metadata.gz: b9caa7796257df2cf09f394b6ab631e4922b2a8f0c0419e5d5213b5ffc4ad878
4
+ data.tar.gz: cbb88f32896582f39526be39488360a836202ee7fce260a990a983a1d067c219
5
5
  SHA512:
6
- metadata.gz: '018b416e5c30156f70cc03d864ff72d112439d4aa552e174e59f8e414b3fc36a6a0809c2ff4c447c2b7b382361d3d3bcb0cfc763c2080f3dec1e2ae28d5829ee'
7
- data.tar.gz: 6b3cb5bf9430de1269912ebbac07387f25e46806b9cc62ab6a539783a305049f8dfd9ee2513dc0d71a4edf5d55a406fd4c811579c47173fb6d88eed65e3b3894
6
+ metadata.gz: 4ee749d754595dfaa1bea76fd3c1f477d572f13193596952a905c1fefb70d12f822f7d2f843678d4736125b2cf500339481865f6120ba3b85347ae36f91e038e
7
+ data.tar.gz: e5eae79797f82b4f0cee3878c2bff602456e5362ad023f1c6f08f68aefe3a62797f5d7acc3fbe0e3d5fee0dd2237f2154a276d7a9fb0e605fd6612971c30c1f4
@@ -0,0 +1,6 @@
1
+ class Lockstep::FinancialInstitutionAccount < Lockstep::ApiRecord
2
+ self.model_name_uri = "v1/financial-institution-accounts"
3
+ self.id_ref = "financial_institution_account_id"
4
+ self.query_path = ""
5
+ load_schema(Schema::FinancialInstitutionAccount)
6
+ end
@@ -36,7 +36,7 @@ end
36
36
  field :description
37
37
 
38
38
  # The classification for the Financial Account. Possible values are Asset, Equity,
39
- # Expense, Liability or Income.
39
+ # Expense, Liability, Income, CreditCard, Checking, or Savings.
40
40
  # @type: string
41
41
  field :classification
42
42
 
@@ -0,0 +1,76 @@
1
+ class Schema::FinancialInstitutionAccount < 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 for the Financial Institution Account.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :financial_institution_account_id
12
+
13
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
14
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
15
+ #
16
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
17
+ # @type: string
18
+ # @format: uuid
19
+ field :group_key
20
+
21
+ # An alternate account id for the Financial Institution Account.
22
+ # @type: string
23
+ field :bank_account_id
24
+
25
+ # The External Id for the Financial Institution Account.
26
+ # @type: string
27
+ field :erp_key
28
+
29
+ # The App Enrollment Id this Financial Institution is associated with.
30
+ # @type: string
31
+ # @format: uuid
32
+ field :app_enrollment_id
33
+
34
+ # The name of the Financial Institution Account.
35
+ # @type: string
36
+ field :name
37
+
38
+ # The status of the Financial Institution Account. Possible values are active,
39
+ # inactive, deleted or archived.
40
+ # @type: string
41
+ field :status
42
+
43
+ # The description for the Financial Institution Account.
44
+ # @type: string
45
+ field :description
46
+
47
+ # The classification for the Financial Institution Account. Possible values are Asset, Equity,
48
+ # Expense, Liability or Income.
49
+ # @type: string
50
+ field :account_type
51
+
52
+ # The date the Financial Institution Account was created.
53
+ # @type: string
54
+ # @format: date-time
55
+ field :created, Types::Params::DateTime
56
+
57
+ # The user that has created the Financial Institution Account.
58
+ # @type: string
59
+ # @format: uuid
60
+ field :created_user_id
61
+
62
+ # The date the Financial Institution Account was modified.
63
+ # @type: string
64
+ # @format: date-time
65
+ field :modified, Types::Params::DateTime
66
+
67
+ # The user that has modified the Financial Institution Account.
68
+ # @type: string
69
+ # @format: uuid
70
+ field :modified_user_id
71
+
72
+ belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
73
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
74
+
75
+
76
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::FinancialInstitutionAccountFetchResult < 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::FinancialInstitutionAccount", :included=>true}
25
+
26
+ end
@@ -0,0 +1,52 @@
1
+ class Schema::InsertPaymentAppliedRequest < 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
+ #
11
+ # For the ID of this record in its originating financial system, see `ErpKey`.
12
+ # @type: string
13
+ # @format: uuid
14
+ field :payment_applied_id
15
+
16
+ # The Invoice this payment is applied to.
17
+ # @type: string
18
+ # @format: uuid
19
+ field :invoice_id
20
+
21
+ # The Payment this application applies from.
22
+ # @type: string
23
+ # @format: uuid
24
+ field :payment_id
25
+
26
+ # The unique ID of this record as it was known in its originating financial system.
27
+ #
28
+ # If this company record was imported from a financial system, it will have the value `ErpKey`
29
+ # set to the original primary key number of the record as it was known in the originating financial
30
+ # system. If this record was not imported, this value will be `null`.
31
+ #
32
+ # For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
33
+ # @type: string
34
+ field :erp_key
35
+
36
+ # The ERP key of the Invoice this payment is applied to.
37
+ # @type: string
38
+ field :invoice_erp_key
39
+
40
+ # The date this payment was applied to this invoice.
41
+ # @type: string
42
+ # @format: date-time
43
+ field :apply_to_invoice_date, Types::Params::DateTime
44
+
45
+ # The total amount that was applied to this Invoice from the Payment.
46
+ # @type: number
47
+ # @format: double
48
+ field :payment_applied_amount
49
+
50
+
51
+
52
+ end
@@ -0,0 +1,134 @@
1
+ class Schema::InsertPaymentRequest < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The AppEnrollmentId of the application to write this record to.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+ # The unique ID of this record, automatically assigned by Lockstep when this record is
14
+ # added to the Lockstep platform.
15
+ #
16
+ # For the ID of this record in its originating financial system, see `ErpKey`.
17
+ # @type: string
18
+ # @format: uuid
19
+ field :payment_id
20
+
21
+ # The ID of the company to which this payment belongs.
22
+ # @type: string
23
+ # @format: uuid
24
+ field :company_id
25
+
26
+ # The ERP key for the company to which this payment belongs.
27
+ # @type: string
28
+ field :company_erp_key
29
+
30
+ # A additional reference that may be used in the ERP
31
+ # @type: string
32
+ field :company_external_reference
33
+
34
+ # The unique ID of this record as it was known in its originating financial system.
35
+ #
36
+ # If this company record was imported from a financial system, it will have the value `ErpKey`
37
+ # set to the original primary key number of the record as it was known in the originating financial
38
+ # system. If this record was not imported, this value will be `null`.
39
+ #
40
+ # For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
41
+ # @type: string
42
+ field :erp_key
43
+
44
+ # The type of payment, AR Payment or AP Payment.
45
+ #
46
+ # Recognized PaymentType values are:
47
+ # * `AR Payment` - A payment made by a Customer to the Company
48
+ # * `AP Payment` - A payment made by the Company to a Vendor
49
+ # @type: string
50
+ field :payment_type
51
+
52
+ # Cash, check, credit card, wire transfer.
53
+ #
54
+ # Recognized TenderType values are:
55
+ # * `Cash` - A cash payment or other direct transfer.
56
+ # * `Check` - A check payment.
57
+ # * `Credit Card` - A payment made via a credit card.
58
+ # * `Wire Transfer` - A payment made via wire transfer from another financial institution.
59
+ # * `Other` - A payment made via another method not listed above.
60
+ # @type: string
61
+ field :tender_type
62
+
63
+ # Memo or reference text (ex. memo field on a check).
64
+ # @type: string
65
+ field :memo_text
66
+
67
+ # The date when this payment was received.
68
+ # @type: string
69
+ # @format: date-time
70
+ field :payment_date, Types::Params::DateTime
71
+
72
+ # The date when a payment was posted to a ledger.
73
+ # @type: string
74
+ # @format: date-time
75
+ field :post_date, Types::Params::DateTime
76
+
77
+ # Total amount of this payment in it's received currency.
78
+ # @type: number
79
+ # @format: double
80
+ field :payment_amount
81
+
82
+ # Unapplied balance of this payment in it's received currency. If this amount is nonzero, the field `IsOpen` will be true.
83
+ # @type: number
84
+ # @format: double
85
+ field :unapplied_amount
86
+
87
+ # The ISO 4217 currency code for this payment.
88
+ #
89
+ # For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies).
90
+ # @type: string
91
+ field :currency_code
92
+
93
+ # Reference code for the payment for the given Erp system.
94
+ # @type: string
95
+ field :reference_code
96
+
97
+ # Is the payment voided?
98
+ # @type: boolean
99
+ field :is_voided
100
+
101
+ # Is the payment in dispute?
102
+ # @type: boolean
103
+ field :in_dispute
104
+
105
+ # The Currency Rate used to get from the account's base currency to the payment amount.
106
+ # @type: number
107
+ # @format: double
108
+ field :currency_rate
109
+
110
+ # Total amount of this payment in the group's base currency.
111
+ # @type: number
112
+ # @format: double
113
+ field :base_currency_payment_amount
114
+
115
+ # Unapplied balance of this payment in the group's base currency. If this amount is nonzero, the field `IsOpen` will be true.
116
+ # @type: number
117
+ # @format: double
118
+ field :base_currency_unapplied_amount
119
+
120
+ # The Bank account id for the company to which this payment belongs.
121
+ # @type: string
122
+ field :bank_account_id
123
+
124
+ # The GroupKey this request belongs to.
125
+ # @type: string
126
+ # @format: uuid
127
+ field :group_key
128
+
129
+ belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
130
+ belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
131
+
132
+ has_many :applications, {:class_name=>"Schema::InsertPaymentAppliedRequest", :included=>true}
133
+
134
+ end
@@ -0,0 +1,16 @@
1
+ class Schema::InsertPaymentRequestErpWriteSyncSubmit < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The connected App Enrollment id.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+
14
+ has_many :requests, {:class_name=>"Schema::InsertPaymentRequest", :included=>true}
15
+
16
+ end
@@ -0,0 +1,37 @@
1
+ class Schema::PaymentErpWriteResult < 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 connected AppEnrollmentModel
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+ # The ErpKey for the object written to the Erp if created
14
+ # @type: string
15
+ field :erp_key
16
+
17
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
18
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
19
+ #
20
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
21
+ # @type: string
22
+ # @format: uuid
23
+ field :group_key
24
+
25
+ # An optional message to return with the result
26
+ # @type: string
27
+ field :message
28
+
29
+ # The id of the SyncRequestModel the requests were added to
30
+ # @type: string
31
+ # @format: uuid
32
+ field :sync_request_id
33
+
34
+
35
+ has_many :results, {:class_name=>"Schema::Payment", :included=>true}
36
+
37
+ end
@@ -142,6 +142,10 @@ end
142
142
  # @type: string
143
143
  field :default_currency_code
144
144
 
145
+ # The IETF language tag for the user's preferred locale.
146
+ # @type: string
147
+ field :locale
148
+
145
149
  # Accounting role definition for this User.
146
150
  # To retrieve this collection, specify `AccountingRole` in the "Include" parameter for your query.
147
151
  field :accounting_role_code_definition
@@ -7485,6 +7485,165 @@
7485
7485
  ]
7486
7486
  }
7487
7487
  },
7488
+ "/api/v1/financial-institution-accounts/{id}": {
7489
+ "get": {
7490
+ "tags": [
7491
+ "FinancialInstitutionAccounts"
7492
+ ],
7493
+ "summary": "Retrieve Financial Institution Accounts",
7494
+ "description": "Retrieves the financial institution account specified by this unique identifier.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n* Read-Only\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
7495
+ "operationId": "v1_FinancialInstitutionAccounts_RetrieveInstitution",
7496
+ "parameters": [
7497
+ {
7498
+ "name": "id",
7499
+ "in": "path",
7500
+ "description": "The unique Lockstep Platform ID number of this institution account; NOT the customer's ERP key",
7501
+ "required": true,
7502
+ "schema": {
7503
+ "type": "string",
7504
+ "format": "uuid"
7505
+ }
7506
+ }
7507
+ ],
7508
+ "responses": {
7509
+ "200": {
7510
+ "description": "Success",
7511
+ "content": {
7512
+ "application/json": {
7513
+ "schema": {
7514
+ "$ref": "#/components/schemas/FinancialInstitutionAccountModel"
7515
+ }
7516
+ },
7517
+ "text/json": {
7518
+ "schema": {
7519
+ "$ref": "#/components/schemas/FinancialInstitutionAccountModel"
7520
+ }
7521
+ }
7522
+ }
7523
+ },
7524
+ "404": {
7525
+ "description": "Not Found",
7526
+ "content": {
7527
+ "application/json": {
7528
+ "schema": {
7529
+ "$ref": "#/components/schemas/ProblemDetails"
7530
+ }
7531
+ },
7532
+ "text/json": {
7533
+ "schema": {
7534
+ "$ref": "#/components/schemas/ProblemDetails"
7535
+ }
7536
+ }
7537
+ }
7538
+ },
7539
+ "401": {
7540
+ "description": "Unauthorized"
7541
+ },
7542
+ "403": {
7543
+ "description": "Forbidden"
7544
+ }
7545
+ },
7546
+ "security": [
7547
+ {
7548
+ "oauth2": [ ]
7549
+ },
7550
+ {
7551
+ "bearer_token": [ ]
7552
+ },
7553
+ {
7554
+ "api_key": [ ]
7555
+ }
7556
+ ]
7557
+ }
7558
+ },
7559
+ "/api/v1/financial-institution-accounts/query": {
7560
+ "get": {
7561
+ "tags": [
7562
+ "FinancialInstitutionAccounts"
7563
+ ],
7564
+ "summary": "Query Financial Institution Accounts",
7565
+ "description": "\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n* Read-Only\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
7566
+ "operationId": "v1_FinancialInstitutionAccounts_QueryInstitutions",
7567
+ "parameters": [
7568
+ {
7569
+ "name": "filter",
7570
+ "in": "query",
7571
+ "description": "The filter for this query. See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)",
7572
+ "schema": {
7573
+ "type": "string"
7574
+ }
7575
+ },
7576
+ {
7577
+ "name": "include",
7578
+ "in": "query",
7579
+ "description": "To fetch additional data on this object, specify the list of elements to retrieve.\r\n \r\nNo collections are currently available but may be offered in the future.",
7580
+ "schema": {
7581
+ "type": "string"
7582
+ }
7583
+ },
7584
+ {
7585
+ "name": "order",
7586
+ "in": "query",
7587
+ "description": "The sort order for this query. See See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)",
7588
+ "schema": {
7589
+ "type": "string"
7590
+ }
7591
+ },
7592
+ {
7593
+ "name": "pageSize",
7594
+ "in": "query",
7595
+ "description": "The page size for results (default 250, maximum of 500). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)",
7596
+ "schema": {
7597
+ "type": "integer",
7598
+ "format": "int32"
7599
+ }
7600
+ },
7601
+ {
7602
+ "name": "pageNumber",
7603
+ "in": "query",
7604
+ "description": "The page number for results (default 0). See [Searchlight Query Language](https://developer.lockstep.io/docs/querying-with-searchlight)",
7605
+ "schema": {
7606
+ "type": "integer",
7607
+ "format": "int32"
7608
+ }
7609
+ }
7610
+ ],
7611
+ "responses": {
7612
+ "200": {
7613
+ "description": "Success",
7614
+ "content": {
7615
+ "application/json": {
7616
+ "schema": {
7617
+ "$ref": "#/components/schemas/FinancialInstitutionAccountModelFetchResult"
7618
+ }
7619
+ },
7620
+ "text/json": {
7621
+ "schema": {
7622
+ "$ref": "#/components/schemas/FinancialInstitutionAccountModelFetchResult"
7623
+ }
7624
+ }
7625
+ }
7626
+ },
7627
+ "401": {
7628
+ "description": "Unauthorized"
7629
+ },
7630
+ "403": {
7631
+ "description": "Forbidden"
7632
+ }
7633
+ },
7634
+ "security": [
7635
+ {
7636
+ "oauth2": [ ]
7637
+ },
7638
+ {
7639
+ "bearer_token": [ ]
7640
+ },
7641
+ {
7642
+ "api_key": [ ]
7643
+ }
7644
+ ]
7645
+ }
7646
+ },
7488
7647
  "/api/v1/FinancialYearSettings/{id}": {
7489
7648
  "get": {
7490
7649
  "tags": [
@@ -9911,7 +10070,7 @@
9911
10070
  "MagicLinks"
9912
10071
  ],
9913
10072
  "summary": "Retrieve Magic Link",
9914
- "description": "Retrieves the Magic Link specified by this unique identifier, optionally including nested data sets.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
10073
+ "description": "Retrieves the Magic Link specified by this unique identifier, optionally including nested data sets.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n* Read-Only\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
9915
10074
  "operationId": "v1_MagicLinks_RetrieveMagicLink",
9916
10075
  "parameters": [
9917
10076
  {
@@ -10059,7 +10218,7 @@
10059
10218
  "MagicLinks"
10060
10219
  ],
10061
10220
  "summary": "Query Magic Links",
10062
- "description": "Queries Magic Links for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
10221
+ "description": "Queries Magic Links for this account using the specified filtering, sorting, nested fetch, and pagination rules requested.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n* Member\n* Read-Only\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
10063
10222
  "operationId": "v1_MagicLinks_QueryMagicLinks",
10064
10223
  "parameters": [
10065
10224
  {
@@ -11665,6 +11824,100 @@
11665
11824
  ]
11666
11825
  }
11667
11826
  },
11827
+ "/api/v1/Payments/erp-write": {
11828
+ "post": {
11829
+ "tags": [
11830
+ "Payments"
11831
+ ],
11832
+ "summary": "Write payments to connected ERP",
11833
+ "description": "Schedule an ERP post request for payments.\r\n\r\nThe payments must be associated with an active app enrollment and have a valid `AppEnrollmentId`.\n\n### Roles\n\nTo call this endpoint, you must have one of these roles:\n\n* Group Owner\n* Group Admin\n\n\nYou can view your roles with the [Status](https://developer.lockstep.io/reference/get_api-v1-status) API.",
11834
+ "operationId": "v1_Payments_ErpWritePayments",
11835
+ "requestBody": {
11836
+ "description": "The payments to submit to the connected ERP",
11837
+ "content": {
11838
+ "application/json": {
11839
+ "schema": {
11840
+ "allOf": [
11841
+ {
11842
+ "$ref": "#/components/schemas/InsertPaymentRequestModelErpWriteSyncSubmitModel"
11843
+ }
11844
+ ],
11845
+ "description": "Lockstep.Shared.Models.Sync.ErpWriteSyncSubmitModel`1 represents a request to write back a collection\r\n of requests to the connected AppEnrollment."
11846
+ }
11847
+ },
11848
+ "text/json": {
11849
+ "schema": {
11850
+ "allOf": [
11851
+ {
11852
+ "$ref": "#/components/schemas/InsertPaymentRequestModelErpWriteSyncSubmitModel"
11853
+ }
11854
+ ],
11855
+ "description": "Lockstep.Shared.Models.Sync.ErpWriteSyncSubmitModel`1 represents a request to write back a collection\r\n of requests to the connected AppEnrollment."
11856
+ }
11857
+ },
11858
+ "application/*+json": {
11859
+ "schema": {
11860
+ "allOf": [
11861
+ {
11862
+ "$ref": "#/components/schemas/InsertPaymentRequestModelErpWriteSyncSubmitModel"
11863
+ }
11864
+ ],
11865
+ "description": "Lockstep.Shared.Models.Sync.ErpWriteSyncSubmitModel`1 represents a request to write back a collection\r\n of requests to the connected AppEnrollment."
11866
+ }
11867
+ }
11868
+ }
11869
+ },
11870
+ "responses": {
11871
+ "200": {
11872
+ "description": "Success",
11873
+ "content": {
11874
+ "application/json": {
11875
+ "schema": {
11876
+ "$ref": "#/components/schemas/PaymentModelErpWriteResult"
11877
+ }
11878
+ },
11879
+ "text/json": {
11880
+ "schema": {
11881
+ "$ref": "#/components/schemas/PaymentModelErpWriteResult"
11882
+ }
11883
+ }
11884
+ }
11885
+ },
11886
+ "400": {
11887
+ "description": "Bad Request",
11888
+ "content": {
11889
+ "application/json": {
11890
+ "schema": {
11891
+ "$ref": "#/components/schemas/ProblemDetails"
11892
+ }
11893
+ },
11894
+ "text/json": {
11895
+ "schema": {
11896
+ "$ref": "#/components/schemas/ProblemDetails"
11897
+ }
11898
+ }
11899
+ }
11900
+ },
11901
+ "401": {
11902
+ "description": "Unauthorized"
11903
+ },
11904
+ "403": {
11905
+ "description": "Forbidden"
11906
+ }
11907
+ },
11908
+ "security": [
11909
+ {
11910
+ "oauth2": [ ]
11911
+ },
11912
+ {
11913
+ "bearer_token": [ ]
11914
+ },
11915
+ {
11916
+ "api_key": [ ]
11917
+ }
11918
+ ]
11919
+ }
11920
+ },
11668
11921
  "/api/v1/payments-acceptance/customers/{companyId}/{customerId}": {
11669
11922
  "get": {
11670
11923
  "tags": [
@@ -22527,6 +22780,13 @@
22527
22780
  "AttachmentLinkModelFetchResult": {
22528
22781
  "type": "object",
22529
22782
  "properties": {
22783
+ "records": {
22784
+ "type": "array",
22785
+ "items": {
22786
+ "$ref": "#/components/schemas/AttachmentLinkModel"
22787
+ },
22788
+ "nullable": true
22789
+ },
22530
22790
  "totalCount": {
22531
22791
  "type": "integer",
22532
22792
  "format": "int32",
@@ -22541,13 +22801,6 @@
22541
22801
  "type": "integer",
22542
22802
  "format": "int32",
22543
22803
  "nullable": true
22544
- },
22545
- "records": {
22546
- "type": "array",
22547
- "items": {
22548
- "$ref": "#/components/schemas/AttachmentLinkModel"
22549
- },
22550
- "nullable": true
22551
22804
  }
22552
22805
  },
22553
22806
  "additionalProperties": false
@@ -23225,21 +23478,21 @@
23225
23478
  "nullable": true
23226
23479
  },
23227
23480
  "address1": {
23228
- "maxLength": 80,
23481
+ "maxLength": 170,
23229
23482
  "minLength": 0,
23230
23483
  "type": "string",
23231
23484
  "description": "Address info",
23232
23485
  "nullable": true
23233
23486
  },
23234
23487
  "address2": {
23235
- "maxLength": 80,
23488
+ "maxLength": 170,
23236
23489
  "minLength": 0,
23237
23490
  "type": "string",
23238
23491
  "description": "Address info",
23239
23492
  "nullable": true
23240
23493
  },
23241
23494
  "address3": {
23242
- "maxLength": 80,
23495
+ "maxLength": 170,
23243
23496
  "minLength": 0,
23244
23497
  "type": "string",
23245
23498
  "description": "Address info",
@@ -24857,13 +25110,6 @@
24857
25110
  "CustomFieldDefinitionModelFetchResult": {
24858
25111
  "type": "object",
24859
25112
  "properties": {
24860
- "records": {
24861
- "type": "array",
24862
- "items": {
24863
- "$ref": "#/components/schemas/CustomFieldDefinitionModel"
24864
- },
24865
- "nullable": true
24866
- },
24867
25113
  "totalCount": {
24868
25114
  "type": "integer",
24869
25115
  "format": "int32",
@@ -24878,12 +25124,19 @@
24878
25124
  "type": "integer",
24879
25125
  "format": "int32",
24880
25126
  "nullable": true
24881
- }
24882
- },
24883
- "additionalProperties": false
24884
- },
24885
- "CustomFieldSyncModel": {
24886
- "required": [
25127
+ },
25128
+ "records": {
25129
+ "type": "array",
25130
+ "items": {
25131
+ "$ref": "#/components/schemas/CustomFieldDefinitionModel"
25132
+ },
25133
+ "nullable": true
25134
+ }
25135
+ },
25136
+ "additionalProperties": false
25137
+ },
25138
+ "CustomFieldSyncModel": {
25139
+ "required": [
24887
25140
  "customFieldLabel",
24888
25141
  "erpKey",
24889
25142
  "tableKey"
@@ -25057,13 +25310,6 @@
25057
25310
  "CustomFieldValueModelFetchResult": {
25058
25311
  "type": "object",
25059
25312
  "properties": {
25060
- "records": {
25061
- "type": "array",
25062
- "items": {
25063
- "$ref": "#/components/schemas/CustomFieldValueModel"
25064
- },
25065
- "nullable": true
25066
- },
25067
25313
  "totalCount": {
25068
25314
  "type": "integer",
25069
25315
  "format": "int32",
@@ -25078,6 +25324,13 @@
25078
25324
  "type": "integer",
25079
25325
  "format": "int32",
25080
25326
  "nullable": true
25327
+ },
25328
+ "records": {
25329
+ "type": "array",
25330
+ "items": {
25331
+ "$ref": "#/components/schemas/CustomFieldValueModel"
25332
+ },
25333
+ "nullable": true
25081
25334
  }
25082
25335
  },
25083
25336
  "additionalProperties": false
@@ -26068,7 +26321,7 @@
26068
26321
  },
26069
26322
  "classification": {
26070
26323
  "type": "string",
26071
- "description": "The classification for the Financial Account. Possible values are Asset, Equity,\r\nExpense, Liability or Income."
26324
+ "description": "The classification for the Financial Account. Possible values are Asset, Equity,\r\nExpense, Liability, Income, CreditCard, Checking, or Savings."
26072
26325
  },
26073
26326
  "category": {
26074
26327
  "type": "string",
@@ -26084,6 +26337,126 @@
26084
26337
  "additionalProperties": false,
26085
26338
  "description": "The FinancialAccountSyncModel represents information coming into Lockstep from an external financial system or other\r\nenterprise resource planning system. To import data from an external system, convert your original data into\r\nthe FinancialAccountSyncModel format and call the [Upload Sync File API](https://developer.lockstep.io/reference/post_api-v1-sync-zip).\r\nThis API retrieves all of the data you uploaded in a compressed ZIP file and imports it into the Lockstep\r\nplatform.\r\n \r\nOnce imported, this record will be available in the Lockstep API as a [FinancialAccountModel](https://developer.lockstep.io/docs/financialaccountmodel).\r\n \r\nFor more information on writing your own connector, see [Connector Data](https://developer.lockstep.io/docs/connector-data)."
26086
26339
  },
26340
+ "FinancialInstitutionAccountModel": {
26341
+ "type": "object",
26342
+ "properties": {
26343
+ "financialInstitutionAccountId": {
26344
+ "type": "string",
26345
+ "description": "The unique identifier for the Financial Institution Account.",
26346
+ "format": "uuid",
26347
+ "readOnly": true
26348
+ },
26349
+ "groupKey": {
26350
+ "type": "string",
26351
+ "description": "The GroupKey uniquely identifies a single Lockstep Platform account. All records for this\r\naccount will share the same GroupKey value. GroupKey values cannot be changed once created.\r\n \r\nFor more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).",
26352
+ "format": "uuid",
26353
+ "readOnly": true
26354
+ },
26355
+ "bankAccountId": {
26356
+ "maxLength": 255,
26357
+ "minLength": 0,
26358
+ "type": "string",
26359
+ "description": "An alternate account id for the Financial Institution Account.",
26360
+ "nullable": true
26361
+ },
26362
+ "erpKey": {
26363
+ "maxLength": 255,
26364
+ "minLength": 0,
26365
+ "type": "string",
26366
+ "description": "The External Id for the Financial Institution Account.",
26367
+ "nullable": true
26368
+ },
26369
+ "appEnrollmentId": {
26370
+ "type": "string",
26371
+ "description": "The App Enrollment Id this Financial Institution is associated with.",
26372
+ "format": "uuid",
26373
+ "nullable": true,
26374
+ "readOnly": true
26375
+ },
26376
+ "name": {
26377
+ "maxLength": 100,
26378
+ "minLength": 0,
26379
+ "type": "string",
26380
+ "description": "The name of the Financial Institution Account.",
26381
+ "nullable": true
26382
+ },
26383
+ "status": {
26384
+ "maxLength": 8,
26385
+ "minLength": 0,
26386
+ "type": "string",
26387
+ "description": "The status of the Financial Institution Account. Possible values are active,\r\ninactive, deleted or archived.",
26388
+ "nullable": true
26389
+ },
26390
+ "description": {
26391
+ "maxLength": 500,
26392
+ "minLength": 0,
26393
+ "type": "string",
26394
+ "description": "The description for the Financial Institution Account.",
26395
+ "nullable": true
26396
+ },
26397
+ "accountType": {
26398
+ "maxLength": 10,
26399
+ "minLength": 0,
26400
+ "type": "string",
26401
+ "description": "The classification for the Financial Institution Account. Possible values are Asset, Equity,\r\nExpense, Liability or Income.",
26402
+ "nullable": true
26403
+ },
26404
+ "created": {
26405
+ "type": "string",
26406
+ "description": "The date the Financial Institution Account was created.",
26407
+ "format": "date-time",
26408
+ "readOnly": true
26409
+ },
26410
+ "createdUserId": {
26411
+ "type": "string",
26412
+ "description": "The user that has created the Financial Institution Account.",
26413
+ "format": "uuid",
26414
+ "readOnly": true
26415
+ },
26416
+ "modified": {
26417
+ "type": "string",
26418
+ "description": "The date the Financial Institution Account was modified.",
26419
+ "format": "date-time",
26420
+ "readOnly": true
26421
+ },
26422
+ "modifiedUserId": {
26423
+ "type": "string",
26424
+ "description": "The user that has modified the Financial Institution Account.",
26425
+ "format": "uuid",
26426
+ "readOnly": true
26427
+ }
26428
+ },
26429
+ "additionalProperties": false,
26430
+ "description": "An Financial Institution Account represents an account used for monetary transactions. E.g. - checking, savings, or credit card accounts."
26431
+ },
26432
+ "FinancialInstitutionAccountModelFetchResult": {
26433
+ "type": "object",
26434
+ "properties": {
26435
+ "totalCount": {
26436
+ "type": "integer",
26437
+ "format": "int32",
26438
+ "nullable": true
26439
+ },
26440
+ "pageSize": {
26441
+ "type": "integer",
26442
+ "format": "int32",
26443
+ "nullable": true
26444
+ },
26445
+ "pageNumber": {
26446
+ "type": "integer",
26447
+ "format": "int32",
26448
+ "nullable": true
26449
+ },
26450
+ "records": {
26451
+ "type": "array",
26452
+ "items": {
26453
+ "$ref": "#/components/schemas/FinancialInstitutionAccountModel"
26454
+ },
26455
+ "nullable": true
26456
+ }
26457
+ },
26458
+ "additionalProperties": false
26459
+ },
26087
26460
  "FinancialReportCellModel": {
26088
26461
  "type": "object",
26089
26462
  "properties": {
@@ -26389,6 +26762,205 @@
26389
26762
  "additionalProperties": false,
26390
26763
  "description": "Represents an account for an entire group"
26391
26764
  },
26765
+ "InsertPaymentAppliedRequestModel": {
26766
+ "type": "object",
26767
+ "properties": {
26768
+ "paymentAppliedId": {
26769
+ "type": "string",
26770
+ "description": "The unique ID of this record, automatically assigned by Lockstep when this record is\r\nadded to the Lockstep platform.\r\n \r\nFor the ID of this record in its originating financial system, see `ErpKey`.",
26771
+ "format": "uuid",
26772
+ "nullable": true
26773
+ },
26774
+ "invoiceId": {
26775
+ "type": "string",
26776
+ "description": "The Invoice this payment is applied to.",
26777
+ "format": "uuid",
26778
+ "nullable": true
26779
+ },
26780
+ "paymentId": {
26781
+ "type": "string",
26782
+ "description": "The Payment this application applies from.",
26783
+ "format": "uuid",
26784
+ "nullable": true
26785
+ },
26786
+ "erpKey": {
26787
+ "type": "string",
26788
+ "description": "The unique ID of this record as it was known in its originating financial system.\r\n \r\nIf this company record was imported from a financial system, it will have the value `ErpKey`\r\nset to the original primary key number of the record as it was known in the originating financial\r\nsystem. If this record was not imported, this value will be `null`.\r\n \r\nFor more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).",
26789
+ "nullable": true
26790
+ },
26791
+ "invoiceErpKey": {
26792
+ "type": "string",
26793
+ "description": "The ERP key of the Invoice this payment is applied to.",
26794
+ "nullable": true
26795
+ },
26796
+ "applyToInvoiceDate": {
26797
+ "type": "string",
26798
+ "description": "The date this payment was applied to this invoice.",
26799
+ "format": "date-time"
26800
+ },
26801
+ "paymentAppliedAmount": {
26802
+ "type": "number",
26803
+ "description": "The total amount that was applied to this Invoice from the Payment.",
26804
+ "format": "double"
26805
+ }
26806
+ },
26807
+ "additionalProperties": false,
26808
+ "description": "A request to insert a payment application"
26809
+ },
26810
+ "InsertPaymentRequestModel": {
26811
+ "type": "object",
26812
+ "properties": {
26813
+ "appEnrollmentId": {
26814
+ "type": "string",
26815
+ "description": "The AppEnrollmentId of the application to write this record to.",
26816
+ "format": "uuid",
26817
+ "nullable": true
26818
+ },
26819
+ "paymentId": {
26820
+ "type": "string",
26821
+ "description": "The unique ID of this record, automatically assigned by Lockstep when this record is\r\nadded to the Lockstep platform.\r\n \r\nFor the ID of this record in its originating financial system, see `ErpKey`.",
26822
+ "format": "uuid",
26823
+ "nullable": true
26824
+ },
26825
+ "companyId": {
26826
+ "type": "string",
26827
+ "description": "The ID of the company to which this payment belongs.",
26828
+ "format": "uuid"
26829
+ },
26830
+ "companyErpKey": {
26831
+ "type": "string",
26832
+ "description": "The ERP key for the company to which this payment belongs.",
26833
+ "nullable": true
26834
+ },
26835
+ "companyExternalReference": {
26836
+ "type": "string",
26837
+ "description": "A additional reference that may be used in the ERP",
26838
+ "nullable": true
26839
+ },
26840
+ "erpKey": {
26841
+ "type": "string",
26842
+ "description": "The unique ID of this record as it was known in its originating financial system.\r\n \r\nIf this company record was imported from a financial system, it will have the value `ErpKey`\r\nset to the original primary key number of the record as it was known in the originating financial\r\nsystem. If this record was not imported, this value will be `null`.\r\n \r\nFor more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).",
26843
+ "nullable": true
26844
+ },
26845
+ "paymentType": {
26846
+ "type": "string",
26847
+ "description": "The type of payment, AR Payment or AP Payment.\r\n \r\nRecognized PaymentType values are:\r\n* `AR Payment` - A payment made by a Customer to the Company\r\n* `AP Payment` - A payment made by the Company to a Vendor",
26848
+ "nullable": true
26849
+ },
26850
+ "tenderType": {
26851
+ "type": "string",
26852
+ "description": "Cash, check, credit card, wire transfer.\r\n \r\nRecognized TenderType values are:\r\n* `Cash` - A cash payment or other direct transfer.\r\n* `Check` - A check payment.\r\n* `Credit Card` - A payment made via a credit card.\r\n* `Wire Transfer` - A payment made via wire transfer from another financial institution.\r\n* `Other` - A payment made via another method not listed above.",
26853
+ "nullable": true
26854
+ },
26855
+ "memoText": {
26856
+ "maxLength": 50,
26857
+ "minLength": 0,
26858
+ "type": "string",
26859
+ "description": "Memo or reference text (ex. memo field on a check).",
26860
+ "nullable": true
26861
+ },
26862
+ "paymentDate": {
26863
+ "type": "string",
26864
+ "description": "The date when this payment was received.",
26865
+ "format": "date-time",
26866
+ "nullable": true
26867
+ },
26868
+ "postDate": {
26869
+ "type": "string",
26870
+ "description": "The date when a payment was posted to a ledger.",
26871
+ "format": "date-time",
26872
+ "nullable": true
26873
+ },
26874
+ "paymentAmount": {
26875
+ "type": "number",
26876
+ "description": "Total amount of this payment in it's received currency.",
26877
+ "format": "double"
26878
+ },
26879
+ "unappliedAmount": {
26880
+ "type": "number",
26881
+ "description": "Unapplied balance of this payment in it's received currency. If this amount is nonzero, the field `IsOpen` will be true.",
26882
+ "format": "double"
26883
+ },
26884
+ "currencyCode": {
26885
+ "type": "string",
26886
+ "description": "The ISO 4217 currency code for this payment.\r\n \r\nFor a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies).",
26887
+ "nullable": true
26888
+ },
26889
+ "referenceCode": {
26890
+ "type": "string",
26891
+ "description": "Reference code for the payment for the given Erp system.",
26892
+ "nullable": true
26893
+ },
26894
+ "isVoided": {
26895
+ "type": "boolean",
26896
+ "description": "Is the payment voided?"
26897
+ },
26898
+ "inDispute": {
26899
+ "type": "boolean",
26900
+ "description": "Is the payment in dispute?"
26901
+ },
26902
+ "currencyRate": {
26903
+ "type": "number",
26904
+ "description": "The Currency Rate used to get from the account's base currency to the payment amount.",
26905
+ "format": "double"
26906
+ },
26907
+ "baseCurrencyPaymentAmount": {
26908
+ "type": "number",
26909
+ "description": "Total amount of this payment in the group's base currency.",
26910
+ "format": "double"
26911
+ },
26912
+ "baseCurrencyUnappliedAmount": {
26913
+ "type": "number",
26914
+ "description": "Unapplied balance of this payment in the group's base currency. If this amount is nonzero, the field `IsOpen` will be true.",
26915
+ "format": "double"
26916
+ },
26917
+ "bankAccountId": {
26918
+ "type": "string",
26919
+ "description": "The Bank account id for the company to which this payment belongs.",
26920
+ "nullable": true
26921
+ },
26922
+ "groupKey": {
26923
+ "type": "string",
26924
+ "description": "The GroupKey this request belongs to.",
26925
+ "format": "uuid"
26926
+ },
26927
+ "applications": {
26928
+ "type": "array",
26929
+ "items": {
26930
+ "$ref": "#/components/schemas/InsertPaymentAppliedRequestModel"
26931
+ },
26932
+ "description": "All applications this payment is associated with.\r\nTo retrieve this collection, specify `Applications` in the \"Include\" parameter for your query.",
26933
+ "nullable": true
26934
+ }
26935
+ },
26936
+ "additionalProperties": false,
26937
+ "description": "A request to insert a new Payment"
26938
+ },
26939
+ "InsertPaymentRequestModelErpWriteSyncSubmitModel": {
26940
+ "required": [
26941
+ "appEnrollmentId",
26942
+ "requests"
26943
+ ],
26944
+ "type": "object",
26945
+ "properties": {
26946
+ "appEnrollmentId": {
26947
+ "minLength": 1,
26948
+ "type": "string",
26949
+ "description": "The connected App Enrollment id.",
26950
+ "format": "uuid"
26951
+ },
26952
+ "requests": {
26953
+ "minItems": 1,
26954
+ "type": "array",
26955
+ "items": {
26956
+ "$ref": "#/components/schemas/InsertPaymentRequestModel"
26957
+ },
26958
+ "description": "An array of requests to write back."
26959
+ }
26960
+ },
26961
+ "additionalProperties": false,
26962
+ "description": "Lockstep.Shared.Models.Sync.ErpWriteSyncSubmitModel`1 represents a request to write back a collection\r\n of requests to the connected AppEnrollment."
26963
+ },
26392
26964
  "InstructedAmount": {
26393
26965
  "type": "object",
26394
26966
  "properties": {
@@ -28266,6 +28838,13 @@
28266
28838
  "MagicLinkModelFetchResult": {
28267
28839
  "type": "object",
28268
28840
  "properties": {
28841
+ "records": {
28842
+ "type": "array",
28843
+ "items": {
28844
+ "$ref": "#/components/schemas/MagicLinkModel"
28845
+ },
28846
+ "nullable": true
28847
+ },
28269
28848
  "totalCount": {
28270
28849
  "type": "integer",
28271
28850
  "format": "int32",
@@ -28280,13 +28859,6 @@
28280
28859
  "type": "integer",
28281
28860
  "format": "int32",
28282
28861
  "nullable": true
28283
- },
28284
- "records": {
28285
- "type": "array",
28286
- "items": {
28287
- "$ref": "#/components/schemas/MagicLinkModel"
28288
- },
28289
- "nullable": true
28290
28862
  }
28291
28863
  },
28292
28864
  "additionalProperties": false
@@ -29416,6 +29988,46 @@
29416
29988
  "additionalProperties": false,
29417
29989
  "description": "A Payment represents money sent from one company to another. A single payment may contain payments for\r\none or more invoices; it is also possible for payments to be made in advance of an invoice, for example,\r\nas a deposit. The creator of the Payment is identified by the `CustomerId` field, and the recipient of\r\nthe Payment is identified by the `CompanyId` field. Most Payments are uniquely identified both by a\r\nLockstep Platform ID number and a customer ERP \"key\" that was generated by the system that originated\r\nthe Payment. Payments that have not been fully applied have a nonzero `UnappliedAmount` value, which\r\nrepresents a deposit that has been paid and not yet applied to an Invoice."
29418
29990
  },
29991
+ "PaymentModelErpWriteResult": {
29992
+ "type": "object",
29993
+ "properties": {
29994
+ "appEnrollmentId": {
29995
+ "type": "string",
29996
+ "description": "The id of the connected AppEnrollmentModel",
29997
+ "format": "uuid"
29998
+ },
29999
+ "erpKey": {
30000
+ "type": "string",
30001
+ "description": "The ErpKey for the object written to the Erp if created",
30002
+ "nullable": true
30003
+ },
30004
+ "groupKey": {
30005
+ "type": "string",
30006
+ "description": "The GroupKey uniquely identifies a single Lockstep Platform account. All records for this\r\naccount will share the same GroupKey value. GroupKey values cannot be changed once created.\r\n \r\nFor more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).",
30007
+ "format": "uuid"
30008
+ },
30009
+ "message": {
30010
+ "type": "string",
30011
+ "description": "An optional message to return with the result",
30012
+ "nullable": true
30013
+ },
30014
+ "syncRequestId": {
30015
+ "type": "string",
30016
+ "description": "The id of the SyncRequestModel the requests were added to",
30017
+ "format": "uuid"
30018
+ },
30019
+ "results": {
30020
+ "type": "array",
30021
+ "items": {
30022
+ "$ref": "#/components/schemas/PaymentModel"
30023
+ },
30024
+ "description": "Results from the ERP write operation",
30025
+ "nullable": true
30026
+ }
30027
+ },
30028
+ "additionalProperties": false,
30029
+ "description": "Contains results of a write back request"
30030
+ },
29419
30031
  "PaymentModelFetchResult": {
29420
30032
  "type": "object",
29421
30033
  "properties": {
@@ -31989,6 +32601,13 @@
31989
32601
  "TransactionModelTransactionSummaryTotalModelSummaryFetchResult": {
31990
32602
  "type": "object",
31991
32603
  "properties": {
32604
+ "records": {
32605
+ "type": "array",
32606
+ "items": {
32607
+ "$ref": "#/components/schemas/TransactionModel"
32608
+ },
32609
+ "nullable": true
32610
+ },
31992
32611
  "totalCount": {
31993
32612
  "type": "integer",
31994
32613
  "format": "int32",
@@ -32004,13 +32623,6 @@
32004
32623
  "format": "int32",
32005
32624
  "nullable": true
32006
32625
  },
32007
- "records": {
32008
- "type": "array",
32009
- "items": {
32010
- "$ref": "#/components/schemas/TransactionModel"
32011
- },
32012
- "nullable": true
32013
- },
32014
32626
  "summary": {
32015
32627
  "allOf": [
32016
32628
  {
@@ -32309,13 +32921,6 @@
32309
32921
  "TranscriptionValidationRequestModelFetchResult": {
32310
32922
  "type": "object",
32311
32923
  "properties": {
32312
- "records": {
32313
- "type": "array",
32314
- "items": {
32315
- "$ref": "#/components/schemas/TranscriptionValidationRequestModel"
32316
- },
32317
- "nullable": true
32318
- },
32319
32924
  "totalCount": {
32320
32925
  "type": "integer",
32321
32926
  "format": "int32",
@@ -32330,6 +32935,13 @@
32330
32935
  "type": "integer",
32331
32936
  "format": "int32",
32332
32937
  "nullable": true
32938
+ },
32939
+ "records": {
32940
+ "type": "array",
32941
+ "items": {
32942
+ "$ref": "#/components/schemas/TranscriptionValidationRequestModel"
32943
+ },
32944
+ "nullable": true
32333
32945
  }
32334
32946
  },
32335
32947
  "additionalProperties": false
@@ -32589,6 +33201,11 @@
32589
33201
  "description": "The default currency code used by this user entity. This value can be overridden\r\nfor invoices in a different currency code.\r\n \r\nFor 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/definitions/currencies data set",
32590
33202
  "nullable": true
32591
33203
  },
33204
+ "locale": {
33205
+ "type": "string",
33206
+ "description": "The IETF language tag for the user's preferred locale.",
33207
+ "nullable": true
33208
+ },
32592
33209
  "notes": {
32593
33210
  "type": "array",
32594
33211
  "items": {
@@ -1,3 +1,4 @@
1
1
  module LockstepRails
2
- VERSION = '0.3.65'
2
+ VERSION = '0.3.67'
3
3
  end
4
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockstep_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.65
4
+ version: 0.3.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -54,6 +54,7 @@ files:
54
54
  - app/models/lockstep/contact.rb
55
55
  - app/models/lockstep/customer_summary.rb
56
56
  - app/models/lockstep/feature_flag.rb
57
+ - app/models/lockstep/financial_institution_account.rb
57
58
  - app/models/lockstep/invoice.rb
58
59
  - app/models/lockstep/invoice_at_risk_summary.rb
59
60
  - app/models/lockstep/invoice_summary.rb
@@ -187,6 +188,8 @@ files:
187
188
  - app/platform_api/schema/financial_account_balance_history_sync.rb
188
189
  - app/platform_api/schema/financial_account_fetch_result.rb
189
190
  - app/platform_api/schema/financial_account_sync.rb
191
+ - app/platform_api/schema/financial_institution_account.rb
192
+ - app/platform_api/schema/financial_institution_account_fetch_result.rb
190
193
  - app/platform_api/schema/financial_report.rb
191
194
  - app/platform_api/schema/financial_report_cell.rb
192
195
  - app/platform_api/schema/financial_report_row.rb
@@ -194,6 +197,9 @@ files:
194
197
  - app/platform_api/schema/financial_year_setting_fetch_result.rb
195
198
  - app/platform_api/schema/financial_year_setting_sync.rb
196
199
  - app/platform_api/schema/group_account.rb
200
+ - app/platform_api/schema/insert_payment_applied_request.rb
201
+ - app/platform_api/schema/insert_payment_request.rb
202
+ - app/platform_api/schema/insert_payment_request_erp_write_sync_submit.rb
197
203
  - app/platform_api/schema/instructed_amount.rb
198
204
  - app/platform_api/schema/invite.rb
199
205
  - app/platform_api/schema/invite_data.rb
@@ -243,6 +249,7 @@ files:
243
249
  - app/platform_api/schema/payment_detail.rb
244
250
  - app/platform_api/schema/payment_detail_fetch_result.rb
245
251
  - app/platform_api/schema/payment_detail_header.rb
252
+ - app/platform_api/schema/payment_erp_write_result.rb
246
253
  - app/platform_api/schema/payment_fetch_result.rb
247
254
  - app/platform_api/schema/payment_instrument.rb
248
255
  - app/platform_api/schema/payment_response.rb