@seamapi/types 1.38.2 → 1.40.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.
@@ -228,6 +228,11 @@ declare const _default: {
228
228
  type: string;
229
229
  };
230
230
  email: {
231
+ description: string;
232
+ format: string;
233
+ type: string;
234
+ };
235
+ email_address: {
231
236
  format: string;
232
237
  type: string;
233
238
  };
@@ -5261,6 +5266,7 @@ declare const _default: {
5261
5266
  type: string;
5262
5267
  };
5263
5268
  email: {
5269
+ description: string;
5264
5270
  format: string;
5265
5271
  type: string;
5266
5272
  };
@@ -5730,6 +5736,7 @@ declare const _default: {
5730
5736
  type: string;
5731
5737
  };
5732
5738
  email: {
5739
+ description: string;
5733
5740
  format: string;
5734
5741
  type: string;
5735
5742
  };
@@ -5803,6 +5810,7 @@ declare const _default: {
5803
5810
  type: string;
5804
5811
  };
5805
5812
  email: {
5813
+ description: string;
5806
5814
  format: string;
5807
5815
  type: string;
5808
5816
  };
@@ -6030,6 +6038,11 @@ declare const _default: {
6030
6038
  };
6031
6039
  type: string;
6032
6040
  };
6041
+ expires_at: {
6042
+ format: string;
6043
+ nullable: boolean;
6044
+ type: string;
6045
+ };
6033
6046
  user_identifier_key: {
6034
6047
  minLength: number;
6035
6048
  type: string;
@@ -6092,6 +6105,11 @@ declare const _default: {
6092
6105
  };
6093
6106
  type: string;
6094
6107
  };
6108
+ expires_at: {
6109
+ format: string;
6110
+ nullable: boolean;
6111
+ type: string;
6112
+ };
6095
6113
  user_identifier_key: {
6096
6114
  minLength: number;
6097
6115
  type: string;
@@ -6289,6 +6307,11 @@ declare const _default: {
6289
6307
  };
6290
6308
  type: string;
6291
6309
  };
6310
+ expires_at: {
6311
+ format: string;
6312
+ nullable: boolean;
6313
+ type: string;
6314
+ };
6292
6315
  user_identifier_key: {
6293
6316
  minLength: number;
6294
6317
  type: string;
@@ -6351,6 +6374,11 @@ declare const _default: {
6351
6374
  };
6352
6375
  type: string;
6353
6376
  };
6377
+ expires_at: {
6378
+ format: string;
6379
+ nullable: boolean;
6380
+ type: string;
6381
+ };
6354
6382
  user_identifier_key: {
6355
6383
  minLength: number;
6356
6384
  type: string;
@@ -6631,6 +6659,71 @@ declare const _default: {
6631
6659
  'x-fern-sdk-return-value': string;
6632
6660
  };
6633
6661
  };
