netsuite 0.7.9 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/Gemfile +7 -2
  5. data/README.md +164 -61
  6. data/circle.yml +33 -13
  7. data/lib/netsuite.rb +55 -19
  8. data/lib/netsuite/actions/login.rb +20 -1
  9. data/lib/netsuite/actions/search.rb +1 -6
  10. data/lib/netsuite/actions/update.rb +6 -2
  11. data/lib/netsuite/actions/update_list.rb +109 -0
  12. data/lib/netsuite/actions/upsert.rb +2 -0
  13. data/lib/netsuite/configuration.rb +21 -4
  14. data/lib/netsuite/errors.rb +3 -0
  15. data/lib/netsuite/records/assembly_build.rb +39 -0
  16. data/lib/netsuite/records/assembly_component.rb +28 -0
  17. data/lib/netsuite/records/assembly_component_list.rb +12 -0
  18. data/lib/netsuite/records/assembly_item.rb +1 -0
  19. data/lib/netsuite/records/assembly_unbuild.rb +40 -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.rb +101 -3
  26. data/lib/netsuite/records/cash_refund_item.rb +1 -1
  27. data/lib/netsuite/records/cash_sale.rb +1 -0
  28. data/lib/netsuite/records/classification.rb +5 -2
  29. data/lib/netsuite/records/contact.rb +2 -1
  30. data/lib/netsuite/records/contact_addressbook.rb +64 -0
  31. data/lib/netsuite/records/contact_addressbook_list.rb +11 -0
  32. data/lib/netsuite/records/credit_memo.rb +1 -0
  33. data/lib/netsuite/records/currency_rate.rb +4 -3
  34. data/lib/netsuite/records/custom_field_list.rb +16 -3
  35. data/lib/netsuite/records/custom_record.rb +3 -3
  36. data/lib/netsuite/records/custom_record_ref.rb +1 -0
  37. data/lib/netsuite/records/customer.rb +5 -4
  38. data/lib/netsuite/records/customer_credit_cards.rb +36 -0
  39. data/lib/netsuite/records/customer_credit_cards_list.rb +10 -0
  40. data/lib/netsuite/records/customer_deposit.rb +6 -2
  41. data/lib/netsuite/records/customer_deposit_apply.rb +17 -0
  42. data/lib/netsuite/records/customer_deposit_apply_list.rb +12 -0
  43. data/lib/netsuite/records/customer_payment.rb +1 -0
  44. data/lib/netsuite/records/customer_sales_team.rb +24 -0
  45. data/lib/netsuite/records/customer_sales_team_list.rb +9 -0
  46. data/lib/netsuite/records/customer_status.rb +29 -0
  47. data/lib/netsuite/records/customer_subscription.rb +18 -0
  48. data/lib/netsuite/records/customer_subscriptions_list.rb +10 -0
  49. data/lib/netsuite/records/deposit_other.rb +0 -10
  50. data/lib/netsuite/records/employee.rb +3 -2
  51. data/lib/netsuite/records/entity_custom_field.rb +53 -0
  52. data/lib/netsuite/records/estimate.rb +42 -0
  53. data/lib/netsuite/records/estimate_item.rb +40 -0
  54. data/lib/netsuite/records/estimate_item_list.rb +11 -0
  55. data/lib/netsuite/records/inbound_shipment.rb +33 -0
  56. data/lib/netsuite/records/inbound_shipment_item.rb +39 -0
  57. data/lib/netsuite/records/inbound_shipment_item_list.rb +11 -0
  58. data/lib/netsuite/records/inter_company_journal_entry.rb +48 -0
  59. data/lib/netsuite/records/inter_company_journal_entry_line.rb +28 -0
  60. data/lib/netsuite/records/inter_company_journal_entry_line_list.rb +14 -0
  61. data/lib/netsuite/records/inventory_adjustment.rb +1 -1
  62. data/lib/netsuite/records/inventory_adjustment_inventory.rb +2 -2
  63. data/lib/netsuite/records/inventory_item.rb +2 -2
  64. data/lib/netsuite/records/inventory_number.rb +35 -0
  65. data/lib/netsuite/records/inventory_number_locations.rb +16 -0
  66. data/lib/netsuite/records/inventory_number_locations_list.rb +10 -0
  67. data/lib/netsuite/records/inventory_transfer.rb +2 -2
  68. data/lib/netsuite/records/inventory_transfer_inventory_list.rb +0 -2
  69. data/lib/netsuite/records/invoice.rb +4 -4
  70. data/lib/netsuite/records/item_fulfillment.rb +2 -1
  71. data/lib/netsuite/records/job.rb +2 -1
  72. data/lib/netsuite/records/lot_numbered_assembly_item.rb +64 -0
  73. data/lib/netsuite/records/lot_numbered_inventory_item.rb +116 -0
  74. data/lib/netsuite/records/matrix_option_list.rb +12 -4
  75. data/lib/netsuite/records/message.rb +30 -0
  76. data/lib/netsuite/records/non_inventory_resale_item.rb +3 -2
  77. data/lib/netsuite/records/non_inventory_sale_item.rb +2 -1
  78. data/lib/netsuite/records/other_charge_sale_item.rb +2 -2
  79. data/lib/netsuite/records/partner.rb +1 -1
  80. data/lib/netsuite/records/price.rb +17 -0
  81. data/lib/netsuite/records/price_level.rb +26 -0
  82. data/lib/netsuite/records/price_list.rb +9 -0
  83. data/lib/netsuite/records/pricing.rb +20 -0
  84. data/lib/netsuite/records/pricing_matrix.rb +2 -2
  85. data/lib/netsuite/records/promotions.rb +26 -0
  86. data/lib/netsuite/records/promotions_list.rb +9 -0
  87. data/lib/netsuite/records/return_authorization.rb +3 -2
  88. data/lib/netsuite/records/return_authorization_item.rb +43 -0
  89. data/lib/netsuite/records/return_authorization_item_list.rb +11 -0
  90. data/lib/netsuite/records/sales_order.rb +1 -0
  91. data/lib/netsuite/records/sales_order_item.rb +12 -5
  92. data/lib/netsuite/records/sales_role.rb +26 -0
  93. data/lib/netsuite/records/sales_tax_item.rb +3 -1
  94. data/lib/netsuite/records/serialized_assembly_item.rb +239 -0
  95. data/lib/netsuite/records/serialized_inventory_item.rb +2 -2
  96. data/lib/netsuite/records/serialized_inventory_item_location.rb +37 -0
  97. data/lib/netsuite/records/serialized_inventory_item_locations_list.rb +10 -0
  98. data/lib/netsuite/records/serialized_inventory_item_numbers.rb +15 -0
  99. data/lib/netsuite/records/serialized_inventory_item_numbers_list.rb +10 -0
  100. data/lib/netsuite/records/service_resale_item.rb +1 -1
  101. data/lib/netsuite/records/service_sale_item.rb +2 -1
  102. data/lib/netsuite/records/subsidiary.rb +1 -0
  103. data/lib/netsuite/records/support_case.rb +1 -1
  104. data/lib/netsuite/records/support_case_type.rb +26 -0
  105. data/lib/netsuite/records/task.rb +2 -1
  106. data/lib/netsuite/records/tax_group.rb +3 -1
  107. data/lib/netsuite/records/transaction_body_custom_field.rb +61 -0
  108. data/lib/netsuite/records/transaction_column_custom_field.rb +59 -0
  109. data/lib/netsuite/records/transfer_order_item.rb +2 -2
  110. data/lib/netsuite/records/vendor.rb +1 -0
  111. data/lib/netsuite/records/vendor_bill.rb +2 -1
  112. data/lib/netsuite/records/vendor_credit.rb +2 -0
  113. data/lib/netsuite/records/work_order.rb +8 -0
  114. data/lib/netsuite/support/actions.rb +2 -0
  115. data/lib/netsuite/support/country.rb +27 -14
  116. data/lib/netsuite/support/search_result.rb +20 -5
  117. data/lib/netsuite/utilities.rb +100 -43
  118. data/lib/netsuite/version.rb +2 -2
  119. data/netsuite.gemspec +5 -4
  120. data/spec/netsuite/actions/login_spec.rb +23 -0
  121. data/spec/netsuite/actions/update_list_spec.rb +107 -0
  122. data/spec/netsuite/actions/update_spec.rb +42 -0
  123. data/spec/netsuite/configuration_spec.rb +79 -6
  124. data/spec/netsuite/records/address_spec.rb +10 -0
  125. data/spec/netsuite/records/basic_record_spec.rb +18 -1
  126. data/spec/netsuite/records/bin_number_spec.rb +23 -0
  127. data/spec/netsuite/records/classification_spec.rb +10 -1
  128. data/spec/netsuite/records/custom_field_list_spec.rb +46 -5
  129. data/spec/netsuite/records/custom_record_spec.rb +1 -1
  130. data/spec/netsuite/records/customer_credit_cards_list_spec.rb +23 -0
  131. data/spec/netsuite/records/customer_sales_team_list_spec.rb +41 -0
  132. data/spec/netsuite/records/customer_spec.rb +44 -2
  133. data/spec/netsuite/records/customer_subscription_spec.rb +41 -0
  134. data/spec/netsuite/records/customer_subscriptions_list_spec.rb +19 -0
  135. data/spec/netsuite/records/employee_spec.rb +2 -2
  136. data/spec/netsuite/records/entity_custom_field_spec.rb +34 -0
  137. data/spec/netsuite/records/estimate_item_list_spec.rb +26 -0
  138. data/spec/netsuite/records/estimate_item_spec.rb +40 -0
  139. data/spec/netsuite/records/estimate_spec.rb +216 -0
  140. data/spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb +26 -0
  141. data/spec/netsuite/records/inter_company_journal_entry_line_spec.rb +60 -0
  142. data/spec/netsuite/records/inter_company_journal_entry_spec.rb +156 -0
  143. data/spec/netsuite/records/inventory_item_spec.rb +57 -0
  144. data/spec/netsuite/records/inventory_transfer_spec.rb +21 -0
  145. data/spec/netsuite/records/invoice_spec.rb +4 -4
  146. data/spec/netsuite/records/matrix_option_list_spec.rb +15 -5
  147. data/spec/netsuite/records/message_spec.rb +49 -0
  148. data/spec/netsuite/records/non_inventory_resale_item_spec.rb +165 -0
  149. data/spec/netsuite/records/non_inventory_sale_item_spec.rb +1 -1
  150. data/spec/netsuite/records/partner_spec.rb +141 -0
  151. data/spec/netsuite/records/price_level_spec.rb +16 -0
  152. data/spec/netsuite/records/pricing_matrix_spec.rb +15 -13
  153. data/spec/netsuite/records/return_authorization_item_list_spec.rb +26 -0
  154. data/spec/netsuite/records/return_authorization_item_spec.rb +43 -0
  155. data/spec/netsuite/records/sales_order_item_spec.rb +11 -5
  156. data/spec/netsuite/records/service_resale_item_spec.rb +134 -0
  157. data/spec/netsuite/records/support_case_type_spec.rb +22 -0
  158. data/spec/netsuite/records/transaction_body_custom_field_spec.rb +32 -0
  159. data/spec/netsuite/records/transaction_column_custom_field_spec.rb +32 -0
  160. data/spec/netsuite/records/vendor_credit_spec.rb +29 -0
  161. data/spec/netsuite/support/search_result_spec.rb +24 -0
  162. data/spec/netsuite/utilities_spec.rb +50 -0
  163. data/spec/spec_helper.rb +5 -4
  164. data/spec/support/fixtures/update_list/update_list_items.xml +22 -0
  165. data/spec/support/fixtures/update_list/update_list_one_item.xml +18 -0
  166. data/spec/support/fixtures/update_list/update_list_with_errors.xml +32 -0
  167. metadata +123 -8
