UNPKG

@shipengine/connect-order-source-api

Version:

This is the typescript/javascript definitions for the order source api

38 lines 1.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RejectSalesOrderItemsRequest = exports.RequestedRejectProduct = exports.RequestedRejectItem = exports.RejectSalesOrderItemsNotification = void 0; const request_base_1 = require("./request-base"); /** @description Requested reject item(s) notification */ class RejectSalesOrderItemsNotification { /** @description Identifier for the requested reject notification */ notification_id; /** @description Unique order identifier from the order source */ order_id; /** @description Items the action should be applied to */ items; } exports.RejectSalesOrderItemsNotification = RejectSalesOrderItemsNotification; /** @description Details about the requested item to reject */ class RequestedRejectItem { /** @description Line item identifier provided by the order source */ line_item_id; /** @decription Message that the shipper can provide about the action being performed on the item */ message; /** @description Quantity of the item */ quantity; /** @description Product information about the item */ product; } exports.RequestedRejectItem = RequestedRejectItem; /** @description Product details about the requested item to reject */ class RequestedRejectProduct { /** @description Product identifier provided by the order source */ product_id; } exports.RequestedRejectProduct = RequestedRejectProduct; /** @description A request to reject a number of sales order items in a sales order*/ class RejectSalesOrderItemsRequest extends request_base_1.RequestBase { notifications; } exports.RejectSalesOrderItemsRequest = RejectSalesOrderItemsRequest; //# sourceMappingURL=reject-sales-order-items-request.js.map