@seamapi/types 1.385.0 → 1.386.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.
@@ -9299,6 +9299,27 @@ declare const _default: {
9299
9299
  type: string;
9300
9300
  'x-deprecated': string;
9301
9301
  };
9302
+ connect_webview_customization: {
9303
+ properties: {
9304
+ inviter_logo_url: {
9305
+ type: string;
9306
+ };
9307
+ logo_shape: {
9308
+ enum: string[];
9309
+ type: string;
9310
+ };
9311
+ primary_button_color: {
9312
+ type: string;
9313
+ };
9314
+ primary_button_text_color: {
9315
+ type: string;
9316
+ };
9317
+ success_message: {
9318
+ type: string;
9319
+ };
9320
+ };
9321
+ type: string;
9322
+ };
9302
9323
  is_sandbox: {
9303
9324
  type: string;
9304
9325
  };
@@ -19721,7 +19742,8 @@ declare const _default: {
19721
19742
  'x-action-attempt-type': string;
19722
19743
  'x-fern-sdk-group-name': string[];
19723
19744
  'x-fern-sdk-method-name': string;
19724
- 'x-response-key': null;
19745
+ 'x-fern-sdk-return-value': string;
19746
+ 'x-response-key': string;
19725
19747
  'x-undocumented': string;
19726
19748
  };
19727
19749
  };