@@ -1,5 +1,10 @@
1
1
  $LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..') ))
2
2
 
3
+ require "rubygems"
4
+ require "bundler/setup"
5
+
6
+ Bundler.require
7
+
3
8
  # https://circleci.com/docs/code-coverage
4
9
  if ENV['CIRCLE_ARTIFACTS']
5
10
  require 'simplecov'
@@ -8,10 +13,6 @@ if ENV['CIRCLE_ARTIFACTS']
8
13
  SimpleCov.start
9
14
  end
10
15
 
11
- require 'rspec'
12
- require 'netsuite'
13
- require 'pry'
14
-
15
16
  # Requires supporting ruby files with custom matchers and macros, etc,
16
17
  # in spec/support/ and its subdirectories.
17
18
  Dir['spec/support/**/*.rb'].each { |f| require f }
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-21 00:00:00.000000000 Z
12
+ date: 2020-09-23 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: []
@@ -68,6 +74,7 @@ files:
68
74
  - lib/netsuite/actions/login.rb
69
75
  - lib/netsuite/actions/search.rb
70
76
  - lib/netsuite/actions/update.rb
77
+ - lib/netsuite/actions/update_list.rb
71
78
  - lib/netsuite/actions/upsert.rb
72
79
  - lib/netsuite/actions/upsert_list.rb
