netsuite 0.8.2 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/.tool-versions +1 -0
  5. data/Gemfile +4 -3
  6. data/README.md +129 -38
  7. data/circle.yml +36 -13
  8. data/lib/netsuite.rb +40 -19
  9. data/lib/netsuite/actions/login.rb +20 -1
  10. data/lib/netsuite/actions/search.rb +1 -6
  11. data/lib/netsuite/actions/update.rb +6 -2
  12. data/lib/netsuite/actions/update_list.rb +109 -0
  13. data/lib/netsuite/actions/upsert.rb +2 -0
  14. data/lib/netsuite/configuration.rb +34 -4
  15. data/lib/netsuite/errors.rb +1 -0
  16. data/lib/netsuite/records/accounting_period.rb +2 -2
  17. data/lib/netsuite/records/assembly_build.rb +4 -1
  18. data/lib/netsuite/records/assembly_item.rb +1 -0
  19. data/lib/netsuite/records/assembly_unbuild.rb +3 -0
  20. data/lib/netsuite/records/bin_number.rb +18 -0
  21. data/lib/netsuite/records/bin_number_list.rb +1 -20
  22. data/lib/netsuite/records/bin_transfer.rb +38 -0
  23. data/lib/netsuite/records/bin_transfer_inventory.rb +20 -0
  24. data/lib/netsuite/records/bin_transfer_inventory_list.rb +10 -0
  25. data/lib/netsuite/records/cash_refund_item.rb +1 -1
  26. data/lib/netsuite/records/classification.rb +5 -2
  27. data/lib/netsuite/records/contact.rb +1 -1
  28. data/lib/netsuite/records/credit_memo.rb +1 -1
  29. data/lib/netsuite/records/custom_field_list.rb +10 -2
  30. data/lib/netsuite/records/custom_record.rb +3 -3
  31. data/lib/netsuite/records/custom_record_ref.rb +1 -0
  32. data/lib/netsuite/records/customer.rb +5 -4
  33. data/lib/netsuite/records/customer_credit_cards.rb +36 -0
  34. data/lib/netsuite/records/customer_credit_cards_list.rb +10 -0
  35. data/lib/netsuite/records/customer_deposit.rb +9 -6
  36. data/lib/netsuite/records/customer_payment.rb +6 -2
  37. data/lib/netsuite/records/customer_payment_credit.rb +17 -0
  38. data/lib/netsuite/records/customer_payment_credit_list.rb +12 -0
  39. data/lib/netsuite/records/customer_sales_team.rb +24 -0
  40. data/lib/netsuite/records/customer_sales_team_list.rb +9 -0
  41. data/lib/netsuite/records/customer_status.rb +29 -0
  42. data/lib/netsuite/records/customer_subscription.rb +18 -0
  43. data/lib/netsuite/records/customer_subscriptions_list.rb +10 -0
  44. data/lib/netsuite/records/employee.rb +1 -1
  45. data/lib/netsuite/records/entity_custom_field.rb +53 -0
  46. data/lib/netsuite/records/estimate.rb +42 -0
  47. data/lib/netsuite/records/estimate_item.rb +40 -0
  48. data/lib/netsuite/records/estimate_item_list.rb +11 -0
  49. data/lib/netsuite/records/inbound_shipment.rb +33 -0
  50. data/lib/netsuite/records/inbound_shipment_item.rb +39 -0
  51. data/lib/netsuite/records/inbound_shipment_item_list.rb +11 -0
  52. data/lib/netsuite/records/inter_company_journal_entry.rb +48 -0
  53. data/lib/netsuite/records/inter_company_journal_entry_line.rb +28 -0
  54. data/lib/netsuite/records/inter_company_journal_entry_line_list.rb +14 -0
  55. data/lib/netsuite/records/inventory_item.rb +3 -2
  56. data/lib/netsuite/records/invoice.rb +1 -1
  57. data/lib/netsuite/records/item_fulfillment.rb +1 -1
  58. data/lib/netsuite/records/lot_numbered_inventory_item.rb +116 -0
  59. data/lib/netsuite/records/matrix_option_list.rb +12 -4
  60. data/lib/netsuite/records/message.rb +30 -0
  61. data/lib/netsuite/records/non_inventory_resale_item.rb +3 -2
  62. data/lib/netsuite/records/non_inventory_sale_item.rb +1 -1
  63. data/lib/netsuite/records/other_charge_sale_item.rb +2 -2
  64. data/lib/netsuite/records/partner.rb +7 -5
  65. data/lib/netsuite/records/price.rb +17 -0
  66. data/lib/netsuite/records/price_level.rb +26 -0
  67. data/lib/netsuite/records/price_list.rb +9 -0
  68. data/lib/netsuite/records/pricing.rb +20 -0
  69. data/lib/netsuite/records/pricing_matrix.rb +2 -2
  70. data/lib/netsuite/records/promotions.rb +26 -0
  71. data/lib/netsuite/records/promotions_list.rb +9 -0
  72. data/lib/netsuite/records/return_authorization_item.rb +1 -1
  73. data/lib/netsuite/records/sales_order.rb +1 -0
  74. data/lib/netsuite/records/sales_order_item.rb +12 -5
  75. data/lib/netsuite/records/sales_role.rb +26 -0
  76. data/lib/netsuite/records/sales_tax_item.rb +3 -1
  77. data/lib/netsuite/records/serialized_assembly_item.rb +239 -0
  78. data/lib/netsuite/records/service_resale_item.rb +1 -1
  79. data/lib/netsuite/records/service_sale_item.rb +1 -1
  80. data/lib/netsuite/records/support_case.rb +1 -1
  81. data/lib/netsuite/records/support_case_type.rb +26 -0
  82. data/lib/netsuite/records/tax_group.rb +2 -2
  83. data/lib/netsuite/records/transaction_body_custom_field.rb +61 -0
  84. data/lib/netsuite/records/transaction_column_custom_field.rb +59 -0
  85. data/lib/netsuite/records/vendor.rb +2 -1
  86. data/lib/netsuite/records/vendor_credit.rb +2 -0
  87. data/lib/netsuite/records/vendor_currency.rb +26 -0
  88. data/lib/netsuite/records/vendor_currency_list.rb +9 -0
  89. data/lib/netsuite/records/work_order.rb +8 -0
  90. data/lib/netsuite/support/actions.rb +2 -0
  91. data/lib/netsuite/support/country.rb +27 -15
  92. data/lib/netsuite/support/search_result.rb +20 -5
  93. data/lib/netsuite/utilities.rb +83 -21
  94. data/lib/netsuite/version.rb +1 -1
  95. data/netsuite.gemspec +4 -3
  96. data/spec/netsuite/actions/login_spec.rb +23 -0
  97. data/spec/netsuite/actions/update_list_spec.rb +107 -0
  98. data/spec/netsuite/actions/update_spec.rb +42 -0
  99. data/spec/netsuite/configuration_spec.rb +111 -6
  100. data/spec/netsuite/records/address_spec.rb +10 -0
  101. data/spec/netsuite/records/basic_record_spec.rb +19 -2
  102. data/spec/netsuite/records/bin_number_spec.rb +23 -0
  103. data/spec/netsuite/records/classification_spec.rb +10 -1
  104. data/spec/netsuite/records/custom_field_list_spec.rb +39 -4
  105. data/spec/netsuite/records/custom_record_spec.rb +1 -1
  106. data/spec/netsuite/records/customer_credit_cards_list_spec.rb +23 -0
  107. data/spec/netsuite/records/customer_payment_credit_list_spec.rb +26 -0
  108. data/spec/netsuite/records/customer_payment_spec.rb +1 -6
  109. data/spec/netsuite/records/customer_sales_team_list_spec.rb +41 -0
  110. data/spec/netsuite/records/customer_spec.rb +44 -2
  111. data/spec/netsuite/records/customer_subscription_spec.rb +41 -0
  112. data/spec/netsuite/records/customer_subscriptions_list_spec.rb +19 -0
  113. data/spec/netsuite/records/employee_spec.rb +2 -2
  114. data/spec/netsuite/records/entity_custom_field_spec.rb +34 -0
  115. data/spec/netsuite/records/estimate_item_list_spec.rb +26 -0
  116. data/spec/netsuite/records/estimate_item_spec.rb +40 -0
  117. data/spec/netsuite/records/estimate_spec.rb +216 -0
  118. data/spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb +26 -0
  119. data/spec/netsuite/records/inter_company_journal_entry_line_spec.rb +60 -0
  120. data/spec/netsuite/records/inter_company_journal_entry_spec.rb +156 -0
  121. data/spec/netsuite/records/inventory_item_spec.rb +57 -0
  122. data/spec/netsuite/records/matrix_option_list_spec.rb +15 -5
  123. data/spec/netsuite/records/message_spec.rb +49 -0
  124. data/spec/netsuite/records/non_inventory_resale_item_spec.rb +165 -0
  125. data/spec/netsuite/records/non_inventory_sale_item_spec.rb +1 -1
  126. data/spec/netsuite/records/partner_spec.rb +143 -0
  127. data/spec/netsuite/records/price_level_spec.rb +16 -0
  128. data/spec/netsuite/records/pricing_matrix_spec.rb +15 -13
  129. data/spec/netsuite/records/return_authorization_item_spec.rb +1 -1
  130. data/spec/netsuite/records/sales_order_item_spec.rb +11 -5
  131. data/spec/netsuite/records/service_resale_item_spec.rb +134 -0
  132. data/spec/netsuite/records/support_case_type_spec.rb +22 -0
  133. data/spec/netsuite/records/transaction_body_custom_field_spec.rb +32 -0
  134. data/spec/netsuite/records/transaction_column_custom_field_spec.rb +32 -0
  135. data/spec/netsuite/records/vendor_credit_spec.rb +29 -0
  136. data/spec/netsuite/records/vendor_spec.rb +1 -1
  137. data/spec/netsuite/support/search_result_spec.rb +24 -0
  138. data/spec/netsuite/utilities_spec.rb +44 -6
  139. data/spec/spec_helper.rb +5 -4
  140. data/spec/support/fixtures/update_list/update_list_items.xml +22 -0
  141. data/spec/support/fixtures/update_list/update_list_one_item.xml +18 -0
  142. data/spec/support/fixtures/update_list/update_list_with_errors.xml +32 -0
  143. metadata +111 -11
