netsuite 0.8.12 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql-analysis.yml +3 -3
  3. data/Gemfile +7 -0
  4. data/HISTORY.md +24 -0
  5. data/README.md +26 -0
  6. data/lib/netsuite/actions/add.rb +2 -1
  7. data/lib/netsuite/actions/delete.rb +17 -0
  8. data/lib/netsuite/configuration.rb +37 -4
  9. data/lib/netsuite/records/assembly_item.rb +2 -1
  10. data/lib/netsuite/records/customer.rb +225 -23
  11. data/lib/netsuite/records/customer_refund.rb +1 -1
  12. data/lib/netsuite/records/description_item.rb +1 -1
  13. data/lib/netsuite/records/discount_item.rb +1 -1
  14. data/lib/netsuite/records/file.rb +1 -1
  15. data/lib/netsuite/records/gift_certificate_item.rb +1 -1
  16. data/lib/netsuite/records/item_availability.rb +46 -0
  17. data/lib/netsuite/records/item_fulfillment.rb +4 -1
  18. data/lib/netsuite/records/item_fulfillment_package_fed_ex.rb +28 -0
  19. data/lib/netsuite/records/item_fulfillment_package_fed_ex_list.rb +32 -0
  20. data/lib/netsuite/records/item_fulfillment_package_ups.rb +27 -0
  21. data/lib/netsuite/records/item_fulfillment_package_ups_list.rb +32 -0
  22. data/lib/netsuite/records/item_fulfillment_package_usps.rb +26 -0
  23. data/lib/netsuite/records/item_fulfillment_package_usps_list.rb +32 -0
  24. data/lib/netsuite/records/item_group.rb +1 -1
  25. data/lib/netsuite/records/kit_item.rb +1 -1
  26. data/lib/netsuite/records/lot_numbered_assembly_item.rb +1 -1
  27. data/lib/netsuite/records/non_inventory_purchase_item.rb +1 -1
  28. data/lib/netsuite/records/non_inventory_resale_item.rb +1 -1
  29. data/lib/netsuite/records/non_inventory_sale_item.rb +1 -1
  30. data/lib/netsuite/records/other_charge_sale_item.rb +1 -1
  31. data/lib/netsuite/records/payment_item.rb +1 -1
  32. data/lib/netsuite/records/sales_order.rb +1 -0
  33. data/lib/netsuite/records/sales_order_item.rb +2 -1
  34. data/lib/netsuite/records/serialized_assembly_item.rb +1 -1
  35. data/lib/netsuite/records/serialized_inventory_item.rb +1 -1
  36. data/lib/netsuite/records/service_resale_item.rb +1 -1
  37. data/lib/netsuite/records/service_sale_item.rb +1 -1
  38. data/lib/netsuite/records/{customer_subscription.rb → subscription.rb} +1 -1
  39. data/lib/netsuite/records/subscriptions_list.rb +10 -0
  40. data/lib/netsuite/records/subtotal_item.rb +1 -1
  41. data/lib/netsuite/support/sublist.rb +1 -1
  42. data/lib/netsuite/utilities.rb +35 -13
  43. data/lib/netsuite/version.rb +1 -1
  44. data/lib/netsuite.rb +9 -2
  45. data/netsuite.gemspec +6 -3
  46. data/spec/netsuite/actions/add_spec.rb +4 -2
  47. data/spec/netsuite/actions/delete_spec.rb +74 -14
  48. data/spec/netsuite/actions/get_select_value_spec.rb +43 -0
  49. data/spec/netsuite/configuration_spec.rb +62 -3
  50. data/spec/netsuite/records/customer_spec.rb +287 -20
  51. data/spec/netsuite/records/item_availability_spec.rb +59 -0
  52. data/spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb +27 -0
  53. data/spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb +27 -0
  54. data/spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb +27 -0
  55. data/spec/netsuite/records/sales_order_item_spec.rb +4 -3
  56. data/spec/netsuite/records/sales_order_spec.rb +17 -0
  57. data/spec/netsuite/records/{customer_subscription_spec.rb → subscription_spec.rb} +2 -2
  58. data/spec/netsuite/records/{customer_subscriptions_list_spec.rb → subscriptions_list_spec.rb} +2 -2
  59. data/spec/support/fixtures/add/add_invoice.xml +9 -5
  60. data/spec/support/fixtures/delete/delete_customer_error.xml +21 -0
  61. data/spec/support/fixtures/delete/delete_customer_multiple_errors.xml +25 -0
  62. data/spec/support/fixtures/get_item_availability/get_item_availability.xml +46 -0
  63. data/spec/support/fixtures/get_select_value/empty_result.xml +22 -0
  64. data/spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml +43 -0
  65. metadata +46 -9
  66. data/lib/netsuite/records/customer_subscriptions_list.rb +0 -10
