netsuite 0.8.4 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/main.yml +20 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -1
  5. data/.tool-versions +1 -0
  6. data/Gemfile +2 -5
  7. data/HISTORY.md +26 -0
  8. data/README.md +72 -29
  9. data/Rakefile +1 -1
  10. data/lib/netsuite.rb +13 -19
  11. data/lib/netsuite/actions/login.rb +10 -2
  12. data/lib/netsuite/actions/upsert.rb +2 -0
  13. data/lib/netsuite/configuration.rb +34 -4
  14. data/lib/netsuite/records/accounting_period.rb +2 -2
  15. data/lib/netsuite/records/classification.rb +4 -1
  16. data/lib/netsuite/records/contact.rb +1 -1
  17. data/lib/netsuite/records/cost_category.rb +28 -0
  18. data/lib/netsuite/records/credit_memo.rb +1 -1
  19. data/lib/netsuite/records/custom_field_list.rb +9 -3
  20. data/lib/netsuite/records/custom_record.rb +1 -1
  21. data/lib/netsuite/records/customer.rb +2 -1
  22. data/lib/netsuite/records/customer_credit_cards.rb +36 -0
  23. data/lib/netsuite/records/customer_credit_cards_list.rb +10 -0
  24. data/lib/netsuite/records/customer_deposit.rb +5 -5
  25. data/lib/netsuite/records/customer_payment.rb +6 -2
  26. data/lib/netsuite/records/customer_payment_credit.rb +17 -0
  27. data/lib/netsuite/records/customer_payment_credit_list.rb +12 -0
  28. data/lib/netsuite/records/employee.rb +1 -1
  29. data/lib/netsuite/records/estimate.rb +42 -0
  30. data/lib/netsuite/records/estimate_item.rb +40 -0
  31. data/lib/netsuite/records/estimate_item_list.rb +11 -0
  32. data/lib/netsuite/records/inventory_item.rb +62 -1
  33. data/lib/netsuite/records/invoice.rb +94 -1
  34. data/lib/netsuite/records/item_fulfillment.rb +1 -1
  35. data/lib/netsuite/records/lot_numbered_inventory_item.rb +116 -0
  36. data/lib/netsuite/records/matrix_option_list.rb +12 -4
  37. data/lib/netsuite/records/message.rb +30 -0
  38. data/lib/netsuite/records/non_inventory_resale_item.rb +1 -0
  39. data/lib/netsuite/records/non_inventory_sale_item.rb +1 -1
  40. data/lib/netsuite/records/other_charge_sale_item.rb +2 -2
  41. data/lib/netsuite/records/partner.rb +7 -5
  42. data/lib/netsuite/records/serialized_assembly_item.rb +3 -1
  43. data/lib/netsuite/records/service_resale_item.rb +1 -1
  44. data/lib/netsuite/records/support_case_type.rb +26 -0
  45. data/lib/netsuite/records/tax_group.rb +2 -2
  46. data/lib/netsuite/records/vendor.rb +2 -1
  47. data/lib/netsuite/records/vendor_currency.rb +26 -0
  48. data/lib/netsuite/records/vendor_currency_list.rb +9 -0
  49. data/lib/netsuite/support/fields.rb +16 -0
  50. data/lib/netsuite/support/records.rb +1 -1
  51. data/lib/netsuite/support/search_result.rb +36 -6
  52. data/lib/netsuite/utilities.rb +18 -6
  53. data/lib/netsuite/version.rb +1 -1
  54. data/netsuite.gemspec +5 -3
  55. data/spec/netsuite/actions/search_spec.rb +22 -0
  56. data/spec/netsuite/configuration_spec.rb +111 -6
  57. data/spec/netsuite/records/basic_record_spec.rb +9 -1
  58. data/spec/netsuite/records/classification_spec.rb +10 -1
  59. data/spec/netsuite/records/cost_category_spec.rb +105 -0
  60. data/spec/netsuite/records/custom_field_list_spec.rb +46 -6
  61. data/spec/netsuite/records/custom_record_spec.rb +1 -1
  62. data/spec/netsuite/records/customer_credit_cards_list_spec.rb +23 -0
  63. data/spec/netsuite/records/customer_payment_credit_list_spec.rb +26 -0
  64. data/spec/netsuite/records/customer_payment_spec.rb +1 -6
  65. data/spec/netsuite/records/customer_spec.rb +22 -1
  66. data/spec/netsuite/records/employee_spec.rb +2 -2
  67. data/spec/netsuite/records/estimate_item_list_spec.rb +26 -0
  68. data/spec/netsuite/records/estimate_item_spec.rb +40 -0
  69. data/spec/netsuite/records/estimate_spec.rb +216 -0
  70. data/spec/netsuite/records/inventory_item_spec.rb +65 -0
  71. data/spec/netsuite/records/invoice_spec.rb +94 -0
  72. data/spec/netsuite/records/matrix_option_list_spec.rb +15 -5
  73. data/spec/netsuite/records/message_spec.rb +49 -0
  74. data/spec/netsuite/records/non_inventory_resale_item_spec.rb +165 -0
  75. data/spec/netsuite/records/non_inventory_sale_item_spec.rb +1 -1
  76. data/spec/netsuite/records/partner_spec.rb +143 -0
  77. data/spec/netsuite/records/service_resale_item_spec.rb +134 -0
  78. data/spec/netsuite/records/support_case_type_spec.rb +22 -0
  79. data/spec/netsuite/records/vendor_spec.rb +1 -1
  80. data/spec/netsuite/support/search_result_spec.rb +24 -0
  81. data/spec/netsuite/utilities_spec.rb +20 -15
  82. data/spec/support/fixtures/custom_fields/multi_select.xml +47 -0
  83. data/spec/support/fixtures/search/saved_search_item.xml +55 -0
  84. data/spec/support/fixtures/search/saved_search_joined_custom_customer.xml +15 -1
  85. data/spec/support/search_only_field_matcher.rb +7 -0
  86. metadata +77 -12
  87. data/circle.yml +0 -17