73
80
  - lib/netsuite/configuration.rb
@@ -97,7 +104,11 @@ files:
97
104
  - lib/netsuite/records/account.rb
98
105
  - lib/netsuite/records/accounting_period.rb
99
106
  - lib/netsuite/records/address.rb
107
+ - lib/netsuite/records/assembly_build.rb
108
+ - lib/netsuite/records/assembly_component.rb
109
+ - lib/netsuite/records/assembly_component_list.rb
100
110
  - lib/netsuite/records/assembly_item.rb
111
+ - lib/netsuite/records/assembly_unbuild.rb
101
112
  - lib/netsuite/records/base_ref_list.rb
102
113
  - lib/netsuite/records/bill_address.rb
103
114
  - lib/netsuite/records/billing_schedule.rb
@@ -106,7 +117,11 @@ files:
106
117
  - lib/netsuite/records/billing_schedule_recurrence.rb
107
118
  - lib/netsuite/records/billing_schedule_recurrence_list.rb
108
119
  - lib/netsuite/records/bin.rb
120
+ - lib/netsuite/records/bin_number.rb
109
121
  - lib/netsuite/records/bin_number_list.rb
122
+ - lib/netsuite/records/bin_transfer.rb
123
+ - lib/netsuite/records/bin_transfer_inventory.rb
124
+ - lib/netsuite/records/bin_transfer_inventory_list.rb
110
125
  - lib/netsuite/records/campaign.rb
111
126
  - lib/netsuite/records/cash_refund.rb
112
127
  - lib/netsuite/records/cash_refund_item.rb
