@seamapi/types 1.52.0 → 1.53.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.
@@ -259,6 +259,10 @@ declare const _default: {
259
259
  description: string;
260
260
  type: string;
261
261
  };
262
+ workspace_id: {
263
+ format: string;
264
+ type: string;
265
+ };
262
266
  };
263
267
  required: string[];
264
268
  type: string;
@@ -5387,20 +5391,25 @@ declare const _default: {
5387
5391
  };
5388
5392
  };
5389
5393
  security: ({
5390
- access_token: never[];
5391
- seam_workspace: never[];
5392
- seam_client_session_token?: never;
5393
- client_session_token?: never;
5394
+ api_key: never[];
5395
+ client_session?: never;
5396
+ pat_with_workspace?: never;
5397
+ console_session?: never;
5394
5398
  } | {
5395
- seam_client_session_token: never[];
5396
- access_token?: never;
5397
- seam_workspace?: never;
5398
- client_session_token?: never;
5399
+ client_session: never[];
5400
+ api_key?: never;
5401
+ pat_with_workspace?: never;
5402
+ console_session?: never;
5399
5403
  } | {
5400
- client_session_token: never[];
5401
- access_token?: never;
5402
- seam_workspace?: never;
5403
- seam_client_session_token?: never;
5404
+ pat_with_workspace: never[];
5405
+ api_key?: never;
5406
+ client_session?: never;
5407
+ console_session?: never;
5408
+ } | {
5409
+ console_session: never[];
5410
+ api_key?: never;
5411
+ client_session?: never;
5412
+ pat_with_workspace?: never;
5404
5413
  })[];
5405
5414
  summary: string;
5406
5415
  tags: never[];
@@ -12484,6 +12493,188 @@ declare const _default: {
12484
12493
  'x-fern-ignore': boolean;
12485
12494
  };
12486
12495
  };
