dear-inventory-ruby 0.2.3 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +11 -4
- data/docs/InventoryApi.md +158 -0
- data/docs/Sale.md +99 -0
- data/docs/SaleInvoice.md +11 -3
- data/docs/SaleInvoicePartial.md +41 -0
- data/docs/SaleInvoices.md +1 -1
- data/docs/SaleItem.md +77 -0
- data/docs/SaleList.md +21 -0
- data/docs/SalePaymentLine.md +29 -0
- data/lib/dear-inventory-ruby/api/inventory_api.rb +171 -0
- data/lib/dear-inventory-ruby/models/sale.rb +615 -0
- data/lib/dear-inventory-ruby/models/sale_invoice.rb +55 -21
- data/lib/dear-inventory-ruby/models/sale_invoice_partial.rb +351 -0
- data/lib/dear-inventory-ruby/models/sale_invoices.rb +1 -1
- data/lib/dear-inventory-ruby/models/sale_item.rb +507 -0
- data/lib/dear-inventory-ruby/models/sale_list.rb +229 -0
- data/lib/dear-inventory-ruby/models/sale_payment_line.rb +267 -0
- data/lib/dear-inventory-ruby/version.rb +1 -1
- data/lib/dear-inventory-ruby.rb +5 -0
- data/spec/.DS_Store +0 -0
- data/spec/api/inventory_api_spec.rb +41 -0
- data/spec/models/sale_invoice_partial_spec.rb +113 -0
- data/spec/models/sale_invoice_spec.rb +30 -6
- data/spec/models/sale_item_spec.rb +221 -0
- data/spec/models/sale_list_spec.rb +53 -0
- data/spec/models/sale_payment_line_spec.rb +77 -0
- data/spec/models/sale_spec.rb +287 -0
- metadata +27 -6
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.
|
4
|
+
version: 0.2.6
|
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:
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -99,16 +99,21 @@ files:
|
|
99
99
|
- docs/PaymentTerms.md
|
100
100
|
- docs/PriceTier.md
|
101
101
|
- docs/PriceTiers.md
|
102
|
+
- docs/Sale.md
|
102
103
|
- docs/SaleAdditionalCharge.md
|
103
104
|
- docs/SaleInvoice.md
|
104
105
|
- docs/SaleInvoiceAdditionalCharge.md
|
105
106
|
- docs/SaleInvoiceDelete.md
|
106
107
|
- docs/SaleInvoiceLine.md
|
108
|
+
- docs/SaleInvoicePartial.md
|
107
109
|
- docs/SaleInvoicePost.md
|
108
110
|
- docs/SaleInvoices.md
|
111
|
+
- docs/SaleItem.md
|
112
|
+
- docs/SaleList.md
|
109
113
|
- docs/SaleOrder.md
|
110
114
|
- docs/SaleOrderLine.md
|
111
115
|
- docs/SalePayment.md
|
116
|
+
- docs/SalePaymentLine.md
|
112
117
|
- docs/SaleQuote.md
|
113
118
|
- docs/SaleQuoteLine.md
|
114
119
|
- docs/ShippingAddress.md
|
@@ -140,16 +145,21 @@ files:
|
|
140
145
|
- lib/dear-inventory-ruby/models/payment_terms.rb
|
141
146
|
- lib/dear-inventory-ruby/models/price_tier.rb
|
142
147
|
- lib/dear-inventory-ruby/models/price_tiers.rb
|
148
|
+
- lib/dear-inventory-ruby/models/sale.rb
|
143
149
|
- lib/dear-inventory-ruby/models/sale_additional_charge.rb
|
144
150
|
- lib/dear-inventory-ruby/models/sale_invoice.rb
|
145
151
|
- lib/dear-inventory-ruby/models/sale_invoice_additional_charge.rb
|
146
152
|
- lib/dear-inventory-ruby/models/sale_invoice_delete.rb
|
147
153
|
- lib/dear-inventory-ruby/models/sale_invoice_line.rb
|
154
|
+
- lib/dear-inventory-ruby/models/sale_invoice_partial.rb
|
148
155
|
- lib/dear-inventory-ruby/models/sale_invoice_post.rb
|
149
156
|
- lib/dear-inventory-ruby/models/sale_invoices.rb
|
157
|
+
- lib/dear-inventory-ruby/models/sale_item.rb
|
158
|
+
- lib/dear-inventory-ruby/models/sale_list.rb
|
150
159
|
- lib/dear-inventory-ruby/models/sale_order.rb
|
151
160
|
- lib/dear-inventory-ruby/models/sale_order_line.rb
|
152
161
|
- lib/dear-inventory-ruby/models/sale_payment.rb
|
162
|
+
- lib/dear-inventory-ruby/models/sale_payment_line.rb
|
153
163
|
- lib/dear-inventory-ruby/models/sale_quote.rb
|
154
164
|
- lib/dear-inventory-ruby/models/sale_quote_line.rb
|
155
165
|
- lib/dear-inventory-ruby/models/shipping_address.rb
|
@@ -162,6 +172,7 @@ files:
|
|
162
172
|
- lib/dear-inventory-ruby/models/webhook_type.rb
|
163
173
|
- lib/dear-inventory-ruby/models/webhooks.rb
|
164
174
|
- lib/dear-inventory-ruby/version.rb
|
175
|
+
- spec/.DS_Store
|
165
176
|
- spec/api/inventory_api_spec.rb
|
166
177
|
- spec/api_client_spec.rb
|
167
178
|
- spec/configuration_spec.rb
|
@@ -183,14 +194,19 @@ files:
|
|
183
194
|
- spec/models/sale_invoice_additional_charge_spec.rb
|
184
195
|
- spec/models/sale_invoice_delete_spec.rb
|
185
196
|
- spec/models/sale_invoice_line_spec.rb
|
197
|
+
- spec/models/sale_invoice_partial_spec.rb
|
186
198
|
- spec/models/sale_invoice_post_spec.rb
|
187
199
|
- spec/models/sale_invoice_spec.rb
|
188
200
|
- spec/models/sale_invoices_spec.rb
|
201
|
+
- spec/models/sale_item_spec.rb
|
202
|
+
- spec/models/sale_list_spec.rb
|
189
203
|
- spec/models/sale_order_line_spec.rb
|
190
204
|
- spec/models/sale_order_spec.rb
|
205
|
+
- spec/models/sale_payment_line_spec.rb
|
191
206
|
- spec/models/sale_payment_spec.rb
|
192
207
|
- spec/models/sale_quote_line_spec.rb
|
193
208
|
- spec/models/sale_quote_spec.rb
|
209
|
+
- spec/models/sale_spec.rb
|
194
210
|
- spec/models/shipping_address_spec.rb
|
195
211
|
- spec/models/success_spec.rb
|
196
212
|
- spec/models/supplier_customer_address_spec.rb
|
@@ -209,7 +225,7 @@ metadata:
|
|
209
225
|
source_code_uri: https://github.com/nnhansg/dear-ruby
|
210
226
|
changelog_uri: https://github.com/nnhansg/dear-ruby/blob/master/CHANGELOG.md
|
211
227
|
bug_tracker_uri: https://github.com/nnhansg/dear-ruby/issues
|
212
|
-
post_install_message:
|
228
|
+
post_install_message:
|
213
229
|
rdoc_options: []
|
214
230
|
require_paths:
|
215
231
|
- lib
|
@@ -224,8 +240,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
240
|
- !ruby/object:Gem::Version
|
225
241
|
version: '0'
|
226
242
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
228
|
-
signing_key:
|
243
|
+
rubygems_version: 3.1.6
|
244
|
+
signing_key:
|
229
245
|
specification_version: 4
|
230
246
|
summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
|
231
247
|
test_files:
|
@@ -240,17 +256,21 @@ test_files:
|
|
240
256
|
- spec/models/sale_invoice_post_spec.rb
|
241
257
|
- spec/models/external_header_spec.rb
|
242
258
|
- spec/models/tax_component_spec.rb
|
259
|
+
- spec/models/sale_list_spec.rb
|
243
260
|
- spec/models/sale_invoice_line_spec.rb
|
244
261
|
- spec/models/supplier_customer_address_spec.rb
|
245
262
|
- spec/models/payment_term_spec.rb
|
246
263
|
- spec/models/payment_terms_spec.rb
|
247
264
|
- spec/models/sale_invoice_spec.rb
|
265
|
+
- spec/models/sale_invoice_partial_spec.rb
|
248
266
|
- spec/models/sale_order_line_spec.rb
|
249
267
|
- spec/models/customers_spec.rb
|
250
268
|
- spec/models/customer_spec.rb
|
251
269
|
- spec/models/sale_invoice_delete_spec.rb
|
252
270
|
- spec/models/sale_payment_spec.rb
|
253
271
|
- spec/models/sale_additional_charge_spec.rb
|
272
|
+
- spec/models/sale_item_spec.rb
|
273
|
+
- spec/models/sale_spec.rb
|
254
274
|
- spec/models/webhook_type_spec.rb
|
255
275
|
- spec/models/taxes_spec.rb
|
256
276
|
- spec/models/accounts_spec.rb
|
@@ -264,6 +284,7 @@ test_files:
|
|
264
284
|
- spec/models/sale_quote_line_spec.rb
|
265
285
|
- spec/models/webhooks_spec.rb
|
266
286
|
- spec/models/success_spec.rb
|
287
|
+
- spec/models/sale_payment_line_spec.rb
|
267
288
|
- spec/models/price_tier_spec.rb
|
268
289
|
- spec/models/address_spec.rb
|
269
290
|
- spec/models/price_tiers_spec.rb
|