dear-inventory-ruby 0.2.2 → 0.2.5

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.
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #DEAR Inventory API
3
+
4
+ #This specifing endpoints for DEAR Inventory API
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: nnhansg@gmail.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for DearInventoryRuby::SaleList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SaleList' do
21
+ before do
22
+ # run before each test
23
+ @instance = DearInventoryRuby::SaleList.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SaleList' do
31
+ it 'should create an instance of SaleList' do
32
+ expect(@instance).to be_instance_of(DearInventoryRuby::SaleList)
33
+ end
34
+ end
35
+ describe 'test attribute "total"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "page"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "sale_list"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,287 @@
1
+ =begin
2
+ #DEAR Inventory API
3
+
4
+ #This specifing endpoints for DEAR Inventory API
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: nnhansg@gmail.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for DearInventoryRuby::Sale
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'Sale' do
21
+ before do
22
+ # run before each test
23
+ @instance = DearInventoryRuby::Sale.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Sale' do
31
+ it 'should create an instance of Sale' do
32
+ expect(@instance).to be_instance_of(DearInventoryRuby::Sale)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "customer"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "customer_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "contact"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "phone"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "email"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "default_account"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "skip_quote"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "billing_address"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "shipping_address"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "shipping_notes"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "base_currency"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "customer_currency"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "tax_rule"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "tax_calculation"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "terms"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "price_tier"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ describe 'test attribute "ship_by"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "location"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ describe 'test attribute "sale_order_date"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ describe 'test attribute "last_modified_on"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "note"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ describe 'test attribute "customer_reference"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ describe 'test attribute "cogs_amount"' do
174
+ it 'should work' do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
179
+ describe 'test attribute "status"' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ describe 'test attribute "combined_picking_status"' do
186
+ it 'should work' do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ describe 'test attribute "combined_packing_status"' do
192
+ it 'should work' do
193
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
194
+ end
195
+ end
196
+
197
+ describe 'test attribute "combined_shipping_status"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ describe 'test attribute "ful_filment_status"' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
209
+ describe 'test attribute "combined_invoice_status"' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ describe 'test attribute "combined_payment_status"' do
216
+ it 'should work' do
217
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
+ end
219
+ end
220
+
221
+ describe 'test attribute "combined_tracking_numbers"' do
222
+ it 'should work' do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ describe 'test attribute "carrier"' do
228
+ it 'should work' do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
233
+ describe 'test attribute "currency_rate"' do
234
+ it 'should work' do
235
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
+ end
237
+ end
238
+
239
+ describe 'test attribute "sales_representative"' do
240
+ it 'should work' do
241
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
+ end
243
+ end
244
+
245
+ describe 'test attribute "type"' do
246
+ it 'should work' do
247
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
+ end
249
+ end
250
+
251
+ describe 'test attribute "source_channel"' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
254
+ end
255
+ end
256
+
257
+ describe 'test attribute "external_id"' do
258
+ it 'should work' do
259
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
260
+ end
261
+ end
262
+
263
+ describe 'test attribute "service_only"' do
264
+ it 'should work' do
265
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
266
+ end
267
+ end
268
+
269
+ describe 'test attribute "quote"' do
270
+ it 'should work' do
271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
272
+ end
273
+ end
274
+
275
+ describe 'test attribute "order"' do
276
+ it 'should work' do
277
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
278
+ end
279
+ end
280
+
281
+ describe 'test attribute "invoices"' do
282
+ it 'should work' do
283
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
284
+ end
285
+ end
286
+
287
+ end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #DEAR Inventory API
3
+
4
+ #This specifing endpoints for DEAR Inventory API
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: nnhansg@gmail.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for DearInventoryRuby::WebhookType
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'WebhookType' do
21
+ before do
22
+ # run before each test
23
+ @instance = DearInventoryRuby::WebhookType.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of WebhookType' do
31
+ it 'should create an instance of WebhookType' do
32
+ expect(@instance).to be_instance_of(DearInventoryRuby::WebhookType)
33
+ end
34
+ end
35
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dear-inventory-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-15 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,6 +87,7 @@ files:
87
87
  - docs/Account.md