@@ -0,0 +1,55 @@
1
+ <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Header>
3
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2012_1.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_3603333_SB1_0320201916835580962038419462_2ce0aa2</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <searchResponse xmlns="urn:messages_2012_1.platform.webservices.netsuite.com">
9
+ <platformCore:searchResult xmlns:platformCore="urn:core_2012_1.platform.webservices.netsuite.com">
10
+ <platformCore:status isSuccess="true"/>
11
+ <platformCore:totalRecords>49</platformCore:totalRecords>
12
+ <platformCore:pageSize>1000</platformCore:pageSize>
13
+ <platformCore:totalPages>1</platformCore:totalPages>
14
+ <platformCore:pageIndex>1</platformCore:pageIndex>
15
+ <platformCore:searchId>WEBSERVICES_3603333_SB1_0320201916835580962038419462_2ce0aa2</platformCore:searchId>
16
+ <platformCore:searchRowList>
17
+ <platformCore:searchRow xsi:type="listAcct:ItemSearchRow" xmlns:listAcct="urn:accounting_2012_1.lists.webservices.netsuite.com">
18
+ <listAcct:basic xmlns:platformCommon="urn:common_2012_1.platform.webservices.netsuite.com">
19
+ <platformCommon:department>
20
+ <platformCore:searchValue internalId="113"/>
21
+ <platformCore:customLabel>Business Unit</platformCore:customLabel>
22
+ </platformCommon:department>
23
+ <platformCommon:itemId>
24
+ <platformCore:searchValue>9781945179747</platformCore:searchValue>
25
+ <platformCore:customLabel>SKU</platformCore:customLabel>
26
+ </platformCommon:itemId>
27
+ <platformCommon:locationQuantityAvailable>
28
+ <platformCore:searchValue>3307.0</platformCore:searchValue>
29
+ <platformCore:customLabel>Qty - Available</platformCore:customLabel>
30
+ </platformCommon:locationQuantityAvailable>
31
+ <platformCommon:locationQuantityOnOrder>
32
+ <platformCore:searchValue>40000.0</platformCore:searchValue>
33
+ <platformCore:customLabel>Qty - On Order</platformCore:customLabel>
34
+ </platformCommon:locationQuantityOnOrder>
35
+ <platformCommon:locationReOrderPoint>
36
+ <platformCore:searchValue>2565.0</platformCore:searchValue>
37
+ <platformCore:customLabel>Qty - Reorder Point</platformCore:customLabel>
38
+ </platformCommon:locationReOrderPoint>
39
+ <platformCommon:customFieldList>
40
+ <platformCore:customField xsi:type="platformCore:SearchColumnSelectCustomField" internalId="custitem_productline">
41
+ <platformCore:searchValue typeId="37" internalId="123"/>
42
+ <platformCore:customLabel>Product Line</platformCore:customLabel>
43
+ </platformCore:customField>
44
+ <platformCore:customField xsi:type="platformCore:SearchColumnSelectCustomField" internalId="custitem_inv_reorder_status">
45
+ <platformCore:searchValue typeId="211" internalId="8"/>
46
+ <platformCore:customLabel>Reorder Status</platformCore:customLabel>
47
+ </platformCore:customField>
48
+ </platformCommon:customFieldList>
49
+ </listAcct:basic>
50
+ </platformCore:searchRow>
51
+ </platformCore:searchRowList>
52
+ </platformCore:searchResult>
53
+ </searchResponse>
54
+ </soapenv:Body>
55
+ </soapenv:Envelope>
@@ -16,6 +16,12 @@
16
16
  <platformCore:searchRowList>