@@ -118,6 +133,8 @@ files:
118
133
  - lib/netsuite/records/contact.rb
119
134
  - lib/netsuite/records/contact_access_roles.rb
120
135
  - lib/netsuite/records/contact_access_roles_list.rb
136
+ - lib/netsuite/records/contact_addressbook.rb
137
+ - lib/netsuite/records/contact_addressbook_list.rb
121
138
  - lib/netsuite/records/contact_list.rb
122
139
  - lib/netsuite/records/contact_role.rb
123
140
  - lib/netsuite/records/credit_memo.rb
@@ -139,9 +156,13 @@ files:
139
156
  - lib/netsuite/records/customer_addressbook.rb
140
157
  - lib/netsuite/records/customer_addressbook_list.rb
141
158
  - lib/netsuite/records/customer_category.rb
159
+ - lib/netsuite/records/customer_credit_cards.rb
160
+ - lib/netsuite/records/customer_credit_cards_list.rb
142
161
  - lib/netsuite/records/customer_currency.rb
143
162
  - lib/netsuite/records/customer_currency_list.rb
144
163
  - lib/netsuite/records/customer_deposit.rb
164
+ - lib/netsuite/records/customer_deposit_apply.rb
165
+ - lib/netsuite/records/customer_deposit_apply_list.rb
145
166
  - lib/netsuite/records/customer_partner.rb
146
167
  - lib/netsuite/records/customer_partners_list.rb
147
168
  - lib/netsuite/records/customer_payment.rb
@@ -152,6 +173,11 @@ files:
152
173
  - lib/netsuite/records/customer_refund_apply_list.rb
153
174
  - lib/netsuite/records/customer_refund_deposit.rb
154
175
  - lib/netsuite/records/customer_refund_deposit_list.rb
176
+ - lib/netsuite/records/customer_sales_team.rb
177
+ - lib/netsuite/records/customer_sales_team_list.rb
178
+ - lib/netsuite/records/customer_status.rb
179
+ - lib/netsuite/records/customer_subscription.rb
180
+ - lib/netsuite/records/customer_subscriptions_list.rb
155
181
  - lib/netsuite/records/department.rb
156
182
  - lib/netsuite/records/deposit.rb
157
183
  - lib/netsuite/records/deposit_application.rb
@@ -165,12 +191,22 @@ files:
165
191
  - lib/netsuite/records/discount_item.rb
166
192
  - lib/netsuite/records/duration.rb
167
193
  - lib/netsuite/records/employee.rb
194
+ - lib/netsuite/records/entity_custom_field.rb
195
+ - lib/netsuite/records/estimate.rb
196
+ - lib/netsuite/records/estimate_item.rb
197
+ - lib/netsuite/records/estimate_item_list.rb
168
198
  - lib/netsuite/records/file.rb
169
199
  - lib/netsuite/records/folder.rb
170
200
  - lib/netsuite/records/gift_cert_redemption.rb
171
201
  - lib/netsuite/records/gift_cert_redemption_list.rb
172
202
  - lib/netsuite/records/gift_certificate.rb
173
203
  - lib/netsuite/records/gift_certificate_item.rb
204
+ - lib/netsuite/records/inbound_shipment.rb
205
+ - lib/netsuite/records/inbound_shipment_item.rb
206
+ - lib/netsuite/records/inbound_shipment_item_list.rb
207
+ - lib/netsuite/records/inter_company_journal_entry.rb
208
+ - lib/netsuite/records/inter_company_journal_entry_line.rb
209
+ - lib/netsuite/records/inter_company_journal_entry_line_list.rb
174
210
  - lib/netsuite/records/inventory_adjustment.rb
175
211
  - lib/netsuite/records/inventory_adjustment_inventory.rb
176
212
  - lib/netsuite/records/inventory_adjustment_inventory_list.rb
@@ -178,6 +214,9 @@ files:
178
214
  - lib/netsuite/records/inventory_assignment_list.rb
179
215
  - lib/netsuite/records/inventory_detail.rb
180
216
  - lib/netsuite/records/inventory_item.rb
217
+ - lib/netsuite/records/inventory_number.rb
218
+ - lib/netsuite/records/inventory_number_locations.rb
219
+ - lib/netsuite/records/inventory_number_locations_list.rb
181
220
  - lib/netsuite/records/inventory_transfer.rb
182
221
  - lib/netsuite/records/inventory_transfer_inventory.rb
183
222
  - lib/netsuite/records/inventory_transfer_inventory_list.rb
@@ -205,8 +244,11 @@ files:
205
244
  - lib/netsuite/records/kit_item.rb
206
245
  - lib/netsuite/records/location.rb
207
246
  - lib/netsuite/records/locations_list.rb
247
+ - lib/netsuite/records/lot_numbered_assembly_item.rb
248
+ - lib/netsuite/records/lot_numbered_inventory_item.rb
208
249
  - lib/netsuite/records/matrix_option_list.rb
