@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
|
@@ -143,13 +143,13 @@ export declare const omsOrderListItemSchema: z.ZodObject<{
|
|
|
143
143
|
lifecycleStage: z.ZodNullable<z.ZodString>;
|
|
144
144
|
}, z.core.$strict>>;
|
|
145
145
|
status: z.ZodEnum<{
|
|
146
|
+
failed: "failed";
|
|
147
|
+
cancelled: "cancelled";
|
|
148
|
+
paid: "paid";
|
|
149
|
+
pending_payment: "pending_payment";
|
|
146
150
|
draft: "draft";
|
|
147
151
|
expired: "expired";
|
|
148
|
-
pending_payment: "pending_payment";
|
|
149
|
-
paid: "paid";
|
|
150
|
-
failed: "failed";
|
|
151
152
|
fulfillment_pending: "fulfillment_pending";
|
|
152
|
-
cancelled: "cancelled";
|
|
153
153
|
fulfilled: "fulfilled";
|
|
154
154
|
refunded: "refunded";
|
|
155
155
|
}>;
|
|
@@ -163,35 +163,35 @@ export declare const omsOrderListItemSchema: z.ZodObject<{
|
|
|
163
163
|
paymentMethodLabel: z.ZodNullable<z.ZodString>;
|
|
164
164
|
paymentProvider: z.ZodNullable<z.ZodString>;
|
|
165
165
|
paymentStatus: z.ZodEnum<{
|
|
166
|
-
|
|
167
|
-
created: "created";
|
|
166
|
+
requires_action: "requires_action";
|
|
168
167
|
failed: "failed";
|
|
169
168
|
cancelled: "cancelled";
|
|
169
|
+
created: "created";
|
|
170
|
+
expired: "expired";
|
|
170
171
|
refunded: "refunded";
|
|
171
172
|
not_started: "not_started";
|
|
172
|
-
requires_action: "requires_action";
|
|
173
173
|
processing: "processing";
|
|
174
174
|
partially_refunded: "partially_refunded";
|
|
175
175
|
disputed: "disputed";
|
|
176
176
|
succeeded: "succeeded";
|
|
177
177
|
}>;
|
|
178
178
|
fulfillmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
179
|
-
created: "created";
|
|
180
179
|
cancelled: "cancelled";
|
|
181
180
|
delivered: "delivered";
|
|
181
|
+
exception: "exception";
|
|
182
|
+
created: "created";
|
|
182
183
|
packed: "packed";
|
|
183
184
|
label_pending: "label_pending";
|
|
184
185
|
label_created: "label_created";
|
|
185
186
|
handed_over: "handed_over";
|
|
186
187
|
in_transit: "in_transit";
|
|
187
|
-
exception: "exception";
|
|
188
188
|
}>>;
|
|
189
189
|
customerFulfillmentStep: z.ZodCustom<CustomerFulfillmentStep, CustomerFulfillmentStep>;
|
|
190
190
|
inventoryStatus: z.ZodEnum<{
|
|
191
|
+
missing: "missing";
|
|
191
192
|
expired: "expired";
|
|
192
193
|
not_checked: "not_checked";
|
|
193
194
|
reserved: "reserved";
|
|
194
|
-
missing: "missing";
|
|
195
195
|
released: "released";
|
|
196
196
|
consumed: "consumed";
|
|
197
197
|
review_required: "review_required";
|
|
@@ -211,14 +211,14 @@ export declare const omsOrderListItemSchema: z.ZodObject<{
|
|
|
211
211
|
}, z.core.$strict>>>;
|
|
212
212
|
providerOrderId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
213
213
|
attentionReason: z.ZodEnum<{
|
|
214
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
215
|
+
none: "none";
|
|
214
216
|
fulfillment_pending: "fulfillment_pending";
|
|
215
217
|
active_hold: "active_hold";
|
|
216
218
|
missing_shipping_address: "missing_shipping_address";
|
|
217
|
-
none: "none";
|
|
218
219
|
fulfillment_exception: "fulfillment_exception";
|
|
219
220
|
payment_required: "payment_required";
|
|
220
221
|
inventory_missing: "inventory_missing";
|
|
221
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
222
222
|
invoice_missing: "invoice_missing";
|
|
223
223
|
invoice_issue_failed: "invoice_issue_failed";
|
|
224
224
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -376,13 +376,13 @@ export declare const omsPaymentSummarySchema: z.ZodObject<{
|
|
|
376
376
|
intentId: z.ZodNullable<z.ZodGUID>;
|
|
377
377
|
paymentId: z.ZodNullable<z.ZodGUID>;
|
|
378
378
|
status: z.ZodEnum<{
|
|
379
|
-
|
|
380
|
-
created: "created";
|
|
379
|
+
requires_action: "requires_action";
|
|
381
380
|
failed: "failed";
|
|
382
381
|
cancelled: "cancelled";
|
|
382
|
+
created: "created";
|
|
383
|
+
expired: "expired";
|
|
383
384
|
refunded: "refunded";
|
|
384
385
|
not_started: "not_started";
|
|
385
|
-
requires_action: "requires_action";
|
|
386
386
|
processing: "processing";
|
|
387
387
|
partially_refunded: "partially_refunded";
|
|
388
388
|
disputed: "disputed";
|
|
@@ -395,14 +395,14 @@ export declare const omsPaymentSummarySchema: z.ZodObject<{
|
|
|
395
395
|
export declare const omsPaymentAttemptSchema: z.ZodObject<{
|
|
396
396
|
id: z.ZodGUID;
|
|
397
397
|
status: z.ZodEnum<{
|
|
398
|
-
|
|
399
|
-
|
|
398
|
+
requires_action: "requires_action";
|
|
399
|
+
blocked_preflight: "blocked_preflight";
|
|
400
400
|
failed: "failed";
|
|
401
401
|
cancelled: "cancelled";
|
|
402
|
-
|
|
402
|
+
created: "created";
|
|
403
|
+
expired: "expired";
|
|
403
404
|
processing: "processing";
|
|
404
405
|
succeeded: "succeeded";
|
|
405
|
-
blocked_preflight: "blocked_preflight";
|
|
406
406
|
sent_to_provider: "sent_to_provider";
|
|
407
407
|
}>;
|
|
408
408
|
provider: z.ZodString;
|
|
@@ -443,13 +443,13 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
443
443
|
lifecycleStage: z.ZodNullable<z.ZodString>;
|
|
444
444
|
}, z.core.$strict>>;
|
|
445
445
|
status: z.ZodEnum<{
|
|
446
|
+
failed: "failed";
|
|
447
|
+
cancelled: "cancelled";
|
|
448
|
+
paid: "paid";
|
|
449
|
+
pending_payment: "pending_payment";
|
|
446
450
|
draft: "draft";
|
|
447
451
|
expired: "expired";
|
|
448
|
-
pending_payment: "pending_payment";
|
|
449
|
-
paid: "paid";
|
|
450
|
-
failed: "failed";
|
|
451
452
|
fulfillment_pending: "fulfillment_pending";
|
|
452
|
-
cancelled: "cancelled";
|
|
453
453
|
fulfilled: "fulfilled";
|
|
454
454
|
refunded: "refunded";
|
|
455
455
|
}>;
|
|
@@ -463,35 +463,35 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
463
463
|
paymentMethodLabel: z.ZodNullable<z.ZodString>;
|
|
464
464
|
paymentProvider: z.ZodNullable<z.ZodString>;
|
|
465
465
|
paymentStatus: z.ZodEnum<{
|
|
466
|
-
|
|
467
|
-
created: "created";
|
|
466
|
+
requires_action: "requires_action";
|
|
468
467
|
failed: "failed";
|
|
469
468
|
cancelled: "cancelled";
|
|
469
|
+
created: "created";
|
|
470
|
+
expired: "expired";
|
|
470
471
|
refunded: "refunded";
|
|
471
472
|
not_started: "not_started";
|
|
472
|
-
requires_action: "requires_action";
|
|
473
473
|
processing: "processing";
|
|
474
474
|
partially_refunded: "partially_refunded";
|
|
475
475
|
disputed: "disputed";
|
|
476
476
|
succeeded: "succeeded";
|
|
477
477
|
}>;
|
|
478
478
|
fulfillmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
479
|
-
created: "created";
|
|
480
479
|
cancelled: "cancelled";
|
|
481
480
|
delivered: "delivered";
|
|
481
|
+
exception: "exception";
|
|
482
|
+
created: "created";
|
|
482
483
|
packed: "packed";
|
|
483
484
|
label_pending: "label_pending";
|
|
484
485
|
label_created: "label_created";
|
|
485
486
|
handed_over: "handed_over";
|
|
486
487
|
in_transit: "in_transit";
|
|
487
|
-
exception: "exception";
|
|
488
488
|
}>>;
|
|
489
489
|
customerFulfillmentStep: z.ZodCustom<CustomerFulfillmentStep, CustomerFulfillmentStep>;
|
|
490
490
|
inventoryStatus: z.ZodEnum<{
|
|
491
|
+
missing: "missing";
|
|
491
492
|
expired: "expired";
|
|
492
493
|
not_checked: "not_checked";
|
|
493
494
|
reserved: "reserved";
|
|
494
|
-
missing: "missing";
|
|
495
495
|
released: "released";
|
|
496
496
|
consumed: "consumed";
|
|
497
497
|
review_required: "review_required";
|
|
@@ -511,14 +511,14 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
511
511
|
}, z.core.$strict>>>;
|
|
512
512
|
providerOrderId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
513
513
|
attentionReason: z.ZodEnum<{
|
|
514
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
515
|
+
none: "none";
|
|
514
516
|
fulfillment_pending: "fulfillment_pending";
|
|
515
517
|
active_hold: "active_hold";
|
|
516
518
|
missing_shipping_address: "missing_shipping_address";
|
|
517
|
-
none: "none";
|
|
518
519
|
fulfillment_exception: "fulfillment_exception";
|
|
519
520
|
payment_required: "payment_required";
|
|
520
521
|
inventory_missing: "inventory_missing";
|
|
521
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
522
522
|
invoice_missing: "invoice_missing";
|
|
523
523
|
invoice_issue_failed: "invoice_issue_failed";
|
|
524
524
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -672,10 +672,10 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
672
672
|
frozen: z.ZodBoolean;
|
|
673
673
|
providerSubmissionState: z.ZodEnum<{
|
|
674
674
|
unknown: "unknown";
|
|
675
|
-
draft: "draft";
|
|
676
|
-
created: "created";
|
|
677
675
|
failed: "failed";
|
|
678
676
|
cancelled: "cancelled";
|
|
677
|
+
draft: "draft";
|
|
678
|
+
created: "created";
|
|
679
679
|
not_started: "not_started";
|
|
680
680
|
not_materialized: "not_materialized";
|
|
681
681
|
submitting: "submitting";
|
|
@@ -701,8 +701,8 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
701
701
|
}, z.core.$strict>>;
|
|
702
702
|
deliverySelection: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
703
703
|
deliveryKind: z.ZodEnum<{
|
|
704
|
-
"parcel-locker": "parcel-locker";
|
|
705
704
|
courier: "courier";
|
|
705
|
+
"parcel-locker": "parcel-locker";
|
|
706
706
|
}>;
|
|
707
707
|
providerKind: z.ZodNullable<z.ZodString>;
|
|
708
708
|
carrierKind: z.ZodNullable<z.ZodString>;
|
|
@@ -754,12 +754,12 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
754
754
|
subscriptionId: z.ZodNullable<z.ZodGUID>;
|
|
755
755
|
subscriptionCycleId: z.ZodNullable<z.ZodGUID>;
|
|
756
756
|
subscriptionCycleStatus: z.ZodNullable<z.ZodEnum<{
|
|
757
|
-
|
|
757
|
+
payment_pending: "payment_pending";
|
|
758
758
|
cancelled: "cancelled";
|
|
759
|
+
paid: "paid";
|
|
760
|
+
payment_failed: "payment_failed";
|
|
759
761
|
planned: "planned";
|
|
760
762
|
skipped: "skipped";
|
|
761
|
-
payment_pending: "payment_pending";
|
|
762
|
-
payment_failed: "payment_failed";
|
|
763
763
|
retry_scheduled: "retry_scheduled";
|
|
764
764
|
}>>;
|
|
765
765
|
nextCycleAt: z.ZodNullable<z.ZodString>;
|
|
@@ -779,10 +779,10 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
779
779
|
}, z.core.$strip>;
|
|
780
780
|
inventory: z.ZodObject<{
|
|
781
781
|
status: z.ZodEnum<{
|
|
782
|
+
missing: "missing";
|
|
782
783
|
expired: "expired";
|
|
783
784
|
not_checked: "not_checked";
|
|
784
785
|
reserved: "reserved";
|
|
785
|
-
missing: "missing";
|
|
786
786
|
released: "released";
|
|
787
787
|
consumed: "consumed";
|
|
788
788
|
review_required: "review_required";
|
|
@@ -801,15 +801,15 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
801
801
|
fulfillment: z.ZodObject<{
|
|
802
802
|
fulfillmentOrderId: z.ZodNullable<z.ZodGUID>;
|
|
803
803
|
status: z.ZodNullable<z.ZodEnum<{
|
|
804
|
-
created: "created";
|
|
805
804
|
cancelled: "cancelled";
|
|
806
805
|
delivered: "delivered";
|
|
806
|
+
exception: "exception";
|
|
807
|
+
created: "created";
|
|
807
808
|
packed: "packed";
|
|
808
809
|
label_pending: "label_pending";
|
|
809
810
|
label_created: "label_created";
|
|
810
811
|
handed_over: "handed_over";
|
|
811
812
|
in_transit: "in_transit";
|
|
812
|
-
exception: "exception";
|
|
813
813
|
}>>;
|
|
814
814
|
providerKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
815
815
|
latestOperationType: z.ZodNullable<z.ZodString>;
|
|
@@ -831,13 +831,13 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
831
831
|
label: z.ZodString;
|
|
832
832
|
occurredAt: z.ZodNullable<z.ZodString>;
|
|
833
833
|
source: z.ZodEnum<{
|
|
834
|
-
provider: "provider";
|
|
835
834
|
webhook: "webhook";
|
|
836
835
|
reconciliation: "reconciliation";
|
|
837
836
|
manual: "manual";
|
|
838
837
|
simulator: "simulator";
|
|
839
838
|
fulfillment: "fulfillment";
|
|
840
839
|
dispatch: "dispatch";
|
|
840
|
+
provider: "provider";
|
|
841
841
|
}>;
|
|
842
842
|
}, z.core.$strict>>>;
|
|
843
843
|
providerEvidence: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -863,15 +863,15 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
863
863
|
fulfillmentOrderId: z.ZodGUID;
|
|
864
864
|
sequenceNo: z.ZodNumber;
|
|
865
865
|
status: z.ZodNullable<z.ZodEnum<{
|
|
866
|
-
created: "created";
|
|
867
866
|
cancelled: "cancelled";
|
|
868
867
|
delivered: "delivered";
|
|
868
|
+
exception: "exception";
|
|
869
|
+
created: "created";
|
|
869
870
|
packed: "packed";
|
|
870
871
|
label_pending: "label_pending";
|
|
871
872
|
label_created: "label_created";
|
|
872
873
|
handed_over: "handed_over";
|
|
873
874
|
in_transit: "in_transit";
|
|
874
|
-
exception: "exception";
|
|
875
875
|
}>>;
|
|
876
876
|
replacementReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
877
877
|
handedOverAt: z.ZodNullable<z.ZodString>;
|
|
@@ -928,10 +928,11 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
928
928
|
summary: z.ZodString;
|
|
929
929
|
severity: z.ZodEnum<{
|
|
930
930
|
ok: "ok";
|
|
931
|
-
action_required: "action_required";
|
|
932
931
|
watch: "watch";
|
|
932
|
+
action_required: "action_required";
|
|
933
933
|
}>;
|
|
934
934
|
nextAction: z.ZodEnum<{
|
|
935
|
+
contact_support: "contact_support";
|
|
935
936
|
review_payment: "review_payment";
|
|
936
937
|
create_fulfillment: "create_fulfillment";
|
|
937
938
|
wait: "wait";
|
|
@@ -939,26 +940,25 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
939
940
|
reconcile: "reconcile";
|
|
940
941
|
review_stock: "review_stock";
|
|
941
942
|
review_provider: "review_provider";
|
|
942
|
-
contact_support: "contact_support";
|
|
943
943
|
}>;
|
|
944
944
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
945
945
|
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
946
946
|
key: z.ZodEnum<{
|
|
947
|
-
stock: "stock";
|
|
948
|
-
payment: "payment";
|
|
949
|
-
provider: "provider";
|
|
950
947
|
fulfillment: "fulfillment";
|
|
951
948
|
dispatch: "dispatch";
|
|
949
|
+
provider: "provider";
|
|
950
|
+
payment: "payment";
|
|
951
|
+
stock: "stock";
|
|
952
952
|
provider_stock: "provider_stock";
|
|
953
953
|
tracking: "tracking";
|
|
954
954
|
communication: "communication";
|
|
955
955
|
}>;
|
|
956
956
|
status: z.ZodEnum<{
|
|
957
|
-
ok: "ok";
|
|
958
957
|
missing: "missing";
|
|
959
|
-
pending: "pending";
|
|
960
958
|
blocked: "blocked";
|
|
959
|
+
pending: "pending";
|
|
961
960
|
warning: "warning";
|
|
961
|
+
ok: "ok";
|
|
962
962
|
}>;
|
|
963
963
|
label: z.ZodString;
|
|
964
964
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -1076,13 +1076,13 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
1076
1076
|
intentId: z.ZodNullable<z.ZodGUID>;
|
|
1077
1077
|
paymentId: z.ZodNullable<z.ZodGUID>;
|
|
1078
1078
|
status: z.ZodEnum<{
|
|
1079
|
-
|
|
1080
|
-
created: "created";
|
|
1079
|
+
requires_action: "requires_action";
|
|
1081
1080
|
failed: "failed";
|
|
1082
1081
|
cancelled: "cancelled";
|
|
1082
|
+
created: "created";
|
|
1083
|
+
expired: "expired";
|
|
1083
1084
|
refunded: "refunded";
|
|
1084
1085
|
not_started: "not_started";
|
|
1085
|
-
requires_action: "requires_action";
|
|
1086
1086
|
processing: "processing";
|
|
1087
1087
|
partially_refunded: "partially_refunded";
|
|
1088
1088
|
disputed: "disputed";
|
|
@@ -1095,14 +1095,14 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
1095
1095
|
paymentAttempts: z.ZodArray<z.ZodObject<{
|
|
1096
1096
|
id: z.ZodGUID;
|
|
1097
1097
|
status: z.ZodEnum<{
|
|
1098
|
-
|
|
1099
|
-
|
|
1098
|
+
requires_action: "requires_action";
|
|
1099
|
+
blocked_preflight: "blocked_preflight";
|
|
1100
1100
|
failed: "failed";
|
|
1101
1101
|
cancelled: "cancelled";
|
|
1102
|
-
|
|
1102
|
+
created: "created";
|
|
1103
|
+
expired: "expired";
|
|
1103
1104
|
processing: "processing";
|
|
1104
1105
|
succeeded: "succeeded";
|
|
1105
|
-
blocked_preflight: "blocked_preflight";
|
|
1106
1106
|
sent_to_provider: "sent_to_provider";
|
|
1107
1107
|
}>;
|
|
1108
1108
|
provider: z.ZodString;
|
|
@@ -1128,17 +1128,17 @@ export declare const omsOrderDetailSchema: z.ZodObject<{
|
|
|
1128
1128
|
aggregateId: z.ZodNullable<z.ZodString>;
|
|
1129
1129
|
dedupeKey: z.ZodString;
|
|
1130
1130
|
status: z.ZodEnum<{
|
|
1131
|
+
blocked: "blocked";
|
|
1131
1132
|
failed: "failed";
|
|
1132
|
-
processing: "processing";
|
|
1133
1133
|
delivered: "delivered";
|
|
1134
|
+
bounced: "bounced";
|
|
1135
|
+
complained: "complained";
|
|
1136
|
+
processing: "processing";
|
|
1134
1137
|
planned: "planned";
|
|
1135
1138
|
skipped: "skipped";
|
|
1136
|
-
blocked: "blocked";
|
|
1137
1139
|
queued: "queued";
|
|
1138
1140
|
sent: "sent";
|
|
1139
1141
|
delivery_delayed: "delivery_delayed";
|
|
1140
|
-
bounced: "bounced";
|
|
1141
|
-
complained: "complained";
|
|
1142
1142
|
missed: "missed";
|
|
1143
1143
|
legacy_unlinked: "legacy_unlinked";
|
|
1144
1144
|
}>;
|
|
@@ -1175,13 +1175,13 @@ export declare const adminCommerceOrdersListResponseSchema: z.ZodObject<{
|
|
|
1175
1175
|
lifecycleStage: z.ZodNullable<z.ZodString>;
|
|
1176
1176
|
}, z.core.$strict>>;
|
|
1177
1177
|
status: z.ZodEnum<{
|
|
1178
|
+
failed: "failed";
|
|
1179
|
+
cancelled: "cancelled";
|
|
1180
|
+
paid: "paid";
|
|
1181
|
+
pending_payment: "pending_payment";
|
|
1178
1182
|
draft: "draft";
|
|
1179
1183
|
expired: "expired";
|
|
1180
|
-
pending_payment: "pending_payment";
|
|
1181
|
-
paid: "paid";
|
|
1182
|
-
failed: "failed";
|
|
1183
1184
|
fulfillment_pending: "fulfillment_pending";
|
|
1184
|
-
cancelled: "cancelled";
|
|
1185
1185
|
fulfilled: "fulfilled";
|
|
1186
1186
|
refunded: "refunded";
|
|
1187
1187
|
}>;
|
|
@@ -1195,35 +1195,35 @@ export declare const adminCommerceOrdersListResponseSchema: z.ZodObject<{
|
|
|
1195
1195
|
paymentMethodLabel: z.ZodNullable<z.ZodString>;
|
|
1196
1196
|
paymentProvider: z.ZodNullable<z.ZodString>;
|
|
1197
1197
|
paymentStatus: z.ZodEnum<{
|
|
1198
|
-
|
|
1199
|
-
created: "created";
|
|
1198
|
+
requires_action: "requires_action";
|
|
1200
1199
|
failed: "failed";
|
|
1201
1200
|
cancelled: "cancelled";
|
|
1201
|
+
created: "created";
|
|
1202
|
+
expired: "expired";
|
|
1202
1203
|
refunded: "refunded";
|
|
1203
1204
|
not_started: "not_started";
|
|
1204
|
-
requires_action: "requires_action";
|
|
1205
1205
|
processing: "processing";
|
|
1206
1206
|
partially_refunded: "partially_refunded";
|
|
1207
1207
|
disputed: "disputed";
|
|
1208
1208
|
succeeded: "succeeded";
|
|
1209
1209
|
}>;
|
|
1210
1210
|
fulfillmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1211
|
-
created: "created";
|
|
1212
1211
|
cancelled: "cancelled";
|
|
1213
1212
|
delivered: "delivered";
|
|
1213
|
+
exception: "exception";
|
|
1214
|
+
created: "created";
|
|
1214
1215
|
packed: "packed";
|
|
1215
1216
|
label_pending: "label_pending";
|
|
1216
1217
|
label_created: "label_created";
|
|
1217
1218
|
handed_over: "handed_over";
|
|
1218
1219
|
in_transit: "in_transit";
|
|
1219
|
-
exception: "exception";
|
|
1220
1220
|
}>>;
|
|
1221
1221
|
customerFulfillmentStep: z.ZodCustom<CustomerFulfillmentStep, CustomerFulfillmentStep>;
|
|
1222
1222
|
inventoryStatus: z.ZodEnum<{
|
|
1223
|
+
missing: "missing";
|
|
1223
1224
|
expired: "expired";
|
|
1224
1225
|
not_checked: "not_checked";
|
|
1225
1226
|
reserved: "reserved";
|
|
1226
|
-
missing: "missing";
|
|
1227
1227
|
released: "released";
|
|
1228
1228
|
consumed: "consumed";
|
|
1229
1229
|
review_required: "review_required";
|
|
@@ -1243,14 +1243,14 @@ export declare const adminCommerceOrdersListResponseSchema: z.ZodObject<{
|
|
|
1243
1243
|
}, z.core.$strict>>>;
|
|
1244
1244
|
providerOrderId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1245
1245
|
attentionReason: z.ZodEnum<{
|
|
1246
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
1247
|
+
none: "none";
|
|
1246
1248
|
fulfillment_pending: "fulfillment_pending";
|
|
1247
1249
|
active_hold: "active_hold";
|
|
1248
1250
|
missing_shipping_address: "missing_shipping_address";
|
|
1249
|
-
none: "none";
|
|
1250
1251
|
fulfillment_exception: "fulfillment_exception";
|
|
1251
1252
|
payment_required: "payment_required";
|
|
1252
1253
|
inventory_missing: "inventory_missing";
|
|
1253
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
1254
1254
|
invoice_missing: "invoice_missing";
|
|
1255
1255
|
invoice_issue_failed: "invoice_issue_failed";
|
|
1256
1256
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -1386,13 +1386,13 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1386
1386
|
lifecycleStage: z.ZodNullable<z.ZodString>;
|
|
1387
1387
|
}, z.core.$strict>>;
|
|
1388
1388
|
status: z.ZodEnum<{
|
|
1389
|
+
failed: "failed";
|
|
1390
|
+
cancelled: "cancelled";
|
|
1391
|
+
paid: "paid";
|
|
1392
|
+
pending_payment: "pending_payment";
|
|
1389
1393
|
draft: "draft";
|
|
1390
1394
|
expired: "expired";
|
|
1391
|
-
pending_payment: "pending_payment";
|
|
1392
|
-
paid: "paid";
|
|
1393
|
-
failed: "failed";
|
|
1394
1395
|
fulfillment_pending: "fulfillment_pending";
|
|
1395
|
-
cancelled: "cancelled";
|
|
1396
1396
|
fulfilled: "fulfilled";
|
|
1397
1397
|
refunded: "refunded";
|
|
1398
1398
|
}>;
|
|
@@ -1406,35 +1406,35 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1406
1406
|
paymentMethodLabel: z.ZodNullable<z.ZodString>;
|
|
1407
1407
|
paymentProvider: z.ZodNullable<z.ZodString>;
|
|
1408
1408
|
paymentStatus: z.ZodEnum<{
|
|
1409
|
-
|
|
1410
|
-
created: "created";
|
|
1409
|
+
requires_action: "requires_action";
|
|
1411
1410
|
failed: "failed";
|
|
1412
1411
|
cancelled: "cancelled";
|
|
1412
|
+
created: "created";
|
|
1413
|
+
expired: "expired";
|
|
1413
1414
|
refunded: "refunded";
|
|
1414
1415
|
not_started: "not_started";
|
|
1415
|
-
requires_action: "requires_action";
|
|
1416
1416
|
processing: "processing";
|
|
1417
1417
|
partially_refunded: "partially_refunded";
|
|
1418
1418
|
disputed: "disputed";
|
|
1419
1419
|
succeeded: "succeeded";
|
|
1420
1420
|
}>;
|
|
1421
1421
|
fulfillmentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1422
|
-
created: "created";
|
|
1423
1422
|
cancelled: "cancelled";
|
|
1424
1423
|
delivered: "delivered";
|
|
1424
|
+
exception: "exception";
|
|
1425
|
+
created: "created";
|
|
1425
1426
|
packed: "packed";
|
|
1426
1427
|
label_pending: "label_pending";
|
|
1427
1428
|
label_created: "label_created";
|
|
1428
1429
|
handed_over: "handed_over";
|
|
1429
1430
|
in_transit: "in_transit";
|
|
1430
|
-
exception: "exception";
|
|
1431
1431
|
}>>;
|
|
1432
1432
|
customerFulfillmentStep: z.ZodCustom<CustomerFulfillmentStep, CustomerFulfillmentStep>;
|
|
1433
1433
|
inventoryStatus: z.ZodEnum<{
|
|
1434
|
+
missing: "missing";
|
|
1434
1435
|
expired: "expired";
|
|
1435
1436
|
not_checked: "not_checked";
|
|
1436
1437
|
reserved: "reserved";
|
|
1437
|
-
missing: "missing";
|
|
1438
1438
|
released: "released";
|
|
1439
1439
|
consumed: "consumed";
|
|
1440
1440
|
review_required: "review_required";
|
|
@@ -1454,14 +1454,14 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1454
1454
|
}, z.core.$strict>>>;
|
|
1455
1455
|
providerOrderId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1456
1456
|
attentionReason: z.ZodEnum<{
|
|
1457
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
1458
|
+
none: "none";
|
|
1457
1459
|
fulfillment_pending: "fulfillment_pending";
|
|
1458
1460
|
active_hold: "active_hold";
|
|
1459
1461
|
missing_shipping_address: "missing_shipping_address";
|
|
1460
|
-
none: "none";
|
|
1461
1462
|
fulfillment_exception: "fulfillment_exception";
|
|
1462
1463
|
payment_required: "payment_required";
|
|
1463
1464
|
inventory_missing: "inventory_missing";
|
|
1464
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
1465
1465
|
invoice_missing: "invoice_missing";
|
|
1466
1466
|
invoice_issue_failed: "invoice_issue_failed";
|
|
1467
1467
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -1615,10 +1615,10 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1615
1615
|
frozen: z.ZodBoolean;
|
|
1616
1616
|
providerSubmissionState: z.ZodEnum<{
|
|
1617
1617
|
unknown: "unknown";
|
|
1618
|
-
draft: "draft";
|
|
1619
|
-
created: "created";
|
|
1620
1618
|
failed: "failed";
|
|
1621
1619
|
cancelled: "cancelled";
|
|
1620
|
+
draft: "draft";
|
|
1621
|
+
created: "created";
|
|
1622
1622
|
not_started: "not_started";
|
|
1623
1623
|
not_materialized: "not_materialized";
|
|
1624
1624
|
submitting: "submitting";
|
|
@@ -1644,8 +1644,8 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1644
1644
|
}, z.core.$strict>>;
|
|
1645
1645
|
deliverySelection: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1646
1646
|
deliveryKind: z.ZodEnum<{
|
|
1647
|
-
"parcel-locker": "parcel-locker";
|
|
1648
1647
|
courier: "courier";
|
|
1648
|
+
"parcel-locker": "parcel-locker";
|
|
1649
1649
|
}>;
|
|
1650
1650
|
providerKind: z.ZodNullable<z.ZodString>;
|
|
1651
1651
|
carrierKind: z.ZodNullable<z.ZodString>;
|
|
@@ -1697,12 +1697,12 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1697
1697
|
subscriptionId: z.ZodNullable<z.ZodGUID>;
|
|
1698
1698
|
subscriptionCycleId: z.ZodNullable<z.ZodGUID>;
|
|
1699
1699
|
subscriptionCycleStatus: z.ZodNullable<z.ZodEnum<{
|
|
1700
|
-
|
|
1700
|
+
payment_pending: "payment_pending";
|
|
1701
1701
|
cancelled: "cancelled";
|
|
1702
|
+
paid: "paid";
|
|
1703
|
+
payment_failed: "payment_failed";
|
|
1702
1704
|
planned: "planned";
|
|
1703
1705
|
skipped: "skipped";
|
|
1704
|
-
payment_pending: "payment_pending";
|
|
1705
|
-
payment_failed: "payment_failed";
|
|
1706
1706
|
retry_scheduled: "retry_scheduled";
|
|
1707
1707
|
}>>;
|
|
1708
1708
|
nextCycleAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1722,10 +1722,10 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1722
1722
|
}, z.core.$strip>;
|
|
1723
1723
|
inventory: z.ZodObject<{
|
|
1724
1724
|
status: z.ZodEnum<{
|
|
1725
|
+
missing: "missing";
|
|
1725
1726
|
expired: "expired";
|
|
1726
1727
|
not_checked: "not_checked";
|
|
1727
1728
|
reserved: "reserved";
|
|
1728
|
-
missing: "missing";
|
|
1729
1729
|
released: "released";
|
|
1730
1730
|
consumed: "consumed";
|
|
1731
1731
|
review_required: "review_required";
|
|
@@ -1744,15 +1744,15 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1744
1744
|
fulfillment: z.ZodObject<{
|
|
1745
1745
|
fulfillmentOrderId: z.ZodNullable<z.ZodGUID>;
|
|
1746
1746
|
status: z.ZodNullable<z.ZodEnum<{
|
|
1747
|
-
created: "created";
|
|
1748
1747
|
cancelled: "cancelled";
|
|
1749
1748
|
delivered: "delivered";
|
|
1749
|
+
exception: "exception";
|
|
1750
|
+
created: "created";
|
|
1750
1751
|
packed: "packed";
|
|
1751
1752
|
label_pending: "label_pending";
|
|
1752
1753
|
label_created: "label_created";
|
|
1753
1754
|
handed_over: "handed_over";
|
|
1754
1755
|
in_transit: "in_transit";
|
|
1755
|
-
exception: "exception";
|
|
1756
1756
|
}>>;
|
|
1757
1757
|
providerKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1758
1758
|
latestOperationType: z.ZodNullable<z.ZodString>;
|
|
@@ -1774,13 +1774,13 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1774
1774
|
label: z.ZodString;
|
|
1775
1775
|
occurredAt: z.ZodNullable<z.ZodString>;
|
|
1776
1776
|
source: z.ZodEnum<{
|
|
1777
|
-
provider: "provider";
|
|
1778
1777
|
webhook: "webhook";
|
|
1779
1778
|
reconciliation: "reconciliation";
|
|
1780
1779
|
manual: "manual";
|
|
1781
1780
|
simulator: "simulator";
|
|
1782
1781
|
fulfillment: "fulfillment";
|
|
1783
1782
|
dispatch: "dispatch";
|
|
1783
|
+
provider: "provider";
|
|
1784
1784
|
}>;
|
|
1785
1785
|
}, z.core.$strict>>>;
|
|
1786
1786
|
providerEvidence: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1806,15 +1806,15 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1806
1806
|
fulfillmentOrderId: z.ZodGUID;
|
|
1807
1807
|
sequenceNo: z.ZodNumber;
|
|
1808
1808
|
status: z.ZodNullable<z.ZodEnum<{
|
|
1809
|
-
created: "created";
|
|
1810
1809
|
cancelled: "cancelled";
|
|
1811
1810
|
delivered: "delivered";
|
|
1811
|
+
exception: "exception";
|
|
1812
|
+
created: "created";
|
|
1812
1813
|
packed: "packed";
|
|
1813
1814
|
label_pending: "label_pending";
|
|
1814
1815
|
label_created: "label_created";
|
|
1815
1816
|
handed_over: "handed_over";
|
|
1816
1817
|
in_transit: "in_transit";
|
|
1817
|
-
exception: "exception";
|
|
1818
1818
|
}>>;
|
|
1819
1819
|
replacementReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1820
1820
|
handedOverAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1871,10 +1871,11 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1871
1871
|
summary: z.ZodString;
|
|
1872
1872
|
severity: z.ZodEnum<{
|
|
1873
1873
|
ok: "ok";
|
|
1874
|
-
action_required: "action_required";
|
|
1875
1874
|
watch: "watch";
|
|
1875
|
+
action_required: "action_required";
|
|
1876
1876
|
}>;
|
|
1877
1877
|
nextAction: z.ZodEnum<{
|
|
1878
|
+
contact_support: "contact_support";
|
|
1878
1879
|
review_payment: "review_payment";
|
|
1879
1880
|
create_fulfillment: "create_fulfillment";
|
|
1880
1881
|
wait: "wait";
|
|
@@ -1882,26 +1883,25 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
1882
1883
|
reconcile: "reconcile";
|
|
1883
1884
|
review_stock: "review_stock";
|
|
1884
1885
|
review_provider: "review_provider";
|
|
1885
|
-
contact_support: "contact_support";
|
|
1886
1886
|
}>;
|
|
1887
1887
|
blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1888
1888
|
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1889
1889
|
key: z.ZodEnum<{
|
|
1890
|
-
stock: "stock";
|
|
1891
|
-
payment: "payment";
|
|
1892
|
-
provider: "provider";
|
|
1893
1890
|
fulfillment: "fulfillment";
|
|
1894
1891
|
dispatch: "dispatch";
|
|
1892
|
+
provider: "provider";
|
|
1893
|
+
payment: "payment";
|
|
1894
|
+
stock: "stock";
|
|
1895
1895
|
provider_stock: "provider_stock";
|
|
1896
1896
|
tracking: "tracking";
|
|
1897
1897
|
communication: "communication";
|
|
1898
1898
|
}>;
|
|
1899
1899
|
status: z.ZodEnum<{
|
|
1900
|
-
ok: "ok";
|
|
1901
1900
|
missing: "missing";
|
|
1902
|
-
pending: "pending";
|
|
1903
1901
|
blocked: "blocked";
|
|
1902
|
+
pending: "pending";
|
|
1904
1903
|
warning: "warning";
|
|
1904
|
+
ok: "ok";
|
|
1905
1905
|
}>;
|
|
1906
1906
|
label: z.ZodString;
|
|
1907
1907
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -2019,13 +2019,13 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
2019
2019
|
intentId: z.ZodNullable<z.ZodGUID>;
|
|
2020
2020
|
paymentId: z.ZodNullable<z.ZodGUID>;
|
|
2021
2021
|
status: z.ZodEnum<{
|
|
2022
|
-
|
|
2023
|
-
created: "created";
|
|
2022
|
+
requires_action: "requires_action";
|
|
2024
2023
|
failed: "failed";
|
|
2025
2024
|
cancelled: "cancelled";
|
|
2025
|
+
created: "created";
|
|
2026
|
+
expired: "expired";
|
|
2026
2027
|
refunded: "refunded";
|
|
2027
2028
|
not_started: "not_started";
|
|
2028
|
-
requires_action: "requires_action";
|
|
2029
2029
|
processing: "processing";
|
|
2030
2030
|
partially_refunded: "partially_refunded";
|
|
2031
2031
|
disputed: "disputed";
|
|
@@ -2038,14 +2038,14 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
2038
2038
|
paymentAttempts: z.ZodArray<z.ZodObject<{
|
|
2039
2039
|
id: z.ZodGUID;
|
|
2040
2040
|
status: z.ZodEnum<{
|
|
2041
|
-
|
|
2042
|
-
|
|
2041
|
+
requires_action: "requires_action";
|
|
2042
|
+
blocked_preflight: "blocked_preflight";
|
|
2043
2043
|
failed: "failed";
|
|
2044
2044
|
cancelled: "cancelled";
|
|
2045
|
-
|
|
2045
|
+
created: "created";
|
|
2046
|
+
expired: "expired";
|
|
2046
2047
|
processing: "processing";
|
|
2047
2048
|
succeeded: "succeeded";
|
|
2048
|
-
blocked_preflight: "blocked_preflight";
|
|
2049
2049
|
sent_to_provider: "sent_to_provider";
|
|
2050
2050
|
}>;
|
|
2051
2051
|
provider: z.ZodString;
|
|
@@ -2071,17 +2071,17 @@ export declare const adminCommerceOrderDetailResponseSchema: z.ZodObject<{
|
|
|
2071
2071
|
aggregateId: z.ZodNullable<z.ZodString>;
|
|
2072
2072
|
dedupeKey: z.ZodString;
|
|
2073
2073
|
status: z.ZodEnum<{
|
|
2074
|
+
blocked: "blocked";
|
|
2074
2075
|
failed: "failed";
|
|
2075
|
-
processing: "processing";
|
|
2076
2076
|
delivered: "delivered";
|
|
2077
|
+
bounced: "bounced";
|
|
2078
|
+
complained: "complained";
|
|
2079
|
+
processing: "processing";
|
|
2077
2080
|
planned: "planned";
|
|
2078
2081
|
skipped: "skipped";
|
|
2079
|
-
blocked: "blocked";
|
|
2080
2082
|
queued: "queued";
|
|
2081
2083
|
sent: "sent";
|
|
2082
2084
|
delivery_delayed: "delivery_delayed";
|
|
2083
|
-
bounced: "bounced";
|
|
2084
|
-
complained: "complained";
|
|
2085
2085
|
missed: "missed";
|
|
2086
2086
|
legacy_unlinked: "legacy_unlinked";
|
|
2087
2087
|
}>;
|
|
@@ -2153,8 +2153,8 @@ export declare const adminCommerceOrderNoteResponseSchema: z.ZodObject<{
|
|
|
2153
2153
|
export declare const adminCommerceOrderUpdateShippingAddressResponseSchema: z.ZodObject<{
|
|
2154
2154
|
contractVersion: z.ZodLiteral<"commerce.v0">;
|
|
2155
2155
|
result: z.ZodEnum<{
|
|
2156
|
-
replayed: "replayed";
|
|
2157
2156
|
applied: "applied";
|
|
2157
|
+
replayed: "replayed";
|
|
2158
2158
|
}>;
|
|
2159
2159
|
scope: z.ZodEnum<{
|
|
2160
2160
|
order: "order";
|
|
@@ -2232,10 +2232,10 @@ export declare const adminCommerceOrderRequestReplacementShipmentResponseSchema:
|
|
|
2232
2232
|
sequenceNo: z.ZodNumber;
|
|
2233
2233
|
replacesFulfillmentOrderId: z.ZodString;
|
|
2234
2234
|
reason: z.ZodEnum<{
|
|
2235
|
-
other: "other";
|
|
2236
2235
|
damaged: "damaged";
|
|
2237
2236
|
lost: "lost";
|
|
2238
2237
|
returned_undelivered: "returned_undelivered";
|
|
2238
|
+
other: "other";
|
|
2239
2239
|
}>;
|
|
2240
2240
|
status: z.ZodString;
|
|
2241
2241
|
}, z.core.$strip>;
|
|
@@ -2252,13 +2252,13 @@ export declare const adminCommerceOrderMarkRefundedResponseSchema: z.ZodObject<{
|
|
|
2252
2252
|
contractVersion: z.ZodLiteral<"commerce.v0">;
|
|
2253
2253
|
orderId: z.ZodGUID;
|
|
2254
2254
|
status: z.ZodEnum<{
|
|
2255
|
+
failed: "failed";
|
|
2256
|
+
cancelled: "cancelled";
|
|
2257
|
+
paid: "paid";
|
|
2258
|
+
pending_payment: "pending_payment";
|
|
2255
2259
|
draft: "draft";
|
|
2256
2260
|
expired: "expired";
|
|
2257
|
-
pending_payment: "pending_payment";
|
|
2258
|
-
paid: "paid";
|
|
2259
|
-
failed: "failed";
|
|
2260
2261
|
fulfillment_pending: "fulfillment_pending";
|
|
2261
|
-
cancelled: "cancelled";
|
|
2262
2262
|
fulfilled: "fulfilled";
|
|
2263
2263
|
refunded: "refunded";
|
|
2264
2264
|
}>;
|