@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.
|
@@ -56055,7 +56055,7 @@ const openapi = {
|
|
|
56055
56055
|
},
|
|
56056
56056
|
'/seam/console/v1/credits/checkout/start': {
|
|
56057
56057
|
post: {
|
|
56058
|
-
description: "Starts the Stripe Checkout for the first purchase of a monthly token package, or
|
|
56058
|
+
description: "Starts the Stripe Checkout for the first purchase of a monthly token package, or replaces the organization's unfinished one.",
|
|
56059
56059
|
operationId: 'seamConsoleV1CreditsCheckoutStartPost',
|
|
56060
56060
|
requestBody: {
|
|
56061
56061
|
content: {
|
|
@@ -56502,7 +56502,7 @@ const openapi = {
|
|
|
56502
56502
|
},
|
|
56503
56503
|
'/seam/console/v1/credits/purchases/get': {
|
|
56504
56504
|
post: {
|
|
56505
|
-
description: 'Advances a pending credit subscription purchase and returns its status.',
|
|
56505
|
+
description: 'Advances a pending credit subscription purchase and returns its status, including whether its Stripe Checkout was left unfinished.',
|
|
56506
56506
|
operationId: 'seamConsoleV1CreditsPurchasesGetPost',
|
|
56507
56507
|
requestBody: {
|
|
56508
56508
|
content: {
|
|
@@ -56527,6 +56527,12 @@ const openapi = {
|
|
|
56527
56527
|
ok: { type: 'boolean' },
|
|
56528
56528
|
purchase: {
|
|
56529
56529
|
properties: {
|
|
56530
|
+
checkout_state: {
|
|
56531
|
+
enum: ['awaiting_checkout', 'processing'],
|
|
56532
|
+
nullable: true,
|
|
56533
|
+
type: 'string',
|
|
56534
|
+
},
|
|
56535
|
+
checkout_url: { nullable: true, type: 'string' },
|
|
56530
56536
|
failure_reason: { nullable: true, type: 'string' },
|
|
56531
56537
|
hosted_invoice_url: { nullable: true, type: 'string' },
|
|
56532
56538
|
package_quantity: { format: 'float', type: 'number' },
|
|
@@ -56536,6 +56542,8 @@ const openapi = {
|
|
|
56536
56542
|
'status',
|
|
56537
56543
|
'package_quantity',
|
|
56538
56544
|
'hosted_invoice_url',
|
|
56545
|
+
'checkout_state',
|
|
56546
|
+
'checkout_url',
|
|
56539
56547
|
'failure_reason',
|
|
56540
56548
|
],
|
|
56541
56549
|
type: 'object',
|