17
17
  <platformCore:searchRow xmlns:listRel="urn:relationships_2012_1.lists.webservices.netsuite.com" xsi:type="listRel:CustomerSearchRow">
18
18
  <listRel:basic xmlns:platformCommon="urn:common_2012_1.platform.webservices.netsuite.com">
19
+ <platformCommon:internalId>
20
+ <platformCore:searchValue internalId="123"/>
21
+ </platformCommon:internalId>
22
+ <platformCommon:externalId>
23
+ <platformCore:searchValue externalId="456"/>
24
+ </platformCommon:externalId>
19
25
  <platformCommon:altName>
20
26
  <platformCore:searchValue>A Awesome Name</platformCore:searchValue>
21
27
  </platformCommon:altName>
@@ -37,6 +43,14 @@
37
43
  <platformCommon:phone>
38
44
  <platformCore:searchValue>444-444-4444</platformCore:searchValue>
39
45
  </platformCommon:phone>
46
+ <platformCommon:customFieldList>
47
+ <platformCore:customField internalId="1756" scriptId="custitem_stringfield" xsi:type="platformCore:SearchColumnStringCustomField">
48
+ <platformCore:searchValue>sample string value</platformCore:searchValue>
49
+ </platformCore:customField>
50
+ <platformCore:customField internalId="1713" scriptId="custitem_apcategoryforsales" xsi:type="platformCore:SearchColumnSelectCustomField">
51
+ <platformCore:searchValue internalId="4" typeId="464"/>
52
+ </platformCore:customField>
53
+ </platformCommon:customFieldList>
40
54
  </listRel:basic>
41
55
  <listRel:contactJoin xmlns:platformCommon="urn:common_2012_1.platform.webservices.netsuite.com">
42
56
  <platformCommon:email>
@@ -84,4 +98,4 @@
84
98
  </platformCore:searchResult>
85
99
  </searchResponse>
86
100
  </soapenv:Body>
87
- </soapenv:Envelope>
101
+ </soapenv:Envelope>
@@ -0,0 +1,7 @@
1
+ RSpec::Matchers.define :have_search_only_field do |attribute|
2
+
3
+ match do |model|
4
+ expect(model.search_only_fields.include?(attribute)).to be_truthy
5
+ end
6
+
7
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moran
8
8
  - Michael Bianco
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-08 00:00:00.000000000 Z
12
+ date: 2021-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -18,6 +18,9 @@ dependencies:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 2.3.0
21
+ - - "<="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.11.1
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -25,36 +28,55 @@ dependencies:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: 2.3.0
31
+ - - "<="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.11.1
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: rspec
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
38
  - - "~>"
33
39
  - !ruby/object:Gem::Version
34
- version: 3.1.0
40
+ version: 3.10.0
35
41
  type: :development
36
42
  prerelease: false
37
43
  version_requirements: !ruby/object:Gem::Requirement
38
44
  requirements:
39
45
  - - "~>"
40
46
  - !ruby/object:Gem::Version
41
- version: 3.1.0
47
+ version: 3.10.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
42
62
  description: NetSuite SuiteTalk API Wrapper
