lockstep_rails 0.3.85 → 0.3.87

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: 40252bf8ba597e86d1ad8b3e5eecbcc2dbd18504c01daf0e19eceb9dd2576805
4
- data.tar.gz: bbd91fed1c9fd4c6063bd9ec722347ae1a6671f0883d6a920331e7ba4a9de791
3
+ metadata.gz: fcefbcd84186a76490ec812d59c2cab17f7ff081a79585792b3418fa7d13b262
4
+ data.tar.gz: 734d52eeb0306582135c94d35329f429ded9c57373dcf33b5b1a729e5dace116
5
5
  SHA512:
6
- metadata.gz: f77dbc123e87878958faf46528c10aebf2f5dcff242f8066651151ec3b40632db422c61f2be108d8d233ee1bc5ac1c4045fffe7d12779b0722eadf1f29f9ca01
7
- data.tar.gz: 8884bb8a252d34921f509a4336c7d00a25a6ebecc80931f53d04c2760822bf53eb167ad64ca33e78425bd3feee972320357b77e56571d12b1303388cb7ac7cbb
6
+ metadata.gz: b6e9354d23de33cb388330f55fc28320ccb11c2c7b02e0317c99fedb88f8a1bdeff06494071c131ea7a6e24f318bf74a0868cd7102f253c76815d9449c852f21
7
+ data.tar.gz: e600d47dea0f90d304cea657d2fea6e7a40888808663208f8b3a63c1dca692d3cb592eef95df57d25bd13f22696dbb64249fb664563f59ef208c27182d453d9c
data/README.md CHANGED
@@ -54,6 +54,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
54
54
  - Lockstep::Attachment
55
55
  - Lockstep::Connection
56
56
  - Lockstep::Contact
57
+ - Lockstep::CustomFieldValue
57
58
  - Lockstep::CustomerSummary
58
59
  - Lockstep::CompanyMagicLinkSummary
59
60
  - Lockstep::FeatureFlag
@@ -0,0 +1,5 @@
1
+ class Lockstep::CustomFieldValue < Lockstep::ApiRecord
2
+ self.model_name_uri = 'v1/CustomFieldValues'
3
+ self.id_ref = 'custom_field_definition_id'
4
+ load_schema(Schema::CustomFieldValue)
5
+ end
@@ -65,6 +65,10 @@ end
65
65
  # @type: string
66
66
  field :fax
67
67
 
68
+ # The IETF language tag for the contact's locale.
69
+ # @type: string
70
+ field :locale
71
+
68
72
  # The first line of the address.
69
73
  # @type: string
70
74
  field :address1
@@ -89,11 +89,28 @@ end
89
89
  # @format: uuid
90
90
  field :created_user_id
91
91
 
92
+ # The date the attachment was modified.
93
+ # @type: string
94
+ # @format: date-time
95
+ field :modified, Types::Params::DateTime
96
+
97
+ # The unique ID of the [UserAccount](https://developer.lockstep.io/docs/useraccountmodel) of the user
98
+ # who modified this Attachment.
99
+ # @type: string
100
+ # @format: uuid
101
+ field :modified_user_id
102
+
92
103
  # A text string describing the type of this Attachment.
93
104
  # @type: string
94
105
  field :attachment_type
95
106
 
107
+ # The different statuses of an attachment being scanned for viruses.
108
+ # @type: string
109
+ # @format:
110
+ field :upload_status
111
+
96
112
  belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
113
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
97
114
 
98
115
 
99
116
  end
@@ -171,6 +171,10 @@ end
171
171
  # @type: string
172
172
  field :company_registration_number
173
173
 
174
+ # The set of identifiers for the Company.
175
+ # @type: string
176
+ field :company_identifiers
177
+
174
178
 
175
179
 
176
180
  end
@@ -65,6 +65,10 @@ end
65
65
  # @type: string
66
66
  field :fax
67
67
 
68
+ # The IETF language tag for the contact's locale.
69
+ # @type: string
70
+ field :locale
71
+
68
72
  # The first line of the address.
69
73
  # @type: string
70
74
  field :address1
@@ -69,6 +69,10 @@ end
69
69
  # @type: string
70
70
  field :fax
71
71
 
72
+ # The IETF language tag for the contact's locale.
73
+ # @type: string
74
+ field :locale
75
+
72
76
  # The mailing address information for this contact.
73
77
  # @type: string
74
78
  field :address1
@@ -266,6 +266,10 @@ end
266
266
  # To retrieve this item, specify `Customer` in the "Include" parameter for your query.
267
267
  field :customer_primary_contact
268
268
 
269
+ # Optional field to indicate if the invoice has a PDF attached to it.
270
+ # @type: boolean
271
+ field :has_pdf
272
+
269
273
  # Indicates if the invoice an E-Invoice or not
270
274
  # @type: boolean
271
275
  field :is_e_invoice
@@ -84,6 +84,16 @@ end
84
84
  # @format: double
85
85
  field :total_amount
86
86
 
87
+ # The amount of sales tax for this line in the transaction's currency.
88
+ # @type: number
89
+ # @format: double
90
+ field :sales_tax_amount
91
+
92
+ # The amount of sales tax for this line in the base currency.
93
+ # @type: number
94
+ # @format: double
95
+ field :base_currency_sales_tax_amount
96
+
87
97
  # If this line is tax exempt, this code indicates the reason for the exemption.
88
98
  # @type: string
89
99
  field :exemption_code
@@ -82,6 +82,16 @@ end
82
82
  # @format: double
83
83
  field :total_amount
84
84
 
85
+ # The amount of sales tax for this line in the transaction's currency.
86
+ # @type: number
87
+ # @format: double
88
+ field :sales_tax_amount
89
+
90
+ # The amount of sales tax for this line in the base currency.
91
+ # @type: number
92
+ # @format: double
93
+ field :base_currency_sales_tax_amount
94
+
85
95
  # If this line is tax exempt, this code indicates the reason for the exemption.
86
96
  # @type: string
87
97
  field :exemption_code
@@ -344,6 +344,14 @@ end
344
344
  # @format: uuid
345
345
  field :workflow_status_id
346
346
 
347
+ # Notes associated to workflow status
348
+ # @type: string
349
+ field :workflow_status_notes
350
+
351
+ # Workflow status code dictated by government standards
352
+ # @type: string
353
+ field :workflow_status_code
354
+
347
355
 
348
356
 
349
357
  end
@@ -94,5 +94,7 @@ end
94
94
  belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
95
95
  belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
96
96
 
97
+ has_many :notes, {:class_name=>"Lockstep::Note", :included=>true, :foreign_key=>:object_key, :polymorphic=>{:table_key=>"MagicLink"}}
98
+ has_many :custom_field_values, {:class_name=>"Schema::CustomFieldValue", :included=>true}
97
99
 
98
100
  end