@seamapi/types 1.38.2 → 1.39.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.
@@ -976,6 +976,7 @@ export interface Routes {
976
976
  user_identifier_key?: string | undefined;
977
977
  connect_webview_ids?: string[] | undefined;
978
978
  connected_account_ids?: string[] | undefined;
979
+ expires_at?: Date | undefined;
979
980
  };
980
981
  commonParams: {};
981
982
  formData: {};
@@ -1031,6 +1032,7 @@ export interface Routes {
1031
1032
  user_identifier_key?: string | undefined;
1032
1033
  connect_webview_ids?: string[] | undefined;
1033
1034
  connected_account_ids?: string[] | undefined;
1035
+ expires_at?: Date | undefined;
1034
1036
  };
1035
1037
  commonParams: {};
1036
1038
  formData: {};
@@ -1093,6 +1095,17 @@ export interface Routes {
1093
1095
  }>;
1094
1096
  };
1095
1097
  };
1098
+ '/client_sessions/revoke': {
1099
+ route: '/client_sessions/revoke';
1100
+ method: 'POST';
1101
+ queryParams: {};
1102
+ jsonBody: {};
1103
+ commonParams: {
1104
+ client_session_id: string;
1105
+ };
1106
+ formData: {};
1107
+ jsonResponse: {};
1108
+ };
1096
1109
  '/connect_webviews/create': {
1097
1110
  route: '/connect_webviews/create';
1098
1111
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.38.2",
3
+ "version": "1.39.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4020,6 +4020,11 @@ export default {
4020
4020
  items: { type: 'string' },
4021
4021
  type: 'array',
4022
4022
  },
4023
+ expires_at: {
4024
+ format: 'date-time',
4025
+ nullable: true,
4026
+ type: 'string',
4027
+ },
4023
4028
  user_identifier_key: { minLength: 1, type: 'string' },
4024
4029
  },
4025
4030
  type: 'object',
@@ -4069,6 +4074,11 @@ export default {
4069
4074
  items: { type: 'string' },
4070
4075
  type: 'array',
4071
4076
  },
4077
+ expires_at: {
4078
+ format: 'date-time',
4079
+ nullable: true,
4080
+ type: 'string',
4081
+ },
4072
4082
  user_identifier_key: { minLength: 1, type: 'string' },
4073
4083
  },
4074
4084
  type: 'object',
@@ -4210,6 +4220,11 @@ export default {
4210
4220
  items: { type: 'string' },
4211
4221
  type: 'array',
4212
4222
  },
4223
+ expires_at: {
4224
+ format: 'date-time',
4225
+ nullable: true,
4226
+ type: 'string',
4227
+ },
4213
4228
  user_identifier_key: { minLength: 1, type: 'string' },
4214
4229
  },
4215
4230
  type: 'object',
@@ -4259,6 +4274,11 @@ export default {
4259
4274
  items: { type: 'string' },
4260
4275
  type: 'array',
4261
4276
  },
4277
+ expires_at: {
4278
+ format: 'date-time',
4279
+ nullable: true,
4280
+ type: 'string',
4281
+ },
4262
4282
  user_identifier_key: { minLength: 1, type: 'string' },
4263
4283
  },
4264
4284
  type: 'object',
@@ -4453,6 +4473,49 @@ export default {
4453
4473
  'x-fern-sdk-return-value': 'client_sessions',
4454
4474
  },
4455
4475
  },
4476
+ '/client_sessions/revoke': {
4477
+ post: {
4478
+ operationId: 'clientSessionsRevokePost',
4479
+ requestBody: {
4480
+ content: {
4481
+ 'application/json': {
4482
+ schema: {
4483
+ properties: {
4484
+ client_session_id: { format: 'uuid', type: 'string' },
4485
+ },
4486
+ required: ['client_session_id'],
4487
+ type: 'object',
4488
+ },
4489
+ },
4490
+ },
4491
+ },
4492
+ responses: {
4493
+ 200: {
4494
+ content: {
4495
+ 'application/json': {
4496
+ schema: {
4497
+ properties: { ok: { type: 'boolean' } },
4498
+ required: ['ok'],
4499
+ type: 'object',
4500
+ },
4501
+ },
4502
+ },
4503
+ description: 'OK',
4504
+ },
4505
+ 400: { description: 'Bad Request' },
4506
+ 401: { description: 'Unauthorized' },
4507
+ },
4508
+ security: [
4509
+ { access_token: [], seam_workspace: [] },
4510
+ { seam_client_session_token: [] },
4511
+ { client_session_token: [] },
4512
+ ],
4513
+ summary: '/client_sessions/revoke',
4514
+ tags: ['/client_sessions'],
4515
+ 'x-fern-sdk-group-name': ['client_sessions'],
4516
+ 'x-fern-sdk-method-name': 'revoke',
4517
+ },
4518
+ },
4456
4519
  '/connect_webviews/create': {
4457
4520
  post: {
4458
4521
  operationId: 'connectWebviewsCreatePost',
@@ -1022,6 +1022,7 @@ export interface Routes {
1022
1022
  user_identifier_key?: string | undefined
1023
1023
  connect_webview_ids?: string[] | undefined
1024
1024
  connected_account_ids?: string[] | undefined
1025
+ expires_at?: Date | undefined
1025
1026
  }
1026
1027
  commonParams: {}
1027
1028
  formData: {}
@@ -1077,6 +1078,7 @@ export interface Routes {
1077
1078
  user_identifier_key?: string | undefined
1078
1079
  connect_webview_ids?: string[] | undefined
1079
1080
  connected_account_ids?: string[] | undefined
1081
+ expires_at?: Date | undefined
1080
1082
  }
1081
1083
  commonParams: {}
1082
1084
  formData: {}
@@ -1139,6 +1141,17 @@ export interface Routes {
1139
1141
  }>
1140
1142
  }
1141
1143
  }
1144
+ '/client_sessions/revoke': {
1145
+ route: '/client_sessions/revoke'
1146
+ method: 'POST'
1147
+ queryParams: {}
1148
+ jsonBody: {}
1149
+ commonParams: {
1150
+ client_session_id: string
1151
+ }
1152
+ formData: {}
1153
+ jsonResponse: {}
1154
+ }
1142
1155
  '/connect_webviews/create': {
1143
1156
  route: '/connect_webviews/create'
1144
1157
  method: 'POST'