@seamapi/types 1.1163.0 → 1.1165.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.
|
@@ -46629,6 +46629,15 @@ const openapi = {
|
|
|
46629
46629
|
description: 'Returns a list of all [client sessions](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).',
|
|
46630
46630
|
operationId: 'clientSessionsListGet',
|
|
46631
46631
|
parameters: [
|
|
46632
|
+
{
|
|
46633
|
+
in: 'query',
|
|
46634
|
+
name: 'customer_key',
|
|
46635
|
+
schema: {
|
|
46636
|
+
description: 'Customer key for which you want to list client sessions.',
|
|
46637
|
+
minLength: 1,
|
|
46638
|
+
type: 'string',
|
|
46639
|
+
},
|
|
46640
|
+
},
|
|
46632
46641
|
{
|
|
46633
46642
|
in: 'query',
|
|
46634
46643
|
name: 'client_session_id',
|
|
@@ -46673,6 +46682,26 @@ const openapi = {
|
|
|
46673
46682
|
type: 'string',
|
|
46674
46683
|
},
|
|
46675
46684
|
},
|
|
46685
|
+
{
|
|
46686
|
+
in: 'query',
|
|
46687
|
+
name: 'limit',
|
|
46688
|
+
schema: {
|
|
46689
|
+
default: 50_000,
|
|
46690
|
+
description: 'Maximum number of records to return per page.',
|
|
46691
|
+
exclusiveMinimum: true,
|
|
46692
|
+
minimum: 0,
|
|
46693
|
+
type: 'integer',
|
|
46694
|
+
},
|
|
46695
|
+
},
|
|
46696
|
+
{
|
|
46697
|
+
in: 'query',
|
|
46698
|
+
name: 'page_cursor',
|
|
46699
|
+
schema: {
|
|
46700
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
46701
|
+
nullable: true,
|
|
46702
|
+
type: 'string',
|
|
46703
|
+
},
|
|
46704
|
+
},
|
|
46676
46705
|
],
|
|
46677
46706
|
responses: {
|
|
46678
46707
|
'200': {
|
|
@@ -46685,8 +46714,9 @@ const openapi = {
|
|
|
46685
46714
|
type: 'array',
|
|
46686
46715
|
},
|
|
46687
46716
|
ok: { type: 'boolean' },
|
|
46717
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
46688
46718
|
},
|
|
46689
|
-
required: ['client_sessions', 'ok'],
|
|
46719
|
+
required: ['client_sessions', 'pagination', 'ok'],
|
|
46690
46720
|
type: 'object',
|
|
46691
46721
|
},
|
|
46692
46722
|
},
|
|
@@ -56526,6 +56556,192 @@ const openapi = {
|
|
|
56526
56556
|
'x-undocumented': 'Internal endpoint for Console',
|
|
56527
56557
|
},
|
|
56528
56558
|
},
|
|
56559
|
+
'/seam/console/v1/credits/subscription/cancel': {
|
|
56560
|
+
post: {
|
|
56561
|
+
description: "Cancels the organization's credit subscription at the end of its current period. The package stays available until then.",
|
|
56562
|
+
operationId: 'seamConsoleV1CreditsSubscriptionCancelPost',
|
|
56563
|
+
requestBody: {
|
|
56564
|
+
content: {
|
|
56565
|
+
'application/json': {
|
|
56566
|
+
schema: {
|
|
56567
|
+
properties: {
|
|
56568
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
56569
|
+
},
|
|
56570
|
+
required: ['organization_id'],
|
|
56571
|
+
type: 'object',
|
|
56572
|
+
},
|
|
56573
|
+
},
|
|
56574
|
+
},
|
|
56575
|
+
},
|
|
56576
|
+
responses: {
|
|
56577
|
+
'200': {
|
|
56578
|
+
content: {
|
|
56579
|
+
'application/json': {
|
|
56580
|
+
schema: {
|
|
56581
|
+
properties: {
|
|
56582
|
+
credit_subscription: {
|
|
56583
|
+
properties: {
|
|
56584
|
+
canceled_at: {
|
|
56585
|
+
format: 'date-time',
|
|
56586
|
+
nullable: true,
|
|
56587
|
+
type: 'string',
|
|
56588
|
+
},
|
|
56589
|
+
credit_subscription_id: {
|
|
56590
|
+
format: 'uuid',
|
|
56591
|
+
type: 'string',
|
|
56592
|
+
},
|
|
56593
|
+
current_period_ends_at: {
|
|
56594
|
+
format: 'date-time',
|
|
56595
|
+
nullable: true,
|
|
56596
|
+
type: 'string',
|
|
56597
|
+
},
|
|
56598
|
+
current_period_started_at: {
|
|
56599
|
+
format: 'date-time',
|
|
56600
|
+
nullable: true,
|
|
56601
|
+
type: 'string',
|
|
56602
|
+
},
|
|
56603
|
+
package_quantity: { format: 'float', type: 'number' },
|
|
56604
|
+
past_due_since: {
|
|
56605
|
+
format: 'date-time',
|
|
56606
|
+
nullable: true,
|
|
56607
|
+
type: 'string',
|
|
56608
|
+
},
|
|
56609
|
+
price_cents: { format: 'float', type: 'number' },
|
|
56610
|
+
status: { type: 'string' },
|
|
56611
|
+
},
|
|
56612
|
+
required: [
|
|
56613
|
+
'credit_subscription_id',
|
|
56614
|
+
'status',
|
|
56615
|
+
'package_quantity',
|
|
56616
|
+
'price_cents',
|
|
56617
|
+
'current_period_started_at',
|
|
56618
|
+
'current_period_ends_at',
|
|
56619
|
+
'past_due_since',
|
|
56620
|
+
'canceled_at',
|
|
56621
|
+
],
|
|
56622
|
+
type: 'object',
|
|
56623
|
+
},
|
|
56624
|
+
ok: { type: 'boolean' },
|
|
56625
|
+
},
|
|
56626
|
+
required: ['credit_subscription', 'ok'],
|
|
56627
|
+
type: 'object',
|
|
56628
|
+
},
|
|
56629
|
+
},
|
|
56630
|
+
},
|
|
56631
|
+
description: 'OK',
|
|
56632
|
+
},
|
|
56633
|
+
'400': { description: 'Bad Request' },
|
|
56634
|
+
'401': { description: 'Unauthorized' },
|
|
56635
|
+
},
|
|
56636
|
+
security: [{ console_session_without_workspace: [] }],
|
|
56637
|
+
summary: '/seam/console/v1/credits/subscription/cancel',
|
|
56638
|
+
tags: [],
|
|
56639
|
+
'x-fern-sdk-group-name': [
|
|
56640
|
+
'seam',
|
|
56641
|
+
'console',
|
|
56642
|
+
'v1',
|
|
56643
|
+
'credits',
|
|
56644
|
+
'subscription',
|
|
56645
|
+
],
|
|
56646
|
+
'x-fern-sdk-method-name': 'cancel',
|
|
56647
|
+
'x-response-key': null,
|
|
56648
|
+
'x-title': 'Cancel a Credit Subscription at Period End',
|
|
56649
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
56650
|
+
},
|
|
56651
|
+
},
|
|
56652
|
+
'/seam/console/v1/credits/subscription/resume': {
|
|
56653
|
+
post: {
|
|
56654
|
+
description: 'Undoes a cancellation that has not taken effect yet, so the credit subscription renews at the end of its current period.',
|
|
56655
|
+
operationId: 'seamConsoleV1CreditsSubscriptionResumePost',
|
|
56656
|
+
requestBody: {
|
|
56657
|
+
content: {
|
|
56658
|
+
'application/json': {
|
|
56659
|
+
schema: {
|
|
56660
|
+
properties: {
|
|
56661
|
+
organization_id: { format: 'uuid', type: 'string' },
|
|
56662
|
+
},
|
|
56663
|
+
required: ['organization_id'],
|
|
56664
|
+
type: 'object',
|
|
56665
|
+
},
|
|
56666
|
+
},
|
|
56667
|
+
},
|
|
56668
|
+
},
|
|
56669
|
+
responses: {
|
|
56670
|
+
'200': {
|
|
56671
|
+
content: {
|
|
56672
|
+
'application/json': {
|
|
56673
|
+
schema: {
|
|
56674
|
+
properties: {
|
|
56675
|
+
credit_subscription: {
|
|
56676
|
+
properties: {
|
|
56677
|
+
canceled_at: {
|
|
56678
|
+
format: 'date-time',
|
|
56679
|
+
nullable: true,
|
|
56680
|
+
type: 'string',
|
|
56681
|
+
},
|
|
56682
|
+
credit_subscription_id: {
|
|
56683
|
+
format: 'uuid',
|
|
56684
|
+
type: 'string',
|
|
56685
|
+
},
|
|
56686
|
+
current_period_ends_at: {
|
|
56687
|
+
format: 'date-time',
|
|
56688
|
+
nullable: true,
|
|
56689
|
+
type: 'string',
|
|
56690
|
+
},
|
|
56691
|
+
current_period_started_at: {
|
|
56692
|
+
format: 'date-time',
|
|
56693
|
+
nullable: true,
|
|
56694
|
+
type: 'string',
|
|
56695
|
+
},
|
|
56696
|
+
package_quantity: { format: 'float', type: 'number' },
|
|
56697
|
+
past_due_since: {
|
|
56698
|
+
format: 'date-time',
|
|
56699
|
+
nullable: true,
|
|
56700
|
+
type: 'string',
|
|
56701
|
+
},
|
|
56702
|
+
price_cents: { format: 'float', type: 'number' },
|
|
56703
|
+
status: { type: 'string' },
|
|
56704
|
+
},
|
|
56705
|
+
required: [
|
|
56706
|
+
'credit_subscription_id',
|
|
56707
|
+
'status',
|
|
56708
|
+
'package_quantity',
|
|
56709
|
+
'price_cents',
|
|
56710
|
+
'current_period_started_at',
|
|
56711
|
+
'current_period_ends_at',
|
|
56712
|
+
'past_due_since',
|
|
56713
|
+
'canceled_at',
|
|
56714
|
+
],
|
|
56715
|
+
type: 'object',
|
|
56716
|
+
},
|
|
56717
|
+
ok: { type: 'boolean' },
|
|
56718
|
+
},
|
|
56719
|
+
required: ['credit_subscription', 'ok'],
|
|
56720
|
+
type: 'object',
|
|
56721
|
+
},
|
|
56722
|
+
},
|
|
56723
|
+
},
|
|
56724
|
+
description: 'OK',
|
|
56725
|
+
},
|
|
56726
|
+
'400': { description: 'Bad Request' },
|
|
56727
|
+
'401': { description: 'Unauthorized' },
|
|
56728
|
+
},
|
|
56729
|
+
security: [{ console_session_without_workspace: [] }],
|
|
56730
|
+
summary: '/seam/console/v1/credits/subscription/resume',
|
|
56731
|
+
tags: [],
|
|
56732
|
+
'x-fern-sdk-group-name': [
|
|
56733
|
+
'seam',
|
|
56734
|
+
'console',
|
|
56735
|
+
'v1',
|
|
56736
|
+
'credits',
|
|
56737
|
+
'subscription',
|
|
56738
|
+
],
|
|
56739
|
+
'x-fern-sdk-method-name': 'resume',
|
|
56740
|
+
'x-response-key': null,
|
|
56741
|
+
'x-title': 'Resume a Canceled Credit Subscription',
|
|
56742
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
56743
|
+
},
|
|
56744
|
+
},
|
|
56529
56745
|
'/seam/console/v1/get_resource_locator': {
|
|
56530
56746
|
get: {
|
|
56531
56747
|
description: 'Returns the type and system information of a resource given its UUID.',
|