@@ -0,0 +1,22 @@
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_2015_1.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_4094105_100420174020144521635732562_3cddd9b4c927</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <updateListResponse xmlns="urn:messages_2015_1.platform.webservices.netsuite.com">
9
+ <writeResponseList>
10
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
11
+ <writeResponse>
12
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
13
+ <baseRef xsi:type="platformCore:RecordRef" type="inventoryItem" externalId="testing1" internalId="624113" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
14
+ </writeResponse>
15
+ <writeResponse>
16
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
17
+ <baseRef xsi:type="platformCore:RecordRef" type="inventoryItem" externalId="testing1" internalId="624172" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
18
+ </writeResponse>
19
+ </writeResponseList>
20
+ </updateListResponse>
21
+ </soapenv:Body>
22
+ </soapenv:Envelope>
@@ -0,0 +1,18 @@
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_2015_1.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_4094105_100420174020144521635732562_3cddd9b4c927</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <updateListResponse xmlns="urn:messages_2015_1.platform.webservices.netsuite.com">
9
+ <writeResponseList>
10
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
11
+ <writeResponse>
12
+ <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
13
+ <baseRef xsi:type="platformCore:RecordRef" type="inventoryItem" externalId="testing" internalId="624113" xmlns:platformCore="urn:core_2015_1.platform.webservices.netsuite.com"/>
14
+ </writeResponse>
15
+ </writeResponseList>
16
+ </updateListResponse>
17
+ </soapenv:Body>
18
+ </soapenv:Envelope>
@@ -0,0 +1,32 @@
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_2014_1.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>WEBSERVICES_3868171_1117201410832887841076557109_965331437a3</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <updateListResponse xmlns="urn:messages_2014_1.platform.webservices.netsuite.com">
10
+ <writeResponseList>
11
+ <writeResponse>
12
+ <platformCore:status xmlns:platformCore="urn:core_2014_1.platform.webservices.netsuite.com" isSuccess="false">
13
+ <platformCore:statusDetail type="ERROR">
14
+ <platformCore:code>USER_ERROR</platformCore:code>
15
+ <platformCore:message>Please enter value(s) for: ItemId</platformCore:message>
16
+ </platformCore:statusDetail>
17
+ </platformCore:status>
18
+ <baseRef xmlns:platformCore="urn:core_2014_1.platform.webservices.netsuite.com" internalId="624172" type="InventoryItem" xsi:type="platformCore:RecordRef"/>
19
+ </writeResponse>
20
+ <writeResponse>
21
+ <platformCore:status xmlns:platformCore="urn:core_2014_1.platform.webservices.netsuite.com" isSuccess="false">
22
+ <platformCore:statusDetail type="ERROR">
23
+ <platformCore:code>USER_ERROR</platformCore:code>
24
+ <platformCore:message>Please enter value(s) for: ItemId</platformCore:message>
25
+ </platformCore:statusDetail>
26
+ </platformCore:status>
27
+ <baseRef xmlns:platformCore="urn:core_2014_1.platform.webservices.netsuite.com" internalId="624113" type="InventoryItem" xsi:type="platformCore:RecordRef"/>
28
+ </writeResponse>
29
+ </writeResponseList>
30
+ </updateListResponse>
31
+ </soapenv:Body>
32
+ </soapenv:Envelope>
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.2
4
+ version: 0.8.7
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: 2017-08-11 00:00:00.000000000 Z
12
+ date: 2021-05-12 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,24 +28,27 @@ 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.8.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.8.0
42
48
  description: NetSuite SuiteTalk API Wrapper