@@ -1,15 +1,19 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
3
  <soapenv:Header>
4
- <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2011_2.platform.webservices.netsuite.com">
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2018_2.platform.webservices.netsuite.com">
5
5
  <platformMsgs:nsId>WEBSERVICES_3392464_1220201115821392011296470399_67055c545d0</platformMsgs:nsId>
6
6
  </platformMsgs:documentInfo>
7
7
  </soapenv:Header>
8
8
  <soapenv:Body>
9
- <addResponse xmlns="urn:messages_2_5.platform.webservices.netsuite.com">
10
- <writeResponse xmlns="urn:messages_2_5.platform.webservices.netsuite.com">
11
- <ns1:status isSuccess="true" xmlns:ns1="urn:core_2_5.platform.webservices.netsuite.com"/>
12
- <baseRef internalId="999" type="invoice" xsi:type="ns2:RecordRef" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:core_2_5.platform.webservices.netsuite.com"/>
9
+ <addResponse xmlns="urn:messages_2018_2.platform.webservices.netsuite.com">
10
+ <writeResponse>
11
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2018_2.platform.webservices.netsuite.com">
12
+ <platformCore:statusDetail>
13
+ <platformCore:afterSubmitFailed>false</platformCore:afterSubmitFailed>
14
+ </platformCore:statusDetail>
15
+ </platformCore:status>
16
+ <baseRef internalId="999" type="invoice" xsi:type="platformCore:RecordRef" xmlns:platformCore="urn:core_2018_2.platform.webservices.netsuite.com"/>
13
17
  </writeResponse>
14
18
  </addResponse>
15
19
  </soapenv:Body>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2020_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>WEBSERVICES_3392464_1220201115821392011296470399_67055c545d0</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <deleteResponse xmlns="urn:messages_2020_2.platform.webservices.netsuite.com">
