@aventurevc/api-schemas 0.8.155 → 0.8.157
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/additional-usage-funding-type.d.ts +2 -0
- package/dist/billing/additional-usage-funding-type.js +2 -0
- package/dist/billing/additional-usage-meter.d.ts +1 -0
- package/dist/billing/additional-usage-meter.js +1 -0
- package/dist/billing/additional-usage-mutation.d.ts +25 -0
- package/dist/billing/additional-usage-mutation.js +22 -0
- package/dist/billing/additional-usage-type.d.ts +1 -0
- package/dist/billing/additional-usage-type.js +1 -0
- package/dist/billing/additional-usage.d.ts +1 -0
- package/dist/billing/additional-usage.js +2 -1
- package/dist/billing/credit-pack-type.d.ts +3 -0
- package/dist/billing/credit-pack-type.js +3 -0
- package/dist/billing/credit-purchase-confirmation.d.ts +22 -0
- package/dist/billing/credit-purchase-confirmation.js +18 -0
- package/dist/billing/credit-purchase-mutation.d.ts +24 -0
- package/dist/billing/credit-purchase-mutation.js +17 -0
- package/dist/billing/credit-purchase.d.ts +27 -0
- package/dist/billing/credit-purchase.js +19 -0
- package/dist/http/json-value.d.ts +4 -2
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +2 -0
- package/dist/openapi-component-manifest.js +16 -0
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@ import { z } from "zod/v4";
|
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema BillingAdditionalUsageFundingType
|
|
6
6
|
* @endpoint GET /v1/billing/subscription
|
|
7
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
8
|
+
* @usedBySchema BillingAdditionalUsageMutationSchema
|
|
7
9
|
* @usedBySchema BillingAdditionalUsageSchema
|
|
8
10
|
* @contractShape billing.additional-usage-funding-type
|
|
9
11
|
* @contractRole canonical
|
|
@@ -5,6 +5,8 @@ import { z } from "zod/v4";
|
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema BillingAdditionalUsageFundingType
|
|
7
7
|
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
9
|
+
* @usedBySchema BillingAdditionalUsageMutationSchema
|
|
8
10
|
* @usedBySchema BillingAdditionalUsageSchema
|
|
9
11
|
* @contractShape billing.additional-usage-funding-type
|
|
10
12
|
* @contractRole canonical
|
|
@@ -20,6 +20,7 @@ export interface BillingAdditionalUsageMeterSchemaInput extends z.input<typeof B
|
|
|
20
20
|
*
|
|
21
21
|
* @openapiSchema BillingAdditionalUsageMeter
|
|
22
22
|
* @endpoint GET /v1/billing/subscription
|
|
23
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
23
24
|
* @usedBySchema BillingAdditionalUsageSchema
|
|
24
25
|
* @contractShape billing.additional-usage-meter
|
|
25
26
|
* @contractRole canonical
|
|
@@ -12,6 +12,7 @@ const BillingAdditionalUsageMeterSchemaDefinition = z.object({
|
|
|
12
12
|
*
|
|
13
13
|
* @openapiSchema BillingAdditionalUsageMeter
|
|
14
14
|
* @endpoint GET /v1/billing/subscription
|
|
15
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
15
16
|
* @usedBySchema BillingAdditionalUsageSchema
|
|
16
17
|
* @contractShape billing.additional-usage-meter
|
|
17
18
|
* @contractRole canonical
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingAdditionalUsageMutationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
|
+
funding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
PREPAID_CREDIT: "PREPAID_CREDIT";
|
|
6
|
+
USAGE_INVOICE: "USAGE_INVOICE";
|
|
7
|
+
}>>>;
|
|
8
|
+
invoiceIncrementCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
spendCapCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type BillingAdditionalUsageMutationDefinition = z.infer<typeof BillingAdditionalUsageMutationSchemaDefinition>;
|
|
12
|
+
export interface BillingAdditionalUsageMutationSchemaInput extends z.input<typeof BillingAdditionalUsageMutationSchemaDefinition> {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Merge patch of the additional-usage settings. Enabling requires funding; USAGE_INVOICE also requires spendCapCents and invoiceIncrementCents.
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema BillingAdditionalUsageMutation
|
|
18
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
19
|
+
* @contractShape billing.additional-usage-mutation
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export declare const BillingAdditionalUsageMutationSchema: z.ZodType<BillingAdditionalUsageMutationDefinition, BillingAdditionalUsageMutationSchemaInput>;
|
|
23
|
+
export type BillingAdditionalUsageMutation = z.infer<typeof BillingAdditionalUsageMutationSchema>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=additional-usage-mutation.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { BillingAdditionalUsageFundingTypeSchema } from "./additional-usage-funding-type.js";
|
|
4
|
+
const BillingAdditionalUsageMutationSchemaDefinition = z.object({
|
|
5
|
+
/** Turn recording of usage past the monthly caps on or off. */
|
|
6
|
+
enabled: z.boolean().nullish(),
|
|
7
|
+
funding: BillingAdditionalUsageFundingTypeSchema.nullish(),
|
|
8
|
+
/** Unbilled cents that trigger a USAGE_INVOICE invoice; one of the plan catalog's invoiceIncrementCents. */
|
|
9
|
+
invoiceIncrementCents: z.number().int().nullish(),
|
|
10
|
+
/** Monthly spend cap in cents; required for USAGE_INVOICE. */
|
|
11
|
+
spendCapCents: z.number().int().nullish(),
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* Merge patch of the additional-usage settings. Enabling requires funding; USAGE_INVOICE also requires spendCapCents and invoiceIncrementCents.
|
|
15
|
+
*
|
|
16
|
+
* @openapiSchema BillingAdditionalUsageMutation
|
|
17
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
18
|
+
* @contractShape billing.additional-usage-mutation
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const BillingAdditionalUsageMutationSchema = BillingAdditionalUsageMutationSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=additional-usage-mutation.js.map
|
|
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
|
|
|
5
5
|
* @openapiSchema BillingAdditionalUsageType
|
|
6
6
|
* @endpoint GET /v1/billing/plans
|
|
7
7
|
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
8
9
|
* @usedBySchema BillingAdditionalUsageMeterSchema
|
|
9
10
|
* @usedBySchema BillingCatalogAdditionalUsageSchema
|
|
10
11
|
* @contractShape billing.additional-usage-type
|
|
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @openapiSchema BillingAdditionalUsageType
|
|
7
7
|
* @endpoint GET /v1/billing/plans
|
|
8
8
|
* @endpoint GET /v1/billing/subscription
|
|
9
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
9
10
|
* @usedBySchema BillingAdditionalUsageMeterSchema
|
|
10
11
|
* @usedBySchema BillingCatalogAdditionalUsageSchema
|
|
11
12
|
* @contractShape billing.additional-usage-type
|
|
@@ -30,6 +30,7 @@ export interface BillingAdditionalUsageSchemaInput extends z.input<typeof Billin
|
|
|
30
30
|
*
|
|
31
31
|
* @openapiSchema BillingAdditionalUsage
|
|
32
32
|
* @endpoint GET /v1/billing/subscription
|
|
33
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
33
34
|
* @usedBySchema BillingSubscriptionSchema
|
|
34
35
|
* @contractShape billing.additional-usage
|
|
35
36
|
* @contractRole canonical
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { BillingAdditionalUsageFundingTypeSchema } from "./additional-usage-funding-type.js";
|
|
4
4
|
import { BillingAdditionalUsageMeterSchema } from "./additional-usage-meter.js";
|
|
5
5
|
const BillingAdditionalUsageSchemaDefinition = z.object({
|
|
6
|
-
/**
|
|
6
|
+
/** Spendable prepaid credit after pending usage and invoice-line rounding reserves, in cents. */
|
|
7
7
|
availableCreditCents: z.number(),
|
|
8
8
|
/** True while a failed threshold invoice blocks additional usage; paying it in Billing Portal clears the block. */
|
|
9
9
|
blocked: z.boolean(),
|
|
@@ -27,6 +27,7 @@ const BillingAdditionalUsageSchemaDefinition = z.object({
|
|
|
27
27
|
*
|
|
28
28
|
* @openapiSchema BillingAdditionalUsage
|
|
29
29
|
* @endpoint GET /v1/billing/subscription
|
|
30
|
+
* @endpoint PATCH /v1/billing/additional-usage
|
|
30
31
|
* @usedBySchema BillingSubscriptionSchema
|
|
31
32
|
* @contractShape billing.additional-usage
|
|
32
33
|
* @contractRole canonical
|
|
@@ -4,7 +4,10 @@ import { z } from "zod/v4";
|
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema BillingCreditPackType
|
|
6
6
|
* @endpoint GET /v1/billing/plans
|
|
7
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
7
8
|
* @usedBySchema BillingCatalogCreditPackSchema
|
|
9
|
+
* @usedBySchema BillingCreditPurchaseMutationSchema
|
|
10
|
+
* @usedBySchema BillingCreditPurchaseSchema
|
|
8
11
|
* @contractShape billing.credit-pack-type
|
|
9
12
|
* @contractRole canonical
|
|
10
13
|
*/
|
|
@@ -5,7 +5,10 @@ import { z } from "zod/v4";
|
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema BillingCreditPackType
|
|
7
7
|
* @endpoint GET /v1/billing/plans
|
|
8
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
8
9
|
* @usedBySchema BillingCatalogCreditPackSchema
|
|
10
|
+
* @usedBySchema BillingCreditPurchaseMutationSchema
|
|
11
|
+
* @usedBySchema BillingCreditPurchaseSchema
|
|
9
12
|
* @contractShape billing.credit-pack-type
|
|
10
13
|
* @contractRole canonical
|
|
11
14
|
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCreditPurchaseConfirmationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
amountCents: z.ZodNumber;
|
|
4
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
6
|
+
id: z.ZodUUID;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
type BillingCreditPurchaseConfirmationDefinition = z.infer<typeof BillingCreditPurchaseConfirmationSchemaDefinition>;
|
|
9
|
+
export interface BillingCreditPurchaseConfirmationSchemaInput extends z.input<typeof BillingCreditPurchaseConfirmationSchemaDefinition> {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* One account-owned purchase's confirmed credit grant or checkout closure.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema BillingCreditPurchaseConfirmation
|
|
15
|
+
* @endpoint GET /v1/billing/credit-purchases/{purchaseId}
|
|
16
|
+
* @contractShape billing.credit-purchase-confirmation
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export declare const BillingCreditPurchaseConfirmationSchema: z.ZodType<BillingCreditPurchaseConfirmationDefinition, BillingCreditPurchaseConfirmationSchemaInput>;
|
|
20
|
+
export type BillingCreditPurchaseConfirmation = z.infer<typeof BillingCreditPurchaseConfirmationSchema>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=credit-purchase-confirmation.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
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 BillingCreditPurchaseConfirmationSchemaDefinition = z.object({
|
|
4
|
+
amountCents: z.number().int(),
|
|
5
|
+
closedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
6
|
+
grantedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
7
|
+
id: z.uuid(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* One account-owned purchase's confirmed credit grant or checkout closure.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema BillingCreditPurchaseConfirmation
|
|
13
|
+
* @endpoint GET /v1/billing/credit-purchases/{purchaseId}
|
|
14
|
+
* @contractShape billing.credit-purchase-confirmation
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
*/
|
|
17
|
+
export const BillingCreditPurchaseConfirmationSchema = BillingCreditPurchaseConfirmationSchemaDefinition;
|
|
18
|
+
//# sourceMappingURL=credit-purchase-confirmation.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCreditPurchaseMutationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
pack: z.ZodEnum<{
|
|
4
|
+
USD_100: "USD_100";
|
|
5
|
+
USD_25: "USD_25";
|
|
6
|
+
USD_250: "USD_250";
|
|
7
|
+
USD_50: "USD_50";
|
|
8
|
+
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type BillingCreditPurchaseMutationDefinition = z.infer<typeof BillingCreditPurchaseMutationSchemaDefinition>;
|
|
11
|
+
export interface BillingCreditPurchaseMutationSchemaInput extends z.input<typeof BillingCreditPurchaseMutationSchemaDefinition> {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Prepaid credit pack to buy through hosted Checkout.
|
|
15
|
+
*
|
|
16
|
+
* @openapiSchema BillingCreditPurchaseMutation
|
|
17
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
18
|
+
* @contractShape billing.credit-purchase-mutation
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export declare const BillingCreditPurchaseMutationSchema: z.ZodType<BillingCreditPurchaseMutationDefinition, BillingCreditPurchaseMutationSchemaInput>;
|
|
22
|
+
export type BillingCreditPurchaseMutation = z.infer<typeof BillingCreditPurchaseMutationSchema>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=credit-purchase-mutation.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
import { BillingCreditPackTypeSchema } from "./credit-pack-type.js";
|
|
4
|
+
const BillingCreditPurchaseMutationSchemaDefinition = z.object({
|
|
5
|
+
/** Credit pack to buy; its amount becomes prepaid credit. */
|
|
6
|
+
pack: BillingCreditPackTypeSchema,
|
|
7
|
+
});
|
|
8
|
+
/**
|
|
9
|
+
* Prepaid credit pack to buy through hosted Checkout.
|
|
10
|
+
*
|
|
11
|
+
* @openapiSchema BillingCreditPurchaseMutation
|
|
12
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
13
|
+
* @contractShape billing.credit-purchase-mutation
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export const BillingCreditPurchaseMutationSchema = BillingCreditPurchaseMutationSchemaDefinition;
|
|
17
|
+
//# sourceMappingURL=credit-purchase-mutation.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCreditPurchaseSchemaDefinition: z.ZodObject<{
|
|
3
|
+
expiresAt: z.ZodISODateTime;
|
|
4
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5
|
+
pack: z.ZodEnum<{
|
|
6
|
+
USD_100: "USD_100";
|
|
7
|
+
USD_25: "USD_25";
|
|
8
|
+
USD_250: "USD_250";
|
|
9
|
+
USD_50: "USD_50";
|
|
10
|
+
}>;
|
|
11
|
+
url: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type BillingCreditPurchaseDefinition = z.infer<typeof BillingCreditPurchaseSchemaDefinition>;
|
|
14
|
+
export interface BillingCreditPurchaseSchemaInput extends z.input<typeof BillingCreditPurchaseSchemaDefinition> {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Hosted Checkout destination and expiry for a prepaid credit pack.
|
|
18
|
+
*
|
|
19
|
+
* @openapiSchema BillingCreditPurchase
|
|
20
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
21
|
+
* @contractShape billing.credit-purchase
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export declare const BillingCreditPurchaseSchema: z.ZodType<BillingCreditPurchaseDefinition, BillingCreditPurchaseSchemaInput>;
|
|
25
|
+
export type BillingCreditPurchase = z.infer<typeof BillingCreditPurchaseSchema>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=credit-purchase.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
import { BillingCreditPackTypeSchema } from "./credit-pack-type.js";
|
|
4
|
+
const BillingCreditPurchaseSchemaDefinition = z.object({
|
|
5
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
6
|
+
id: z.uuid().nullish(),
|
|
7
|
+
pack: BillingCreditPackTypeSchema,
|
|
8
|
+
url: z.string(),
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* Hosted Checkout destination and expiry for a prepaid credit pack.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema BillingCreditPurchase
|
|
14
|
+
* @endpoint POST /v1/billing/credit-purchases
|
|
15
|
+
* @contractShape billing.credit-purchase
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export const BillingCreditPurchaseSchema = BillingCreditPurchaseSchemaDefinition;
|
|
19
|
+
//# sourceMappingURL=credit-purchase.js.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
export type JsonValue = string | number | boolean | null | JsonValue[] |
|
|
3
|
-
|
|
2
|
+
export type JsonValue = string | number | boolean | null | JsonValue[] | JsonFields;
|
|
3
|
+
/** An absent member (`undefined`) is omitted on serialization, as `JSON.stringify` does. */
|
|
4
|
+
export type JsonFields = {
|
|
5
|
+
[key: string]: JsonValue | undefined;
|
|
4
6
|
};
|
|
5
7
|
/**
|
|
6
8
|
* @usedByEndpoint none:external-root
|
|
@@ -21,6 +21,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
21
21
|
account_exists: "account_exists";
|
|
22
22
|
billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
|
|
23
23
|
billing_allowance_exhausted: "billing_allowance_exhausted";
|
|
24
|
+
billing_credit_checkout_closed: "billing_credit_checkout_closed";
|
|
24
25
|
callback_challenge_failed: "callback_challenge_failed";
|
|
25
26
|
callback_connection_refused: "callback_connection_refused";
|
|
26
27
|
callback_http_4xx: "callback_http_4xx";
|
|
@@ -34,6 +34,8 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
34
34
|
"billing_allowance_exhausted",
|
|
35
35
|
/** The caller's monthly allowance is spent and the next additional-usage unit would pass the monthly spend cap or the prepaid credit left. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; raise the cap or buy credit through /v1/billing/additional-usage, or wait for resetAt. */
|
|
36
36
|
"billing_additional_usage_cap_reached",
|
|
37
|
+
/** The prepaid credit Checkout is paid, expired, or closed. Retire this purchase intent before explicitly starting another Checkout; ambiguous transport failures and in-progress conflicts must keep the original key. */
|
|
38
|
+
"billing_credit_checkout_closed",
|
|
37
39
|
/** A signed-out purchase named an email that already belongs to an account. Agent action: sign that account in with its email code, then subscribe signed in; never retry the signed-out purchase for that email. */
|
|
38
40
|
"account_exists",
|
|
39
41
|
/** Detail-origin cold-miss coalescing is saturated. Agent action: treat as backend capacity impairment, back off, and inspect backend pool/bulkhead metrics; this is not a caller throttle. */
|
|
@@ -53,6 +53,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
53
53
|
modulePath: "billing/additional-usage-meter",
|
|
54
54
|
schemaName: "BillingAdditionalUsageMeterSchema",
|
|
55
55
|
},
|
|
56
|
+
BillingAdditionalUsageMutation: {
|
|
57
|
+
modulePath: "billing/additional-usage-mutation",
|
|
58
|
+
schemaName: "BillingAdditionalUsageMutationSchema",
|
|
59
|
+
},
|
|
56
60
|
BillingAdditionalUsageType: {
|
|
57
61
|
modulePath: "billing/additional-usage-type",
|
|
58
62
|
schemaName: "BillingAdditionalUsageTypeSchema",
|
|
@@ -91,6 +95,18 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
91
95
|
modulePath: "billing/credit-pack-type",
|
|
92
96
|
schemaName: "BillingCreditPackTypeSchema",
|
|
93
97
|
},
|
|
98
|
+
BillingCreditPurchase: {
|
|
99
|
+
modulePath: "billing/credit-purchase",
|
|
100
|
+
schemaName: "BillingCreditPurchaseSchema",
|
|
101
|
+
},
|
|
102
|
+
BillingCreditPurchaseConfirmation: {
|
|
103
|
+
modulePath: "billing/credit-purchase-confirmation",
|
|
104
|
+
schemaName: "BillingCreditPurchaseConfirmationSchema",
|
|
105
|
+
},
|
|
106
|
+
BillingCreditPurchaseMutation: {
|
|
107
|
+
modulePath: "billing/credit-purchase-mutation",
|
|
108
|
+
schemaName: "BillingCreditPurchaseMutationSchema",
|
|
109
|
+
},
|
|
94
110
|
BillingPaymentMethod: {
|
|
95
111
|
modulePath: "billing/payment-method",
|
|
96
112
|
schemaName: "BillingPaymentMethodSchema",
|