43
49
  email:
44
50
  - ryan.moran@gmail.com
45
- - mike@cliffsidemedia.com
51
+ - mike@mikebian.co
46
52
  executables: []
47
53
  extensions: []
48
54
  extra_rdoc_files: []
@@ -50,6 +56,7 @@ files:
50
56
  - ".gitignore"
51
57
  - ".rspec"
52
58
  - ".ruby-version"
59
+ - ".tool-versions"
53
60
  - Gemfile
54
61
  - LICENSE
55
62
  - README.md
@@ -68,6 +75,7 @@ files:
68
75
  - lib/netsuite/actions/login.rb
69
76
  - lib/netsuite/actions/search.rb
70
77
  - lib/netsuite/actions/update.rb
78
+ - lib/netsuite/actions/update_list.rb
71
79
  - lib/netsuite/actions/upsert.rb
72
80
  - lib/netsuite/actions/upsert_list.rb
73
81
  - lib/netsuite/configuration.rb
@@ -110,7 +118,11 @@ files:
110
118
  - lib/netsuite/records/billing_schedule_recurrence.rb
111
119
  - lib/netsuite/records/billing_schedule_recurrence_list.rb
112
120
  - lib/netsuite/records/bin.rb
121
+ - lib/netsuite/records/bin_number.rb
113
122
  - lib/netsuite/records/bin_number_list.rb