10
+ <writeResponse>
11
+ <platformCore:status xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" isSuccess="false">
12
+ <platformCore:statusDetail type="ERROR">
13
+ <platformCore:code>INSUFFICIENT_PERMISSION</platformCore:code>
14
+ <platformCore:message>Permission Violation: You need a higher level of the 'Lists -&gt; Documents and Files' permission to access this page. Please contact your account administrator.</platformCore:message>
15
+ </platformCore:statusDetail>
16
+ </platformCore:status>
17
+ <baseRef xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" internalId="118519" type="file" xsi:type="platformCore:RecordRef"/>
18
+ </writeResponse>
19
+ </deleteResponse>
20
+ </soapenv:Body>
21
+ </soapenv:Envelope>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2020_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>WEBSERVICES_3392464_1220201115821392011296470399_67055c545d0</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <deleteResponse xmlns="urn:messages_2020_2.platform.webservices.netsuite.com">
10
+ <writeResponse>
11
+ <platformCore:status xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" isSuccess="false">
12
+ <platformCore:statusDetail type="ERROR">
13
+ <platformCore:code>INSUFFICIENT_PERMISSION</platformCore:code>
14
+ <platformCore:message>Permission Violation: You need a higher level of the 'Lists -&gt; Documents and Files' permission to access this page. Please contact your account administrator.</platformCore:message>
15
+ </platformCore:statusDetail>
16
+ <platformCore:statusDetail type="ERROR">
17
+ <platformCore:code>SOMETHING_ELSE</platformCore:code>
18
+ <platformCore:message>Another error.</platformCore:message>
19
+ </platformCore:statusDetail>
20
+ </platformCore:status>
21
+ <baseRef xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" internalId="118519" type="file" xsi:type="platformCore:RecordRef"/>
22
+ </writeResponse>
23
+ </deleteResponse>
24
+ </soapenv:Body>
25
+ </soapenv:Envelope>
@@ -0,0 +1,46 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Header>
3
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2016_2.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_3868171_122020162073815481885806769_24761121647f</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <getItemAvailabilityResponse xmlns="urn:messages_2016_2.platform.webservices.netsuite.com">
9
+ <platformCore:getItemAvailabilityResult xmlns:platformCore="urn:core_2016_2.platform.webservices.netsuite.com">
10
+ <platformCore:status isSuccess="true"/>
11
+ <platformCore:itemAvailabilityList>
12
+ <platformCore:itemAvailability>
13
+ <platformCore:item internalId="57" type="inventoryItem">
14
+ <platformCore:name>CD-R</platformCore:name>
15
+ </platformCore:item>
16
+ <platformCore:lastQtyAvailableChange>2022-05-05T03:40:06.000-07:00</platformCore:lastQtyAvailableChange>
17
+ <platformCore:locationId internalId="1" type="location">
18
+ <platformCore:name>Warehouse - East Coast</platformCore:name>
19
+ </platformCore:locationId>
20
+ <platformCore:quantityOnHand>264.0</platformCore:quantityOnHand>
21
+ <platformCore:onHandValueMli>129.36</platformCore:onHandValueMli>
22
+ <platformCore:reorderPoint>50.0</platformCore:reorderPoint>
23
+ <platformCore:quantityOnOrder>0.0</platformCore:quantityOnOrder>
24
+ <platformCore:quantityCommitted>0.0</platformCore:quantityCommitted>
25
+ <platformCore:quantityAvailable>264.0</platformCore:quantityAvailable>
26
+ </platformCore:itemAvailability>
27
+ <platformCore:itemAvailability>
28
+ <platformCore:item internalId="57" type="inventoryItem">
29
+ <platformCore:name>CD-R</platformCore:name>
30
+ </platformCore:item>
31
+ <platformCore:lastQtyAvailableChange>2020-04-27T08:38:20.000-07:00</platformCore:lastQtyAvailableChange>
32
+ <platformCore:locationId internalId="2" type="location">
33
+ <platformCore:name>Warehouse - West Coast</platformCore:name>
34
+ </platformCore:locationId>
35
+ <platformCore:quantityOnHand>-1.0</platformCore:quantityOnHand>
36
+ <platformCore:onHandValueMli>0.0</platformCore:onHandValueMli>
37
+ <platformCore:reorderPoint>50.0</platformCore:reorderPoint>
38
+ <platformCore:quantityOnOrder>0.0</platformCore:quantityOnOrder>
39
+ <platformCore:quantityCommitted>0.0</platformCore:quantityCommitted>
40
+ <platformCore:quantityAvailable>0.0</platformCore:quantityAvailable>
41
+ </platformCore:itemAvailability>
42
+ </platformCore:itemAvailabilityList>
43
+ </platformCore:getItemAvailabilityResult>
44
+ </getItemAvailabilityResponse>
45
+ </soapenv:Body>
46
+ </soapenv:Envelope>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2016_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>REDACTED</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <getSelectValueResponse xmlns="urn:messages_2016_2.platform.webservices.netsuite.com">
10
+ <platformCore:getSelectValueResult xmlns:platformCore="urn:core_2016_2.platform.webservices.netsuite.com">
11
+ <platformCore:status isSuccess="true">
12
+ <platformCore:statusDetail type="WARN">
13
+ <platformCore:code>WARNING</platformCore:code>
14
+ <platformCore:message>Results are incomplete. You must provide a value for field entity.</platformCore:message>
15
+ </platformCore:statusDetail>
16
+ </platformCore:status>
17
+ <platformCore:totalRecords>0</platformCore:totalRecords>
18
+ <platformCore:totalPages>0</platformCore:totalPages>
19
+ </platformCore:getSelectValueResult>
20
+ </getSelectValueResponse>
21
+ </soapenv:Body>
22
+ </soapenv:Envelope>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2021_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>REDACTED</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <getSelectValueResponse xmlns="urn:messages_2021_2.platform.webservices.netsuite.com">
10
+ <platformCore:getSelectValueResult xmlns:platformCore="urn:core_2021_2.platform.webservices.netsuite.com">
11
+ <platformCore:status isSuccess="true"/>
12
+ <platformCore:totalRecords>8</platformCore:totalRecords>
13
+ <platformCore:totalPages>1</platformCore:totalPages>
14
+ <platformCore:baseRefList>
15
+ <platformCore:baseRef internalId="94" xsi:type="platformCore:RecordRef">
16
+ <platformCore:name>Ground (Custom)</platformCore:name>
17
+ </platformCore:baseRef>
18
+ <platformCore:baseRef internalId="2" xsi:type="platformCore:RecordRef">
19
+ <platformCore:name>Pick-up</platformCore:name>
20
+ </platformCore:baseRef>
21
+ <platformCore:baseRef internalId="3" xsi:type="platformCore:RecordRef">
22
+ <platformCore:name>Special Delivery</platformCore:name>
23
+ </platformCore:baseRef>
24
+ <platformCore:baseRef internalId="91" xsi:type="platformCore:RecordRef">
25
+ <platformCore:name>UPS 2nd Day Air AM&amp;#174;</platformCore:name>
26
+ </platformCore:baseRef>
27
+ <platformCore:baseRef internalId="92" xsi:type="platformCore:RecordRef">
28
+ <platformCore:name>UPS Ground</platformCore:name>
29
+ </platformCore:baseRef>
30
+ <platformCore:baseRef internalId="77" xsi:type="platformCore:RecordRef">
31
+ <platformCore:name>UPS Next Day Air?</platformCore:name>
32
+ </platformCore:baseRef>
33
+ <platformCore:baseRef internalId="96" xsi:type="platformCore:RecordRef">
34
+ <platformCore:name>UPS Next Day Air® Early A.M.®</platformCore:name>
35
+ </platformCore:baseRef>
36
+ <platformCore:baseRef internalId="95" xsi:type="platformCore:RecordRef">
37
+ <platformCore:name>UPS® Ground</platformCore:name>
38
+ </platformCore:baseRef>
39
+ </platformCore:baseRefList>
40
+ </platformCore:getSelectValueResult>
41
+ </getSelectValueResponse>
42
+ </soapenv:Body>
43
+ </soapenv:Envelope>
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.12
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moran
8
8
  - Michael Bianco