209
250
  - lib/netsuite/records/member_list.rb
251
+ - lib/netsuite/records/message.rb
210
252
  - lib/netsuite/records/non_inventory_purchase_item.rb
211
253
  - lib/netsuite/records/non_inventory_resale_item.rb
212
254
  - lib/netsuite/records/non_inventory_sale_item.rb
@@ -221,14 +263,22 @@ files:
221
263
  - lib/netsuite/records/payment_method.rb
222
264
  - lib/netsuite/records/payroll_item.rb
223
265
  - lib/netsuite/records/phone_call.rb
266
+ - lib/netsuite/records/price.rb
267
+ - lib/netsuite/records/price_level.rb
268
+ - lib/netsuite/records/price_list.rb
269
+ - lib/netsuite/records/pricing.rb
224
270
  - lib/netsuite/records/pricing_matrix.rb
225
271
  - lib/netsuite/records/promotion_code.rb
272
+ - lib/netsuite/records/promotions.rb
273
+ - lib/netsuite/records/promotions_list.rb
226
274
  - lib/netsuite/records/purchase_order.rb
227
275
  - lib/netsuite/records/purchase_order_item.rb
228
276
  - lib/netsuite/records/purchase_order_item_list.rb
229
277
  - lib/netsuite/records/record_ref.rb
230
278
  - lib/netsuite/records/record_ref_list.rb
231
279
  - lib/netsuite/records/return_authorization.rb
280
+ - lib/netsuite/records/return_authorization_item.rb
281
+ - lib/netsuite/records/return_authorization_item_list.rb
232
282
  - lib/netsuite/records/rev_rec_schedule.rb
233
283
  - lib/netsuite/records/rev_rec_template.rb
234
284
  - lib/netsuite/records/role_list.rb
@@ -237,8 +287,14 @@ files:
237
287
  - lib/netsuite/records/sales_order_item.rb
238
288
  - lib/netsuite/records/sales_order_item_list.rb
239
289
  - lib/netsuite/records/sales_order_ship_group_list.rb
290
+ - lib/netsuite/records/sales_role.rb
240
291
  - lib/netsuite/records/sales_tax_item.rb
292
+ - lib/netsuite/records/serialized_assembly_item.rb
241
293
  - lib/netsuite/records/serialized_inventory_item.rb
294
+ - lib/netsuite/records/serialized_inventory_item_location.rb
295
+ - lib/netsuite/records/serialized_inventory_item_locations_list.rb
296
+ - lib/netsuite/records/serialized_inventory_item_numbers.rb
297
+ - lib/netsuite/records/serialized_inventory_item_numbers_list.rb
242
298
  - lib/netsuite/records/service_resale_item.rb
243
299
  - lib/netsuite/records/service_sale_item.rb
244
300
  - lib/netsuite/records/ship_address.rb
@@ -246,11 +302,14 @@ files:
246
302
  - lib/netsuite/records/subsidiary.rb
247
303
  - lib/netsuite/records/subtotal_item.rb
248
304
  - lib/netsuite/records/support_case.rb
305
+ - lib/netsuite/records/support_case_type.rb
249
306
  - lib/netsuite/records/task.rb
250
307
  - lib/netsuite/records/tax_group.rb
251
308
  - lib/netsuite/records/tax_type.rb
252
309
  - lib/netsuite/records/term.rb
253
310
  - lib/netsuite/records/time_bill.rb
311
+ - lib/netsuite/records/transaction_body_custom_field.rb
312
+ - lib/netsuite/records/transaction_column_custom_field.rb
254
313
  - lib/netsuite/records/transaction_ship_group.rb
255
314
  - lib/netsuite/records/transfer_order.rb
256
315
  - lib/netsuite/records/transfer_order_item.rb
@@ -307,6 +366,7 @@ files:
307
366
  - spec/netsuite/actions/login_spec.rb
308
367
  - spec/netsuite/actions/refresh_spec.rb
309
368
  - spec/netsuite/actions/search_spec.rb
369
+ - spec/netsuite/actions/update_list_spec.rb
310
370
  - spec/netsuite/actions/update_spec.rb
311
371
  - spec/netsuite/actions/upsert_list_spec.rb
312
372
  - spec/netsuite/actions/upsert_spec.rb
@@ -322,6 +382,7 @@ files:
322
382
  - spec/netsuite/records/billing_schedule_recurrence_list_spec.rb
323
383
  - spec/netsuite/records/billing_schedule_recurrence_spec.rb
324
384
  - spec/netsuite/records/billing_schedule_spec.rb
385
+ - spec/netsuite/records/bin_number_spec.rb
325
386
  - spec/netsuite/records/campaign_spec.rb
326
387
  - spec/netsuite/records/cash_refund_item_list_spec.rb
327
388
  - spec/netsuite/records/cash_refund_item_spec.rb
@@ -344,6 +405,7 @@ files:
344
405
  - spec/netsuite/records/custom_record_type_spec.rb
