@nodrel-dev/n8n-nodes-ups 0.3.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +46 -14
  2. package/dist/credentials/UpsOAuth2Api.credentials.js +7 -1
  3. package/dist/credentials/UpsOAuth2Api.credentials.js.map +1 -1
  4. package/dist/credentials/UpsShipperProfileApi.credentials.d.ts +8 -0
  5. package/dist/credentials/UpsShipperProfileApi.credentials.js +82 -0
  6. package/dist/credentials/UpsShipperProfileApi.credentials.js.map +1 -0
  7. package/dist/nodes/Ups/Ups.node.d.ts +6 -1
  8. package/dist/nodes/Ups/Ups.node.js +42 -1
  9. package/dist/nodes/Ups/Ups.node.js.map +1 -1
  10. package/dist/nodes/Ups/Ups.node.json +2 -2
  11. package/dist/nodes/Ups/core/buildRateRequest.d.ts +34 -0
  12. package/dist/nodes/Ups/core/buildRateRequest.js +33 -0
  13. package/dist/nodes/Ups/core/buildRateRequest.js.map +1 -0
  14. package/dist/nodes/Ups/core/buildShipmentRequest.d.ts +33 -0
  15. package/dist/nodes/Ups/core/buildShipmentRequest.js +57 -0
  16. package/dist/nodes/Ups/core/buildShipmentRequest.js.map +1 -0
  17. package/dist/nodes/Ups/core/buildShipmentResult.d.ts +18 -0
  18. package/dist/nodes/Ups/core/buildShipmentResult.js +34 -0
  19. package/dist/nodes/Ups/core/buildShipmentResult.js.map +1 -0
  20. package/dist/nodes/Ups/resources/address/validate.operation.js +9 -3
  21. package/dist/nodes/Ups/resources/address/validate.operation.js.map +1 -1
  22. package/dist/nodes/Ups/resources/shipping/create.operation.js +170 -211
  23. package/dist/nodes/Ups/resources/shipping/create.operation.js.map +1 -1
  24. package/dist/nodes/Ups/resources/shipping/getRates.operation.js +62 -51
  25. package/dist/nodes/Ups/resources/shipping/getRates.operation.js.map +1 -1
  26. package/dist/nodes/Ups/resources/shipping/{shared.d.ts → readParties.d.ts} +13 -13
  27. package/dist/nodes/Ups/resources/shipping/readParties.js +60 -0
  28. package/dist/nodes/Ups/resources/shipping/readParties.js.map +1 -0
  29. package/dist/nodes/Ups/resources/shipping/shipperProfile.d.ts +25 -0
  30. package/dist/nodes/Ups/resources/shipping/shipperProfile.js +40 -0
  31. package/dist/nodes/Ups/resources/shipping/shipperProfile.js.map +1 -0
  32. package/dist/nodes/Ups/resources/shipping/shippingFields.d.ts +18 -0
  33. package/dist/nodes/Ups/resources/shipping/{shared.js → shippingFields.js} +52 -44
  34. package/dist/nodes/Ups/resources/shipping/shippingFields.js.map +1 -0
  35. package/dist/package.json +5 -4
  36. package/package.json +5 -4
  37. package/dist/nodes/Ups/resources/shipping/shared.js.map +0 -1
@@ -2,19 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createOperationOption = exports.createOperationDescription = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
- const toUpsAddress_1 = require("../../core/toUpsAddress");
6
- const isInternational_1 = require("../../core/isInternational");
7
- const buildCommodities_1 = require("../../core/buildCommodities");
8
- const buildInternationalForms_1 = require("../../core/buildInternationalForms");
9
- const extractLabel_1 = require("../../core/extractLabel");
10
- const extractForms_1 = require("../../core/extractForms");
11
- const extractCharges_1 = require("../../core/extractCharges");
5
+ const buildShipmentRequest_1 = require("../../core/buildShipmentRequest");
6
+ const buildShipmentResult_1 = require("../../core/buildShipmentResult");
12
7
  const mapUpsError_1 = require("../../core/mapUpsError");