@@ -27040,6 +27062,12 @@ declare const _default: {
27040
27062
  'application/json': {
27041
27063
  schema: {
27042
27064
  properties: {
27065
+ max_use_count: {
27066
+ default: number;
27067
+ description: string;
27068
+ format: string;
27069
+ type: string;
27070
+ };
27043
27071
  user_identity_id: {
27044
27072
  description: string;
27045
27073
  format: string;
@@ -28405,6 +28433,28 @@ declare const _default: {
28405
28433
  type: string;
28406
28434
  'x-deprecated': string;
28407
28435
  };
28436
+ connect_webview_customization: {
28437
+ properties: {
28438
+ logo_shape: {
28439
+ enum: string[];
28440
+ nullable: boolean;
28441
+ type: string;
28442
+ };
28443
+ primary_button_color: {
28444
+ nullable: boolean;
28445
+ type: string;
28446
+ };
28447
+ primary_button_text_color: {
28448
+ nullable: boolean;
28449
+ type: string;
28450
+ };
28451
+ success_message: {
28452
+ nullable: boolean;
28453
+ type: string;
28454
+ };
28455
+ };
28456
+ type: string;
28457
+ };
28408
28458
  is_sandbox: {
28409
28459
  default: boolean;
28410
28460
  type: string;
@@ -28413,17 +28463,25 @@ declare const _default: {
28413
28463
  type: string;
28414
28464
  };
28415
28465
  webview_logo_shape: {
28466
+ deprecated: boolean;
28416
28467
  enum: string[];
28417
28468
  type: string;
28469
+ 'x-deprecated': string;
28418
28470
  };
28419
28471
  webview_primary_button_color: {
28472
+ deprecated: boolean;
28420
28473
  type: string;
28474
+ 'x-deprecated': string;
28421
28475
  };
28422
28476
  webview_primary_button_text_color: {
28477
+ deprecated: boolean;
28423
28478
  type: string;
28479
+ 'x-deprecated': string;
28424
28480
  };
28425
28481
  webview_success_message: {
28482
+ deprecated: boolean;
28426
28483
  type: string;
28484
+ 'x-deprecated': string;
28427
28485
  };
28428
28486
  };
28429
28487
  required: string[];
@@ -28810,6 +28868,155 @@ declare const _default: {
28810
28868
  'x-response-key': string;
28811
28869
  };
28812
28870
  };
28871
+ '/workspaces/update': {
28872
+ patch: {
28873
+ operationId: string;
28874
+ requestBody: {
28875
+ content: {
28876
+ 'application/json': {
28877
+ schema: {
28878
+ properties: {
28879
+ connect_partner_name: {
28880
+ type: string;
28881
+ };
28882
+ connect_webview_customization: {
28883
+ properties: {
28884
+ logo_shape: {
28885
+ enum: string[];
28886
+ nullable: boolean;
28887
+ type: string;
28888
+ };
28889
+ primary_button_color: {
28890
+ nullable: boolean;
28891
+ type: string;
28892
+ };
28893
+ primary_button_text_color: {
28894
+ nullable: boolean;
28895
+ type: string;
28896
+ };
28897
+ success_message: {
28898
+ nullable: boolean;
28899
+ type: string;
28900
+ };
28901
+ };
28902
+ type: string;
28903
+ };
28904
+ is_suspended: {
28905
+ type: string;
28906
+ };
28907
+ name: {
28908
+ type: string;
28909
+ };
28910
+ };
28911
+ type: string;
28912
+ };
28913
+ };
28914
+ };
28915
+ };
28916
+ responses: {
28917
+ 200: {
28918
+ description: string;
28919
+ };
28920
+ 400: {
28921
+ description: string;
28922
+ };
28923
+ 401: {
28924
+ description: string;
28925
+ };
28926
+ };
28927
+ security: ({
28928
+ api_key: never[];
28929
+ console_session_with_workspace?: never;
28930
+ pat_with_workspace?: never;
28931
+ } | {
28932
+ console_session_with_workspace: never[];
28933
+ api_key?: never;
28934
+ pat_with_workspace?: never;
28935
+ } | {
28936
+ pat_with_workspace: never[];
28937
+ api_key?: never;
28938
+ console_session_with_workspace?: never;
28939
+ })[];
28940
+ summary: string;
28941
+ tags: string[];
28942
+ 'x-fern-ignore': boolean;
28943
+ 'x-response-key': null;
28944
+ };
28945
+ post: {
28946
+ operationId: string;
28947
+ requestBody: {
28948
+ content: {
28949
+ 'application/json': {
28950
+ schema: {
28951
+ properties: {
28952
+ connect_partner_name: {
28953
+ type: string;
28954
+ };
28955
+ connect_webview_customization: {
28956
+ properties: {
28957
+ logo_shape: {
28958
+ enum: string[];
28959
+ nullable: boolean;
28960
+ type: string;
28961
+ };
28962
+ primary_button_color: {
28963
+ nullable: boolean;
28964
+ type: string;
28965
+ };
28966
+ primary_button_text_color: {
28967
+ nullable: boolean;
28968
+ type: string;
28969
+ };
28970
+ success_message: {
28971
+ nullable: boolean;
28972
+ type: string;
28973
+ };
28974
+ };
28975
+ type: string;
28976
+ };
28977
+ is_suspended: {
28978
+ type: string;
28979
+ };
28980
+ name: {
28981
+ type: string;
28982
+ };
28983
+ };
28984
+ type: string;
28985
+ };
28986
+ };
28987
+ };
28988
+ };
28989
+ responses: {
28990
+ 200: {
28991
+ description: string;
28992
+ };
28993
+ 400: {
28994
+ description: string;
28995
+ };
28996
+ 401: {
28997
+ description: string;
28998
+ };
28999
+ };
29000
+ security: ({
29001
+ api_key: never[];
29002
+ console_session_with_workspace?: never;
29003
+ pat_with_workspace?: never;
29004
+ } | {
29005
+ console_session_with_workspace: never[];
29006
+ api_key?: never;
29007
+ pat_with_workspace?: never;
29008
+ } | {
29009
+ pat_with_workspace: never[];
29010
+ api_key?: never;
29011
+ console_session_with_workspace?: never;
29012
+ })[];
29013
+ summary: string;
29014
+ tags: string[];
29015
+ 'x-fern-sdk-group-name': string[];
29016
+ 'x-fern-sdk-method-name': string;
29017
+ 'x-response-key': null;
29018
+ };
29019
+ };
28813
29020
  };
28814
29021
  servers: {
28815
29022
  url: string;
@@ -16036,6 +16036,16 @@ export default {
16036
16036
  type: 'string',
16037
16037
  'x-deprecated': 'use company_name',
16038
16038
  },
16039
+ connect_webview_customization: {
16040
+ properties: {
16041
+ inviter_logo_url: { type: 'string' },
16042
+ logo_shape: { enum: ['circle', 'square'], type: 'string' },
16043
+ primary_button_color: { type: 'string' },
16044
+ primary_button_text_color: { type: 'string' },
16045
+ success_message: { type: 'string' },
16046
+ },
16047
+ type: 'object',
16048
+ },
16039
16049
  is_sandbox: { type: 'boolean' },
16040
16050
  is_suspended: {
16041
16051
  description: 'True if a sandbox workspace has not been accessed in 14 days',
@@ -16049,6 +16059,7 @@ export default {
16049
16059
  'name',
16050
16060
  'company_name',
16051
16061
  'is_sandbox',
16062
+ 'connect_webview_customization',
16052
16063
  'is_suspended',
16053
16064
  'connect_partner_name',
16054
16065
  ],
@@ -24443,11 +24454,11 @@ export default {
24443
24454
  schema: {
24444
24455
  properties: {
24445
24456
  action_attempt: {
24446
- $ref: '#/components/schemas/access_code',
24457
+ $ref: '#/components/schemas/action_attempt',
24447
24458
  },
24448
24459
  ok: { type: 'boolean' },
24449
24460
  },
24450
- required: ['ok'],
24461
+ required: ['action_attempt', 'ok'],
24451
24462
  type: 'object',
24452
24463
  },
24453
24464
  },
@@ -24493,11 +24504,11 @@ export default {
24493
24504
  schema: {
24494
24505
  properties: {
24495
24506
  action_attempt: {
24496
- $ref: '#/components/schemas/access_code',
24507
+ $ref: '#/components/schemas/action_attempt',
24497
24508
  },
24498
24509
  ok: { type: 'boolean' },
24499
24510
  },
24500
- required: ['ok'],
24511
+ required: ['action_attempt', 'ok'],
24501
24512
  type: 'object',
24502
24513
  },
24503
24514
  },
@@ -24517,7 +24528,8 @@ export default {
24517
24528
  'x-action-attempt-type': 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD',
24518
24529
  'x-fern-sdk-group-name': ['locks', 'simulate'],
24519
24530
  'x-fern-sdk-method-name': 'manual_lock_via_keypad',
24520
- 'x-response-key': null,
24531
+ 'x-fern-sdk-return-value': 'action_attempt',
24532
+ 'x-response-key': 'action_attempt',
24521
24533
  'x-undocumented': 'Unreleased.',
24522
24534
  },
24523
24535
  },
@@ -30545,6 +30557,12 @@ export default {
30545
30557
  'application/json': {
30546
30558
  schema: {
30547
30559
  properties: {
30560
+ max_use_count: {
30561
+ default: 1,
30562
+ description: 'The maximum number of times the instant key can be used. Defaults to 1.',
30563
+ format: 'float',
30564
+ type: 'number',
30565
+ },
30548
30566
  user_identity_id: {
30549
30567
  description: 'ID of the user identity for which you want to generate an instant key.',
30550
30568
  format: 'uuid',
@@ -31552,15 +31570,45 @@ export default {
31552
31570
  type: 'string',
31553
31571
  'x-deprecated': 'use company_name',
31554
31572
  },
31573
+ connect_webview_customization: {
31574
+ properties: {
31575
+ logo_shape: {
31576
+ enum: ['circle', 'square'],
31577
+ nullable: true,
31578
+ type: 'string',
31579
+ },
31580
+ primary_button_color: { nullable: true, type: 'string' },
31581
+ primary_button_text_color: {
31582
+ nullable: true,
31583
+ type: 'string',
31584
+ },
31585
+ success_message: { nullable: true, type: 'string' },
31586
+ },
31587
+ type: 'object',
31588
+ },
31555
31589
  is_sandbox: { default: false, type: 'boolean' },
31556
31590
  name: { type: 'string' },
31557
31591
  webview_logo_shape: {
31592
+ deprecated: true,
31558
31593
  enum: ['circle', 'square'],
31559
31594
  type: 'string',
31595
+ 'x-deprecated': 'Use `connect_webview_customization.webview_logo_shape` instead.',
31596
+ },
31597
+ webview_primary_button_color: {
31598
+ deprecated: true,
31599
+ type: 'string',
31600
+ 'x-deprecated': 'Use `connect_webview_customization.webview_primary_button_color` instead.',
31601
+ },
31602
+ webview_primary_button_text_color: {
31603
+ deprecated: true,
31604
+ type: 'string',
31605
+ 'x-deprecated': 'Use `connect_webview_customization.webview_primary_button_text_color` instead.',
31606
+ },
31607
+ webview_success_message: {
31608
+ deprecated: true,
31609
+ type: 'string',
31610
+ 'x-deprecated': 'Use `connect_webview_customization.webview_success_message` instead.',
31560
31611
  },
31561
- webview_primary_button_color: { type: 'string' },
31562
- webview_primary_button_text_color: { type: 'string' },
31563
- webview_success_message: { type: 'string' },
31564
31612
  },
31565
31613
  required: ['name'],
31566
31614
  type: 'object',
@@ -31784,6 +31832,103 @@ export default {
31784
31832
  'x-response-key': 'action_attempt',
31785
31833
  },
31786
31834
  },
31835
+ '/workspaces/update': {
31836
+ patch: {
31837
+ operationId: 'workspacesUpdatePatch',
31838
+ requestBody: {
31839
+ content: {
31840
+ 'application/json': {
31841
+ schema: {
31842
+ properties: {
31843
+ connect_partner_name: { type: 'string' },
31844
+ connect_webview_customization: {
31845
+ properties: {
31846
+ logo_shape: {
31847
+ enum: ['circle', 'square'],
31848
+ nullable: true,
31849
+ type: 'string',
31850
+ },
31851
+ primary_button_color: { nullable: true, type: 'string' },
31852
+ primary_button_text_color: {
31853
+ nullable: true,
31854
+ type: 'string',
31855
+ },
31856
+ success_message: { nullable: true, type: 'string' },
31857
+ },
31858
+ type: 'object',
31859
+ },
31860
+ is_suspended: { type: 'boolean' },
31861
+ name: { type: 'string' },
31862
+ },
31863
+ type: 'object',
31864
+ },
31865
+ },
31866
+ },
31867
+ },
31868
+ responses: {
31869
+ 200: { description: 'OK' },
31870
+ 400: { description: 'Bad Request' },
31871
+ 401: { description: 'Unauthorized' },
31872
+ },
31873
+ security: [
31874
+ { api_key: [] },
31875
+ { console_session_with_workspace: [] },
31876
+ { pat_with_workspace: [] },
31877
+ ],
31878
+ summary: '/workspaces/update',
31879
+ tags: ['/workspaces'],
31880
+ 'x-fern-ignore': true,
31881
+ 'x-response-key': null,
31882
+ },
31883
+ post: {
31884
+ operationId: 'workspacesUpdatePost',
31885
+ requestBody: {
31886
+ content: {
31887
+ 'application/json': {
31888
+ schema: {
31889
+ properties: {
31890
+ connect_partner_name: { type: 'string' },
31891
+ connect_webview_customization: {
31892
+ properties: {
31893
+ logo_shape: {
31894
+ enum: ['circle', 'square'],
31895
+ nullable: true,
31896
+ type: 'string',
31897
+ },
31898
+ primary_button_color: { nullable: true, type: 'string' },
31899
+ primary_button_text_color: {
31900
+ nullable: true,
31901
+ type: 'string',
31902
+ },
31903
+ success_message: { nullable: true, type: 'string' },
31904
+ },
31905
+ type: 'object',
31906
+ },
31907
+ is_suspended: { type: 'boolean' },
31908
+ name: { type: 'string' },
31909
+ },
31910
+ type: 'object',
31911
+ },
31912
+ },
31913
+ },
31914
+ },
31915
+ responses: {
31916
+ 200: { description: 'OK' },
31917
+ 400: { description: 'Bad Request' },
31918
+ 401: { description: 'Unauthorized' },
31919
+ },
31920
+ security: [
31921
+ { api_key: [] },
31922
+ { console_session_with_workspace: [] },
31923
+ { pat_with_workspace: [] },
31924
+ ],
31925
+ summary: '/workspaces/update',
31926
+ tags: ['/workspaces'],
31927
+ 'x-fern-sdk-group-name': ['workspaces'],
31928
+ 'x-fern-sdk-method-name': 'update',
31929
+ 'x-response-key': null,
31930
+ },
31931
+ },
31787
31932
  },
31788
31933
  servers: [{ url: 'https://connect.getseam.com' }],
31789
31934
  tags: [