9
+ - Chris Gunther
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2022-04-21 00:00:00.000000000 Z
13
+ date: 2022-10-20 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: savon
@@ -18,6 +19,9 @@ dependencies:
18
19
  - - ">="
19
20
  - !ruby/object:Gem::Version
20
21
  version: 2.3.0
22
+ - - "!="
23
+ - !ruby/object:Gem::Version
24
+ version: 2.13.0
21
25
  type: :runtime
22
26
  prerelease: false
23
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -25,6 +29,9 @@ dependencies:
25
29
  - - ">="
26
30
  - !ruby/object:Gem::Version
27
31
  version: 2.3.0
32
+ - - "!="
33
+ - !ruby/object:Gem::Version
34
+ version: 2.13.0
28
35
  - !ruby/object:Gem::Dependency
29
36
  name: rspec
30
37
  requirement: !ruby/object:Gem::Requirement
@@ -57,6 +64,7 @@ description: NetSuite SuiteTalk API Wrapper
57
64
  email:
58
65
  - ryan.moran@gmail.com
59
66
  - mike@mikebian.co
67
+ - chris@room118solutions.com
60
68
  executables: []
61
69
  extensions: []
62
70
  extra_rdoc_files: []
@@ -192,8 +200,6 @@ files:
192
200
  - lib/netsuite/records/customer_sales_team.rb
193
201
  - lib/netsuite/records/customer_sales_team_list.rb
194
202
  - lib/netsuite/records/customer_status.rb
195
- - lib/netsuite/records/customer_subscription.rb
196
- - lib/netsuite/records/customer_subscriptions_list.rb
197
203
  - lib/netsuite/records/department.rb
198
204
  - lib/netsuite/records/deposit.rb
199
205
  - lib/netsuite/records/deposit_application.rb
@@ -239,11 +245,18 @@ files:
239
245
  - lib/netsuite/records/invoice.rb
240
246
  - lib/netsuite/records/invoice_item.rb
241
247
  - lib/netsuite/records/invoice_item_list.rb
248
+ - lib/netsuite/records/item_availability.rb
242
249
  - lib/netsuite/records/item_fulfillment.rb
243
250
  - lib/netsuite/records/item_fulfillment_item.rb
244
251
  - lib/netsuite/records/item_fulfillment_item_list.rb
245
252
  - lib/netsuite/records/item_fulfillment_package.rb
253
+ - lib/netsuite/records/item_fulfillment_package_fed_ex.rb
254
+ - lib/netsuite/records/item_fulfillment_package_fed_ex_list.rb
246
255
  - lib/netsuite/records/item_fulfillment_package_list.rb
256
+ - lib/netsuite/records/item_fulfillment_package_ups.rb
257
+ - lib/netsuite/records/item_fulfillment_package_ups_list.rb
258
+ - lib/netsuite/records/item_fulfillment_package_usps.rb
259
+ - lib/netsuite/records/item_fulfillment_package_usps_list.rb
247
260
  - lib/netsuite/records/item_group.rb
