lockstep_rails 0.3.38 → 0.3.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 481ae74f941e20ac5a66c1f3b48c3ae9d9283ea53e64cbbe979eeb6b852f27a0
4
- data.tar.gz: d91082889c6d59314032cc2d2a89567e5e868d98c7cbe9a5c5bb930e390bdea9
3
+ metadata.gz: dfb0c056e179b80111fd68271a50bf76233e0c9dee36f948078bc8ff913be73b
4
+ data.tar.gz: 9316cc0356ab72af687e58788316d57baed43dd4dbd732849b1004e09e45f984
5
5
  SHA512:
6
- metadata.gz: 0edf7d1be2d8a48637a54b7f47264821fc8d76e2cce0af5b60cb8a35724c6dd89b33ac36c78ca1691ddcf4dae2a536a9dcf971d32758365ebd2f1ca1b3488f95
7
- data.tar.gz: ae547b1171bbb79f663f4838689a580d6bfcbb9a1fcf1f2c5ffcacb7fa424e8db19f8fa85191829428f30bd37181e74b0267eb8f4da4338cd5f31ef0f078bdc6
6
+ metadata.gz: e369535d4e98a9e88a69028b33b17b9a4c61fcd16a17c4cbce8d695c86b60ad0c3f0e710a4fa0f11121ddbc3814e5fa17d305b1ff795d86564ed8441bf6fe822
7
+ data.tar.gz: e9684ff9e497026495147f08fc36e72fc04f41347ac6375dc149f8c5d6b7f78413eb5583e7282b9caabc1888887f8a0dff4f5a9568d5262b88b1697e197e69a3
@@ -40,12 +40,6 @@ end
40
40
  # @type: string
41
41
  field :company_type
42
42
 
43
- # The status of the company. Companies can be either `Active` or `Inactive`. When matched to a
44
- # Lockstep corporate profile, this value will change to reflect that this record will be kept
45
- # in sync with that company's identity.
46
- # @type: string
47
- field :company_status
48
-
49
43
  # If this business entity is part of an organization, this value is non-null and it is set
50
44
  # to the `CompanyId` value of the parent company of this business entity.
51
45
  #
@@ -211,6 +205,9 @@ end
211
205
  # @type: string
212
206
  field :public_url_slug
213
207
 
208
+ # View box settings for the company logo.
209
+ field :view_box_settings
210
+
214
211
  # All invoices attached to this company.
215
212
  #
216
213
  # To retrieve this collection, specify `Invoices` in the "Include" parameter for your query. For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
@@ -41,10 +41,6 @@ end
41
41
  # @type: string
42
42
  field :company_type
43
43
 
44
- # An optional field including status codes. Defined status codes are `Active` and `Inactive`.
45
- # @type: string
46
- field :company_status
47
-
48
44
  # If this company has a parent company, identify the parent company's `ErpKey` value here. This value should
49
45
  # be the original primary key or unique ID of the parent company to this company belongs. This value should
50
46
  # match the original ErpKey field on the parent company.
@@ -116,6 +116,11 @@ end
116
116
  # @format: date
117
117
  field :newest_activity
118
118
 
119
+ # The modified date of the customer.
120
+ # @type: string
121
+ # @format: date-time
122
+ field :modified, Types::Params::DateTime
123
+
119
124
  belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
120
125
  belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
121
126
 
@@ -0,0 +1,26 @@
1
+ class Schema::DpoSummaryFetchResult < 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::DpoSummary", :included=>true}
25
+
26
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::InvoiceAddressFetchResult < 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::InvoiceAddress", :included=>true}
25
+
26
+ end
@@ -0,0 +1,26 @@
1
+ class Schema::InvoiceLineFetchResult < 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::InvoiceLine", :included=>true}
25
+
26
+ end
@@ -76,6 +76,16 @@ end
76
76
  # @format: int32
77
77
  field :days_past_due
78
78
 
79
+ # The number of payments associated to this invoice.
80
+ # @type: integer
81
+ # @format: int32
82
+ field :payment_count
83
+
84
+ # Specific invoices have support for pdf retrieval from their respective erp. When this flag is true, an additional
85
+ # call to Invoices/{id}/pdf can be made to retrieve a pdf directly from the erp.
86
+ # @type: boolean
87
+ field :supports_erp_pdf_retrieval
88
+
79
89
  # The memo text of the payments associated to this invoice.
80
90
  # @type: array
81
91
  field :payment_numbers
@@ -84,6 +94,11 @@ end
84
94
  # @type: array
85
95
  field :payment_ids
86
96
 
97
+ # The modified date of the invoice.
98
+ # @type: string
99
+ # @format: date-time
100
+ field :modified, Types::Params::DateTime
101
+
87
102
  belongs_to :customer, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
88
103
  belongs_to :connection, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
89
104
 
@@ -81,6 +81,11 @@ end
81
81
  # @type: string
82
82
  field :payment_company_name
83
83
 
84
+ # Specific payments have support for pdf retrieval from their respective erp. When this flag is true, an additional
85
+ # call to Payments/{id}/pdf can be made to retrieve a pdf directly from the erp.
86
+ # @type: boolean
87
+ field :supports_erp_pdf_retrieval
88
+
84
89
  # The ids of the customer for the associated invoices.
85
90
  # @type: array
86
91
  field :customer_ids
@@ -97,6 +102,11 @@ end
97
102
  # @type: array
98
103
  field :company_names
99
104
 
105
+ # The modified date of the payment
106
+ # @type: string
107
+ # @format: date-time
108
+ field :modified, Types::Params::DateTime
109
+
100
110
 
101
111
 
102
112
  end
@@ -53,6 +53,11 @@ end
53
53
  # @format: date-time
54
54
  field :transaction_date, Types::Params::DateTime
55
55
 
56
+ # The date of the invoice associated to the transaction detail record.
57
+ # @type: string
58
+ # @format: date-time
59
+ field :transaction_invoice_date, Types::Params::DateTime
60
+
56
61
  # The total value of this transaction detail, inclusive or all taxes and line items.
57
62
  # @type: number
58
63
  # @format: double
@@ -0,0 +1,19 @@
1
+ class Schema::UserDataResponse < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # Data about the user, the properties returned will depend on the requested information.
9
+ # @type: object
10
+ field :data
11
+
12
+ # The Lockstep Platform ID of the user
13
+ # @type: string
14
+ # @format: uuid
15
+ field :user_id
16
+
17
+
18
+
19
+ end
@@ -126,6 +126,11 @@ end
126
126
  # @format: double
127
127
  field :dpo
128
128
 
129
+ # The modified date of the Vendor
130
+ # @type: string
131
+ # @format: date-time
132
+ field :modified, Types::Params::DateTime
133
+
129
134
 
130
135
 
131
136
  end
@@ -0,0 +1,30 @@
1
+ class Schema::ViewBoxSettings < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # ViewBox minX setting for this Company's logo.
9
+ # @type: number
10
+ # @format: double
11
+ field :logo_view_box_min_x
12
+
13
+ # ViewBox minY setting for this Company's logo.
14
+ # @type: number
15
+ # @format: double
16
+ field :logo_view_box_min_y
17
+
18
+ # ViewBox width setting for this Company's logo.
19
+ # @type: number
20
+ # @format: double
21
+ field :logo_view_box_width
22
+
23
+ # ViewBox height setting for this Company's logo.
24
+ # @type: number
25
+ # @format: double
26
+ field :logo_view_box_height
27
+
28
+
29
+
30
+ end