6662
+ '/client_sessions/revoke': {
6663
+ post: {
6664
+ operationId: string;
6665
+ requestBody: {
6666
+ content: {
6667
+ 'application/json': {
6668
+ schema: {
6669
+ properties: {
6670
+ client_session_id: {
6671
+ format: string;
6672
+ type: string;
6673
+ };
6674
+ };
6675
+ required: string[];
6676
+ type: string;
6677
+ };
6678
+ };
6679
+ };
6680
+ };
6681
+ responses: {
6682
+ 200: {
6683
+ content: {
6684
+ 'application/json': {
6685
+ schema: {
6686
+ properties: {
6687
+ ok: {
6688
+ type: string;
6689
+ };
6690
+ };
6691
+ required: string[];
6692
+ type: string;
6693
+ };
6694
+ };
6695
+ };
6696
+ description: string;
6697
+ };
6698
+ 400: {
6699
+ description: string;
6700
+ };
6701
+ 401: {
6702
+ description: string;
6703
+ };
6704
+ };
6705
+ security: ({
6706
+ access_token: never[];
6707
+ seam_workspace: never[];
6708
+ seam_client_session_token?: never;
6709
+ client_session_token?: never;
6710
+ } | {
6711
+ seam_client_session_token: never[];
6712
+ access_token?: never;
6713
+ seam_workspace?: never;
6714
+ client_session_token?: never;
6715
+ } | {
6716
+ client_session_token: never[];
6717
+ access_token?: never;
6718
+ seam_workspace?: never;
6719
+ seam_client_session_token?: never;
6720
+ })[];
6721
+ summary: string;
6722
+ tags: string[];
6723
+ 'x-fern-sdk-group-name': string[];
6724
+ 'x-fern-sdk-method-name': string;
6725
+ };
6726
+ };
6634
6727
  '/connect_webviews/create': {
6635
6728
  post: {
6636
6729
  operationId: string;
@@ -12852,7 +12945,9 @@ interface Routes {
12852
12945
  external_type_display_name: string;
12853
12946
  is_suspended: boolean;
12854
12947
  full_name?: string | undefined;
12948
+ /** Deprecated: use email_address. */
12855
12949
  email?: string | undefined;
12950
+ email_address?: string | undefined;
12856
12951
  phone_number?: string | undefined;
12857
12952
  }>;
12858
12953
  };
@@ -13033,6 +13128,7 @@ interface Routes {
13033
13128
  acs_system_id: string;
13034
13129
  acs_access_group_ids?: string[];
13035
13130
  full_name?: string | undefined;
13131
+ /** Deprecated: use email_address. */
13036
13132
  email?: string | undefined;
13037
13133
  phone_number?: string | undefined;
13038
13134
  };
@@ -13048,7 +13144,9 @@ interface Routes {
13048
13144
  external_type_display_name: string;
13049
13145
  is_suspended: boolean;
13050
13146
  full_name?: string | undefined;
13147
+ /** Deprecated: use email_address. */
13051
13148
  email?: string | undefined;
13149
+ email_address?: string | undefined;
13052
13150
  phone_number?: string | undefined;
13053
13151
  };
13054
13152
  };
@@ -13084,7 +13182,9 @@ interface Routes {
13084
13182
  external_type_display_name: string;
13085
13183
  is_suspended: boolean;
13086
13184
  full_name?: string | undefined;
13185
+ /** Deprecated: use email_address. */
13087
13186
  email?: string | undefined;
13187
+ email_address?: string | undefined;
13088
13188
  phone_number?: string | undefined;
13089
13189
  };
13090
13190
  };
@@ -13109,7 +13209,9 @@ interface Routes {
13109
13209
  external_type_display_name: string;
13110
13210
  is_suspended: boolean;
13111
13211
  full_name?: string | undefined;
13212
+ /** Deprecated: use email_address. */
13112
13213
  email?: string | undefined;
13214
+ email_address?: string | undefined;
13113
13215
  phone_number?: string | undefined;
13114
13216
  }>;
13115
13217
  };
@@ -13156,6 +13258,7 @@ interface Routes {
13156
13258
  commonParams: {
13157
13259
  acs_user_id: string;
13158
13260
  full_name?: string | undefined;
13261
+ /** Deprecated: use email_address. */
13159
13262
  email?: string | undefined;
13160
13263
  phone_number?: string | undefined;
13161
13264
  };
@@ -13238,6 +13341,7 @@ interface Routes {
13238
13341
  user_identifier_key?: string | undefined;
13239
13342
  connect_webview_ids?: string[] | undefined;
13240
13343
  connected_account_ids?: string[] | undefined;
13344
+ expires_at?: Date | undefined;
13241
13345
  };
13242
13346
  commonParams: {};
13243
13347
  formData: {};
@@ -13293,6 +13397,7 @@ interface Routes {
13293
13397
  user_identifier_key?: string | undefined;
13294
13398
  connect_webview_ids?: string[] | undefined;
13295
13399
  connected_account_ids?: string[] | undefined;
13400
+ expires_at?: Date | undefined;
13296
13401
  };
13297
13402
  commonParams: {};
13298
13403
  formData: {};
@@ -13355,6 +13460,17 @@ interface Routes {
13355
13460
  }>;
13356
13461
  };