123
+ - lib/netsuite/records/bin_transfer.rb
124
+ - lib/netsuite/records/bin_transfer_inventory.rb
125
+ - lib/netsuite/records/bin_transfer_inventory_list.rb
114
126
  - lib/netsuite/records/campaign.rb
115
127
  - lib/netsuite/records/cash_refund.rb
116
128
  - lib/netsuite/records/cash_refund_item.rb
@@ -145,6 +157,8 @@ files:
145
157
  - lib/netsuite/records/customer_addressbook.rb
146
158
  - lib/netsuite/records/customer_addressbook_list.rb
147
159
  - lib/netsuite/records/customer_category.rb
160
+ - lib/netsuite/records/customer_credit_cards.rb
161
+ - lib/netsuite/records/customer_credit_cards_list.rb
148
162
  - lib/netsuite/records/customer_currency.rb
149
163
  - lib/netsuite/records/customer_currency_list.rb
150
164
  - lib/netsuite/records/customer_deposit.rb
@@ -155,11 +169,18 @@ files:
155
169
  - lib/netsuite/records/customer_payment.rb
156
170
  - lib/netsuite/records/customer_payment_apply.rb
157
171
  - lib/netsuite/records/customer_payment_apply_list.rb
172
+ - lib/netsuite/records/customer_payment_credit.rb
173
+ - lib/netsuite/records/customer_payment_credit_list.rb
158
174
  - lib/netsuite/records/customer_refund.rb
159
175
  - lib/netsuite/records/customer_refund_apply.rb
160
176
  - lib/netsuite/records/customer_refund_apply_list.rb
161
177
  - lib/netsuite/records/customer_refund_deposit.rb
162
178
  - lib/netsuite/records/customer_refund_deposit_list.rb
179
+ - lib/netsuite/records/customer_sales_team.rb
180
+ - lib/netsuite/records/customer_sales_team_list.rb
181
+ - lib/netsuite/records/customer_status.rb
182
+ - lib/netsuite/records/customer_subscription.rb
183
+ - lib/netsuite/records/customer_subscriptions_list.rb
163
184
  - lib/netsuite/records/department.rb
164
185
  - lib/netsuite/records/deposit.rb
165
186
  - lib/netsuite/records/deposit_application.rb
@@ -173,12 +194,22 @@ files:
173
194
  - lib/netsuite/records/discount_item.rb
174
195
  - lib/netsuite/records/duration.rb
175
196
  - lib/netsuite/records/employee.rb
197
+ - lib/netsuite/records/entity_custom_field.rb
198
+ - lib/netsuite/records/estimate.rb
199
+ - lib/netsuite/records/estimate_item.rb
200
+ - lib/netsuite/records/estimate_item_list.rb
176
201
  - lib/netsuite/records/file.rb
177
202
  - lib/netsuite/records/folder.rb
178
203
  - lib/netsuite/records/gift_cert_redemption.rb
179
204
  - lib/netsuite/records/gift_cert_redemption_list.rb
180
205
  - lib/netsuite/records/gift_certificate.rb
181
206
  - lib/netsuite/records/gift_certificate_item.rb
207
+ - lib/netsuite/records/inbound_shipment.rb
208
+ - lib/netsuite/records/inbound_shipment_item.rb
209
+ - lib/netsuite/records/inbound_shipment_item_list.rb
210
+ - lib/netsuite/records/inter_company_journal_entry.rb
211
+ - lib/netsuite/records/inter_company_journal_entry_line.rb
212
+ - lib/netsuite/records/inter_company_journal_entry_line_list.rb
182
213
  - lib/netsuite/records/inventory_adjustment.rb
183
214
  - lib/netsuite/records/inventory_adjustment_inventory.rb
184
215
  - lib/netsuite/records/inventory_adjustment_inventory_list.rb
@@ -217,8 +248,10 @@ files:
217
248
  - lib/netsuite/records/location.rb
218
249
  - lib/netsuite/records/locations_list.rb
219
250
  - lib/netsuite/records/lot_numbered_assembly_item.rb
