@seamapi/types 1.448.0 → 1.450.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.
- package/dist/connect.cjs +52 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +119 -0
- package/dist/index.cjs +52 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +99 -0
- package/lib/seam/connect/openapi.js +45 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +19 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3624,6 +3624,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3624
3624
|
created_access_method_ids: string[];
|
|
3625
3625
|
}>, "many">;
|
|
3626
3626
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
3627
|
+
client_session_token: z.ZodOptional<z.ZodString>;
|
|
3627
3628
|
display_name: z.ZodString;
|
|
3628
3629
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
3629
3630
|
created_at: z.ZodString;
|
|
@@ -3647,6 +3648,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3647
3648
|
starts_at?: string | undefined;
|
|
3648
3649
|
ends_at?: string | undefined;
|
|
3649
3650
|
access_grant_key?: string | undefined;
|
|
3651
|
+
client_session_token?: string | undefined;
|
|
3650
3652
|
instant_key_url?: string | undefined;
|
|
3651
3653
|
}, {
|
|
3652
3654
|
display_name: string;
|
|
@@ -3666,6 +3668,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3666
3668
|
starts_at?: string | undefined;
|
|
3667
3669
|
ends_at?: string | undefined;
|
|
3668
3670
|
access_grant_key?: string | undefined;
|
|
3671
|
+
client_session_token?: string | undefined;
|
|
3669
3672
|
instant_key_url?: string | undefined;
|
|
3670
3673
|
}>;
|
|
3671
3674
|
type AccessGrant = z.infer<typeof access_grant>;
|
|
@@ -28433,6 +28436,10 @@ declare const _default: {
|
|
|
28433
28436
|
};
|
|
28434
28437
|
type: string;
|
|
28435
28438
|
};
|
|
28439
|
+
client_session_token: {
|
|
28440
|
+
description: string;
|
|
28441
|
+
type: string;
|
|
28442
|
+
};
|
|
28436
28443
|
created_at: {
|
|
28437
28444
|
description: string;
|
|
28438
28445
|
format: string;
|
|
@@ -55388,6 +55395,15 @@ declare const _default: {
|
|
|
55388
55395
|
'application/json': {
|
|
55389
55396
|
schema: {
|
|
55390
55397
|
properties: {
|
|
55398
|
+
accepted_capabilities: {
|
|
55399
|
+
description: string;
|
|
55400
|
+
items: {
|
|
55401
|
+
description: string;
|
|
55402
|
+
enum: string[];
|
|
55403
|
+
type: string;
|
|
55404
|
+
};
|
|
55405
|
+
type: string;
|
|
55406
|
+
};
|
|
55391
55407
|
automatically_manage_new_devices: {
|
|
55392
55408
|
description: string;
|
|
55393
55409
|
type: string;
|
|
@@ -65092,6 +65108,9 @@ declare const _default: {
|
|
|
65092
65108
|
};
|
|
65093
65109
|
type: string;
|
|
65094
65110
|
};
|
|
65111
|
+
is_draft: {
|
|
65112
|
+
type: string;
|
|
65113
|
+
};
|
|
65095
65114
|
name: {
|
|
65096
65115
|
type: string;
|
|
65097
65116
|
};
|
|
@@ -65198,6 +65217,9 @@ declare const _default: {
|
|
|
65198
65217
|
};
|
|
65199
65218
|
type: string;
|
|
65200
65219
|
};
|
|
65220
|
+
is_draft: {
|
|
65221
|
+
type: string;
|
|
65222
|
+
};
|
|
65201
65223
|
name: {
|
|
65202
65224
|
type: string;
|
|
65203
65225
|
};
|
|
@@ -65299,14 +65321,22 @@ declare const _default: {
|
|
|
65299
65321
|
pat_with_workspace: never[];
|
|
65300
65322
|
console_session_with_workspace?: never;
|
|
65301
65323
|
api_key?: never;
|
|
65324
|
+
client_session_with_customer?: never;
|
|
65302
65325
|
} | {
|
|
65303
65326
|
console_session_with_workspace: never[];
|
|
65304
65327
|
pat_with_workspace?: never;
|
|
65305
65328
|
api_key?: never;
|
|
65329
|
+
client_session_with_customer?: never;
|
|
65306
65330
|
} | {
|
|
65307
65331
|
api_key: never[];
|
|
65308
65332
|
pat_with_workspace?: never;
|
|
65309
65333
|
console_session_with_workspace?: never;
|
|
65334
|
+
client_session_with_customer?: never;
|
|
65335
|
+
} | {
|
|
65336
|
+
client_session_with_customer: never[];
|
|
65337
|
+
pat_with_workspace?: never;
|
|
65338
|
+
console_session_with_workspace?: never;
|
|
65339
|
+
api_key?: never;
|
|
65310
65340
|
})[];
|
|
65311
65341
|
summary: string;
|
|
65312
65342
|
tags: never[];
|
|
@@ -65373,14 +65403,22 @@ declare const _default: {
|
|
|
65373
65403
|
pat_with_workspace: never[];
|
|
65374
65404
|
console_session_with_workspace?: never;
|
|
65375
65405
|
api_key?: never;
|
|
65406
|
+
client_session_with_customer?: never;
|
|
65376
65407
|
} | {
|
|
65377
65408
|
console_session_with_workspace: never[];
|
|
65378
65409
|
pat_with_workspace?: never;
|
|
65379
65410
|
api_key?: never;
|
|
65411
|
+
client_session_with_customer?: never;
|
|
65380
65412
|
} | {
|
|
65381
65413
|
api_key: never[];
|
|
65382
65414
|
pat_with_workspace?: never;
|
|
65383
65415
|
console_session_with_workspace?: never;
|
|
65416
|
+
client_session_with_customer?: never;
|
|
65417
|
+
} | {
|
|
65418
|
+
client_session_with_customer: never[];
|
|
65419
|
+
pat_with_workspace?: never;
|
|
65420
|
+
console_session_with_workspace?: never;
|
|
65421
|
+
api_key?: never;
|
|
65384
65422
|
})[];
|
|
65385
65423
|
summary: string;
|
|
65386
65424
|
tags: never[];
|
|
@@ -65449,14 +65487,22 @@ declare const _default: {
|
|
|
65449
65487
|
pat_with_workspace: never[];
|
|
65450
65488
|
console_session_with_workspace?: never;
|
|
65451
65489
|
api_key?: never;
|
|
65490
|
+
client_session_with_customer?: never;
|
|
65452
65491
|
} | {
|
|
65453
65492
|
console_session_with_workspace: never[];
|
|
65454
65493
|
pat_with_workspace?: never;
|
|
65455
65494
|
api_key?: never;
|
|
65495
|
+
client_session_with_customer?: never;
|
|
65456
65496
|
} | {
|
|
65457
65497
|
api_key: never[];
|
|
65458
65498
|
pat_with_workspace?: never;
|
|
65459
65499
|
console_session_with_workspace?: never;
|
|
65500
|
+
client_session_with_customer?: never;
|
|
65501
|
+
} | {
|
|
65502
|
+
client_session_with_customer: never[];
|
|
65503
|
+
pat_with_workspace?: never;
|
|
65504
|
+
console_session_with_workspace?: never;
|
|
65505
|
+
api_key?: never;
|
|
65460
65506
|
})[];
|
|
65461
65507
|
summary: string;
|
|
65462
65508
|
tags: never[];
|
|
@@ -65523,14 +65569,22 @@ declare const _default: {
|
|
|
65523
65569
|
pat_with_workspace: never[];
|
|
65524
65570
|
console_session_with_workspace?: never;
|
|
65525
65571
|
api_key?: never;
|
|
65572
|
+
client_session_with_customer?: never;
|
|
65526
65573
|
} | {
|
|
65527
65574
|
console_session_with_workspace: never[];
|
|
65528
65575
|
pat_with_workspace?: never;
|
|
65529
65576
|
api_key?: never;
|
|
65577
|
+
client_session_with_customer?: never;
|
|
65530
65578
|
} | {
|
|
65531
65579
|
api_key: never[];
|
|
65532
65580
|
pat_with_workspace?: never;
|
|
65533
65581
|
console_session_with_workspace?: never;
|
|
65582
|
+
client_session_with_customer?: never;
|
|
65583
|
+
} | {
|
|
65584
|
+
client_session_with_customer: never[];
|
|
65585
|
+
pat_with_workspace?: never;
|
|
65586
|
+
console_session_with_workspace?: never;
|
|
65587
|
+
api_key?: never;
|
|
65534
65588
|
})[];
|
|
65535
65589
|
summary: string;
|
|
65536
65590
|
tags: never[];
|
|
@@ -65612,14 +65666,22 @@ declare const _default: {
|
|
|
65612
65666
|
pat_with_workspace: never[];
|
|
65613
65667
|
console_session_with_workspace?: never;
|
|
65614
65668
|
api_key?: never;
|
|
65669
|
+
client_session_with_customer?: never;
|
|
65615
65670
|
} | {
|
|
65616
65671
|
console_session_with_workspace: never[];
|
|
65617
65672
|
pat_with_workspace?: never;
|
|
65618
65673
|
api_key?: never;
|
|
65674
|
+
client_session_with_customer?: never;
|
|
65619
65675
|
} | {
|
|
65620
65676
|
api_key: never[];
|
|
65621
65677
|
pat_with_workspace?: never;
|
|
65622
65678
|
console_session_with_workspace?: never;
|
|
65679
|
+
client_session_with_customer?: never;
|
|
65680
|
+
} | {
|
|
65681
|
+
client_session_with_customer: never[];
|
|
65682
|
+
pat_with_workspace?: never;
|
|
65683
|
+
console_session_with_workspace?: never;
|
|
65684
|
+
api_key?: never;
|
|
65623
65685
|
})[];
|
|
65624
65686
|
summary: string;
|
|
65625
65687
|
tags: never[];
|
|
@@ -66133,6 +66195,20 @@ declare const _default: {
|
|
|
66133
66195
|
description: string;
|
|
66134
66196
|
minLength: number;
|
|
66135
66197
|
type: string;
|
|
66198
|
+
format?: never;
|
|
66199
|
+
'x-draft'?: never;
|
|
66200
|
+
'x-undocumented'?: never;
|
|
66201
|
+
};
|
|
66202
|
+
} | {
|
|
66203
|
+
in: string;
|
|
66204
|
+
name: string;
|
|
66205
|
+
schema: {
|
|
66206
|
+
description: string;
|
|
66207
|
+
format: string;
|
|
66208
|
+
type: string;
|
|
66209
|
+
'x-draft': string;
|
|
66210
|
+
'x-undocumented': string;
|
|
66211
|
+
minLength?: never;
|
|
66136
66212
|
};
|
|
66137
66213
|
} | {
|
|
66138
66214
|
in: string;
|
|
@@ -66141,6 +66217,9 @@ declare const _default: {
|
|
|
66141
66217
|
description: string;
|
|
66142
66218
|
type: string;
|
|
66143
66219
|
minLength?: never;
|
|
66220
|
+
format?: never;
|
|
66221
|
+
'x-draft'?: never;
|
|
66222
|
+
'x-undocumented'?: never;
|
|
66144
66223
|
};
|
|
66145
66224
|
})[];
|
|
66146
66225
|
responses: {
|
|
@@ -66177,14 +66256,22 @@ declare const _default: {
|
|
|
66177
66256
|
pat_with_workspace: never[];
|
|
66178
66257
|
console_session_with_workspace?: never;
|
|
66179
66258
|
api_key?: never;
|
|
66259
|
+
client_session_with_customer?: never;
|
|
66180
66260
|
} | {
|
|
66181
66261
|
console_session_with_workspace: never[];
|
|
66182
66262
|
pat_with_workspace?: never;
|
|
66183
66263
|
api_key?: never;
|
|
66264
|
+
client_session_with_customer?: never;
|
|
66184
66265
|
} | {
|
|
66185
66266
|
api_key: never[];
|
|
66186
66267
|
pat_with_workspace?: never;
|
|
66187
66268
|
console_session_with_workspace?: never;
|
|
66269
|
+
client_session_with_customer?: never;
|
|
66270
|
+
} | {
|
|
66271
|
+
client_session_with_customer: never[];
|
|
66272
|
+
pat_with_workspace?: never;
|
|
66273
|
+
console_session_with_workspace?: never;
|
|
66274
|
+
api_key?: never;
|
|
66188
66275
|
})[];
|
|
66189
66276
|
summary: string;
|
|
66190
66277
|
tags: never[];
|
|
@@ -66203,6 +66290,13 @@ declare const _default: {
|
|
|
66203
66290
|
'application/json': {
|
|
66204
66291
|
schema: {
|
|
66205
66292
|
properties: {
|
|
66293
|
+
connected_account_id: {
|
|
66294
|
+
description: string;
|
|
66295
|
+
format: string;
|
|
66296
|
+
type: string;
|
|
66297
|
+
'x-draft': string;
|
|
66298
|
+
'x-undocumented': string;
|
|
66299
|
+
};
|
|
66206
66300
|
search: {
|
|
66207
66301
|
description: string;
|
|
66208
66302
|
minLength: number;
|
|
@@ -66252,14 +66346,22 @@ declare const _default: {
|
|
|
66252
66346
|
pat_with_workspace: never[];
|
|
66253
66347
|
console_session_with_workspace?: never;
|
|
66254
66348
|
api_key?: never;
|
|
66349
|
+
client_session_with_customer?: never;
|
|
66255
66350
|
} | {
|
|
66256
66351
|
console_session_with_workspace: never[];
|
|
66257
66352
|
pat_with_workspace?: never;
|
|
66258
66353
|
api_key?: never;
|
|
66354
|
+
client_session_with_customer?: never;
|
|
66259
66355
|
} | {
|
|
66260
66356
|
api_key: never[];
|
|
66261
66357
|
pat_with_workspace?: never;
|
|
66262
66358
|
console_session_with_workspace?: never;
|
|
66359
|
+
client_session_with_customer?: never;
|
|
66360
|
+
} | {
|
|
66361
|
+
client_session_with_customer: never[];
|
|
66362
|
+
pat_with_workspace?: never;
|
|
66363
|
+
console_session_with_workspace?: never;
|
|
66364
|
+
api_key?: never;
|
|
66263
66365
|
})[];
|
|
66264
66366
|
summary: string;
|
|
66265
66367
|
tags: never[];
|
|
@@ -86785,6 +86887,8 @@ interface Routes {
|
|
|
86785
86887
|
}>;
|
|
86786
86888
|
/** IDs of the access methods created for the Access Grant. */
|
|
86787
86889
|
access_method_ids: string[];
|
|
86890
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
86891
|
+
client_session_token?: string | undefined;
|
|
86788
86892
|
/** Display name of the Access Grant. */
|
|
86789
86893
|
display_name: string;
|
|
86790
86894
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -86852,6 +86956,8 @@ interface Routes {
|
|
|
86852
86956
|
}>;
|
|
86853
86957
|
/** IDs of the access methods created for the Access Grant. */
|
|
86854
86958
|
access_method_ids: string[];
|
|
86959
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
86960
|
+
client_session_token?: string | undefined;
|
|
86855
86961
|
/** Display name of the Access Grant. */
|
|
86856
86962
|
display_name: string;
|
|
86857
86963
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -86914,6 +87020,8 @@ interface Routes {
|
|
|
86914
87020
|
}>;
|
|
86915
87021
|
/** IDs of the access methods created for the Access Grant. */
|
|
86916
87022
|
access_method_ids: string[];
|
|
87023
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
87024
|
+
client_session_token?: string | undefined;
|
|
86917
87025
|
/** Display name of the Access Grant. */
|
|
86918
87026
|
display_name: string;
|
|
86919
87027
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -98796,6 +98904,8 @@ interface Routes {
|
|
|
98796
98904
|
automatically_manage_new_devices?: boolean | undefined;
|
|
98797
98905
|
/** Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
|
|
98798
98906
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
98907
|
+
/** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
|
|
98908
|
+
accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control'> | undefined;
|
|
98799
98909
|
};
|
|
98800
98910
|
commonParams: {};
|
|
98801
98911
|
formData: {};
|
|
@@ -123341,6 +123451,7 @@ interface Routes {
|
|
|
123341
123451
|
name: string;
|
|
123342
123452
|
}>;
|
|
123343
123453
|
needs_review?: boolean | undefined;
|
|
123454
|
+
is_draft?: boolean | undefined;
|
|
123344
123455
|
}>;
|
|
123345
123456
|
};
|
|
123346
123457
|
};
|
|
@@ -124758,6 +124869,8 @@ interface Routes {
|
|
|
124758
124869
|
commonParams: {
|
|
124759
124870
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
124760
124871
|
search?: string | undefined;
|
|
124872
|
+
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
124873
|
+
connected_account_id?: string | undefined;
|
|
124761
124874
|
/** Filter spaces by space_key. */
|
|
124762
124875
|
space_key?: string | undefined;
|
|
124763
124876
|
};
|
|
@@ -140307,6 +140420,8 @@ interface Routes {
|
|
|
140307
140420
|
}>;
|
|
140308
140421
|
/** IDs of the access methods created for the Access Grant. */
|
|
140309
140422
|
access_method_ids: string[];
|
|
140423
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
140424
|
+
client_session_token?: string | undefined;
|
|
140310
140425
|
/** Display name of the Access Grant. */
|
|
140311
140426
|
display_name: string;
|
|
140312
140427
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -140371,6 +140486,8 @@ interface Routes {
|
|
|
140371
140486
|
}>;
|
|
140372
140487
|
/** IDs of the access methods created for the Access Grant. */
|
|
140373
140488
|
access_method_ids: string[];
|
|
140489
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
140490
|
+
client_session_token?: string | undefined;
|
|
140374
140491
|
/** Display name of the Access Grant. */
|
|
140375
140492
|
display_name: string;
|
|
140376
140493
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -140431,6 +140548,8 @@ interface Routes {
|
|
|
140431
140548
|
}>;
|
|
140432
140549
|
/** IDs of the access methods created for the Access Grant. */
|
|
140433
140550
|
access_method_ids: string[];
|
|
140551
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
140552
|
+
client_session_token?: string | undefined;
|
|
140434
140553
|
/** Display name of the Access Grant. */
|
|
140435
140554
|
display_name: string;
|
|
140436
140555
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
package/dist/index.cjs
CHANGED
|
@@ -7117,6 +7117,10 @@ var openapi_default = {
|
|
|
7117
7117
|
items: { format: "uuid", type: "string" },
|
|
7118
7118
|
type: "array"
|
|
7119
7119
|
},
|
|
7120
|
+
client_session_token: {
|
|
7121
|
+
description: "Client Session Token. Only returned if the Access Grant has a mobile_key access method.",
|
|
7122
|
+
type: "string"
|
|
7123
|
+
},
|
|
7120
7124
|
created_at: {
|
|
7121
7125
|
description: "Date and time at which the Access Grant was created.",
|
|
7122
7126
|
format: "date-time",
|
|
@@ -39205,6 +39209,20 @@ var openapi_default = {
|
|
|
39205
39209
|
"application/json": {
|
|
39206
39210
|
schema: {
|
|
39207
39211
|
properties: {
|
|
39212
|
+
accepted_capabilities: {
|
|
39213
|
+
description: "List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`.",
|
|
39214
|
+
items: {
|
|
39215
|
+
description: "\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n",
|
|
39216
|
+
enum: [
|
|
39217
|
+
"lock",
|
|
39218
|
+
"thermostat",
|
|
39219
|
+
"noise_sensor",
|
|
39220
|
+
"access_control"
|
|
39221
|
+
],
|
|
39222
|
+
type: "string"
|
|
39223
|
+
},
|
|
39224
|
+
type: "array"
|
|
39225
|
+
},
|
|
39208
39226
|
automatically_manage_new_devices: {
|
|
39209
39227
|
description: "Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
|
|
39210
39228
|
type: "boolean"
|
|
@@ -48372,6 +48390,7 @@ var openapi_default = {
|
|
|
48372
48390
|
},
|
|
48373
48391
|
type: "array"
|
|
48374
48392
|
},
|
|
48393
|
+
is_draft: { type: "boolean" },
|
|
48375
48394
|
name: { type: "string" },
|
|
48376
48395
|
needs_review: { type: "boolean" },
|
|
48377
48396
|
partner_resource_key: { type: "string" }
|
|
@@ -48467,6 +48486,7 @@ var openapi_default = {
|
|
|
48467
48486
|
},
|
|
48468
48487
|
type: "array"
|
|
48469
48488
|
},
|
|
48489
|
+
is_draft: { type: "boolean" },
|
|
48470
48490
|
name: { type: "string" },
|
|
48471
48491
|
needs_review: { type: "boolean" },
|
|
48472
48492
|
partner_resource_key: { type: "string" }
|
|
@@ -48555,7 +48575,8 @@ var openapi_default = {
|
|
|
48555
48575
|
security: [
|
|
48556
48576
|
{ pat_with_workspace: [] },
|
|
48557
48577
|
{ console_session_with_workspace: [] },
|
|
48558
|
-
{ api_key: [] }
|
|
48578
|
+
{ api_key: [] },
|
|
48579
|
+
{ client_session_with_customer: [] }
|
|
48559
48580
|
],
|
|
48560
48581
|
summary: "/spaces/add_acs_entrances",
|
|
48561
48582
|
tags: [],
|
|
@@ -48610,7 +48631,8 @@ var openapi_default = {
|
|
|
48610
48631
|
security: [
|
|
48611
48632
|
{ pat_with_workspace: [] },
|
|
48612
48633
|
{ console_session_with_workspace: [] },
|
|
48613
|
-
{ api_key: [] }
|
|
48634
|
+
{ api_key: [] },
|
|
48635
|
+
{ client_session_with_customer: [] }
|
|
48614
48636
|
],
|
|
48615
48637
|
summary: "/spaces/add_acs_entrances",
|
|
48616
48638
|
tags: [],
|
|
@@ -48667,7 +48689,8 @@ var openapi_default = {
|
|
|
48667
48689
|
security: [
|
|
48668
48690
|
{ pat_with_workspace: [] },
|
|
48669
48691
|
{ console_session_with_workspace: [] },
|
|
48670
|
-
{ api_key: [] }
|
|
48692
|
+
{ api_key: [] },
|
|
48693
|
+
{ client_session_with_customer: [] }
|
|
48671
48694
|
],
|
|
48672
48695
|
summary: "/spaces/add_devices",
|
|
48673
48696
|
tags: [],
|
|
@@ -48722,7 +48745,8 @@ var openapi_default = {
|
|
|
48722
48745
|
security: [
|
|
48723
48746
|
{ pat_with_workspace: [] },
|
|
48724
48747
|
{ console_session_with_workspace: [] },
|
|
48725
|
-
{ api_key: [] }
|
|
48748
|
+
{ api_key: [] },
|
|
48749
|
+
{ client_session_with_customer: [] }
|
|
48726
48750
|
],
|
|
48727
48751
|
summary: "/spaces/add_devices",
|
|
48728
48752
|
tags: [],
|
|
@@ -48789,7 +48813,8 @@ var openapi_default = {
|
|
|
48789
48813
|
security: [
|
|
48790
48814
|
{ pat_with_workspace: [] },
|
|
48791
48815
|
{ console_session_with_workspace: [] },
|
|
48792
|
-
{ api_key: [] }
|
|
48816
|
+
{ api_key: [] },
|
|
48817
|
+
{ client_session_with_customer: [] }
|
|
48793
48818
|
],
|
|
48794
48819
|
summary: "/spaces/create",
|
|
48795
48820
|
tags: [],
|
|
@@ -49203,6 +49228,17 @@ var openapi_default = {
|
|
|
49203
49228
|
type: "string"
|
|
49204
49229
|
}
|
|
49205
49230
|
},
|
|
49231
|
+
{
|
|
49232
|
+
in: "query",
|
|
49233
|
+
name: "connected_account_id",
|
|
49234
|
+
schema: {
|
|
49235
|
+
description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
|
|
49236
|
+
format: "uuid",
|
|
49237
|
+
type: "string",
|
|
49238
|
+
"x-draft": "Needs review.",
|
|
49239
|
+
"x-undocumented": "Only used internally."
|
|
49240
|
+
}
|
|
49241
|
+
},
|
|
49206
49242
|
{
|
|
49207
49243
|
in: "query",
|
|
49208
49244
|
name: "space_key",
|
|
@@ -49237,7 +49273,8 @@ var openapi_default = {
|
|
|
49237
49273
|
security: [
|
|
49238
49274
|
{ pat_with_workspace: [] },
|
|
49239
49275
|
{ console_session_with_workspace: [] },
|
|
49240
|
-
{ api_key: [] }
|
|
49276
|
+
{ api_key: [] },
|
|
49277
|
+
{ client_session_with_customer: [] }
|
|
49241
49278
|
],
|
|
49242
49279
|
summary: "/spaces/list",
|
|
49243
49280
|
tags: [],
|
|
@@ -49256,6 +49293,13 @@ var openapi_default = {
|
|
|
49256
49293
|
"application/json": {
|
|
49257
49294
|
schema: {
|
|
49258
49295
|
properties: {
|
|
49296
|
+
connected_account_id: {
|
|
49297
|
+
description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
|
|
49298
|
+
format: "uuid",
|
|
49299
|
+
type: "string",
|
|
49300
|
+
"x-draft": "Needs review.",
|
|
49301
|
+
"x-undocumented": "Only used internally."
|
|
49302
|
+
},
|
|
49259
49303
|
search: {
|
|
49260
49304
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
49261
49305
|
minLength: 1,
|
|
@@ -49296,7 +49340,8 @@ var openapi_default = {
|
|
|
49296
49340
|
security: [
|
|
49297
49341
|
{ pat_with_workspace: [] },
|
|
49298
49342
|
{ console_session_with_workspace: [] },
|
|
49299
|
-
{ api_key: [] }
|
|
49343
|
+
{ api_key: [] },
|
|
49344
|
+
{ client_session_with_customer: [] }
|
|
49300
49345
|
],
|
|
49301
49346
|
summary: "/spaces/list",
|
|
49302
49347
|
tags: [],
|