13357
13462
  };
13463
+ '/client_sessions/revoke': {
13464
+ route: '/client_sessions/revoke';
13465
+ method: 'POST';
13466
+ queryParams: {};
13467
+ jsonBody: {};
13468
+ commonParams: {
13469
+ client_session_id: string;
13470
+ };
13471
+ formData: {};
13472
+ jsonResponse: {};
13473
+ };
13358
13474
  '/connect_webviews/create': {
13359
13475
  route: '/connect_webviews/create';
13360
13476
  method: 'POST';
@@ -16436,7 +16552,9 @@ interface Routes {
16436
16552
  external_type_display_name: string;
16437
16553
  is_suspended: boolean;
16438
16554
  full_name?: string | undefined;
16555
+ /** Deprecated: use email_address. */
16439
16556
  email?: string | undefined;
16557
+ email_address?: string | undefined;
16440
16558
  phone_number?: string | undefined;
16441
16559
  }>;
16442
16560
  };
@@ -177,6 +177,11 @@ declare const _default: {
177
177
  type: string;
178
178
  };
179
179
  email: {
180
+ description: string;
181
+ format: string;
182
+ type: string;
183
+ };
184
+ email_address: {
180
185
  format: string;
181
186
  type: string;
182
187
  };
@@ -5210,6 +5215,7 @@ declare const _default: {
5210
5215
  type: string;
5211
5216
  };
5212
5217
  email: {
5218
+ description: string;
5213
5219
  format: string;
5214
5220
  type: string;
5215
5221
  };
@@ -5679,6 +5685,7 @@ declare const _default: {
5679
5685
  type: string;
5680
5686
  };
5681
5687
  email: {
5688
+ description: string;
5682
5689
  format: string;
5683
5690
  type: string;
5684
5691
  };
@@ -5752,6 +5759,7 @@ declare const _default: {
5752
5759
  type: string;
5753
5760
  };
5754
5761
  email: {
5762
+ description: string;
5755
5763
  format: string;
5756
5764
  type: string;
5757
5765
  };
@@ -5979,6 +5987,11 @@ declare const _default: {
5979
5987
  };
5980
5988
  type: string;
5981
5989
  };
5990
+ expires_at: {
5991
+ format: string;
5992
+ nullable: boolean;
5993
+ type: string;
5994
+ };
5982
5995
  user_identifier_key: {
5983
5996
  minLength: number;
5984
5997
  type: string;
@@ -6041,6 +6054,11 @@ declare const _default: {
6041
6054
  };
6042
6055
  type: string;
6043
6056
  };
6057
+ expires_at: {
6058
+ format: string;
6059
+ nullable: boolean;
6060
+ type: string;
6061
+ };
6044
6062
  user_identifier_key: {
6045
6063
  minLength: number;
6046
6064
  type: string;
@@ -6238,6 +6256,11 @@ declare const _default: {
6238
6256
  };
6239
6257
  type: string;
6240
6258
  };
6259
+ expires_at: {
6260
+ format: string;
6261
+ nullable: boolean;
6262
+ type: string;
6263
+ };
6241
6264
  user_identifier_key: {
6242
6265
  minLength: number;
6243
6266
  type: string;
@@ -6300,6 +6323,11 @@ declare const _default: {
6300
6323
  };
6301
6324
  type: string;
6302
6325
  };
6326
+ expires_at: {
6327
+ format: string;
6328
+ nullable: boolean;
6329
+ type: string;
6330
+ };
6303
6331
  user_identifier_key: {
6304
6332
  minLength: number;
6305
6333
  type: string;
@@ -6580,6 +6608,71 @@ declare const _default: {
6580
6608
  'x-fern-sdk-return-value': string;
6581
6609
  };
6582
6610
  };