345
406
  - spec/netsuite/records/customer_addressbook_list_spec.rb
346
407
  - spec/netsuite/records/customer_addressbook_spec.rb
408
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
347
409
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
348
410
  - spec/netsuite/records/customer_payment_spec.rb
349
411
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
@@ -351,16 +413,26 @@ files:
351
413
  - spec/netsuite/records/customer_refund_deposit_list_spec.rb
352
414
  - spec/netsuite/records/customer_refund_deposit_spec.rb
353
415
  - spec/netsuite/records/customer_refund_spec.rb
416
+ - spec/netsuite/records/customer_sales_team_list_spec.rb
354
417
  - spec/netsuite/records/customer_spec.rb
418
+ - spec/netsuite/records/customer_subscription_spec.rb
419
+ - spec/netsuite/records/customer_subscriptions_list_spec.rb
355
420
  - spec/netsuite/records/department_spec.rb
356
421
  - spec/netsuite/records/deposit_spec.rb
357
422
  - spec/netsuite/records/discount_item_spec.rb
358
423
  - spec/netsuite/records/duration_spec.rb
359
424
  - spec/netsuite/records/employee_spec.rb
425
+ - spec/netsuite/records/entity_custom_field_spec.rb
426
+ - spec/netsuite/records/estimate_item_list_spec.rb
427
+ - spec/netsuite/records/estimate_item_spec.rb
428
+ - spec/netsuite/records/estimate_spec.rb
360
429
  - spec/netsuite/records/file_spec.rb
361
430
  - spec/netsuite/records/folder_spec.rb
362
431
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
363
432
  - spec/netsuite/records/gift_cert_redemption_spec.rb
433
+ - spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
434
+ - spec/netsuite/records/inter_company_journal_entry_line_spec.rb
435
+ - spec/netsuite/records/inter_company_journal_entry_spec.rb
364
436
  - spec/netsuite/records/inventory_assignment_list_spec.rb
365
437
  - spec/netsuite/records/inventory_assignment_spec.rb
366
438
  - spec/netsuite/records/inventory_detail_spec.rb
@@ -382,27 +454,37 @@ files:
382
454
  - spec/netsuite/records/kit_item_spec.rb
383
455
  - spec/netsuite/records/location_spec.rb
384
456
  - spec/netsuite/records/matrix_option_list_spec.rb
457
+ - spec/netsuite/records/message_spec.rb
458
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
385
459
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
386
460
  - spec/netsuite/records/note_spec.rb
387
461
  - spec/netsuite/records/note_type_spec.rb
462
+ - spec/netsuite/records/partner_spec.rb
388
463
  - spec/netsuite/records/payment_item_spec.rb
389
464
  - spec/netsuite/records/payment_method_spec.rb
390
465
  - spec/netsuite/records/phone_call_spec.rb
391
466
  - spec/netsuite/records/pomo_code_spec.rb
467
+ - spec/netsuite/records/price_level_spec.rb
392
468
  - spec/netsuite/records/pricing_matrix_spec.rb
393
469
  - spec/netsuite/records/record_ref_spec.rb
470
+ - spec/netsuite/records/return_authorization_item_list_spec.rb
471
+ - spec/netsuite/records/return_authorization_item_spec.rb
394
472
  - spec/netsuite/records/rev_rec_template_spec.rb
395
473
  - spec/netsuite/records/sales_order_item_list_spec.rb
396
474
  - spec/netsuite/records/sales_order_item_spec.rb
397
475
  - spec/netsuite/records/sales_order_spec.rb
398
476
  - spec/netsuite/records/sales_tax_item_spec.rb
477
+ - spec/netsuite/records/service_resale_item_spec.rb
399
478
  - spec/netsuite/records/service_sale_item_spec.rb
400
479
  - spec/netsuite/records/ship_address_spec.rb
401
480
  - spec/netsuite/records/site_category_spec.rb
402
481
  - spec/netsuite/records/subsidiary_spec.rb
403
482
  - spec/netsuite/records/support_case_spec.rb
483
+ - spec/netsuite/records/support_case_type_spec.rb
404
484
  - spec/netsuite/records/tax_type_spec.rb
405
485
  - spec/netsuite/records/term_spec.rb
486
+ - spec/netsuite/records/transaction_body_custom_field_spec.rb
487
+ - spec/netsuite/records/transaction_column_custom_field_spec.rb
406
488
  - spec/netsuite/records/units_type_spec.rb
407
489
  - spec/netsuite/records/units_type_uom_list_spec.rb
408
490
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -411,6 +493,7 @@ files:
411
493
  - spec/netsuite/records/vendor_bill_item_list_spec.rb
412
494
  - spec/netsuite/records/vendor_bill_item_spec.rb
413
495
  - spec/netsuite/records/vendor_bill_spec.rb
496
+ - spec/netsuite/records/vendor_credit_spec.rb
414
497
  - spec/netsuite/records/vendor_payment_apply_list_spec.rb