251
+ - lib/netsuite/records/lot_numbered_inventory_item.rb
220
252
  - lib/netsuite/records/matrix_option_list.rb
221
253
  - lib/netsuite/records/member_list.rb
254
+ - lib/netsuite/records/message.rb
222
255
  - lib/netsuite/records/non_inventory_purchase_item.rb
223
256
  - lib/netsuite/records/non_inventory_resale_item.rb
224
257
  - lib/netsuite/records/non_inventory_sale_item.rb
@@ -233,8 +266,14 @@ files:
233
266
  - lib/netsuite/records/payment_method.rb
234
267
  - lib/netsuite/records/payroll_item.rb
235
268
  - lib/netsuite/records/phone_call.rb
269
+ - lib/netsuite/records/price.rb
270
+ - lib/netsuite/records/price_level.rb
271
+ - lib/netsuite/records/price_list.rb
272
+ - lib/netsuite/records/pricing.rb
236
273
  - lib/netsuite/records/pricing_matrix.rb
237
274
  - lib/netsuite/records/promotion_code.rb
275
+ - lib/netsuite/records/promotions.rb
276
+ - lib/netsuite/records/promotions_list.rb
238
277
  - lib/netsuite/records/purchase_order.rb
239
278
  - lib/netsuite/records/purchase_order_item.rb
240
279
  - lib/netsuite/records/purchase_order_item_list.rb
@@ -251,7 +290,9 @@ files:
251
290
  - lib/netsuite/records/sales_order_item.rb
252
291
  - lib/netsuite/records/sales_order_item_list.rb
253
292
  - lib/netsuite/records/sales_order_ship_group_list.rb
293
+ - lib/netsuite/records/sales_role.rb
254
294
  - lib/netsuite/records/sales_tax_item.rb
295
+ - lib/netsuite/records/serialized_assembly_item.rb
255
296
  - lib/netsuite/records/serialized_inventory_item.rb
256
297
  - lib/netsuite/records/serialized_inventory_item_location.rb
257
298
  - lib/netsuite/records/serialized_inventory_item_locations_list.rb
@@ -264,11 +305,14 @@ files:
264
305
  - lib/netsuite/records/subsidiary.rb
265
306
  - lib/netsuite/records/subtotal_item.rb
266
307
  - lib/netsuite/records/support_case.rb
308
+ - lib/netsuite/records/support_case_type.rb
267
309
  - lib/netsuite/records/task.rb
268
310
  - lib/netsuite/records/tax_group.rb
269
311
  - lib/netsuite/records/tax_type.rb
270
312
  - lib/netsuite/records/term.rb
271
313
  - lib/netsuite/records/time_bill.rb
314
+ - lib/netsuite/records/transaction_body_custom_field.rb
315
+ - lib/netsuite/records/transaction_column_custom_field.rb
272
316
  - lib/netsuite/records/transaction_ship_group.rb
273
317
  - lib/netsuite/records/transfer_order.rb
274
318
  - lib/netsuite/records/transfer_order_item.rb
@@ -290,6 +334,8 @@ files:
290
334
  - lib/netsuite/records/vendor_credit_expense_list.rb
291
335
  - lib/netsuite/records/vendor_credit_item.rb
292
336
  - lib/netsuite/records/vendor_credit_item_list.rb
337
+ - lib/netsuite/records/vendor_currency.rb
338
+ - lib/netsuite/records/vendor_currency_list.rb
293
339
  - lib/netsuite/records/vendor_payment.rb
294
340
  - lib/netsuite/records/vendor_payment_apply.rb
295
341
  - lib/netsuite/records/vendor_payment_apply_list.rb
@@ -325,6 +371,7 @@ files:
325
371
  - spec/netsuite/actions/login_spec.rb
326
372
  - spec/netsuite/actions/refresh_spec.rb
327
373
  - spec/netsuite/actions/search_spec.rb
374
+ - spec/netsuite/actions/update_list_spec.rb
328
375
  - spec/netsuite/actions/update_spec.rb
329
376
  - spec/netsuite/actions/upsert_list_spec.rb
330
377
  - spec/netsuite/actions/upsert_spec.rb
@@ -340,6 +387,7 @@ files:
340
387
  - spec/netsuite/records/billing_schedule_recurrence_list_spec.rb
341
388
  - spec/netsuite/records/billing_schedule_recurrence_spec.rb
342
389
  - spec/netsuite/records/billing_schedule_spec.rb
390
+ - spec/netsuite/records/bin_number_spec.rb
343
391
  - spec/netsuite/records/campaign_spec.rb
344
392
  - spec/netsuite/records/cash_refund_item_list_spec.rb
345
393
  - spec/netsuite/records/cash_refund_item_spec.rb
@@ -362,23 +410,35 @@ files:
362
410
  - spec/netsuite/records/custom_record_type_spec.rb
