@seamapi/types 1.1166.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: {
|
|
@@ -56340,6 +56340,15 @@ const openapi = {
|
|
|
56340
56340
|
},
|
|
56341
56341
|
invoice_id: { type: 'string' },
|
|
56342
56342
|
issued_at: { format: 'date-time', type: 'string' },
|
|
56343
|
+
kind: {
|
|
56344
|
+
enum: ['package', 'usage', 'other'],
|
|
56345
|
+
type: 'string',
|
|
56346
|
+
},
|
|
56347
|
+
package_quantity: {
|
|
56348
|
+
format: 'float',
|
|
56349
|
+
nullable: true,
|
|
56350
|
+
type: 'number',
|
|
56351
|
+
},
|
|
56343
56352
|
period_ends_at: {
|
|
56344
56353
|
format: 'date-time',
|
|
56345
56354
|
type: 'string',
|
|
@@ -56359,6 +56368,8 @@ const openapi = {
|
|
|
56359
56368
|
'status',
|
|
56360
56369
|
'hosted_invoice_url',
|
|
56361
56370
|
'issued_at',
|
|
56371
|
+
'package_quantity',
|
|
56372
|
+
'kind',
|
|
56362
56373
|
],
|
|
56363
56374
|
type: 'object',
|
|
56364
56375
|
},
|
|
@@ -56491,7 +56502,7 @@ const openapi = {
|
|
|
56491
56502
|
},
|
|
56492
56503
|
'/seam/console/v1/credits/purchases/get': {
|
|
56493
56504
|
post: {
|
|
56494
|
-
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.',
|
|
56495
56506
|
operationId: 'seamConsoleV1CreditsPurchasesGetPost',
|
|
56496
56507
|
requestBody: {
|
|
56497
56508
|
content: {
|
|
@@ -56516,6 +56527,12 @@ const openapi = {
|
|
|
56516
56527
|
ok: { type: 'boolean' },
|
|
56517
56528
|
purchase: {
|
|
56518
56529
|
properties: {
|
|
56530
|
+
checkout_state: {
|
|
56531
|
+
enum: ['awaiting_checkout', 'processing'],
|
|
56532
|
+
nullable: true,
|
|
56533
|
+
type: 'string',
|
|
56534
|
+
},
|
|
56535
|
+
checkout_url: { nullable: true, type: 'string' },
|
|
56519
56536
|
failure_reason: { nullable: true, type: 'string' },
|
|
56520
56537
|
hosted_invoice_url: { nullable: true, type: 'string' },
|
|
56521
56538
|
package_quantity: { format: 'float', type: 'number' },
|
|
@@ -56525,6 +56542,8 @@ const openapi = {
|
|
|
56525
56542
|
'status',
|
|
56526
56543
|
'package_quantity',
|
|
56527
56544
|
'hosted_invoice_url',
|
|
56545
|
+
'checkout_state',
|
|
56546
|
+
'checkout_url',
|
|
56528
56547
|
'failure_reason',
|
|
56529
56548
|
],
|
|
56530
56549
|
type: 'object',
|