@seamapi/types 1.449.0 → 1.451.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 +36 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +99 -0
- package/dist/index.cjs +36 -4
- 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/models/access-grants/access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-method.js +4 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +70 -0
- package/lib/seam/connect/openapi.js +32 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +36 -0
- package/src/lib/seam/connect/route-types.ts +23 -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,6DAA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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"}
|
|
@@ -7,6 +7,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
7
7
|
created_at: z.ZodString;
|
|
8
8
|
issued_at: z.ZodOptional<z.ZodString>;
|
|
9
9
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
10
|
+
client_session_token: z.ZodOptional<z.ZodString>;
|
|
10
11
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
11
12
|
code: z.ZodOptional<z.ZodString>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16,6 +17,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
16
17
|
mode: "code" | "card" | "mobile_key";
|
|
17
18
|
access_method_id: string;
|
|
18
19
|
code?: string | undefined;
|
|
20
|
+
client_session_token?: string | undefined;
|
|
19
21
|
instant_key_url?: string | undefined;
|
|
20
22
|
issued_at?: string | undefined;
|
|
21
23
|
is_encoding_required?: boolean | undefined;
|
|
@@ -26,6 +28,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
26
28
|
mode: "code" | "card" | "mobile_key";
|
|
27
29
|
access_method_id: string;
|
|
28
30
|
code?: string | undefined;
|
|
31
|
+
client_session_token?: string | undefined;
|
|
29
32
|
instant_key_url?: string | undefined;
|
|
30
33
|
issued_at?: string | undefined;
|
|
31
34
|
is_encoding_required?: boolean | undefined;
|
|
@@ -23,6 +23,10 @@ export const access_method = z.object({
|
|
|
23
23
|
.url()
|
|
24
24
|
.optional()
|
|
25
25
|
.describe('URL of the Instant Key for mobile key access methods.'),
|
|
26
|
+
client_session_token: z
|
|
27
|
+
.string()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('Token of the client session associated with the access method.'),
|
|
26
30
|
is_encoding_required: z
|
|
27
31
|
.boolean()
|
|
28
32
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;CAC5D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;CAC5D,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;
|
|
@@ -489,6 +493,10 @@ declare const _default: {
|
|
|
489
493
|
format: string;
|
|
490
494
|
type: string;
|
|
491
495
|
};
|
|
496
|
+
client_session_token: {
|
|
497
|
+
description: string;
|
|
498
|
+
type: string;
|
|
499
|
+
};
|
|
492
500
|
code: {
|
|
493
501
|
description: string;
|
|
494
502
|
type: string;
|
|
@@ -37060,6 +37068,9 @@ declare const _default: {
|
|
|
37060
37068
|
};
|
|
37061
37069
|
type: string;
|
|
37062
37070
|
};
|
|
37071
|
+
is_draft: {
|
|
37072
|
+
type: string;
|
|
37073
|
+
};
|
|
37063
37074
|
name: {
|
|
37064
37075
|
type: string;
|
|
37065
37076
|
};
|
|
@@ -37166,6 +37177,9 @@ declare const _default: {
|
|
|
37166
37177
|
};
|
|
37167
37178
|
type: string;
|
|
37168
37179
|
};
|
|
37180
|
+
is_draft: {
|
|
37181
|
+
type: string;
|
|
37182
|
+
};
|
|
37169
37183
|
name: {
|
|
37170
37184
|
type: string;
|
|
37171
37185
|
};
|
|
@@ -37267,14 +37281,22 @@ declare const _default: {
|
|
|
37267
37281
|
pat_with_workspace: never[];
|
|
37268
37282
|
console_session_with_workspace?: never;
|
|
37269
37283
|
api_key?: never;
|
|
37284
|
+
client_session_with_customer?: never;
|
|
37270
37285
|
} | {
|
|
37271
37286
|
console_session_with_workspace: never[];
|
|
37272
37287
|
pat_with_workspace?: never;
|
|
37273
37288
|
api_key?: never;
|
|
37289
|
+
client_session_with_customer?: never;
|
|
37274
37290
|
} | {
|
|
37275
37291
|
api_key: never[];
|
|
37276
37292
|
pat_with_workspace?: never;
|
|
37277
37293
|
console_session_with_workspace?: never;
|
|
37294
|
+
client_session_with_customer?: never;
|
|
37295
|
+
} | {
|
|
37296
|
+
client_session_with_customer: never[];
|
|
37297
|
+
pat_with_workspace?: never;
|
|
37298
|
+
console_session_with_workspace?: never;
|
|
37299
|
+
api_key?: never;
|
|
37278
37300
|
})[];
|
|
37279
37301
|
summary: string;
|
|
37280
37302
|
tags: never[];
|
|
@@ -37341,14 +37363,22 @@ declare const _default: {
|
|
|
37341
37363
|
pat_with_workspace: never[];
|
|
37342
37364
|
console_session_with_workspace?: never;
|
|
37343
37365
|
api_key?: never;
|
|
37366
|
+
client_session_with_customer?: never;
|
|
37344
37367
|
} | {
|
|
37345
37368
|
console_session_with_workspace: never[];
|
|
37346
37369
|
pat_with_workspace?: never;
|
|
37347
37370
|
api_key?: never;
|
|
37371
|
+
client_session_with_customer?: never;
|
|
37348
37372
|
} | {
|
|
37349
37373
|
api_key: never[];
|
|
37350
37374
|
pat_with_workspace?: never;
|
|
37351
37375
|
console_session_with_workspace?: never;
|
|
37376
|
+
client_session_with_customer?: never;
|
|
37377
|
+
} | {
|
|
37378
|
+
client_session_with_customer: never[];
|
|
37379
|
+
pat_with_workspace?: never;
|
|
37380
|
+
console_session_with_workspace?: never;
|
|
37381
|
+
api_key?: never;
|
|
37352
37382
|
})[];
|
|
37353
37383
|
summary: string;
|
|
37354
37384
|
tags: never[];
|
|
@@ -37417,14 +37447,22 @@ declare const _default: {
|
|
|
37417
37447
|
pat_with_workspace: never[];
|
|
37418
37448
|
console_session_with_workspace?: never;
|
|
37419
37449
|
api_key?: never;
|
|
37450
|
+
client_session_with_customer?: never;
|
|
37420
37451
|
} | {
|
|
37421
37452
|
console_session_with_workspace: never[];
|
|
37422
37453
|
pat_with_workspace?: never;
|
|
37423
37454
|
api_key?: never;
|
|
37455
|
+
client_session_with_customer?: never;
|
|
37424
37456
|
} | {
|
|
37425
37457
|
api_key: never[];
|
|
37426
37458
|
pat_with_workspace?: never;
|
|
37427
37459
|
console_session_with_workspace?: never;
|
|
37460
|
+
client_session_with_customer?: never;
|
|
37461
|
+
} | {
|
|
37462
|
+
client_session_with_customer: never[];
|
|
37463
|
+
pat_with_workspace?: never;
|
|
37464
|
+
console_session_with_workspace?: never;
|
|
37465
|
+
api_key?: never;
|
|
37428
37466
|
})[];
|
|
37429
37467
|
summary: string;
|
|
37430
37468
|
tags: never[];
|
|
@@ -37491,14 +37529,22 @@ declare const _default: {
|
|
|
37491
37529
|
pat_with_workspace: never[];
|
|
37492
37530
|
console_session_with_workspace?: never;
|
|
37493
37531
|
api_key?: never;
|
|
37532
|
+
client_session_with_customer?: never;
|
|
37494
37533
|
} | {
|
|
37495
37534
|
console_session_with_workspace: never[];
|
|
37496
37535
|
pat_with_workspace?: never;
|
|
37497
37536
|
api_key?: never;
|
|
37537
|
+
client_session_with_customer?: never;
|
|
37498
37538
|
} | {
|
|
37499
37539
|
api_key: never[];
|
|
37500
37540
|
pat_with_workspace?: never;
|
|
37501
37541
|
console_session_with_workspace?: never;
|
|
37542
|
+
client_session_with_customer?: never;
|
|
37543
|
+
} | {
|
|
37544
|
+
client_session_with_customer: never[];
|
|
37545
|
+
pat_with_workspace?: never;
|
|
37546
|
+
console_session_with_workspace?: never;
|
|
37547
|
+
api_key?: never;
|
|
37502
37548
|
})[];
|
|
37503
37549
|
summary: string;
|
|
37504
37550
|
tags: never[];
|
|
@@ -38109,15 +38155,32 @@ declare const _default: {
|
|
|
38109
38155
|
description: string;
|
|
38110
38156
|
minLength: number;
|
|
38111
38157
|
type: string;
|
|
38158
|
+
format?: never;
|
|
38159
|
+
'x-draft'?: never;
|
|
38160
|
+
'x-undocumented'?: never;
|
|
38112
38161
|
};
|
|
38113
38162
|
} | {
|
|
38114
38163
|
in: string;
|
|
38115
38164
|
name: string;
|
|
38116
38165
|
schema: {
|
|
38117
38166
|
description: string;
|
|
38167
|
+
format: string;
|
|
38118
38168
|
type: string;
|
|
38169
|
+
'x-draft': string;
|
|
38170
|
+
'x-undocumented': string;
|
|
38119
38171
|
minLength?: never;
|
|
38120
38172
|
};
|
|
38173
|
+
} | {
|
|
38174
|
+
in: string;
|
|
38175
|
+
name: string;
|
|
38176
|
+
schema: {
|
|
38177
|
+
description: string;
|
|
38178
|
+
type: string;
|
|
38179
|
+
minLength?: never;
|
|
38180
|
+
format?: never;
|
|
38181
|
+
'x-draft'?: never;
|
|
38182
|
+
'x-undocumented'?: never;
|
|
38183
|
+
};
|
|
38121
38184
|
})[];
|
|
38122
38185
|
responses: {
|
|
38123
38186
|
200: {
|
|
@@ -38187,6 +38250,13 @@ declare const _default: {
|
|
|
38187
38250
|
'application/json': {
|
|
38188
38251
|
schema: {
|
|
38189
38252
|
properties: {
|
|
38253
|
+
connected_account_id: {
|
|
38254
|
+
description: string;
|
|
38255
|
+
format: string;
|
|
38256
|
+
type: string;
|
|
38257
|
+
'x-draft': string;
|
|
38258
|
+
'x-undocumented': string;
|
|
38259
|
+
};
|
|
38190
38260
|
search: {
|
|
38191
38261
|
description: string;
|
|
38192
38262
|
minLength: number;
|
|
@@ -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',
|
|
@@ -1688,6 +1692,10 @@ export default {
|
|
|
1688
1692
|
format: 'uuid',
|
|
1689
1693
|
type: 'string',
|
|
1690
1694
|
},
|
|
1695
|
+
client_session_token: {
|
|
1696
|
+
description: 'Token of the client session associated with the access method.',
|
|
1697
|
+
type: 'string',
|
|
1698
|
+
},
|
|
1691
1699
|
code: {
|
|
1692
1700
|
description: 'The actual PIN code for code access methods.',
|
|
1693
1701
|
type: 'string',
|
|
@@ -42854,6 +42862,7 @@ export default {
|
|
|
42854
42862
|
},
|
|
42855
42863
|
type: 'array',
|
|
42856
42864
|
},
|
|
42865
|
+
is_draft: { type: 'boolean' },
|
|
42857
42866
|
name: { type: 'string' },
|
|
42858
42867
|
needs_review: { type: 'boolean' },
|
|
42859
42868
|
partner_resource_key: { type: 'string' },
|
|
@@ -42949,6 +42958,7 @@ export default {
|
|
|
42949
42958
|
},
|
|
42950
42959
|
type: 'array',
|
|
42951
42960
|
},
|
|
42961
|
+
is_draft: { type: 'boolean' },
|
|
42952
42962
|
name: { type: 'string' },
|
|
42953
42963
|
needs_review: { type: 'boolean' },
|
|
42954
42964
|
partner_resource_key: { type: 'string' },
|
|
@@ -43038,6 +43048,7 @@ export default {
|
|
|
43038
43048
|
{ pat_with_workspace: [] },
|
|
43039
43049
|
{ console_session_with_workspace: [] },
|
|
43040
43050
|
{ api_key: [] },
|
|
43051
|
+
{ client_session_with_customer: [] },
|
|
43041
43052
|
],
|
|
43042
43053
|
summary: '/spaces/add_acs_entrances',
|
|
43043
43054
|
tags: [],
|
|
@@ -43093,6 +43104,7 @@ export default {
|
|
|
43093
43104
|
{ pat_with_workspace: [] },
|
|
43094
43105
|
{ console_session_with_workspace: [] },
|
|
43095
43106
|
{ api_key: [] },
|
|
43107
|
+
{ client_session_with_customer: [] },
|
|
43096
43108
|
],
|
|
43097
43109
|
summary: '/spaces/add_acs_entrances',
|
|
43098
43110
|
tags: [],
|
|
@@ -43150,6 +43162,7 @@ export default {
|
|
|
43150
43162
|
{ pat_with_workspace: [] },
|
|
43151
43163
|
{ console_session_with_workspace: [] },
|
|
43152
43164
|
{ api_key: [] },
|
|
43165
|
+
{ client_session_with_customer: [] },
|
|
43153
43166
|
],
|
|
43154
43167
|
summary: '/spaces/add_devices',
|
|
43155
43168
|
tags: [],
|
|
@@ -43205,6 +43218,7 @@ export default {
|
|
|
43205
43218
|
{ pat_with_workspace: [] },
|
|
43206
43219
|
{ console_session_with_workspace: [] },
|
|
43207
43220
|
{ api_key: [] },
|
|
43221
|
+
{ client_session_with_customer: [] },
|
|
43208
43222
|
],
|
|
43209
43223
|
summary: '/spaces/add_devices',
|
|
43210
43224
|
tags: [],
|
|
@@ -43686,6 +43700,17 @@ export default {
|
|
|
43686
43700
|
type: 'string',
|
|
43687
43701
|
},
|
|
43688
43702
|
},
|
|
43703
|
+
{
|
|
43704
|
+
in: 'query',
|
|
43705
|
+
name: 'connected_account_id',
|
|
43706
|
+
schema: {
|
|
43707
|
+
description: 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
43708
|
+
format: 'uuid',
|
|
43709
|
+
type: 'string',
|
|
43710
|
+
'x-draft': 'Needs review.',
|
|
43711
|
+
'x-undocumented': 'Only used internally.',
|
|
43712
|
+
},
|
|
43713
|
+
},
|
|
43689
43714
|
{
|
|
43690
43715
|
in: 'query',
|
|
43691
43716
|
name: 'space_key',
|
|
@@ -43740,6 +43765,13 @@ export default {
|
|
|
43740
43765
|
'application/json': {
|
|
43741
43766
|
schema: {
|
|
43742
43767
|
properties: {
|
|
43768
|
+
connected_account_id: {
|
|
43769
|
+
description: 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
43770
|
+
format: 'uuid',
|
|
43771
|
+
type: 'string',
|
|
43772
|
+
'x-draft': 'Needs review.',
|
|
43773
|
+
'x-undocumented': 'Only used internally.',
|
|
43774
|
+
},
|
|
43743
43775
|
search: {
|
|
43744
43776
|
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
43745
43777
|
minLength: 1,
|