363
411
  - spec/netsuite/records/customer_addressbook_list_spec.rb
364
412
  - spec/netsuite/records/customer_addressbook_spec.rb
413
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
365
414
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
415
+ - spec/netsuite/records/customer_payment_credit_list_spec.rb
366
416
  - spec/netsuite/records/customer_payment_spec.rb
367
417
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
368
418
  - spec/netsuite/records/customer_refund_apply_spec.rb
369
419
  - spec/netsuite/records/customer_refund_deposit_list_spec.rb
370
420
  - spec/netsuite/records/customer_refund_deposit_spec.rb
371
421
  - spec/netsuite/records/customer_refund_spec.rb
422
+ - spec/netsuite/records/customer_sales_team_list_spec.rb
372
423
  - spec/netsuite/records/customer_spec.rb
424
+ - spec/netsuite/records/customer_subscription_spec.rb
425
+ - spec/netsuite/records/customer_subscriptions_list_spec.rb
373
426
  - spec/netsuite/records/department_spec.rb
374
427
  - spec/netsuite/records/deposit_spec.rb
375
428
  - spec/netsuite/records/discount_item_spec.rb
376
429
  - spec/netsuite/records/duration_spec.rb
377
430
  - spec/netsuite/records/employee_spec.rb
431
+ - spec/netsuite/records/entity_custom_field_spec.rb
432
+ - spec/netsuite/records/estimate_item_list_spec.rb
433
+ - spec/netsuite/records/estimate_item_spec.rb
434
+ - spec/netsuite/records/estimate_spec.rb
378
435
  - spec/netsuite/records/file_spec.rb
379
436
  - spec/netsuite/records/folder_spec.rb
380
437
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
381
438
  - spec/netsuite/records/gift_cert_redemption_spec.rb
439
+ - spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
440
+ - spec/netsuite/records/inter_company_journal_entry_line_spec.rb
441
+ - spec/netsuite/records/inter_company_journal_entry_spec.rb
382
442
  - spec/netsuite/records/inventory_assignment_list_spec.rb
383
443
  - spec/netsuite/records/inventory_assignment_spec.rb
384
444
  - spec/netsuite/records/inventory_detail_spec.rb
@@ -400,13 +460,17 @@ files:
400
460
  - spec/netsuite/records/kit_item_spec.rb
401
461
  - spec/netsuite/records/location_spec.rb
402
462
  - spec/netsuite/records/matrix_option_list_spec.rb
463
+ - spec/netsuite/records/message_spec.rb
464
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
403
465
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
404
466
  - spec/netsuite/records/note_spec.rb
405
467
  - spec/netsuite/records/note_type_spec.rb
468
+ - spec/netsuite/records/partner_spec.rb
406
469
  - spec/netsuite/records/payment_item_spec.rb
407
470
  - spec/netsuite/records/payment_method_spec.rb
408
471
  - spec/netsuite/records/phone_call_spec.rb
409
472
  - spec/netsuite/records/pomo_code_spec.rb
473
+ - spec/netsuite/records/price_level_spec.rb
410
474
  - spec/netsuite/records/pricing_matrix_spec.rb
411
475
  - spec/netsuite/records/record_ref_spec.rb
412
476
  - spec/netsuite/records/return_authorization_item_list_spec.rb
@@ -416,13 +480,17 @@ files:
416
480
  - spec/netsuite/records/sales_order_item_spec.rb
417
481
  - spec/netsuite/records/sales_order_spec.rb
418
482
  - spec/netsuite/records/sales_tax_item_spec.rb
483
+ - spec/netsuite/records/service_resale_item_spec.rb
419
484
  - spec/netsuite/records/service_sale_item_spec.rb
420
485
  - spec/netsuite/records/ship_address_spec.rb
421
486
  - spec/netsuite/records/site_category_spec.rb
422
487
  - spec/netsuite/records/subsidiary_spec.rb
423
488
  - spec/netsuite/records/support_case_spec.rb
489
+ - spec/netsuite/records/support_case_type_spec.rb
424
490
  - spec/netsuite/records/tax_type_spec.rb
425
491
  - spec/netsuite/records/term_spec.rb
492
+ - spec/netsuite/records/transaction_body_custom_field_spec.rb
493
+ - spec/netsuite/records/transaction_column_custom_field_spec.rb
426
494
  - spec/netsuite/records/units_type_spec.rb
427
495
  - spec/netsuite/records/units_type_uom_list_spec.rb
428
496
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -431,6 +499,7 @@ files:
431
499
  - spec/netsuite/records/vendor_bill_item_list_spec.rb
432
500
  - spec/netsuite/records/vendor_bill_item_spec.rb
433
501
  - spec/netsuite/records/vendor_bill_spec.rb
502
+ - spec/netsuite/records/vendor_credit_spec.rb
434
503
  - spec/netsuite/records/vendor_payment_apply_list_spec.rb