415
498
  - spec/netsuite/records/vendor_payment_apply_spec.rb
416
499
  - spec/netsuite/records/vendor_payment_spec.rb
@@ -425,6 +508,7 @@ files:
425
508
  - spec/netsuite/support/record_refs_spec.rb
426
509
  - spec/netsuite/support/records_spec.rb
427
510
  - spec/netsuite/support/requests_spec.rb
511
+ - spec/netsuite/support/search_result_spec.rb
428
512
  - spec/netsuite/support/sublist_spec.rb
429
513
  - spec/netsuite/utilities/data_center_spec.rb
430
514
  - spec/netsuite/utilities/request_spec.rb
@@ -455,6 +539,9 @@ files:
455
539
  - spec/support/fixtures/update/update_customer_error.xml
456
540
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
457
541
  - spec/support/fixtures/update/update_invoice.xml
542
+ - spec/support/fixtures/update_list/update_list_items.xml
543
+ - spec/support/fixtures/update_list/update_list_one_item.xml
544
+ - spec/support/fixtures/update_list/update_list_with_errors.xml
458
545
  - spec/support/fixtures/upsert/upsert_customer.xml
459
546
  - spec/support/fixtures/upsert/upsert_invoice.xml
460
547
  - spec/support/fixtures/upsert/upsert_invoice_error.xml
@@ -466,7 +553,8 @@ files:
466
553
  - spec/support/record_ref_matcher.rb
467
554
  - spec/support/savon.rb
468
555
  homepage: https://github.com/NetSweet/netsuite
469
- licenses: []
556
+ licenses:
557
+ - MIT
470
558
  metadata: {}
471
559
  post_install_message:
472
560
  rdoc_options: []
@@ -483,8 +571,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
483
571
  - !ruby/object:Gem::Version
484
572
  version: '0'
485
573
  requirements: []
486
- rubyforge_project:
487
- rubygems_version: 2.5.1
574
+ rubygems_version: 3.0.3
488
575
  signing_key:
489
576
  specification_version: 4
490
577
  summary: NetSuite SuiteTalk API (SOAP) Wrapper
@@ -499,6 +586,7 @@ test_files:
499
586
  - spec/netsuite/actions/login_spec.rb
500
587
  - spec/netsuite/actions/refresh_spec.rb
501
588
  - spec/netsuite/actions/search_spec.rb
589
+ - spec/netsuite/actions/update_list_spec.rb
502
590
  - spec/netsuite/actions/update_spec.rb
503
591
  - spec/netsuite/actions/upsert_list_spec.rb
504
592
  - spec/netsuite/actions/upsert_spec.rb
@@ -514,6 +602,7 @@ test_files:
514
602
  - spec/netsuite/records/billing_schedule_recurrence_list_spec.rb
515
603
  - spec/netsuite/records/billing_schedule_recurrence_spec.rb
516
604
  - spec/netsuite/records/billing_schedule_spec.rb
605
+ - spec/netsuite/records/bin_number_spec.rb
517
606
  - spec/netsuite/records/campaign_spec.rb
518
607
  - spec/netsuite/records/cash_refund_item_list_spec.rb
519
608
  - spec/netsuite/records/cash_refund_item_spec.rb
@@ -536,6 +625,7 @@ test_files:
536
625
  - spec/netsuite/records/custom_record_type_spec.rb
537
626
  - spec/netsuite/records/customer_addressbook_list_spec.rb
538
627
  - spec/netsuite/records/customer_addressbook_spec.rb
628
+ - spec/netsuite/records/customer_credit_cards_list_spec.rb
539
629
  - spec/netsuite/records/customer_payment_apply_list_spec.rb
540
630
  - spec/netsuite/records/customer_payment_spec.rb
541
631
  - spec/netsuite/records/customer_refund_apply_list_spec.rb
@@ -543,16 +633,26 @@ test_files:
543
633
  - spec/netsuite/records/customer_refund_deposit_list_spec.rb
544
634
  - spec/netsuite/records/customer_refund_deposit_spec.rb
545
635
  - spec/netsuite/records/customer_refund_spec.rb
636
+ - spec/netsuite/records/customer_sales_team_list_spec.rb
546
637
  - spec/netsuite/records/customer_spec.rb
638
+ - spec/netsuite/records/customer_subscription_spec.rb
639
+ - spec/netsuite/records/customer_subscriptions_list_spec.rb
547
640
  - spec/netsuite/records/department_spec.rb
548
641
  - spec/netsuite/records/deposit_spec.rb
549
642
  - spec/netsuite/records/discount_item_spec.rb
550
643
  - spec/netsuite/records/duration_spec.rb
551
644
  - spec/netsuite/records/employee_spec.rb
645
+ - spec/netsuite/records/entity_custom_field_spec.rb
646
+ - spec/netsuite/records/estimate_item_list_spec.rb
647
+ - spec/netsuite/records/estimate_item_spec.rb
648
+ - spec/netsuite/records/estimate_spec.rb
552
649
  - spec/netsuite/records/file_spec.rb