88
88
  - docs/Accounts.md
89
89
  - docs/Address.md
90
+ - docs/AuthorizationType.md
90
91
  - docs/Contact.md
91
92
  - docs/Customer.md
92
93
  - docs/Customers.md
@@ -98,6 +99,7 @@ files:
98
99
  - docs/PaymentTerms.md
99
100
  - docs/PriceTier.md
100
101
  - docs/PriceTiers.md
102
+ - docs/Sale.md
101
103
  - docs/SaleAdditionalCharge.md
102
104
  - docs/SaleInvoice.md
103
105
  - docs/SaleInvoiceAdditionalCharge.md
@@ -105,6 +107,8 @@ files:
105
107
  - docs/SaleInvoiceLine.md
106
108
  - docs/SaleInvoicePost.md
107
109
  - docs/SaleInvoices.md
110
+ - docs/SaleItem.md
111
+ - docs/SaleList.md
108
112
  - docs/SaleOrder.md
109
113
  - docs/SaleOrderLine.md
110
114
  - docs/SalePayment.md
@@ -117,6 +121,7 @@ files:
117
121
  - docs/TaxComponent.md
118
122
  - docs/Taxes.md
119
123
  - docs/Webhook.md
124
+ - docs/WebhookType.md
120
125
  - docs/Webhooks.md
121
126
  - git_push.sh
122
127
  - lib/dear-inventory-ruby.rb
@@ -127,6 +132,7 @@ files:
127
132
  - lib/dear-inventory-ruby/models/account.rb
128
133
  - lib/dear-inventory-ruby/models/accounts.rb
129
134
  - lib/dear-inventory-ruby/models/address.rb
135
+ - lib/dear-inventory-ruby/models/authorization_type.rb
130
136
  - lib/dear-inventory-ruby/models/contact.rb
131
137
  - lib/dear-inventory-ruby/models/customer.rb
132
138
  - lib/dear-inventory-ruby/models/customers.rb
@@ -137,6 +143,7 @@ files:
137
143
  - lib/dear-inventory-ruby/models/payment_terms.rb
138
144
  - lib/dear-inventory-ruby/models/price_tier.rb
139
145
  - lib/dear-inventory-ruby/models/price_tiers.rb
146
+ - lib/dear-inventory-ruby/models/sale.rb
140
147
  - lib/dear-inventory-ruby/models/sale_additional_charge.rb
141
148
  - lib/dear-inventory-ruby/models/sale_invoice.rb
142
149
  - lib/dear-inventory-ruby/models/sale_invoice_additional_charge.rb
@@ -144,6 +151,8 @@ files:
144
151
  - lib/dear-inventory-ruby/models/sale_invoice_line.rb
145
152
  - lib/dear-inventory-ruby/models/sale_invoice_post.rb
146
153
  - lib/dear-inventory-ruby/models/sale_invoices.rb
154
+ - lib/dear-inventory-ruby/models/sale_item.rb
155
+ - lib/dear-inventory-ruby/models/sale_list.rb
147
156
  - lib/dear-inventory-ruby/models/sale_order.rb
148
157
  - lib/dear-inventory-ruby/models/sale_order_line.rb
149
158
  - lib/dear-inventory-ruby/models/sale_payment.rb
@@ -156,14 +165,17 @@ files:
156
165
  - lib/dear-inventory-ruby/models/tax_component.rb
157
166
  - lib/dear-inventory-ruby/models/taxes.rb
158
167
  - lib/dear-inventory-ruby/models/webhook.rb
168
+ - lib/dear-inventory-ruby/models/webhook_type.rb
159
169
  - lib/dear-inventory-ruby/models/webhooks.rb
160
170
  - lib/dear-inventory-ruby/version.rb
171
+ - spec/.DS_Store
161
172
  - spec/api/inventory_api_spec.rb