435
504
  - spec/netsuite/records/vendor_payment_apply_spec.rb
436
505
  - spec/netsuite/records/vendor_payment_spec.rb
@@ -445,6 +514,7 @@ files:
445
514
  - spec/netsuite/support/record_refs_spec.rb
446
515
  - spec/netsuite/support/records_spec.rb
447
516
  - spec/netsuite/support/requests_spec.rb
517
+ - spec/netsuite/support/search_result_spec.rb
448
518
  - spec/netsuite/support/sublist_spec.rb
449
519
  - spec/netsuite/utilities/data_center_spec.rb
450
520
  - spec/netsuite/utilities/request_spec.rb
@@ -475,6 +545,9 @@ files:
475
545
  - spec/support/fixtures/update/update_customer_error.xml
476
546
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
477
547
  - spec/support/fixtures/update/update_invoice.xml
548
+ - spec/support/fixtures/update_list/update_list_items.xml
549
+ - spec/support/fixtures/update_list/update_list_one_item.xml
550
+ - spec/support/fixtures/update_list/update_list_with_errors.xml
478
551
  - spec/support/fixtures/upsert/upsert_customer.xml
479
552
  - spec/support/fixtures/upsert/upsert_invoice.xml
480
553
  - spec/support/fixtures/upsert/upsert_invoice_error.xml
@@ -486,9 +559,10 @@ files:
486
559
  - spec/support/record_ref_matcher.rb
487
560
  - spec/support/savon.rb
488
561
  homepage: https://github.com/NetSweet/netsuite
489
- licenses: []
562
+ licenses:
563
+ - MIT
490
564
  metadata: {}
491
- post_install_message:
565
+ post_install_message:
492
566
  rdoc_options: []
493
567
  require_paths:
494
568
  - lib
@@ -503,9 +577,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
503
577
  - !ruby/object:Gem::Version
504
578
  version: '0'
505
579
  requirements: []
506
- rubyforge_project:
507
- rubygems_version: 2.5.1
508
- signing_key:
580
+ rubygems_version: 3.1.6
581
+ signing_key:
509
582
  specification_version: 4
510
583
  summary: NetSuite SuiteTalk API (SOAP) Wrapper
511
584
  test_files:
@@ -519,6 +592,7 @@ test_files:
519
592
  - spec/netsuite/actions/login_spec.rb
520
593
  - spec/netsuite/actions/refresh_spec.rb
521
594
  - spec/netsuite/actions/search_spec.rb
595
+ - spec/netsuite/actions/update_list_spec.rb
522
596
  - spec/netsuite/actions/update_spec.rb
523
597
  - spec/netsuite/actions/upsert_list_spec.rb
524
598
  - spec/netsuite/actions/upsert_spec.rb
@@ -534,6 +608,7 @@ test_files:
534
608
  - spec/netsuite/records/billing_schedule_recurrence_list_spec.rb
535
609
  - spec/netsuite/records/billing_schedule_recurrence_spec.rb
536
610
  - spec/netsuite/records/billing_schedule_spec.rb
611
+ - spec/netsuite/records/bin_number_spec.rb
537
612
  - spec/netsuite/records/campaign_spec.rb
538
613
  - spec/netsuite/records/cash_refund_item_list_spec.rb
539
614
  - spec/netsuite/records/cash_refund_item_spec.rb
@@ -556,23 +631,35 @@ test_files:
556
631
  - spec/netsuite/records/custom_record_type_spec.rb
557
632
  - spec/netsuite/records/customer_addressbook_list_spec.rb
558
633
  - spec/netsuite/records/customer_addressbook_spec.rb
634
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
559
635
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
636
+ - spec/netsuite/records/customer_payment_credit_list_spec.rb
560
637
  - spec/netsuite/records/customer_payment_spec.rb
561
638
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
562
639
  - spec/netsuite/records/customer_refund_apply_spec.rb
563
640
  - spec/netsuite/records/customer_refund_deposit_list_spec.rb
564
641
  - spec/netsuite/records/customer_refund_deposit_spec.rb
565
642
  - spec/netsuite/records/customer_refund_spec.rb
643
+ - spec/netsuite/records/customer_sales_team_list_spec.rb
566
644
  - spec/netsuite/records/customer_spec.rb
645
+ - spec/netsuite/records/customer_subscription_spec.rb
646
+ - spec/netsuite/records/customer_subscriptions_list_spec.rb
567
647
  - spec/netsuite/records/department_spec.rb
568
648
  - spec/netsuite/records/deposit_spec.rb
569
649
  - spec/netsuite/records/discount_item_spec.rb
570
650
  - spec/netsuite/records/duration_spec.rb
571
651
  - spec/netsuite/records/employee_spec.rb