13
- const shared_1 = require("./shared");
8
+ const shippingFields_1 = require("./shippingFields");
9
+ const readParties_1 = require("./readParties");
10
+ const shipperProfile_1 = require("./shipperProfile");
14
11
  const showOnlyForCreate = {
15
12
  operation: ['create'],
16
13
  resource: ['shipping'],
17
14
  };
15
+ const showOnlyForCreateIntl = { ...showOnlyForCreate, international: [true] };
18
16
  function readCommodities(get) {
19
17
  var _a;
20
18
  const rows = (_a = get('commodities.line', [])) !== null && _a !== void 0 ? _a : [];
@@ -36,13 +34,14 @@ function todayYyyyMmdd() {
36
34
  return new Date().toISOString().slice(0, 10).replace(/-/g, '');
37
35
  }
38
36
  function readCustoms(get) {
39
- const soldTo = (0, shared_1.readAddress)(get, 'soldTo');
37
+ const soldTo = (0, readParties_1.readAddress)(get, 'soldTo');
38
+ const customs = get('customs', {});
40
39
  return {
41
- reasonForExport: get('customsReasonForExport', 'SALE'),
42
- currency: get('customsCurrency', 'USD'),
43
- termsOfShipment: get('customsTermsOfShipment', 'DDU'),
44
- invoiceNumber: get('customsInvoiceNumber', '') || undefined,
45
- invoiceDate: get('customsInvoiceDate', '').trim() || todayYyyyMmdd(),
40
+ reasonForExport: customs.reasonForExport || 'SALE',
41
+ currency: customs.currency || 'USD',
42
+ termsOfShipment: customs.termsOfShipment || 'DDU',
43
+ invoiceNumber: (customs.invoiceNumber || '').trim() || undefined,
44
+ invoiceDate: (customs.invoiceDate || '').trim() || todayYyyyMmdd(),
46
45
  soldTo: {
47
46
  name: get('soldToName', ''),
48
47
  addressLines: soldTo.addressLines,
@@ -53,88 +52,42 @@ function readCustoms(get) {
53
52
  },
54
53
  };
55
54
  }
56
- function buildShipmentBody(get, international) {
57
- const accountNumber = get('accountNumber', '').trim();
58
- const service = get('service', '03');
59
- const labelFormat = get('labelFormat', 'GIF');
60
- const shipper = (0, shared_1.readAddress)(get, 'shipper');
61
- const shipTo = (0, shared_1.readAddress)(get, 'shipTo');
62
- const shipFrom = (0, shared_1.readAddress)(get, 'shipFrom');
63
- const hasShipFrom = shipFrom.addressLines.length > 0 || shipFrom.city.length > 0;
64
- const effectiveShipFrom = hasShipFrom ? shipFrom : shipper;
65
- const shipperName = get('shipperName', '');
66
- const shipToName = get('shipToName', '');
55
+ function buildShipmentBody(get, parties) {
56
+ const shipperName = parties.shipper.name;
67
57
  const shipFromName = get('shipFromName', shipperName) || shipperName;
68
- const shipperPhone = get('shipperPhone', '');
69
- const shipToPhone = get('shipToPhone', '');
70
- const shipment = {
71
- Description: 'Shipment',
72
- Shipper: {
73
- Name: shipperName,
74
- ...(shipperName ? { AttentionName: shipperName } : {}),
75
- ShipperNumber: accountNumber,
76
- ...(shipperPhone ? { Phone: { Number: shipperPhone } } : {}),
77
- Address: (0, toUpsAddress_1.toUpsAddress)(shipper),
58
+ return (0, buildShipmentRequest_1.buildShipmentRequest)({
59
+ accountNumber: parties.accountNumber,
60
+ service: get('service', '03'),
61
+ labelFormat: get('labelFormat', 'GIF'),
62
+ international: parties.international,
63
+ shipper: { address: parties.shipper.address, name: shipperName, phone: parties.shipper.phone },
64
+ shipTo: {
65
+ address: parties.shipTo,
66
+ name: get('shipToName', ''),
67
+ phone: get('shipToPhone', ''),
78
68
  },
79
- ShipTo: {
80
- Name: shipToName,
81
- ...(shipToName ? { AttentionName: shipToName } : {}),
82
- ...(shipToPhone ? { Phone: { Number: shipToPhone } } : {}),
83
- Address: (0, toUpsAddress_1.toUpsAddress)(shipTo),
84
- },
85
- ShipFrom: {
86
- Name: shipFromName,
87
- ...(shipFromName ? { AttentionName: shipFromName } : {}),
88
- Address: (0, toUpsAddress_1.toUpsAddress)(effectiveShipFrom),
89
- },
90
- PaymentInformation: {
91
- ShipmentCharge: { Type: '01', BillShipper: { AccountNumber: accountNumber } },
92
- },
93
- ShipmentRatingOptions: { NegotiatedRatesIndicator: '' },
94
- Service: { Code: service },
95
- Package: {
96
- Packaging: { Code: '02' },
97
- ...(0, shared_1.readPackage)(get),
98
- },
99
- };
100
- if (international) {
101
- const commodities = (0, buildCommodities_1.buildCommodities)(readCommodities(get));
102
- shipment.ShipmentServiceOptions = {
103
- InternationalForms: (0, buildInternationalForms_1.buildInternationalForms)(readCustoms(get), commodities),
104
- };
105
- }
106
- const labelSpecification = { LabelImageFormat: { Code: labelFormat } };
107
- if (labelFormat !== 'GIF') {
108
- labelSpecification.LabelStockSize = { Height: '6', Width: '4' };
109
- }
110
- return {
111
- ShipmentRequest: {
112
- Request: { RequestOption: 'nonvalidate' },
113
- Shipment: shipment,
114
- LabelSpecification: labelSpecification,
115
- },
116
- };
69
+ shipFrom: { address: parties.effectiveShipFrom, name: shipFromName },
70
+ package: (0, readParties_1.readPackage)(get),
71
+ customs: readCustoms(get),
72
+ commodities: readCommodities(get),
73
+ });
117
74
  }
118
75
  async function createPreSend(requestOptions) {
119
76
  const node = this.getNode();
120
77
  const get = (name, fallback) => this.getNodeParameter(name, fallback);
121
- const accountNumber = get('accountNumber', '').trim();
122
- if (!accountNumber) {
123
- throw new n8n_workflow_1.NodeOperationError(node, 'An account number is required to create a shipment.');
78
+ const profile = await (0, shipperProfile_1.loadShipperProfile)(this);
79
+ const parties = (0, readParties_1.resolveShipmentParties)(get, profile);
80
+ if (!parties.accountNumber) {
81
+ throw new n8n_workflow_1.NodeOperationError(node, 'An account number is required to create a shipment.', {
82
+ description: 'Enter your UPS account number (ShipperNumber), or attach a UPS Shipper Profile credential that supplies one.',
83
+ });
124
84
  }
125
- const shipper = (0, shared_1.readAddress)(get, 'shipper');
126
- const shipTo = (0, shared_1.readAddress)(get, 'shipTo');
127
- const shipFrom = (0, shared_1.readAddress)(get, 'shipFrom');
128
- const hasShipFrom = shipFrom.addressLines.length > 0 || shipFrom.city.length > 0;
129
- const international = (0, isInternational_1.isInternational)({
130
- shipFrom: hasShipFrom ? shipFrom : shipper,
131
- shipper,
132
- shipTo,
133
- });
134
- if (international && readCommodities(get).length === 0) {
135
- throw new n8n_workflow_1.NodeOperationError(node, 'International shipments require at least one customs commodity line.');
85
+ if (parties.international && readCommodities(get).length === 0) {
86
+ throw new n8n_workflow_1.NodeOperationError(node, 'International shipments require at least one customs commodity line.', {
87
+ description: 'The origin and destination countries differ. Turn on "Is International Shipment" to reveal the Customs, Sold To, and Commodities fields, then add at least one commodity line.',
88
+ });
136
89
  }
137
- requestOptions.body = buildShipmentBody(get, international);
90
+ requestOptions.body = buildShipmentBody(get, parties);
138
91
  return requestOptions;
139
92
  }
140
93
  async function createPostReceive(_items, response) {
@@ -142,26 +95,15 @@ async function createPostReceive(_items, response) {
142
95
  (0, mapUpsError_1.mapUpsError)(this.getNode(), response.body, response.statusCode);
143
96
  }
144
97
  const labelFormat = this.getNodeParameter('labelFormat', 'GIF');
145
- const label = (0, extractLabel_1.extractLabel)(response.body, labelFormat);
146
- const forms = (0, extractForms_1.extractForms)(response.body);
147
- const charges = (0, extractCharges_1.extractCharges)(response.body);
98
+ const result = (0, buildShipmentResult_1.buildShipmentResult)(response.body, labelFormat);
148
99
  const binary = {};
149
- if (label.labels[0]) {
150
- const l = label.labels[0];
151
- binary.label = await this.helpers.prepareBinaryData(Buffer.from(l.base64, 'base64'), l.filename, l.mime);
152
- }
153
- if (forms[0]) {
154
- binary.customsInvoice = await this.helpers.prepareBinaryData(Buffer.from(forms[0].base64, 'base64'), forms[0].filename, forms[0].mime);
100
+ for (const part of result.binaryParts) {
101
+ binary[part.key] = await this.helpers.prepareBinaryData(Buffer.from(part.base64, 'base64'), part.filename, part.mime);
155
102
  }
156
103
  return [
157
104
  {
158
- json: {
159
- shipmentId: label.shipmentId,
160
- trackingNumbers: label.labels.map((x) => x.trackingNumber),
161
- international: forms.length > 0,
162
- charges,
163
- },
164
- binary: Object.keys(binary).length > 0 ? binary : undefined,
105
+ json: result.json,
106
+ binary: result.binaryParts.length > 0 ? binary : undefined,
165
107
  },
166
108
  ];
167
109
  }
@@ -170,36 +112,71 @@ exports.createOperationDescription = [
170
112
  displayName: 'Account Number',
171
113
  name: 'accountNumber',
172
114
  type: 'string',
173
- required: true,
174
115
  default: '',
175
116
  displayOptions: { show: showOnlyForCreate },
176
- description: 'Your UPS account number (ShipperNumber). Billed as the shipper (Type 01).',
117
+ description: 'Your UPS account number (ShipperNumber). Billed as the shipper (Type 01). Leave blank only if a UPS Shipper Profile credential supplies it.',
177
118
  },
178
119
  {
179
- displayName: 'Service Code',
120
+ displayName: 'Service',
180
121
  name: 'service',
181
- type: 'string',
122
+ type: 'options',
182
123
  required: true,
124
+ options: [
125
+ { name: 'Ground (03)', value: '03' },
126
+ { name: 'Next Day Air (01)', value: '01' },
127
+ { name: '2nd Day Air (02)', value: '02' },
128
+ { name: '3 Day Select (12)', value: '12' },
129
+ { name: 'Express (07)', value: '07' },
130
+ { name: 'Expedited (08)', value: '08' },
131
+ { name: 'UPS Standard (11)', value: '11' },
132
+ { name: 'Next Day Air Saver (13)', value: '13' },
133
+ { name: 'Next Day Air Early (14)', value: '14' },
134
+ { name: 'Worldwide Economy DDU (17)', value: '17' },
135
+ { name: 'Express Plus (54)', value: '54' },
136
+ { name: '2nd Day Air A.M. (59)', value: '59' },
137
+ { name: 'UPS Saver (65)', value: '65' },
138
+ { name: 'Access Point Economy (70)', value: '70' },
139
+ { name: 'Worldwide Express Freight Midday (71)', value: '71' },
140
+ { name: 'Worldwide Economy DDP (72)', value: '72' },
141
+ { name: 'Express 12:00 (74)', value: '74' },
142
+ { name: 'UPS Heavy Goods (75)', value: '75' },
143
+ { name: 'UPS Today Standard (82)', value: '82' },
144
+ { name: 'UPS Today Dedicated Courier (83)', value: '83' },
145
+ { name: 'UPS Today Intercity (84)', value: '84' },
146
+ { name: 'First Class Mail (M2)', value: 'M2' },
147
+ { name: 'Priority Mail (M3)', value: 'M3' },
148
+ { name: 'Expedited Mail Innovations (M4)', value: 'M4' },
149
+ { name: 'Priority Mail Innovations (M5)', value: 'M5' },
150
+ { name: 'Economy Mail Innovations (M6)', value: 'M6' },
151
+ { name: 'Mail Innovations Returns (M7)', value: 'M7' },
152
+ ],
183
153
  default: '03',
184
- placeholder: '03 = Ground',
185
154
  displayOptions: { show: showOnlyForCreate },
186
- description: 'UPS service code (e.g. 03 Ground, 02 2nd Day Air, 01 Next Day Air)',
155
+ description: 'UPS service. Availability depends on the lane and account; codes shown in parentheses match UPS Service.Code.',
156
+ },
157
+ {
158
+ displayName: 'Tip: attach a UPS Shipper Profile credential to auto-fill the Shipper fields and Account Number. Any value you enter here overrides the profile.',
159
+ name: 'shipperProfileNoticeCreate',
160
+ type: 'notice',
161
+ default: '',
162
+ displayOptions: { show: showOnlyForCreate },
187
163
  },
188
- ...(0, shared_1.addressFields)({
164
+ ...(0, shippingFields_1.addressFields)({
189
165
  prefix: 'shipper',
190
166
  label: 'Shipper',
191
167
  show: showOnlyForCreate,
192
168
  includeName: true,
193
169
  includePhone: true,
194
- required: true,
170
+ countryDefault: '',
195
171
  }),
196
- ...(0, shared_1.addressFields)({
172
+ ...(0, shippingFields_1.addressFields)({
197
173
  prefix: 'shipFrom',
198
- label: 'Ship From (optional, defaults to Shipper)',
174
+ label: 'Ship From',
199
175
  show: showOnlyForCreate,
200
176
  includeName: true,
177
+ hint: 'Optional. Defaults to the Shipper address when left blank.',
201
178
  }),
202
- ...(0, shared_1.addressFields)({
179
+ ...(0, shippingFields_1.addressFields)({
203
180
  prefix: 'shipTo',
204
181
  label: 'Ship To',
205
182
  show: showOnlyForCreate,
@@ -208,118 +185,88 @@ exports.createOperationDescription = [
208
185
  includeResidential: true,
209
186
  required: true,
210
187
  }),
211
- {
212
- displayName: 'Weight',
213
- name: 'weight',
214
- type: 'number',
215
- default: 1,
216
- required: true,
217
- displayOptions: { show: showOnlyForCreate },
218
- },
219
- {
220
- displayName: 'Weight Unit',
221
- name: 'weightUnit',
222
- type: 'options',
223
- options: [
224
- { name: 'Pounds (LBS)', value: 'LBS' },
225
- { name: 'Kilograms (KGS)', value: 'KGS' },
226
- ],
227
- default: 'LBS',
228
- displayOptions: { show: showOnlyForCreate },
229
- },
230
- {
231
- displayName: 'Dimensions',
232
- name: 'dimensions',
233
- type: 'fixedCollection',
234
- default: {},
235
- displayOptions: { show: showOnlyForCreate },
236
- options: [
237
- {
238
- displayName: 'Dimension',
239
- name: 'dimension',
240
- values: [
241
- { displayName: 'Height', name: 'height', type: 'number', default: 0 },
242
- { displayName: 'Length', name: 'length', type: 'number', default: 0 },
243
- { displayName: 'Width', name: 'width', type: 'number', default: 0 },
244
- ],
245
- },
246
- ],
247
- },
248
- {
249
- displayName: 'Dimension Unit',
250
- name: 'dimensionUnit',
251
- type: 'options',
252
- options: [
253
- { name: 'Centimeters (CM)', value: 'CM' },
254
- { name: 'Inches (IN)', value: 'IN' },
255
- ],
256
- default: 'IN',
257
- displayOptions: { show: showOnlyForCreate },
258
- },
188
+ ...(0, shippingFields_1.packageFields)(showOnlyForCreate),
259
189
  {
260
190
  displayName: 'Label Format',
261
191
  name: 'labelFormat',
262
192
  type: 'options',
263
193
  options: [
264
- { name: 'EPL', value: 'EPL' },
265
- { name: 'GIF', value: 'GIF' },
266
- { name: 'SPL', value: 'SPL' },
267
- { name: 'ZPL', value: 'ZPL' },
194
+ { name: 'GIF (Image — View or Attach Anywhere)', value: 'GIF' },
195
+ { name: 'ZPL (Zebra Thermal Printer)', value: 'ZPL' },
196
+ { name: 'EPL (Eltron Thermal Printer)', value: 'EPL' },
197
+ { name: 'SPL (Star Thermal Printer)', value: 'SPL' },
268
198
  ],
269
199
  default: 'GIF',
270
200
  displayOptions: { show: showOnlyForCreate },
271
- description: 'Label image format. No PDF label is offered (delta 13.6).',
201
+ description: 'Label image format. GIF is a screen-friendly image; ZPL, EPL, and SPL are thermal label-printer formats. PDF labels are not available.',
272
202
  },
273
203
  {
274
- displayName: 'The customs fields below are REQUIRED when the origin and destination countries differ (international). Leave them empty for domestic shipments.',
275
- name: 'customsNotice',
276
- type: 'notice',
277
- default: '',
278
- displayOptions: { show: showOnlyForCreate },
279
- },
280
- {
281
- displayName: 'Reason For Export',
282
- name: 'customsReasonForExport',
283
- type: 'string',
284
- default: 'SALE',
285
- displayOptions: { show: showOnlyForCreate },
286
- },
287
- {
288
- displayName: 'Customs Currency',
289
- name: 'customsCurrency',
290
- type: 'string',
291
- default: 'USD',
292
- displayOptions: { show: showOnlyForCreate },
293
- },
294
- {
295
- displayName: 'Terms Of Shipment',
296
- name: 'customsTermsOfShipment',
297
- type: 'string',
298
- default: 'DDU',
204
+ displayName: 'Is International Shipment',
205
+ name: 'international',
206
+ type: 'boolean',
207
+ default: false,
299
208
  displayOptions: { show: showOnlyForCreate },
300
- description: 'Incoterms. v1 bills duties to the receiver (DDU).',
209
+ description: 'Whether this shipment is international (the origin and destination countries differ). Turning it on reveals the Customs, Sold To, and Commodities fields; the node still validates internationality from the addresses at run time, so a genuine cross-border lane is caught even if this is left off.',
301
210
  },
302
211
  {
303
- displayName: 'Invoice Number',
304
- name: 'customsInvoiceNumber',
305
- type: 'string',
212
+ displayName: 'Customs details for an international shipment (the origin and destination countries differ). At least one commodity line is required; the other fields apply sensible defaults.',
213
+ name: 'customsNotice',
214
+ type: 'notice',
306
215
  default: '',
307
- displayOptions: { show: showOnlyForCreate },
216
+ displayOptions: { show: showOnlyForCreateIntl },
308
217
  },
309
218
  {
310
- displayName: 'Invoice Date',
311
- name: 'customsInvoiceDate',
312
- type: 'string',
313
- default: '',
314
- placeholder: 'yyyyMMdd',
315
- displayOptions: { show: showOnlyForCreate },
316
- description: 'Commercial-invoice date in yyyyMMdd format. UPS requires it for international shipments; leave blank to use today (UTC).',
219
+ displayName: 'Customs',
220
+ name: 'customs',
221
+ type: 'collection',
222
+ placeholder: 'Add Customs Field',
223
+ default: {},
224
+ displayOptions: { show: showOnlyForCreateIntl },
225
+ description: 'Commercial-invoice details for international shipments',
226
+ options: [
227
+ {
228
+ displayName: 'Customs Currency',
229
+ name: 'currency',
230
+ type: 'options',
231
+ options: shippingFields_1.CURRENCY_OPTIONS,
232
+ default: 'USD',
233
+ description: 'Commercial-invoice currency. Pick a common code, or use an expression for any ISO 4217 code.',
234
+ },
235
+ {
236
+ displayName: 'Invoice Date',
237
+ name: 'invoiceDate',
238
+ type: 'string',
239
+ default: '',
240
+ placeholder: 'yyyyMMdd',
241
+ description: 'Commercial-invoice date in yyyyMMdd format. UPS requires it for international shipments; leave blank to use today (UTC).',
242
+ },
243
+ {
244
+ displayName: 'Invoice Number',
245
+ name: 'invoiceNumber',
246
+ type: 'string',
247
+ default: '',
248
+ },
249
+ {
250
+ displayName: 'Reason For Export',
251
+ name: 'reasonForExport',
252
+ type: 'string',
253
+ default: 'SALE',
254
+ },
255
+ {
256
+ displayName: 'Terms Of Shipment',
257
+ name: 'termsOfShipment',
258
+ type: 'string',
259
+ default: 'DDU',
260
+ description: 'Incoterms. v1 bills duties to the receiver (DDU).',
261
+ },
262
+ ],
317
263
  },
318
- ...(0, shared_1.addressFields)({
264
+ ...(0, shippingFields_1.addressFields)({
319
265
  prefix: 'soldTo',
320
- label: 'Sold To (International)',
321
- show: showOnlyForCreate,
266
+ label: 'Sold To',
267
+ show: showOnlyForCreateIntl,
322
268
  includeName: true,
269
+ hint: 'International shipments only. The party the goods are sold to (commercial invoice).',
323
270
  }),
324
271
  {
325
272
  displayName: 'Commodities',
@@ -327,7 +274,7 @@ exports.createOperationDescription = [
327
274
  type: 'fixedCollection',
328
275
  typeOptions: { multipleValues: true },
329
276
  default: {},
330
- displayOptions: { show: showOnlyForCreate },
277
+ displayOptions: { show: showOnlyForCreateIntl },
331
278
  description: 'Customs commodity lines (international only)',
332
279
  options: [
333
280
  {
@@ -337,9 +284,21 @@ exports.createOperationDescription = [
337
284
  { displayName: 'Commodity Code', name: 'commodityCode', type: 'string', default: '' },
338
285
  { displayName: 'Description', name: 'description', type: 'string', default: '' },
339
286
  { displayName: 'Origin Country', name: 'originCountry', type: 'string', default: '' },
340
- { displayName: 'Quantity', name: 'quantity', type: 'number', default: 1 },
287
+ {
288
+ displayName: 'Quantity',
289
+ name: 'quantity',
290
+ type: 'number',
291
+ default: 1,
292
+ typeOptions: { minValue: 0 },
293
+ },
341
294
  { displayName: 'Unit Of Measure', name: 'unitOfMeasure', type: 'string', default: 'EA' },
342
- { displayName: 'Unit Value', name: 'unitValue', type: 'number', default: 0 },
295
+ {
296
+ displayName: 'Unit Value',
297
+ name: 'unitValue',
298
+ type: 'number',
299
+ default: 0,
300
+ typeOptions: { minValue: 0 },
301
+ },
343
302
  ],
344
303
  },
345
304
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Ups/resources/shipping/create.operation.ts"],"names":[],"mappings":";;;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AW,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;oBACrF,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;oBACzE,EAAE,WAAW,EAAE,iBAAiB,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE;oBACxF,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;iBAC5E;aACD;SACD;KACD;CACD,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,mCAAmC;IAC3C,WAAW,EACV,uGAAuG;IACxG,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,MAAe;YACvB,GAAG,EAAE,uBAAuB;YAC5B,sBAAsB,EAAE,IAAI;SAC5B;QACD,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE;QAClC,MAAM,EAAE,EAAE,WAAW,EAAE,CAAC,iBAAiB,CAAC,EAAE;KAC5C;CACD,CAAC"}
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Ups/resources/shipping/create.operation.ts"],"names":[],"mappings":";;;AAAA,+CAQsB;AAGtB,0EAAuE;AACvE,wEAAqE;AAErE,wDAAqD;AACrD,qDAAkF;AAClF,+CAMuB;AACvB,qDAAsD;AAEtD,MAAM,iBAAiB,GAAG;IACzB,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACtB,CAAC;AAKF,MAAM,qBAAqB,GAAG,EAAE,GAAG,iBAAiB,EAAE,aAAa,EAAE,CAAC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