@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
|
@@ -23,6 +23,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
23
23
|
created_access_method_ids: string[];
|
|
24
24
|
}>, "many">;
|
|
25
25
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
26
|
+
client_session_token: z.ZodOptional<z.ZodString>;
|
|
26
27
|
display_name: z.ZodString;
|
|
27
28
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
28
29
|
created_at: z.ZodString;
|
|
@@ -46,6 +47,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
46
47
|
starts_at?: string | undefined;
|
|
47
48
|
ends_at?: string | undefined;
|
|
48
49
|
access_grant_key?: string | undefined;
|
|
50
|
+
client_session_token?: string | undefined;
|
|
49
51
|
instant_key_url?: string | undefined;
|
|
50
52
|
}, {
|
|
51
53
|
display_name: string;
|
|
@@ -65,6 +67,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
65
67
|
starts_at?: string | undefined;
|
|
66
68
|
ends_at?: string | undefined;
|
|
67
69
|
access_grant_key?: string | undefined;
|
|
70
|
+
client_session_token?: string | undefined;
|
|
68
71
|
instant_key_url?: string | undefined;
|
|
69
72
|
}>;
|
|
70
73
|
export type AccessGrant = z.infer<typeof access_grant>;
|
|
@@ -28,6 +28,10 @@ export const access_grant = z.object({
|
|
|
28
28
|
access_method_ids: z
|
|
29
29
|
.array(z.string().uuid())
|
|
30
30
|
.describe('IDs of the access methods created for the Access Grant.'),
|
|
31
|
+
client_session_token: z
|
|
32
|
+
.string()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('Client Session Token. Only returned if the Access Grant has a mobile_key access method.'),
|
|
31
35
|
display_name: z.string().describe('Display name of the Access Grant.'),
|
|
32
36
|
instant_key_url: z
|
|
33
37
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yFAAyF,CAC1F;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -392,6 +392,10 @@ declare const _default: {
|
|
|
392
392
|
};
|
|
393
393
|
type: string;
|
|
394
394
|
};
|
|
395
|
+
client_session_token: {
|
|
396
|
+
description: string;
|
|
397
|
+
type: string;
|
|
398
|
+
};
|
|
395
399
|
created_at: {
|
|
396
400
|
description: string;
|
|
397
401
|
format: string;
|
|
@@ -27347,6 +27351,15 @@ declare const _default: {
|
|
|
27347
27351
|
'application/json': {
|
|
27348
27352
|
schema: {
|
|
27349
27353
|
properties: {
|
|
27354
|
+
accepted_capabilities: {
|
|
27355
|
+
description: string;
|
|
27356
|
+
items: {
|
|
27357
|
+
description: string;
|
|
27358
|
+
enum: string[];
|
|
27359
|
+
type: string;
|
|
27360
|
+
};
|
|
27361
|
+
type: string;
|
|
27362
|
+
};
|
|
27350
27363
|
automatically_manage_new_devices: {
|
|
27351
27364
|
description: string;
|
|
27352
27365
|
type: string;
|
|
@@ -37051,6 +37064,9 @@ declare const _default: {
|
|
|
37051
37064
|
};
|
|
37052
37065
|
type: string;
|
|
37053
37066
|
};
|
|
37067
|
+
is_draft: {
|
|
37068
|
+
type: string;
|
|
37069
|
+
};
|
|
37054
37070
|
name: {
|
|
37055
37071
|
type: string;
|
|
37056
37072
|
};
|
|
@@ -37157,6 +37173,9 @@ declare const _default: {
|
|
|
37157
37173
|
};
|
|
37158
37174
|
type: string;
|
|
37159
37175
|
};
|
|
37176
|
+
is_draft: {
|
|
37177
|
+
type: string;
|
|
37178
|
+
};
|
|
37160
37179
|
name: {
|
|
37161
37180
|
type: string;
|
|
37162
37181
|
};
|
|
@@ -37258,14 +37277,22 @@ declare const _default: {
|
|
|
37258
37277
|
pat_with_workspace: never[];
|
|
37259
37278
|
console_session_with_workspace?: never;
|
|
37260
37279
|
api_key?: never;
|
|
37280
|
+
client_session_with_customer?: never;
|
|
37261
37281
|
} | {
|
|
37262
37282
|
console_session_with_workspace: never[];
|
|
37263
37283
|
pat_with_workspace?: never;
|
|
37264
37284
|
api_key?: never;
|
|
37285
|
+
client_session_with_customer?: never;
|
|
37265
37286
|
} | {
|
|
37266
37287
|
api_key: never[];
|
|
37267
37288
|
pat_with_workspace?: never;
|
|
37268
37289
|
console_session_with_workspace?: never;
|
|
37290
|
+
client_session_with_customer?: never;
|
|
37291
|
+
} | {
|
|
37292
|
+
client_session_with_customer: never[];
|
|
37293
|
+
pat_with_workspace?: never;
|
|
37294
|
+
console_session_with_workspace?: never;
|
|
37295
|
+
api_key?: never;
|
|
37269
37296
|
})[];
|
|
37270
37297
|
summary: string;
|
|
37271
37298
|
tags: never[];
|
|
@@ -37332,14 +37359,22 @@ declare const _default: {
|
|
|
37332
37359
|
pat_with_workspace: never[];
|
|
37333
37360
|
console_session_with_workspace?: never;
|
|
37334
37361
|
api_key?: never;
|
|
37362
|
+
client_session_with_customer?: never;
|
|
37335
37363
|
} | {
|
|
37336
37364
|
console_session_with_workspace: never[];
|
|
37337
37365
|
pat_with_workspace?: never;
|
|
37338
37366
|
api_key?: never;
|
|
37367
|
+
client_session_with_customer?: never;
|
|
37339
37368
|
} | {
|
|
37340
37369
|
api_key: never[];
|
|
37341
37370
|
pat_with_workspace?: never;
|
|
37342
37371
|
console_session_with_workspace?: never;
|
|
37372
|
+
client_session_with_customer?: never;
|
|
37373
|
+
} | {
|
|
37374
|
+
client_session_with_customer: never[];
|
|
37375
|
+
pat_with_workspace?: never;
|
|
37376
|
+
console_session_with_workspace?: never;
|
|
37377
|
+
api_key?: never;
|
|
37343
37378
|
})[];
|
|
37344
37379
|
summary: string;
|
|
37345
37380
|
tags: never[];
|
|
@@ -37408,14 +37443,22 @@ declare const _default: {
|
|
|
37408
37443
|
pat_with_workspace: never[];
|
|
37409
37444
|
console_session_with_workspace?: never;
|
|
37410
37445
|
api_key?: never;
|
|
37446
|
+
client_session_with_customer?: never;
|
|
37411
37447
|
} | {
|
|
37412
37448
|
console_session_with_workspace: never[];
|
|
37413
37449
|
pat_with_workspace?: never;
|
|
37414
37450
|
api_key?: never;
|
|
37451
|
+
client_session_with_customer?: never;
|
|
37415
37452
|
} | {
|
|
37416
37453
|
api_key: never[];
|
|
37417
37454
|
pat_with_workspace?: never;
|
|
37418
37455
|
console_session_with_workspace?: never;
|
|
37456
|
+
client_session_with_customer?: never;
|
|
37457
|
+
} | {
|
|
37458
|
+
client_session_with_customer: never[];
|
|
37459
|
+
pat_with_workspace?: never;
|
|
37460
|
+
console_session_with_workspace?: never;
|
|
37461
|
+
api_key?: never;
|
|
37419
37462
|
})[];
|
|
37420
37463
|
summary: string;
|
|
37421
37464
|
tags: never[];
|
|
@@ -37482,14 +37525,22 @@ declare const _default: {
|
|
|
37482
37525
|
pat_with_workspace: never[];
|
|
37483
37526
|
console_session_with_workspace?: never;
|
|
37484
37527
|
api_key?: never;
|
|
37528
|
+
client_session_with_customer?: never;
|
|
37485
37529
|
} | {
|
|
37486
37530
|
console_session_with_workspace: never[];
|
|
37487
37531
|
pat_with_workspace?: never;
|
|
37488
37532
|
api_key?: never;
|
|
37533
|
+
client_session_with_customer?: never;
|
|
37489
37534
|
} | {
|
|
37490
37535
|
api_key: never[];
|
|
37491
37536
|
pat_with_workspace?: never;
|
|
37492
37537
|
console_session_with_workspace?: never;
|
|
37538
|
+
client_session_with_customer?: never;
|
|
37539
|
+
} | {
|
|
37540
|
+
client_session_with_customer: never[];
|
|
37541
|
+
pat_with_workspace?: never;
|
|
37542
|
+
console_session_with_workspace?: never;
|
|
37543
|
+
api_key?: never;
|
|
37493
37544
|
})[];
|
|
37494
37545
|
summary: string;
|
|
37495
37546
|
tags: never[];
|
|
@@ -37571,14 +37622,22 @@ declare const _default: {
|
|
|
37571
37622
|
pat_with_workspace: never[];
|
|
37572
37623
|
console_session_with_workspace?: never;
|
|
37573
37624
|
api_key?: never;
|
|
37625
|
+
client_session_with_customer?: never;
|
|
37574
37626
|
} | {
|
|
37575
37627
|
console_session_with_workspace: never[];
|
|
37576
37628
|
pat_with_workspace?: never;
|
|
37577
37629
|
api_key?: never;
|
|
37630
|
+
client_session_with_customer?: never;
|
|
37578
37631
|
} | {
|
|
37579
37632
|
api_key: never[];
|
|
37580
37633
|
pat_with_workspace?: never;
|
|
37581
37634
|
console_session_with_workspace?: never;
|
|
37635
|
+
client_session_with_customer?: never;
|
|
37636
|
+
} | {
|
|
37637
|
+
client_session_with_customer: never[];
|
|
37638
|
+
pat_with_workspace?: never;
|
|
37639
|
+
console_session_with_workspace?: never;
|
|
37640
|
+
api_key?: never;
|
|
37582
37641
|
})[];
|
|
37583
37642
|
summary: string;
|
|
37584
37643
|
tags: never[];
|
|
@@ -38092,15 +38151,32 @@ declare const _default: {
|
|
|
38092
38151
|
description: string;
|
|
38093
38152
|
minLength: number;
|
|
38094
38153
|
type: string;
|
|
38154
|
+
format?: never;
|
|
38155
|
+
'x-draft'?: never;
|
|
38156
|
+
'x-undocumented'?: never;
|
|
38095
38157
|
};
|
|
38096
38158
|
} | {
|
|
38097
38159
|
in: string;
|
|
38098
38160
|
name: string;
|
|
38099
38161
|
schema: {
|
|
38100
38162
|
description: string;
|
|
38163
|
+
format: string;
|
|
38101
38164
|
type: string;
|
|
38165
|
+
'x-draft': string;
|
|
38166
|
+
'x-undocumented': string;
|
|
38102
38167
|
minLength?: never;
|
|
38103
38168
|
};
|
|
38169
|
+
} | {
|
|
38170
|
+
in: string;
|
|
38171
|
+
name: string;
|
|
38172
|
+
schema: {
|
|
38173
|
+
description: string;
|
|
38174
|
+
type: string;
|
|
38175
|
+
minLength?: never;
|
|
38176
|
+
format?: never;
|
|
38177
|
+
'x-draft'?: never;
|
|
38178
|
+
'x-undocumented'?: never;
|
|
38179
|
+
};
|
|
38104
38180
|
})[];
|
|
38105
38181
|
responses: {
|
|
38106
38182
|
200: {
|
|
@@ -38136,14 +38212,22 @@ declare const _default: {
|
|
|
38136
38212
|
pat_with_workspace: never[];
|
|
38137
38213
|
console_session_with_workspace?: never;
|
|
38138
38214
|
api_key?: never;
|
|
38215
|
+
client_session_with_customer?: never;
|
|
38139
38216
|
} | {
|
|
38140
38217
|
console_session_with_workspace: never[];
|
|
38141
38218
|
pat_with_workspace?: never;
|
|
38142
38219
|
api_key?: never;
|
|
38220
|
+
client_session_with_customer?: never;
|
|
38143
38221
|
} | {
|
|
38144
38222
|
api_key: never[];
|
|
38145
38223
|
pat_with_workspace?: never;
|
|
38146
38224
|
console_session_with_workspace?: never;
|
|
38225
|
+
client_session_with_customer?: never;
|
|
38226
|
+
} | {
|
|
38227
|
+
client_session_with_customer: never[];
|
|
38228
|
+
pat_with_workspace?: never;
|
|
38229
|
+
console_session_with_workspace?: never;
|
|
38230
|
+
api_key?: never;
|
|
38147
38231
|
})[];
|
|
38148
38232
|
summary: string;
|
|
38149
38233
|
tags: never[];
|
|
@@ -38162,6 +38246,13 @@ declare const _default: {
|
|
|
38162
38246
|
'application/json': {
|
|
38163
38247
|
schema: {
|
|
38164
38248
|
properties: {
|
|
38249
|
+
connected_account_id: {
|
|
38250
|
+
description: string;
|
|
38251
|
+
format: string;
|
|
38252
|
+
type: string;
|
|
38253
|
+
'x-draft': string;
|
|
38254
|
+
'x-undocumented': string;
|
|
38255
|
+
};
|
|
38165
38256
|
search: {
|
|
38166
38257
|
description: string;
|
|
38167
38258
|
minLength: number;
|
|
@@ -38211,14 +38302,22 @@ declare const _default: {
|
|
|
38211
38302
|
pat_with_workspace: never[];
|
|
38212
38303
|
console_session_with_workspace?: never;
|
|
38213
38304
|
api_key?: never;
|
|
38305
|
+
client_session_with_customer?: never;
|
|
38214
38306
|
} | {
|
|
38215
38307
|
console_session_with_workspace: never[];
|
|
38216
38308
|
pat_with_workspace?: never;
|
|
38217
38309
|
api_key?: never;
|
|
38310
|
+
client_session_with_customer?: never;
|
|
38218
38311
|
} | {
|
|
38219
38312
|
api_key: never[];
|
|
38220
38313
|
pat_with_workspace?: never;
|
|
38221
38314
|
console_session_with_workspace?: never;
|
|
38315
|
+
client_session_with_customer?: never;
|
|
38316
|
+
} | {
|
|
38317
|
+
client_session_with_customer: never[];
|
|
38318
|
+
pat_with_workspace?: never;
|
|
38319
|
+
console_session_with_workspace?: never;
|
|
38320
|
+
api_key?: never;
|
|
38222
38321
|
})[];
|
|
38223
38322
|
summary: string;
|
|
38224
38323
|
tags: never[];
|
|
@@ -1585,6 +1585,10 @@ export default {
|
|
|
1585
1585
|
items: { format: 'uuid', type: 'string' },
|
|
1586
1586
|
type: 'array',
|
|
1587
1587
|
},
|
|
1588
|
+
client_session_token: {
|
|
1589
|
+
description: 'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
|
|
1590
|
+
type: 'string',
|
|
1591
|
+
},
|
|
1588
1592
|
created_at: {
|
|
1589
1593
|
description: 'Date and time at which the Access Grant was created.',
|
|
1590
1594
|
format: 'date-time',
|
|
@@ -33673,6 +33677,20 @@ export default {
|
|
|
33673
33677
|
'application/json': {
|
|
33674
33678
|
schema: {
|
|
33675
33679
|
properties: {
|
|
33680
|
+
accepted_capabilities: {
|
|
33681
|
+
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`.',
|
|
33682
|
+
items: {
|
|
33683
|
+
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',
|
|
33684
|
+
enum: [
|
|
33685
|
+
'lock',
|
|
33686
|
+
'thermostat',
|
|
33687
|
+
'noise_sensor',
|
|
33688
|
+
'access_control',
|
|
33689
|
+
],
|
|
33690
|
+
type: 'string',
|
|
33691
|
+
},
|
|
33692
|
+
type: 'array',
|
|
33693
|
+
},
|
|
33676
33694
|
automatically_manage_new_devices: {
|
|
33677
33695
|
description: 'Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).',
|
|
33678
33696
|
type: 'boolean',
|
|
@@ -42840,6 +42858,7 @@ export default {
|
|
|
42840
42858
|
},
|
|
42841
42859
|
type: 'array',
|
|
42842
42860
|
},
|
|
42861
|
+
is_draft: { type: 'boolean' },
|
|
42843
42862
|
name: { type: 'string' },
|
|
42844
42863
|
needs_review: { type: 'boolean' },
|
|
42845
42864
|
partner_resource_key: { type: 'string' },
|
|
@@ -42935,6 +42954,7 @@ export default {
|
|
|
42935
42954
|
},
|
|
42936
42955
|
type: 'array',
|
|
42937
42956
|
},
|
|
42957
|
+
is_draft: { type: 'boolean' },
|
|
42938
42958
|
name: { type: 'string' },
|
|
42939
42959
|
needs_review: { type: 'boolean' },
|
|
42940
42960
|
partner_resource_key: { type: 'string' },
|
|
@@ -43024,6 +43044,7 @@ export default {
|
|
|
43024
43044
|
{ pat_with_workspace: [] },
|
|
43025
43045
|
{ console_session_with_workspace: [] },
|
|
43026
43046
|
{ api_key: [] },
|
|
43047
|
+
{ client_session_with_customer: [] },
|
|
43027
43048
|
],
|
|
43028
43049
|
summary: '/spaces/add_acs_entrances',
|
|
43029
43050
|
tags: [],
|
|
@@ -43079,6 +43100,7 @@ export default {
|
|
|
43079
43100
|
{ pat_with_workspace: [] },
|
|
43080
43101
|
{ console_session_with_workspace: [] },
|
|
43081
43102
|
{ api_key: [] },
|
|
43103
|
+
{ client_session_with_customer: [] },
|
|
43082
43104
|
],
|
|
43083
43105
|
summary: '/spaces/add_acs_entrances',
|
|
43084
43106
|
tags: [],
|
|
@@ -43136,6 +43158,7 @@ export default {
|
|
|
43136
43158
|
{ pat_with_workspace: [] },
|
|
43137
43159
|
{ console_session_with_workspace: [] },
|
|
43138
43160
|
{ api_key: [] },
|
|
43161
|
+
{ client_session_with_customer: [] },
|
|
43139
43162
|
],
|
|
43140
43163
|
summary: '/spaces/add_devices',
|
|
43141
43164
|
tags: [],
|
|
@@ -43191,6 +43214,7 @@ export default {
|
|
|
43191
43214
|
{ pat_with_workspace: [] },
|
|
43192
43215
|
{ console_session_with_workspace: [] },
|
|
43193
43216
|
{ api_key: [] },
|
|
43217
|
+
{ client_session_with_customer: [] },
|
|
43194
43218
|
],
|
|
43195
43219
|
summary: '/spaces/add_devices',
|
|
43196
43220
|
tags: [],
|
|
@@ -43258,6 +43282,7 @@ export default {
|
|
|
43258
43282
|
{ pat_with_workspace: [] },
|
|
43259
43283
|
{ console_session_with_workspace: [] },
|
|
43260
43284
|
{ api_key: [] },
|
|
43285
|
+
{ client_session_with_customer: [] },
|
|
43261
43286
|
],
|
|
43262
43287
|
summary: '/spaces/create',
|
|
43263
43288
|
tags: [],
|
|
@@ -43671,6 +43696,17 @@ export default {
|
|
|
43671
43696
|
type: 'string',
|
|
43672
43697
|
},
|
|
43673
43698
|
},
|
|
43699
|
+
{
|
|
43700
|
+
in: 'query',
|
|
43701
|
+
name: 'connected_account_id',
|
|
43702
|
+
schema: {
|
|
43703
|
+
description: 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
43704
|
+
format: 'uuid',
|
|
43705
|
+
type: 'string',
|
|
43706
|
+
'x-draft': 'Needs review.',
|
|
43707
|
+
'x-undocumented': 'Only used internally.',
|
|
43708
|
+
},
|
|
43709
|
+
},
|
|
43674
43710
|
{
|
|
43675
43711
|
in: 'query',
|
|
43676
43712
|
name: 'space_key',
|
|
@@ -43706,6 +43742,7 @@ export default {
|
|
|
43706
43742
|
{ pat_with_workspace: [] },
|
|
43707
43743
|
{ console_session_with_workspace: [] },
|
|
43708
43744
|
{ api_key: [] },
|
|
43745
|
+
{ client_session_with_customer: [] },
|
|
43709
43746
|
],
|
|
43710
43747
|
summary: '/spaces/list',
|
|
43711
43748
|
tags: [],
|
|
@@ -43724,6 +43761,13 @@ export default {
|
|
|
43724
43761
|
'application/json': {
|
|
43725
43762
|
schema: {
|
|
43726
43763
|
properties: {
|
|
43764
|
+
connected_account_id: {
|
|
43765
|
+
description: 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
43766
|
+
format: 'uuid',
|
|
43767
|
+
type: 'string',
|
|
43768
|
+
'x-draft': 'Needs review.',
|
|
43769
|
+
'x-undocumented': 'Only used internally.',
|
|
43770
|
+
},
|
|
43727
43771
|
search: {
|
|
43728
43772
|
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
43729
43773
|
minLength: 1,
|
|
@@ -43765,6 +43809,7 @@ export default {
|
|
|
43765
43809
|
{ pat_with_workspace: [] },
|
|
43766
43810
|
{ console_session_with_workspace: [] },
|
|
43767
43811
|
{ api_key: [] },
|
|
43812
|
+
{ client_session_with_customer: [] },
|
|
43768
43813
|
],
|
|
43769
43814
|
summary: '/spaces/list',
|
|
43770
43815
|
tags: [],
|