@seamapi/types 1.13.0 → 1.15.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 +249 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +445 -11
- package/lib/seam/connect/openapi.d.ts +358 -9
- package/lib/seam/connect/openapi.js +242 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +87 -2
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +24 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +11 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +242 -16
- package/src/lib/seam/connect/route-types.ts +87 -1
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +13 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
|
@@ -60,6 +60,7 @@ export interface Routes {
|
|
|
60
60
|
is_backup_access_code_available: boolean;
|
|
61
61
|
is_backup?: boolean | undefined;
|
|
62
62
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
63
|
+
is_external_modification_allowed: boolean;
|
|
63
64
|
};
|
|
64
65
|
};
|
|
65
66
|
};
|
|
@@ -101,6 +102,7 @@ export interface Routes {
|
|
|
101
102
|
is_backup_access_code_available: boolean;
|
|
102
103
|
is_backup?: boolean | undefined;
|
|
103
104
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
105
|
+
is_external_modification_allowed: boolean;
|
|
104
106
|
}>;
|
|
105
107
|
};
|
|
106
108
|
};
|
|
@@ -187,6 +189,7 @@ export interface Routes {
|
|
|
187
189
|
is_backup_access_code_available: boolean;
|
|
188
190
|
is_backup?: boolean | undefined;
|
|
189
191
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
192
|
+
is_external_modification_allowed: boolean;
|
|
190
193
|
};
|
|
191
194
|
};
|
|
192
195
|
};
|
|
@@ -198,6 +201,7 @@ export interface Routes {
|
|
|
198
201
|
commonParams: {
|
|
199
202
|
device_id?: string | undefined;
|
|
200
203
|
access_code_ids?: string[] | undefined;
|
|
204
|
+
user_identifier_key?: string | undefined;
|
|
201
205
|
};
|
|
202
206
|
formData: {};
|
|
203
207
|
jsonResponse: {
|
|
@@ -220,6 +224,7 @@ export interface Routes {
|
|
|
220
224
|
is_backup_access_code_available: boolean;
|
|
221
225
|
is_backup?: boolean | undefined;
|
|
222
226
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
227
|
+
is_external_modification_allowed: boolean;
|
|
223
228
|
}>;
|
|
224
229
|
};
|
|
225
230
|
};
|
|
@@ -252,6 +257,7 @@ export interface Routes {
|
|
|
252
257
|
is_backup_access_code_available: boolean;
|
|
253
258
|
is_backup?: boolean | undefined;
|
|
254
259
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
260
|
+
is_external_modification_allowed: boolean;
|
|
255
261
|
};
|
|
256
262
|
};
|
|
257
263
|
};
|
|
@@ -422,6 +428,7 @@ export interface Routes {
|
|
|
422
428
|
access_code_id: string;
|
|
423
429
|
device_id?: string | undefined;
|
|
424
430
|
type?: ('ongoing' | 'time_bound') | undefined;
|
|
431
|
+
is_managed?: boolean | undefined;
|
|
425
432
|
};
|
|
426
433
|
commonParams: {};
|
|
427
434
|
formData: {};
|
|
@@ -584,6 +591,78 @@ export interface Routes {
|
|
|
584
591
|
formData: {};
|
|
585
592
|
jsonResponse: {};
|
|
586
593
|
};
|
|
594
|
+
'/acs/credentials/create': {
|
|
595
|
+
route: '/acs/credentials/create';
|
|
596
|
+
method: 'POST';
|
|
597
|
+
queryParams: {};
|
|
598
|
+
jsonBody: {};
|
|
599
|
+
commonParams: {
|
|
600
|
+
acs_user_id: string;
|
|
601
|
+
code?: string | undefined;
|
|
602
|
+
};
|
|
603
|
+
formData: {};
|
|
604
|
+
jsonResponse: {
|
|
605
|
+
acs_credential: {
|
|
606
|
+
acs_credential_id: string;
|
|
607
|
+
acs_user_id: string;
|
|
608
|
+
acs_system_id: string;
|
|
609
|
+
code: string | null;
|
|
610
|
+
created_at: string;
|
|
611
|
+
workspace_id: string;
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
'/acs/credentials/delete': {
|
|
616
|
+
route: '/acs/credentials/delete';
|
|
617
|
+
method: 'DELETE' | 'POST';
|
|
618
|
+
queryParams: {};
|
|
619
|
+
jsonBody: {};
|
|
620
|
+
commonParams: {
|
|
621
|
+
acs_credential_id: string;
|
|
622
|
+
};
|
|
623
|
+
formData: {};
|
|
624
|
+
jsonResponse: {};
|
|
625
|
+
};
|
|
626
|
+
'/acs/credentials/get': {
|
|
627
|
+
route: '/acs/credentials/get';
|
|
628
|
+
method: 'GET' | 'POST';
|
|
629
|
+
queryParams: {};
|
|
630
|
+
jsonBody: {};
|
|
631
|
+
commonParams: {
|
|
632
|
+
acs_credentials_id: string;
|
|
633
|
+
};
|
|
634
|
+
formData: {};
|
|
635
|
+
jsonResponse: {
|
|
636
|
+
acs_credential: {
|
|
637
|
+
acs_credential_id: string;
|
|
638
|
+
acs_user_id: string;
|
|
639
|
+
acs_system_id: string;
|
|
640
|
+
code: string | null;
|
|
641
|
+
created_at: string;
|
|
642
|
+
workspace_id: string;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
'/acs/credentials/list': {
|
|
647
|
+
route: '/acs/credentials/list';
|
|
648
|
+
method: 'GET' | 'POST';
|
|
649
|
+
queryParams: {};
|
|
650
|
+
jsonBody: {};
|
|
651
|
+
commonParams: {
|
|
652
|
+
acs_user_id: string;
|
|
653
|
+
};
|
|
654
|
+
formData: {};
|
|
655
|
+
jsonResponse: {
|
|
656
|
+
acs_credentials: Array<{
|
|
657
|
+
acs_credential_id: string;
|
|
658
|
+
acs_user_id: string;
|
|
659
|
+
acs_system_id: string;
|
|
660
|
+
code: string | null;
|
|
661
|
+
created_at: string;
|
|
662
|
+
workspace_id: string;
|
|
663
|
+
}>;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
587
666
|
'/acs/systems/get': {
|
|
588
667
|
route: '/acs/systems/get';
|
|
589
668
|
method: 'GET' | 'POST';
|
|
@@ -608,7 +687,9 @@ export interface Routes {
|
|
|
608
687
|
method: 'GET' | 'POST';
|
|
609
688
|
queryParams: {};
|
|
610
689
|
jsonBody: {};
|
|
611
|
-
commonParams: {
|
|
690
|
+
commonParams: {
|
|
691
|
+
connected_account_id?: string | undefined;
|
|
692
|
+
};
|
|
612
693
|
formData: {};
|
|
613
694
|
jsonResponse: {
|
|
614
695
|
acs_systems: Array<{
|
|
@@ -919,7 +1000,7 @@ export interface Routes {
|
|
|
919
1000
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
920
1001
|
custom_redirect_url?: string | undefined;
|
|
921
1002
|
custom_redirect_failure_url?: string | undefined;
|
|
922
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'yale_access'> | undefined;
|
|
1003
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'yale_access'> | undefined;
|
|
923
1004
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
924
1005
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
925
1006
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -1509,6 +1590,7 @@ export interface Routes {
|
|
|
1509
1590
|
device_ids?: string[] | undefined;
|
|
1510
1591
|
limit?: number;
|
|
1511
1592
|
created_before?: string | undefined;
|
|
1593
|
+
user_identifier_key?: string | undefined;
|
|
1512
1594
|
};
|
|
1513
1595
|
formData: {};
|
|
1514
1596
|
jsonResponse: {
|
|
@@ -1973,6 +2055,7 @@ export interface Routes {
|
|
|
1973
2055
|
device_ids?: string[] | undefined;
|
|
1974
2056
|
limit?: number;
|
|
1975
2057
|
created_before?: string | undefined;
|
|
2058
|
+
user_identifier_key?: string | undefined;
|
|
1976
2059
|
};
|
|
1977
2060
|
formData: {};
|
|
1978
2061
|
jsonResponse: {
|
|
@@ -2191,6 +2274,7 @@ export interface Routes {
|
|
|
2191
2274
|
device_ids?: string[] | undefined;
|
|
2192
2275
|
limit?: number;
|
|
2193
2276
|
created_before?: string | undefined;
|
|
2277
|
+
user_identifier_key?: string | undefined;
|
|
2194
2278
|
};
|
|
2195
2279
|
formData: {};
|
|
2196
2280
|
jsonResponse: {
|
|
@@ -3047,6 +3131,7 @@ export interface Routes {
|
|
|
3047
3131
|
device_ids?: string[] | undefined;
|
|
3048
3132
|
limit?: number;
|
|
3049
3133
|
created_before?: string | undefined;
|
|
3134
|
+
user_identifier_key?: string | undefined;
|
|
3050
3135
|
};
|
|
3051
3136
|
formData: {};
|
|
3052
3137
|
jsonResponse: {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_credential: z.ZodObject<{
|
|
3
|
+
acs_credential_id: z.ZodString;
|
|
4
|
+
acs_user_id: z.ZodString;
|
|
5
|
+
acs_system_id: z.ZodString;
|
|
6
|
+
code: z.ZodNullable<z.ZodString>;
|
|
7
|
+
created_at: z.ZodString;
|
|
8
|
+
workspace_id: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
code: string | null;
|
|
11
|
+
workspace_id: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
acs_system_id: string;
|
|
14
|
+
acs_user_id: string;
|
|
15
|
+
acs_credential_id: string;
|
|
16
|
+
}, {
|
|
17
|
+
code: string | null;
|
|
18
|
+
workspace_id: string;
|
|
19
|
+
created_at: string;
|
|
20
|
+
acs_system_id: string;
|
|
21
|
+
acs_user_id: string;
|
|
22
|
+
acs_credential_id: string;
|
|
23
|
+
}>;
|
|
24
|
+
export type AcsCredential = z.output<typeof acs_credential>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const acs_credential = z.object({
|
|
3
|
+
acs_credential_id: z.string().uuid(),
|
|
4
|
+
acs_user_id: z.string().uuid(),
|
|
5
|
+
acs_system_id: z.string().uuid(),
|
|
6
|
+
code: z.string().nullable(),
|
|
7
|
+
// TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
|
|
8
|
+
created_at: z.string().datetime(),
|
|
9
|
+
workspace_id: z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=credential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,iFAAiF;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_type, acs_system, acs_system_type, acs_user, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, lock_device_type, managed_device, noise_sensor_device_type, thermostat_device_type, unmanaged_device, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_type, acs_credential, acs_system, acs_system_type, acs_user, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, lock_device_type, managed_device, noise_sensor_device_type, thermostat_device_type, unmanaged_device, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_type, acs_system, acs_system_type, acs_user, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, lock_device_type, managed_device, noise_sensor_device_type, thermostat_device_type, unmanaged_device, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_type, acs_credential, acs_system, acs_system_type, acs_user, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, lock_device_type, managed_device, noise_sensor_device_type, thermostat_device_type, unmanaged_device, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,QAAQ,EACR,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,eAAe,EACf,QAAQ,EACR,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ export default {
|
|
|
12
12
|
errors: { nullable: true },
|
|
13
13
|
is_backup: { type: 'boolean' },
|
|
14
14
|
is_backup_access_code_available: { type: 'boolean' },
|
|
15
|
+
is_external_modification_allowed: { type: 'boolean' },
|
|
15
16
|
is_managed: { enum: [true], type: 'boolean' },
|
|
16
17
|
is_scheduled_on_device: { type: 'boolean' },
|
|
17
18
|
is_waiting_for_code_assignment: { type: 'boolean' },
|
|
@@ -40,6 +41,7 @@ export default {
|
|
|
40
41
|
'is_managed',
|
|
41
42
|
'status',
|
|
42
43
|
'is_backup_access_code_available',
|
|
44
|
+
'is_external_modification_allowed',
|
|
43
45
|
],
|
|
44
46
|
type: 'object',
|
|
45
47
|
},
|
|
@@ -1821,6 +1823,7 @@ export default {
|
|
|
1821
1823
|
type: 'array',
|
|
1822
1824
|
},
|
|
1823
1825
|
device_id: { format: 'uuid', type: 'string' },
|
|
1826
|
+
user_identifier_key: { type: 'string' },
|
|
1824
1827
|
},
|
|
1825
1828
|
type: 'object',
|
|
1826
1829
|
},
|
|
@@ -2455,6 +2458,7 @@ export default {
|
|
|
2455
2458
|
},
|
|
2456
2459
|
device_id: { format: 'uuid', type: 'string' },
|
|
2457
2460
|
ends_at: { type: 'string' },
|
|
2461
|
+
is_managed: { type: 'boolean' },
|
|
2458
2462
|
name: { type: 'string' },
|
|
2459
2463
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2460
2464
|
starts_at: { type: 'string' },
|
|
@@ -2521,6 +2525,7 @@ export default {
|
|
|
2521
2525
|
},
|
|
2522
2526
|
device_id: { format: 'uuid', type: 'string' },
|
|
2523
2527
|
ends_at: { type: 'string' },
|
|
2528
|
+
is_managed: { type: 'boolean' },
|
|
2524
2529
|
name: { type: 'string' },
|
|
2525
2530
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2526
2531
|
starts_at: { type: 'string' },
|
|
@@ -3017,17 +3022,18 @@ export default {
|
|
|
3017
3022
|
'x-fern-sdk-method-name': 'update',
|
|
3018
3023
|
},
|
|
3019
3024
|
},
|
|
3020
|
-
'/acs/
|
|
3025
|
+
'/acs/credentials/create': {
|
|
3021
3026
|
post: {
|
|
3022
|
-
operationId: '
|
|
3027
|
+
operationId: 'acsCredentialsCreatePost',
|
|
3023
3028
|
requestBody: {
|
|
3024
3029
|
content: {
|
|
3025
3030
|
'application/json': {
|
|
3026
3031
|
schema: {
|
|
3027
3032
|
properties: {
|
|
3028
|
-
|
|
3033
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3034
|
+
code: { oneOf: [{ pattern: '^\\d+$', type: 'string' }, {}] },
|
|
3029
3035
|
},
|
|
3030
|
-
required: ['
|
|
3036
|
+
required: ['acs_user_id'],
|
|
3031
3037
|
type: 'object',
|
|
3032
3038
|
},
|
|
3033
3039
|
},
|
|
@@ -3039,10 +3045,28 @@ export default {
|
|
|
3039
3045
|
'application/json': {
|
|
3040
3046
|
schema: {
|
|
3041
3047
|
properties: {
|
|
3042
|
-
|
|
3048
|
+
acs_credential: {
|
|
3049
|
+
properties: {
|
|
3050
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3051
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3052
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3053
|
+
code: { nullable: true, type: 'string' },
|
|
3054
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3055
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3056
|
+
},
|
|
3057
|
+
required: [
|
|
3058
|
+
'acs_credential_id',
|
|
3059
|
+
'acs_user_id',
|
|
3060
|
+
'acs_system_id',
|
|
3061
|
+
'code',
|
|
3062
|
+
'created_at',
|
|
3063
|
+
'workspace_id',
|
|
3064
|
+
],
|
|
3065
|
+
type: 'object',
|
|
3066
|
+
},
|
|
3043
3067
|
ok: { type: 'boolean' },
|
|
3044
3068
|
},
|
|
3045
|
-
required: ['
|
|
3069
|
+
required: ['acs_credential', 'ok'],
|
|
3046
3070
|
type: 'object',
|
|
3047
3071
|
},
|
|
3048
3072
|
},
|
|
@@ -3057,28 +3081,164 @@ export default {
|
|
|
3057
3081
|
{ seam_client_session_token: [] },
|
|
3058
3082
|
{ client_session_token: [] },
|
|
3059
3083
|
],
|
|
3060
|
-
summary: '/acs/
|
|
3084
|
+
summary: '/acs/credentials/create',
|
|
3061
3085
|
tags: [],
|
|
3062
|
-
'x-fern-sdk-group-name': ['acs', '
|
|
3086
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3087
|
+
'x-fern-sdk-method-name': 'create',
|
|
3088
|
+
},
|
|
3089
|
+
},
|
|
3090
|
+
'/acs/credentials/delete': {
|
|
3091
|
+
post: {
|
|
3092
|
+
operationId: 'acsCredentialsDeletePost',
|
|
3093
|
+
requestBody: {
|
|
3094
|
+
content: {
|
|
3095
|
+
'application/json': {
|
|
3096
|
+
schema: {
|
|
3097
|
+
properties: {
|
|
3098
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3099
|
+
},
|
|
3100
|
+
required: ['acs_credential_id'],
|
|
3101
|
+
type: 'object',
|
|
3102
|
+
},
|
|
3103
|
+
},
|
|
3104
|
+
},
|
|
3105
|
+
},
|
|
3106
|
+
responses: {
|
|
3107
|
+
200: {
|
|
3108
|
+
content: {
|
|
3109
|
+
'application/json': {
|
|
3110
|
+
schema: {
|
|
3111
|
+
properties: { ok: { type: 'boolean' } },
|
|
3112
|
+
required: ['ok'],
|
|
3113
|
+
type: 'object',
|
|
3114
|
+
},
|
|
3115
|
+
},
|
|
3116
|
+
},
|
|
3117
|
+
description: 'OK',
|
|
3118
|
+
},
|
|
3119
|
+
400: { description: 'Bad Request' },
|
|
3120
|
+
401: { description: 'Unauthorized' },
|
|
3121
|
+
},
|
|
3122
|
+
security: [
|
|
3123
|
+
{ access_token: [], seam_workspace: [] },
|
|
3124
|
+
{ seam_client_session_token: [] },
|
|
3125
|
+
{ client_session_token: [] },
|
|
3126
|
+
],
|
|
3127
|
+
summary: '/acs/credentials/delete',
|
|
3128
|
+
tags: [],
|
|
3129
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3130
|
+
'x-fern-sdk-method-name': 'delete',
|
|
3131
|
+
},
|
|
3132
|
+
},
|
|
3133
|
+
'/acs/credentials/get': {
|
|
3134
|
+
post: {
|
|
3135
|
+
operationId: 'acsCredentialsGetPost',
|
|
3136
|
+
requestBody: {
|
|
3137
|
+
content: {
|
|
3138
|
+
'application/json': {
|
|
3139
|
+
schema: {
|
|
3140
|
+
properties: {
|
|
3141
|
+
acs_credentials_id: { format: 'uuid', type: 'string' },
|
|
3142
|
+
},
|
|
3143
|
+
required: ['acs_credentials_id'],
|
|
3144
|
+
type: 'object',
|
|
3145
|
+
},
|
|
3146
|
+
},
|
|
3147
|
+
},
|
|
3148
|
+
},
|
|
3149
|
+
responses: {
|
|
3150
|
+
200: {
|
|
3151
|
+
content: {
|
|
3152
|
+
'application/json': {
|
|
3153
|
+
schema: {
|
|
3154
|
+
properties: {
|
|
3155
|
+
acs_credential: {
|
|
3156
|
+
properties: {
|
|
3157
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3158
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3159
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3160
|
+
code: { nullable: true, type: 'string' },
|
|
3161
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3162
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3163
|
+
},
|
|
3164
|
+
required: [
|
|
3165
|
+
'acs_credential_id',
|
|
3166
|
+
'acs_user_id',
|
|
3167
|
+
'acs_system_id',
|
|
3168
|
+
'code',
|
|
3169
|
+
'created_at',
|
|
3170
|
+
'workspace_id',
|
|
3171
|
+
],
|
|
3172
|
+
type: 'object',
|
|
3173
|
+
},
|
|
3174
|
+
ok: { type: 'boolean' },
|
|
3175
|
+
},
|
|
3176
|
+
required: ['acs_credential', 'ok'],
|
|
3177
|
+
type: 'object',
|
|
3178
|
+
},
|
|
3179
|
+
},
|
|
3180
|
+
},
|
|
3181
|
+
description: 'OK',
|
|
3182
|
+
},
|
|
3183
|
+
400: { description: 'Bad Request' },
|
|
3184
|
+
401: { description: 'Unauthorized' },
|
|
3185
|
+
},
|
|
3186
|
+
security: [
|
|
3187
|
+
{ access_token: [], seam_workspace: [] },
|
|
3188
|
+
{ seam_client_session_token: [] },
|
|
3189
|
+
{ client_session_token: [] },
|
|
3190
|
+
],
|
|
3191
|
+
summary: '/acs/credentials/get',
|
|
3192
|
+
tags: [],
|
|
3193
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3063
3194
|
'x-fern-sdk-method-name': 'get',
|
|
3064
3195
|
},
|
|
3065
3196
|
},
|
|
3066
|
-
'/acs/
|
|
3067
|
-
|
|
3068
|
-
operationId: '
|
|
3197
|
+
'/acs/credentials/list': {
|
|
3198
|
+
post: {
|
|
3199
|
+
operationId: 'acsCredentialsListPost',
|
|
3200
|
+
requestBody: {
|
|
3201
|
+
content: {
|
|
3202
|
+
'application/json': {
|
|
3203
|
+
schema: {
|
|
3204
|
+
properties: { acs_user_id: { format: 'uuid', type: 'string' } },
|
|
3205
|
+
required: ['acs_user_id'],
|
|
3206
|
+
type: 'object',
|
|
3207
|
+
},
|
|
3208
|
+
},
|
|
3209
|
+
},
|
|
3210
|
+
},
|
|
3069
3211
|
responses: {
|
|
3070
3212
|
200: {
|
|
3071
3213
|
content: {
|
|
3072
3214
|
'application/json': {
|
|
3073
3215
|
schema: {
|
|
3074
3216
|
properties: {
|
|
3075
|
-
|
|
3076
|
-
items: {
|
|
3217
|
+
acs_credentials: {
|
|
3218
|
+
items: {
|
|
3219
|
+
properties: {
|
|
3220
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3221
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3222
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3223
|
+
code: { nullable: true, type: 'string' },
|
|
3224
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3225
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3226
|
+
},
|
|
3227
|
+
required: [
|
|
3228
|
+
'acs_credential_id',
|
|
3229
|
+
'acs_user_id',
|
|
3230
|
+
'acs_system_id',
|
|
3231
|
+
'code',
|
|
3232
|
+
'created_at',
|
|
3233
|
+
'workspace_id',
|
|
3234
|
+
],
|
|
3235
|
+
type: 'object',
|
|
3236
|
+
},
|
|
3077
3237
|
type: 'array',
|
|
3078
3238
|
},
|
|
3079
3239
|
ok: { type: 'boolean' },
|
|
3080
3240
|
},
|
|
3081
|
-
required: ['
|
|
3241
|
+
required: ['acs_credentials', 'ok'],
|
|
3082
3242
|
type: 'object',
|
|
3083
3243
|
},
|
|
3084
3244
|
},
|
|
@@ -3093,12 +3253,73 @@ export default {
|
|
|
3093
3253
|
{ seam_client_session_token: [] },
|
|
3094
3254
|
{ client_session_token: [] },
|
|
3095
3255
|
],
|
|
3096
|
-
summary: '/acs/
|
|
3256
|
+
summary: '/acs/credentials/list',
|
|
3097
3257
|
tags: [],
|
|
3098
|
-
'x-fern-
|
|
3258
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3259
|
+
'x-fern-sdk-method-name': 'list',
|
|
3099
3260
|
},
|
|
3261
|
+
},
|
|
3262
|
+
'/acs/systems/get': {
|
|
3263
|
+
post: {
|
|
3264
|
+
operationId: 'acsSystemsGetPost',
|
|
3265
|
+
requestBody: {
|
|
3266
|
+
content: {
|
|
3267
|
+
'application/json': {
|
|
3268
|
+
schema: {
|
|
3269
|
+
properties: {
|
|
3270
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3271
|
+
},
|
|
3272
|
+
required: ['acs_system_id'],
|
|
3273
|
+
type: 'object',
|
|
3274
|
+
},
|
|
3275
|
+
},
|
|
3276
|
+
},
|
|
3277
|
+
},
|
|
3278
|
+
responses: {
|
|
3279
|
+
200: {
|
|
3280
|
+
content: {
|
|
3281
|
+
'application/json': {
|
|
3282
|
+
schema: {
|
|
3283
|
+
properties: {
|
|
3284
|
+
acs_system: { $ref: '#/components/schemas/acs_system' },
|
|
3285
|
+
ok: { type: 'boolean' },
|
|
3286
|
+
},
|
|
3287
|
+
required: ['acs_system', 'ok'],
|
|
3288
|
+
type: 'object',
|
|
3289
|
+
},
|
|
3290
|
+
},
|
|
3291
|
+
},
|
|
3292
|
+
description: 'OK',
|
|
3293
|
+
},
|
|
3294
|
+
400: { description: 'Bad Request' },
|
|
3295
|
+
401: { description: 'Unauthorized' },
|
|
3296
|
+
},
|
|
3297
|
+
security: [
|
|
3298
|
+
{ access_token: [], seam_workspace: [] },
|
|
3299
|
+
{ seam_client_session_token: [] },
|
|
3300
|
+
{ client_session_token: [] },
|
|
3301
|
+
],
|
|
3302
|
+
summary: '/acs/systems/get',
|
|
3303
|
+
tags: [],
|
|
3304
|
+
'x-fern-sdk-group-name': ['acs', 'systems'],
|
|
3305
|
+
'x-fern-sdk-method-name': 'get',
|
|
3306
|
+
},
|
|
3307
|
+
},
|
|
3308
|
+
'/acs/systems/list': {
|
|
3100
3309
|
post: {
|
|
3101
3310
|
operationId: 'acsSystemsListPost',
|
|
3311
|
+
requestBody: {
|
|
3312
|
+
content: {
|
|
3313
|
+
'application/json': {
|
|
3314
|
+
schema: {
|
|
3315
|
+
properties: {
|
|
3316
|
+
connected_account_id: { format: 'uuid', type: 'string' },
|
|
3317
|
+
},
|
|
3318
|
+
type: 'object',
|
|
3319
|
+
},
|
|
3320
|
+
},
|
|
3321
|
+
},
|
|
3322
|
+
},
|
|
3102
3323
|
responses: {
|
|
3103
3324
|
200: {
|
|
3104
3325
|
content: {
|
|
@@ -3980,6 +4201,7 @@ export default {
|
|
|
3980
4201
|
'genie',
|
|
3981
4202
|
'doorking',
|
|
3982
4203
|
'salto',
|
|
4204
|
+
'lockly',
|
|
3983
4205
|
'ttlock',
|
|
3984
4206
|
'linear',
|
|
3985
4207
|
'noiseaware',
|
|
@@ -4662,6 +4884,7 @@ export default {
|
|
|
4662
4884
|
],
|
|
4663
4885
|
type: 'string',
|
|
4664
4886
|
},
|
|
4887
|
+
user_identifier_key: { type: 'string' },
|
|
4665
4888
|
},
|
|
4666
4889
|
type: 'object',
|
|
4667
4890
|
},
|
|
@@ -4966,6 +5189,7 @@ export default {
|
|
|
4966
5189
|
],
|
|
4967
5190
|
type: 'string',
|
|
4968
5191
|
},
|
|
5192
|
+
user_identifier_key: { type: 'string' },
|
|
4969
5193
|
},
|
|
4970
5194
|
type: 'object',
|
|
4971
5195
|
},
|
|
@@ -5748,6 +5972,7 @@ export default {
|
|
|
5748
5972
|
],
|
|
5749
5973
|
type: 'string',
|
|
5750
5974
|
},
|
|
5975
|
+
user_identifier_key: { type: 'string' },
|
|
5751
5976
|
},
|
|
5752
5977
|
type: 'object',
|
|
5753
5978
|
},
|
|
@@ -6971,6 +7196,7 @@ export default {
|
|
|
6971
7196
|
],
|
|
6972
7197
|
type: 'string',
|
|
6973
7198
|
},
|
|
7199
|
+
user_identifier_key: { type: 'string' },
|
|
6974
7200
|
},
|
|
6975
7201
|
type: 'object',
|
|
6976
7202
|
},
|