UNPKG

@progtechbr/n8n-nodes-rdsme

Version:

Send events through API to RD Station Marketing para Ecommerce

89 lines 2.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ecommerceShippingFields = void 0; const shippingPriceField = [ { displayName: 'Shipping Price', name: 'shippingPrice', type: 'number', displayOptions: { show: { operation: ['newEcommerceEvent'], resource: ['ecommerceEvents'], eventType: [ 'ecommerceOrderPlaced', 'ecommerceOrderPaid', ], }, }, default: 0, typeOptions: { minValue: 0, }, description: 'Shipping price of the order', } ]; const shippingCityField = [ { displayName: 'Shipping City', name: 'shippingCity', type: 'string', displayOptions: { show: { operation: ['newEcommerceEvent'], resource: ['ecommerceEvents'], eventType: [ 'ecommerceOrderPlaced', 'ecommerceOrderPaid', ], }, }, default: '', description: 'Shipping city of the order', } ]; const shippingStateField = [ { displayName: 'Shipping State', name: 'shippingState', type: 'string', displayOptions: { show: { operation: ['newEcommerceEvent'], resource: ['ecommerceEvents'], eventType: [ 'ecommerceOrderPlaced', 'ecommerceOrderPaid', ], }, }, default: '', description: 'Shipping state of the order', } ]; const shippingCountryField = [ { displayName: 'Shipping Country', name: 'shippingCountry', type: 'string', displayOptions: { show: { operation: ['newEcommerceEvent'], resource: ['ecommerceEvents'], eventType: [ 'ecommerceOrderPlaced', 'ecommerceOrderPaid', ], }, }, default: '', description: 'Shipping country of the order', } ]; exports.ecommerceShippingFields = [ ...shippingPriceField, ...shippingCityField, ...shippingStateField, ...shippingCountryField, ]; //# sourceMappingURL=ShippingFields.js.map