162
173
  - spec/api_client_spec.rb
163
174
  - spec/configuration_spec.rb
164
175
  - spec/models/account_spec.rb
165
176
  - spec/models/accounts_spec.rb
166
177
  - spec/models/address_spec.rb
178
+ - spec/models/authorization_type_spec.rb
167
179
  - spec/models/contact_spec.rb
168
180
  - spec/models/customer_spec.rb
169
181
  - spec/models/customers_spec.rb
@@ -181,11 +193,14 @@ files:
181
193
  - spec/models/sale_invoice_post_spec.rb
182
194
  - spec/models/sale_invoice_spec.rb
183
195
  - spec/models/sale_invoices_spec.rb
196
+ - spec/models/sale_item_spec.rb
197
+ - spec/models/sale_list_spec.rb
184
198
  - spec/models/sale_order_line_spec.rb
185
199
  - spec/models/sale_order_spec.rb
186
200
  - spec/models/sale_payment_spec.rb
187
201
  - spec/models/sale_quote_line_spec.rb
188
202
  - spec/models/sale_quote_spec.rb
203
+ - spec/models/sale_spec.rb
189
204
  - spec/models/shipping_address_spec.rb
190
205
  - spec/models/success_spec.rb
191
206
  - spec/models/supplier_customer_address_spec.rb
@@ -193,6 +208,7 @@ files:
193
208
  - spec/models/tax_spec.rb
194
209
  - spec/models/taxes_spec.rb
195
210
  - spec/models/webhook_spec.rb
211
+ - spec/models/webhook_type_spec.rb
196
212
  - spec/models/webhooks_spec.rb
197
213
  - spec/spec_helper.rb
198
214
  homepage: https://inventory.dearsystems.com
@@ -203,7 +219,7 @@ metadata:
203
219
  source_code_uri: https://github.com/nnhansg/dear-ruby
204
220
  changelog_uri: https://github.com/nnhansg/dear-ruby/blob/master/CHANGELOG.md
205
221
  bug_tracker_uri: https://github.com/nnhansg/dear-ruby/issues
206
- post_install_message:
222
+ post_install_message:
207
223
  rdoc_options: []
208
224
  require_paths:
209
225
  - lib
@@ -218,8 +234,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
234
  - !ruby/object:Gem::Version
219
235
  version: '0'
220
236
  requirements: []
221
- rubygems_version: 3.2.22
222
- signing_key:
237
+ rubygems_version: 3.1.6
238
+ signing_key:
223
239
  specification_version: 4
224
240
  summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
225
241
  test_files:
@@ -234,6 +250,7 @@ test_files:
234
250
  - spec/models/sale_invoice_post_spec.rb
235
251
  - spec/models/external_header_spec.rb
236
252
  - spec/models/tax_component_spec.rb
253
+ - spec/models/sale_list_spec.rb
237
254
  - spec/models/sale_invoice_line_spec.rb
238
255
  - spec/models/supplier_customer_address_spec.rb
239
256
  - spec/models/payment_term_spec.rb
@@ -245,12 +262,16 @@ test_files:
245
262
  - spec/models/sale_invoice_delete_spec.rb
246
263
  - spec/models/sale_payment_spec.rb
247
264
  - spec/models/sale_additional_charge_spec.rb
265
+ - spec/models/sale_item_spec.rb
266
+ - spec/models/sale_spec.rb
267
+ - spec/models/webhook_type_spec.rb
248
268
  - spec/models/taxes_spec.rb
249
269
  - spec/models/accounts_spec.rb
250
270
  - spec/models/me_spec.rb
251
271
  - spec/models/shipping_address_spec.rb
252
272
  - spec/models/sale_order_spec.rb
253
273
  - spec/models/sale_invoice_additional_charge_spec.rb
274
+ - spec/models/authorization_type_spec.rb
254
275
  - spec/models/sale_invoices_spec.rb
255
276
  - spec/models/sale_quote_spec.rb
256
277
  - spec/models/sale_quote_line_spec.rb