43
63
  email:
44
64
  - ryan.moran@gmail.com
45
- - mike@cliffsidemedia.com
65
+ - mike@mikebian.co
46
66
  executables: []
47
67
  extensions: []
48
68
  extra_rdoc_files: []
49
69
  files:
70
+ - ".github/workflows/main.yml"
50
71
  - ".gitignore"
51
72
  - ".rspec"
52
73
  - ".ruby-version"
74
+ - ".tool-versions"
53
75
  - Gemfile
76
+ - HISTORY.md
54
77
  - LICENSE
55
78
  - README.md
56
79
  - Rakefile
57
- - circle.yml
58
80
  - lib/netsuite.rb
59
81
  - lib/netsuite/actions/add.rb
60
82
  - lib/netsuite/actions/delete.rb
@@ -131,6 +153,7 @@ files:
131
153
  - lib/netsuite/records/contact_addressbook_list.rb
132
154
  - lib/netsuite/records/contact_list.rb
133
155
  - lib/netsuite/records/contact_role.rb
156
+ - lib/netsuite/records/cost_category.rb
134
157
  - lib/netsuite/records/credit_memo.rb
135
158
  - lib/netsuite/records/credit_memo_apply.rb
136
159
  - lib/netsuite/records/credit_memo_apply_list.rb
@@ -150,6 +173,8 @@ files:
150
173
  - lib/netsuite/records/customer_addressbook.rb
151
174
  - lib/netsuite/records/customer_addressbook_list.rb
152
175
  - lib/netsuite/records/customer_category.rb
176
+ - lib/netsuite/records/customer_credit_cards.rb
177
+ - lib/netsuite/records/customer_credit_cards_list.rb
153
178
  - lib/netsuite/records/customer_currency.rb
154
179
  - lib/netsuite/records/customer_currency_list.rb
155
180
  - lib/netsuite/records/customer_deposit.rb
@@ -160,6 +185,8 @@ files:
160
185
  - lib/netsuite/records/customer_payment.rb
161
186
  - lib/netsuite/records/customer_payment_apply.rb
162
187
  - lib/netsuite/records/customer_payment_apply_list.rb
188
+ - lib/netsuite/records/customer_payment_credit.rb
189
+ - lib/netsuite/records/customer_payment_credit_list.rb
163
190
  - lib/netsuite/records/customer_refund.rb
164
191
  - lib/netsuite/records/customer_refund_apply.rb
165
192
  - lib/netsuite/records/customer_refund_apply_list.rb
@@ -184,6 +211,9 @@ files:
184
211
  - lib/netsuite/records/duration.rb
185
212
  - lib/netsuite/records/employee.rb
186
213
  - lib/netsuite/records/entity_custom_field.rb
214
+ - lib/netsuite/records/estimate.rb
215
+ - lib/netsuite/records/estimate_item.rb
216
+ - lib/netsuite/records/estimate_item_list.rb
187
217
  - lib/netsuite/records/file.rb
188
218
  - lib/netsuite/records/folder.rb
189
219
  - lib/netsuite/records/gift_cert_redemption.rb
@@ -234,8 +264,10 @@ files:
234
264
  - lib/netsuite/records/location.rb
235
265
  - lib/netsuite/records/locations_list.rb
236
266
  - lib/netsuite/records/lot_numbered_assembly_item.rb
267
+ - lib/netsuite/records/lot_numbered_inventory_item.rb
237
268
  - lib/netsuite/records/matrix_option_list.rb
238
269
  - lib/netsuite/records/member_list.rb
270
+ - lib/netsuite/records/message.rb
239
271
  - lib/netsuite/records/non_inventory_purchase_item.rb
240
272
  - lib/netsuite/records/non_inventory_resale_item.rb
241
273
  - lib/netsuite/records/non_inventory_sale_item.rb
@@ -289,6 +321,7 @@ files:
289
321
  - lib/netsuite/records/subsidiary.rb
290
322
  - lib/netsuite/records/subtotal_item.rb
291
323
  - lib/netsuite/records/support_case.rb
324
+ - lib/netsuite/records/support_case_type.rb
292
325
  - lib/netsuite/records/task.rb
293
326
  - lib/netsuite/records/tax_group.rb
