@aventurevc/api-schemas 0.8.135 → 0.8.136
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.
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingSubscriptionMutationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
cancelAtPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
type BillingSubscriptionMutationDefinition = z.infer<typeof BillingSubscriptionMutationSchemaDefinition>;
|
|
6
|
+
export interface BillingSubscriptionMutationSchemaInput extends z.input<typeof BillingSubscriptionMutationSchemaDefinition> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end or resume it.
|
|
10
|
+
*
|
|
11
|
+
* @openapiSchema BillingSubscriptionMutation
|
|
12
|
+
* @endpoint PATCH /v1/billing/subscription
|
|
13
|
+
* @contractShape billing.subscription-mutation
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export declare const BillingSubscriptionMutationSchema: z.ZodType<BillingSubscriptionMutationDefinition, BillingSubscriptionMutationSchemaInput>;
|
|
17
|
+
export type BillingSubscriptionMutation = z.infer<typeof BillingSubscriptionMutationSchema>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=subscription-mutation.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
const BillingSubscriptionMutationSchemaDefinition = z.object({
|
|
4
|
+
/** true ends the subscription at the current period end and drops a scheduled plan change; false resumes it and restores the plan change scheduled before the cancellation. Omit to change nothing. */
|
|
5
|
+
cancelAtPeriodEnd: z.boolean().nullish(),
|
|
6
|
+
});
|
|
7
|
+
/**
|
|
8
|
+
* Merge patch of a continuing AI Plus or AI Pro subscription: cancel it at the period end or resume it.
|
|
9
|
+
*
|
|
10
|
+
* @openapiSchema BillingSubscriptionMutation
|
|
11
|
+
* @endpoint PATCH /v1/billing/subscription
|
|
12
|
+
* @contractShape billing.subscription-mutation
|
|
13
|
+
* @contractRole canonical
|
|
14
|
+
*/
|
|
15
|
+
export const BillingSubscriptionMutationSchema = BillingSubscriptionMutationSchemaDefinition;
|
|
16
|
+
//# sourceMappingURL=subscription-mutation.js.map
|
|
@@ -114,6 +114,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
114
114
|
modulePath: "billing/subscription",
|
|
115
115
|
schemaName: "BillingSubscriptionSchema",
|
|
116
116
|
},
|
|
117
|
+
BillingSubscriptionMutation: {
|
|
118
|
+
modulePath: "billing/subscription-mutation",
|
|
119
|
+
schemaName: "BillingSubscriptionMutationSchema",
|
|
120
|
+
},
|
|
117
121
|
BlogPost: { modulePath: "blog/post", schemaName: "BlogPostSchema" },
|
|
118
122
|
BlogPostType: { modulePath: "blog/post-type", schemaName: "BlogPostTypeSchema" },
|
|
119
123
|
ChartBucket: { modulePath: "chart/bucket", schemaName: "ChartBucketSchema" },
|