553
650
  - spec/netsuite/records/folder_spec.rb
554
651
  - spec/netsuite/records/gift_cert_redemption_list_spec.rb
555
652
  - spec/netsuite/records/gift_cert_redemption_spec.rb
653
+ - spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
654
+ - spec/netsuite/records/inter_company_journal_entry_line_spec.rb
655
+ - spec/netsuite/records/inter_company_journal_entry_spec.rb
556
656
  - spec/netsuite/records/inventory_assignment_list_spec.rb
557
657
  - spec/netsuite/records/inventory_assignment_spec.rb
558
658
  - spec/netsuite/records/inventory_detail_spec.rb
@@ -574,27 +674,37 @@ test_files:
574
674
  - spec/netsuite/records/kit_item_spec.rb
575
675
  - spec/netsuite/records/location_spec.rb
576
676
  - spec/netsuite/records/matrix_option_list_spec.rb
677
+ - spec/netsuite/records/message_spec.rb
678
+ - spec/netsuite/records/non_inventory_resale_item_spec.rb
577
679
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
578
680
  - spec/netsuite/records/note_spec.rb
579
681
  - spec/netsuite/records/note_type_spec.rb
682
+ - spec/netsuite/records/partner_spec.rb
580
683
  - spec/netsuite/records/payment_item_spec.rb
581
684
  - spec/netsuite/records/payment_method_spec.rb
582
685
  - spec/netsuite/records/phone_call_spec.rb
583
686
  - spec/netsuite/records/pomo_code_spec.rb
687
+ - spec/netsuite/records/price_level_spec.rb
584
688
  - spec/netsuite/records/pricing_matrix_spec.rb
585
689
  - spec/netsuite/records/record_ref_spec.rb
690
+ - spec/netsuite/records/return_authorization_item_list_spec.rb
691
+ - spec/netsuite/records/return_authorization_item_spec.rb
586
692
  - spec/netsuite/records/rev_rec_template_spec.rb
587
693
  - spec/netsuite/records/sales_order_item_list_spec.rb
588
694
  - spec/netsuite/records/sales_order_item_spec.rb
589
695
  - spec/netsuite/records/sales_order_spec.rb
590
696
  - spec/netsuite/records/sales_tax_item_spec.rb
697
+ - spec/netsuite/records/service_resale_item_spec.rb
591
698
  - spec/netsuite/records/service_sale_item_spec.rb
592
699
  - spec/netsuite/records/ship_address_spec.rb
593
700
  - spec/netsuite/records/site_category_spec.rb
594
701
  - spec/netsuite/records/subsidiary_spec.rb
595
702
  - spec/netsuite/records/support_case_spec.rb
703
+ - spec/netsuite/records/support_case_type_spec.rb
596
704
  - spec/netsuite/records/tax_type_spec.rb
597
705
  - spec/netsuite/records/term_spec.rb
706
+ - spec/netsuite/records/transaction_body_custom_field_spec.rb
707
+ - spec/netsuite/records/transaction_column_custom_field_spec.rb
598
708
  - spec/netsuite/records/units_type_spec.rb
599
709
  - spec/netsuite/records/units_type_uom_list_spec.rb
600
710
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -603,6 +713,7 @@ test_files:
603
713
  - spec/netsuite/records/vendor_bill_item_list_spec.rb
604
714
  - spec/netsuite/records/vendor_bill_item_spec.rb
605
715
  - spec/netsuite/records/vendor_bill_spec.rb
716
+ - spec/netsuite/records/vendor_credit_spec.rb
606
717
  - spec/netsuite/records/vendor_payment_apply_list_spec.rb
607
718
  - spec/netsuite/records/vendor_payment_apply_spec.rb
608
719
  - spec/netsuite/records/vendor_payment_spec.rb
@@ -617,6 +728,7 @@ test_files:
617
728
  - spec/netsuite/support/record_refs_spec.rb
618
729
  - spec/netsuite/support/records_spec.rb
619
730
  - spec/netsuite/support/requests_spec.rb
731
+ - spec/netsuite/support/search_result_spec.rb
620
732
  - spec/netsuite/support/sublist_spec.rb
621
733
  - spec/netsuite/utilities/data_center_spec.rb
622
734
  - spec/netsuite/utilities/request_spec.rb
@@ -647,6 +759,9 @@ test_files:
647
759
  - spec/support/fixtures/update/update_customer_error.xml
648
760
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
649
761
  - spec/support/fixtures/update/update_invoice.xml
762
+ - spec/support/fixtures/update_list/update_list_items.xml
763
+ - spec/support/fixtures/update_list/update_list_one_item.xml
764
+ - spec/support/fixtures/update_list/update_list_with_errors.xml
650
765
  - spec/support/fixtures/upsert/upsert_customer.xml
651
766
  - spec/support/fixtures/upsert/upsert_invoice.xml
652
767
  - spec/support/fixtures/upsert/upsert_invoice_error.xml