294
327
  - lib/netsuite/records/tax_type.rb
@@ -317,6 +350,8 @@ files:
317
350
  - lib/netsuite/records/vendor_credit_expense_list.rb
318
351
  - lib/netsuite/records/vendor_credit_item.rb
319
352
  - lib/netsuite/records/vendor_credit_item_list.rb
353
+ - lib/netsuite/records/vendor_currency.rb
354
+ - lib/netsuite/records/vendor_currency_list.rb
320
355
  - lib/netsuite/records/vendor_payment.rb
321
356
  - lib/netsuite/records/vendor_payment_apply.rb
322
357
  - lib/netsuite/records/vendor_payment_apply_list.rb
@@ -377,6 +412,7 @@ files:
377
412
  - spec/netsuite/records/cash_sale_item_spec.rb
378
413
  - spec/netsuite/records/cash_sale_spec.rb
379
414
  - spec/netsuite/records/classification_spec.rb
415
+ - spec/netsuite/records/cost_category_spec.rb
380
416
  - spec/netsuite/records/credit_memo_apply_list_spec.rb
381
417
  - spec/netsuite/records/credit_memo_apply_spec.rb
382
418
  - spec/netsuite/records/credit_memo_item_list_spec.rb
@@ -391,7 +427,9 @@ files:
391
427
  - spec/netsuite/records/custom_record_type_spec.rb
392
428
  - spec/netsuite/records/customer_addressbook_list_spec.rb
393
429
  - spec/netsuite/records/customer_addressbook_spec.rb
430
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
394
431
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
432
+ - spec/netsuite/records/customer_payment_credit_list_spec.rb
395
433
  - spec/netsuite/records/customer_payment_spec.rb
396
434
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
397
435
  - spec/netsuite/records/customer_refund_apply_spec.rb
@@ -408,6 +446,9 @@ files:
408
446
  - spec/netsuite/records/duration_spec.rb
409
447
  - spec/netsuite/records/employee_spec.rb
410
448
  - spec/netsuite/records/entity_custom_field_spec.rb
449
+ - spec/netsuite/records/estimate_item_list_spec.rb
450
+ - spec/netsuite/records/estimate_item_spec.rb
451
+ - spec/netsuite/records/estimate_spec.rb
411
452
  - spec/netsuite/records/file_spec.rb
412
453
  - spec/netsuite/records/folder_spec.rb
413
454
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
@@ -436,9 +477,12 @@ files:
436
477
  - spec/netsuite/records/kit_item_spec.rb
437
478
  - spec/netsuite/records/location_spec.rb
438
479
  - spec/netsuite/records/matrix_option_list_spec.rb
480
+ - spec/netsuite/records/message_spec.rb
481
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
439
482
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
440
483
  - spec/netsuite/records/note_spec.rb
441
484
  - spec/netsuite/records/note_type_spec.rb
485
+ - spec/netsuite/records/partner_spec.rb
442
486
  - spec/netsuite/records/payment_item_spec.rb
443
487
  - spec/netsuite/records/payment_method_spec.rb
444
488
  - spec/netsuite/records/phone_call_spec.rb
@@ -453,11 +497,13 @@ files:
453
497
  - spec/netsuite/records/sales_order_item_spec.rb
454
498
  - spec/netsuite/records/sales_order_spec.rb
455
499
  - spec/netsuite/records/sales_tax_item_spec.rb
500
+ - spec/netsuite/records/service_resale_item_spec.rb
456
501
  - spec/netsuite/records/service_sale_item_spec.rb
457
502
  - spec/netsuite/records/ship_address_spec.rb
458
503
  - spec/netsuite/records/site_category_spec.rb
459
504
  - spec/netsuite/records/subsidiary_spec.rb
460
505
  - spec/netsuite/records/support_case_spec.rb
506
+ - spec/netsuite/records/support_case_type_spec.rb
461
507
  - spec/netsuite/records/tax_type_spec.rb
462
508
  - spec/netsuite/records/term_spec.rb
463
509
  - spec/netsuite/records/transaction_body_custom_field_spec.rb
@@ -485,6 +531,7 @@ files:
485
531
  - spec/netsuite/support/record_refs_spec.rb
486
532
  - spec/netsuite/support/records_spec.rb
