@channel.io/app-sdk-core 0.6.11 → 0.6.12
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/extensions/index.d.ts +1 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/interfaces/wms.d.ts +2 -58
- package/dist/extensions/interfaces/wms.d.ts.map +1 -1
- package/dist/extensions/interfaces/wms.js.map +1 -1
- package/dist/extensions/wms.d.ts +659 -38
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +96 -2
- package/dist/extensions/wms.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,6 @@ export { CustomTabNameI18nSchema, CustomTabConfigSchema, GetCustomTabsOutputSche
|
|
|
7
7
|
export { HookTypeSchema, HookConfigSchema, GetHooksOutputSchema, type HookType, type HookConfig, type GetHooksOutput, } from "./hook.js";
|
|
8
8
|
export { MemoryDefinitionSchema, WorkflowNodeSchema, PredefinedTaskSchema, GetAlfTasksResponseSchema, type MemoryDefinition, type WorkflowNode, type PredefinedTask, type GetAlfTasksResponse, } from "./alftask.js";
|
|
9
9
|
export { AddressSchema, BankAccountSchema, DefectInfoSchema, ClaimReasonSchema, ClaimabilitySchema, ClaimSchema, OrderItemSchema, PaymentSchema, FulfillmentSchema, OrderSchema, FieldConfigSchema, OperationOptionsSchema, AppCapabilitiesSchema, type Address, type BankAccount, type DefectInfo, type ClaimReason, type Claimability, type Claim, type OrderItem, type Payment, type Fulfillment, type Order, type FieldConfig, type OperationOptions, type AppCapabilities, } from "./order.js";
|
|
10
|
-
export { WmsShippingInfoSchema, WmsDeliverySchema, WmsOrderItemSchema, WmsOrderSchema, CommerceIdentifiersSchema, type WmsShippingInfo, type WmsDelivery, type WmsOrderItem, type WmsOrder, type CommerceIdentifiers, } from "./wms.js";
|
|
10
|
+
export { WmsShippingInfoSchema, WmsDeliverySchema, WmsOrderItemSchema, WmsOrderSchema, CommerceIdentifiersSchema, GetWmsOrdersInputSchema, GetWmsOrdersOutputSchema, GetWmsOrderInputSchema, GetWmsOrderOutputSchema, GetWmsShopIdInputSchema, GetWmsShopIdOutputSchema, CancelWmsOrderInputSchema, ReturnWmsOrderInputSchema, ExchangeWmsOrderInputSchema, ChangeWmsShippingAddressInputSchema, RestoreWmsOrderInputSchema, WmsSuccessOutputSchema, type WmsShippingInfo, type WmsDelivery, type WmsOrderItem, type WmsOrder, type CommerceIdentifiers, type GetWmsOrdersInput, type GetWmsOrdersOutput, type GetWmsOrderInput, type GetWmsOrderOutput, type GetWmsShopIdInput, type GetWmsShopIdOutput, type CancelWmsOrderInput, type ReturnWmsOrderInput, type ExchangeWmsOrderInput, type ChangeWmsShippingAddressInput, type RestoreWmsOrderInput, type WmsSuccessOutput, } from "./wms.js";
|
|
11
11
|
export * from "./interfaces/index.js";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,aAAa,GACnB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,+BAA+B,EAC/B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,OAAO,GACb,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB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qBAAqB,EACrB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,yBAAyB,EACzB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,aAAa,GACnB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,+BAA+B,EAC/B,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,OAAO,GACb,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,gBAA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EACV,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,EAC3B,mCAAmC,EACnC,0BAA0B,EAC1B,sBAAsB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC;AAGlB,cAAc,uBAAuB,CAAC"}
|
package/dist/extensions/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { MemoryDefinitionSchema, WorkflowNodeSchema, PredefinedTaskSchema, GetAl
|
|
|
17
17
|
// Order Extension Schemas (v1)
|
|
18
18
|
export { AddressSchema, BankAccountSchema, DefectInfoSchema, ClaimReasonSchema, ClaimabilitySchema, ClaimSchema, OrderItemSchema, PaymentSchema, FulfillmentSchema, OrderSchema, FieldConfigSchema, OperationOptionsSchema, AppCapabilitiesSchema, } from "./order.js";
|
|
19
19
|
// WMS Extension Schemas (v1)
|
|
20
|
-
export { WmsShippingInfoSchema, WmsDeliverySchema, WmsOrderItemSchema, WmsOrderSchema, CommerceIdentifiersSchema, } from "./wms.js";
|
|
20
|
+
export { WmsShippingInfoSchema, WmsDeliverySchema, WmsOrderItemSchema, WmsOrderSchema, CommerceIdentifiersSchema, GetWmsOrdersInputSchema, GetWmsOrdersOutputSchema, GetWmsOrderInputSchema, GetWmsOrderOutputSchema, GetWmsShopIdInputSchema, GetWmsShopIdOutputSchema, CancelWmsOrderInputSchema, ReturnWmsOrderInputSchema, ExchangeWmsOrderInputSchema, ChangeWmsShippingAddressInputSchema, RestoreWmsOrderInputSchema, WmsSuccessOutputSchema, } from "./wms.js";
|
|
21
21
|
// Extension Interfaces (for implementing extensions)
|
|
22
22
|
export * from "./interfaces/index.js";
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,mBAAmB,GAIpB,MAAM,YAAY,CAAC;AAEpB,iCAAiC;AACjC,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,+BAA+B,GAIhC,MAAM,aAAa,CAAC;AAErB,kCAAkC;AAClC,OAAO,EACL,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,GAMd,MAAM,eAAe,CAAC;AAEvB,iCAAiC;AACjC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GAapB,MAAM,cAAc,CAAC;AAEtB,gCAAgC;AAChC,OAAO,EACL,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GAKzB,MAAM,aAAa,CAAC;AAErB,oCAAoC;AACpC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,GAK5B,MAAM,gBAAgB,CAAC;AAExB,8BAA8B;AAC9B,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,oBAAoB,GAIrB,MAAM,WAAW,CAAC;AAEnB,kCAAkC;AAClC,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,yBAAyB,GAK1B,MAAM,cAAc,CAAC;AAEtB,+BAA+B;AAC/B,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,GActB,MAAM,YAAY,CAAC;AAEpB,6BAA6B;AAC7B,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/extensions/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,mBAAmB,GAIpB,MAAM,YAAY,CAAC;AAEpB,iCAAiC;AACjC,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,+BAA+B,GAIhC,MAAM,aAAa,CAAC;AAErB,kCAAkC;AAClC,OAAO,EACL,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,GAMd,MAAM,eAAe,CAAC;AAEvB,iCAAiC;AACjC,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GAapB,MAAM,cAAc,CAAC;AAEtB,gCAAgC;AAChC,OAAO,EACL,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,GAKzB,MAAM,aAAa,CAAC;AAErB,oCAAoC;AACpC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,GAK5B,MAAM,gBAAgB,CAAC;AAExB,8BAA8B;AAC9B,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,oBAAoB,GAIrB,MAAM,WAAW,CAAC;AAEnB,kCAAkC;AAClC,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,yBAAyB,GAK1B,MAAM,cAAc,CAAC;AAEtB,+BAA+B;AAC/B,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,GActB,MAAM,YAAY,CAAC;AAEpB,6BAA6B;AAC7B,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,EAC3B,mCAAmC,EACnC,0BAA0B,EAC1B,sBAAsB,GAkBvB,MAAM,UAAU,CAAC;AAElB,qDAAqD;AACrD,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,62 +1,6 @@
|
|
|
1
1
|
import type { Context } from "../../types/context.js";
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
4
|
-
commerceOrderIds?: string;
|
|
5
|
-
orderIds?: string;
|
|
6
|
-
packageIds?: string;
|
|
7
|
-
shopId?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetWmsOrdersOutput {
|
|
10
|
-
orders: WmsOrder[];
|
|
11
|
-
}
|
|
12
|
-
export interface GetWmsOrderInput {
|
|
13
|
-
commerceOrderId?: string;
|
|
14
|
-
orderId?: string;
|
|
15
|
-
packageId?: string;
|
|
16
|
-
shopId?: string;
|
|
17
|
-
}
|
|
18
|
-
export type GetWmsOrderOutput = WmsOrder;
|
|
19
|
-
export interface GetWmsShopIdInput {
|
|
20
|
-
commerceIdentifiers?: CommerceIdentifiers;
|
|
21
|
-
}
|
|
22
|
-
export interface GetWmsShopIdOutput {
|
|
23
|
-
shopId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface CancelWmsOrderInput {
|
|
26
|
-
orderIds: string;
|
|
27
|
-
reason?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ReturnWmsOrderInput {
|
|
30
|
-
orderIds: string;
|
|
31
|
-
reason?: string;
|
|
32
|
-
memo?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface ExchangeWmsOrderInput {
|
|
35
|
-
orderIds: string;
|
|
36
|
-
reason?: string;
|
|
37
|
-
memo?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface ChangeWmsShippingAddressInput {
|
|
40
|
-
orderId: string;
|
|
41
|
-
recipient: string;
|
|
42
|
-
phone: string;
|
|
43
|
-
address1: string;
|
|
44
|
-
postalCode: string;
|
|
45
|
-
address2?: string;
|
|
46
|
-
message?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface RestoreWmsOrderInput {
|
|
49
|
-
orderId: string;
|
|
50
|
-
memo?: string;
|
|
51
|
-
prdSeq?: string;
|
|
52
|
-
restorePack?: boolean;
|
|
53
|
-
restockNormal?: boolean;
|
|
54
|
-
restockBad?: boolean;
|
|
55
|
-
}
|
|
56
|
-
export interface WmsSuccessOutput {
|
|
57
|
-
success: boolean;
|
|
58
|
-
message?: string;
|
|
59
|
-
}
|
|
2
|
+
import type { CancelWmsOrderInput, ChangeWmsShippingAddressInput, ExchangeWmsOrderInput, GetWmsOrderInput, GetWmsOrderOutput, GetWmsOrdersInput, GetWmsOrdersOutput, GetWmsShopIdInput, GetWmsShopIdOutput, RestoreWmsOrderInput, ReturnWmsOrderInput, WmsSuccessOutput } from "../wms.js";
|
|
3
|
+
export type { CancelWmsOrderInput, ChangeWmsShippingAddressInput, ExchangeWmsOrderInput, GetWmsOrderInput, GetWmsOrderOutput, GetWmsOrdersInput, GetWmsOrdersOutput, GetWmsShopIdInput, GetWmsShopIdOutput, RestoreWmsOrderInput, ReturnWmsOrderInput, WmsSuccessOutput, } from "../wms.js";
|
|
60
4
|
/**
|
|
61
5
|
* WMS Extension Interface
|
|
62
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms.d.ts","sourceRoot":"","sources":["../../../src/extensions/interfaces/wms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"wms.d.ts","sourceRoot":"","sources":["../../../src/extensions/interfaces/wms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,WAAW,CAAC;AASnB;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,qBAAqB;IAGpC,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAEhF,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAE9E,SAAS,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAIjF,WAAW,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEnF,oBAAoB,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAI7F,WAAW,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEnF,oBAAoB,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAI7F,aAAa,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEvF,qBAAqB,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAI9F,qBAAqB,CAAC,CACpB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,6BAA6B,GACpC,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAWnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms.js","sourceRoot":"","sources":["../../../src/extensions/interfaces/wms.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wms.js","sourceRoot":"","sources":["../../../src/extensions/interfaces/wms.ts"],"names":[],"mappings":"AAuFA;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,SAAS,EAAE,8BAA8B;IACzC,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,8BAA8B;IACzC,WAAW,EAAE,kCAAkC;IAC/C,oBAAoB,EAAE,mCAAmC;IACzD,WAAW,EAAE,kCAAkC;IAC/C,oBAAoB,EAAE,mCAAmC;IACzD,aAAa,EAAE,sCAAsC;IACrD,qBAAqB,EAAE,qCAAqC;IAC5D,qBAAqB,EAAE,0CAA0C;CACzD,CAAC"}
|
package/dist/extensions/wms.d.ts
CHANGED
|
@@ -60,12 +60,14 @@ export type WmsDelivery = z.infer<typeof WmsDeliverySchema>;
|
|
|
60
60
|
export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
61
61
|
extId: z.ZodString;
|
|
62
62
|
extCommerceOrderItemId: z.ZodString;
|
|
63
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
64
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
63
65
|
state: z.ZodOptional<z.ZodString>;
|
|
64
66
|
packageId: z.ZodOptional<z.ZodString>;
|
|
65
67
|
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
66
68
|
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
67
69
|
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
68
|
-
shippingInfo: z.ZodObject<{
|
|
70
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
69
71
|
name: z.ZodString;
|
|
70
72
|
firstName: z.ZodOptional<z.ZodString>;
|
|
71
73
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -101,11 +103,18 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
101
103
|
firstName?: string | undefined;
|
|
102
104
|
lastName?: string | undefined;
|
|
103
105
|
landlineNumber?: string | undefined;
|
|
104
|
-
}
|
|
106
|
+
}>>;
|
|
105
107
|
}, "strip", z.ZodTypeAny, {
|
|
106
108
|
extId: string;
|
|
107
109
|
extCommerceOrderItemId: string;
|
|
108
|
-
|
|
110
|
+
state?: string | undefined;
|
|
111
|
+
quantity?: number | undefined;
|
|
112
|
+
estimatedShipDate?: string | undefined;
|
|
113
|
+
productName?: string | undefined;
|
|
114
|
+
packageId?: string | undefined;
|
|
115
|
+
invoiceNumber?: string | undefined;
|
|
116
|
+
deliveryCompany?: string | undefined;
|
|
117
|
+
shippingInfo?: {
|
|
109
118
|
name: string;
|
|
110
119
|
zipcode: string;
|
|
111
120
|
address1: string;
|
|
@@ -117,16 +126,18 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
117
126
|
firstName?: string | undefined;
|
|
118
127
|
lastName?: string | undefined;
|
|
119
128
|
landlineNumber?: string | undefined;
|
|
120
|
-
};
|
|
129
|
+
} | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
extId: string;
|
|
132
|
+
extCommerceOrderItemId: string;
|
|
121
133
|
state?: string | undefined;
|
|
134
|
+
quantity?: number | undefined;
|
|
122
135
|
estimatedShipDate?: string | undefined;
|
|
136
|
+
productName?: string | undefined;
|
|
123
137
|
packageId?: string | undefined;
|
|
124
138
|
invoiceNumber?: string | undefined;
|
|
125
139
|
deliveryCompany?: string | undefined;
|
|
126
|
-
|
|
127
|
-
extId: string;
|
|
128
|
-
extCommerceOrderItemId: string;
|
|
129
|
-
shippingInfo: {
|
|
140
|
+
shippingInfo?: {
|
|
130
141
|
name: string;
|
|
131
142
|
zipcode: string;
|
|
132
143
|
address1: string;
|
|
@@ -138,12 +149,7 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
138
149
|
firstName?: string | undefined;
|
|
139
150
|
lastName?: string | undefined;
|
|
140
151
|
landlineNumber?: string | undefined;
|
|
141
|
-
};
|
|
142
|
-
state?: string | undefined;
|
|
143
|
-
estimatedShipDate?: string | undefined;
|
|
144
|
-
packageId?: string | undefined;
|
|
145
|
-
invoiceNumber?: string | undefined;
|
|
146
|
-
deliveryCompany?: string | undefined;
|
|
152
|
+
} | undefined;
|
|
147
153
|
}>;
|
|
148
154
|
export type WmsOrderItem = z.infer<typeof WmsOrderItemSchema>;
|
|
149
155
|
/**
|
|
@@ -155,12 +161,14 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
155
161
|
items: z.ZodArray<z.ZodObject<{
|
|
156
162
|
extId: z.ZodString;
|
|
157
163
|
extCommerceOrderItemId: z.ZodString;
|
|
164
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
165
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
158
166
|
state: z.ZodOptional<z.ZodString>;
|
|
159
167
|
packageId: z.ZodOptional<z.ZodString>;
|
|
160
168
|
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
161
169
|
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
162
170
|
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
163
|
-
shippingInfo: z.ZodObject<{
|
|
171
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
164
172
|
name: z.ZodString;
|
|
165
173
|
firstName: z.ZodOptional<z.ZodString>;
|
|
166
174
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -196,11 +204,18 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
196
204
|
firstName?: string | undefined;
|
|
197
205
|
lastName?: string | undefined;
|
|
198
206
|
landlineNumber?: string | undefined;
|
|
199
|
-
}
|
|
207
|
+
}>>;
|
|
200
208
|
}, "strip", z.ZodTypeAny, {
|
|
201
209
|
extId: string;
|
|
202
210
|
extCommerceOrderItemId: string;
|
|
203
|
-
|
|
211
|
+
state?: string | undefined;
|
|
212
|
+
quantity?: number | undefined;
|
|
213
|
+
estimatedShipDate?: string | undefined;
|
|
214
|
+
productName?: string | undefined;
|
|
215
|
+
packageId?: string | undefined;
|
|
216
|
+
invoiceNumber?: string | undefined;
|
|
217
|
+
deliveryCompany?: string | undefined;
|
|
218
|
+
shippingInfo?: {
|
|
204
219
|
name: string;
|
|
205
220
|
zipcode: string;
|
|
206
221
|
address1: string;
|
|
@@ -212,16 +227,18 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
212
227
|
firstName?: string | undefined;
|
|
213
228
|
lastName?: string | undefined;
|
|
214
229
|
landlineNumber?: string | undefined;
|
|
215
|
-
};
|
|
230
|
+
} | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
extId: string;
|
|
233
|
+
extCommerceOrderItemId: string;
|
|
216
234
|
state?: string | undefined;
|
|
235
|
+
quantity?: number | undefined;
|
|
217
236
|
estimatedShipDate?: string | undefined;
|
|
237
|
+
productName?: string | undefined;
|
|
218
238
|
packageId?: string | undefined;
|
|
219
239
|
invoiceNumber?: string | undefined;
|
|
220
240
|
deliveryCompany?: string | undefined;
|
|
221
|
-
|
|
222
|
-
extId: string;
|
|
223
|
-
extCommerceOrderItemId: string;
|
|
224
|
-
shippingInfo: {
|
|
241
|
+
shippingInfo?: {
|
|
225
242
|
name: string;
|
|
226
243
|
zipcode: string;
|
|
227
244
|
address1: string;
|
|
@@ -233,12 +250,7 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
233
250
|
firstName?: string | undefined;
|
|
234
251
|
lastName?: string | undefined;
|
|
235
252
|
landlineNumber?: string | undefined;
|
|
236
|
-
};
|
|
237
|
-
state?: string | undefined;
|
|
238
|
-
estimatedShipDate?: string | undefined;
|
|
239
|
-
packageId?: string | undefined;
|
|
240
|
-
invoiceNumber?: string | undefined;
|
|
241
|
-
deliveryCompany?: string | undefined;
|
|
253
|
+
} | undefined;
|
|
242
254
|
}>, "many">;
|
|
243
255
|
deliveries: z.ZodArray<z.ZodObject<{
|
|
244
256
|
extId: z.ZodString;
|
|
@@ -254,7 +266,14 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
254
266
|
items: {
|
|
255
267
|
extId: string;
|
|
256
268
|
extCommerceOrderItemId: string;
|
|
257
|
-
|
|
269
|
+
state?: string | undefined;
|
|
270
|
+
quantity?: number | undefined;
|
|
271
|
+
estimatedShipDate?: string | undefined;
|
|
272
|
+
productName?: string | undefined;
|
|
273
|
+
packageId?: string | undefined;
|
|
274
|
+
invoiceNumber?: string | undefined;
|
|
275
|
+
deliveryCompany?: string | undefined;
|
|
276
|
+
shippingInfo?: {
|
|
258
277
|
name: string;
|
|
259
278
|
zipcode: string;
|
|
260
279
|
address1: string;
|
|
@@ -266,12 +285,38 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
266
285
|
firstName?: string | undefined;
|
|
267
286
|
lastName?: string | undefined;
|
|
268
287
|
landlineNumber?: string | undefined;
|
|
269
|
-
};
|
|
288
|
+
} | undefined;
|
|
289
|
+
}[];
|
|
290
|
+
extCommerceOrderId: string;
|
|
291
|
+
deliveries: {
|
|
292
|
+
itemIds: string[];
|
|
293
|
+
extId: string;
|
|
294
|
+
}[];
|
|
295
|
+
extId?: string | undefined;
|
|
296
|
+
}, {
|
|
297
|
+
items: {
|
|
298
|
+
extId: string;
|
|
299
|
+
extCommerceOrderItemId: string;
|
|
270
300
|
state?: string | undefined;
|
|
301
|
+
quantity?: number | undefined;
|
|
271
302
|
estimatedShipDate?: string | undefined;
|
|
303
|
+
productName?: string | undefined;
|
|
272
304
|
packageId?: string | undefined;
|
|
273
305
|
invoiceNumber?: string | undefined;
|
|
274
306
|
deliveryCompany?: string | undefined;
|
|
307
|
+
shippingInfo?: {
|
|
308
|
+
name: string;
|
|
309
|
+
zipcode: string;
|
|
310
|
+
address1: string;
|
|
311
|
+
address2: string;
|
|
312
|
+
mobileNumber: string;
|
|
313
|
+
message?: string | undefined;
|
|
314
|
+
country?: string | undefined;
|
|
315
|
+
province?: string | undefined;
|
|
316
|
+
firstName?: string | undefined;
|
|
317
|
+
lastName?: string | undefined;
|
|
318
|
+
landlineNumber?: string | undefined;
|
|
319
|
+
} | undefined;
|
|
275
320
|
}[];
|
|
276
321
|
extCommerceOrderId: string;
|
|
277
322
|
deliveries: {
|
|
@@ -279,11 +324,405 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
279
324
|
extId: string;
|
|
280
325
|
}[];
|
|
281
326
|
extId?: string | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
export type WmsOrder = z.infer<typeof WmsOrderSchema>;
|
|
329
|
+
/**
|
|
330
|
+
* Generic commerce identifier map retained for older imports.
|
|
331
|
+
*/
|
|
332
|
+
export declare const CommerceIdentifiersSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
333
|
+
export type CommerceIdentifiers = z.infer<typeof CommerceIdentifiersSchema>;
|
|
334
|
+
export declare const GetWmsOrdersInputSchema: z.ZodObject<{
|
|
335
|
+
commerceOrderIds: z.ZodOptional<z.ZodString>;
|
|
336
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
337
|
+
packageIds: z.ZodOptional<z.ZodString>;
|
|
338
|
+
shopId: z.ZodOptional<z.ZodString>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
commerceOrderIds?: string | undefined;
|
|
341
|
+
orderIds?: string | undefined;
|
|
342
|
+
packageIds?: string | undefined;
|
|
343
|
+
shopId?: string | undefined;
|
|
344
|
+
}, {
|
|
345
|
+
commerceOrderIds?: string | undefined;
|
|
346
|
+
orderIds?: string | undefined;
|
|
347
|
+
packageIds?: string | undefined;
|
|
348
|
+
shopId?: string | undefined;
|
|
349
|
+
}>;
|
|
350
|
+
export type GetWmsOrdersInput = z.infer<typeof GetWmsOrdersInputSchema>;
|
|
351
|
+
export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
|
|
352
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
353
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
354
|
+
extCommerceOrderId: z.ZodString;
|
|
355
|
+
items: z.ZodArray<z.ZodObject<{
|
|
356
|
+
extId: z.ZodString;
|
|
357
|
+
extCommerceOrderItemId: z.ZodString;
|
|
358
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
359
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
state: z.ZodOptional<z.ZodString>;
|
|
361
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
363
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
364
|
+
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
365
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
name: z.ZodString;
|
|
367
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
368
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
369
|
+
mobileNumber: z.ZodString;
|
|
370
|
+
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
371
|
+
zipcode: z.ZodString;
|
|
372
|
+
address1: z.ZodString;
|
|
373
|
+
address2: z.ZodString;
|
|
374
|
+
country: z.ZodOptional<z.ZodString>;
|
|
375
|
+
province: z.ZodOptional<z.ZodString>;
|
|
376
|
+
message: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
name: string;
|
|
379
|
+
zipcode: string;
|
|
380
|
+
address1: string;
|
|
381
|
+
address2: string;
|
|
382
|
+
mobileNumber: string;
|
|
383
|
+
message?: string | undefined;
|
|
384
|
+
country?: string | undefined;
|
|
385
|
+
province?: string | undefined;
|
|
386
|
+
firstName?: string | undefined;
|
|
387
|
+
lastName?: string | undefined;
|
|
388
|
+
landlineNumber?: string | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
name: string;
|
|
391
|
+
zipcode: string;
|
|
392
|
+
address1: string;
|
|
393
|
+
address2: string;
|
|
394
|
+
mobileNumber: string;
|
|
395
|
+
message?: string | undefined;
|
|
396
|
+
country?: string | undefined;
|
|
397
|
+
province?: string | undefined;
|
|
398
|
+
firstName?: string | undefined;
|
|
399
|
+
lastName?: string | undefined;
|
|
400
|
+
landlineNumber?: string | undefined;
|
|
401
|
+
}>>;
|
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
extId: string;
|
|
404
|
+
extCommerceOrderItemId: string;
|
|
405
|
+
state?: string | undefined;
|
|
406
|
+
quantity?: number | undefined;
|
|
407
|
+
estimatedShipDate?: string | undefined;
|
|
408
|
+
productName?: string | undefined;
|
|
409
|
+
packageId?: string | undefined;
|
|
410
|
+
invoiceNumber?: string | undefined;
|
|
411
|
+
deliveryCompany?: string | undefined;
|
|
412
|
+
shippingInfo?: {
|
|
413
|
+
name: string;
|
|
414
|
+
zipcode: string;
|
|
415
|
+
address1: string;
|
|
416
|
+
address2: string;
|
|
417
|
+
mobileNumber: string;
|
|
418
|
+
message?: string | undefined;
|
|
419
|
+
country?: string | undefined;
|
|
420
|
+
province?: string | undefined;
|
|
421
|
+
firstName?: string | undefined;
|
|
422
|
+
lastName?: string | undefined;
|
|
423
|
+
landlineNumber?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}, {
|
|
426
|
+
extId: string;
|
|
427
|
+
extCommerceOrderItemId: string;
|
|
428
|
+
state?: string | undefined;
|
|
429
|
+
quantity?: number | undefined;
|
|
430
|
+
estimatedShipDate?: string | undefined;
|
|
431
|
+
productName?: string | undefined;
|
|
432
|
+
packageId?: string | undefined;
|
|
433
|
+
invoiceNumber?: string | undefined;
|
|
434
|
+
deliveryCompany?: string | undefined;
|
|
435
|
+
shippingInfo?: {
|
|
436
|
+
name: string;
|
|
437
|
+
zipcode: string;
|
|
438
|
+
address1: string;
|
|
439
|
+
address2: string;
|
|
440
|
+
mobileNumber: string;
|
|
441
|
+
message?: string | undefined;
|
|
442
|
+
country?: string | undefined;
|
|
443
|
+
province?: string | undefined;
|
|
444
|
+
firstName?: string | undefined;
|
|
445
|
+
lastName?: string | undefined;
|
|
446
|
+
landlineNumber?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
448
|
+
}>, "many">;
|
|
449
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
450
|
+
extId: z.ZodString;
|
|
451
|
+
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
itemIds: string[];
|
|
454
|
+
extId: string;
|
|
455
|
+
}, {
|
|
456
|
+
itemIds: string[];
|
|
457
|
+
extId: string;
|
|
458
|
+
}>, "many">;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
items: {
|
|
461
|
+
extId: string;
|
|
462
|
+
extCommerceOrderItemId: string;
|
|
463
|
+
state?: string | undefined;
|
|
464
|
+
quantity?: number | undefined;
|
|
465
|
+
estimatedShipDate?: string | undefined;
|
|
466
|
+
productName?: string | undefined;
|
|
467
|
+
packageId?: string | undefined;
|
|
468
|
+
invoiceNumber?: string | undefined;
|
|
469
|
+
deliveryCompany?: string | undefined;
|
|
470
|
+
shippingInfo?: {
|
|
471
|
+
name: string;
|
|
472
|
+
zipcode: string;
|
|
473
|
+
address1: string;
|
|
474
|
+
address2: string;
|
|
475
|
+
mobileNumber: string;
|
|
476
|
+
message?: string | undefined;
|
|
477
|
+
country?: string | undefined;
|
|
478
|
+
province?: string | undefined;
|
|
479
|
+
firstName?: string | undefined;
|
|
480
|
+
lastName?: string | undefined;
|
|
481
|
+
landlineNumber?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
}[];
|
|
484
|
+
extCommerceOrderId: string;
|
|
485
|
+
deliveries: {
|
|
486
|
+
itemIds: string[];
|
|
487
|
+
extId: string;
|
|
488
|
+
}[];
|
|
489
|
+
extId?: string | undefined;
|
|
490
|
+
}, {
|
|
491
|
+
items: {
|
|
492
|
+
extId: string;
|
|
493
|
+
extCommerceOrderItemId: string;
|
|
494
|
+
state?: string | undefined;
|
|
495
|
+
quantity?: number | undefined;
|
|
496
|
+
estimatedShipDate?: string | undefined;
|
|
497
|
+
productName?: string | undefined;
|
|
498
|
+
packageId?: string | undefined;
|
|
499
|
+
invoiceNumber?: string | undefined;
|
|
500
|
+
deliveryCompany?: string | undefined;
|
|
501
|
+
shippingInfo?: {
|
|
502
|
+
name: string;
|
|
503
|
+
zipcode: string;
|
|
504
|
+
address1: string;
|
|
505
|
+
address2: string;
|
|
506
|
+
mobileNumber: string;
|
|
507
|
+
message?: string | undefined;
|
|
508
|
+
country?: string | undefined;
|
|
509
|
+
province?: string | undefined;
|
|
510
|
+
firstName?: string | undefined;
|
|
511
|
+
lastName?: string | undefined;
|
|
512
|
+
landlineNumber?: string | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
}[];
|
|
515
|
+
extCommerceOrderId: string;
|
|
516
|
+
deliveries: {
|
|
517
|
+
itemIds: string[];
|
|
518
|
+
extId: string;
|
|
519
|
+
}[];
|
|
520
|
+
extId?: string | undefined;
|
|
521
|
+
}>, "many">;
|
|
522
|
+
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
orders: {
|
|
524
|
+
items: {
|
|
525
|
+
extId: string;
|
|
526
|
+
extCommerceOrderItemId: string;
|
|
527
|
+
state?: string | undefined;
|
|
528
|
+
quantity?: number | undefined;
|
|
529
|
+
estimatedShipDate?: string | undefined;
|
|
530
|
+
productName?: string | undefined;
|
|
531
|
+
packageId?: string | undefined;
|
|
532
|
+
invoiceNumber?: string | undefined;
|
|
533
|
+
deliveryCompany?: string | undefined;
|
|
534
|
+
shippingInfo?: {
|
|
535
|
+
name: string;
|
|
536
|
+
zipcode: string;
|
|
537
|
+
address1: string;
|
|
538
|
+
address2: string;
|
|
539
|
+
mobileNumber: string;
|
|
540
|
+
message?: string | undefined;
|
|
541
|
+
country?: string | undefined;
|
|
542
|
+
province?: string | undefined;
|
|
543
|
+
firstName?: string | undefined;
|
|
544
|
+
lastName?: string | undefined;
|
|
545
|
+
landlineNumber?: string | undefined;
|
|
546
|
+
} | undefined;
|
|
547
|
+
}[];
|
|
548
|
+
extCommerceOrderId: string;
|
|
549
|
+
deliveries: {
|
|
550
|
+
itemIds: string[];
|
|
551
|
+
extId: string;
|
|
552
|
+
}[];
|
|
553
|
+
extId?: string | undefined;
|
|
554
|
+
}[];
|
|
555
|
+
}, {
|
|
556
|
+
orders: {
|
|
557
|
+
items: {
|
|
558
|
+
extId: string;
|
|
559
|
+
extCommerceOrderItemId: string;
|
|
560
|
+
state?: string | undefined;
|
|
561
|
+
quantity?: number | undefined;
|
|
562
|
+
estimatedShipDate?: string | undefined;
|
|
563
|
+
productName?: string | undefined;
|
|
564
|
+
packageId?: string | undefined;
|
|
565
|
+
invoiceNumber?: string | undefined;
|
|
566
|
+
deliveryCompany?: string | undefined;
|
|
567
|
+
shippingInfo?: {
|
|
568
|
+
name: string;
|
|
569
|
+
zipcode: string;
|
|
570
|
+
address1: string;
|
|
571
|
+
address2: string;
|
|
572
|
+
mobileNumber: string;
|
|
573
|
+
message?: string | undefined;
|
|
574
|
+
country?: string | undefined;
|
|
575
|
+
province?: string | undefined;
|
|
576
|
+
firstName?: string | undefined;
|
|
577
|
+
lastName?: string | undefined;
|
|
578
|
+
landlineNumber?: string | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
}[];
|
|
581
|
+
extCommerceOrderId: string;
|
|
582
|
+
deliveries: {
|
|
583
|
+
itemIds: string[];
|
|
584
|
+
extId: string;
|
|
585
|
+
}[];
|
|
586
|
+
extId?: string | undefined;
|
|
587
|
+
}[];
|
|
588
|
+
}>;
|
|
589
|
+
export type GetWmsOrdersOutput = z.infer<typeof GetWmsOrdersOutputSchema>;
|
|
590
|
+
export declare const GetWmsOrderInputSchema: z.ZodObject<{
|
|
591
|
+
commerceOrderId: z.ZodOptional<z.ZodString>;
|
|
592
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
594
|
+
shopId: z.ZodOptional<z.ZodString>;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
packageId?: string | undefined;
|
|
597
|
+
shopId?: string | undefined;
|
|
598
|
+
commerceOrderId?: string | undefined;
|
|
599
|
+
orderId?: string | undefined;
|
|
282
600
|
}, {
|
|
601
|
+
packageId?: string | undefined;
|
|
602
|
+
shopId?: string | undefined;
|
|
603
|
+
commerceOrderId?: string | undefined;
|
|
604
|
+
orderId?: string | undefined;
|
|
605
|
+
}>;
|
|
606
|
+
export type GetWmsOrderInput = z.infer<typeof GetWmsOrderInputSchema>;
|
|
607
|
+
export declare const GetWmsOrderOutputSchema: z.ZodObject<{
|
|
608
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
609
|
+
extCommerceOrderId: z.ZodString;
|
|
610
|
+
items: z.ZodArray<z.ZodObject<{
|
|
611
|
+
extId: z.ZodString;
|
|
612
|
+
extCommerceOrderItemId: z.ZodString;
|
|
613
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
614
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
state: z.ZodOptional<z.ZodString>;
|
|
616
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
617
|
+
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
618
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
619
|
+
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
620
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
621
|
+
name: z.ZodString;
|
|
622
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
623
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
624
|
+
mobileNumber: z.ZodString;
|
|
625
|
+
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
626
|
+
zipcode: z.ZodString;
|
|
627
|
+
address1: z.ZodString;
|
|
628
|
+
address2: z.ZodString;
|
|
629
|
+
country: z.ZodOptional<z.ZodString>;
|
|
630
|
+
province: z.ZodOptional<z.ZodString>;
|
|
631
|
+
message: z.ZodOptional<z.ZodString>;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
name: string;
|
|
634
|
+
zipcode: string;
|
|
635
|
+
address1: string;
|
|
636
|
+
address2: string;
|
|
637
|
+
mobileNumber: string;
|
|
638
|
+
message?: string | undefined;
|
|
639
|
+
country?: string | undefined;
|
|
640
|
+
province?: string | undefined;
|
|
641
|
+
firstName?: string | undefined;
|
|
642
|
+
lastName?: string | undefined;
|
|
643
|
+
landlineNumber?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
name: string;
|
|
646
|
+
zipcode: string;
|
|
647
|
+
address1: string;
|
|
648
|
+
address2: string;
|
|
649
|
+
mobileNumber: string;
|
|
650
|
+
message?: string | undefined;
|
|
651
|
+
country?: string | undefined;
|
|
652
|
+
province?: string | undefined;
|
|
653
|
+
firstName?: string | undefined;
|
|
654
|
+
lastName?: string | undefined;
|
|
655
|
+
landlineNumber?: string | undefined;
|
|
656
|
+
}>>;
|
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
|
658
|
+
extId: string;
|
|
659
|
+
extCommerceOrderItemId: string;
|
|
660
|
+
state?: string | undefined;
|
|
661
|
+
quantity?: number | undefined;
|
|
662
|
+
estimatedShipDate?: string | undefined;
|
|
663
|
+
productName?: string | undefined;
|
|
664
|
+
packageId?: string | undefined;
|
|
665
|
+
invoiceNumber?: string | undefined;
|
|
666
|
+
deliveryCompany?: string | undefined;
|
|
667
|
+
shippingInfo?: {
|
|
668
|
+
name: string;
|
|
669
|
+
zipcode: string;
|
|
670
|
+
address1: string;
|
|
671
|
+
address2: string;
|
|
672
|
+
mobileNumber: string;
|
|
673
|
+
message?: string | undefined;
|
|
674
|
+
country?: string | undefined;
|
|
675
|
+
province?: string | undefined;
|
|
676
|
+
firstName?: string | undefined;
|
|
677
|
+
lastName?: string | undefined;
|
|
678
|
+
landlineNumber?: string | undefined;
|
|
679
|
+
} | undefined;
|
|
680
|
+
}, {
|
|
681
|
+
extId: string;
|
|
682
|
+
extCommerceOrderItemId: string;
|
|
683
|
+
state?: string | undefined;
|
|
684
|
+
quantity?: number | undefined;
|
|
685
|
+
estimatedShipDate?: string | undefined;
|
|
686
|
+
productName?: string | undefined;
|
|
687
|
+
packageId?: string | undefined;
|
|
688
|
+
invoiceNumber?: string | undefined;
|
|
689
|
+
deliveryCompany?: string | undefined;
|
|
690
|
+
shippingInfo?: {
|
|
691
|
+
name: string;
|
|
692
|
+
zipcode: string;
|
|
693
|
+
address1: string;
|
|
694
|
+
address2: string;
|
|
695
|
+
mobileNumber: string;
|
|
696
|
+
message?: string | undefined;
|
|
697
|
+
country?: string | undefined;
|
|
698
|
+
province?: string | undefined;
|
|
699
|
+
firstName?: string | undefined;
|
|
700
|
+
lastName?: string | undefined;
|
|
701
|
+
landlineNumber?: string | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
}>, "many">;
|
|
704
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
705
|
+
extId: z.ZodString;
|
|
706
|
+
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
|
708
|
+
itemIds: string[];
|
|
709
|
+
extId: string;
|
|
710
|
+
}, {
|
|
711
|
+
itemIds: string[];
|
|
712
|
+
extId: string;
|
|
713
|
+
}>, "many">;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
715
|
items: {
|
|
284
716
|
extId: string;
|
|
285
717
|
extCommerceOrderItemId: string;
|
|
286
|
-
|
|
718
|
+
state?: string | undefined;
|
|
719
|
+
quantity?: number | undefined;
|
|
720
|
+
estimatedShipDate?: string | undefined;
|
|
721
|
+
productName?: string | undefined;
|
|
722
|
+
packageId?: string | undefined;
|
|
723
|
+
invoiceNumber?: string | undefined;
|
|
724
|
+
deliveryCompany?: string | undefined;
|
|
725
|
+
shippingInfo?: {
|
|
287
726
|
name: string;
|
|
288
727
|
zipcode: string;
|
|
289
728
|
address1: string;
|
|
@@ -295,12 +734,38 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
295
734
|
firstName?: string | undefined;
|
|
296
735
|
lastName?: string | undefined;
|
|
297
736
|
landlineNumber?: string | undefined;
|
|
298
|
-
};
|
|
737
|
+
} | undefined;
|
|
738
|
+
}[];
|
|
739
|
+
extCommerceOrderId: string;
|
|
740
|
+
deliveries: {
|
|
741
|
+
itemIds: string[];
|
|
742
|
+
extId: string;
|
|
743
|
+
}[];
|
|
744
|
+
extId?: string | undefined;
|
|
745
|
+
}, {
|
|
746
|
+
items: {
|
|
747
|
+
extId: string;
|
|
748
|
+
extCommerceOrderItemId: string;
|
|
299
749
|
state?: string | undefined;
|
|
750
|
+
quantity?: number | undefined;
|
|
300
751
|
estimatedShipDate?: string | undefined;
|
|
752
|
+
productName?: string | undefined;
|
|
301
753
|
packageId?: string | undefined;
|
|
302
754
|
invoiceNumber?: string | undefined;
|
|
303
755
|
deliveryCompany?: string | undefined;
|
|
756
|
+
shippingInfo?: {
|
|
757
|
+
name: string;
|
|
758
|
+
zipcode: string;
|
|
759
|
+
address1: string;
|
|
760
|
+
address2: string;
|
|
761
|
+
mobileNumber: string;
|
|
762
|
+
message?: string | undefined;
|
|
763
|
+
country?: string | undefined;
|
|
764
|
+
province?: string | undefined;
|
|
765
|
+
firstName?: string | undefined;
|
|
766
|
+
lastName?: string | undefined;
|
|
767
|
+
landlineNumber?: string | undefined;
|
|
768
|
+
} | undefined;
|
|
304
769
|
}[];
|
|
305
770
|
extCommerceOrderId: string;
|
|
306
771
|
deliveries: {
|
|
@@ -309,10 +774,166 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
309
774
|
}[];
|
|
310
775
|
extId?: string | undefined;
|
|
311
776
|
}>;
|
|
312
|
-
export type
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
777
|
+
export type GetWmsOrderOutput = z.infer<typeof GetWmsOrderOutputSchema>;
|
|
778
|
+
export declare const GetWmsShopIdInputSchema: z.ZodObject<{
|
|
779
|
+
commerceType: z.ZodString;
|
|
780
|
+
commerceKey: z.ZodString;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
commerceType: string;
|
|
783
|
+
commerceKey: string;
|
|
784
|
+
}, {
|
|
785
|
+
commerceType: string;
|
|
786
|
+
commerceKey: string;
|
|
787
|
+
}>;
|
|
788
|
+
export type GetWmsShopIdInput = z.infer<typeof GetWmsShopIdInputSchema>;
|
|
789
|
+
export declare const GetWmsShopIdOutputSchema: z.ZodObject<{
|
|
790
|
+
shopId: z.ZodNullable<z.ZodString>;
|
|
791
|
+
message: z.ZodOptional<z.ZodString>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
shopId: string | null;
|
|
794
|
+
message?: string | undefined;
|
|
795
|
+
}, {
|
|
796
|
+
shopId: string | null;
|
|
797
|
+
message?: string | undefined;
|
|
798
|
+
}>;
|
|
799
|
+
export type GetWmsShopIdOutput = z.infer<typeof GetWmsShopIdOutputSchema>;
|
|
800
|
+
export declare const CancelWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
801
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
802
|
+
/** @deprecated Use orderId instead. */
|
|
803
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
804
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
orderIds?: string | undefined;
|
|
807
|
+
orderId?: string | undefined;
|
|
808
|
+
reason?: string | undefined;
|
|
809
|
+
}, {
|
|
810
|
+
orderIds?: string | undefined;
|
|
811
|
+
orderId?: string | undefined;
|
|
812
|
+
reason?: string | undefined;
|
|
813
|
+
}>, {
|
|
814
|
+
orderIds?: string | undefined;
|
|
815
|
+
orderId?: string | undefined;
|
|
816
|
+
reason?: string | undefined;
|
|
817
|
+
}, {
|
|
818
|
+
orderIds?: string | undefined;
|
|
819
|
+
orderId?: string | undefined;
|
|
820
|
+
reason?: string | undefined;
|
|
821
|
+
}>;
|
|
822
|
+
export type CancelWmsOrderInput = z.infer<typeof CancelWmsOrderInputSchema>;
|
|
823
|
+
export declare const ReturnWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
824
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
825
|
+
/** @deprecated Use orderId instead. */
|
|
826
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
827
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
828
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
orderIds?: string | undefined;
|
|
831
|
+
orderId?: string | undefined;
|
|
832
|
+
reason?: string | undefined;
|
|
833
|
+
memo?: string | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
orderIds?: string | undefined;
|
|
836
|
+
orderId?: string | undefined;
|
|
837
|
+
reason?: string | undefined;
|
|
838
|
+
memo?: string | undefined;
|
|
839
|
+
}>, {
|
|
840
|
+
orderIds?: string | undefined;
|
|
841
|
+
orderId?: string | undefined;
|
|
842
|
+
reason?: string | undefined;
|
|
843
|
+
memo?: string | undefined;
|
|
844
|
+
}, {
|
|
845
|
+
orderIds?: string | undefined;
|
|
846
|
+
orderId?: string | undefined;
|
|
847
|
+
reason?: string | undefined;
|
|
848
|
+
memo?: string | undefined;
|
|
849
|
+
}>;
|
|
850
|
+
export type ReturnWmsOrderInput = z.infer<typeof ReturnWmsOrderInputSchema>;
|
|
851
|
+
export declare const ExchangeWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
852
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
853
|
+
/** @deprecated Use orderId instead. */
|
|
854
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
855
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
856
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
857
|
+
}, "strip", z.ZodTypeAny, {
|
|
858
|
+
orderIds?: string | undefined;
|
|
859
|
+
orderId?: string | undefined;
|
|
860
|
+
reason?: string | undefined;
|
|
861
|
+
memo?: string | undefined;
|
|
862
|
+
}, {
|
|
863
|
+
orderIds?: string | undefined;
|
|
864
|
+
orderId?: string | undefined;
|
|
865
|
+
reason?: string | undefined;
|
|
866
|
+
memo?: string | undefined;
|
|
867
|
+
}>, {
|
|
868
|
+
orderIds?: string | undefined;
|
|
869
|
+
orderId?: string | undefined;
|
|
870
|
+
reason?: string | undefined;
|
|
871
|
+
memo?: string | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
orderIds?: string | undefined;
|
|
874
|
+
orderId?: string | undefined;
|
|
875
|
+
reason?: string | undefined;
|
|
876
|
+
memo?: string | undefined;
|
|
877
|
+
}>;
|
|
878
|
+
export type ExchangeWmsOrderInput = z.infer<typeof ExchangeWmsOrderInputSchema>;
|
|
879
|
+
export declare const ChangeWmsShippingAddressInputSchema: z.ZodObject<{
|
|
880
|
+
orderId: z.ZodString;
|
|
881
|
+
recipient: z.ZodString;
|
|
882
|
+
phone: z.ZodString;
|
|
883
|
+
address1: z.ZodString;
|
|
884
|
+
postalCode: z.ZodString;
|
|
885
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
886
|
+
message: z.ZodOptional<z.ZodString>;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
888
|
+
phone: string;
|
|
889
|
+
address1: string;
|
|
890
|
+
orderId: string;
|
|
891
|
+
recipient: string;
|
|
892
|
+
postalCode: string;
|
|
893
|
+
message?: string | undefined;
|
|
894
|
+
address2?: string | undefined;
|
|
895
|
+
}, {
|
|
896
|
+
phone: string;
|
|
897
|
+
address1: string;
|
|
898
|
+
orderId: string;
|
|
899
|
+
recipient: string;
|
|
900
|
+
postalCode: string;
|
|
901
|
+
message?: string | undefined;
|
|
902
|
+
address2?: string | undefined;
|
|
903
|
+
}>;
|
|
904
|
+
export type ChangeWmsShippingAddressInput = z.infer<typeof ChangeWmsShippingAddressInputSchema>;
|
|
905
|
+
export declare const RestoreWmsOrderInputSchema: z.ZodObject<{
|
|
906
|
+
orderId: z.ZodString;
|
|
907
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
908
|
+
prdSeq: z.ZodOptional<z.ZodString>;
|
|
909
|
+
restorePack: z.ZodOptional<z.ZodBoolean>;
|
|
910
|
+
restockNormal: z.ZodOptional<z.ZodBoolean>;
|
|
911
|
+
restockBad: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
orderId: string;
|
|
914
|
+
memo?: string | undefined;
|
|
915
|
+
prdSeq?: string | undefined;
|
|
916
|
+
restorePack?: boolean | undefined;
|
|
917
|
+
restockNormal?: boolean | undefined;
|
|
918
|
+
restockBad?: boolean | undefined;
|
|
919
|
+
}, {
|
|
920
|
+
orderId: string;
|
|
921
|
+
memo?: string | undefined;
|
|
922
|
+
prdSeq?: string | undefined;
|
|
923
|
+
restorePack?: boolean | undefined;
|
|
924
|
+
restockNormal?: boolean | undefined;
|
|
925
|
+
restockBad?: boolean | undefined;
|
|
926
|
+
}>;
|
|
927
|
+
export type RestoreWmsOrderInput = z.infer<typeof RestoreWmsOrderInputSchema>;
|
|
928
|
+
export declare const WmsSuccessOutputSchema: z.ZodObject<{
|
|
929
|
+
success: z.ZodBoolean;
|
|
930
|
+
message: z.ZodOptional<z.ZodString>;
|
|
931
|
+
}, "strip", z.ZodTypeAny, {
|
|
932
|
+
success: boolean;
|
|
933
|
+
message?: string | undefined;
|
|
934
|
+
}, {
|
|
935
|
+
success: boolean;
|
|
936
|
+
message?: string | undefined;
|
|
937
|
+
}>;
|
|
938
|
+
export type WmsSuccessOutput = z.infer<typeof WmsSuccessOutputSchema>;
|
|
318
939
|
//# sourceMappingURL=wms.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms.d.ts","sourceRoot":"","sources":["../../src/extensions/wms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAG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EAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAW1E,eAAO,MAAM,yBAAyB;;IAGlC,uCAAuC;;;;;;;;;;;;;;;;;;;EAOvC,CAAC;AACL,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAI5E,eAAO,MAAM,yBAAyB;;IAGlC,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;EAQvC,CAAC;AACL,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAI5E,eAAO,MAAM,2BAA2B;;IAGpC,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;EAQvC,CAAC;AACL,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAIhF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;EAQ9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAIhG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
package/dist/extensions/wms.js
CHANGED
|
@@ -28,12 +28,14 @@ export const WmsDeliverySchema = z.object({
|
|
|
28
28
|
export const WmsOrderItemSchema = z.object({
|
|
29
29
|
extId: z.string(),
|
|
30
30
|
extCommerceOrderItemId: z.string(),
|
|
31
|
+
productName: z.string().optional(),
|
|
32
|
+
quantity: z.number().optional(),
|
|
31
33
|
state: z.string().optional(),
|
|
32
34
|
packageId: z.string().optional(),
|
|
33
35
|
estimatedShipDate: z.string().optional(),
|
|
34
36
|
invoiceNumber: z.string().optional(),
|
|
35
37
|
deliveryCompany: z.string().optional(),
|
|
36
|
-
shippingInfo: WmsShippingInfoSchema,
|
|
38
|
+
shippingInfo: WmsShippingInfoSchema.optional(),
|
|
37
39
|
});
|
|
38
40
|
/**
|
|
39
41
|
* WMS order schema
|
|
@@ -45,7 +47,99 @@ export const WmsOrderSchema = z.object({
|
|
|
45
47
|
deliveries: z.array(WmsDeliverySchema),
|
|
46
48
|
});
|
|
47
49
|
/**
|
|
48
|
-
* Generic commerce identifier map
|
|
50
|
+
* Generic commerce identifier map retained for older imports.
|
|
49
51
|
*/
|
|
50
52
|
export const CommerceIdentifiersSchema = z.record(z.string());
|
|
53
|
+
// =====================================================
|
|
54
|
+
// Function Input/Output Schemas
|
|
55
|
+
// =====================================================
|
|
56
|
+
// --- core ---
|
|
57
|
+
export const GetWmsOrdersInputSchema = z.object({
|
|
58
|
+
commerceOrderIds: z.string().optional(),
|
|
59
|
+
orderIds: z.string().optional(),
|
|
60
|
+
packageIds: z.string().optional(),
|
|
61
|
+
shopId: z.string().optional(),
|
|
62
|
+
});
|
|
63
|
+
export const GetWmsOrdersOutputSchema = z.object({
|
|
64
|
+
orders: z.array(WmsOrderSchema),
|
|
65
|
+
});
|
|
66
|
+
export const GetWmsOrderInputSchema = z.object({
|
|
67
|
+
commerceOrderId: z.string().optional(),
|
|
68
|
+
orderId: z.string().optional(),
|
|
69
|
+
packageId: z.string().optional(),
|
|
70
|
+
shopId: z.string().optional(),
|
|
71
|
+
});
|
|
72
|
+
export const GetWmsOrderOutputSchema = WmsOrderSchema;
|
|
73
|
+
export const GetWmsShopIdInputSchema = z.object({
|
|
74
|
+
commerceType: z.string(),
|
|
75
|
+
commerceKey: z.string(),
|
|
76
|
+
});
|
|
77
|
+
export const GetWmsShopIdOutputSchema = z.object({
|
|
78
|
+
shopId: z.string().nullable(),
|
|
79
|
+
message: z.string().optional(),
|
|
80
|
+
});
|
|
81
|
+
function hasOrderIdentifier(params) {
|
|
82
|
+
return params.orderId !== undefined || params.orderIds !== undefined;
|
|
83
|
+
}
|
|
84
|
+
// --- cancel ---
|
|
85
|
+
export const CancelWmsOrderInputSchema = z
|
|
86
|
+
.object({
|
|
87
|
+
orderId: z.string().optional(),
|
|
88
|
+
/** @deprecated Use orderId instead. */
|
|
89
|
+
orderIds: z.string().optional(),
|
|
90
|
+
reason: z.string().optional(),
|
|
91
|
+
})
|
|
92
|
+
.refine(hasOrderIdentifier, {
|
|
93
|
+
message: "Either orderId or orderIds is required",
|
|
94
|
+
path: ["orderId"],
|
|
95
|
+
});
|
|
96
|
+
// --- return ---
|
|
97
|
+
export const ReturnWmsOrderInputSchema = z
|
|
98
|
+
.object({
|
|
99
|
+
orderId: z.string().optional(),
|
|
100
|
+
/** @deprecated Use orderId instead. */
|
|
101
|
+
orderIds: z.string().optional(),
|
|
102
|
+
reason: z.string().optional(),
|
|
103
|
+
memo: z.string().optional(),
|
|
104
|
+
})
|
|
105
|
+
.refine(hasOrderIdentifier, {
|
|
106
|
+
message: "Either orderId or orderIds is required",
|
|
107
|
+
path: ["orderId"],
|
|
108
|
+
});
|
|
109
|
+
// --- exchange ---
|
|
110
|
+
export const ExchangeWmsOrderInputSchema = z
|
|
111
|
+
.object({
|
|
112
|
+
orderId: z.string().optional(),
|
|
113
|
+
/** @deprecated Use orderId instead. */
|
|
114
|
+
orderIds: z.string().optional(),
|
|
115
|
+
reason: z.string().optional(),
|
|
116
|
+
memo: z.string().optional(),
|
|
117
|
+
})
|
|
118
|
+
.refine(hasOrderIdentifier, {
|
|
119
|
+
message: "Either orderId or orderIds is required",
|
|
120
|
+
path: ["orderId"],
|
|
121
|
+
});
|
|
122
|
+
// --- edit ---
|
|
123
|
+
export const ChangeWmsShippingAddressInputSchema = z.object({
|
|
124
|
+
orderId: z.string(),
|
|
125
|
+
recipient: z.string(),
|
|
126
|
+
phone: z.string(),
|
|
127
|
+
address1: z.string(),
|
|
128
|
+
postalCode: z.string(),
|
|
129
|
+
address2: z.string().optional(),
|
|
130
|
+
message: z.string().optional(),
|
|
131
|
+
});
|
|
132
|
+
// --- restore ---
|
|
133
|
+
export const RestoreWmsOrderInputSchema = z.object({
|
|
134
|
+
orderId: z.string(),
|
|
135
|
+
memo: z.string().optional(),
|
|
136
|
+
prdSeq: z.string().optional(),
|
|
137
|
+
restorePack: z.boolean().optional(),
|
|
138
|
+
restockNormal: z.boolean().optional(),
|
|
139
|
+
restockBad: z.boolean().optional(),
|
|
140
|
+
});
|
|
141
|
+
export const WmsSuccessOutputSchema = z.object({
|
|
142
|
+
success: z.boolean(),
|
|
143
|
+
message: z.string().optional(),
|
|
144
|
+
});
|
|
51
145
|
//# sourceMappingURL=wms.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wms.js","sourceRoot":"","sources":["../../src/extensions/wms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,QA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