12496
+ '/user_identities/list': {
12497
+ get: {
12498
+ operationId: string;
12499
+ responses: {
12500
+ 200: {
12501
+ content: {
12502
+ 'application/json': {
12503
+ schema: {
12504
+ properties: {
12505
+ ok: {
12506
+ type: string;
12507
+ };
12508
+ user_identities: {
12509
+ items: {
12510
+ properties: {
12511
+ created_at: {
12512
+ format: string;
12513
+ type: string;
12514
+ };
12515
+ email_address: {
12516
+ format: string;
12517
+ nullable: boolean;
12518
+ type: string;
12519
+ };
12520
+ first_name: {
12521
+ nullable: boolean;
12522
+ type: string;
12523
+ };
12524
+ last_name: {
12525
+ nullable: boolean;
12526
+ type: string;
12527
+ };
12528
+ user_identity_id: {
12529
+ format: string;
12530
+ type: string;
12531
+ };
12532
+ user_identity_key: {
12533
+ nullable: boolean;
12534
+ type: string;
12535
+ };
12536
+ workspace_id: {
12537
+ format: string;
12538
+ type: string;
12539
+ };
12540
+ };
12541
+ required: string[];
12542
+ type: string;
12543
+ };
12544
+ type: string;
12545
+ };
12546
+ };
12547
+ required: string[];
12548
+ type: string;
12549
+ };
12550
+ };
12551
+ };
12552
+ description: string;
12553
+ };
12554
+ 400: {
12555
+ description: string;
12556
+ };
12557
+ 401: {
12558
+ description: string;
12559
+ };
12560
+ };
12561
+ security: ({
12562
+ api_key: never[];
12563
+ client_session?: never;
12564
+ pat_with_workspace?: never;
12565
+ console_session?: never;
12566
+ } | {
12567
+ client_session: never[];
12568
+ api_key?: never;
12569
+ pat_with_workspace?: never;
12570
+ console_session?: never;
12571
+ } | {
12572
+ pat_with_workspace: never[];
12573
+ api_key?: never;
12574
+ client_session?: never;
12575
+ console_session?: never;
12576
+ } | {
12577
+ console_session: never[];
12578
+ api_key?: never;
12579
+ client_session?: never;
12580
+ pat_with_workspace?: never;
12581
+ })[];
12582
+ summary: string;
12583
+ tags: never[];
12584
+ 'x-fern-ignore': boolean;
12585
+ };
12586
+ post: {
12587
+ operationId: string;
12588
+ responses: {
12589
+ 200: {
12590
+ content: {
12591
+ 'application/json': {
12592
+ schema: {
12593
+ properties: {
12594
+ ok: {
12595
+ type: string;
12596
+ };
12597
+ user_identities: {
12598
+ items: {
12599
+ properties: {
12600
+ created_at: {
12601
+ format: string;
12602
+ type: string;
12603
+ };
12604
+ email_address: {
12605
+ format: string;
12606
+ nullable: boolean;
12607
+ type: string;
12608
+ };
12609
+ first_name: {
12610
+ nullable: boolean;
12611
+ type: string;
12612
+ };
12613
+ last_name: {
12614
+ nullable: boolean;
12615
+ type: string;
12616
+ };
12617
+ user_identity_id: {
12618
+ format: string;
12619
+ type: string;
12620
+ };
12621
+ user_identity_key: {
12622
+ nullable: boolean;
12623
+ type: string;
12624
+ };
12625
+ workspace_id: {
12626
+ format: string;
12627
+ type: string;
12628
+ };
12629
+ };
12630
+ required: string[];
12631
+ type: string;
12632
+ };
12633
+ type: string;
12634
+ };
12635
+ };
12636
+ required: string[];
12637
+ type: string;
12638
+ };
12639
+ };
12640
+ };
12641
+ description: string;
12642
+ };
12643
+ 400: {
12644
+ description: string;
12645
+ };
12646
+ 401: {
12647
+ description: string;
12648
+ };
12649
+ };
12650
+ security: ({
12651
+ api_key: never[];
12652
+ client_session?: never;
12653
+ pat_with_workspace?: never;
12654
+ console_session?: never;
12655
+ } | {
12656
+ client_session: never[];
12657
+ api_key?: never;
12658
+ pat_with_workspace?: never;
12659
+ console_session?: never;
12660
+ } | {
12661
+ pat_with_workspace: never[];
12662
+ api_key?: never;
12663
+ client_session?: never;
12664
+ console_session?: never;
12665
+ } | {
12666
+ console_session: never[];
12667
+ api_key?: never;
12668
+ client_session?: never;
12669
+ pat_with_workspace?: never;
12670
+ })[];
12671
+ summary: string;
12672
+ tags: never[];
12673
+ 'x-fern-sdk-group-name': string[];
12674
+ 'x-fern-sdk-method-name': string;
12675
+ 'x-fern-sdk-return-value': string;
12676
+ };
12677
+ };
12487
12678
  '/user_identities/list_accessible_devices': {
12488
12679
  post: {
12489
12680
  operationId: string;
@@ -14346,6 +14537,7 @@ interface Routes {
14346
14537
  system_type_display_name: string;
14347
14538
  name: string;
14348
14539
  created_at: string;
14540
+ workspace_id: string;
14349
14541
  connected_account_ids: string[];
14350
14542
  };
14351
14543
  };
@@ -14370,6 +14562,7 @@ interface Routes {
14370
14562
  system_type_display_name: string;
14371
14563
  name: string;
14372
14564
  created_at: string;
14565
+ workspace_id: string;
14373
14566
  connected_account_ids: string[];
14374
14567
  }>;
14375
14568
  };
@@ -19286,6 +19479,25 @@ interface Routes {
19286
19479
  formData: {};
19287
19480
  jsonResponse: {};
19288
19481
  };
19482
+ '/user_identities/list': {
19483
+ route: '/user_identities/list';
19484
+ method: 'GET' | 'POST';
19485
+ queryParams: {};
19486
+ jsonBody: {};
19487
+ commonParams: {};
19488
+ formData: {};
19489
+ jsonResponse: {
19490
+ user_identities: Array<{
19491
+ user_identity_id: string;
19492
+ user_identity_key?: (string | null) | undefined;
19493
+ email_address?: (string | null) | undefined;
19494
+ first_name?: (string | null) | undefined;
19495
+ last_name?: (string | null) | undefined;
19496
+ created_at: string;
19497
+ workspace_id: string;
19498
+ }>;
19499
+ };
19500
+ };
19289
19501
  '/user_identities/list_accessible_devices': {
19290
19502
  route: '/user_identities/list_accessible_devices';
19291
19503
  method: 'GET' | 'POST';
@@ -182,6 +182,10 @@ declare const _default: {
182
182
  description: string;
183
183
  type: string;
184
184
  };
185
+ workspace_id: {
186
+ format: string;
187
+ type: string;
188
+ };
185
189
  };
