@seamapi/types 1.1167.0 → 1.1168.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.
|
@@ -91653,6 +91653,8 @@ export type Routes = {
|
|
|
91653
91653
|
status: string;
|
|
91654
91654
|
package_quantity: number;
|
|
91655
91655
|
hosted_invoice_url: string | null;
|
|
91656
|
+
checkout_state: ('awaiting_checkout' | 'processing') | null;
|
|
91657
|
+
checkout_url: string | null;
|
|
91656
91658
|
failure_reason: string | null;
|
|
91657
91659
|
};
|
|
91658
91660
|
};
|
package/package.json
CHANGED
|
@@ -61721,7 +61721,7 @@ const openapi: OpenAPISpec = {
|
|
|
61721
61721
|
'/seam/console/v1/credits/checkout/start': {
|
|
61722
61722
|
post: {
|
|
61723
61723
|
description:
|
|
61724
|
-
"Starts the Stripe Checkout for the first purchase of a monthly token package, or
|
|
61724
|
+
"Starts the Stripe Checkout for the first purchase of a monthly token package, or replaces the organization's unfinished one.",
|
|
61725
61725
|
operationId: 'seamConsoleV1CreditsCheckoutStartPost',
|
|
61726
61726
|
requestBody: {
|
|
61727
61727
|
content: {
|
|
@@ -62172,7 +62172,7 @@ const openapi: OpenAPISpec = {
|
|
|
62172
62172
|
'/seam/console/v1/credits/purchases/get': {
|
|
62173
62173
|
post: {
|
|
62174
62174
|
description:
|
|
62175
|
-
'Advances a pending credit subscription purchase and returns its status.',
|
|
62175
|
+
'Advances a pending credit subscription purchase and returns its status, including whether its Stripe Checkout was left unfinished.',
|
|
62176
62176
|
operationId: 'seamConsoleV1CreditsPurchasesGetPost',
|
|
62177
62177
|
requestBody: {
|
|
62178
62178
|
content: {
|
|
@@ -62197,6 +62197,12 @@ const openapi: OpenAPISpec = {
|
|
|
62197
62197
|
ok: { type: 'boolean' },
|
|
62198
62198
|
purchase: {
|
|
62199
62199
|
properties: {
|
|
62200
|
+
checkout_state: {
|
|
62201
|
+
enum: ['awaiting_checkout', 'processing'],
|
|
62202
|
+
nullable: true,
|
|
62203
|
+
type: 'string',
|
|
62204
|
+
},
|
|
62205
|
+
checkout_url: { nullable: true, type: 'string' },
|
|
62200
62206
|
failure_reason: { nullable: true, type: 'string' },
|
|
62201
62207
|
hosted_invoice_url: { nullable: true, type: 'string' },
|
|
62202
62208
|
package_quantity: { format: 'float', type: 'number' },
|
|
@@ -62206,6 +62212,8 @@ const openapi: OpenAPISpec = {
|
|
|
62206
62212
|
'status',
|
|
62207
62213
|
'package_quantity',
|
|
62208
62214
|
'hosted_invoice_url',
|
|
62215
|
+
'checkout_state',
|
|
62216
|
+
'checkout_url',
|
|
62209
62217
|
'failure_reason',
|
|
62210
62218
|
],
|
|
62211
62219
|
type: 'object',
|
|
@@ -109512,6 +109512,8 @@ export type Routes = {
|
|
|
109512
109512
|
status: string
|
|
109513
109513
|
package_quantity: number
|
|
109514
109514
|
hosted_invoice_url: string | null
|
|
109515
|
+
checkout_state: ('awaiting_checkout' | 'processing') | null
|
|
109516
|
+
checkout_url: string | null
|
|
109515
109517
|
failure_reason: string | null
|
|
109516
109518
|
}
|
|
109517
109519
|
}
|