@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
|
@@ -13,18 +13,18 @@ export declare const checkoutActivationStatusSchema: z.ZodEnum<{
|
|
|
13
13
|
export declare const ASYNC_CHECKOUT_STATUSES: readonly ["pending_provider_action", "requires_action", "processing", "paid", "failed", "expired"];
|
|
14
14
|
export type AsyncCheckoutStatus = (typeof ASYNC_CHECKOUT_STATUSES)[number];
|
|
15
15
|
export declare const asyncCheckoutStatusSchema: z.ZodEnum<{
|
|
16
|
-
expired: "expired";
|
|
17
|
-
paid: "paid";
|
|
18
|
-
failed: "failed";
|
|
19
16
|
requires_action: "requires_action";
|
|
17
|
+
failed: "failed";
|
|
18
|
+
paid: "paid";
|
|
19
|
+
expired: "expired";
|
|
20
20
|
processing: "processing";
|
|
21
21
|
pending_provider_action: "pending_provider_action";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const subscriptionActivationStatusSchema: z.ZodEnum<{
|
|
24
24
|
active: "active";
|
|
25
|
+
action_required: "action_required";
|
|
25
26
|
not_applicable: "not_applicable";
|
|
26
27
|
waiting_for_mandate: "waiting_for_mandate";
|
|
27
|
-
action_required: "action_required";
|
|
28
28
|
}>;
|
|
29
29
|
export declare const invoiceBuyerSnapshotAddressCoreSchema: z.ZodObject<{
|
|
30
30
|
line1: z.ZodString;
|
|
@@ -37,8 +37,8 @@ export declare const invoiceBuyerSnapshotAddressCoreSchema: z.ZodObject<{
|
|
|
37
37
|
export declare const checkoutRequestCoreSchema: z.ZodObject<{
|
|
38
38
|
paymentAttemptSequence: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
returnContext: z.ZodDefault<z.ZodEnum<{
|
|
40
|
-
public: "public";
|
|
41
40
|
account: "account";
|
|
41
|
+
public: "public";
|
|
42
42
|
}>>;
|
|
43
43
|
}, z.core.$strict>;
|
|
44
44
|
/** Host composes fiscal, action and acquisition schemas over neutral checkout fields. */
|
|
@@ -59,10 +59,10 @@ export declare function createCheckoutResponseSchemas<Quote extends z.ZodType, E
|
|
|
59
59
|
orderRef: z.ZodString;
|
|
60
60
|
orderId: z.ZodGUID;
|
|
61
61
|
status: z.ZodEnum<{
|
|
62
|
-
expired: "expired";
|
|
63
|
-
paid: "paid";
|
|
64
|
-
failed: "failed";
|
|
65
62
|
requires_action: "requires_action";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
paid: "paid";
|
|
65
|
+
expired: "expired";
|
|
66
66
|
processing: "processing";
|
|
67
67
|
pending_provider_action: "pending_provider_action";
|
|
68
68
|
}>;
|
|
@@ -108,10 +108,10 @@ export declare function createCheckoutResponseSchemas<Quote extends z.ZodType, E
|
|
|
108
108
|
orderId: z.ZodGUID;
|
|
109
109
|
paymentIntentId: z.ZodGUID;
|
|
110
110
|
status: z.ZodEnum<{
|
|
111
|
-
expired: "expired";
|
|
112
|
-
paid: "paid";
|
|
113
|
-
failed: "failed";
|
|
114
111
|
requires_action: "requires_action";
|
|
112
|
+
failed: "failed";
|
|
113
|
+
paid: "paid";
|
|
114
|
+
expired: "expired";
|
|
115
115
|
processing: "processing";
|
|
116
116
|
pending_provider_action: "pending_provider_action";
|
|
117
117
|
}>;
|
|
@@ -129,9 +129,9 @@ export declare function createCheckoutResponseSchemas<Quote extends z.ZodType, E
|
|
|
129
129
|
subscriptionActivation: z.ZodObject<{
|
|
130
130
|
status: z.ZodEnum<{
|
|
131
131
|
active: "active";
|
|
132
|
+
action_required: "action_required";
|
|
132
133
|
not_applicable: "not_applicable";
|
|
133
134
|
waiting_for_mandate: "waiting_for_mandate";
|
|
134
|
-
action_required: "action_required";
|
|
135
135
|
}>;
|
|
136
136
|
subscriptionId: z.ZodNullable<z.ZodGUID>;
|
|
137
137
|
}, z.core.$strict>;
|
|
@@ -34,8 +34,8 @@ export declare const returnRequestCreateSchema: z.ZodObject<{
|
|
|
34
34
|
idempotencyKey: z.ZodString;
|
|
35
35
|
orderId: z.ZodGUID;
|
|
36
36
|
reasonCode: z.ZodEnum<{
|
|
37
|
-
other: "other";
|
|
38
37
|
damaged: "damaged";
|
|
38
|
+
other: "other";
|
|
39
39
|
wrong_item: "wrong_item";
|
|
40
40
|
not_as_described: "not_as_described";
|
|
41
41
|
changed_mind: "changed_mind";
|
|
@@ -57,9 +57,9 @@ export declare const returnApproveSchema: z.ZodObject<{
|
|
|
57
57
|
idempotencyKey: z.ZodString;
|
|
58
58
|
returnRequestId: z.ZodGUID;
|
|
59
59
|
refundMode: z.ZodDefault<z.ZodEnum<{
|
|
60
|
+
none: "none";
|
|
60
61
|
partial: "partial";
|
|
61
62
|
full: "full";
|
|
62
|
-
none: "none";
|
|
63
63
|
}>>;
|
|
64
64
|
refundAmountCents: z.ZodOptional<z.ZodNumber>;
|
|
65
65
|
adminNote: z.ZodOptional<z.ZodString>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CONFIGURATOR_INTENT_VERSION = "commerce.configurator_intent.v1";
|
|
3
3
|
export declare const configuratorModeSchema: z.ZodEnum<{
|
|
4
|
-
subscription: "subscription";
|
|
5
4
|
one_time: "one_time";
|
|
5
|
+
subscription: "subscription";
|
|
6
6
|
}>;
|
|
7
7
|
export declare const configuratorContactSchema: z.ZodObject<{
|
|
8
8
|
firstName: z.ZodString;
|
|
@@ -26,8 +26,8 @@ export declare function createConfiguratorIntentSchemas(skuSchema: z.ZodType<str
|
|
|
26
26
|
version: z.ZodLiteral<"commerce.configurator_intent.v1">;
|
|
27
27
|
idempotencyKey: z.ZodString;
|
|
28
28
|
mode: z.ZodEnum<{
|
|
29
|
-
subscription: "subscription";
|
|
30
29
|
one_time: "one_time";
|
|
30
|
+
subscription: "subscription";
|
|
31
31
|
}>;
|
|
32
32
|
cadenceDays: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
promoCodes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -3,31 +3,31 @@ export declare const cartStatusSchema: z.ZodEnum<{
|
|
|
3
3
|
draft: "draft";
|
|
4
4
|
}>;
|
|
5
5
|
export declare const checkoutStatusSchema: z.ZodEnum<{
|
|
6
|
-
expired: "expired";
|
|
7
6
|
not_configured: "not_configured";
|
|
8
7
|
created: "created";
|
|
8
|
+
expired: "expired";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const orderDraftStatusSchema: z.ZodEnum<{
|
|
11
11
|
draft: "draft";
|
|
12
12
|
}>;
|
|
13
13
|
export declare const orderStatusSchema: z.ZodEnum<{
|
|
14
|
+
failed: "failed";
|
|
15
|
+
cancelled: "cancelled";
|
|
16
|
+
paid: "paid";
|
|
17
|
+
pending_payment: "pending_payment";
|
|
14
18
|
draft: "draft";
|
|
15
19
|
expired: "expired";
|
|
16
|
-
pending_payment: "pending_payment";
|
|
17
|
-
paid: "paid";
|
|
18
|
-
failed: "failed";
|
|
19
20
|
fulfillment_pending: "fulfillment_pending";
|
|
20
|
-
cancelled: "cancelled";
|
|
21
21
|
fulfilled: "fulfilled";
|
|
22
22
|
refunded: "refunded";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const paymentStatusSchema: z.ZodEnum<{
|
|
25
|
-
|
|
26
|
-
paid: "paid";
|
|
25
|
+
requires_action: "requires_action";
|
|
27
26
|
failed: "failed";
|
|
27
|
+
paid: "paid";
|
|
28
|
+
expired: "expired";
|
|
28
29
|
refunded: "refunded";
|
|
29
30
|
not_started: "not_started";
|
|
30
|
-
requires_action: "requires_action";
|
|
31
31
|
processing: "processing";
|
|
32
32
|
partially_refunded: "partially_refunded";
|
|
33
33
|
disputed: "disputed";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CUSTOMER_DEFAULTS_SNAPSHOT_VERSION = "commerce.customer_defaults_snapshot.v1";
|
|
3
3
|
export declare const commerceCustomerDefaultsRedactedFieldSchema: z.ZodEnum<{
|
|
4
|
-
delivery_notes: "delivery_notes";
|
|
5
|
-
courier_instructions: "courier_instructions";
|
|
6
4
|
contact: "contact";
|
|
7
5
|
orderer_profile: "orderer_profile";
|
|
8
6
|
shipping_address: "shipping_address";
|
|
9
7
|
billing_address: "billing_address";
|
|
8
|
+
delivery_notes: "delivery_notes";
|
|
9
|
+
courier_instructions: "courier_instructions";
|
|
10
10
|
payment_provider: "payment_provider";
|
|
11
11
|
payment_secret: "payment_secret";
|
|
12
12
|
}>;
|
|
@@ -38,12 +38,12 @@ export declare function createCustomerDefaultsSnapshotSchemas<Scope extends z.Zo
|
|
|
38
38
|
applied: z.ZodLiteral<false>;
|
|
39
39
|
}, z.core.$strict>;
|
|
40
40
|
redactedFields: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
41
|
-
delivery_notes: "delivery_notes";
|
|
42
|
-
courier_instructions: "courier_instructions";
|
|
43
41
|
contact: "contact";
|
|
44
42
|
orderer_profile: "orderer_profile";
|
|
45
43
|
shipping_address: "shipping_address";
|
|
46
44
|
billing_address: "billing_address";
|
|
45
|
+
delivery_notes: "delivery_notes";
|
|
46
|
+
courier_instructions: "courier_instructions";
|
|
47
47
|
payment_provider: "payment_provider";
|
|
48
48
|
payment_secret: "payment_secret";
|
|
49
49
|
}>>>;
|
|
@@ -54,7 +54,7 @@ export declare function baseOrder(input: {
|
|
|
54
54
|
orderItems?: OmsOrderItemRow[];
|
|
55
55
|
orderMoney?: CanonicalOrderMoney;
|
|
56
56
|
}): {
|
|
57
|
-
status: "
|
|
57
|
+
status: "failed" | "cancelled" | "paid" | "pending_payment" | "draft" | "expired" | "fulfillment_pending" | "fulfilled" | "refunded";
|
|
58
58
|
mode: "one_time" | "subscription_cycle";
|
|
59
59
|
sourceKind: string | undefined;
|
|
60
60
|
sourceChannelSlug: string | undefined;
|
|
@@ -62,9 +62,9 @@ export declare function baseOrder(input: {
|
|
|
62
62
|
paymentMethodLabel: string | null;
|
|
63
63
|
paymentProvider: string | null;
|
|
64
64
|
paymentStatus: OmsOrderPaymentStatus;
|
|
65
|
-
fulfillmentStatus: "
|
|
66
|
-
customerFulfillmentStep: "
|
|
67
|
-
inventoryStatus: "
|
|
65
|
+
fulfillmentStatus: "cancelled" | "delivered" | "exception" | "created" | "packed" | "label_pending" | "label_created" | "handed_over" | "in_transit" | null;
|
|
66
|
+
customerFulfillmentStep: "accepted" | "cancelled" | "paid" | "packing" | "transit" | "delivered" | "exception";
|
|
67
|
+
inventoryStatus: "missing" | "expired" | "not_checked" | "reserved" | "released" | "consumed" | "review_required";
|
|
68
68
|
accountingStatus: string;
|
|
69
69
|
providerOpsStatus: string;
|
|
70
70
|
providerOpsSla: {
|
|
@@ -15,8 +15,8 @@ export declare function createOfferAvailabilitySchemas(catalogProductSlugSchema:
|
|
|
15
15
|
variantId: z.ZodString;
|
|
16
16
|
requestedQuantity: z.ZodDefault<z.ZodNumber>;
|
|
17
17
|
checkoutMode: z.ZodDefault<z.ZodEnum<{
|
|
18
|
-
subscription: "subscription";
|
|
19
18
|
one_time: "one_time";
|
|
19
|
+
subscription: "subscription";
|
|
20
20
|
}>>;
|
|
21
21
|
}, z.core.$strict>;
|
|
22
22
|
commerceOfferAvailabilitySchema: z.ZodObject<{
|
|
@@ -4,36 +4,36 @@ export declare const commerceOrderModeSchema: z.ZodEnum<{
|
|
|
4
4
|
subscription_cycle: "subscription_cycle";
|
|
5
5
|
}>;
|
|
6
6
|
export declare const omsPaymentStatusSchema: z.ZodEnum<{
|
|
7
|
-
|
|
8
|
-
created: "created";
|
|
7
|
+
requires_action: "requires_action";
|
|
9
8
|
failed: "failed";
|
|
10
9
|
cancelled: "cancelled";
|
|
10
|
+
created: "created";
|
|
11
|
+
expired: "expired";
|
|
11
12
|
refunded: "refunded";
|
|
12
13
|
not_started: "not_started";
|
|
13
|
-
requires_action: "requires_action";
|
|
14
14
|
processing: "processing";
|
|
15
15
|
partially_refunded: "partially_refunded";
|
|
16
16
|
disputed: "disputed";
|
|
17
17
|
succeeded: "succeeded";
|
|
18
18
|
}>;
|
|
19
19
|
export declare const omsPaymentAttemptStatusSchema: z.ZodEnum<{
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
requires_action: "requires_action";
|
|
21
|
+
blocked_preflight: "blocked_preflight";
|
|
22
22
|
failed: "failed";
|
|
23
23
|
cancelled: "cancelled";
|
|
24
|
-
|
|
24
|
+
created: "created";
|
|
25
|
+
expired: "expired";
|
|
25
26
|
processing: "processing";
|
|
26
27
|
succeeded: "succeeded";
|
|
27
|
-
blocked_preflight: "blocked_preflight";
|
|
28
28
|
sent_to_provider: "sent_to_provider";
|
|
29
29
|
}>;
|
|
30
30
|
export declare const omsSubscriptionCycleStatusSchema: z.ZodEnum<{
|
|
31
|
-
|
|
31
|
+
payment_pending: "payment_pending";
|
|
32
32
|
cancelled: "cancelled";
|
|
33
|
+
paid: "paid";
|
|
34
|
+
payment_failed: "payment_failed";
|
|
33
35
|
planned: "planned";
|
|
34
36
|
skipped: "skipped";
|
|
35
|
-
payment_pending: "payment_pending";
|
|
36
|
-
payment_failed: "payment_failed";
|
|
37
37
|
retry_scheduled: "retry_scheduled";
|
|
38
38
|
}>;
|
|
39
39
|
export declare const omsHoldReasonSchema: z.ZodEnum<{
|
|
@@ -68,35 +68,35 @@ export declare const omsFulfillmentBlockReasonSchema: z.ZodEnum<{
|
|
|
68
68
|
risk_review: "risk_review";
|
|
69
69
|
}>;
|
|
70
70
|
export declare const omsInventoryStatusSchema: z.ZodEnum<{
|
|
71
|
+
missing: "missing";
|
|
71
72
|
expired: "expired";
|
|
72
73
|
not_checked: "not_checked";
|
|
73
74
|
reserved: "reserved";
|
|
74
|
-
missing: "missing";
|
|
75
75
|
released: "released";
|
|
76
76
|
consumed: "consumed";
|
|
77
77
|
review_required: "review_required";
|
|
78
78
|
}>;
|
|
79
79
|
export declare const omsFulfillmentStatusSchema: z.ZodEnum<{
|
|
80
|
-
created: "created";
|
|
81
80
|
cancelled: "cancelled";
|
|
82
81
|
delivered: "delivered";
|
|
82
|
+
exception: "exception";
|
|
83
|
+
created: "created";
|
|
83
84
|
packed: "packed";
|
|
84
85
|
label_pending: "label_pending";
|
|
85
86
|
label_created: "label_created";
|
|
86
87
|
handed_over: "handed_over";
|
|
87
88
|
in_transit: "in_transit";
|
|
88
|
-
exception: "exception";
|
|
89
89
|
}>;
|
|
90
90
|
export declare const omsAccountingStatusSchema: z.ZodString;
|
|
91
91
|
export declare const omsAttentionReasonSchema: z.ZodEnum<{
|
|
92
|
+
fulfillment_blocked: "fulfillment_blocked";
|
|
93
|
+
none: "none";
|
|
92
94
|
fulfillment_pending: "fulfillment_pending";
|
|
93
95
|
active_hold: "active_hold";
|
|
94
96
|
missing_shipping_address: "missing_shipping_address";
|
|
95
|
-
none: "none";
|
|
96
97
|
fulfillment_exception: "fulfillment_exception";
|
|
97
98
|
payment_required: "payment_required";
|
|
98
99
|
inventory_missing: "inventory_missing";
|
|
99
|
-
fulfillment_blocked: "fulfillment_blocked";
|
|
100
100
|
invoice_missing: "invoice_missing";
|
|
101
101
|
invoice_issue_failed: "invoice_issue_failed";
|
|
102
102
|
invoice_buyer_data_invalid: "invoice_buyer_data_invalid";
|
|
@@ -27,17 +27,17 @@ export declare const omsPricingSummarySchema: z.ZodObject<{
|
|
|
27
27
|
source: z.ZodLiteral<"order_columns">;
|
|
28
28
|
}, z.core.$strict>;
|
|
29
29
|
export declare const omsCommunicationDeliveryStatusSchema: z.ZodEnum<{
|
|
30
|
+
blocked: "blocked";
|
|
30
31
|
failed: "failed";
|
|
31
|
-
processing: "processing";
|
|
32
32
|
delivered: "delivered";
|
|
33
|
+
bounced: "bounced";
|
|
34
|
+
complained: "complained";
|
|
35
|
+
processing: "processing";
|
|
33
36
|
planned: "planned";
|
|
34
37
|
skipped: "skipped";
|
|
35
|
-
blocked: "blocked";
|
|
36
38
|
queued: "queued";
|
|
37
39
|
sent: "sent";
|
|
38
40
|
delivery_delayed: "delivery_delayed";
|
|
39
|
-
bounced: "bounced";
|
|
40
|
-
complained: "complained";
|
|
41
41
|
missed: "missed";
|
|
42
42
|
legacy_unlinked: "legacy_unlinked";
|
|
43
43
|
}>;
|
|
@@ -51,17 +51,17 @@ export declare const omsCommunicationDeliverySchema: z.ZodObject<{
|
|
|
51
51
|
aggregateId: z.ZodNullable<z.ZodString>;
|
|
52
52
|
dedupeKey: z.ZodString;
|
|
53
53
|
status: z.ZodEnum<{
|
|
54
|
+
blocked: "blocked";
|
|
54
55
|
failed: "failed";
|
|
55
|
-
processing: "processing";
|
|
56
56
|
delivered: "delivered";
|
|
57
|
+
bounced: "bounced";
|
|
58
|
+
complained: "complained";
|
|
59
|
+
processing: "processing";
|
|
57
60
|
planned: "planned";
|
|
58
61
|
skipped: "skipped";
|
|
59
|
-
blocked: "blocked";
|
|
60
62
|
queued: "queued";
|
|
61
63
|
sent: "sent";
|
|
62
64
|
delivery_delayed: "delivery_delayed";
|
|
63
|
-
bounced: "bounced";
|
|
64
|
-
complained: "complained";
|
|
65
65
|
missed: "missed";
|
|
66
66
|
legacy_unlinked: "legacy_unlinked";
|
|
67
67
|
}>;
|
|
@@ -84,8 +84,8 @@ export declare const omsCommunicationDeliverySchema: z.ZodObject<{
|
|
|
84
84
|
}, z.core.$strict>;
|
|
85
85
|
export declare const omsDeliverySelectionSchema: z.ZodObject<{
|
|
86
86
|
deliveryKind: z.ZodEnum<{
|
|
87
|
-
"parcel-locker": "parcel-locker";
|
|
88
87
|
courier: "courier";
|
|
88
|
+
"parcel-locker": "parcel-locker";
|
|
89
89
|
}>;
|
|
90
90
|
providerKind: z.ZodNullable<z.ZodString>;
|
|
91
91
|
carrierKind: z.ZodNullable<z.ZodString>;
|
|
@@ -208,10 +208,10 @@ export declare const omsDeliveryContactProjectionSchema: z.ZodObject<{
|
|
|
208
208
|
frozen: z.ZodBoolean;
|
|
209
209
|
providerSubmissionState: z.ZodEnum<{
|
|
210
210
|
unknown: "unknown";
|
|
211
|
-
draft: "draft";
|
|
212
|
-
created: "created";
|
|
213
211
|
failed: "failed";
|
|
214
212
|
cancelled: "cancelled";
|
|
213
|
+
draft: "draft";
|
|
214
|
+
created: "created";
|
|
215
215
|
not_started: "not_started";
|
|
216
216
|
not_materialized: "not_materialized";
|
|
217
217
|
submitting: "submitting";
|