652
+ - spec/netsuite/records/entity_custom_field_spec.rb
653
+ - spec/netsuite/records/estimate_item_list_spec.rb
654
+ - spec/netsuite/records/estimate_item_spec.rb
655
+ - spec/netsuite/records/estimate_spec.rb
572
656
  - spec/netsuite/records/file_spec.rb
573
657
  - spec/netsuite/records/folder_spec.rb
574
658
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
575
659
  - spec/netsuite/records/gift_cert_redemption_spec.rb
660
+ - spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
661
+ - spec/netsuite/records/inter_company_journal_entry_line_spec.rb
662
+ - spec/netsuite/records/inter_company_journal_entry_spec.rb
576
663
  - spec/netsuite/records/inventory_assignment_list_spec.rb
577
664
  - spec/netsuite/records/inventory_assignment_spec.rb
578
665
  - spec/netsuite/records/inventory_detail_spec.rb
@@ -594,13 +681,17 @@ test_files:
594
681
  - spec/netsuite/records/kit_item_spec.rb
595
682
  - spec/netsuite/records/location_spec.rb
596
683
  - spec/netsuite/records/matrix_option_list_spec.rb
684
+ - spec/netsuite/records/message_spec.rb
685
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
597
686
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
598
687
  - spec/netsuite/records/note_spec.rb
599
688
  - spec/netsuite/records/note_type_spec.rb
689
+ - spec/netsuite/records/partner_spec.rb
600
690
  - spec/netsuite/records/payment_item_spec.rb
601
691
  - spec/netsuite/records/payment_method_spec.rb
602
692
  - spec/netsuite/records/phone_call_spec.rb
603
693
  - spec/netsuite/records/pomo_code_spec.rb
694
+ - spec/netsuite/records/price_level_spec.rb
604
695
  - spec/netsuite/records/pricing_matrix_spec.rb
605
696
  - spec/netsuite/records/record_ref_spec.rb
606
697
  - spec/netsuite/records/return_authorization_item_list_spec.rb
@@ -610,13 +701,17 @@ test_files:
610
701
  - spec/netsuite/records/sales_order_item_spec.rb
611
702
  - spec/netsuite/records/sales_order_spec.rb
612
703
  - spec/netsuite/records/sales_tax_item_spec.rb
704
+ - spec/netsuite/records/service_resale_item_spec.rb
613
705
  - spec/netsuite/records/service_sale_item_spec.rb
614
706
  - spec/netsuite/records/ship_address_spec.rb
615
707
  - spec/netsuite/records/site_category_spec.rb
616
708
  - spec/netsuite/records/subsidiary_spec.rb
617
709
  - spec/netsuite/records/support_case_spec.rb
710
+ - spec/netsuite/records/support_case_type_spec.rb
618
711
  - spec/netsuite/records/tax_type_spec.rb
619
712
  - spec/netsuite/records/term_spec.rb
713
+ - spec/netsuite/records/transaction_body_custom_field_spec.rb
714
+ - spec/netsuite/records/transaction_column_custom_field_spec.rb
620
715
  - spec/netsuite/records/units_type_spec.rb
621
716
  - spec/netsuite/records/units_type_uom_list_spec.rb
622
717
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -625,6 +720,7 @@ test_files:
625
720
  - spec/netsuite/records/vendor_bill_item_list_spec.rb
626
721
  - spec/netsuite/records/vendor_bill_item_spec.rb
627
722
  - spec/netsuite/records/vendor_bill_spec.rb
723
+ - spec/netsuite/records/vendor_credit_spec.rb
628
724
  - spec/netsuite/records/vendor_payment_apply_list_spec.rb
629
725
  - spec/netsuite/records/vendor_payment_apply_spec.rb
630
726
  - spec/netsuite/records/vendor_payment_spec.rb
@@ -639,6 +735,7 @@ test_files:
639
735
  - spec/netsuite/support/record_refs_spec.rb
640
736
  - spec/netsuite/support/records_spec.rb
641
737
  - spec/netsuite/support/requests_spec.rb
738
+ - spec/netsuite/support/search_result_spec.rb
642
739
  - spec/netsuite/support/sublist_spec.rb
643
740
  - spec/netsuite/utilities/data_center_spec.rb
644
741
  - spec/netsuite/utilities/request_spec.rb
@@ -669,6 +766,9 @@ test_files:
669
766
  - spec/support/fixtures/update/update_customer_error.xml
670
767
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
671
768
  - spec/support/fixtures/update/update_invoice.xml
769
+ - spec/support/fixtures/update_list/update_list_items.xml
770
+ - spec/support/fixtures/update_list/update_list_one_item.xml
771
+ - spec/support/fixtures/update_list/update_list_with_errors.xml
672
772
  - spec/support/fixtures/upsert/upsert_customer.xml
673
773
  - spec/support/fixtures/upsert/upsert_invoice.xml
674
774
  - spec/support/fixtures/upsert/upsert_invoice_error.xml