@seamapi/types 1.469.0 → 1.471.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.
@@ -50877,7 +50877,6 @@ declare const _default: {
50877
50877
  required: string[];
50878
50878
  type: string;
50879
50879
  'x-route-path': string;
50880
- 'x-undocumented': string;
50881
50880
  };
50882
50881
  location: {
50883
50882
  properties: {
@@ -84830,7 +84829,7 @@ declare const _default: {
84830
84829
  'x-title': string;
84831
84830
  };
84832
84831
  };
84833
- '/unstable_access_grants/create': {
84832
+ '/unstable_locations/add_acs_entrances': {
84834
84833
  post: {
84835
84834
  description: string;
84836
84835
  operationId: string;
@@ -84838,146 +84837,98 @@ declare const _default: {
84838
84837
  content: {
84839
84838
  'application/json': {
84840
84839
  schema: {
84841
- allOf: ({
84842
- oneOf: ({
84843
- properties: {
84844
- user_identity_id: {
84845
- description: string;
84846
- format: string;
84847
- type: string;
84848
- };
84849
- user_identity?: never;
84840
+ properties: {
84841
+ acs_entrance_ids: {
84842
+ description: string;
84843
+ items: {
84844
+ format: string;
84845
+ type: string;
84850
84846
  };
84851
- required: string[];
84847
+ minItems: number;
84852
84848
  type: string;
84853
- } | {
84854
- properties: {
84855
- user_identity: {
84856
- description: string;
84857
- properties: {
84858
- email_address: {
84859
- description: string;
84860
- format: string;
84861
- nullable: boolean;
84862
- type: string;
84863
- };
84864
- full_name: {
84865
- minLength: number;
84866
- nullable: boolean;
84867
- type: string;
84868
- };
84869
- phone_number: {
84870
- description: string;
84871
- nullable: boolean;
84872
- type: string;
84873
- };
84874
- };
84875
- type: string;
84876
- };
84877
- user_identity_id?: never;
84878
- };
84879
- required: string[];
84849
+ };
84850
+ location_id: {
84851
+ description: string;
84852
+ format: string;
84880
84853
  type: string;
84881
- })[];
84882
- properties?: never;
84883
- required?: never;
84884
- type?: never;
84885
- } | {
84854
+ };
84855
+ };
84856
+ required: string[];
84857
+ type: string;
84858
+ };
84859
+ };
84860
+ };
84861
+ };
84862
+ responses: {
84863
+ 200: {
84864
+ content: {
84865
+ 'application/json': {
84866
+ schema: {
84886
84867
  properties: {
84887
- acs_entrance_ids: {
84888
- default: never[];
84889
- description: string;
84890
- items: {
84891
- format: string;
84892
- type: string;
84893
- };
84894
- type: string;
84895
- };
84896
- device_ids: {
84897
- default: never[];
84898
- description: string;
84899
- items: {
84900
- format: string;
84901
- type: string;
84902
- };
84903
- type: string;
84904
- };
84905
- ends_at: {
84906
- description: string;
84907
- format: string;
84908
- type: string;
84909
- };
84910
- location: {
84911
- description: string;
84912
- properties: {
84913
- acs_entrance_ids: {
84914
- default: never[];
84915
- deprecated: boolean;
84916
- items: {
84917
- format: string;
84918
- type: string;
84919
- };
84920
- type: string;
84921
- 'x-deprecated': string;
84922
- };
84923
- device_ids: {
84924
- default: never[];
84925
- deprecated: boolean;
84926
- items: {
84927
- format: string;
84928
- type: string;
84929
- };
84930
- type: string;
84931
- 'x-deprecated': string;
84932
- };
84933
- name: {
84934
- description: string;
84935
- type: string;
84936
- };
84937
- };
84938
- type: string;
84939
- };
84940
- location_ids: {
84941
- deprecated: boolean;
84942
- items: {
84943
- format: string;
84944
- type: string;
84945
- };
84946
- type: string;
84947
- 'x-deprecated': string;
84948
- };
84949
- requested_access_methods: {
84950
- items: {
84951
- properties: {
84952
- mode: {
84953
- description: string;
84954
- enum: string[];
84955
- type: string;
84956
- };
84957
- };
84958
- required: string[];
84959
- type: string;
84960
- };
84961
- type: string;
84962
- };
84963
- space_ids: {
84964
- description: string;
84965
- items: {
84966
- format: string;
84967
- type: string;
84968
- };
84868
+ ok: {
84969
84869
  type: string;
84970
84870
  };
84971
- starts_at: {
84972
- description: string;
84871
+ };
84872
+ required: string[];
84873
+ type: string;
84874
+ };
84875
+ };
84876
+ };
84877
+ description: string;
84878
+ };
84879
+ 400: {
84880
+ description: string;
84881
+ };
84882
+ 401: {
84883
+ description: string;
84884
+ };
84885
+ };
84886
+ security: ({
84887
+ pat_with_workspace: never[];
84888
+ console_session_with_workspace?: never;
84889
+ api_key?: never;
84890
+ } | {
84891
+ console_session_with_workspace: never[];
84892
+ pat_with_workspace?: never;
84893
+ api_key?: never;
84894
+ } | {
84895
+ api_key: never[];
84896
+ pat_with_workspace?: never;
84897
+ console_session_with_workspace?: never;
84898
+ })[];
84899
+ summary: string;
84900
+ tags: never[];
84901
+ 'x-fern-sdk-group-name': string[];
84902
+ 'x-fern-sdk-method-name': string;
84903
+ 'x-response-key': null;
84904
+ 'x-title': string;
84905
+ 'x-undocumented': string;
84906
+ };
84907
+ put: {
84908
+ description: string;
84909
+ operationId: string;
84910
+ requestBody: {
84911
+ content: {
84912
+ 'application/json': {
84913
+ schema: {
84914
+ properties: {
84915
+ acs_entrance_ids: {
84916
+ description: string;
84917
+ items: {
84973
84918
  format: string;
84974
84919
  type: string;
84975
84920
  };
84921
+ minItems: number;
84922
+ type: string;
84976
84923
  };
84977
- required: string[];
84978
- type: string;
84979
- oneOf?: never;
84980
- })[];
84924
+ location_id: {
84925
+ description: string;
84926
+ format: string;
84927
+ type: string;
84928
+ };
84929
+ };
84930
+ required: string[];
84931
+ type: string;
84981
84932
  };
84982
84933
  };
84983
84934
  };
@@ -84988,9 +84939,6 @@ declare const _default: {
84988
84939
  'application/json': {
84989
84940
  schema: {
84990
84941
  properties: {
84991
- access_grant: {
84992
- $ref: string;
84993
- };
84994
84942
  ok: {
84995
84943
  type: string;
84996
84944
  };
@@ -85013,47 +84961,54 @@ declare const _default: {
85013
84961
  pat_with_workspace: never[];
85014
84962
  console_session_with_workspace?: never;
85015
84963
  api_key?: never;
85016
- client_session_with_customer?: never;
85017
84964
  } | {
85018
84965
  console_session_with_workspace: never[];
85019
84966
  pat_with_workspace?: never;
85020
84967
  api_key?: never;
85021
- client_session_with_customer?: never;
85022
84968
  } | {
85023
84969
  api_key: never[];
85024
84970
  pat_with_workspace?: never;
85025
84971
  console_session_with_workspace?: never;
85026
- client_session_with_customer?: never;
85027
- } | {
85028
- client_session_with_customer: never[];
85029
- pat_with_workspace?: never;
85030
- console_session_with_workspace?: never;
85031
- api_key?: never;
85032
84972
  })[];
85033
84973
  summary: string;
85034
84974
  tags: never[];
85035
84975
  'x-fern-sdk-group-name': string[];
85036
84976
  'x-fern-sdk-method-name': string;
85037
- 'x-fern-sdk-return-value': string;
85038
- 'x-response-key': string;
84977
+ 'x-response-key': null;
85039
84978
  'x-title': string;
85040
84979
  'x-undocumented': string;
85041
84980
  };
85042
84981
  };
85043
- '/unstable_access_grants/delete': {
85044
- delete: {
84982
+ '/unstable_locations/add_devices': {
84983
+ post: {
85045
84984
  description: string;
85046
84985
  operationId: string;
85047
- parameters: {
85048
- in: string;
85049
- name: string;
85050
- required: boolean;
85051
- schema: {
85052
- description: string;
85053
- format: string;
85054
- type: string;
84986
+ requestBody: {
84987
+ content: {
84988
+ 'application/json': {
84989
+ schema: {
84990
+ properties: {
84991
+ device_ids: {
84992
+ description: string;
84993
+ items: {
84994
+ format: string;
84995
+ type: string;
84996
+ };
84997
+ minItems: number;
84998
+ type: string;
84999
+ };
85000
+ location_id: {
85001
+ description: string;
85002
+ format: string;
85003
+ type: string;
85004
+ };
85005
+ };
85006
+ required: string[];
85007
+ type: string;
85008
+ };
85009
+ };
85055
85010
  };
85056
- }[];
85011
+ };
85057
85012
  responses: {
85058
85013
  200: {
85059
85014
  content: {
@@ -85082,22 +85037,14 @@ declare const _default: {
85082
85037
  pat_with_workspace: never[];
85083
85038
  console_session_with_workspace?: never;
85084
85039
  api_key?: never;
85085
- client_session_with_customer?: never;
85086
85040
  } | {
85087
85041
  console_session_with_workspace: never[];
85088
85042
  pat_with_workspace?: never;
85089
85043
  api_key?: never;
85090
- client_session_with_customer?: never;
85091
85044
  } | {
85092
85045
  api_key: never[];
85093
85046
  pat_with_workspace?: never;
85094
85047
  console_session_with_workspace?: never;
85095
- client_session_with_customer?: never;
85096
- } | {
85097
- client_session_with_customer: never[];
85098
- pat_with_workspace?: never;
85099
- console_session_with_workspace?: never;
85100
- api_key?: never;
85101
85048
  })[];
85102
85049
  summary: string;
85103
85050
  tags: never[];
@@ -85107,7 +85054,7 @@ declare const _default: {
85107
85054
  'x-title': string;
85108
85055
  'x-undocumented': string;
85109
85056
  };
85110
- post: {
85057
+ put: {
85111
85058
  description: string;
85112
85059
  operationId: string;
85113
85060
  requestBody: {
@@ -85115,7 +85062,16 @@ declare const _default: {
85115
85062
  'application/json': {
85116
85063
  schema: {
85117
85064
  properties: {
85118
- access_grant_id: {
85065
+ device_ids: {
85066
+ description: string;
85067
+ items: {
85068
+ format: string;
85069
+ type: string;
85070
+ };
85071
+ minItems: number;
85072
+ type: string;
85073
+ };
85074
+ location_id: {
85119
85075
  description: string;
85120
85076
  format: string;
85121
85077
  type: string;
@@ -85155,22 +85111,14 @@ declare const _default: {
85155
85111
  pat_with_workspace: never[];
85156
85112
  console_session_with_workspace?: never;
85157
85113
  api_key?: never;
85158
- client_session_with_customer?: never;
85159
85114
  } | {
85160
85115
  console_session_with_workspace: never[];
85161
85116
  pat_with_workspace?: never;
85162
85117
  api_key?: never;
85163
- client_session_with_customer?: never;
85164
85118
  } | {
85165
85119
  api_key: never[];
85166
85120
  pat_with_workspace?: never;
85167
85121
  console_session_with_workspace?: never;
85168
- client_session_with_customer?: never;
85169
- } | {
85170
- client_session_with_customer: never[];
85171
- pat_with_workspace?: never;
85172
- console_session_with_workspace?: never;
85173
- api_key?: never;
85174
85122
  })[];
85175
85123
  summary: string;
85176
85124
  tags: never[];
@@ -85181,27 +85129,68 @@ declare const _default: {
85181
85129
  'x-undocumented': string;
85182
85130
  };
85183
85131
  };
85184
- '/unstable_access_grants/get': {
85185
- get: {
85132
+ '/unstable_locations/create': {
85133
+ post: {
85186
85134
  description: string;
85187
85135
  operationId: string;
85188
- parameters: {
85189
- in: string;
85190
- name: string;
85191
- required: boolean;
85192
- schema: {
85193
- description: string;
85194
- format: string;
85195
- type: string;
85136
+ requestBody: {
85137
+ content: {
85138
+ 'application/json': {
85139
+ schema: {
85140
+ properties: {
85141
+ acs_entrance_ids: {
85142
+ description: string;
85143
+ items: {
85144
+ format: string;
85145
+ type: string;
85146
+ };
85147
+ type: string;
85148
+ };
85149
+ device_ids: {
85150
+ description: string;
85151
+ items: {
85152
+ format: string;
85153
+ type: string;
85154
+ };
85155
+ type: string;
85156
+ };
85157
+ geolocation: {
85158
+ description: string;
85159
+ properties: {
85160
+ latitude: {
85161
+ format: string;
85162
+ type: string;
85163
+ };
85164
+ longitude: {
85165
+ format: string;
85166
+ type: string;
85167
+ };
85168
+ };
85169
+ required: string[];
85170
+ type: string;
85171
+ };
85172
+ name: {
85173
+ description: string;
85174
+ type: string;
85175
+ };
85176
+ time_zone: {
85177
+ description: string;
85178
+ type: string;
85179
+ };
85180
+ };
85181
+ required: string[];
85182
+ type: string;
85183
+ };
85184
+ };
85196
85185
  };
85197
- }[];
85186
+ };
85198
85187
  responses: {
85199
85188
  200: {
85200
85189
  content: {
85201
85190
  'application/json': {
85202
85191
  schema: {
85203
85192
  properties: {
85204
- access_grant: {
85193
+ location: {
85205
85194
  $ref: string;
85206
85195
  };
85207
85196
  ok: {
@@ -85226,22 +85215,14 @@ declare const _default: {
85226
85215
  pat_with_workspace: never[];
85227
85216
  console_session_with_workspace?: never;
85228
85217
  api_key?: never;
85229
- client_session_with_customer?: never;
85230
85218
  } | {
85231
85219
  console_session_with_workspace: never[];
85232
85220
  pat_with_workspace?: never;
85233
85221
  api_key?: never;
85234
- client_session_with_customer?: never;
85235
85222
  } | {
85236
85223
  api_key: never[];
85237
85224
  pat_with_workspace?: never;
85238
85225
  console_session_with_workspace?: never;
85239
- client_session_with_customer?: never;
85240
- } | {
85241
- client_session_with_customer: never[];
85242
- pat_with_workspace?: never;
85243
- console_session_with_workspace?: never;
85244
- api_key?: never;
85245
85226
  })[];
85246
85227
  summary: string;
85247
85228
  tags: never[];
@@ -85252,7 +85233,9 @@ declare const _default: {
85252
85233
  'x-title': string;
85253
85234
  'x-undocumented': string;
85254
85235
  };
85255
- post: {
85236
+ };
85237
+ '/unstable_locations/delete': {
85238
+ delete: {
85256
85239
  description: string;
85257
85240
  operationId: string;
85258
85241
  requestBody: {
@@ -85260,7 +85243,7 @@ declare const _default: {
85260
85243
  'application/json': {
85261
85244
  schema: {
85262
85245
  properties: {
85263
- access_grant_id: {
85246
+ location_id: {
85264
85247
  description: string;
85265
85248
  format: string;
85266
85249
  type: string;
@@ -85278,9 +85261,6 @@ declare const _default: {
85278
85261
  'application/json': {
85279
85262
  schema: {
85280
85263
  properties: {
85281
- access_grant: {
85282
- $ref: string;
85283
- };
85284
85264
  ok: {
85285
85265
  type: string;
85286
85266
  };
@@ -85303,69 +85283,111 @@ declare const _default: {
85303
85283
  pat_with_workspace: never[];
85304
85284
  console_session_with_workspace?: never;
85305
85285
  api_key?: never;
85306
- client_session_with_customer?: never;
85307
85286
  } | {
85308
85287
  console_session_with_workspace: never[];
85309
85288
  pat_with_workspace?: never;
85310
85289
  api_key?: never;
85311
- client_session_with_customer?: never;
85312
85290
  } | {
85313
85291
  api_key: never[];
85314
85292
  pat_with_workspace?: never;
85315
85293
  console_session_with_workspace?: never;
85316
- client_session_with_customer?: never;
85294
+ })[];
85295
+ summary: string;
85296
+ tags: never[];
85297
+ 'x-fern-sdk-group-name': string[];
85298
+ 'x-fern-sdk-method-name': string;
85299
+ 'x-response-key': null;
85300
+ 'x-title': string;
85301
+ 'x-undocumented': string;
85302
+ };
85303
+ post: {
85304
+ description: string;
85305
+ operationId: string;
85306
+ requestBody: {
85307
+ content: {
85308
+ 'application/json': {
85309
+ schema: {
85310
+ properties: {
85311
+ location_id: {
85312
+ description: string;
85313
+ format: string;
85314
+ type: string;
85315
+ };
85316
+ };
85317
+ required: string[];
85318
+ type: string;
85319
+ };
85320
+ };
85321
+ };
85322
+ };
85323
+ responses: {
85324
+ 200: {
85325
+ content: {
85326
+ 'application/json': {
85327
+ schema: {
85328
+ properties: {
85329
+ ok: {
85330
+ type: string;
85331
+ };
85332
+ };
85333
+ required: string[];
85334
+ type: string;
85335
+ };
85336
+ };
85337
+ };
85338
+ description: string;
85339
+ };
85340
+ 400: {
85341
+ description: string;
85342
+ };
85343
+ 401: {
85344
+ description: string;
85345
+ };
85346
+ };
85347
+ security: ({
85348
+ pat_with_workspace: never[];
85349
+ console_session_with_workspace?: never;
85350
+ api_key?: never;
85317
85351
  } | {
85318
- client_session_with_customer: never[];
85352
+ console_session_with_workspace: never[];
85319
85353
  pat_with_workspace?: never;
85320
- console_session_with_workspace?: never;
85321
85354
  api_key?: never;
85355
+ } | {
85356
+ api_key: never[];
85357
+ pat_with_workspace?: never;
85358
+ console_session_with_workspace?: never;
85322
85359
  })[];
85323
85360
  summary: string;
85324
85361
  tags: never[];
85325
85362
  'x-fern-sdk-group-name': string[];
85326
85363
  'x-fern-sdk-method-name': string;
85327
- 'x-fern-sdk-return-value': string;
85328
- 'x-response-key': string;
85364
+ 'x-response-key': null;
85329
85365
  'x-title': string;
85330
85366
  'x-undocumented': string;
85331
85367
  };
85332
85368
  };
85333
- '/unstable_access_grants/list': {
85369
+ '/unstable_locations/get': {
85334
85370
  get: {
85335
85371
  description: string;
85336
85372
  operationId: string;
85337
- parameters: ({
85373
+ parameters: {
85338
85374
  in: string;
85339
85375
  name: string;
85376
+ required: boolean;
85340
85377
  schema: {
85341
85378
  description: string;
85342
85379
  format: string;
85343
85380
  type: string;
85344
- deprecated?: never;
85345
- 'x-deprecated'?: never;
85346
85381
  };
85347
- } | {
85348
- in: string;
85349
- name: string;
85350
- schema: {
85351
- deprecated: boolean;
85352
- format: string;
85353
- type: string;
85354
- 'x-deprecated': string;
85355
- description?: never;
85356
- };
85357
- })[];
85382
+ }[];
85358
85383
  responses: {
85359
85384
  200: {
85360
85385
  content: {
85361
85386
  'application/json': {
85362
85387
  schema: {
85363
85388
  properties: {
85364
- access_grants: {
85365
- items: {
85366
- $ref: string;
85367
- };
85368
- type: string;
85389
+ location: {
85390
+ $ref: string;
85369
85391
  };
85370
85392
  ok: {
85371
85393
  type: string;
@@ -85389,22 +85411,14 @@ declare const _default: {
85389
85411
  pat_with_workspace: never[];
85390
85412
  console_session_with_workspace?: never;
85391
85413
  api_key?: never;
85392
- client_session_with_customer?: never;
85393
85414
  } | {
85394
85415
  console_session_with_workspace: never[];
85395
85416
  pat_with_workspace?: never;
85396
85417
  api_key?: never;
85397
- client_session_with_customer?: never;
85398
85418
  } | {
85399
85419
  api_key: never[];
85400
85420
  pat_with_workspace?: never;
85401
85421
  console_session_with_workspace?: never;
85402
- client_session_with_customer?: never;
85403
- } | {
85404
- client_session_with_customer: never[];
85405
- pat_with_workspace?: never;
85406
- console_session_with_workspace?: never;
85407
- api_key?: never;
85408
85422
  })[];
85409
85423
  summary: string;
85410
85424
  tags: never[];
@@ -85423,33 +85437,13 @@ declare const _default: {
85423
85437
  'application/json': {
85424
85438
  schema: {
85425
85439
  properties: {
85426
- acs_entrance_id: {
85427
- description: string;
85428
- format: string;
85429
- type: string;
85430
- };
85431
- acs_system_id: {
85432
- description: string;
85433
- format: string;
85434
- type: string;
85435
- };
85436
85440
  location_id: {
85437
- deprecated: boolean;
85438
- format: string;
85439
- type: string;
85440
- 'x-deprecated': string;
85441
- };
85442
- space_id: {
85443
- description: string;
85444
- format: string;
85445
- type: string;
85446
- };
85447
- user_identity_id: {
85448
85441
  description: string;
85449
85442
  format: string;
85450
85443
  type: string;
85451
85444
  };
85452
85445
  };
85446
+ required: string[];
85453
85447
  type: string;
85454
85448
  };
85455
85449
  };
@@ -85461,11 +85455,8 @@ declare const _default: {
85461
85455
  'application/json': {
85462
85456
  schema: {
85463
85457
  properties: {
85464
- access_grants: {
85465
- items: {
85466
- $ref: string;
85467
- };
85468
- type: string;
85458
+ location: {
85459
+ $ref: string;
85469
85460
  };
85470
85461
  ok: {
85471
85462
  type: string;
@@ -85489,22 +85480,14 @@ declare const _default: {
85489
85480
  pat_with_workspace: never[];
85490
85481
  console_session_with_workspace?: never;
85491
85482
  api_key?: never;
85492
- client_session_with_customer?: never;
85493
85483
  } | {
85494
85484
  console_session_with_workspace: never[];
85495
85485
  pat_with_workspace?: never;
85496
85486
  api_key?: never;
85497
- client_session_with_customer?: never;
85498
85487
  } | {
85499
85488
  api_key: never[];
85500
85489
  pat_with_workspace?: never;
85501
85490
  console_session_with_workspace?: never;
85502
- client_session_with_customer?: never;
85503
- } | {
85504
- client_session_with_customer: never[];
85505
- pat_with_workspace?: never;
85506
- console_session_with_workspace?: never;
85507
- api_key?: never;
85508
85491
  })[];
85509
85492
  summary: string;
85510
85493
  tags: never[];
@@ -85516,26 +85499,22 @@ declare const _default: {
85516
85499
  'x-undocumented': string;
85517
85500
  };
85518
85501
  };
85519
- '/unstable_access_methods/delete': {
85520
- delete: {
85502
+ '/unstable_locations/list': {
85503
+ get: {
85521
85504
  description: string;
85522
85505
  operationId: string;
85523
- parameters: {
85524
- in: string;
85525
- name: string;
85526
- required: boolean;
85527
- schema: {
85528
- description: string;
85529
- format: string;
85530
- type: string;
85531
- };
85532
- }[];
85533
85506
  responses: {
85534
85507
  200: {
85535
85508
  content: {
85536
85509
  'application/json': {
85537
85510
  schema: {
85538
85511
  properties: {
85512
+ locations: {
85513
+ items: {
85514
+ $ref: string;
85515
+ };
85516
+ type: string;
85517
+ };
85539
85518
  ok: {
85540
85519
  type: string;
85541
85520
  };
@@ -85571,36 +85550,26 @@ declare const _default: {
85571
85550
  tags: never[];
85572
85551
  'x-fern-sdk-group-name': string[];
85573
85552
  'x-fern-sdk-method-name': string;
85574
- 'x-response-key': null;
85553
+ 'x-fern-sdk-return-value': string;
85554
+ 'x-response-key': string;
85575
85555
  'x-title': string;
85576
85556
  'x-undocumented': string;
85577
85557
  };
85578
85558
  post: {
85579
85559
  description: string;
85580
85560
  operationId: string;
85581
- requestBody: {
85582
- content: {
85583
- 'application/json': {
85584
- schema: {
85585
- properties: {
85586
- access_method_id: {
85587
- description: string;
85588
- format: string;
85589
- type: string;
85590
- };
85591
- };
85592
- required: string[];
85593
- type: string;
85594
- };
85595
- };
85596
- };
85597
- };
85598
85561
  responses: {
85599
85562
  200: {
85600
85563
  content: {
85601
85564
  'application/json': {
85602
85565
  schema: {
85603
85566
  properties: {
85567
+ locations: {
85568
+ items: {
85569
+ $ref: string;
85570
+ };
85571
+ type: string;
85572
+ };
85604
85573
  ok: {
85605
85574
  type: string;
85606
85575
  };
@@ -85636,16 +85605,17 @@ declare const _default: {
85636
85605
  tags: never[];
85637
85606
  'x-fern-sdk-group-name': string[];
85638
85607
  'x-fern-sdk-method-name': string;
85639
- 'x-response-key': null;
85608
+ 'x-fern-sdk-return-value': string;
85609
+ 'x-response-key': string;
85640
85610
  'x-title': string;
85641
85611
  'x-undocumented': string;
85642
85612
  };
85643
85613
  };
85644
- '/unstable_access_methods/get': {
85645
- get: {
85614
+ '/unstable_locations/remove_acs_entrances': {
85615
+ delete: {
85646
85616
  description: string;
85647
85617
  operationId: string;
85648
- parameters: {
85618
+ parameters: ({
85649
85619
  in: string;
85650
85620
  name: string;
85651
85621
  required: boolean;
@@ -85653,17 +85623,28 @@ declare const _default: {
85653
85623
  description: string;
85654
85624
  format: string;
85655
85625
  type: string;
85626
+ items?: never;
85656
85627
  };
85657
- }[];
85628
+ } | {
85629
+ in: string;
85630
+ name: string;
85631
+ required: boolean;
85632
+ schema: {
85633
+ description: string;
85634
+ items: {
85635
+ format: string;
85636
+ type: string;
85637
+ };
85638
+ type: string;
85639
+ format?: never;
85640
+ };
85641
+ })[];
85658
85642
  responses: {
85659
85643
  200: {
85660
85644
  content: {
85661
85645
  'application/json': {
85662
85646
  schema: {
85663
85647
  properties: {
85664
- access_method: {
85665
- $ref: string;
85666
- };
85667
85648
  ok: {
85668
85649
  type: string;
85669
85650
  };
@@ -85699,8 +85680,7 @@ declare const _default: {
85699
85680
  tags: never[];
85700
85681
  'x-fern-sdk-group-name': string[];
85701
85682
  'x-fern-sdk-method-name': string;
85702
- 'x-fern-sdk-return-value': string;
85703
- 'x-response-key': string;
85683
+ 'x-response-key': null;
85704
85684
  'x-title': string;
85705
85685
  'x-undocumented': string;
85706
85686
  };
@@ -85712,7 +85692,15 @@ declare const _default: {
85712
85692
  'application/json': {
85713
85693
  schema: {
85714
85694
  properties: {
85715
- access_method_id: {
85695
+ acs_entrance_ids: {
85696
+ description: string;
85697
+ items: {
85698
+ format: string;
85699
+ type: string;
85700
+ };
85701
+ type: string;
85702
+ };
85703
+ location_id: {
85716
85704
  description: string;
85717
85705
  format: string;
85718
85706
  type: string;
@@ -85730,9 +85718,6 @@ declare const _default: {
85730
85718
  'application/json': {
85731
85719
  schema: {
85732
85720
  properties: {
85733
- access_method: {
85734
- $ref: string;
85735
- };
85736
85721
  ok: {
85737
85722
  type: string;
85738
85723
  };
@@ -85768,17 +85753,16 @@ declare const _default: {
85768
85753
  tags: never[];
85769
85754
  'x-fern-sdk-group-name': string[];
85770
85755
  'x-fern-sdk-method-name': string;
85771
- 'x-fern-sdk-return-value': string;
85772
- 'x-response-key': string;
85756
+ 'x-response-key': null;
85773
85757
  'x-title': string;
85774
85758
  'x-undocumented': string;
85775
85759
  };
85776
85760
  };
85777
- '/unstable_access_methods/list': {
85778
- get: {
85761
+ '/unstable_locations/remove_devices': {
85762
+ delete: {
85779
85763
  description: string;
85780
85764
  operationId: string;
85781
- parameters: {
85765
+ parameters: ({
85782
85766
  in: string;
85783
85767
  name: string;
85784
85768
  required: boolean;
@@ -85786,20 +85770,28 @@ declare const _default: {
85786
85770
  description: string;
85787
85771
  format: string;
85788
85772
  type: string;
85773
+ items?: never;
85789
85774
  };
85790
- }[];
85775
+ } | {
85776
+ in: string;
85777
+ name: string;
85778
+ required: boolean;
85779
+ schema: {
85780
+ description: string;
85781
+ items: {
85782
+ format: string;
85783
+ type: string;
85784
+ };
85785
+ type: string;
85786
+ format?: never;
85787
+ };
85788
+ })[];
85791
85789
  responses: {
85792
85790
  200: {
85793
85791
  content: {
85794
85792
  'application/json': {
85795
85793
  schema: {
85796
85794
  properties: {
85797
- access_methods: {
85798
- items: {
85799
- $ref: string;
85800
- };
85801
- type: string;
85802
- };
85803
85795
  ok: {
85804
85796
  type: string;
85805
85797
  };
@@ -85835,8 +85827,7 @@ declare const _default: {
85835
85827
  tags: never[];
85836
85828
  'x-fern-sdk-group-name': string[];
85837
85829
  'x-fern-sdk-method-name': string;
85838
- 'x-fern-sdk-return-value': string;
85839
- 'x-response-key': string;
85830
+ 'x-response-key': null;
85840
85831
  'x-title': string;
85841
85832
  'x-undocumented': string;
85842
85833
  };
@@ -85848,7 +85839,15 @@ declare const _default: {
85848
85839
  'application/json': {
85849
85840
  schema: {
85850
85841
  properties: {
85851
- access_grant_id: {
85842
+ device_ids: {
85843
+ description: string;
85844
+ items: {
85845
+ format: string;
85846
+ type: string;
85847
+ };
85848
+ type: string;
85849
+ };
85850
+ location_id: {
85852
85851
  description: string;
85853
85852
  format: string;
85854
85853
  type: string;
@@ -85866,12 +85865,6 @@ declare const _default: {
85866
85865
  'application/json': {
85867
85866
  schema: {
85868
85867
  properties: {
85869
- access_methods: {
85870
- items: {
85871
- $ref: string;
85872
- };
85873
- type: string;
85874
- };
85875
85868
  ok: {
85876
85869
  type: string;
85877
85870
  };
@@ -85907,14 +85900,13 @@ declare const _default: {
85907
85900
  tags: never[];
85908
85901
  'x-fern-sdk-group-name': string[];
85909
85902
  'x-fern-sdk-method-name': string;
85910
- 'x-fern-sdk-return-value': string;
85911
- 'x-response-key': string;
85903
+ 'x-response-key': null;
85912
85904
  'x-title': string;
85913
85905
  'x-undocumented': string;
85914
85906
  };
85915
85907
  };
85916
- '/unstable_locations/add_acs_entrances': {
85917
- post: {
85908
+ '/unstable_locations/update': {
85909
+ patch: {
85918
85910
  description: string;
85919
85911
  operationId: string;
85920
85912
  requestBody: {
@@ -85922,13 +85914,19 @@ declare const _default: {
85922
85914
  'application/json': {
85923
85915
  schema: {
85924
85916
  properties: {
85925
- acs_entrance_ids: {
85917
+ geolocation: {
85926
85918
  description: string;
85927
- items: {
85928
- format: string;
85929
- type: string;
85919
+ properties: {
85920
+ latitude: {
85921
+ format: string;
85922
+ type: string;
85923
+ };
85924
+ longitude: {
85925
+ format: string;
85926
+ type: string;
85927
+ };
85930
85928
  };
85931
- minItems: number;
85929
+ required: string[];
85932
85930
  type: string;
85933
85931
  };
85934
85932
  location_id: {
@@ -85936,6 +85934,14 @@ declare const _default: {
85936
85934
  format: string;
85937
85935
  type: string;
85938
85936
  };
85937
+ name: {
85938
+ description: string;
85939
+ type: string;
85940
+ };
85941
+ time_zone: {
85942
+ description: string;
85943
+ type: string;
85944
+ };
85939
85945
  };
85940
85946
  required: string[];
85941
85947
  type: string;
@@ -85949,6 +85955,9 @@ declare const _default: {
85949
85955
  'application/json': {
85950
85956
  schema: {
85951
85957
  properties: {
85958
+ location: {
85959
+ $ref: string;
85960
+ };
85952
85961
  ok: {
85953
85962
  type: string;
85954
85963
  };
@@ -85984,11 +85993,12 @@ declare const _default: {
85984
85993
  tags: never[];
85985
85994
  'x-fern-sdk-group-name': string[];
85986
85995
  'x-fern-sdk-method-name': string;
85987
- 'x-response-key': null;
85996
+ 'x-fern-sdk-return-value': string;
85997
+ 'x-response-key': string;
85988
85998
  'x-title': string;
85989
85999
  'x-undocumented': string;
85990
86000
  };
85991
- put: {
86001
+ post: {
85992
86002
  description: string;
85993
86003
  operationId: string;
85994
86004
  requestBody: {
@@ -85996,13 +86006,19 @@ declare const _default: {
85996
86006
  'application/json': {
85997
86007
  schema: {
85998
86008
  properties: {
85999
- acs_entrance_ids: {
86009
+ geolocation: {
86000
86010
  description: string;
86001
- items: {
86002
- format: string;
86003
- type: string;
86011
+ properties: {
86012
+ latitude: {
86013
+ format: string;
86014
+ type: string;
86015
+ };
86016
+ longitude: {
86017
+ format: string;
86018
+ type: string;
86019
+ };
86004
86020
  };
86005
- minItems: number;
86021
+ required: string[];
86006
86022
  type: string;
86007
86023
  };
86008
86024
  location_id: {
@@ -86010,6 +86026,14 @@ declare const _default: {
86010
86026
  format: string;
86011
86027
  type: string;
86012
86028
  };
86029
+ name: {
86030
+ description: string;
86031
+ type: string;
86032
+ };
86033
+ time_zone: {
86034
+ description: string;
86035
+ type: string;
86036
+ };
86013
86037
  };
86014
86038
  required: string[];
86015
86039
  type: string;
@@ -86023,6 +86047,9 @@ declare const _default: {
86023
86047
  'application/json': {
86024
86048
  schema: {
86025
86049
  properties: {
86050
+ location: {
86051
+ $ref: string;
86052
+ };
86026
86053
  ok: {
86027
86054
  type: string;
86028
86055
  };
@@ -86058,12 +86085,13 @@ declare const _default: {
86058
86085
  tags: never[];
86059
86086
  'x-fern-sdk-group-name': string[];
86060
86087
  'x-fern-sdk-method-name': string;
86061
- 'x-response-key': null;
86088
+ 'x-fern-sdk-return-value': string;
86089
+ 'x-response-key': string;
86062
86090
  'x-title': string;
86063
86091
  'x-undocumented': string;
86064
86092
  };
86065
86093
  };
86066
- '/unstable_locations/add_devices': {
86094
+ '/unstable_partner/building_blocks/connect_accounts': {
86067
86095
  post: {
86068
86096
  description: string;
86069
86097
  operationId: string;
@@ -86072,18 +86100,8 @@ declare const _default: {
86072
86100
  'application/json': {
86073
86101
  schema: {
86074
86102
  properties: {
86075
- device_ids: {
86076
- description: string;
86077
- items: {
86078
- format: string;
86079
- type: string;
86080
- };
86081
- minItems: number;
86082
- type: string;
86083
- };
86084
- location_id: {
86103
+ customer_key: {
86085
86104
  description: string;
86086
- format: string;
86087
86105
  type: string;
86088
86106
  };
86089
86107
  };
@@ -86099,6 +86117,9 @@ declare const _default: {
86099
86117
  'application/json': {
86100
86118
  schema: {
86101
86119
  properties: {
86120
+ magic_link: {
86121
+ $ref: string;
86122
+ };
86102
86123
  ok: {
86103
86124
  type: string;
86104
86125
  };
@@ -86134,45 +86155,69 @@ declare const _default: {
86134
86155
  tags: never[];
86135
86156
  'x-fern-sdk-group-name': string[];
86136
86157
  'x-fern-sdk-method-name': string;
86137
- 'x-response-key': null;
86158
+ 'x-fern-sdk-return-value': string;
86159
+ 'x-response-key': string;
86138
86160
  'x-title': string;
86139
86161
  'x-undocumented': string;
86140
86162
  };
86141
- put: {
86163
+ };
86164
+ '/unstable_partner/building_blocks/generate_magic_link': {
86165
+ get: {
86142
86166
  description: string;
86143
86167
  operationId: string;
86144
- requestBody: {
86145
- content: {
86146
- 'application/json': {
86147
- schema: {
86148
- properties: {
86149
- device_ids: {
86150
- description: string;
86151
- items: {
86152
- format: string;
86153
- type: string;
86154
- };
86155
- minItems: number;
86156
- type: string;
86157
- };
86158
- location_id: {
86159
- description: string;
86160
- format: string;
86161
- type: string;
86162
- };
86168
+ parameters: ({
86169
+ in: string;
86170
+ name: string;
86171
+ required: boolean;
86172
+ schema: {
86173
+ description: string;
86174
+ enum: string[];
86175
+ type: string;
86176
+ items?: never;
86177
+ };
86178
+ } | {
86179
+ in: string;
86180
+ name: string;
86181
+ required: boolean;
86182
+ schema: {
86183
+ description: string;
86184
+ type: string;
86185
+ enum?: never;
86186
+ items?: never;
86187
+ };
86188
+ } | {
86189
+ in: string;
86190
+ name: string;
86191
+ required: boolean;
86192
+ schema: {
86193
+ description: string;
86194
+ items: {
86195
+ properties: {
86196
+ name: {
86197
+ description: string;
86198
+ type: string;
86199
+ };
86200
+ space_key: {
86201
+ description: string;
86202
+ type: string;
86163
86203
  };
86164
- required: string[];
86165
- type: string;
86166
86204
  };
86205
+ required: string[];
86206
+ type: string;
86167
86207
  };
86208
+ type: string;
86209
+ enum?: never;
86168
86210
  };
86169
- };
86211
+ })[];
86170
86212
  responses: {
86171
86213
  200: {
86172
86214
  content: {
86173
86215
  'application/json': {
86174
86216
  schema: {
86175
86217
  properties: {
86218
+ magic_link: {
86219
+ $ref: string;
86220
+ };
86176
86221
  ok: {
86177
86222
  type: string;
86178
86223
  };
@@ -86208,12 +86253,11 @@ declare const _default: {
86208
86253
  tags: never[];
86209
86254
  'x-fern-sdk-group-name': string[];
86210
86255
  'x-fern-sdk-method-name': string;
86211
- 'x-response-key': null;
86256
+ 'x-fern-sdk-return-value': string;
86257
+ 'x-response-key': string;
86212
86258
  'x-title': string;
86213
86259
  'x-undocumented': string;
86214
86260
  };
86215
- };
86216
- '/unstable_locations/create': {
86217
86261
  post: {
86218
86262
  description: string;
86219
86263
  operationId: string;
@@ -86222,43 +86266,31 @@ declare const _default: {
86222
86266
  'application/json': {
86223
86267
  schema: {
86224
86268
  properties: {
86225
- acs_entrance_ids: {
86269
+ building_block_type: {
86226
86270
  description: string;
86227
- items: {
86228
- format: string;
86229
- type: string;
86230
- };
86271
+ enum: string[];
86231
86272
  type: string;
86232
86273
  };
86233
- device_ids: {
86274
+ customer_key: {
86234
86275
  description: string;
86235
- items: {
86236
- format: string;
86237
- type: string;
86238
- };
86239
86276
  type: string;
86240
86277
  };
86241
- geolocation: {
86278
+ spaces: {
86242
86279
  description: string;
86243
- properties: {
86244
- latitude: {
86245
- format: string;
86246
- type: string;
86247
- };
86248
- longitude: {
86249
- format: string;
86250
- type: string;
86280
+ items: {
86281
+ properties: {
86282
+ name: {
86283
+ description: string;
86284
+ type: string;
86285
+ };
86286
+ space_key: {
86287
+ description: string;
86288
+ type: string;
86289
+ };
86251
86290
  };
86291
+ required: string[];
86292
+ type: string;
86252
86293
  };
86253
- required: string[];
86254
- type: string;
86255
- };
86256
- name: {
86257
- description: string;
86258
- type: string;
86259
- };
86260
- time_zone: {
86261
- description: string;
86262
86294
  type: string;
86263
86295
  };
86264
86296
  };
@@ -86274,1123 +86306,7 @@ declare const _default: {
86274
86306
  'application/json': {
86275
86307
  schema: {
86276
86308
  properties: {
86277
- location: {
86278
- $ref: string;
86279
- };
86280
- ok: {
86281
- type: string;
86282
- };
86283
- };
86284
- required: string[];
86285
- type: string;
86286
- };
86287
- };
86288
- };
86289
- description: string;
86290
- };
86291
- 400: {
86292
- description: string;
86293
- };
86294
- 401: {
86295
- description: string;
86296
- };
86297
- };
86298
- security: ({
86299
- pat_with_workspace: never[];
86300
- console_session_with_workspace?: never;
86301
- api_key?: never;
86302
- } | {
86303
- console_session_with_workspace: never[];
86304
- pat_with_workspace?: never;
86305
- api_key?: never;
86306
- } | {
86307
- api_key: never[];
86308
- pat_with_workspace?: never;
86309
- console_session_with_workspace?: never;
86310
- })[];
86311
- summary: string;
86312
- tags: never[];
86313
- 'x-fern-sdk-group-name': string[];
86314
- 'x-fern-sdk-method-name': string;
86315
- 'x-fern-sdk-return-value': string;
86316
- 'x-response-key': string;
86317
- 'x-title': string;
86318
- 'x-undocumented': string;
86319
- };
86320
- };
86321
- '/unstable_locations/delete': {
86322
- delete: {
86323
- description: string;
86324
- operationId: string;
86325
- requestBody: {
86326
- content: {
86327
- 'application/json': {
86328
- schema: {
86329
- properties: {
86330
- location_id: {
86331
- description: string;
86332
- format: string;
86333
- type: string;
86334
- };
86335
- };
86336
- required: string[];
86337
- type: string;
86338
- };
86339
- };
86340
- };
86341
- };
86342
- responses: {
86343
- 200: {
86344
- content: {
86345
- 'application/json': {
86346
- schema: {
86347
- properties: {
86348
- ok: {
86349
- type: string;
86350
- };
86351
- };
86352
- required: string[];
86353
- type: string;
86354
- };
86355
- };
86356
- };
86357
- description: string;
86358
- };
86359
- 400: {
86360
- description: string;
86361
- };
86362
- 401: {
86363
- description: string;
86364
- };
86365
- };
86366
- security: ({
86367
- pat_with_workspace: never[];
86368
- console_session_with_workspace?: never;
86369
- api_key?: never;
86370
- } | {
86371
- console_session_with_workspace: never[];
86372
- pat_with_workspace?: never;
86373
- api_key?: never;
86374
- } | {
86375
- api_key: never[];
86376
- pat_with_workspace?: never;
86377
- console_session_with_workspace?: never;
86378
- })[];
86379
- summary: string;
86380
- tags: never[];
86381
- 'x-fern-sdk-group-name': string[];
86382
- 'x-fern-sdk-method-name': string;
86383
- 'x-response-key': null;
86384
- 'x-title': string;
86385
- 'x-undocumented': string;
86386
- };
86387
- post: {
86388
- description: string;
86389
- operationId: string;
86390
- requestBody: {
86391
- content: {
86392
- 'application/json': {
86393
- schema: {
86394
- properties: {
86395
- location_id: {
86396
- description: string;
86397
- format: string;
86398
- type: string;
86399
- };
86400
- };
86401
- required: string[];
86402
- type: string;
86403
- };
86404
- };
86405
- };
86406
- };
86407
- responses: {
86408
- 200: {
86409
- content: {
86410
- 'application/json': {
86411
- schema: {
86412
- properties: {
86413
- ok: {
86414
- type: string;
86415
- };
86416
- };
86417
- required: string[];
86418
- type: string;
86419
- };
86420
- };
86421
- };
86422
- description: string;
86423
- };
86424
- 400: {
86425
- description: string;
86426
- };
86427
- 401: {
86428
- description: string;
86429
- };
86430
- };
86431
- security: ({
86432
- pat_with_workspace: never[];
86433
- console_session_with_workspace?: never;
86434
- api_key?: never;
86435
- } | {
86436
- console_session_with_workspace: never[];
86437
- pat_with_workspace?: never;
86438
- api_key?: never;
86439
- } | {
86440
- api_key: never[];
86441
- pat_with_workspace?: never;
86442
- console_session_with_workspace?: never;
86443
- })[];
86444
- summary: string;
86445
- tags: never[];
86446
- 'x-fern-sdk-group-name': string[];
86447
- 'x-fern-sdk-method-name': string;
86448
- 'x-response-key': null;
86449
- 'x-title': string;
86450
- 'x-undocumented': string;
86451
- };
86452
- };
86453
- '/unstable_locations/get': {
86454
- get: {
86455
- description: string;
86456
- operationId: string;
86457
- parameters: {
86458
- in: string;
86459
- name: string;
86460
- required: boolean;
86461
- schema: {
86462
- description: string;
86463
- format: string;
86464
- type: string;
86465
- };
86466
- }[];
86467
- responses: {
86468
- 200: {
86469
- content: {
86470
- 'application/json': {
86471
- schema: {
86472
- properties: {
86473
- location: {
86474
- $ref: string;
86475
- };
86476
- ok: {
86477
- type: string;
86478
- };
86479
- };
86480
- required: string[];
86481
- type: string;
86482
- };
86483
- };
86484
- };
86485
- description: string;
86486
- };
86487
- 400: {
86488
- description: string;
86489
- };
86490
- 401: {
86491
- description: string;
86492
- };
86493
- };
86494
- security: ({
86495
- pat_with_workspace: never[];
86496
- console_session_with_workspace?: never;
86497
- api_key?: never;
86498
- } | {
86499
- console_session_with_workspace: never[];
86500
- pat_with_workspace?: never;
86501
- api_key?: never;
86502
- } | {
86503
- api_key: never[];
86504
- pat_with_workspace?: never;
86505
- console_session_with_workspace?: never;
86506
- })[];
86507
- summary: string;
86508
- tags: never[];
86509
- 'x-fern-sdk-group-name': string[];
86510
- 'x-fern-sdk-method-name': string;
86511
- 'x-fern-sdk-return-value': string;
86512
- 'x-response-key': string;
86513
- 'x-title': string;
86514
- 'x-undocumented': string;
86515
- };
86516
- post: {
86517
- description: string;
86518
- operationId: string;
86519
- requestBody: {
86520
- content: {
86521
- 'application/json': {
86522
- schema: {
86523
- properties: {
86524
- location_id: {
86525
- description: string;
86526
- format: string;
86527
- type: string;
86528
- };
86529
- };
86530
- required: string[];
86531
- type: string;
86532
- };
86533
- };
86534
- };
86535
- };
86536
- responses: {
86537
- 200: {
86538
- content: {
86539
- 'application/json': {
86540
- schema: {
86541
- properties: {
86542
- location: {
86543
- $ref: string;
86544
- };
86545
- ok: {
86546
- type: string;
86547
- };
86548
- };
86549
- required: string[];
86550
- type: string;
86551
- };
86552
- };
86553
- };
86554
- description: string;
86555
- };
86556
- 400: {
86557
- description: string;
86558
- };
86559
- 401: {
86560
- description: string;
86561
- };
86562
- };
86563
- security: ({
86564
- pat_with_workspace: never[];
86565
- console_session_with_workspace?: never;
86566
- api_key?: never;
86567
- } | {
86568
- console_session_with_workspace: never[];
86569
- pat_with_workspace?: never;
86570
- api_key?: never;
86571
- } | {
86572
- api_key: never[];
86573
- pat_with_workspace?: never;
86574
- console_session_with_workspace?: never;
86575
- })[];
86576
- summary: string;
86577
- tags: never[];
86578
- 'x-fern-sdk-group-name': string[];
86579
- 'x-fern-sdk-method-name': string;
86580
- 'x-fern-sdk-return-value': string;
86581
- 'x-response-key': string;
86582
- 'x-title': string;
86583
- 'x-undocumented': string;
86584
- };
86585
- };
86586
- '/unstable_locations/list': {
86587
- get: {
86588
- description: string;
86589
- operationId: string;
86590
- responses: {
86591
- 200: {
86592
- content: {
86593
- 'application/json': {
86594
- schema: {
86595
- properties: {
86596
- locations: {
86597
- items: {
86598
- $ref: string;
86599
- };
86600
- type: string;
86601
- };
86602
- ok: {
86603
- type: string;
86604
- };
86605
- };
86606
- required: string[];
86607
- type: string;
86608
- };
86609
- };
86610
- };
86611
- description: string;
86612
- };
86613
- 400: {
86614
- description: string;
86615
- };
86616
- 401: {
86617
- description: string;
86618
- };
86619
- };
86620
- security: ({
86621
- pat_with_workspace: never[];
86622
- console_session_with_workspace?: never;
86623
- api_key?: never;
86624
- } | {
86625
- console_session_with_workspace: never[];
86626
- pat_with_workspace?: never;
86627
- api_key?: never;
86628
- } | {
86629
- api_key: never[];
86630
- pat_with_workspace?: never;
86631
- console_session_with_workspace?: never;
86632
- })[];
86633
- summary: string;
86634
- tags: never[];
86635
- 'x-fern-sdk-group-name': string[];
86636
- 'x-fern-sdk-method-name': string;
86637
- 'x-fern-sdk-return-value': string;
86638
- 'x-response-key': string;
86639
- 'x-title': string;
86640
- 'x-undocumented': string;
86641
- };
86642
- post: {
86643
- description: string;
86644
- operationId: string;
86645
- responses: {
86646
- 200: {
86647
- content: {
86648
- 'application/json': {
86649
- schema: {
86650
- properties: {
86651
- locations: {
86652
- items: {
86653
- $ref: string;
86654
- };
86655
- type: string;
86656
- };
86657
- ok: {
86658
- type: string;
86659
- };
86660
- };
86661
- required: string[];
86662
- type: string;
86663
- };
86664
- };
86665
- };
86666
- description: string;
86667
- };
86668
- 400: {
86669
- description: string;
86670
- };
86671
- 401: {
86672
- description: string;
86673
- };
86674
- };
86675
- security: ({
86676
- pat_with_workspace: never[];
86677
- console_session_with_workspace?: never;
86678
- api_key?: never;
86679
- } | {
86680
- console_session_with_workspace: never[];
86681
- pat_with_workspace?: never;
86682
- api_key?: never;
86683
- } | {
86684
- api_key: never[];
86685
- pat_with_workspace?: never;
86686
- console_session_with_workspace?: never;
86687
- })[];
86688
- summary: string;
86689
- tags: never[];
86690
- 'x-fern-sdk-group-name': string[];
86691
- 'x-fern-sdk-method-name': string;
86692
- 'x-fern-sdk-return-value': string;
86693
- 'x-response-key': string;
86694
- 'x-title': string;
86695
- 'x-undocumented': string;
86696
- };
86697
- };
86698
- '/unstable_locations/remove_acs_entrances': {
86699
- delete: {
86700
- description: string;
86701
- operationId: string;
86702
- parameters: ({
86703
- in: string;
86704
- name: string;
86705
- required: boolean;
86706
- schema: {
86707
- description: string;
86708
- format: string;
86709
- type: string;
86710
- items?: never;
86711
- };
86712
- } | {
86713
- in: string;
86714
- name: string;
86715
- required: boolean;
86716
- schema: {
86717
- description: string;
86718
- items: {
86719
- format: string;
86720
- type: string;
86721
- };
86722
- type: string;
86723
- format?: never;
86724
- };
86725
- })[];
86726
- responses: {
86727
- 200: {
86728
- content: {
86729
- 'application/json': {
86730
- schema: {
86731
- properties: {
86732
- ok: {
86733
- type: string;
86734
- };
86735
- };
86736
- required: string[];
86737
- type: string;
86738
- };
86739
- };
86740
- };
86741
- description: string;
86742
- };
86743
- 400: {
86744
- description: string;
86745
- };
86746
- 401: {
86747
- description: string;
86748
- };
86749
- };
86750
- security: ({
86751
- pat_with_workspace: never[];
86752
- console_session_with_workspace?: never;
86753
- api_key?: never;
86754
- } | {
86755
- console_session_with_workspace: never[];
86756
- pat_with_workspace?: never;
86757
- api_key?: never;
86758
- } | {
86759
- api_key: never[];
86760
- pat_with_workspace?: never;
86761
- console_session_with_workspace?: never;
86762
- })[];
86763
- summary: string;
86764
- tags: never[];
86765
- 'x-fern-sdk-group-name': string[];
86766
- 'x-fern-sdk-method-name': string;
86767
- 'x-response-key': null;
86768
- 'x-title': string;
86769
- 'x-undocumented': string;
86770
- };
86771
- post: {
86772
- description: string;
86773
- operationId: string;
86774
- requestBody: {
86775
- content: {
86776
- 'application/json': {
86777
- schema: {
86778
- properties: {
86779
- acs_entrance_ids: {
86780
- description: string;
86781
- items: {
86782
- format: string;
86783
- type: string;
86784
- };
86785
- type: string;
86786
- };
86787
- location_id: {
86788
- description: string;
86789
- format: string;
86790
- type: string;
86791
- };
86792
- };
86793
- required: string[];
86794
- type: string;
86795
- };
86796
- };
86797
- };
86798
- };
86799
- responses: {
86800
- 200: {
86801
- content: {
86802
- 'application/json': {
86803
- schema: {
86804
- properties: {
86805
- ok: {
86806
- type: string;
86807
- };
86808
- };
86809
- required: string[];
86810
- type: string;
86811
- };
86812
- };
86813
- };
86814
- description: string;
86815
- };
86816
- 400: {
86817
- description: string;
86818
- };
86819
- 401: {
86820
- description: string;
86821
- };
86822
- };
86823
- security: ({
86824
- pat_with_workspace: never[];
86825
- console_session_with_workspace?: never;
86826
- api_key?: never;
86827
- } | {
86828
- console_session_with_workspace: never[];
86829
- pat_with_workspace?: never;
86830
- api_key?: never;
86831
- } | {
86832
- api_key: never[];
86833
- pat_with_workspace?: never;
86834
- console_session_with_workspace?: never;
86835
- })[];
86836
- summary: string;
86837
- tags: never[];
86838
- 'x-fern-sdk-group-name': string[];
86839
- 'x-fern-sdk-method-name': string;
86840
- 'x-response-key': null;
86841
- 'x-title': string;
86842
- 'x-undocumented': string;
86843
- };
86844
- };
86845
- '/unstable_locations/remove_devices': {
86846
- delete: {
86847
- description: string;
86848
- operationId: string;
86849
- parameters: ({
86850
- in: string;
86851
- name: string;
86852
- required: boolean;
86853
- schema: {
86854
- description: string;
86855
- format: string;
86856
- type: string;
86857
- items?: never;
86858
- };
86859
- } | {
86860
- in: string;
86861
- name: string;
86862
- required: boolean;
86863
- schema: {
86864
- description: string;
86865
- items: {
86866
- format: string;
86867
- type: string;
86868
- };
86869
- type: string;
86870
- format?: never;
86871
- };
86872
- })[];
86873
- responses: {
86874
- 200: {
86875
- content: {
86876
- 'application/json': {
86877
- schema: {
86878
- properties: {
86879
- ok: {
86880
- type: string;
86881
- };
86882
- };
86883
- required: string[];
86884
- type: string;
86885
- };
86886
- };
86887
- };
86888
- description: string;
86889
- };
86890
- 400: {
86891
- description: string;
86892
- };
86893
- 401: {
86894
- description: string;
86895
- };
86896
- };
86897
- security: ({
86898
- pat_with_workspace: never[];
86899
- console_session_with_workspace?: never;
86900
- api_key?: never;
86901
- } | {
86902
- console_session_with_workspace: never[];
86903
- pat_with_workspace?: never;
86904
- api_key?: never;
86905
- } | {
86906
- api_key: never[];
86907
- pat_with_workspace?: never;
86908
- console_session_with_workspace?: never;
86909
- })[];
86910
- summary: string;
86911
- tags: never[];
86912
- 'x-fern-sdk-group-name': string[];
86913
- 'x-fern-sdk-method-name': string;
86914
- 'x-response-key': null;
86915
- 'x-title': string;
86916
- 'x-undocumented': string;
86917
- };
86918
- post: {
86919
- description: string;
86920
- operationId: string;
86921
- requestBody: {
86922
- content: {
86923
- 'application/json': {
86924
- schema: {
86925
- properties: {
86926
- device_ids: {
86927
- description: string;
86928
- items: {
86929
- format: string;
86930
- type: string;
86931
- };
86932
- type: string;
86933
- };
86934
- location_id: {
86935
- description: string;
86936
- format: string;
86937
- type: string;
86938
- };
86939
- };
86940
- required: string[];
86941
- type: string;
86942
- };
86943
- };
86944
- };
86945
- };
86946
- responses: {
86947
- 200: {
86948
- content: {
86949
- 'application/json': {
86950
- schema: {
86951
- properties: {
86952
- ok: {
86953
- type: string;
86954
- };
86955
- };
86956
- required: string[];
86957
- type: string;
86958
- };
86959
- };
86960
- };
86961
- description: string;
86962
- };
86963
- 400: {
86964
- description: string;
86965
- };
86966
- 401: {
86967
- description: string;
86968
- };
86969
- };
86970
- security: ({
86971
- pat_with_workspace: never[];
86972
- console_session_with_workspace?: never;
86973
- api_key?: never;
86974
- } | {
86975
- console_session_with_workspace: never[];
86976
- pat_with_workspace?: never;
86977
- api_key?: never;
86978
- } | {
86979
- api_key: never[];
86980
- pat_with_workspace?: never;
86981
- console_session_with_workspace?: never;
86982
- })[];
86983
- summary: string;
86984
- tags: never[];
86985
- 'x-fern-sdk-group-name': string[];
86986
- 'x-fern-sdk-method-name': string;
86987
- 'x-response-key': null;
86988
- 'x-title': string;
86989
- 'x-undocumented': string;
86990
- };
86991
- };
86992
- '/unstable_locations/update': {
86993
- patch: {
86994
- description: string;
86995
- operationId: string;
86996
- requestBody: {
86997
- content: {
86998
- 'application/json': {
86999
- schema: {
87000
- properties: {
87001
- geolocation: {
87002
- description: string;
87003
- properties: {
87004
- latitude: {
87005
- format: string;
87006
- type: string;
87007
- };
87008
- longitude: {
87009
- format: string;
87010
- type: string;
87011
- };
87012
- };
87013
- required: string[];
87014
- type: string;
87015
- };
87016
- location_id: {
87017
- description: string;
87018
- format: string;
87019
- type: string;
87020
- };
87021
- name: {
87022
- description: string;
87023
- type: string;
87024
- };
87025
- time_zone: {
87026
- description: string;
87027
- type: string;
87028
- };
87029
- };
87030
- required: string[];
87031
- type: string;
87032
- };
87033
- };
87034
- };
87035
- };
87036
- responses: {
87037
- 200: {
87038
- content: {
87039
- 'application/json': {
87040
- schema: {
87041
- properties: {
87042
- location: {
87043
- $ref: string;
87044
- };
87045
- ok: {
87046
- type: string;
87047
- };
87048
- };
87049
- required: string[];
87050
- type: string;
87051
- };
87052
- };
87053
- };
87054
- description: string;
87055
- };
87056
- 400: {
87057
- description: string;
87058
- };
87059
- 401: {
87060
- description: string;
87061
- };
87062
- };
87063
- security: ({
87064
- pat_with_workspace: never[];
87065
- console_session_with_workspace?: never;
87066
- api_key?: never;
87067
- } | {
87068
- console_session_with_workspace: never[];
87069
- pat_with_workspace?: never;
87070
- api_key?: never;
87071
- } | {
87072
- api_key: never[];
87073
- pat_with_workspace?: never;
87074
- console_session_with_workspace?: never;
87075
- })[];
87076
- summary: string;
87077
- tags: never[];
87078
- 'x-fern-sdk-group-name': string[];
87079
- 'x-fern-sdk-method-name': string;
87080
- 'x-fern-sdk-return-value': string;
87081
- 'x-response-key': string;
87082
- 'x-title': string;
87083
- 'x-undocumented': string;
87084
- };
87085
- post: {
87086
- description: string;
87087
- operationId: string;
87088
- requestBody: {
87089
- content: {
87090
- 'application/json': {
87091
- schema: {
87092
- properties: {
87093
- geolocation: {
87094
- description: string;
87095
- properties: {
87096
- latitude: {
87097
- format: string;
87098
- type: string;
87099
- };
87100
- longitude: {
87101
- format: string;
87102
- type: string;
87103
- };
87104
- };
87105
- required: string[];
87106
- type: string;
87107
- };
87108
- location_id: {
87109
- description: string;
87110
- format: string;
87111
- type: string;
87112
- };
87113
- name: {
87114
- description: string;
87115
- type: string;
87116
- };
87117
- time_zone: {
87118
- description: string;
87119
- type: string;
87120
- };
87121
- };
87122
- required: string[];
87123
- type: string;
87124
- };
87125
- };
87126
- };
87127
- };
87128
- responses: {
87129
- 200: {
87130
- content: {
87131
- 'application/json': {
87132
- schema: {
87133
- properties: {
87134
- location: {
87135
- $ref: string;
87136
- };
87137
- ok: {
87138
- type: string;
87139
- };
87140
- };
87141
- required: string[];
87142
- type: string;
87143
- };
87144
- };
87145
- };
87146
- description: string;
87147
- };
87148
- 400: {
87149
- description: string;
87150
- };
87151
- 401: {
87152
- description: string;
87153
- };
87154
- };
87155
- security: ({
87156
- pat_with_workspace: never[];
87157
- console_session_with_workspace?: never;
87158
- api_key?: never;
87159
- } | {
87160
- console_session_with_workspace: never[];
87161
- pat_with_workspace?: never;
87162
- api_key?: never;
87163
- } | {
87164
- api_key: never[];
87165
- pat_with_workspace?: never;
87166
- console_session_with_workspace?: never;
87167
- })[];
87168
- summary: string;
87169
- tags: never[];
87170
- 'x-fern-sdk-group-name': string[];
87171
- 'x-fern-sdk-method-name': string;
87172
- 'x-fern-sdk-return-value': string;
87173
- 'x-response-key': string;
87174
- 'x-title': string;
87175
- 'x-undocumented': string;
87176
- };
87177
- };
87178
- '/unstable_partner/building_blocks/connect_accounts': {
87179
- post: {
87180
- description: string;
87181
- operationId: string;
87182
- requestBody: {
87183
- content: {
87184
- 'application/json': {
87185
- schema: {
87186
- properties: {
87187
- customer_key: {
87188
- description: string;
87189
- type: string;
87190
- };
87191
- };
87192
- required: string[];
87193
- type: string;
87194
- };
87195
- };
87196
- };
87197
- };
87198
- responses: {
87199
- 200: {
87200
- content: {
87201
- 'application/json': {
87202
- schema: {
87203
- properties: {
87204
- magic_link: {
87205
- $ref: string;
87206
- };
87207
- ok: {
87208
- type: string;
87209
- };
87210
- };
87211
- required: string[];
87212
- type: string;
87213
- };
87214
- };
87215
- };
87216
- description: string;
87217
- };
87218
- 400: {
87219
- description: string;
87220
- };
87221
- 401: {
87222
- description: string;
87223
- };
87224
- };
87225
- security: ({
87226
- pat_with_workspace: never[];
87227
- console_session_with_workspace?: never;
87228
- api_key?: never;
87229
- } | {
87230
- console_session_with_workspace: never[];
87231
- pat_with_workspace?: never;
87232
- api_key?: never;
87233
- } | {
87234
- api_key: never[];
87235
- pat_with_workspace?: never;
87236
- console_session_with_workspace?: never;
87237
- })[];
87238
- summary: string;
87239
- tags: never[];
87240
- 'x-fern-sdk-group-name': string[];
87241
- 'x-fern-sdk-method-name': string;
87242
- 'x-fern-sdk-return-value': string;
87243
- 'x-response-key': string;
87244
- 'x-title': string;
87245
- 'x-undocumented': string;
87246
- };
87247
- };
87248
- '/unstable_partner/building_blocks/generate_magic_link': {
87249
- get: {
87250
- description: string;
87251
- operationId: string;
87252
- parameters: ({
87253
- in: string;
87254
- name: string;
87255
- required: boolean;
87256
- schema: {
87257
- description: string;
87258
- enum: string[];
87259
- type: string;
87260
- items?: never;
87261
- };
87262
- } | {
87263
- in: string;
87264
- name: string;
87265
- required: boolean;
87266
- schema: {
87267
- description: string;
87268
- type: string;
87269
- enum?: never;
87270
- items?: never;
87271
- };
87272
- } | {
87273
- in: string;
87274
- name: string;
87275
- required: boolean;
87276
- schema: {
87277
- description: string;
87278
- items: {
87279
- properties: {
87280
- name: {
87281
- description: string;
87282
- type: string;
87283
- };
87284
- space_key: {
87285
- description: string;
87286
- type: string;
87287
- };
87288
- };
87289
- required: string[];
87290
- type: string;
87291
- };
87292
- type: string;
87293
- enum?: never;
87294
- };
87295
- })[];
87296
- responses: {
87297
- 200: {
87298
- content: {
87299
- 'application/json': {
87300
- schema: {
87301
- properties: {
87302
- magic_link: {
87303
- $ref: string;
87304
- };
87305
- ok: {
87306
- type: string;
87307
- };
87308
- };
87309
- required: string[];
87310
- type: string;
87311
- };
87312
- };
87313
- };
87314
- description: string;
87315
- };
87316
- 400: {
87317
- description: string;
87318
- };
87319
- 401: {
87320
- description: string;
87321
- };
87322
- };
87323
- security: ({
87324
- pat_with_workspace: never[];
87325
- console_session_with_workspace?: never;
87326
- api_key?: never;
87327
- } | {
87328
- console_session_with_workspace: never[];
87329
- pat_with_workspace?: never;
87330
- api_key?: never;
87331
- } | {
87332
- api_key: never[];
87333
- pat_with_workspace?: never;
87334
- console_session_with_workspace?: never;
87335
- })[];
87336
- summary: string;
87337
- tags: never[];
87338
- 'x-fern-sdk-group-name': string[];
87339
- 'x-fern-sdk-method-name': string;
87340
- 'x-fern-sdk-return-value': string;
87341
- 'x-response-key': string;
87342
- 'x-title': string;
87343
- 'x-undocumented': string;
87344
- };
87345
- post: {
87346
- description: string;
87347
- operationId: string;
87348
- requestBody: {
87349
- content: {
87350
- 'application/json': {
87351
- schema: {
87352
- properties: {
87353
- building_block_type: {
87354
- description: string;
87355
- enum: string[];
87356
- type: string;
87357
- };
87358
- customer_key: {
87359
- description: string;
87360
- type: string;
87361
- };
87362
- spaces: {
87363
- description: string;
87364
- items: {
87365
- properties: {
87366
- name: {
87367
- description: string;
87368
- type: string;
87369
- };
87370
- space_key: {
87371
- description: string;
87372
- type: string;
87373
- };
87374
- };
87375
- required: string[];
87376
- type: string;
87377
- };
87378
- type: string;
87379
- };
87380
- };
87381
- required: string[];
87382
- type: string;
87383
- };
87384
- };
87385
- };
87386
- };
87387
- responses: {
87388
- 200: {
87389
- content: {
87390
- 'application/json': {
87391
- schema: {
87392
- properties: {
87393
- magic_link: {
86309
+ magic_link: {
87394
86310
  $ref: string;
87395
86311
  };
87396
86312
  ok: {
@@ -163577,319 +162493,6 @@ type Routes = {
163577
162493
  };
163578
162494
  };
163579
162495
  };
163580
- '/unstable_access_grants/create': {
163581
- route: '/unstable_access_grants/create';
163582
- method: 'POST';
163583
- queryParams: {};
163584
- jsonBody: {};
163585
- commonParams: ({
163586
- /** ID of user identity for whom you want to grant access. */
163587
- user_identity_id: string;
163588
- } | {
163589
- /** User identity. When used, creates a new user identity with the specified details and grants them access. */
163590
- user_identity: {
163591
- /** Unique email address for the user identity. */
163592
- email_address?: (string | null) | undefined;
163593
- /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
163594
- phone_number?: (string | null) | undefined;
163595
- full_name?: (string | null) | undefined;
163596
- };
163597
- }) & {
163598
- /**
163599
- * @deprecated Use `space_ids`.*/
163600
- location_ids?: string[] | undefined;
163601
- /** IDs of the existing spaces to which you want to grant access. */
163602
- space_ids?: string[] | undefined;
163603
- /** Location. When used, creates a new location with the specified entrances and devices, and gives the user access to this location. */
163604
- location?: {
163605
- /** Name of the location. */
163606
- name?: string | undefined;
163607
- /**
163608
- * @deprecated Use `acs_entrance_ids` at the top level.*/
163609
- acs_entrance_ids?: string[];
163610
- /**
163611
- * @deprecated Use `device_ids` at the top level.*/
163612
- device_ids?: string[];
163613
- } | undefined;
163614
- /** IDs of the [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to which you want to grant access. */
163615
- acs_entrance_ids?: string[];
163616
- /** IDs of the devices to which you want to grant access. */
163617
- device_ids?: string[];
163618
- requested_access_methods: {
163619
- /** Access method mode. */
163620
- mode: 'code' | 'card' | 'mobile_key';
163621
- }[];
163622
- /** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
163623
- starts_at?: string | undefined;
163624
- /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
163625
- ends_at?: string | undefined;
163626
- };
163627
- formData: {};
163628
- jsonResponse: {
163629
- /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
163630
- access_grant: {
163631
- /** ID of the Seam workspace associated with the Access Grant. */
163632
- workspace_id: string;
163633
- /** ID of the Access Grant. */
163634
- access_grant_id: string;
163635
- /** Unique key for the access grant within the workspace. */
163636
- access_grant_key?: string | undefined;
163637
- /** ID of user identity to which the Access Grant gives access. */
163638
- user_identity_id: string;
163639
- /**
163640
- * @deprecated Use `space_ids`.*/
163641
- location_ids: string[];
163642
- /** IDs of the spaces to which the Access Grant gives access. */
163643
- space_ids: string[];
163644
- /** Access methods that the user requested for the Access Grant. */
163645
- requested_access_methods: {
163646
- /** Display name of the access method. */
163647
- display_name: string;
163648
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
163649
- mode: 'code' | 'card' | 'mobile_key';
163650
- /** Date and time at which the requested access method was added to the Access Grant. */
163651
- created_at: string;
163652
- /** IDs of the access methods created for the requested access method. */
163653
- created_access_method_ids: string[];
163654
- }[];
163655
- /** IDs of the access methods created for the Access Grant. */
163656
- access_method_ids: string[];
163657
- /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
163658
- client_session_token?: string | undefined;
163659
- /** Name of the Access Grant. If not provided, the display name will be computed. */
163660
- name: string | null;
163661
- /** Display name of the Access Grant. */
163662
- display_name: string;
163663
- /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
163664
- instant_key_url?: string | undefined;
163665
- /** Date and time at which the Access Grant was created. */
163666
- created_at: string;
163667
- /** Date and time at which the Access Grant starts. */
163668
- starts_at: string;
163669
- /** Date and time at which the Access Grant ends. */
163670
- ends_at: string | null;
163671
- };
163672
- };
163673
- };
163674
- '/unstable_access_grants/delete': {
163675
- route: '/unstable_access_grants/delete';
163676
- method: 'DELETE' | 'POST';
163677
- queryParams: {};
163678
- jsonBody: {};
163679
- commonParams: {
163680
- /** ID of access grant that you want to delete. */
163681
- access_grant_id: string;
163682
- };
163683
- formData: {};
163684
- jsonResponse: {};
163685
- };
163686
- '/unstable_access_grants/get': {
163687
- route: '/unstable_access_grants/get';
163688
- method: 'GET' | 'POST';
163689
- queryParams: {};
163690
- jsonBody: {};
163691
- commonParams: {
163692
- /** ID of access grant that you want to get. */
163693
- access_grant_id: string;
163694
- };
163695
- formData: {};
163696
- jsonResponse: {
163697
- /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
163698
- access_grant: {
163699
- /** ID of the Seam workspace associated with the Access Grant. */
163700
- workspace_id: string;
163701
- /** ID of the Access Grant. */
163702
- access_grant_id: string;
163703
- /** Unique key for the access grant within the workspace. */
163704
- access_grant_key?: string | undefined;
163705
- /** ID of user identity to which the Access Grant gives access. */
163706
- user_identity_id: string;
163707
- /**
163708
- * @deprecated Use `space_ids`.*/
163709
- location_ids: string[];
163710
- /** IDs of the spaces to which the Access Grant gives access. */
163711
- space_ids: string[];
163712
- /** Access methods that the user requested for the Access Grant. */
163713
- requested_access_methods: {
163714
- /** Display name of the access method. */
163715
- display_name: string;
163716
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
163717
- mode: 'code' | 'card' | 'mobile_key';
163718
- /** Date and time at which the requested access method was added to the Access Grant. */
163719
- created_at: string;
163720
- /** IDs of the access methods created for the requested access method. */
163721
- created_access_method_ids: string[];
163722
- }[];
163723
- /** IDs of the access methods created for the Access Grant. */
163724
- access_method_ids: string[];
163725
- /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
163726
- client_session_token?: string | undefined;
163727
- /** Name of the Access Grant. If not provided, the display name will be computed. */
163728
- name: string | null;
163729
- /** Display name of the Access Grant. */
163730
- display_name: string;
163731
- /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
163732
- instant_key_url?: string | undefined;
163733
- /** Date and time at which the Access Grant was created. */
163734
- created_at: string;
163735
- /** Date and time at which the Access Grant starts. */
163736
- starts_at: string;
163737
- /** Date and time at which the Access Grant ends. */
163738
- ends_at: string | null;
163739
- };
163740
- };
163741
- };
163742
- '/unstable_access_grants/list': {
163743
- route: '/unstable_access_grants/list';
163744
- method: 'GET' | 'POST';
163745
- queryParams: {};
163746
- jsonBody: {};
163747
- commonParams: {
163748
- /** ID of the user identity by which you want to filter the list of access grants. */
163749
- user_identity_id?: string | undefined;
163750
- /** ID of the access system by which you want to filter the list of access grants. */
163751
- acs_system_id?: string | undefined;
163752
- /** ID of the entrance by which you want to filter the list of access grants. */
163753
- acs_entrance_id?: string | undefined;
163754
- /**
163755
- * @deprecated Use `space_id`.*/
163756
- location_id?: string | undefined;
163757
- /** ID of the space by which you want to filter the list of access grants. */
163758
- space_id?: string | undefined;
163759
- };
163760
- formData: {};
163761
- jsonResponse: {
163762
- access_grants: {
163763
- /** ID of the Seam workspace associated with the Access Grant. */
163764
- workspace_id: string;
163765
- /** ID of the Access Grant. */
163766
- access_grant_id: string;
163767
- /** Unique key for the access grant within the workspace. */
163768
- access_grant_key?: string | undefined;
163769
- /** ID of user identity to which the Access Grant gives access. */
163770
- user_identity_id: string;
163771
- /**
163772
- * @deprecated Use `space_ids`.*/
163773
- location_ids: string[];
163774
- /** IDs of the spaces to which the Access Grant gives access. */
163775
- space_ids: string[];
163776
- /** Access methods that the user requested for the Access Grant. */
163777
- requested_access_methods: {
163778
- /** Display name of the access method. */
163779
- display_name: string;
163780
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
163781
- mode: 'code' | 'card' | 'mobile_key';
163782
- /** Date and time at which the requested access method was added to the Access Grant. */
163783
- created_at: string;
163784
- /** IDs of the access methods created for the requested access method. */
163785
- created_access_method_ids: string[];
163786
- }[];
163787
- /** IDs of the access methods created for the Access Grant. */
163788
- access_method_ids: string[];
163789
- /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
163790
- client_session_token?: string | undefined;
163791
- /** Name of the Access Grant. If not provided, the display name will be computed. */
163792
- name: string | null;
163793
- /** Display name of the Access Grant. */
163794
- display_name: string;
163795
- /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
163796
- instant_key_url?: string | undefined;
163797
- /** Date and time at which the Access Grant was created. */
163798
- created_at: string;
163799
- /** Date and time at which the Access Grant starts. */
163800
- starts_at: string;
163801
- /** Date and time at which the Access Grant ends. */
163802
- ends_at: string | null;
163803
- }[];
163804
- };
163805
- };
163806
- '/unstable_access_methods/delete': {
163807
- route: '/unstable_access_methods/delete';
163808
- method: 'DELETE' | 'POST';
163809
- queryParams: {};
163810
- jsonBody: {};
163811
- commonParams: {
163812
- /** ID of the access method that you want to delete. */
163813
- access_method_id: string;
163814
- };
163815
- formData: {};
163816
- jsonResponse: {};
163817
- };
163818
- '/unstable_access_methods/get': {
163819
- route: '/unstable_access_methods/get';
163820
- method: 'GET' | 'POST';
163821
- queryParams: {};
163822
- jsonBody: {};
163823
- commonParams: {
163824
- /** ID of the access method that you want to get. */
163825
- access_method_id: string;
163826
- };
163827
- formData: {};
163828
- jsonResponse: {
163829
- /** Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key. */
163830
- access_method: {
163831
- /** ID of the Seam workspace associated with the access method. */
163832
- workspace_id: string;
163833
- /** ID of the access method. */
163834
- access_method_id: string;
163835
- /** Display name of the access method. */
163836
- display_name: string;
163837
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
163838
- mode: 'code' | 'card' | 'mobile_key';
163839
- /** Date and time at which the access method was created. */
163840
- created_at: string;
163841
- /** Date and time at which the access method was issued. */
163842
- issued_at: string | null;
163843
- /** Indicates whether the access method has been issued. */
163844
- is_issued: boolean;
163845
- /** URL of the Instant Key for mobile key access methods. */
163846
- instant_key_url?: string | undefined;
163847
- /** Token of the client session associated with the access method. */
163848
- client_session_token?: string | undefined;
163849
- /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
163850
- is_encoding_required?: boolean | undefined;
163851
- /** The actual PIN code for code access methods. */
163852
- code?: string | undefined;
163853
- };
163854
- };
163855
- };
163856
- '/unstable_access_methods/list': {
163857
- route: '/unstable_access_methods/list';
163858
- method: 'GET' | 'POST';
163859
- queryParams: {};
163860
- jsonBody: {};
163861
- commonParams: {
163862
- /** ID of the access grant by which to filter the list of access methods. */
163863
- access_grant_id: string;
163864
- };
163865
- formData: {};
163866
- jsonResponse: {
163867
- access_methods: {
163868
- /** ID of the Seam workspace associated with the access method. */
163869
- workspace_id: string;
163870
- /** ID of the access method. */
163871
- access_method_id: string;
163872
- /** Display name of the access method. */
163873
- display_name: string;
163874
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
163875
- mode: 'code' | 'card' | 'mobile_key';
163876
- /** Date and time at which the access method was created. */
163877
- created_at: string;
163878
- /** Date and time at which the access method was issued. */
163879
- issued_at: string | null;
163880
- /** Indicates whether the access method has been issued. */
163881
- is_issued: boolean;
163882
- /** URL of the Instant Key for mobile key access methods. */
163883
- instant_key_url?: string | undefined;
163884
- /** Token of the client session associated with the access method. */
163885
- client_session_token?: string | undefined;
163886
- /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
163887
- is_encoding_required?: boolean | undefined;
163888
- /** The actual PIN code for code access methods. */
163889
- code?: string | undefined;
163890
- }[];
163891
- };
163892
- };
163893
162496
  '/unstable_locations/add_acs_entrances': {
163894
162497
  route: '/unstable_locations/add_acs_entrances';
163895
162498
  method: 'POST' | 'PUT';