487
533
  - spec/netsuite/support/requests_spec.rb
534
+ - spec/netsuite/support/search_result_spec.rb
488
535
  - spec/netsuite/support/sublist_spec.rb
489
536
  - spec/netsuite/utilities/data_center_spec.rb
490
537
  - spec/netsuite/utilities/request_spec.rb
@@ -499,6 +546,7 @@ files:
499
546
  - spec/support/fixtures/add/add_invoice.xml
500
547
  - spec/support/fixtures/add/add_invoice_error.xml
501
548
  - spec/support/fixtures/add/add_invoice_multiple_errors.xml
549
+ - spec/support/fixtures/custom_fields/multi_select.xml
502
550
  - spec/support/fixtures/delete/delete_customer.xml
503
551
  - spec/support/fixtures/delete_list/delete_list_customers.xml
504
552
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
@@ -510,6 +558,7 @@ files:
510
558
  - spec/support/fixtures/login/failure_invalid_credentials.xml
511
559
  - spec/support/fixtures/login/success.xml
512
560
  - spec/support/fixtures/search/saved_search_customer.xml
561
+ - spec/support/fixtures/search/saved_search_item.xml
513
562
  - spec/support/fixtures/search/saved_search_joined_custom_customer.xml
514
563
  - spec/support/fixtures/update/update_customer.xml
515
564
  - spec/support/fixtures/update/update_customer_error.xml
@@ -528,10 +577,12 @@ files:
528
577
  - spec/support/read_only_field_matcher.rb
529
578
  - spec/support/record_ref_matcher.rb
530
579
  - spec/support/savon.rb
580
+ - spec/support/search_only_field_matcher.rb
531
581
  homepage: https://github.com/NetSweet/netsuite
532
- licenses: []
582
+ licenses:
583
+ - MIT
533
584
  metadata: {}
534
- post_install_message:
585
+ post_install_message:
535
586
  rdoc_options: []
536
587
  require_paths:
537
588
  - lib
@@ -546,9 +597,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
546
597
  - !ruby/object:Gem::Version
547
598
  version: '0'
548
599
  requirements: []
549
- rubyforge_project:
550
- rubygems_version: 2.5.1
551
- signing_key:
600
+ rubygems_version: 3.1.6
601
+ signing_key:
552
602
  specification_version: 4
553
603
  summary: NetSuite SuiteTalk API (SOAP) Wrapper
554
604
  test_files:
@@ -587,6 +637,7 @@ test_files:
587
637
  - spec/netsuite/records/cash_sale_item_spec.rb
588
638
  - spec/netsuite/records/cash_sale_spec.rb
589
639
  - spec/netsuite/records/classification_spec.rb
640
+ - spec/netsuite/records/cost_category_spec.rb
590
641
  - spec/netsuite/records/credit_memo_apply_list_spec.rb
591
642
  - spec/netsuite/records/credit_memo_apply_spec.rb
592
643
  - spec/netsuite/records/credit_memo_item_list_spec.rb
@@ -601,7 +652,9 @@ test_files:
601
652
  - spec/netsuite/records/custom_record_type_spec.rb
602
653
  - spec/netsuite/records/customer_addressbook_list_spec.rb
603
654
  - spec/netsuite/records/customer_addressbook_spec.rb
655
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
604
656
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
657
+ - spec/netsuite/records/customer_payment_credit_list_spec.rb
605
658
  - spec/netsuite/records/customer_payment_spec.rb
606
659
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
607
660
  - spec/netsuite/records/customer_refund_apply_spec.rb
@@ -618,6 +671,9 @@ test_files:
618
671
  - spec/netsuite/records/duration_spec.rb
619
672
  - spec/netsuite/records/employee_spec.rb
620
673
  - spec/netsuite/records/entity_custom_field_spec.rb
674
+ - spec/netsuite/records/estimate_item_list_spec.rb
675
+ - spec/netsuite/records/estimate_item_spec.rb
676
+ - spec/netsuite/records/estimate_spec.rb
621
677
  - spec/netsuite/records/file_spec.rb
622
678
  - spec/netsuite/records/folder_spec.rb
623
679
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
@@ -646,9 +702,12 @@ test_files:
646
702
  - spec/netsuite/records/kit_item_spec.rb
