@openlup/platform 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +167 -109
- package/README.md +111 -8
- package/dist/account-support/accountReadFacade.d.ts +8 -0
- package/dist/account-support/accountReadFacade.js +10 -0
- package/dist/account-support/accountReadModels.d.ts +69 -0
- package/dist/account-support/accountReadModels.js +272 -0
- package/dist/account-support/bindings.d.ts +23 -0
- package/dist/account-support/bindings.js +16 -0
- package/dist/account-support/contracts/account.d.ts +281 -0
- package/dist/account-support/contracts/account.js +1 -0
- package/dist/account-support/contracts/capabilities.d.ts +44 -0
- package/dist/account-support/contracts/capabilities.js +1 -0
- package/dist/account-support/contracts/commands.d.ts +307 -0
- package/dist/account-support/contracts/commands.js +1 -0
- package/dist/account-support/contracts/customer360.d.ts +154 -0
- package/dist/account-support/contracts/customer360.js +1 -0
- package/dist/account-support/contracts/index.d.ts +10 -0
- package/dist/account-support/contracts/index.js +1 -0
- package/dist/account-support/contracts/invoice.d.ts +79 -0
- package/dist/account-support/contracts/invoice.js +1 -0
- package/dist/account-support/contracts/operator.d.ts +289 -0
- package/dist/account-support/contracts/operator.js +1 -0
- package/dist/account-support/contribution.d.ts +24 -0
- package/dist/account-support/contribution.js +22 -0
- package/dist/account-support/customer360.d.ts +106 -0
- package/dist/account-support/customer360.js +163 -0
- package/dist/account-support/customerAccountReadDiagnostics.d.ts +11 -0
- package/dist/account-support/customerAccountReadDiagnostics.js +71 -0
- package/dist/account-support/index.d.ts +26 -0
- package/dist/account-support/index.js +15 -0
- package/dist/account-support/invoiceAccess.d.ts +57 -0
- package/dist/account-support/invoiceAccess.js +40 -0
- package/dist/account-support/migrations.d.ts +14 -0
- package/dist/account-support/migrations.js +7 -0
- package/dist/account-support/operatorAuthority.d.ts +67 -0
- package/dist/account-support/operatorAuthority.js +379 -0
- package/dist/account-support/operatorRecovery.d.ts +66 -0
- package/dist/account-support/operatorRecovery.js +129 -0
- package/dist/account-support/orderHistory.d.ts +50 -0
- package/dist/account-support/orderHistory.js +188 -0
- package/dist/account-support/paymentMethodComposition.d.ts +5 -0
- package/dist/account-support/paymentMethodComposition.js +4 -0
- package/dist/account-support/postgresOperatorAuthority.d.ts +16 -0
- package/dist/account-support/postgresOperatorAuthority.js +93 -0
- package/dist/account-support/selfService.d.ts +6 -0
- package/dist/account-support/selfService.js +81 -0
- package/dist/account-support/subscriptionCommandCodec.d.ts +10 -0
- package/dist/account-support/subscriptionCommandCodec.js +38 -0
- package/dist/catalog/draftSchemas.d.ts +1 -1
- package/dist/catalog/foundationSchemas.d.ts +3 -3
- package/dist/catalog/resolvedSkuProjection.d.ts +2 -2
- package/dist/catalog/sellableSchemas.d.ts +2 -2
- package/dist/commerce/checkoutCommandSchemas.d.ts +2 -2
- package/dist/commerce/checkoutResumeSchemas.d.ts +6 -6
- package/dist/commerce/checkoutSchemas.d.ts +12 -12
- package/dist/commerce/commerceReturnsPort.d.ts +2 -2
- package/dist/commerce/configuratorIntentSchemas.d.ts +2 -2
- package/dist/commerce/contractPrimitives.d.ts +8 -8
- package/dist/commerce/customerDefaultsSnapshotSchemas.d.ts +4 -4
- package/dist/commerce/model/omsReadModelHelpers.d.ts +4 -4
- package/dist/commerce/offerAvailabilitySchemas.d.ts +1 -1
- package/dist/commerce/oms/omsContractBase.d.ts +15 -15
- package/dist/commerce/oms/omsContractReadAuxSchemas.d.ts +11 -11
- package/dist/commerce/oms/omsContractReadSchemas.d.ts +121 -121
- package/dist/commerce/oms/omsContractRequests.d.ts +13 -13
- package/dist/commerce/oms/omsControlPlane.d.ts +22 -22
- package/dist/commerce/oms/omsFulfillmentContractSchemas.d.ts +12 -12
- package/dist/commerce/oms/omsFulfillmentDebugSchemas.d.ts +12 -12
- package/dist/commerce/orderReviewContracts.d.ts +33 -33
- package/dist/commerce/outboxEventSchemas.d.ts +4 -4
- package/dist/commerce/schemas.d.ts +21 -21
- package/dist/commerce/server/orderReviewHandlers.d.ts +10 -10
- package/dist/communications/consentPurposeRegistry.d.ts +1 -1
- package/dist/communications/newsletterIntegrationContracts.d.ts +8 -8
- package/dist/composition/accountSupportContribution.d.ts +18 -0
- package/dist/composition/accountSupportContribution.js +21 -0
- package/dist/composition/index.d.ts +1 -0
- package/dist/composition/index.js +1 -0
- package/dist/fulfillment/handlerSchemas.d.ts +40 -40
- package/dist/identity/customerContracts.d.ts +2 -2
- package/dist/invoicing/snapshot.d.ts +1 -1
- package/dist/pricing/acquisitionQuoteBinding.d.ts +1 -1
- package/dist/pricing/catalogFactsSchemas.d.ts +1 -1
- package/dist/pricing/quotePromotionEvidence.d.ts +1 -1
- package/dist/pricing/quoteSchemas.d.ts +56 -56
- package/dist/promotions/adminPromotionCodesContracts.d.ts +30 -30
- package/dist/promotions/adminPromotionsContracts.d.ts +14 -14
- package/package.json +12 -2
- package/release-gates.json +30 -3
- package/sql/20261026120000_account_support_operator_authority.sql +693 -0
- package/src/account-support/accountReadFacade.ts +15 -0
- package/src/account-support/accountReadModels.ts +371 -0
- package/src/account-support/bindings.ts +28 -0
- package/src/account-support/contracts/account.ts +306 -0
- package/src/account-support/contracts/capabilities.ts +30 -0
- package/src/account-support/contracts/commands.ts +243 -0
- package/src/account-support/contracts/customer360.ts +150 -0
- package/src/account-support/contracts/index.ts +141 -0
- package/src/account-support/contracts/invoice.ts +44 -0
- package/src/account-support/contracts/operator.ts +123 -0
- package/src/account-support/contribution.ts +35 -0
- package/src/account-support/customer360.ts +268 -0
- package/src/account-support/customerAccountReadDiagnostics.ts +83 -0
- package/src/account-support/index.ts +72 -0
- package/src/account-support/invoiceAccess.ts +63 -0
- package/src/account-support/migrations.ts +7 -0
- package/src/account-support/operatorAuthority.ts +393 -0
- package/src/account-support/operatorRecovery.ts +136 -0
- package/src/account-support/orderHistory.ts +309 -0
- package/src/account-support/paymentMethodComposition.ts +8 -0
- package/src/account-support/postgresOperatorAuthority.ts +92 -0
- package/src/account-support/selfService.ts +83 -0
- package/src/account-support/subscriptionCommandCodec.ts +48 -0
- package/src/composition/accountSupportContribution.ts +28 -0
- package/src/composition/index.ts +1 -0
|
@@ -5,13 +5,13 @@ export declare const adminCommerceOrdersListRequestSchema: z.ZodObject<{
|
|
|
5
5
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
6
|
search: z.ZodOptional<z.ZodString>;
|
|
7
7
|
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
failed: "failed";
|
|
9
|
+
cancelled: "cancelled";
|
|
10
|
+
paid: "paid";
|
|
11
|
+
pending_payment: "pending_payment";
|
|
8
12
|
draft: "draft";
|
|
9
13
|
expired: "expired";
|
|
10
|
-
pending_payment: "pending_payment";
|
|
11
|
-
paid: "paid";
|
|
12
|
-
failed: "failed";
|
|
13
14
|
fulfillment_pending: "fulfillment_pending";
|
|
14
|
-
cancelled: "cancelled";
|
|
15
15
|
fulfilled: "fulfilled";
|
|
16
16
|
refunded: "refunded";
|
|
17
17
|
}>>;
|
|
@@ -20,34 +20,34 @@ export declare const adminCommerceOrdersListRequestSchema: z.ZodObject<{
|
|
|
20
20
|
subscription_cycle: "subscription_cycle";
|
|
21
21
|
}>>;
|
|
22
22
|
paymentStatus: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
|
|
24
|
-
created: "created";
|
|
23
|
+
requires_action: "requires_action";
|
|
25
24
|
failed: "failed";
|
|
26
25
|
cancelled: "cancelled";
|
|
26
|
+
created: "created";
|
|
27
|
+
expired: "expired";
|
|
27
28
|
refunded: "refunded";
|
|
28
29
|
not_started: "not_started";
|
|
29
|
-
requires_action: "requires_action";
|
|
30
30
|
processing: "processing";
|
|
31
31
|
partially_refunded: "partially_refunded";
|
|
32
32
|
disputed: "disputed";
|
|
33
33
|
succeeded: "succeeded";
|
|
34
34
|
}>>;
|
|
35
35
|
fulfillmentStatus: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
created: "created";
|
|
37
36
|
cancelled: "cancelled";
|
|
38
37
|
delivered: "delivered";
|
|
38
|
+
exception: "exception";
|
|
39
|
+
created: "created";
|
|
39
40
|
packed: "packed";
|
|
40
41
|
label_pending: "label_pending";
|
|
41
42
|
label_created: "label_created";
|
|
42
43
|
handed_over: "handed_over";
|
|
43
44
|
in_transit: "in_transit";
|
|
44
|
-
exception: "exception";
|
|
45
45
|
}>>;
|
|
46
46
|
inventoryStatus: z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
missing: "missing";
|
|
47
48
|
expired: "expired";
|
|
48
49
|
not_checked: "not_checked";
|
|
49
50
|
reserved: "reserved";
|
|
50
|
-
missing: "missing";
|
|
51
51
|
released: "released";
|
|
52
52
|
consumed: "consumed";
|
|
53
53
|
review_required: "review_required";
|
|
@@ -55,14 +55,14 @@ export declare const adminCommerceOrdersListRequestSchema: z.ZodObject<{
|
|
|
55
55
|
accountingStatus: z.ZodOptional<z.ZodString>;
|
|
56
56
|
providerOpsStatus: z.ZodOptional<z.ZodString>;
|
|
57
57
|
attentionReason: z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
59
|
+
none: "none";
|
|
58
60
|
fulfillment_pending: "fulfillment_pending";
|
|
59
61
|
active_hold: "active_hold";
|
|
60
62
|
missing_shipping_address: "missing_shipping_address";
|
|
61
|
-
none: "none";
|
|
62
63
|
fulfillment_exception: "fulfillment_exception";
|
|
63
64
|
payment_required: "payment_required";
|
|
64
65
|
inventory_missing: "inventory_missing";
|
|
65
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
66
66
|
invoice_missing: "invoice_missing";
|
|
67
67
|
invoice_issue_failed: "invoice_issue_failed";
|
|
68
68
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -155,10 +155,10 @@ export declare const adminCommerceOrderRequestReplacementShipmentRequestSchema:
|
|
|
155
155
|
idempotencyKey: z.ZodString;
|
|
156
156
|
orderId: z.ZodGUID;
|
|
157
157
|
reason: z.ZodEnum<{
|
|
158
|
-
other: "other";
|
|
159
158
|
damaged: "damaged";
|
|
160
159
|
lost: "lost";
|
|
161
160
|
returned_undelivered: "returned_undelivered";
|
|
161
|
+
other: "other";
|
|
162
162
|
}>;
|
|
163
163
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
164
164
|
}, z.core.$strict>;
|
|
@@ -8,13 +8,13 @@ export declare const omsControlPlaneListRequestSchema: z.ZodObject<{
|
|
|
8
8
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
9
9
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
10
10
|
status: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
failed: "failed";
|
|
12
|
+
cancelled: "cancelled";
|
|
13
|
+
paid: "paid";
|
|
14
|
+
pending_payment: "pending_payment";
|
|
11
15
|
draft: "draft";
|
|
12
16
|
expired: "expired";
|
|
13
|
-
pending_payment: "pending_payment";
|
|
14
|
-
paid: "paid";
|
|
15
|
-
failed: "failed";
|
|
16
17
|
fulfillment_pending: "fulfillment_pending";
|
|
17
|
-
cancelled: "cancelled";
|
|
18
18
|
fulfilled: "fulfilled";
|
|
19
19
|
refunded: "refunded";
|
|
20
20
|
}>>;
|
|
@@ -56,13 +56,13 @@ export declare const omsControlPlaneOperationSchema: z.ZodObject<{
|
|
|
56
56
|
export declare const omsControlPlaneOrderSchema: z.ZodObject<{
|
|
57
57
|
orderId: z.ZodGUID;
|
|
58
58
|
status: z.ZodEnum<{
|
|
59
|
+
failed: "failed";
|
|
60
|
+
cancelled: "cancelled";
|
|
61
|
+
paid: "paid";
|
|
62
|
+
pending_payment: "pending_payment";
|
|
59
63
|
draft: "draft";
|
|
60
64
|
expired: "expired";
|
|
61
|
-
pending_payment: "pending_payment";
|
|
62
|
-
paid: "paid";
|
|
63
|
-
failed: "failed";
|
|
64
65
|
fulfillment_pending: "fulfillment_pending";
|
|
65
|
-
cancelled: "cancelled";
|
|
66
66
|
fulfilled: "fulfilled";
|
|
67
67
|
refunded: "refunded";
|
|
68
68
|
}>;
|
|
@@ -73,15 +73,15 @@ export declare const omsControlPlaneOrderSchema: z.ZodObject<{
|
|
|
73
73
|
currency: z.ZodString;
|
|
74
74
|
}, z.core.$strict>>;
|
|
75
75
|
shipmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
76
|
-
created: "created";
|
|
77
76
|
cancelled: "cancelled";
|
|
78
77
|
delivered: "delivered";
|
|
78
|
+
exception: "exception";
|
|
79
|
+
created: "created";
|
|
79
80
|
packed: "packed";
|
|
80
81
|
label_pending: "label_pending";
|
|
81
82
|
label_created: "label_created";
|
|
82
83
|
handed_over: "handed_over";
|
|
83
84
|
in_transit: "in_transit";
|
|
84
|
-
exception: "exception";
|
|
85
85
|
}>>;
|
|
86
86
|
activeHoldCount: z.ZodNumber;
|
|
87
87
|
activeHoldReasons: z.ZodArray<z.ZodEnum<{
|
|
@@ -118,13 +118,13 @@ export declare const omsControlPlaneListResponseSchema: z.ZodObject<{
|
|
|
118
118
|
orders: z.ZodArray<z.ZodObject<{
|
|
119
119
|
orderId: z.ZodGUID;
|
|
120
120
|
status: z.ZodEnum<{
|
|
121
|
+
failed: "failed";
|
|
122
|
+
cancelled: "cancelled";
|
|
123
|
+
paid: "paid";
|
|
124
|
+
pending_payment: "pending_payment";
|
|
121
125
|
draft: "draft";
|
|
122
126
|
expired: "expired";
|
|
123
|
-
pending_payment: "pending_payment";
|
|
124
|
-
paid: "paid";
|
|
125
|
-
failed: "failed";
|
|
126
127
|
fulfillment_pending: "fulfillment_pending";
|
|
127
|
-
cancelled: "cancelled";
|
|
128
128
|
fulfilled: "fulfilled";
|
|
129
129
|
refunded: "refunded";
|
|
130
130
|
}>;
|
|
@@ -135,15 +135,15 @@ export declare const omsControlPlaneListResponseSchema: z.ZodObject<{
|
|
|
135
135
|
currency: z.ZodString;
|
|
136
136
|
}, z.core.$strict>>;
|
|
137
137
|
shipmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
138
|
-
created: "created";
|
|
139
138
|
cancelled: "cancelled";
|
|
140
139
|
delivered: "delivered";
|
|
140
|
+
exception: "exception";
|
|
141
|
+
created: "created";
|
|
141
142
|
packed: "packed";
|
|
142
143
|
label_pending: "label_pending";
|
|
143
144
|
label_created: "label_created";
|
|
144
145
|
handed_over: "handed_over";
|
|
145
146
|
in_transit: "in_transit";
|
|
146
|
-
exception: "exception";
|
|
147
147
|
}>>;
|
|
148
148
|
activeHoldCount: z.ZodNumber;
|
|
149
149
|
activeHoldReasons: z.ZodArray<z.ZodEnum<{
|
|
@@ -184,13 +184,13 @@ export declare const omsControlPlaneDetailResponseSchema: z.ZodObject<{
|
|
|
184
184
|
order: z.ZodObject<{
|
|
185
185
|
orderId: z.ZodGUID;
|
|
186
186
|
status: z.ZodEnum<{
|
|
187
|
+
failed: "failed";
|
|
188
|
+
cancelled: "cancelled";
|
|
189
|
+
paid: "paid";
|
|
190
|
+
pending_payment: "pending_payment";
|
|
187
191
|
draft: "draft";
|
|
188
192
|
expired: "expired";
|
|
189
|
-
pending_payment: "pending_payment";
|
|
190
|
-
paid: "paid";
|
|
191
|
-
failed: "failed";
|
|
192
193
|
fulfillment_pending: "fulfillment_pending";
|
|
193
|
-
cancelled: "cancelled";
|
|
194
194
|
fulfilled: "fulfilled";
|
|
195
195
|
refunded: "refunded";
|
|
196
196
|
}>;
|
|
@@ -201,15 +201,15 @@ export declare const omsControlPlaneDetailResponseSchema: z.ZodObject<{
|
|
|
201
201
|
currency: z.ZodString;
|
|
202
202
|
}, z.core.$strict>>;
|
|
203
203
|
shipmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
204
|
-
created: "created";
|
|
205
204
|
cancelled: "cancelled";
|
|
206
205
|
delivered: "delivered";
|
|
206
|
+
exception: "exception";
|
|
207
|
+
created: "created";
|
|
207
208
|
packed: "packed";
|
|
208
209
|
label_pending: "label_pending";
|
|
209
210
|
label_created: "label_created";
|
|
210
211
|
handed_over: "handed_over";
|
|
211
212
|
in_transit: "in_transit";
|
|
212
|
-
exception: "exception";
|
|
213
213
|
}>>;
|
|
214
214
|
activeHoldCount: z.ZodNumber;
|
|
215
215
|
activeHoldReasons: z.ZodArray<z.ZodEnum<{
|
|
@@ -25,25 +25,25 @@ export declare const omsFulfillmentTimelineEventSchema: z.ZodObject<{
|
|
|
25
25
|
label: z.ZodString;
|
|
26
26
|
occurredAt: z.ZodNullable<z.ZodString>;
|
|
27
27
|
source: z.ZodEnum<{
|
|
28
|
-
provider: "provider";
|
|
29
28
|
webhook: "webhook";
|
|
30
29
|
reconciliation: "reconciliation";
|
|
31
30
|
manual: "manual";
|
|
32
31
|
simulator: "simulator";
|
|
33
32
|
fulfillment: "fulfillment";
|
|
34
33
|
dispatch: "dispatch";
|
|
34
|
+
provider: "provider";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strict>;
|
|
37
37
|
export declare const omsSubscriptionContextSchema: z.ZodObject<{
|
|
38
38
|
subscriptionId: z.ZodNullable<z.ZodGUID>;
|
|
39
39
|
subscriptionCycleId: z.ZodNullable<z.ZodGUID>;
|
|
40
40
|
subscriptionCycleStatus: z.ZodNullable<z.ZodEnum<{
|
|
41
|
-
|
|
41
|
+
payment_pending: "payment_pending";
|
|
42
42
|
cancelled: "cancelled";
|
|
43
|
+
paid: "paid";
|
|
44
|
+
payment_failed: "payment_failed";
|
|
43
45
|
planned: "planned";
|
|
44
46
|
skipped: "skipped";
|
|
45
|
-
payment_pending: "payment_pending";
|
|
46
|
-
payment_failed: "payment_failed";
|
|
47
47
|
retry_scheduled: "retry_scheduled";
|
|
48
48
|
}>>;
|
|
49
49
|
nextCycleAt: z.ZodNullable<z.ZodString>;
|
|
@@ -51,10 +51,10 @@ export declare const omsSubscriptionContextSchema: z.ZodObject<{
|
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export declare const omsInventorySummarySchema: z.ZodObject<{
|
|
53
53
|
status: z.ZodEnum<{
|
|
54
|
+
missing: "missing";
|
|
54
55
|
expired: "expired";
|
|
55
56
|
not_checked: "not_checked";
|
|
56
57
|
reserved: "reserved";
|
|
57
|
-
missing: "missing";
|
|
58
58
|
released: "released";
|
|
59
59
|
consumed: "consumed";
|
|
60
60
|
review_required: "review_required";
|
|
@@ -73,15 +73,15 @@ export declare const omsInventorySummarySchema: z.ZodObject<{
|
|
|
73
73
|
export declare const omsFulfillmentSummarySchema: z.ZodObject<{
|
|
74
74
|
fulfillmentOrderId: z.ZodNullable<z.ZodGUID>;
|
|
75
75
|
status: z.ZodNullable<z.ZodEnum<{
|
|
76
|
-
created: "created";
|
|
77
76
|
cancelled: "cancelled";
|
|
78
77
|
delivered: "delivered";
|
|
78
|
+
exception: "exception";
|
|
79
|
+
created: "created";
|
|
79
80
|
packed: "packed";
|
|
80
81
|
label_pending: "label_pending";
|
|
81
82
|
label_created: "label_created";
|
|
82
83
|
handed_over: "handed_over";
|
|
83
84
|
in_transit: "in_transit";
|
|
84
|
-
exception: "exception";
|
|
85
85
|
}>>;
|
|
86
86
|
providerKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
87
87
|
latestOperationType: z.ZodNullable<z.ZodString>;
|
|
@@ -103,13 +103,13 @@ export declare const omsFulfillmentSummarySchema: z.ZodObject<{
|
|
|
103
103
|
label: z.ZodString;
|
|
104
104
|
occurredAt: z.ZodNullable<z.ZodString>;
|
|
105
105
|
source: z.ZodEnum<{
|
|
106
|
-
provider: "provider";
|
|
107
106
|
webhook: "webhook";
|
|
108
107
|
reconciliation: "reconciliation";
|
|
109
108
|
manual: "manual";
|
|
110
109
|
simulator: "simulator";
|
|
111
110
|
fulfillment: "fulfillment";
|
|
112
111
|
dispatch: "dispatch";
|
|
112
|
+
provider: "provider";
|
|
113
113
|
}>;
|
|
114
114
|
}, z.core.$strict>>>;
|
|
115
115
|
providerEvidence: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -147,15 +147,15 @@ export declare const omsSupersededParcelSchema: z.ZodObject<{
|
|
|
147
147
|
fulfillmentOrderId: z.ZodGUID;
|
|
148
148
|
sequenceNo: z.ZodNumber;
|
|
149
149
|
status: z.ZodNullable<z.ZodEnum<{
|
|
150
|
-
created: "created";
|
|
151
150
|
cancelled: "cancelled";
|
|
152
151
|
delivered: "delivered";
|
|
152
|
+
exception: "exception";
|
|
153
|
+
created: "created";
|
|
153
154
|
packed: "packed";
|
|
154
155
|
label_pending: "label_pending";
|
|
155
156
|
label_created: "label_created";
|
|
156
157
|
handed_over: "handed_over";
|
|
157
158
|
in_transit: "in_transit";
|
|
158
|
-
exception: "exception";
|
|
159
159
|
}>>;
|
|
160
160
|
replacementReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
161
161
|
handedOverAt: z.ZodNullable<z.ZodString>;
|
|
@@ -177,15 +177,15 @@ export declare const omsReplacementChainSchema: z.ZodObject<{
|
|
|
177
177
|
fulfillmentOrderId: z.ZodGUID;
|
|
178
178
|
sequenceNo: z.ZodNumber;
|
|
179
179
|
status: z.ZodNullable<z.ZodEnum<{
|
|
180
|
-
created: "created";
|
|
181
180
|
cancelled: "cancelled";
|
|
182
181
|
delivered: "delivered";
|
|
182
|
+
exception: "exception";
|
|
183
|
+
created: "created";
|
|
183
184
|
packed: "packed";
|
|
184
185
|
label_pending: "label_pending";
|
|
185
186
|
label_created: "label_created";
|
|
186
187
|
handed_over: "handed_over";
|
|
187
188
|
in_transit: "in_transit";
|
|
188
|
-
exception: "exception";
|
|
189
189
|
}>>;
|
|
190
190
|
replacementReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
191
191
|
handedOverAt: z.ZodNullable<z.ZodString>;
|
|
@@ -3,21 +3,21 @@ import type { OmsFulfillmentDebug } from "../contracts/omsTypes.js";
|
|
|
3
3
|
export type { OmsFulfillmentDebug } from "../contracts/omsTypes.js";
|
|
4
4
|
export declare const omsFulfillmentDebugStepSchema: z.ZodObject<{
|
|
5
5
|
key: z.ZodEnum<{
|
|
6
|
-
stock: "stock";
|
|
7
|
-
payment: "payment";
|
|
8
|
-
provider: "provider";
|
|
9
6
|
fulfillment: "fulfillment";
|
|
10
7
|
dispatch: "dispatch";
|
|
8
|
+
provider: "provider";
|
|
9
|
+
payment: "payment";
|
|
10
|
+
stock: "stock";
|
|
11
11
|
provider_stock: "provider_stock";
|
|
12
12
|
tracking: "tracking";
|
|
13
13
|
communication: "communication";
|
|
14
14
|
}>;
|
|
15
15
|
status: z.ZodEnum<{
|
|
16
|
-
ok: "ok";
|
|
17
16
|
missing: "missing";
|
|
18
|
-
pending: "pending";
|
|
19
17
|
blocked: "blocked";
|
|
18
|
+
pending: "pending";
|
|
20
19
|
warning: "warning";
|
|
20
|
+
ok: "ok";
|
|
21
21
|
}>;
|
|
22
22
|
label: z.ZodString;
|
|
23
23
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -28,10 +28,11 @@ export declare const omsFulfillmentDebugSchema: z.ZodObject<{
|
|
|
28
28
|
summary: z.ZodString;
|
|
29
29
|
severity: z.ZodEnum<{
|
|
30
30
|
ok: "ok";
|
|
31
|
-
action_required: "action_required";
|
|
32
31
|
watch: "watch";
|
|
32
|
+
action_required: "action_required";
|
|
33
33
|
}>;
|
|
34
34
|
nextAction: z.ZodEnum<{
|
|
35
|
+
contact_support: "contact_support";
|
|
35
36
|
review_payment: "review_payment";
|
|
36
37
|
create_fulfillment: "create_fulfillment";
|
|
37
38
|
wait: "wait";
|
|
@@ -39,26 +40,25 @@ export declare const omsFulfillmentDebugSchema: z.ZodObject<{
|
|
|
39
40
|
reconcile: "reconcile";
|
|
40
41
|
review_stock: "review_stock";
|
|
41
42
|
review_provider: "review_provider";
|
|
42
|
-
contact_support: "contact_support";
|
|
43
43
|
}>;
|
|
44
44
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
45
45
|
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
46
46
|
key: z.ZodEnum<{
|
|
47
|
-
stock: "stock";
|
|
48
|
-
payment: "payment";
|
|
49
|
-
provider: "provider";
|
|
50
47
|
fulfillment: "fulfillment";
|
|
51
48
|
dispatch: "dispatch";
|
|
49
|
+
provider: "provider";
|
|
50
|
+
payment: "payment";
|
|
51
|
+
stock: "stock";
|
|
52
52
|
provider_stock: "provider_stock";
|
|
53
53
|
tracking: "tracking";
|
|
54
54
|
communication: "communication";
|
|
55
55
|
}>;
|
|
56
56
|
status: z.ZodEnum<{
|
|
57
|
-
ok: "ok";
|
|
58
57
|
missing: "missing";
|
|
59
|
-
pending: "pending";
|
|
60
58
|
blocked: "blocked";
|
|
59
|
+
pending: "pending";
|
|
61
60
|
warning: "warning";
|
|
61
|
+
ok: "ok";
|
|
62
62
|
}>;
|
|
63
63
|
label: z.ZodString;
|
|
64
64
|
value: z.ZodNullable<z.ZodString>;
|