6611
+ '/client_sessions/revoke': {
6612
+ post: {
6613
+ operationId: string;
6614
+ requestBody: {
6615
+ content: {
6616
+ 'application/json': {
6617
+ schema: {
6618
+ properties: {
6619
+ client_session_id: {
6620
+ format: string;
6621
+ type: string;
6622
+ };
6623
+ };
6624
+ required: string[];
6625
+ type: string;
6626
+ };
6627
+ };
6628
+ };
6629
+ };
6630
+ responses: {
6631
+ 200: {
6632
+ content: {
6633
+ 'application/json': {
6634
+ schema: {
6635
+ properties: {
6636
+ ok: {
6637
+ type: string;
6638
+ };
6639
+ };
6640
+ required: string[];
6641
+ type: string;
6642
+ };
6643
+ };
6644
+ };
6645
+ description: string;
6646
+ };
6647
+ 400: {
6648
+ description: string;
6649
+ };
6650
+ 401: {
6651
+ description: string;
6652
+ };
6653
+ };
6654
+ security: ({
6655
+ access_token: never[];
6656
+ seam_workspace: never[];
6657
+ seam_client_session_token?: never;
6658
+ client_session_token?: never;
6659
+ } | {
6660
+ seam_client_session_token: never[];
6661
+ access_token?: never;
6662
+ seam_workspace?: never;
6663
+ client_session_token?: never;
6664
+ } | {
6665
+ client_session_token: never[];
6666
+ access_token?: never;
6667
+ seam_workspace?: never;
6668
+ seam_client_session_token?: never;
6669
+ })[];
6670
+ summary: string;
6671
+ tags: string[];
6672
+ 'x-fern-sdk-group-name': string[];
6673
+ 'x-fern-sdk-method-name': string;
6674
+ };
6675
+ };
6583
6676
  '/connect_webviews/create': {
6584
6677
  post: {
6585
6678
  operationId: string;
@@ -129,7 +129,12 @@ export default {
129
129
  acs_user_id: { format: 'uuid', type: 'string' },
130
130
  created_at: { format: 'date-time', type: 'string' },
131
131
  display_name: { type: 'string' },
132
- email: { format: 'email', type: 'string' },
132
+ email: {
133
+ description: 'Deprecated: use email_address.',
134
+ format: 'email',
135
+ type: 'string',
136
+ },
137
+ email_address: { format: 'email', type: 'string' },
133
138
  external_type: { enum: ['pti_user'], type: 'string' },
134
139
  external_type_display_name: { type: 'string' },
135
140
  full_name: { type: 'string' },
@@ -3524,7 +3529,11 @@ export default {
3524
3529
  type: 'array',
3525
3530
  },
3526
3531
  acs_system_id: { format: 'uuid', type: 'string' },
3527
- email: { format: 'email', type: 'string' },
3532
+ email: {
3533
+ description: 'Deprecated: use email_address.',
3534
+ format: 'email',
3535
+ type: 'string',
3536
+ },
3528
3537
  full_name: { type: 'string' },
3529
3538
  phone_number: { nullable: true, type: 'string' },
3530
3539
  },
@@ -3822,7 +3831,11 @@ export default {
3822
3831
  schema: {
3823
3832
  properties: {
3824
3833
  acs_user_id: { format: 'uuid', type: 'string' },
3825
- email: { format: 'email', type: 'string' },
3834
+ email: {
3835
+ description: 'Deprecated: use email_address.',
3836
+ format: 'email',
3837
+ type: 'string',
3838
+ },
3826
3839
  full_name: { type: 'string' },
3827
3840
  phone_number: { nullable: true, type: 'string' },
3828
3841
  },
@@ -3865,7 +3878,11 @@ export default {
3865
3878
  schema: {
3866
3879
  properties: {
3867
3880
  acs_user_id: { format: 'uuid', type: 'string' },
3868
- email: { format: 'email', type: 'string' },
3881
+ email: {
3882
+ description: 'Deprecated: use email_address.',
3883
+ format: 'email',
3884
+ type: 'string',
3885
+ },
3869
3886
  full_name: { type: 'string' },
3870
3887
  phone_number: { nullable: true, type: 'string' },
3871
3888
  },
@@ -4020,6 +4037,11 @@ export default {
4020
4037
  items: { type: 'string' },
4021
4038
  type: 'array',
4022
4039
  },
4040
+ expires_at: {
4041
+ format: 'date-time',
4042
+ nullable: true,
4043
+ type: 'string',
4044
+ },
4023
4045
  user_identifier_key: { minLength: 1, type: 'string' },
4024
4046
  },
4025
4047
  type: 'object',
@@ -4069,6 +4091,11 @@ export default {
4069
4091
  items: { type: 'string' },
4070
4092
  type: 'array',
4071
4093
  },
4094
+ expires_at: {
4095
+ format: 'date-time',
4096
+ nullable: true,
4097
+ type: 'string',
4098
+ },
4072
4099
  user_identifier_key: { minLength: 1, type: 'string' },
4073
4100
  },
4074
4101
  type: 'object',
@@ -4210,6 +4237,11 @@ export default {
4210
4237
  items: { type: 'string' },
4211
4238
  type: 'array',
4212
4239
  },
4240
+ expires_at: {
4241
+ format: 'date-time',
4242
+ nullable: true,
4243
+ type: 'string',
4244
+ },
4213
4245
  user_identifier_key: { minLength: 1, type: 'string' },
4214
4246
  },
4215
4247
  type: 'object',
@@ -4259,6 +4291,11 @@ export default {
4259
4291
  items: { type: 'string' },
4260
4292
  type: 'array',
4261
4293
  },
4294
+ expires_at: {
4295
+ format: 'date-time',
4296
+ nullable: true,
4297
+ type: 'string',
4298
+ },
4262
4299
  user_identifier_key: { minLength: 1, type: 'string' },
4263
4300
  },
4264
4301
  type: 'object',
@@ -4453,6 +4490,49 @@ export default {
4453
4490
  'x-fern-sdk-return-value': 'client_sessions',
4454
4491
  },
4455
4492
  },
4493
+ '/client_sessions/revoke': {
4494
+ post: {
4495
+ operationId: 'clientSessionsRevokePost',
4496
+ requestBody: {
4497
+ content: {
4498
+ 'application/json': {
4499
+ schema: {
4500
+ properties: {
4501
+ client_session_id: { format: 'uuid', type: 'string' },
4502
+ },
4503
+ required: ['client_session_id'],
4504
+ type: 'object',
4505
+ },
4506
+ },
4507
+ },
4508
+ },
4509
+ responses: {
4510
+ 200: {
4511
+ content: {
4512
+ 'application/json': {
4513
+ schema: {
4514
+ properties: { ok: { type: 'boolean' } },
4515
+ required: ['ok'],
4516
+ type: 'object',
4517
+ },
4518
+ },
4519
+ },
4520
+ description: 'OK',
4521
+ },
4522
+ 400: { description: 'Bad Request' },
4523
+ 401: { description: 'Unauthorized' },
4524
+ },
4525
+ security: [
4526
+ { access_token: [], seam_workspace: [] },
4527
+ { seam_client_session_token: [] },
4528
+ { client_session_token: [] },
4529
+ ],
4530
+ summary: '/client_sessions/revoke',
4531
+ tags: ['/client_sessions'],
4532
+ 'x-fern-sdk-group-name': ['client_sessions'],
4533
+ 'x-fern-sdk-method-name': 'revoke',
4534
+ },
4535
+ },
4456
4536
  '/connect_webviews/create': {
4457
4537
  post: {
4458
4538
  operationId: 'connectWebviewsCreatePost',