@shipengine/elements 2.26.4 → 2.26.5
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.
- package/dist/cjs/components/shipment-not-found-error/shipment-not-found-error.cjs +2 -17
- package/dist/cjs/components/suspend-purchase/suspend-purchase.cjs +3 -3
- package/dist/cjs/elements/purchase-label/purchase-label.cjs +1 -7
- package/dist/cjs/hooks/use-configure-shipment.cjs +17 -127
- package/dist/cjs/hooks/use-import-sales-order.cjs +20 -45
- package/dist/cjs/locales/en/common.json.cjs +1 -1
- package/dist/cjs/locales/en/purchase-label.json.cjs +0 -7
- package/dist/cjs/package.json.cjs +1 -1
- package/dist/cjs/workflows/label-workflow/label-workflow.cjs +2 -26
- package/dist/esm/components/shipment-not-found-error/shipment-not-found-error.js +2 -17
- package/dist/esm/components/suspend-purchase/suspend-purchase.js +3 -3
- package/dist/esm/elements/purchase-label/purchase-label.js +1 -7
- package/dist/esm/hooks/use-configure-shipment.js +17 -127
- package/dist/esm/hooks/use-import-sales-order.js +22 -47
- package/dist/esm/locales/en/common.json.js +1 -1
- package/dist/esm/locales/en/purchase-label.json.js +0 -7
- package/dist/esm/package.json.js +1 -1
- package/dist/esm/workflows/label-workflow/label-workflow.js +2 -26
- package/dist/types/components/shipment-not-found-error/shipment-not-found-error.d.ts +2 -3
- package/dist/types/components/shipment-not-found-error/shipment-not-found-error.d.ts.map +1 -1
- package/dist/types/components/suspend-purchase/suspend-purchase.d.ts +2 -3
- package/dist/types/components/suspend-purchase/suspend-purchase.d.ts.map +1 -1
- package/dist/types/elements/labels-grid/labels-grid.d.ts +0 -7
- package/dist/types/elements/labels-grid/labels-grid.d.ts.map +1 -1
- package/dist/types/elements/manage-carriers/manage-carriers.d.ts +0 -7
- package/dist/types/elements/manage-carriers/manage-carriers.d.ts.map +1 -1
- package/dist/types/elements/manage-external-carriers/manage-external-carriers.d.ts +0 -7
- package/dist/types/elements/manage-external-carriers/manage-external-carriers.d.ts.map +1 -1
- package/dist/types/elements/manage-funding/manage-funding-element.d.ts +0 -7
- package/dist/types/elements/manage-funding/manage-funding-element.d.ts.map +1 -1
- package/dist/types/elements/manage-warehouses/manage-warehouses.d.ts +0 -7
- package/dist/types/elements/manage-warehouses/manage-warehouses.d.ts.map +1 -1
- package/dist/types/elements/payment-method-settings/payment-method-settings-element.d.ts +0 -7
- package/dist/types/elements/payment-method-settings/payment-method-settings-element.d.ts.map +1 -1
- package/dist/types/elements/purchase-label/purchase-label.d.ts +0 -7
- package/dist/types/elements/purchase-label/purchase-label.d.ts.map +1 -1
- package/dist/types/elements/select-label-layout/select-label-layout-element.d.ts +0 -7
- package/dist/types/elements/select-label-layout/select-label-layout-element.d.ts.map +1 -1
- package/dist/types/elements/shipment-summary/shipment-summary.d.ts +0 -7
- package/dist/types/elements/shipment-summary/shipment-summary.d.ts.map +1 -1
- package/dist/types/elements/shipments-grid/shipments-grid.d.ts +0 -7
- package/dist/types/elements/shipments-grid/shipments-grid.d.ts.map +1 -1
- package/dist/types/elements/theme-creator/theme-creator.d.ts +0 -7
- package/dist/types/elements/theme-creator/theme-creator.d.ts.map +1 -1
- package/dist/types/elements/transaction-history/transaction-history-element.d.ts +0 -7
- package/dist/types/elements/transaction-history/transaction-history-element.d.ts.map +1 -1
- package/dist/types/elements/unit-settings/unit-settings-element.d.ts +0 -7
- package/dist/types/elements/unit-settings/unit-settings-element.d.ts.map +1 -1
- package/dist/types/elements/vat-settings/vat-settings-element.d.ts +0 -7
- package/dist/types/elements/vat-settings/vat-settings-element.d.ts.map +1 -1
- package/dist/types/elements/void-label/void-label.d.ts +0 -7
- package/dist/types/elements/void-label/void-label.d.ts.map +1 -1
- package/dist/types/hooks/use-configure-shipment.d.ts.map +1 -1
- package/dist/types/hooks/use-import-sales-order.d.ts +1 -20
- package/dist/types/hooks/use-import-sales-order.d.ts.map +1 -1
- package/dist/types/locales/en/index.d.ts +0 -7
- package/dist/types/locales/en/index.d.ts.map +1 -1
- package/dist/types/workflows/account-settings/account-settings.d.ts +0 -7
- package/dist/types/workflows/account-settings/account-settings.d.ts.map +1 -1
- package/dist/types/workflows/carrier-services/carrier-services.d.ts +0 -7
- package/dist/types/workflows/carrier-services/carrier-services.d.ts.map +1 -1
- package/dist/types/workflows/connect-external-carrier/connect-external-carrier.d.ts +0 -7
- package/dist/types/workflows/connect-external-carrier/connect-external-carrier.d.ts.map +1 -1
- package/dist/types/workflows/label-workflow/label-workflow.d.ts +0 -7
- package/dist/types/workflows/label-workflow/label-workflow.d.ts.map +1 -1
- package/dist/types/workflows/onboarding/onboarding.d.ts +0 -7
- package/dist/types/workflows/onboarding/onboarding.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -20,8 +20,8 @@ const useConfigureShipment = ({
|
|
|
20
20
|
warehouseId,
|
|
21
21
|
useWarehouses = true
|
|
22
22
|
}) => {
|
|
23
|
-
// Track when
|
|
24
|
-
const [
|
|
23
|
+
// Track when we've created a replacement shipment for a "not found" case
|
|
24
|
+
const [replacementShipmentId, setReplacementShipmentId] = useState();
|
|
25
25
|
// Queue of incomplete requirement keys (i.e., Ship From addresses, Warehouses, Carriers)
|
|
26
26
|
const incompleteRequirementsKeys = useMemo(() => [], []);
|
|
27
27
|
const {
|
|
@@ -45,7 +45,6 @@ const useConfigureShipment = ({
|
|
|
45
45
|
// Dont run Sales Order Import unless the Sales order info is present
|
|
46
46
|
enabled: !!externalOrderNumber || !!orderSourceCode || !!salesOrderId || !!externalOrderId,
|
|
47
47
|
externalOrderId,
|
|
48
|
-
externalOrderNumber,
|
|
49
48
|
orderSourceCode,
|
|
50
49
|
salesOrderId
|
|
51
50
|
});
|
|
@@ -62,49 +61,24 @@ const useConfigureShipment = ({
|
|
|
62
61
|
isInitialLoading: isExternalShipmentInitialLoading,
|
|
63
62
|
isFetching: isExternalShipmentFetching
|
|
64
63
|
} = useGetShipmentByExternalId({
|
|
65
|
-
enabled: !!externalShipmentId && !shipmentId
|
|
64
|
+
enabled: !!externalShipmentId && !shipmentId,
|
|
66
65
|
queryFnParams: {
|
|
67
66
|
externalId: externalShipmentId !== null && externalShipmentId !== void 0 ? externalShipmentId : ""
|
|
68
67
|
}
|
|
69
|
-
// TODO: weird refetch on focus behavior
|
|
70
68
|
});
|
|
71
|
-
// #region List Sales Order Shipments
|
|
72
|
-
const externalOrderIds = useMemo(() => {
|
|
73
|
-
return externalOrderId ? [externalOrderId] : undefined;
|
|
74
|
-
}, [externalOrderId]);
|
|
75
|
-
const salesOrderIds = useMemo(() => {
|
|
76
|
-
return salesOrderId ? [salesOrderId] : salesOrder ? [salesOrder.salesOrderId] :
|
|
77
|
-
// TODO: current workaround - revert to being undefined rather than empty list
|
|
78
|
-
[];
|
|
79
|
-
}, [salesOrderId, salesOrder]);
|
|
80
|
-
const shipmentIds = useMemo(() => {
|
|
81
|
-
return manuallyCreatedShipmentId ? [manuallyCreatedShipmentId] : shipmentId ? [shipmentId] : externalShipment ? [externalShipment.shipmentId] : newV1Shipment ? [newV1Shipment.shipments[0].shipmentId] : undefined;
|
|
82
|
-
}, [manuallyCreatedShipmentId, shipmentId, externalShipment, newV1Shipment]);
|
|
83
|
-
const listSalesOrderShipmentsParams = useMemo(() => {
|
|
84
|
-
// TODO: useListSalesOrderShipments needs to be able to use the enabled prop, this is a workaround
|
|
85
|
-
// Prevent query with stale params during shipment creation or when V1 shipment exists but manuallyCreatedShipmentId not set
|
|
86
|
-
if (creatingV1Shipment && !manuallyCreatedShipmentId || newV1Shipment && !manuallyCreatedShipmentId) {
|
|
87
|
-
return {};
|
|
88
|
-
}
|
|
89
|
-
if (manuallyCreatedShipmentId) {
|
|
90
|
-
return {
|
|
91
|
-
shipmentIds
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
return {
|
|
95
|
-
externalOrderIds,
|
|
96
|
-
salesOrderIds,
|
|
97
|
-
shipmentIds
|
|
98
|
-
};
|
|
99
|
-
}, [manuallyCreatedShipmentId, externalOrderIds, salesOrderIds, shipmentIds, creatingV1Shipment, newV1Shipment]);
|
|
100
69
|
const {
|
|
101
70
|
data: salesOrderShipments,
|
|
102
71
|
error: listSalesOrderShipmentsErrors,
|
|
103
72
|
refetch: refetchSalesOrderShipments,
|
|
104
73
|
isInitialLoading: listSalesOrderShipmentsInitiallyLoading,
|
|
105
74
|
isFetching: listSalesOrderShipmentsIsFetching
|
|
106
|
-
} = useListSalesOrderShipments(
|
|
107
|
-
|
|
75
|
+
} = useListSalesOrderShipments({
|
|
76
|
+
externalOrderIds: externalOrderId ? [externalOrderId] : undefined,
|
|
77
|
+
salesOrderIds: salesOrderId ? [salesOrderId] : salesOrder ? [salesOrder.salesOrderId] :
|
|
78
|
+
// TODO: current workaround - revert to being undefined rather than empty list
|
|
79
|
+
[],
|
|
80
|
+
shipmentIds: replacementShipmentId ? [replacementShipmentId] : shipmentId ? [shipmentId] : externalShipment ? [externalShipment.shipmentId] : newV1Shipment ? [newV1Shipment.shipments[0].shipmentId] : undefined
|
|
81
|
+
});
|
|
108
82
|
const {
|
|
109
83
|
error: createSalesOrderShipmentErrors,
|
|
110
84
|
mutateAsync: createSalesOrderShipment,
|
|
@@ -129,7 +103,6 @@ const useConfigureShipment = ({
|
|
|
129
103
|
}
|
|
130
104
|
return null;
|
|
131
105
|
}), [createV1Shipment, defaultShipFromAddress, defaultWarehouse, warehouseId, refetchSalesOrderShipments]);
|
|
132
|
-
// #region Create Sales Order Shipment
|
|
133
106
|
// Handles the creation of new shipments for the sales order flow and one-off flow
|
|
134
107
|
const handleShipmentCreation = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
135
108
|
var _a, _b, _c;
|
|
@@ -179,23 +152,17 @@ const useConfigureShipment = ({
|
|
|
179
152
|
}
|
|
180
153
|
// Create a Shipment for one-off flow
|
|
181
154
|
if (!salesOrderId && !externalOrderId && !externalOrderNumber && !orderSourceCode && !shipmentId && !externalShipmentId) {
|
|
182
|
-
|
|
183
|
-
// Set manuallyCreatedShipmentId to ensure proper query parameter handling
|
|
184
|
-
if (v1Shipment) {
|
|
185
|
-
setManuallyCreatedShipmentId(v1Shipment.shipments[0].shipmentId);
|
|
186
|
-
}
|
|
155
|
+
yield createV1ShipmentWithDefaults();
|
|
187
156
|
}
|
|
188
157
|
}), [createSalesOrderShipment, createV1ShipmentWithDefaults, creatingSalesOrderShipment, creatingV1Shipment, defaultShipFromAddress, defaultWarehouse, externalOrderId, externalOrderNumber, externalShipmentId, incompleteRequirementsKeys, isExternalShipmentFetching, isExternalShipmentInitialLoading, isFetchingWarehouses, isInitialLoadingWarehouses, labelPurchasedSalesOrderShipment, listSalesOrderShipmentsInitiallyLoading, listSalesOrderShipmentsIsFetching, orderSourceCode, pendingSalesOrderShipment, salesOrder, salesOrderId, salesOrderShipmentCreated, shipFromAddresses === null || shipFromAddresses === void 0 ? void 0 : shipFromAddresses.length, shipmentId, useWarehouses, v1shipmentCreated, warehouseId, warehouses]);
|
|
189
|
-
// #endregion
|
|
190
158
|
const createNewShipmentForNotFound = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
191
159
|
// Force create a new shipment even if shipmentId exists (for shipment_not_found case)
|
|
192
160
|
const v1Shipment = yield createV1ShipmentWithDefaults();
|
|
193
161
|
if (v1Shipment) {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
yield refetchSalesOrderShipments();
|
|
162
|
+
// Store the new shipment ID to override the stale one
|
|
163
|
+
setReplacementShipmentId(v1Shipment.shipments[0].shipmentId);
|
|
197
164
|
}
|
|
198
|
-
}), [createV1ShipmentWithDefaults
|
|
165
|
+
}), [createV1ShipmentWithDefaults]);
|
|
199
166
|
const refetchPendingSalesOrderShipments = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
200
167
|
const {
|
|
201
168
|
data: shipments
|
|
@@ -219,83 +186,7 @@ const useConfigureShipment = ({
|
|
|
219
186
|
if (isInitialLoadingCarriers || isFetchingCarriers) return;
|
|
220
187
|
if ((carriers === null || carriers === void 0 ? void 0 : carriers.length) === 0) incompleteRequirementsKeys.push("no_carriers");
|
|
221
188
|
}, [carriers, incompleteRequirementsKeys, isFetchingCarriers, isInitialLoadingCarriers]);
|
|
222
|
-
const
|
|
223
|
-
if (isSalesOrderLoading) return true;
|
|
224
|
-
if (listSalesOrderShipmentsInitiallyLoading) return true;
|
|
225
|
-
if (listSalesOrderShipmentsIsFetching) return true;
|
|
226
|
-
if (creatingSalesOrderShipment) return true;
|
|
227
|
-
if (creatingV1Shipment) return true;
|
|
228
|
-
// Include external shipment loading states to prevent premature error display
|
|
229
|
-
// Only keep loading if we're actually fetching and don't have an error yet
|
|
230
|
-
// Skip this check if we already have an error to avoid infinite loading
|
|
231
|
-
if (externalShipmentId && isExternalShipmentFetching && !getExternalShipmentErrors && !isExternalShipmentInitialLoading) {
|
|
232
|
-
return true;
|
|
233
|
-
}
|
|
234
|
-
// Check if this is a one-off flow (no identifiers provided)
|
|
235
|
-
const isOneOffFlow = !salesOrderId && !externalOrderId && !externalOrderNumber && !orderSourceCode && !shipmentId && !externalShipmentId;
|
|
236
|
-
// For one-off flow, keep loading until we have shipment data or V1 creation is complete
|
|
237
|
-
if (isOneOffFlow && !pendingSalesOrderShipment && !labelPurchasedSalesOrderShipment) {
|
|
238
|
-
return true;
|
|
239
|
-
}
|
|
240
|
-
// Only consider empty salesOrderShipments array as loading if we're not initially loading and have valid identifiers
|
|
241
|
-
const shouldReturnTrueForEmptyShipments = (salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length) === 0 && !listSalesOrderShipmentsInitiallyLoading && !listSalesOrderShipmentsIsFetching;
|
|
242
|
-
if (shouldReturnTrueForEmptyShipments) {
|
|
243
|
-
return true;
|
|
244
|
-
}
|
|
245
|
-
return false;
|
|
246
|
-
}, [isSalesOrderLoading, listSalesOrderShipmentsInitiallyLoading, listSalesOrderShipmentsIsFetching, creatingSalesOrderShipment, creatingV1Shipment, isExternalShipmentInitialLoading, isExternalShipmentFetching, getExternalShipmentErrors,
|
|
247
|
-
// This was missing!
|
|
248
|
-
salesOrderId, externalOrderId, externalOrderNumber, orderSourceCode, shipmentId, externalShipmentId, pendingSalesOrderShipment, labelPurchasedSalesOrderShipment, salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length]);
|
|
249
|
-
// #region Custom Error Mapping
|
|
250
|
-
const hasGetShipmentErrors = useMemo(() => {
|
|
251
|
-
// Check for explicit API errors
|
|
252
|
-
if (listSalesOrderShipmentsErrors) return true;
|
|
253
|
-
if (getExternalShipmentErrors) return true;
|
|
254
|
-
if (importSalesOrderErrors) return true;
|
|
255
|
-
// Only treat empty results as error if we're not loading and have finished initial fetch
|
|
256
|
-
if ((salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length) === 0 && shipmentId && !listSalesOrderShipmentsInitiallyLoading && !listSalesOrderShipmentsIsFetching) {
|
|
257
|
-
return true;
|
|
258
|
-
}
|
|
259
|
-
return false;
|
|
260
|
-
}, [listSalesOrderShipmentsErrors, getExternalShipmentErrors, importSalesOrderErrors, salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length, shipmentId, listSalesOrderShipmentsInitiallyLoading, listSalesOrderShipmentsIsFetching]);
|
|
261
|
-
const hasValidShipmentData = useMemo(() => {
|
|
262
|
-
if (manuallyCreatedShipmentId) return true;
|
|
263
|
-
if (pendingSalesOrderShipment) return true;
|
|
264
|
-
if (labelPurchasedSalesOrderShipment) return true;
|
|
265
|
-
return false;
|
|
266
|
-
}, [labelPurchasedSalesOrderShipment, manuallyCreatedShipmentId, pendingSalesOrderShipment]);
|
|
267
|
-
const showShipmentNotFoundError = useMemo(() => {
|
|
268
|
-
// Don't show error if we have a manually created shipment
|
|
269
|
-
if (manuallyCreatedShipmentId) {
|
|
270
|
-
return false;
|
|
271
|
-
}
|
|
272
|
-
// Don't show error if we're creating a V1 shipment
|
|
273
|
-
if (creatingV1Shipment || newV1Shipment) {
|
|
274
|
-
return false;
|
|
275
|
-
}
|
|
276
|
-
// For external shipment ID, show error if we're not in loading state
|
|
277
|
-
// and we don't have valid shipment data
|
|
278
|
-
if (externalShipmentId && !isConfigureShipmentLoading && !hasValidShipmentData) {
|
|
279
|
-
return true;
|
|
280
|
-
}
|
|
281
|
-
// Don't show error if external shipment is still loading, unless we have explicit errors
|
|
282
|
-
if (externalShipmentId && (isExternalShipmentInitialLoading || isExternalShipmentFetching) && !getExternalShipmentErrors) {
|
|
283
|
-
return false;
|
|
284
|
-
}
|
|
285
|
-
// Show error immediately if we have shipment errors, even if still loading
|
|
286
|
-
if (hasGetShipmentErrors) {
|
|
287
|
-
return true;
|
|
288
|
-
}
|
|
289
|
-
// Check if this is a one-off flow (no identifiers provided)
|
|
290
|
-
const isOneOffFlow = !salesOrderId && !externalOrderId && !externalOrderNumber && !orderSourceCode && !shipmentId && !externalShipmentId;
|
|
291
|
-
// Don't show error for one-off flow until we've attempted shipment creation
|
|
292
|
-
if (isOneOffFlow && !v1shipmentCreated) {
|
|
293
|
-
return false;
|
|
294
|
-
}
|
|
295
|
-
// Otherwise, only show if not loading and no valid shipment data
|
|
296
|
-
return !isConfigureShipmentLoading && !hasValidShipmentData;
|
|
297
|
-
}, [manuallyCreatedShipmentId, creatingV1Shipment, newV1Shipment, hasGetShipmentErrors, isExternalShipmentInitialLoading, isExternalShipmentFetching, getExternalShipmentErrors, listSalesOrderShipmentsErrors, importSalesOrderErrors, salesOrderId, externalOrderId, externalOrderNumber, orderSourceCode, shipmentId, externalShipmentId, v1shipmentCreated, isConfigureShipmentLoading, hasValidShipmentData, pendingSalesOrderShipment, externalShipment]);
|
|
298
|
-
const errors = [...(listWarehouseErrors !== null && listWarehouseErrors !== void 0 ? listWarehouseErrors : []), ...(createSalesOrderShipmentErrors !== null && createSalesOrderShipmentErrors !== void 0 ? createSalesOrderShipmentErrors : []), ...(createV1ShipmentErrors !== null && createV1ShipmentErrors !== void 0 ? createV1ShipmentErrors : []), ...(errorWhenShipmentCancelled && cancelledShipment ? [new CodedError("shipment_cancelled", {
|
|
189
|
+
const errors = [...(listWarehouseErrors !== null && listWarehouseErrors !== void 0 ? listWarehouseErrors : []), ...(createSalesOrderShipmentErrors !== null && createSalesOrderShipmentErrors !== void 0 ? createSalesOrderShipmentErrors : []), ...(createV1ShipmentErrors !== null && createV1ShipmentErrors !== void 0 ? createV1ShipmentErrors : []), ...(listSalesOrderShipmentsErrors !== null && listSalesOrderShipmentsErrors !== void 0 ? listSalesOrderShipmentsErrors : []), ...(getExternalShipmentErrors !== null && getExternalShipmentErrors !== void 0 ? getExternalShipmentErrors : []), ...(importSalesOrderErrors !== null && importSalesOrderErrors !== void 0 ? importSalesOrderErrors : []), ...(errorWhenShipmentCancelled && cancelledShipment ? [new CodedError("shipment_cancelled", {
|
|
299
190
|
errorCode: "invalid_status",
|
|
300
191
|
errorSource: "elements",
|
|
301
192
|
errorType: "business_rules"
|
|
@@ -307,17 +198,16 @@ const useConfigureShipment = ({
|
|
|
307
198
|
errorCode: "unknown",
|
|
308
199
|
errorSource: "elements",
|
|
309
200
|
errorType: "business_rules"
|
|
310
|
-
})] : []), ...(
|
|
201
|
+
})] : []), ...((salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length) === 0 && shipmentId ? [new CodedError("shipment_not_found", {
|
|
311
202
|
errorCode: "invalid_status",
|
|
312
203
|
errorSource: "elements",
|
|
313
204
|
errorType: "business_rules"
|
|
314
205
|
})] : [])];
|
|
315
|
-
// #endregion
|
|
316
206
|
return {
|
|
317
207
|
carriers,
|
|
318
208
|
createNewShipmentForNotFound,
|
|
319
209
|
errors: errors.length > 0 ? errors : undefined,
|
|
320
|
-
isLoading:
|
|
210
|
+
isLoading: (isSalesOrderLoading || !(salesOrderShipments === null || salesOrderShipments === void 0 ? void 0 : salesOrderShipments.length) || creatingSalesOrderShipment) && errors.length === 0,
|
|
321
211
|
refetchPendingSalesOrderShipments,
|
|
322
212
|
salesOrder,
|
|
323
213
|
shipment: pendingSalesOrderShipment !== null && pendingSalesOrderShipment !== void 0 ? pendingSalesOrderShipment : labelPurchasedSalesOrderShipment,
|
|
@@ -1,51 +1,28 @@
|
|
|
1
1
|
import { __awaiter } from '../_virtual/_tslib.js';
|
|
2
|
-
import {
|
|
2
|
+
import { useGetSalesOrderByExternalOrderId, useGetSalesOrder, useListOrderSources, useRefreshOrderSource } from '@shipengine/react-api';
|
|
3
3
|
import { useQueryClient } from '@tanstack/react-query';
|
|
4
|
-
import { useState, useMemo,
|
|
4
|
+
import { useState, useMemo, useEffect } from 'react';
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* Imports and retrieves sales orders by either:
|
|
8
|
-
* - Sales order ID lookup
|
|
9
|
-
* - External order ID/number search
|
|
10
|
-
*
|
|
11
|
-
* 1. First attempts to find the sales order using provided identifiers
|
|
12
|
-
* 2. If no order is found and initial fetches have run, automatically refreshes order sources
|
|
13
|
-
* 3. Invalidates relevant queries after successful refresh to refetch updated data
|
|
14
|
-
*
|
|
15
|
-
* @returns Object:
|
|
16
|
-
* - `salesOrder`: The found sales order, or undefined
|
|
17
|
-
* - `isLoading`: Boolean indicating if the hook is currently loading data
|
|
18
|
-
* - `errors`: Array of errors from failed queries, or undefined
|
|
19
|
-
*/
|
|
20
6
|
const useImportSalesOrder = ({
|
|
21
7
|
enabled,
|
|
22
8
|
externalOrderId,
|
|
23
|
-
externalOrderNumber,
|
|
24
9
|
orderSourceCode,
|
|
25
10
|
salesOrderId
|
|
26
11
|
}) => {
|
|
27
12
|
var _a, _b, _c;
|
|
28
13
|
const queryClient = useQueryClient();
|
|
29
14
|
const [refreshAttempted, setRefreshAttempted] = useState(false);
|
|
30
|
-
//
|
|
31
|
-
const
|
|
32
|
-
externalOrderId
|
|
33
|
-
externalOrderNumber
|
|
15
|
+
// attempt to get sales order through external id means
|
|
16
|
+
const orderByExternalIdQuery = useGetSalesOrderByExternalOrderId(externalOrderId, {
|
|
17
|
+
enabled: enabled && !!externalOrderId && !salesOrderId
|
|
34
18
|
});
|
|
35
19
|
// if an order was found through external search disable this query
|
|
36
|
-
const
|
|
20
|
+
const orderByIdQuery = useGetSalesOrder(salesOrderId, {
|
|
37
21
|
enabled: enabled && !!salesOrderId
|
|
38
22
|
});
|
|
39
|
-
const salesOrder = useMemo(() =>
|
|
40
|
-
if (salesOrderId) {
|
|
41
|
-
return salesOrderByIdQuery.data;
|
|
42
|
-
} else if (salesOrderByExternalIdQuery.data && salesOrderByExternalIdQuery.data.length > 0) {
|
|
43
|
-
return salesOrderByExternalIdQuery.data[0];
|
|
44
|
-
}
|
|
45
|
-
return undefined;
|
|
46
|
-
}, [salesOrderId, salesOrderByIdQuery.data, salesOrderByExternalIdQuery.data]);
|
|
23
|
+
const salesOrder = useMemo(() => salesOrderId ? orderByIdQuery.data : orderByExternalIdQuery.data, [salesOrderId, orderByIdQuery.data, orderByExternalIdQuery.data]);
|
|
47
24
|
// Determine if the initial fetch attempts (if applicable) have settled without finding data
|
|
48
|
-
const initialFetchSettled = (salesOrderId ? !
|
|
25
|
+
const initialFetchSettled = (salesOrderId ? !orderByIdQuery.isInitialLoading && !orderByIdQuery.isFetching : true) && (externalOrderId && !salesOrderId ? !orderByExternalIdQuery.isLoading && !orderByExternalIdQuery.isFetching : true);
|
|
49
26
|
const shouldAttemptRefresh = enabled && initialFetchSettled && !salesOrder && !refreshAttempted;
|
|
50
27
|
const listOrderSourcesQuery = useListOrderSources({
|
|
51
28
|
enabled: shouldAttemptRefresh
|
|
@@ -55,17 +32,6 @@ const useImportSalesOrder = ({
|
|
|
55
32
|
isLoading: isRefreshingOrderSource,
|
|
56
33
|
mutateAsync: refreshOrderSource
|
|
57
34
|
} = useRefreshOrderSource();
|
|
58
|
-
const invalidateSalesOrderQueries = useCallback(() => {
|
|
59
|
-
if (salesOrderId) {
|
|
60
|
-
void queryClient.invalidateQueries({
|
|
61
|
-
queryKey: ["useGetSalesOrder", salesOrderId]
|
|
62
|
-
});
|
|
63
|
-
} else if (externalOrderId || externalOrderNumber) {
|
|
64
|
-
void queryClient.invalidateQueries({
|
|
65
|
-
queryKey: ["useListSalesOrders", externalOrderId, externalOrderNumber]
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}, [queryClient, salesOrderId, externalOrderId, externalOrderNumber]);
|
|
69
35
|
useEffect(() => {
|
|
70
36
|
if (listOrderSourcesQuery.isSuccess && listOrderSourcesQuery.data && shouldAttemptRefresh && !isRefreshingOrderSource) {
|
|
71
37
|
const orderSourcesToRefresh = orderSourceCode ? listOrderSourcesQuery.data.filter(o => o.orderSourceCode.includes(orderSourceCode) && o.active) : listOrderSourcesQuery.data.filter(o => o.active);
|
|
@@ -73,20 +39,29 @@ const useImportSalesOrder = ({
|
|
|
73
39
|
setRefreshAttempted(true);
|
|
74
40
|
void (() => __awaiter(void 0, void 0, void 0, function* () {
|
|
75
41
|
yield Promise.all(orderSourcesToRefresh.map(o => refreshOrderSource(o.orderSourceId, {
|
|
76
|
-
// Invalidate relevant queries
|
|
42
|
+
// Invalidate relevant queries on successful refresh
|
|
77
43
|
onSuccess: () => {
|
|
78
|
-
|
|
44
|
+
if (salesOrderId) {
|
|
45
|
+
void queryClient.invalidateQueries({
|
|
46
|
+
queryKey: ["useGetSalesOrder", salesOrderId]
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
if (externalOrderId && !salesOrderId) {
|
|
50
|
+
void queryClient.invalidateQueries({
|
|
51
|
+
queryKey: ["useGetSalesOrderByExternalOrderId", externalOrderId]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
79
54
|
}
|
|
80
55
|
})));
|
|
81
56
|
}))();
|
|
82
57
|
}
|
|
83
58
|
}
|
|
84
59
|
}, [externalOrderId, isRefreshingOrderSource, listOrderSourcesQuery.data, listOrderSourcesQuery.isSuccess, orderSourceCode, queryClient, refreshOrderSource, salesOrderId, shouldAttemptRefresh]);
|
|
85
|
-
const isLoading =
|
|
86
|
-
const errors = [...((_a =
|
|
60
|
+
const isLoading = orderByIdQuery.isInitialLoading || orderByExternalIdQuery.isInitialLoading || listOrderSourcesQuery.isInitialLoading || isRefreshingOrderSource;
|
|
61
|
+
const errors = [...((_a = orderByIdQuery.error) !== null && _a !== void 0 ? _a : []), ...((_b = orderByExternalIdQuery.error) !== null && _b !== void 0 ? _b : []), ...((_c = listOrderSourcesQuery.error) !== null && _c !== void 0 ? _c : []), ...(refreshOrderSourceErrors !== null && refreshOrderSourceErrors !== void 0 ? refreshOrderSourceErrors : [])];
|
|
87
62
|
return {
|
|
88
63
|
errors: errors.length > 0 ? errors : undefined,
|
|
89
|
-
isLoading
|
|
64
|
+
isLoading,
|
|
90
65
|
salesOrder
|
|
91
66
|
};
|
|
92
67
|
};
|
|
@@ -166,7 +166,7 @@ var common = {
|
|
|
166
166
|
invalidNameOrCompany: "Recipient name and company name (if provided) must have two characters in first and last name.",
|
|
167
167
|
parsingFailure: "Parsing failed. Please check address and try again.",
|
|
168
168
|
incompleteLabelPurchaseRequirements: "Please add your {{requirements}} to continue purchasing a label.",
|
|
169
|
-
shipmentNotFound: "Cannot find
|
|
169
|
+
shipmentNotFound: "Cannot find shipment with ID: {{id}}.",
|
|
170
170
|
shipmentCancelled: "This shipment is Cancelled in ShipStation. Log into ShipStation to restore the order to Awaiting Shipment status.",
|
|
171
171
|
unableToLoad: {
|
|
172
172
|
accountSettings: "Unable to load account settings",
|
|
@@ -30,13 +30,6 @@ var purchaseLabel = {
|
|
|
30
30
|
saveRateFailedMessage: "Saving DHL Express Worldwide rates is temporarily unavailable. Please try again later.",
|
|
31
31
|
saveRateFailedTitle: "Unable To Save Rate"
|
|
32
32
|
},
|
|
33
|
-
identifierTypes: {
|
|
34
|
-
externalOrderId: "External Order ID",
|
|
35
|
-
externalOrderNumber: "External Order Number",
|
|
36
|
-
externalShipmentId: "External Shipment ID",
|
|
37
|
-
salesOrderId: "Sales Order ID",
|
|
38
|
-
shipmentId: "Shipment ID"
|
|
39
|
-
},
|
|
40
33
|
errorTypes: {
|
|
41
34
|
results: "No results returned"
|
|
42
35
|
},
|
package/dist/esm/package.json.js
CHANGED
|
@@ -60,31 +60,7 @@ const Component = _a => {
|
|
|
60
60
|
}));
|
|
61
61
|
// Track if we have a shipment_not_found error to avoid reusing the bad shipment ID
|
|
62
62
|
const hasShipmentNotFoundError = configureShipmentErrors === null || configureShipmentErrors === void 0 ? void 0 : configureShipmentErrors.some(error => error.message === "shipment_not_found");
|
|
63
|
-
const
|
|
64
|
-
if (_multiplexedId && "shipmentId" in _multiplexedId) {
|
|
65
|
-
return {
|
|
66
|
-
shipmentId: _multiplexedId.shipmentId
|
|
67
|
-
};
|
|
68
|
-
} else if (_multiplexedId && "externalShipmentId" in _multiplexedId) {
|
|
69
|
-
return {
|
|
70
|
-
externalShipmentId: _multiplexedId.externalShipmentId
|
|
71
|
-
};
|
|
72
|
-
} else if (_multiplexedId && "salesOrderId" in _multiplexedId) {
|
|
73
|
-
return {
|
|
74
|
-
salesOrderId: _multiplexedId.salesOrderId
|
|
75
|
-
};
|
|
76
|
-
} else if (_multiplexedId && "externalOrderNumber" in _multiplexedId) {
|
|
77
|
-
return {
|
|
78
|
-
externalOrderNumber: _multiplexedId.externalOrderNumber
|
|
79
|
-
};
|
|
80
|
-
} else if (_multiplexedId && "externalOrderId" in _multiplexedId) {
|
|
81
|
-
return {
|
|
82
|
-
externalOrderId: _multiplexedId.externalOrderId
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
return {};
|
|
86
|
-
}, [_multiplexedId]);
|
|
87
|
-
const shipmentId = getMultiplexedIdentifier().shipmentId;
|
|
63
|
+
const shipmentId = _multiplexedId && "shipmentId" in _multiplexedId ? _multiplexedId.shipmentId : undefined;
|
|
88
64
|
const {
|
|
89
65
|
data: insuranceAccount,
|
|
90
66
|
isInitialLoading: insuranceIsLoading
|
|
@@ -202,9 +178,9 @@ const Component = _a => {
|
|
|
202
178
|
return jsx(SuspendPurchase, {
|
|
203
179
|
data: shipment || salesOrder,
|
|
204
180
|
errors: errors.length ? errors : undefined,
|
|
205
|
-
identifier: getMultiplexedIdentifier(),
|
|
206
181
|
isLoading: isLabelsLoading || isConfiguringShipment || insuranceIsLoading,
|
|
207
182
|
onCreateNewShipment: createNewShipmentForNotFound,
|
|
183
|
+
shipmentId: shipmentId,
|
|
208
184
|
children: element && getElement(element)
|
|
209
185
|
});
|
|
210
186
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { PurchaseLabelCommonProps } from "../../elements/purchase-label/purchase-label";
|
|
2
1
|
export type ShipmentNotFoundErrorProps = {
|
|
3
|
-
|
|
2
|
+
shipmentId?: string;
|
|
4
3
|
onCreateNewShipment?: () => Promise<void> | void;
|
|
5
4
|
};
|
|
6
|
-
export declare const ShipmentNotFoundError: ({
|
|
5
|
+
export declare const ShipmentNotFoundError: ({ shipmentId, onCreateNewShipment, }: ShipmentNotFoundErrorProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
6
|
//# sourceMappingURL=shipment-not-found-error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipment-not-found-error.d.ts","sourceRoot":"","sources":["../../../../src/components/shipment-not-found-error/shipment-not-found-error.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shipment-not-found-error.d.ts","sourceRoot":"","sources":["../../../../src/components/shipment-not-found-error/shipment-not-found-error.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,sCAGnC,0BAA0B,qDAwB5B,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { type WithChildrenCommonProps } from "@shipengine/giger";
|
|
2
2
|
import type { SE } from "@shipengine/react-api";
|
|
3
|
-
import type { ShipmentNotFoundErrorProps } from "../shipment-not-found-error";
|
|
4
3
|
export type SuspendPurchaseProps = WithChildrenCommonProps<{
|
|
5
4
|
data?: SE.SalesOrderShipment | SE.SalesOrder;
|
|
6
5
|
errors?: SE.CodedError[];
|
|
7
6
|
isLoading?: boolean;
|
|
8
7
|
onCreateNewShipment?: () => Promise<void>;
|
|
9
|
-
|
|
8
|
+
shipmentId?: string;
|
|
10
9
|
}>;
|
|
11
|
-
export declare const SuspendPurchase: ({ children, errors, isLoading, data, onCreateNewShipment,
|
|
10
|
+
export declare const SuspendPurchase: ({ children, errors, isLoading, data, onCreateNewShipment, shipmentId, }: SuspendPurchaseProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
11
|
//# sourceMappingURL=suspend-purchase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-purchase.d.ts","sourceRoot":"","sources":["../../../../src/components/suspend-purchase/suspend-purchase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"suspend-purchase.d.ts","sourceRoot":"","sources":["../../../../src/components/suspend-purchase/suspend-purchase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAMhD,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;IACzD,IAAI,CAAC,EAAE,EAAE,CAAC,kBAAkB,GAAG,EAAE,CAAC,UAAU,CAAC;IAC7C,MAAM,CAAC,EAAE,EAAE,CAAC,UAAU,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,yEAO7B,oBAAoB,qDAgDtB,CAAC"}
|
|
@@ -339,13 +339,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & import
|
|
|
339
339
|
saveRateFailedMessage: string;
|
|
340
340
|
saveRateFailedTitle: string;
|
|
341
341
|
};
|
|
342
|
-
identifierTypes: {
|
|
343
|
-
externalOrderId: string;
|
|
344
|
-
externalOrderNumber: string;
|
|
345
|
-
externalShipmentId: string;
|
|
346
|
-
salesOrderId: string;
|
|
347
|
-
shipmentId: string;
|
|
348
|
-
};
|
|
349
342
|
errorTypes: {
|
|
350
343
|
results: string;
|
|
351
344
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labels-grid.d.ts","sourceRoot":"","sources":["../../../../src/elements/labels-grid/labels-grid.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAgB,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAGV,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAWlC,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC;IAC7B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,eAAe,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,yBAAyB,CAAC,EAAE,CAAC,kBAAkB,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,CAAC,cAAc,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAGlB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
|
@@ -299,13 +299,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & import(
|
|
|
299
299
|
saveRateFailedMessage: string;
|
|
300
300
|
saveRateFailedTitle: string;
|
|
301
301
|
};
|
|
302
|
-
identifierTypes: {
|
|
303
|
-
externalOrderId: string;
|
|
304
|
-
externalOrderNumber: string;
|
|
305
|
-
externalShipmentId: string;
|
|
306
|
-
salesOrderId: string;
|
|
307
|
-
shipmentId: string;
|
|
308
|
-
};
|
|
309
302
|
errorTypes: {
|
|
310
303
|
results: string;
|
|
311
304
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-carriers.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-carriers/manage-carriers.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAW5D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,uBAAuB,EAAE,wBAAwB,GAAG,WAAW,CAAC,CAAC;AAEnG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,SAAS,GAAI,uCAAuC,cAAc,qDAsB9E,CAAC;AAEF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"manage-carriers.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-carriers/manage-carriers.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAW5D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,uBAAuB,EAAE,wBAAwB,GAAG,WAAW,CAAC,CAAC;AAEnG;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,SAAS,GAAI,uCAAuC,cAAc,qDAsB9E,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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298
298
|
saveRateFailedMessage: string;
|
|
299
299
|
saveRateFailedTitle: string;
|
|
300
300
|
};
|
|
301
|
-
identifierTypes: {
|
|
302
|
-
externalOrderId: string;
|
|
303
|
-
externalOrderNumber: string;
|
|
304
|
-
externalShipmentId: string;
|
|
305
|
-
salesOrderId: string;
|
|
306
|
-
shipmentId: string;
|
|
307
|
-
};
|
|
308
301
|
errorTypes: {
|
|
309
302
|
results: string;
|
|
310
303
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-external-carriers.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-external-carriers/manage-external-carriers.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAMhF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,SAAS,GAAI,uBAAuB,YAAY,qDAI5D,CAAC;AAEF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"manage-external-carriers.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-external-carriers/manage-external-carriers.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAMhF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,SAAS,GAAI,uBAAuB,YAAY,qDAI5D,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,OAAO,OAAO,CAAC,CAAC"}
|
|
@@ -276,13 +276,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & import(
|
|
|
276
276
|
saveRateFailedMessage: string;
|
|
277
277
|
saveRateFailedTitle: string;
|
|
278
278
|
};
|
|
279
|
-
identifierTypes: {
|
|
280
|
-
externalOrderId: string;
|
|
281
|
-
externalOrderNumber: string;
|
|
282
|
-
externalShipmentId: string;
|
|
283
|
-
salesOrderId: string;
|
|
284
|
-
shipmentId: string;
|
|
285
|
-
};
|
|
286
279
|
errorTypes: {
|
|
287
280
|
results: string;
|
|
288
281
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-funding-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-funding/manage-funding-element.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAWnE,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,SAAS,GAAI,4BAA4B,cAAc,qDA+CnE,CAAC;AAEF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"manage-funding-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-funding/manage-funding-element.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAWnE,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,SAAS,GAAI,4BAA4B,cAAc,qDA+CnE,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
|
@@ -292,13 +292,6 @@ export declare const Element: ({ resources, ...props }: import("../../create-ele
|
|
|
292
292
|
saveRateFailedMessage: string;
|
|
293
293
|
saveRateFailedTitle: string;
|
|
294
294
|
};
|
|
295
|
-
identifierTypes: {
|
|
296
|
-
externalOrderId: string;
|
|
297
|
-
externalOrderNumber: string;
|
|
298
|
-
externalShipmentId: string;
|
|
299
|
-
salesOrderId: string;
|
|
300
|
-
shipmentId: string;
|
|
301
|
-
};
|
|
302
295
|
errorTypes: {
|
|
303
296
|
results: string;
|
|
304
297
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-warehouses.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-warehouses/manage-warehouses.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS,wDAIrB,CAAC;AAEF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"manage-warehouses.d.ts","sourceRoot":"","sources":["../../../../src/elements/manage-warehouses/manage-warehouses.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS,wDAIrB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAElB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
|
@@ -275,13 +275,6 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
275
275
|
saveRateFailedMessage: string;
|
|
276
276
|
saveRateFailedTitle: string;
|
|
277
277
|
};
|
|
278
|
-
identifierTypes: {
|
|
279
|
-
externalOrderId: string;
|
|
280
|
-
externalOrderNumber: string;
|
|
281
|
-
externalShipmentId: string;
|
|
282
|
-
salesOrderId: string;
|
|
283
|
-
shipmentId: string;
|
|
284
|
-
};
|
|
285
278
|
errorTypes: {
|
|
286
279
|
results: string;
|
|
287
280
|
};
|
package/dist/types/elements/payment-method-settings/payment-method-settings-element.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-method-settings-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/payment-method-settings/payment-method-settings-element.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAQvE,eAAO,MAAM,SAAS,GAAI,4BAA4B,0BAA0B,qDAE/E,CAAC;AAEF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"payment-method-settings-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/payment-method-settings/payment-method-settings-element.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAQvE,eAAO,MAAM,SAAS,GAAI,4BAA4B,0BAA0B,qDAE/E,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAElB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
|
@@ -501,13 +501,6 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
501
501
|
saveRateFailedMessage: string;
|
|
502
502
|
saveRateFailedTitle: string;
|
|
503
503
|
};
|
|
504
|
-
identifierTypes: {
|
|
505
|
-
externalOrderId: string;
|
|
506
|
-
externalOrderNumber: string;
|
|
507
|
-
externalShipmentId: string;
|
|
508
|
-
salesOrderId: string;
|
|
509
|
-
shipmentId: string;
|
|
510
|
-
};
|
|
511
504
|
errorTypes: {
|
|
512
505
|
results: string;
|
|
513
506
|
};
|