@leaflow/sdk 0.113.0 → 0.114.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/dist/billing/v1/generated/models.d.ts +2 -0
- package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -0
- package/dist/billing/v1/generated/validators/cancellationItem.zod.js +4 -0
- package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -0
- package/package.json +1 -1
|
@@ -380,6 +380,8 @@ export interface CancellationItem {
|
|
|
380
380
|
*/
|
|
381
381
|
billing_type: CancellationItemBillingType;
|
|
382
382
|
status: CancellationItemStatus;
|
|
383
|
+
/** Execution stopped or its result is unknown. Present while release still requires resolution; it does not establish refund eligibility. */
|
|
384
|
+
failure_code?: string;
|
|
383
385
|
release_started_at?: string;
|
|
384
386
|
/** When the service ended, as confirmed by the service that provides it. */
|
|
385
387
|
effective_at?: string;
|
|
@@ -52,6 +52,7 @@ export declare const Cancellation: zod.ZodObject<{
|
|
|
52
52
|
releasing: "releasing";
|
|
53
53
|
canceled: "canceled";
|
|
54
54
|
}>;
|
|
55
|
+
failure_code: zod.ZodOptional<zod.ZodString>;
|
|
55
56
|
release_started_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
56
57
|
effective_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
57
58
|
balance_amount: zod.ZodOptional<zod.ZodString>;
|
|
@@ -24,6 +24,7 @@ export declare const CancellationItem: zod.ZodObject<{
|
|
|
24
24
|
releasing: "releasing";
|
|
25
25
|
canceled: "canceled";
|
|
26
26
|
}>;
|
|
27
|
+
failure_code: zod.ZodOptional<zod.ZodString>;
|
|
27
28
|
release_started_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
28
29
|
effective_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
29
30
|
balance_amount: zod.ZodOptional<zod.ZodString>;
|
|
@@ -19,6 +19,10 @@ export const CancellationItem = zod
|
|
|
19
19
|
.enum(["postpaid", "prepaid", "one_time"])
|
|
20
20
|
.describe("How the subscription is paid for. Only a `prepaid` subscription renews automatically; creating\nthe cancellation turned that off, and withdrawing the cancellation leaves it off."),
|
|
21
21
|
status: zod.enum(["requested", "scheduled", "releasing", "completed", "canceled", "failed"]),
|
|
22
|
+
failure_code: zod
|
|
23
|
+
.string()
|
|
24
|
+
.optional()
|
|
25
|
+
.describe("Execution stopped or its result is unknown. Present while release still requires resolution; it does not establish refund eligibility."),
|
|
22
26
|
release_started_at: zod.iso.datetime({ offset: true }).optional(),
|
|
23
27
|
effective_at: zod.iso
|
|
24
28
|
.datetime({ offset: true })
|
|
@@ -53,6 +53,7 @@ export declare const CancellationList: zod.ZodObject<{
|
|
|
53
53
|
releasing: "releasing";
|
|
54
54
|
canceled: "canceled";
|
|
55
55
|
}>;
|
|
56
|
+
failure_code: zod.ZodOptional<zod.ZodString>;
|
|
56
57
|
release_started_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
57
58
|
effective_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
58
59
|
balance_amount: zod.ZodOptional<zod.ZodString>;
|