647
703
  - spec/netsuite/records/location_spec.rb
648
704
  - spec/netsuite/records/matrix_option_list_spec.rb
705
+ - spec/netsuite/records/message_spec.rb
706
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
649
707
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
650
708
  - spec/netsuite/records/note_spec.rb
651
709
  - spec/netsuite/records/note_type_spec.rb
710
+ - spec/netsuite/records/partner_spec.rb
652
711
  - spec/netsuite/records/payment_item_spec.rb
653
712
  - spec/netsuite/records/payment_method_spec.rb
654
713
  - spec/netsuite/records/phone_call_spec.rb
@@ -663,11 +722,13 @@ test_files:
663
722
  - spec/netsuite/records/sales_order_item_spec.rb
664
723
  - spec/netsuite/records/sales_order_spec.rb
665
724
  - spec/netsuite/records/sales_tax_item_spec.rb
725
+ - spec/netsuite/records/service_resale_item_spec.rb
666
726
  - spec/netsuite/records/service_sale_item_spec.rb
667
727
  - spec/netsuite/records/ship_address_spec.rb
668
728
  - spec/netsuite/records/site_category_spec.rb
669
729
  - spec/netsuite/records/subsidiary_spec.rb
670
730
  - spec/netsuite/records/support_case_spec.rb
731
+ - spec/netsuite/records/support_case_type_spec.rb
671
732
  - spec/netsuite/records/tax_type_spec.rb
672
733
  - spec/netsuite/records/term_spec.rb
673
734
  - spec/netsuite/records/transaction_body_custom_field_spec.rb
@@ -695,6 +756,7 @@ test_files:
695
756
  - spec/netsuite/support/record_refs_spec.rb
696
757
  - spec/netsuite/support/records_spec.rb
697
758
  - spec/netsuite/support/requests_spec.rb
759
+ - spec/netsuite/support/search_result_spec.rb
698
760
  - spec/netsuite/support/sublist_spec.rb
699
761
  - spec/netsuite/utilities/data_center_spec.rb
700
762
  - spec/netsuite/utilities/request_spec.rb
@@ -709,6 +771,7 @@ test_files:
709
771
  - spec/support/fixtures/add/add_invoice.xml
710
772
  - spec/support/fixtures/add/add_invoice_error.xml
711
773
  - spec/support/fixtures/add/add_invoice_multiple_errors.xml
774
+ - spec/support/fixtures/custom_fields/multi_select.xml
712
775
  - spec/support/fixtures/delete/delete_customer.xml
713
776
  - spec/support/fixtures/delete_list/delete_list_customers.xml
714
777
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
@@ -720,6 +783,7 @@ test_files:
720
783
  - spec/support/fixtures/login/failure_invalid_credentials.xml
721
784
  - spec/support/fixtures/login/success.xml
722
785
  - spec/support/fixtures/search/saved_search_customer.xml
786
+ - spec/support/fixtures/search/saved_search_item.xml
723
787
  - spec/support/fixtures/search/saved_search_joined_custom_customer.xml
724
788
  - spec/support/fixtures/update/update_customer.xml
725
789
  - spec/support/fixtures/update/update_customer_error.xml
@@ -738,3 +802,4 @@ test_files:
738
802
  - spec/support/read_only_field_matcher.rb
739
803
  - spec/support/record_ref_matcher.rb
740
804
  - spec/support/savon.rb
805
+ - spec/support/search_only_field_matcher.rb
data/circle.yml DELETED
@@ -1,17 +0,0 @@
1
- # https://leonid.shevtsov.me/post/multiple-rubies-on-circleci/
2
-
3
- machine:
4
- environment:
5
- RUBY_VERSIONS: 2.0.0,2.1.10,2.2.9,2.3.7,2.4.4,2.5.1,2.6.1
6
-
7
- dependencies:
8
- override:
9
- - gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
10
- - rvm get head
11
- - rvm install $RUBY_VERSIONS
12
- - rvm $RUBY_VERSIONS --verbose do gem install bundler -v 1.17.3
13
- - rvm $RUBY_VERSIONS --verbose do bundle install
14
-
15
- test:
16
- override:
17
- - rvm $RUBY_VERSIONS --verbose do bundle exec rspec spec