248
261
  - lib/netsuite/records/item_member.rb
249
262
  - lib/netsuite/records/item_member_list.rb
@@ -317,6 +330,8 @@ files:
317
330
  - lib/netsuite/records/service_sale_item.rb
318
331
  - lib/netsuite/records/ship_address.rb
319
332
  - lib/netsuite/records/site_category.rb
333
+ - lib/netsuite/records/subscription.rb
334
+ - lib/netsuite/records/subscriptions_list.rb
320
335
  - lib/netsuite/records/subsidiary.rb
321
336
  - lib/netsuite/records/subtotal_item.rb
322
337
  - lib/netsuite/records/support_case.rb
@@ -385,6 +400,7 @@ files:
385
400
  - spec/netsuite/actions/delete_spec.rb
386
401
  - spec/netsuite/actions/get_deleted_spec.rb
387
402
  - spec/netsuite/actions/get_list_spec.rb
403
+ - spec/netsuite/actions/get_select_value_spec.rb
388
404
  - spec/netsuite/actions/get_spec.rb
389
405
  - spec/netsuite/actions/initialize_spec.rb
390
406
  - spec/netsuite/actions/login_spec.rb
@@ -441,8 +457,6 @@ files:
441
457
  - spec/netsuite/records/customer_refund_spec.rb
442
458
  - spec/netsuite/records/customer_sales_team_list_spec.rb
443
459
  - spec/netsuite/records/customer_spec.rb
444
- - spec/netsuite/records/customer_subscription_spec.rb
445
- - spec/netsuite/records/customer_subscriptions_list_spec.rb
446
460
  - spec/netsuite/records/department_spec.rb
447
461
  - spec/netsuite/records/deposit_spec.rb
448
462
  - spec/netsuite/records/discount_item_spec.rb
@@ -467,7 +481,11 @@ files:
467
481
  - spec/netsuite/records/invoice_item_list_spec.rb
468
482
  - spec/netsuite/records/invoice_item_spec.rb
469
483
  - spec/netsuite/records/invoice_spec.rb
484
+ - spec/netsuite/records/item_availability_spec.rb
485
+ - spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb
470
486
  - spec/netsuite/records/item_fulfillment_package_list_spec.rb
487
+ - spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb
488
+ - spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb
471
489
  - spec/netsuite/records/item_fulfillment_spec.rb
472
490
  - spec/netsuite/records/item_group_spec.rb
473
491
  - spec/netsuite/records/item_member_list_spec.rb
@@ -508,6 +526,8 @@ files:
508
526
  - spec/netsuite/records/service_sale_item_spec.rb
509
527
  - spec/netsuite/records/ship_address_spec.rb
510
528
  - spec/netsuite/records/site_category_spec.rb
529
+ - spec/netsuite/records/subscription_spec.rb
530
+ - spec/netsuite/records/subscriptions_list_spec.rb
511
531
  - spec/netsuite/records/subsidiary_spec.rb
512
532
  - spec/netsuite/records/support_case_spec.rb
513
533
  - spec/netsuite/records/support_case_type_spec.rb
@@ -560,11 +580,16 @@ files:
560
580
  - spec/support/fixtures/attach/attach_file_to_sales_order_error.xml
561
581
  - spec/support/fixtures/custom_fields/multi_select.xml
562
582
  - spec/support/fixtures/delete/delete_customer.xml
583
+ - spec/support/fixtures/delete/delete_customer_error.xml
584
+ - spec/support/fixtures/delete/delete_customer_multiple_errors.xml
563
585
  - spec/support/fixtures/delete_list/delete_list_customers.xml
564
586
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
565
587
  - spec/support/fixtures/get/get_customer.xml
566
588
  - spec/support/fixtures/get/get_invoice.xml
567
589
  - spec/support/fixtures/get_deleted/get_deleted_invoices.xml
590
+ - spec/support/fixtures/get_item_availability/get_item_availability.xml
591
+ - spec/support/fixtures/get_select_value/empty_result.xml
592
+ - spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml
568
593
  - spec/support/fixtures/initialize/initialize_invoice_from_customer.xml
569
594
  - spec/support/fixtures/login/failure_concurrent_requests.xml
570
595
  - spec/support/fixtures/login/failure_invalid_credentials.xml
@@ -597,6 +622,8 @@ licenses:
597
622
  - MIT
598
623
  metadata:
599
624
  changelog_uri: https://github.com/netsweet/netsuite/blob/master/HISTORY.md