186
190
  required: string[];
187
191
  type: string;
@@ -5310,20 +5314,25 @@ declare const _default: {
5310
5314
  };
5311
5315
  };
5312
5316
  security: ({
5313
- access_token: never[];
5314
- seam_workspace: never[];
5315
- seam_client_session_token?: never;
5316
- client_session_token?: never;
5317
+ api_key: never[];
5318
+ client_session?: never;
5319
+ pat_with_workspace?: never;
5320
+ console_session?: never;
5317
5321
  } | {
5318
- seam_client_session_token: never[];
5319
- access_token?: never;
5320
- seam_workspace?: never;
5321
- client_session_token?: never;
5322
+ client_session: never[];
5323
+ api_key?: never;
5324
+ pat_with_workspace?: never;
5325
+ console_session?: never;
5322
5326
  } | {
5323
- client_session_token: never[];
5324
- access_token?: never;
5325
- seam_workspace?: never;
5326
- seam_client_session_token?: never;
5327
+ pat_with_workspace: never[];
5328
+ api_key?: never;
5329
+ client_session?: never;
5330
+ console_session?: never;
5331
+ } | {
5332
+ console_session: never[];
5333
+ api_key?: never;
5334
+ client_session?: never;
5335
+ pat_with_workspace?: never;
5327
5336
  })[];
5328
5337
  summary: string;
5329
5338
  tags: never[];
@@ -12407,6 +12416,188 @@ declare const _default: {
12407
12416
  'x-fern-ignore': boolean;
12408
12417
  };
12409
12418
  };
