@seamapi/types 1.410.2 → 1.411.1

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.
@@ -21200,11 +21200,11 @@ declare const pagination: z.ZodObject<{
21200
21200
  }>;
21201
21201
  type Pagination = z.infer<typeof pagination>;
21202
21202
 
21203
- declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21203
+ declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
21204
21204
  type BuildingBlockType = z.infer<typeof building_block_type>;
21205
21205
  declare const magic_link: z.ZodObject<{
21206
21206
  url: z.ZodString;
21207
- building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21207
+ building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces", "console"]>;
21208
21208
  customer_key: z.ZodString;
21209
21209
  expires_at: z.ZodString;
21210
21210
  workspace_id: z.ZodString;
@@ -21214,14 +21214,14 @@ declare const magic_link: z.ZodObject<{
21214
21214
  created_at: string;
21215
21215
  url: string;
21216
21216
  expires_at: string;
21217
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21217
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
21218
21218
  customer_key: string;
21219
21219
  }, {
21220
21220
  workspace_id: string;
21221
21221
  created_at: string;
21222
21222
  url: string;
21223
21223
  expires_at: string;
21224
- building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21224
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces" | "console";
21225
21225
  customer_key: string;
21226
21226
  }>;
21227
21227
  type MagicLink = z.infer<typeof magic_link>;
@@ -21772,6 +21772,140 @@ declare const _default: {
21772
21772
  type: string;
21773
21773
  'x-route-path': string;
21774
21774
  };
21775
+ access_grant: {
21776
+ properties: {
21777
+ access_grant_id: {
21778
+ description: string;
21779
+ format: string;
21780
+ type: string;
21781
+ };
21782
+ access_method_ids: {
21783
+ description: string;
21784
+ items: {
21785
+ format: string;
21786
+ type: string;
21787
+ };
21788
+ type: string;
21789
+ };
21790
+ created_at: {
21791
+ description: string;
21792
+ format: string;
21793
+ type: string;
21794
+ };
21795
+ display_name: {
21796
+ description: string;
21797
+ type: string;
21798
+ };
21799
+ location_ids: {
21800
+ deprecated: boolean;
21801
+ items: {
21802
+ format: string;
21803
+ type: string;
21804
+ };
21805
+ type: string;
21806
+ 'x-deprecated': string;
21807
+ };
21808
+ requested_access_methods: {
21809
+ description: string;
21810
+ items: {
21811
+ properties: {
21812
+ created_access_method_ids: {
21813
+ description: string;
21814
+ items: {
21815
+ format: string;
21816
+ type: string;
21817
+ };
21818
+ type: string;
21819
+ };
21820
+ created_at: {
21821
+ description: string;
21822
+ format: string;
21823
+ type: string;
21824
+ };
21825
+ display_name: {
21826
+ description: string;
21827
+ type: string;
21828
+ };
21829
+ mode: {
21830
+ description: string;
21831
+ enum: string[];
21832
+ type: string;
21833
+ };
21834
+ };
21835
+ required: string[];
21836
+ type: string;
21837
+ };
21838
+ type: string;
21839
+ };
21840
+ space_ids: {
21841
+ description: string;
21842
+ items: {
21843
+ format: string;
21844
+ type: string;
21845
+ };
21846
+ type: string;
21847
+ };
21848
+ user_identity_id: {
21849
+ description: string;
21850
+ format: string;
21851
+ type: string;
21852
+ };
21853
+ workspace_id: {
21854
+ description: string;
21855
+ format: string;
21856
+ type: string;
21857
+ };
21858
+ };
21859
+ required: string[];
21860
+ type: string;
21861
+ 'x-draft': string;
21862
+ 'x-route-path': string;
21863
+ };
21864
+ access_method: {
21865
+ properties: {
21866
+ access_method_id: {
21867
+ description: string;
21868
+ format: string;
21869
+ type: string;
21870
+ };
21871
+ created_at: {
21872
+ description: string;
21873
+ format: string;
21874
+ type: string;
21875
+ };
21876
+ display_name: {
21877
+ description: string;
21878
+ type: string;
21879
+ };
21880
+ instant_key_url: {
21881
+ description: string;
21882
+ type: string;
21883
+ };
21884
+ is_card_encoding_required: {
21885
+ description: string;
21886
+ type: string;
21887
+ };
21888
+ issued_at: {
21889
+ description: string;
21890
+ format: string;
21891
+ type: string;
21892
+ };
21893
+ mode: {
21894
+ description: string;
21895
+ enum: string[];
21896
+ type: string;
21897
+ };
21898
+ workspace_id: {
21899
+ description: string;
21900
+ format: string;
21901
+ type: string;
21902
+ };
21903
+ };
21904
+ required: string[];
21905
+ type: string;
21906
+ 'x-draft': string;
21907
+ 'x-route-path': string;
21908
+ };
21775
21909
  acs_access_group: {
21776
21910
  description: string;
21777
21911
  properties: {
@@ -35142,170 +35276,84 @@ declare const _default: {
35142
35276
  schema: {
35143
35277
  properties: {
35144
35278
  access_grant: {
35145
- properties: {
35146
- access_grant_id: {
35147
- description: string;
35148
- format: string;
35149
- type: string;
35150
- };
35151
- access_method_ids: {
35152
- description: string;
35153
- items: {
35154
- format: string;
35155
- type: string;
35156
- };
35157
- type: string;
35158
- };
35159
- created_at: {
35160
- description: string;
35161
- format: string;
35162
- type: string;
35163
- };
35164
- display_name: {
35165
- description: string;
35166
- type: string;
35167
- };
35168
- location_ids: {
35169
- deprecated: boolean;
35170
- items: {
35171
- format: string;
35172
- type: string;
35173
- };
35174
- type: string;
35175
- 'x-deprecated': string;
35176
- };
35177
- requested_access_methods: {
35178
- description: string;
35179
- items: {
35180
- properties: {
35181
- created_access_method_ids: {
35182
- description: string;
35183
- items: {
35184
- format: string;
35185
- type: string;
35186
- };
35187
- type: string;
35188
- };
35189
- created_at: {
35190
- description: string;
35191
- format: string;
35192
- type: string;
35193
- };
35194
- display_name: {
35195
- description: string;
35196
- type: string;
35197
- };
35198
- mode: {
35199
- description: string;
35200
- enum: string[];
35201
- type: string;
35202
- };
35203
- };
35204
- required: string[];
35205
- type: string;
35206
- };
35207
- type: string;
35208
- };
35209
- space_ids: {
35210
- description: string;
35211
- items: {
35212
- format: string;
35213
- type: string;
35214
- };
35215
- type: string;
35216
- };
35217
- user_identity_id: {
35218
- description: string;
35219
- format: string;
35220
- type: string;
35221
- };
35222
- workspace_id: {
35223
- description: string;
35224
- format: string;
35225
- type: string;
35226
- };
35227
- };
35228
- required: string[];
35279
+ $ref: string;
35280
+ };
35281
+ ok: {
35229
35282
  type: string;
35230
- 'x-draft': string;
35231
- 'x-route-path': string;
35232
35283
  };
35233
- ok: {
35234
- type: string;
35235
- };
35236
- };
35237
- required: string[];
35238
- type: string;
35239
- };
35240
- };
35241
- };
35242
- description: string;
35243
- };
35244
- 400: {
35245
- description: string;
35246
- };
35247
- 401: {
35248
- description: string;
35249
- };
35250
- };
35251
- security: ({
35252
- pat_with_workspace: never[];
35253
- console_session_with_workspace?: never;
35254
- api_key?: never;
35255
- client_session_with_customer?: never;
35256
- } | {
35257
- console_session_with_workspace: never[];
35258
- pat_with_workspace?: never;
35259
- api_key?: never;
35260
- client_session_with_customer?: never;
35261
- } | {
35262
- api_key: never[];
35263
- pat_with_workspace?: never;
35264
- console_session_with_workspace?: never;
35265
- client_session_with_customer?: never;
35266
- } | {
35267
- client_session_with_customer: never[];
35268
- pat_with_workspace?: never;
35269
- console_session_with_workspace?: never;
35270
- api_key?: never;
35271
- })[];
35272
- summary: string;
35273
- tags: never[];
35274
- 'x-draft': string;
35275
- 'x-fern-sdk-group-name': string[];
35276
- 'x-fern-sdk-method-name': string;
35277
- 'x-fern-sdk-return-value': string;
35278
- 'x-response-key': string;
35279
- 'x-title': string;
35280
- };
35281
- };
35282
- '/access_grants/delete': {
35283
- post: {
35284
- description: string;
35285
- operationId: string;
35286
- requestBody: {
35287
- content: {
35288
- 'application/json': {
35289
- schema: {
35290
- properties: {
35291
- access_grant_id: {
35292
- description: string;
35293
- format: string;
35294
- type: string;
35295
- };
35296
- };
35297
- required: string[];
35298
- type: string;
35299
- };
35300
- };
35301
- };
35302
- };
35303
- responses: {
35304
- 200: {
35305
- content: {
35306
- 'application/json': {
35307
- schema: {
35308
- properties: {
35284
+ };
35285
+ required: string[];
35286
+ type: string;
35287
+ };
35288
+ };
35289
+ };
35290
+ description: string;
35291
+ };
35292
+ 400: {
35293
+ description: string;
35294
+ };
35295
+ 401: {
35296
+ description: string;
35297
+ };
35298
+ };
35299
+ security: ({
35300
+ pat_with_workspace: never[];
35301
+ console_session_with_workspace?: never;
35302
+ api_key?: never;
35303
+ client_session_with_customer?: never;
35304
+ } | {
35305
+ console_session_with_workspace: never[];
35306
+ pat_with_workspace?: never;
35307
+ api_key?: never;
35308
+ client_session_with_customer?: never;
35309
+ } | {
35310
+ api_key: never[];
35311
+ pat_with_workspace?: never;
35312
+ console_session_with_workspace?: never;
35313
+ client_session_with_customer?: never;
35314
+ } | {
35315
+ client_session_with_customer: never[];
35316
+ pat_with_workspace?: never;
35317
+ console_session_with_workspace?: never;
35318
+ api_key?: never;
35319
+ })[];
35320
+ summary: string;
35321
+ tags: never[];
35322
+ 'x-draft': string;
35323
+ 'x-fern-sdk-group-name': string[];
35324
+ 'x-fern-sdk-method-name': string;
35325
+ 'x-fern-sdk-return-value': string;
35326
+ 'x-response-key': string;
35327
+ 'x-title': string;
35328
+ };
35329
+ };
35330
+ '/access_grants/delete': {
35331
+ post: {
35332
+ description: string;
35333
+ operationId: string;
35334
+ requestBody: {
35335
+ content: {
35336
+ 'application/json': {
35337
+ schema: {
35338
+ properties: {
35339
+ access_grant_id: {
35340
+ description: string;
35341
+ format: string;
35342
+ type: string;
35343
+ };
35344
+ };
35345
+ required: string[];
35346
+ type: string;
35347
+ };
35348
+ };
35349
+ };
35350
+ };
35351
+ responses: {
35352
+ 200: {
35353
+ content: {
35354
+ 'application/json': {
35355
+ schema: {
35356
+ properties: {
35309
35357
  ok: {
35310
35358
  type: string;
35311
35359
  };
@@ -35382,93 +35430,7 @@ declare const _default: {
35382
35430
  schema: {
35383
35431
  properties: {
35384
35432
  access_grant: {
35385
- properties: {
35386
- access_grant_id: {
35387
- description: string;
35388
- format: string;
35389
- type: string;
35390
- };
35391
- access_method_ids: {
35392
- description: string;
35393
- items: {
35394
- format: string;
35395
- type: string;
35396
- };
35397
- type: string;
35398
- };
35399
- created_at: {
35400
- description: string;
35401
- format: string;
35402
- type: string;
35403
- };
35404
- display_name: {
35405
- description: string;
35406
- type: string;
35407
- };
35408
- location_ids: {
35409
- deprecated: boolean;
35410
- items: {
35411
- format: string;
35412
- type: string;
35413
- };
35414
- type: string;
35415
- 'x-deprecated': string;
35416
- };
35417
- requested_access_methods: {
35418
- description: string;
35419
- items: {
35420
- properties: {
35421
- created_access_method_ids: {
35422
- description: string;
35423
- items: {
35424
- format: string;
35425
- type: string;
35426
- };
35427
- type: string;
35428
- };
35429
- created_at: {
35430
- description: string;
35431
- format: string;
35432
- type: string;
35433
- };
35434
- display_name: {
35435
- description: string;
35436
- type: string;
35437
- };
35438
- mode: {
35439
- description: string;
35440
- enum: string[];
35441
- type: string;
35442
- };
35443
- };
35444
- required: string[];
35445
- type: string;
35446
- };
35447
- type: string;
35448
- };
35449
- space_ids: {
35450
- description: string;
35451
- items: {
35452
- format: string;
35453
- type: string;
35454
- };
35455
- type: string;
35456
- };
35457
- user_identity_id: {
35458
- description: string;
35459
- format: string;
35460
- type: string;
35461
- };
35462
- workspace_id: {
35463
- description: string;
35464
- format: string;
35465
- type: string;
35466
- };
35467
- };
35468
- required: string[];
35469
- type: string;
35470
- 'x-draft': string;
35471
- 'x-route-path': string;
35433
+ $ref: string;
35472
35434
  };
35473
35435
  ok: {
35474
35436
  type: string;
@@ -35568,93 +35530,7 @@ declare const _default: {
35568
35530
  properties: {
35569
35531
  access_grants: {
35570
35532
  items: {
35571
- properties: {
35572
- access_grant_id: {
35573
- description: string;
35574
- format: string;
35575
- type: string;
35576
- };
35577
- access_method_ids: {
35578
- description: string;
35579
- items: {
35580
- format: string;
35581
- type: string;
35582
- };
35583
- type: string;
35584
- };
35585
- created_at: {
35586
- description: string;
35587
- format: string;
35588
- type: string;
35589
- };
35590
- display_name: {
35591
- description: string;
35592
- type: string;
35593
- };
35594
- location_ids: {
35595
- deprecated: boolean;
35596
- items: {
35597
- format: string;
35598
- type: string;
35599
- };
35600
- type: string;
35601
- 'x-deprecated': string;
35602
- };
35603
- requested_access_methods: {
35604
- description: string;
35605
- items: {
35606
- properties: {
35607
- created_access_method_ids: {
35608
- description: string;
35609
- items: {
35610
- format: string;
35611
- type: string;
35612
- };
35613
- type: string;
35614
- };
35615
- created_at: {
35616
- description: string;
35617
- format: string;
35618
- type: string;
35619
- };
35620
- display_name: {
35621
- description: string;
35622
- type: string;
35623
- };
35624
- mode: {
35625
- description: string;
35626
- enum: string[];
35627
- type: string;
35628
- };
35629
- };
35630
- required: string[];
35631
- type: string;
35632
- };
35633
- type: string;
35634
- };
35635
- space_ids: {
35636
- description: string;
35637
- items: {
35638
- format: string;
35639
- type: string;
35640
- };
35641
- type: string;
35642
- };
35643
- user_identity_id: {
35644
- description: string;
35645
- format: string;
35646
- type: string;
35647
- };
35648
- workspace_id: {
35649
- description: string;
35650
- format: string;
35651
- type: string;
35652
- };
35653
- };
35654
- required: string[];
35655
- type: string;
35656
- 'x-draft': string;
35657
- 'x-route-path': string;
35533
+ $ref: string;
35658
35534
  };
35659
35535
  type: string;
35660
35536
  };
@@ -35802,49 +35678,7 @@ declare const _default: {
35802
35678
  schema: {
35803
35679
  properties: {
35804
35680
  access_method: {
35805
- properties: {
35806
- access_method_id: {
35807
- description: string;
35808
- format: string;
35809
- type: string;
35810
- };
35811
- created_at: {
35812
- description: string;
35813
- format: string;
35814
- type: string;
35815
- };
35816
- display_name: {
35817
- description: string;
35818
- type: string;
35819
- };
35820
- instant_key_url: {
35821
- description: string;
35822
- type: string;
35823
- };
35824
- is_card_encoding_required: {
35825
- description: string;
35826
- type: string;
35827
- };
35828
- issued_at: {
35829
- description: string;
35830
- format: string;
35831
- type: string;
35832
- };
35833
- mode: {
35834
- description: string;
35835
- enum: string[];
35836
- type: string;
35837
- };
35838
- workspace_id: {
35839
- description: string;
35840
- format: string;
35841
- type: string;
35842
- };
35843
- };
35844
- required: string[];
35845
- type: string;
35846
- 'x-draft': string;
35847
- 'x-route-path': string;
35681
+ $ref: string;
35848
35682
  };
35849
35683
  ok: {
35850
35684
  type: string;
@@ -35916,49 +35750,7 @@ declare const _default: {
35916
35750
  properties: {
35917
35751
  access_methods: {
35918
35752
  items: {
35919
- properties: {
35920
- access_method_id: {
35921
- description: string;
35922
- format: string;
35923
- type: string;
35924
- };
35925
- created_at: {
35926
- description: string;
35927
- format: string;
35928
- type: string;
35929
- };
35930
- display_name: {
35931
- description: string;
35932
- type: string;
35933
- };
35934
- instant_key_url: {
35935
- description: string;
35936
- type: string;
35937
- };
35938
- is_card_encoding_required: {
35939
- description: string;
35940
- type: string;
35941
- };
35942
- issued_at: {
35943
- description: string;
35944
- format: string;
35945
- type: string;
35946
- };
35947
- mode: {
35948
- description: string;
35949
- enum: string[];
35950
- type: string;
35951
- };
35952
- workspace_id: {
35953
- description: string;
35954
- format: string;
35955
- type: string;
35956
- };
35957
- };
35958
- required: string[];
35959
- type: string;
35960
- 'x-draft': string;
35961
- 'x-route-path': string;
35753
+ $ref: string;
35962
35754
  };
35963
35755
  type: string;
35964
35756
  };
@@ -52048,93 +51840,7 @@ declare const _default: {
52048
51840
  schema: {
52049
51841
  properties: {
52050
51842
  access_grant: {
52051
- properties: {
52052
- access_grant_id: {
52053
- description: string;
52054
- format: string;
52055
- type: string;
52056
- };
52057
- access_method_ids: {
52058
- description: string;
52059
- items: {
52060
- format: string;
52061
- type: string;
52062
- };
52063
- type: string;
52064
- };
52065
- created_at: {
52066
- description: string;
52067
- format: string;
52068
- type: string;
52069
- };
52070
- display_name: {
52071
- description: string;
52072
- type: string;
52073
- };
52074
- location_ids: {
52075
- deprecated: boolean;
52076
- items: {
52077
- format: string;
52078
- type: string;
52079
- };
52080
- type: string;
52081
- 'x-deprecated': string;
52082
- };
52083
- requested_access_methods: {
52084
- description: string;
52085
- items: {
52086
- properties: {
52087
- created_access_method_ids: {
52088
- description: string;
52089
- items: {
52090
- format: string;
52091
- type: string;
52092
- };
52093
- type: string;
52094
- };
52095
- created_at: {
52096
- description: string;
52097
- format: string;
52098
- type: string;
52099
- };
52100
- display_name: {
52101
- description: string;
52102
- type: string;
52103
- };
52104
- mode: {
52105
- description: string;
52106
- enum: string[];
52107
- type: string;
52108
- };
52109
- };
52110
- required: string[];
52111
- type: string;
52112
- };
52113
- type: string;
52114
- };
52115
- space_ids: {
52116
- description: string;
52117
- items: {
52118
- format: string;
52119
- type: string;
52120
- };
52121
- type: string;
52122
- };
52123
- user_identity_id: {
52124
- description: string;
52125
- format: string;
52126
- type: string;
52127
- };
52128
- workspace_id: {
52129
- description: string;
52130
- format: string;
52131
- type: string;
52132
- };
52133
- };
52134
- required: string[];
52135
- type: string;
52136
- 'x-draft': string;
52137
- 'x-route-path': string;
51843
+ $ref: string;
52138
51844
  };
52139
51845
  ok: {
52140
51846
  type: string;
@@ -52288,93 +51994,7 @@ declare const _default: {
52288
51994
  schema: {
52289
51995
  properties: {
52290
51996
  access_grant: {
52291
- properties: {
52292
- access_grant_id: {
52293
- description: string;
52294
- format: string;
52295
- type: string;
52296
- };
52297
- access_method_ids: {
52298
- description: string;
52299
- items: {
52300
- format: string;
52301
- type: string;
52302
- };
52303
- type: string;
52304
- };
52305
- created_at: {
52306
- description: string;
52307
- format: string;
52308
- type: string;
52309
- };
52310
- display_name: {
52311
- description: string;
52312
- type: string;
52313
- };
52314
- location_ids: {
52315
- deprecated: boolean;
52316
- items: {
52317
- format: string;
52318
- type: string;
52319
- };
52320
- type: string;
52321
- 'x-deprecated': string;
52322
- };
52323
- requested_access_methods: {
52324
- description: string;
52325
- items: {
52326
- properties: {
52327
- created_access_method_ids: {
52328
- description: string;
52329
- items: {
52330
- format: string;
52331
- type: string;
52332
- };
52333
- type: string;
52334
- };
52335
- created_at: {
52336
- description: string;
52337
- format: string;
52338
- type: string;
52339
- };
52340
- display_name: {
52341
- description: string;
52342
- type: string;
52343
- };
52344
- mode: {
52345
- description: string;
52346
- enum: string[];
52347
- type: string;
52348
- };
52349
- };
52350
- required: string[];
52351
- type: string;
52352
- };
52353
- type: string;
52354
- };
52355
- space_ids: {
52356
- description: string;
52357
- items: {
52358
- format: string;
52359
- type: string;
52360
- };
52361
- type: string;
52362
- };
52363
- user_identity_id: {
52364
- description: string;
52365
- format: string;
52366
- type: string;
52367
- };
52368
- workspace_id: {
52369
- description: string;
52370
- format: string;
52371
- type: string;
52372
- };
52373
- };
52374
- required: string[];
52375
- type: string;
52376
- 'x-draft': string;
52377
- 'x-route-path': string;
51997
+ $ref: string;
52378
51998
  };
52379
51999
  ok: {
52380
52000
  type: string;
@@ -52474,93 +52094,7 @@ declare const _default: {
52474
52094
  properties: {
52475
52095
  access_grants: {
52476
52096
  items: {
52477
- properties: {
52478
- access_grant_id: {
52479
- description: string;
52480
- format: string;
52481
- type: string;
52482
- };
52483
- access_method_ids: {
52484
- description: string;
52485
- items: {
52486
- format: string;
52487
- type: string;
52488
- };
52489
- type: string;
52490
- };
52491
- created_at: {
52492
- description: string;
52493
- format: string;
52494
- type: string;
52495
- };
52496
- display_name: {
52497
- description: string;
52498
- type: string;
52499
- };
52500
- location_ids: {
52501
- deprecated: boolean;
52502
- items: {
52503
- format: string;
52504
- type: string;
52505
- };
52506
- type: string;
52507
- 'x-deprecated': string;
52508
- };
52509
- requested_access_methods: {
52510
- description: string;
52511
- items: {
52512
- properties: {
52513
- created_access_method_ids: {
52514
- description: string;
52515
- items: {
52516
- format: string;
52517
- type: string;
52518
- };
52519
- type: string;
52520
- };
52521
- created_at: {
52522
- description: string;
52523
- format: string;
52524
- type: string;
52525
- };
52526
- display_name: {
52527
- description: string;
52528
- type: string;
52529
- };
52530
- mode: {
52531
- description: string;
52532
- enum: string[];
52533
- type: string;
52534
- };
52535
- };
52536
- required: string[];
52537
- type: string;
52538
- };
52539
- type: string;
52540
- };
52541
- space_ids: {
52542
- description: string;
52543
- items: {
52544
- format: string;
52545
- type: string;
52546
- };
52547
- type: string;
52548
- };
52549
- user_identity_id: {
52550
- description: string;
52551
- format: string;
52552
- type: string;
52553
- };
52554
- workspace_id: {
52555
- description: string;
52556
- format: string;
52557
- type: string;
52558
- };
52559
- };
52560
- required: string[];
52561
- type: string;
52562
- 'x-draft': string;
52563
- 'x-route-path': string;
52097
+ $ref: string;
52564
52098
  };
52565
52099
  type: string;
52566
52100
  };
@@ -52708,49 +52242,7 @@ declare const _default: {
52708
52242
  schema: {
52709
52243
  properties: {
52710
52244
  access_method: {
52711
- properties: {
52712
- access_method_id: {
52713
- description: string;
52714
- format: string;
52715
- type: string;
52716
- };
52717
- created_at: {
52718
- description: string;
52719
- format: string;
52720
- type: string;
52721
- };
52722
- display_name: {
52723
- description: string;
52724
- type: string;
52725
- };
52726
- instant_key_url: {
52727
- description: string;
52728
- type: string;
52729
- };
52730
- is_card_encoding_required: {
52731
- description: string;
52732
- type: string;
52733
- };
52734
- issued_at: {
52735
- description: string;
52736
- format: string;
52737
- type: string;
52738
- };
52739
- mode: {
52740
- description: string;
52741
- enum: string[];
52742
- type: string;
52743
- };
52744
- workspace_id: {
52745
- description: string;
52746
- format: string;
52747
- type: string;
52748
- };
52749
- };
52750
- required: string[];
52751
- type: string;
52752
- 'x-draft': string;
52753
- 'x-route-path': string;
52245
+ $ref: string;
52754
52246
  };
52755
52247
  ok: {
52756
52248
  type: string;
@@ -52822,49 +52314,7 @@ declare const _default: {
52822
52314
  properties: {
52823
52315
  access_methods: {
52824
52316
  items: {
52825
- properties: {
52826
- access_method_id: {
52827
- description: string;
52828
- format: string;
52829
- type: string;
52830
- };
52831
- created_at: {
52832
- description: string;
52833
- format: string;
52834
- type: string;
52835
- };
52836
- display_name: {
52837
- description: string;
52838
- type: string;
52839
- };
52840
- instant_key_url: {
52841
- description: string;
52842
- type: string;
52843
- };
52844
- is_card_encoding_required: {
52845
- description: string;
52846
- type: string;
52847
- };
52848
- issued_at: {
52849
- description: string;
52850
- format: string;
52851
- type: string;
52852
- };
52853
- mode: {
52854
- description: string;
52855
- enum: string[];
52856
- type: string;
52857
- };
52858
- workspace_id: {
52859
- description: string;
52860
- format: string;
52861
- type: string;
52862
- };
52863
- };
52864
- required: string[];
52865
- type: string;
52866
- 'x-draft': string;
52867
- 'x-route-path': string;
52317
+ $ref: string;
52868
52318
  };
52869
52319
  type: string;
52870
52320
  };
@@ -54021,11 +53471,220 @@ declare const _default: {
54021
53471
  })[];
54022
53472
  summary: string;
54023
53473
  tags: never[];
54024
- 'x-fern-ignore': boolean;
53474
+ 'x-fern-ignore': boolean;
53475
+ 'x-response-key': string;
53476
+ 'x-title': string;
53477
+ 'x-undocumented': string;
53478
+ };
53479
+ post: {
53480
+ description: string;
53481
+ operationId: string;
53482
+ requestBody: {
53483
+ content: {
53484
+ 'application/json': {
53485
+ schema: {
53486
+ properties: {
53487
+ geolocation: {
53488
+ description: string;
53489
+ properties: {
53490
+ latitude: {
53491
+ format: string;
53492
+ type: string;
53493
+ };
53494
+ longitude: {
53495
+ format: string;
53496
+ type: string;
53497
+ };
53498
+ };
53499
+ required: string[];
53500
+ type: string;
53501
+ };
53502
+ location_id: {
53503
+ description: string;
53504
+ format: string;
53505
+ type: string;
53506
+ };
53507
+ name: {
53508
+ description: string;
53509
+ type: string;
53510
+ };
53511
+ time_zone: {
53512
+ description: string;
53513
+ type: string;
53514
+ };
53515
+ };
53516
+ required: string[];
53517
+ type: string;
53518
+ };
53519
+ };
53520
+ };
53521
+ };
53522
+ responses: {
53523
+ 200: {
53524
+ content: {
53525
+ 'application/json': {
53526
+ schema: {
53527
+ properties: {
53528
+ location: {
53529
+ properties: {
53530
+ created_at: {
53531
+ description: string;
53532
+ format: string;
53533
+ type: string;
53534
+ };
53535
+ display_name: {
53536
+ description: string;
53537
+ type: string;
53538
+ };
53539
+ geolocation: {
53540
+ description: string;
53541
+ properties: {
53542
+ latitude: {
53543
+ format: string;
53544
+ type: string;
53545
+ };
53546
+ longitude: {
53547
+ format: string;
53548
+ type: string;
53549
+ };
53550
+ };
53551
+ required: string[];
53552
+ type: string;
53553
+ };
53554
+ location_id: {
53555
+ description: string;
53556
+ format: string;
53557
+ type: string;
53558
+ };
53559
+ name: {
53560
+ description: string;
53561
+ type: string;
53562
+ };
53563
+ time_zone: {
53564
+ description: string;
53565
+ type: string;
53566
+ };
53567
+ workspace_id: {
53568
+ description: string;
53569
+ format: string;
53570
+ type: string;
53571
+ };
53572
+ };
53573
+ required: string[];
53574
+ type: string;
53575
+ };
53576
+ ok: {
53577
+ type: string;
53578
+ };
53579
+ };
53580
+ required: string[];
53581
+ type: string;
53582
+ };
53583
+ };
53584
+ };
53585
+ description: string;
53586
+ };
53587
+ 400: {
53588
+ description: string;
53589
+ };
53590
+ 401: {
53591
+ description: string;
53592
+ };
53593
+ };
53594
+ security: ({
53595
+ pat_with_workspace: never[];
53596
+ console_session_with_workspace?: never;
53597
+ api_key?: never;
53598
+ } | {
53599
+ console_session_with_workspace: never[];
53600
+ pat_with_workspace?: never;
53601
+ api_key?: never;
53602
+ } | {
53603
+ api_key: never[];
53604
+ pat_with_workspace?: never;
53605
+ console_session_with_workspace?: never;
53606
+ })[];
53607
+ summary: string;
53608
+ tags: never[];
53609
+ 'x-fern-sdk-group-name': string[];
53610
+ 'x-fern-sdk-method-name': string;
53611
+ 'x-fern-sdk-return-value': string;
53612
+ 'x-response-key': string;
53613
+ 'x-title': string;
53614
+ 'x-undocumented': string;
53615
+ };
53616
+ };
53617
+ '/unstable_partner/building_blocks/connect_accounts': {
53618
+ post: {
53619
+ description: string;
53620
+ operationId: string;
53621
+ requestBody: {
53622
+ content: {
53623
+ 'application/json': {
53624
+ schema: {
53625
+ properties: {
53626
+ customer_key: {
53627
+ description: string;
53628
+ type: string;
53629
+ };
53630
+ };
53631
+ required: string[];
53632
+ type: string;
53633
+ };
53634
+ };
53635
+ };
53636
+ };
53637
+ responses: {
53638
+ 200: {
53639
+ content: {
53640
+ 'application/json': {
53641
+ schema: {
53642
+ properties: {
53643
+ magic_link: {
53644
+ $ref: string;
53645
+ };
53646
+ ok: {
53647
+ type: string;
53648
+ };
53649
+ };
53650
+ required: string[];
53651
+ type: string;
53652
+ };
53653
+ };
53654
+ };
53655
+ description: string;
53656
+ };
53657
+ 400: {
53658
+ description: string;
53659
+ };
53660
+ 401: {
53661
+ description: string;
53662
+ };
53663
+ };
53664
+ security: ({
53665
+ pat_with_workspace: never[];
53666
+ console_session_with_workspace?: never;
53667
+ api_key?: never;
53668
+ } | {
53669
+ console_session_with_workspace: never[];
53670
+ pat_with_workspace?: never;
53671
+ api_key?: never;
53672
+ } | {
53673
+ api_key: never[];
53674
+ pat_with_workspace?: never;
53675
+ console_session_with_workspace?: never;
53676
+ })[];
53677
+ summary: string;
53678
+ tags: never[];
53679
+ 'x-fern-sdk-group-name': string[];
53680
+ 'x-fern-sdk-method-name': string;
53681
+ 'x-fern-sdk-return-value': string;
54025
53682
  'x-response-key': string;
54026
53683
  'x-title': string;
54027
53684
  'x-undocumented': string;
54028
53685
  };
53686
+ };
53687
+ '/unstable_partner/building_blocks/generate_magic_link': {
54029
53688
  post: {
54030
53689
  description: string;
54031
53690
  operationId: string;
@@ -54034,147 +53693,40 @@ declare const _default: {
54034
53693
  'application/json': {
54035
53694
  schema: {
54036
53695
  properties: {
54037
- geolocation: {
53696
+ building_block_type: {
54038
53697
  description: string;
54039
- properties: {
54040
- latitude: {
54041
- format: string;
54042
- type: string;
54043
- };
54044
- longitude: {
54045
- format: string;
54046
- type: string;
54047
- };
54048
- };
54049
- required: string[];
54050
- type: string;
54051
- };
54052
- location_id: {
54053
- description: string;
54054
- format: string;
53698
+ enum: string[];
54055
53699
  type: string;
54056
53700
  };
54057
- name: {
53701
+ customer_key: {
54058
53702
  description: string;
54059
53703
  type: string;
54060
53704
  };
54061
- time_zone: {
53705
+ spaces: {
54062
53706
  description: string;
54063
- type: string;
54064
- };
54065
- };
54066
- required: string[];
54067
- type: string;
54068
- };
54069
- };
54070
- };
54071
- };
54072
- responses: {
54073
- 200: {
54074
- content: {
54075
- 'application/json': {
54076
- schema: {
54077
- properties: {
54078
- location: {
53707
+ items: {
54079
53708
  properties: {
54080
- created_at: {
54081
- description: string;
54082
- format: string;
54083
- type: string;
54084
- };
54085
- display_name: {
54086
- description: string;
54087
- type: string;
54088
- };
54089
- geolocation: {
54090
- description: string;
54091
- properties: {
54092
- latitude: {
54093
- format: string;
54094
- type: string;
54095
- };
54096
- longitude: {
54097
- format: string;
54098
- type: string;
54099
- };
53709
+ custom_metadata: {
53710
+ additionalProperties: {
53711
+ type: string;
54100
53712
  };
54101
- required: string[];
54102
53713
  type: string;
54103
53714
  };
54104
- location_id: {
54105
- description: string;
54106
- format: string;
53715
+ description: {
54107
53716
  type: string;
54108
53717
  };
54109
53718
  name: {
54110
- description: string;
54111
53719
  type: string;
54112
53720
  };
54113
- time_zone: {
54114
- description: string;
54115
- type: string;
54116
- };
54117
- workspace_id: {
54118
- description: string;
54119
- format: string;
53721
+ space_key: {
54120
53722
  type: string;
54121
53723
  };
54122
53724
  };
54123
53725
  required: string[];
54124
53726
  type: string;
53727
+ 'x-route-path': string;
53728
+ 'x-undocumented': string;
54125
53729
  };
54126
- ok: {
54127
- type: string;
54128
- };
54129
- };
54130
- required: string[];
54131
- type: string;
54132
- };
54133
- };
54134
- };
54135
- description: string;
54136
- };
54137
- 400: {
54138
- description: string;
54139
- };
54140
- 401: {
54141
- description: string;
54142
- };
54143
- };
54144
- security: ({
54145
- pat_with_workspace: never[];
54146
- console_session_with_workspace?: never;
54147
- api_key?: never;
54148
- } | {
54149
- console_session_with_workspace: never[];
54150
- pat_with_workspace?: never;
54151
- api_key?: never;
54152
- } | {
54153
- api_key: never[];
54154
- pat_with_workspace?: never;
54155
- console_session_with_workspace?: never;
54156
- })[];
54157
- summary: string;
54158
- tags: never[];
54159
- 'x-fern-sdk-group-name': string[];
54160
- 'x-fern-sdk-method-name': string;
54161
- 'x-fern-sdk-return-value': string;
54162
- 'x-response-key': string;
54163
- 'x-title': string;
54164
- 'x-undocumented': string;
54165
- };
54166
- };
54167
- '/unstable_partner/building_blocks/connect_accounts': {
54168
- post: {
54169
- description: string;
54170
- operationId: string;
54171
- requestBody: {
54172
- content: {
54173
- 'application/json': {
54174
- schema: {
54175
- properties: {
54176
- customer_key: {
54177
- description: string;
54178
53730
  type: string;
54179
53731
  };
54180
53732
  };
@@ -54234,125 +53786,6 @@ declare const _default: {
54234
53786
  'x-undocumented': string;
54235
53787
  };
54236
53788
  };
54237
- '/unstable_partner/building_blocks/generate_magic_link': {
54238
- post: {
54239
- description: string;
54240
- operationId: string;
54241
- requestBody: {
54242
- content: {
54243
- 'application/json': {
54244
- schema: {
54245
- oneOf: ({
54246
- properties: {
54247
- building_block_type: {
54248
- description: string;
54249
- enum: string[];
54250
- type: string;
54251
- };
54252
- customer_key: {
54253
- description: string;
54254
- type: string;
54255
- };
54256
- partner_resources?: never;
54257
- };
54258
- required: string[];
54259
- type: string;
54260
- } | {
54261
- properties: {
54262
- building_block_type: {
54263
- description: string;
54264
- enum: string[];
54265
- type: string;
54266
- };
54267
- customer_key: {
54268
- description: string;
54269
- type: string;
54270
- };
54271
- partner_resources: {
54272
- description: string;
54273
- items: {
54274
- properties: {
54275
- custom_metadata: {
54276
- additionalProperties: {
54277
- type: string;
54278
- };
54279
- type: string;
54280
- };
54281
- description: {
54282
- type: string;
54283
- };
54284
- name: {
54285
- type: string;
54286
- };
54287
- partner_resource_key: {
54288
- type: string;
54289
- };
54290
- };
54291
- required: string[];
54292
- type: string;
54293
- 'x-route-path': string;
54294
- 'x-undocumented': string;
54295
- };
54296
- type: string;
54297
- };
54298
- };
54299
- required: string[];
54300
- type: string;
54301
- })[];
54302
- };
54303
- };
54304
- };
54305
- };
54306
- responses: {
54307
- 200: {
54308
- content: {
54309
- 'application/json': {
54310
- schema: {
54311
- properties: {
54312
- magic_link: {
54313
- $ref: string;
54314
- };
54315
- ok: {
54316
- type: string;
54317
- };
54318
- };
54319
- required: string[];
54320
- type: string;
54321
- };
54322
- };
54323
- };
54324
- description: string;
54325
- };
54326
- 400: {
54327
- description: string;
54328
- };
54329
- 401: {
54330
- description: string;
54331
- };
54332
- };
54333
- security: ({
54334
- pat_with_workspace: never[];
54335
- console_session_with_workspace?: never;
54336
- api_key?: never;
54337
- } | {
54338
- console_session_with_workspace: never[];
54339
- pat_with_workspace?: never;
54340
- api_key?: never;
54341
- } | {
54342
- api_key: never[];
54343
- pat_with_workspace?: never;
54344
- console_session_with_workspace?: never;
54345
- })[];
54346
- summary: string;
54347
- tags: never[];
54348
- 'x-fern-sdk-group-name': string[];
54349
- 'x-fern-sdk-method-name': string;
54350
- 'x-fern-sdk-return-value': string;
54351
- 'x-response-key': string;
54352
- 'x-title': string;
54353
- 'x-undocumented': string;
54354
- };
54355
- };
54356
53789
  '/unstable_partner/building_blocks/manage_devices': {
54357
53790
  post: {
54358
53791
  description: string;
@@ -54436,7 +53869,7 @@ declare const _default: {
54436
53869
  description: string;
54437
53870
  type: string;
54438
53871
  };
54439
- partner_resources: {
53872
+ spaces: {
54440
53873
  description: string;
54441
53874
  items: {
54442
53875
  properties: {
@@ -54452,7 +53885,7 @@ declare const _default: {
54452
53885
  name: {
54453
53886
  type: string;
54454
53887
  };
54455
- partner_resource_key: {
53888
+ space_key: {
54456
53889
  type: string;
54457
53890
  };
54458
53891
  };
@@ -114234,7 +113667,7 @@ interface Routes {
114234
113667
  /** */
114235
113668
  magic_link: {
114236
113669
  url: string;
114237
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
113670
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114238
113671
  customer_key: string;
114239
113672
  expires_at: string;
114240
113673
  workspace_id: string;
@@ -114248,23 +113681,13 @@ interface Routes {
114248
113681
  queryParams: {};
114249
113682
  jsonBody: {};
114250
113683
  commonParams: {
114251
- /** `connect_accounts` building block type. */
114252
- building_block_type: 'connect_accounts';
113684
+ /** Type of building block to create a magic link for. */
113685
+ building_block_type: 'connect_accounts' | 'organize_spaces' | 'console' | 'manage_devices';
114253
113686
  /** Customer key for which you want to create a new building block magic link. */
114254
113687
  customer_key: string;
114255
- } | {
114256
- /** `manage_devices` building block type. */
114257
- building_block_type: 'manage_devices';
114258
- /** Customer key for which you want to create a new building block magic link. */
114259
- customer_key: string;
114260
- } | {
114261
- /** `organize_spaces` building block type. */
114262
- building_block_type: 'organize_spaces';
114263
- /** Customer key for which you want to create a new building block magic link. */
114264
- customer_key: string;
114265
- /** Optional list of partner resources that you want to include in the new building block magic link. */
114266
- partner_resources?: Array<{
114267
- partner_resource_key: string;
113688
+ /** Optional list of spaces that you want to include in the new building block magic link. */
113689
+ spaces?: Array<{
113690
+ space_key: string;
114268
113691
  name: string;
114269
113692
  description?: string | undefined;
114270
113693
  custom_metadata?: Record<string, string> | undefined;
@@ -114275,7 +113698,7 @@ interface Routes {
114275
113698
  /** */
114276
113699
  magic_link: {
114277
113700
  url: string;
114278
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
113701
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114279
113702
  customer_key: string;
114280
113703
  expires_at: string;
114281
113704
  workspace_id: string;
@@ -114297,7 +113720,7 @@ interface Routes {
114297
113720
  /** */
114298
113721
  magic_link: {
114299
113722
  url: string;
114300
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
113723
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114301
113724
  customer_key: string;
114302
113725
  expires_at: string;
114303
113726
  workspace_id: string;
@@ -114313,9 +113736,9 @@ interface Routes {
114313
113736
  commonParams: {
114314
113737
  /** Customer key for which you want to organize spaces. */
114315
113738
  customer_key: string;
114316
- /** Optional list of partner resources that you want to include in the new building block magic link. */
114317
- partner_resources?: Array<{
114318
- partner_resource_key: string;
113739
+ /** Optional list of spaces that you want to include in the new building block magic link. */
113740
+ spaces?: Array<{
113741
+ space_key: string;
114319
113742
  name: string;
114320
113743
  description?: string | undefined;
114321
113744
  custom_metadata?: Record<string, string> | undefined;
@@ -114326,7 +113749,7 @@ interface Routes {
114326
113749
  /** */
114327
113750
  magic_link: {
114328
113751
  url: string;
114329
- building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
113752
+ building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
114330
113753
  customer_key: string;
114331
113754
  expires_at: string;
114332
113755
  workspace_id: string;