625
+ mailing_list_uri: http://opensuite-slackin.herokuapp.com
626
+ rubygems_mfa_required: 'true'
600
627
  post_install_message:
601
628
  rdoc_options: []
602
629
  require_paths:
@@ -605,7 +632,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
605
632
  requirements:
606
633
  - - ">="
607
634
  - !ruby/object:Gem::Version
608
- version: '0'
635
+ version: '2.1'
609
636
  required_rubygems_version: !ruby/object:Gem::Requirement
610
637
  requirements:
611
638
  - - ">="
@@ -623,6 +650,7 @@ test_files:
623
650
  - spec/netsuite/actions/delete_spec.rb
624
651
  - spec/netsuite/actions/get_deleted_spec.rb
625
652
  - spec/netsuite/actions/get_list_spec.rb
653
+ - spec/netsuite/actions/get_select_value_spec.rb
626
654
  - spec/netsuite/actions/get_spec.rb
627
655
  - spec/netsuite/actions/initialize_spec.rb
628
656
  - spec/netsuite/actions/login_spec.rb
@@ -679,8 +707,6 @@ test_files:
679
707
  - spec/netsuite/records/customer_refund_spec.rb
680
708
  - spec/netsuite/records/customer_sales_team_list_spec.rb
681
709
  - spec/netsuite/records/customer_spec.rb
682
- - spec/netsuite/records/customer_subscription_spec.rb
683
- - spec/netsuite/records/customer_subscriptions_list_spec.rb
684
710
  - spec/netsuite/records/department_spec.rb
685
711
  - spec/netsuite/records/deposit_spec.rb
686
712
  - spec/netsuite/records/discount_item_spec.rb
@@ -705,7 +731,11 @@ test_files:
705
731
  - spec/netsuite/records/invoice_item_list_spec.rb
706
732
  - spec/netsuite/records/invoice_item_spec.rb
707
733
  - spec/netsuite/records/invoice_spec.rb
734
+ - spec/netsuite/records/item_availability_spec.rb
735
+ - spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb
708
736
  - spec/netsuite/records/item_fulfillment_package_list_spec.rb
737
+ - spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb
738
+ - spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb
709
739
  - spec/netsuite/records/item_fulfillment_spec.rb
710
740
  - spec/netsuite/records/item_group_spec.rb
711
741
  - spec/netsuite/records/item_member_list_spec.rb
@@ -746,6 +776,8 @@ test_files:
746
776
  - spec/netsuite/records/service_sale_item_spec.rb
747
777
  - spec/netsuite/records/ship_address_spec.rb
748
778
  - spec/netsuite/records/site_category_spec.rb
779
+ - spec/netsuite/records/subscription_spec.rb
780
+ - spec/netsuite/records/subscriptions_list_spec.rb
749
781
  - spec/netsuite/records/subsidiary_spec.rb
750
782
  - spec/netsuite/records/support_case_spec.rb
751
783
  - spec/netsuite/records/support_case_type_spec.rb
@@ -798,11 +830,16 @@ test_files:
798
830
  - spec/support/fixtures/attach/attach_file_to_sales_order_error.xml
799
831
  - spec/support/fixtures/custom_fields/multi_select.xml
800
832
  - spec/support/fixtures/delete/delete_customer.xml
833
+ - spec/support/fixtures/delete/delete_customer_error.xml
834
+ - spec/support/fixtures/delete/delete_customer_multiple_errors.xml
801
835
  - spec/support/fixtures/delete_list/delete_list_customers.xml
802
836
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
803
837
  - spec/support/fixtures/get/get_customer.xml
804
838
  - spec/support/fixtures/get/get_invoice.xml
805
839
  - spec/support/fixtures/get_deleted/get_deleted_invoices.xml
840
+ - spec/support/fixtures/get_item_availability/get_item_availability.xml
841
+ - spec/support/fixtures/get_select_value/empty_result.xml
842
+ - spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml
806
843
  - spec/support/fixtures/initialize/initialize_invoice_from_customer.xml
807
844
  - spec/support/fixtures/login/failure_concurrent_requests.xml
808
845
  - spec/support/fixtures/login/failure_invalid_credentials.xml
@@ -1,10 +0,0 @@
1
- module NetSuite
2
- module Records
3
- class CustomerSubscriptionsList < Support::Sublist
4
- include Namespaces::ListRel
5
-
6
- sublist :subscriptions, CustomerSubscription
7
-
8
- end
9
- end
10
- end