12419
+ '/user_identities/list': {
12420
+ get: {
12421
+ operationId: string;
12422
+ responses: {
12423
+ 200: {
12424
+ content: {
12425
+ 'application/json': {
12426
+ schema: {
12427
+ properties: {
12428
+ ok: {
12429
+ type: string;
12430
+ };
12431
+ user_identities: {
12432
+ items: {
12433
+ properties: {
12434
+ created_at: {
12435
+ format: string;
12436
+ type: string;
12437
+ };
12438
+ email_address: {
12439
+ format: string;
12440
+ nullable: boolean;
12441
+ type: string;
12442
+ };
12443
+ first_name: {
12444
+ nullable: boolean;
12445
+ type: string;
12446
+ };
12447
+ last_name: {
12448
+ nullable: boolean;
12449
+ type: string;
12450
+ };
12451
+ user_identity_id: {
12452
+ format: string;
12453
+ type: string;
12454
+ };
12455
+ user_identity_key: {
12456
+ nullable: boolean;
12457
+ type: string;
12458
+ };
12459
+ workspace_id: {
12460
+ format: string;
12461
+ type: string;
12462
+ };
12463
+ };
12464
+ required: string[];
12465
+ type: string;
12466
+ };
12467
+ type: string;
12468
+ };
12469
+ };
12470
+ required: string[];
12471
+ type: string;
12472
+ };
12473
+ };
12474
+ };
12475
+ description: string;
12476
+ };
12477
+ 400: {
12478
+ description: string;
12479
+ };
12480
+ 401: {
12481
+ description: string;
12482
+ };
12483
+ };
12484
+ security: ({
12485
+ api_key: never[];
12486
+ client_session?: never;
12487
+ pat_with_workspace?: never;
12488
+ console_session?: never;
12489
+ } | {
12490
+ client_session: never[];
12491
+ api_key?: never;
12492
+ pat_with_workspace?: never;
12493
+ console_session?: never;
12494
+ } | {
12495
+ pat_with_workspace: never[];
12496
+ api_key?: never;
12497
+ client_session?: never;
12498
+ console_session?: never;
12499
+ } | {
12500
+ console_session: never[];
12501
+ api_key?: never;
12502
+ client_session?: never;
12503
+ pat_with_workspace?: never;
12504
+ })[];
12505
+ summary: string;
12506
+ tags: never[];
12507
+ 'x-fern-ignore': boolean;
12508
+ };
12509
+ post: {
12510
+ operationId: string;
12511
+ responses: {
12512
+ 200: {
12513
+ content: {
12514
+ 'application/json': {
12515
+ schema: {
12516
+ properties: {
12517
+ ok: {
12518
+ type: string;
12519
+ };
12520
+ user_identities: {
12521
+ items: {
12522
+ properties: {
12523
+ created_at: {
12524
+ format: string;
12525
+ type: string;
12526
+ };
12527
+ email_address: {
12528
+ format: string;
12529
+ nullable: boolean;
12530
+ type: string;
12531
+ };
12532
+ first_name: {
12533
+ nullable: boolean;
12534
+ type: string;
12535
+ };
12536
+ last_name: {
12537
+ nullable: boolean;
12538
+ type: string;
12539
+ };
12540
+ user_identity_id: {
12541
+ format: string;
12542
+ type: string;
12543
+ };
12544
+ user_identity_key: {
12545
+ nullable: boolean;
12546
+ type: string;
12547
+ };
12548
+ workspace_id: {
12549
+ format: string;
12550
+ type: string;
12551
+ };
12552
+ };
12553
+ required: string[];
12554
+ type: string;
12555
+ };
12556
+ type: string;
12557
+ };
12558
+ };
12559
+ required: string[];
12560
+ type: string;
12561
+ };
12562
+ };
12563
+ };
12564
+ description: string;
12565
+ };
12566
+ 400: {
12567
+ description: string;
12568
+ };
12569
+ 401: {
12570
+ description: string;
12571
+ };
12572
+ };
12573
+ security: ({
12574
+ api_key: never[];
12575
+ client_session?: never;
12576
+ pat_with_workspace?: never;
12577
+ console_session?: never;
12578
+ } | {
12579
+ client_session: never[];
12580
+ api_key?: never;
12581
+ pat_with_workspace?: never;
12582
+ console_session?: never;
12583
+ } | {
12584
+ pat_with_workspace: never[];
12585
+ api_key?: never;
12586
+ client_session?: never;
12587
+ console_session?: never;
12588
+ } | {
12589
+ console_session: never[];
12590
+ api_key?: never;
12591
+ client_session?: never;
12592
+ pat_with_workspace?: never;
12593
+ })[];
12594
+ summary: string;
12595
+ tags: never[];
12596
+ 'x-fern-sdk-group-name': string[];
12597
+ 'x-fern-sdk-method-name': string;
12598
+ 'x-fern-sdk-return-value': string;
12599
+ };
12600
+ };
12410
12601
  '/user_identities/list_accessible_devices': {
12411
12602
  post: {
12412
12603
  operationId: string;
@@ -197,6 +197,7 @@ export default {
197
197
  description: 'deprecated: use external_type_display_name',
198
198
  type: 'string',
199
199
  },
200
+ workspace_id: { format: 'uuid', type: 'string' },
200
201
  },
201
202
  required: [
202
203
  'acs_system_id',
@@ -206,6 +207,7 @@ export default {
206
207
  'system_type_display_name',
207
208
  'name',
208
209
  'created_at',
210
+ 'workspace_id',
209
211
  'connected_account_ids',
210
212
  ],
211
213
  type: 'object',
@@ -3841,9 +3843,10 @@ export default {
3841
3843
  401: { description: 'Unauthorized' },
3842
3844
  },
3843
3845
  security: [
3844
- { access_token: [], seam_workspace: [] },
3845
- { seam_client_session_token: [] },
3846
- { client_session_token: [] },
3846
+ { api_key: [] },
3847
+ { client_session: [] },
3848
+ { pat_with_workspace: [] },
3849
+ { console_session: [] },
3847
3850
  ],
3848
3851
  summary: '/acs/credentials/list',
3849
3852
  tags: [],
@@ -9131,6 +9134,118 @@ export default {
9131
9134
  'x-fern-ignore': true,
9132
9135
  },
9133
9136
  },
9137
+ '/user_identities/list': {
9138
+ get: {
9139
+ operationId: 'userIdentitiesListGet',
9140
+ responses: {
9141
+ 200: {
9142
+ content: {
9143
+ 'application/json': {
9144
+ schema: {
9145
+ properties: {
9146
+ ok: { type: 'boolean' },
9147
+ user_identities: {
9148
+ items: {
9149
+ properties: {
9150
+ created_at: { format: 'date-time', type: 'string' },
9151
+ email_address: {
9152
+ format: 'email',
9153
+ nullable: true,
9154
+ type: 'string',
9155
+ },
9156
+ first_name: { nullable: true, type: 'string' },
9157
+ last_name: { nullable: true, type: 'string' },
9158
+ user_identity_id: { format: 'uuid', type: 'string' },
9159
+ user_identity_key: { nullable: true, type: 'string' },
9160
+ workspace_id: { format: 'uuid', type: 'string' },
9161
+ },
9162
+ required: [
9163
+ 'user_identity_id',
9164
+ 'created_at',
9165
+ 'workspace_id',
9166
+ ],
9167
+ type: 'object',
9168
+ },
9169
+ type: 'array',
9170
+ },
9171
+ },
9172
+ required: ['user_identities', 'ok'],
9173
+ type: 'object',
9174
+ },
9175
+ },
9176
+ },
9177
+ description: 'OK',
9178
+ },
9179
+ 400: { description: 'Bad Request' },
9180
+ 401: { description: 'Unauthorized' },
9181
+ },
9182
+ security: [
9183
+ { api_key: [] },
9184
+ { client_session: [] },
9185
+ { pat_with_workspace: [] },
9186
+ { console_session: [] },
9187
+ ],
9188
+ summary: '/user_identities/list',
9189
+ tags: [],
9190
+ 'x-fern-ignore': true,
9191
+ },
9192
+ post: {
9193
+ operationId: 'userIdentitiesListPost',
9194
+ responses: {
9195
+ 200: {
9196
+ content: {
9197
+ 'application/json': {
9198
+ schema: {
9199
+ properties: {
9200
+ ok: { type: 'boolean' },
9201
+ user_identities: {
9202
+ items: {
9203
+ properties: {
9204
+ created_at: { format: 'date-time', type: 'string' },
9205
+ email_address: {
9206
+ format: 'email',
9207
+ nullable: true,
9208
+ type: 'string',
9209
+ },
9210
+ first_name: { nullable: true, type: 'string' },
9211
+ last_name: { nullable: true, type: 'string' },
9212
+ user_identity_id: { format: 'uuid', type: 'string' },
9213
+ user_identity_key: { nullable: true, type: 'string' },
9214
+ workspace_id: { format: 'uuid', type: 'string' },
9215
+ },
9216
+ required: [
9217
+ 'user_identity_id',
9218
+ 'created_at',
9219
+ 'workspace_id',
9220
+ ],
9221
+ type: 'object',
9222
+ },
9223
+ type: 'array',
9224
+ },
9225
+ },
9226
+ required: ['user_identities', 'ok'],
9227
+ type: 'object',
9228
+ },
9229
+ },
9230
+ },
9231
+ description: 'OK',
9232
+ },
9233
+ 400: { description: 'Bad Request' },
9234
+ 401: { description: 'Unauthorized' },
9235
+ },
9236
+ security: [
9237
+ { api_key: [] },
9238
+ { client_session: [] },
9239
+ { pat_with_workspace: [] },
9240
+ { console_session: [] },
9241
+ ],
9242
+ summary: '/user_identities/list',
9243
+ tags: [],
9244
+ 'x-fern-sdk-group-name': ['user_identities'],
9245
+ 'x-fern-sdk-method-name': 'list',
9246
+ 'x-fern-sdk-return-value': 'user_identities',
9247
+ },
9248
+ },
9134
9249
  '/user_identities/list_accessible_devices': {
9135
9250
  post: {
9136
9251
  operationId: 'userIdentitiesListAccessibleDevicesPost',