@seamapi/types 1.12.0 → 1.14.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 +243 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4378 -339
- package/lib/seam/connect/index.d.ts +1 -0
- package/lib/seam/connect/index.js +1 -0
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +363 -0
- package/lib/seam/connect/openapi.js +242 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +79 -1
- 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/models/acs/user.d.ts +0 -14
- package/lib/seam/connect/unstable/models/acs/user.js +0 -5
- package/lib/seam/connect/unstable/models/acs/user.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/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +242 -0
- package/src/lib/seam/connect/route-types.ts +79 -0
- 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/models/acs/user.ts +0 -8
- 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
|
};
|
|
@@ -220,6 +223,7 @@ export interface Routes {
|
|
|
220
223
|
is_backup_access_code_available: boolean;
|
|
221
224
|
is_backup?: boolean | undefined;
|
|
222
225
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
226
|
+
is_external_modification_allowed: boolean;
|
|
223
227
|
}>;
|
|
224
228
|
};
|
|
225
229
|
};
|
|
@@ -252,6 +256,7 @@ export interface Routes {
|
|
|
252
256
|
is_backup_access_code_available: boolean;
|
|
253
257
|
is_backup?: boolean | undefined;
|
|
254
258
|
pulled_backup_access_code_id?: (string | null) | undefined;
|
|
259
|
+
is_external_modification_allowed: boolean;
|
|
255
260
|
};
|
|
256
261
|
};
|
|
257
262
|
};
|
|
@@ -422,6 +427,7 @@ export interface Routes {
|
|
|
422
427
|
access_code_id: string;
|
|
423
428
|
device_id?: string | undefined;
|
|
424
429
|
type?: ('ongoing' | 'time_bound') | undefined;
|
|
430
|
+
is_managed?: boolean | undefined;
|
|
425
431
|
};
|
|
426
432
|
commonParams: {};
|
|
427
433
|
formData: {};
|
|
@@ -584,6 +590,78 @@ export interface Routes {
|
|
|
584
590
|
formData: {};
|
|
585
591
|
jsonResponse: {};
|
|
586
592
|
};
|
|
593
|
+
'/acs/credentials/create': {
|
|
594
|
+
route: '/acs/credentials/create';
|
|
595
|
+
method: 'POST';
|
|
596
|
+
queryParams: {};
|
|
597
|
+
jsonBody: {};
|
|
598
|
+
commonParams: {
|
|
599
|
+
acs_user_id: string;
|
|
600
|
+
code: string;
|
|
601
|
+
};
|
|
602
|
+
formData: {};
|
|
603
|
+
jsonResponse: {
|
|
604
|
+
acs_credential: {
|
|
605
|
+
acs_credential_id: string;
|
|
606
|
+
acs_user_id: string;
|
|
607
|
+
acs_system_id: string;
|
|
608
|
+
code: string;
|
|
609
|
+
created_at: string;
|
|
610
|
+
workspace_id: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
'/acs/credentials/delete': {
|
|
615
|
+
route: '/acs/credentials/delete';
|
|
616
|
+
method: 'DELETE' | 'POST';
|
|
617
|
+
queryParams: {};
|
|
618
|
+
jsonBody: {};
|
|
619
|
+
commonParams: {
|
|
620
|
+
acs_credential_id: string;
|
|
621
|
+
};
|
|
622
|
+
formData: {};
|
|
623
|
+
jsonResponse: {};
|
|
624
|
+
};
|
|
625
|
+
'/acs/credentials/get': {
|
|
626
|
+
route: '/acs/credentials/get';
|
|
627
|
+
method: 'GET' | 'POST';
|
|
628
|
+
queryParams: {};
|
|
629
|
+
jsonBody: {};
|
|
630
|
+
commonParams: {
|
|
631
|
+
acs_credentials_id: string;
|
|
632
|
+
};
|
|
633
|
+
formData: {};
|
|
634
|
+
jsonResponse: {
|
|
635
|
+
acs_credential: {
|
|
636
|
+
acs_credential_id: string;
|
|
637
|
+
acs_user_id: string;
|
|
638
|
+
acs_system_id: string;
|
|
639
|
+
code: string;
|
|
640
|
+
created_at: string;
|
|
641
|
+
workspace_id: string;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
'/acs/credentials/list': {
|
|
646
|
+
route: '/acs/credentials/list';
|
|
647
|
+
method: 'GET' | 'POST';
|
|
648
|
+
queryParams: {};
|
|
649
|
+
jsonBody: {};
|
|
650
|
+
commonParams: {
|
|
651
|
+
acs_user_id: string;
|
|
652
|
+
};
|
|
653
|
+
formData: {};
|
|
654
|
+
jsonResponse: {
|
|
655
|
+
acs_credentials: Array<{
|
|
656
|
+
acs_credential_id: string;
|
|
657
|
+
acs_user_id: string;
|
|
658
|
+
acs_system_id: string;
|
|
659
|
+
code: string;
|
|
660
|
+
created_at: string;
|
|
661
|
+
workspace_id: string;
|
|
662
|
+
}>;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
587
665
|
'/acs/systems/get': {
|
|
588
666
|
route: '/acs/systems/get';
|
|
589
667
|
method: 'GET' | 'POST';
|
|
@@ -919,7 +997,7 @@ export interface Routes {
|
|
|
919
997
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
920
998
|
custom_redirect_url?: string | undefined;
|
|
921
999
|
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;
|
|
1000
|
+
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
1001
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
924
1002
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
925
1003
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -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.ZodString;
|
|
7
|
+
created_at: z.ZodString;
|
|
8
|
+
workspace_id: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
code: string;
|
|
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;
|
|
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(),
|
|
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;IAChB,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,18 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const desired_user_properties: z.ZodObject<{
|
|
3
|
-
_desired_full_name: z.ZodString;
|
|
4
|
-
_desired_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
-
_desired_phone_number: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
_desired_full_name: string;
|
|
8
|
-
_desired_email?: string | null | undefined;
|
|
9
|
-
_desired_phone_number?: string | null | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
_desired_full_name: string;
|
|
12
|
-
_desired_email?: string | null | undefined;
|
|
13
|
-
_desired_phone_number?: string | null | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type DesiredAcsUserProperties = z.output<typeof desired_user_properties>;
|
|
16
2
|
export declare const acs_user: z.ZodObject<{
|
|
17
3
|
workspace_id: z.ZodString;
|
|
18
4
|
created_at: z.ZodString;
|
|
@@ -8,11 +8,6 @@ const phone_number = z.coerce
|
|
|
8
8
|
}, {
|
|
9
9
|
message: 'Phone number must be in E.164 format: +14155552671',
|
|
10
10
|
});
|
|
11
|
-
export const desired_user_properties = z.object({
|
|
12
|
-
_desired_full_name: z.string(),
|
|
13
|
-
_desired_email: z.string().email().nullish(),
|
|
14
|
-
_desired_phone_number: phone_number.nullish(),
|
|
15
|
-
});
|
|
16
11
|
const user_fields = z.object({
|
|
17
12
|
full_name: z.string().optional(),
|
|
18
13
|
email: z.string().email().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,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
|
@@ -3,6 +3,7 @@ import * as schemas from './stable/schemas.js'
|
|
|
3
3
|
export { schemas }
|
|
4
4
|
|
|
5
5
|
export { default as openapi } from './openapi.js'
|
|
6
|
+
export * from './route-types.js'
|
|
6
7
|
export * from './stable/model-types.js'
|
|
7
8
|
|
|
8
9
|
// UPSTREAM: Reserve this named export until nextlove is able to generate this.
|
|
@@ -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
|
},
|
|
@@ -2455,6 +2457,7 @@ export default {
|
|
|
2455
2457
|
},
|
|
2456
2458
|
device_id: { format: 'uuid', type: 'string' },
|
|
2457
2459
|
ends_at: { type: 'string' },
|
|
2460
|
+
is_managed: { type: 'boolean' },
|
|
2458
2461
|
name: { type: 'string' },
|
|
2459
2462
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2460
2463
|
starts_at: { type: 'string' },
|
|
@@ -2521,6 +2524,7 @@ export default {
|
|
|
2521
2524
|
},
|
|
2522
2525
|
device_id: { format: 'uuid', type: 'string' },
|
|
2523
2526
|
ends_at: { type: 'string' },
|
|
2527
|
+
is_managed: { type: 'boolean' },
|
|
2524
2528
|
name: { type: 'string' },
|
|
2525
2529
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2526
2530
|
starts_at: { type: 'string' },
|
|
@@ -3017,6 +3021,243 @@ export default {
|
|
|
3017
3021
|
'x-fern-sdk-method-name': 'update',
|
|
3018
3022
|
},
|
|
3019
3023
|
},
|
|
3024
|
+
'/acs/credentials/create': {
|
|
3025
|
+
post: {
|
|
3026
|
+
operationId: 'acsCredentialsCreatePost',
|
|
3027
|
+
requestBody: {
|
|
3028
|
+
content: {
|
|
3029
|
+
'application/json': {
|
|
3030
|
+
schema: {
|
|
3031
|
+
properties: {
|
|
3032
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3033
|
+
code: { pattern: '^\\d+$', type: 'string' },
|
|
3034
|
+
},
|
|
3035
|
+
required: ['acs_user_id', 'code'],
|
|
3036
|
+
type: 'object',
|
|
3037
|
+
},
|
|
3038
|
+
},
|
|
3039
|
+
},
|
|
3040
|
+
},
|
|
3041
|
+
responses: {
|
|
3042
|
+
200: {
|
|
3043
|
+
content: {
|
|
3044
|
+
'application/json': {
|
|
3045
|
+
schema: {
|
|
3046
|
+
properties: {
|
|
3047
|
+
acs_credential: {
|
|
3048
|
+
properties: {
|
|
3049
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3050
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3051
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3052
|
+
code: { type: 'string' },
|
|
3053
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3054
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3055
|
+
},
|
|
3056
|
+
required: [
|
|
3057
|
+
'acs_credential_id',
|
|
3058
|
+
'acs_user_id',
|
|
3059
|
+
'acs_system_id',
|
|
3060
|
+
'code',
|
|
3061
|
+
'created_at',
|
|
3062
|
+
'workspace_id',
|
|
3063
|
+
],
|
|
3064
|
+
type: 'object',
|
|
3065
|
+
},
|
|
3066
|
+
ok: { type: 'boolean' },
|
|
3067
|
+
},
|
|
3068
|
+
required: ['acs_credential', 'ok'],
|
|
3069
|
+
type: 'object',
|
|
3070
|
+
},
|
|
3071
|
+
},
|
|
3072
|
+
},
|
|
3073
|
+
description: 'OK',
|
|
3074
|
+
},
|
|
3075
|
+
400: { description: 'Bad Request' },
|
|
3076
|
+
401: { description: 'Unauthorized' },
|
|
3077
|
+
},
|
|
3078
|
+
security: [
|
|
3079
|
+
{ access_token: [], seam_workspace: [] },
|
|
3080
|
+
{ seam_client_session_token: [] },
|
|
3081
|
+
{ client_session_token: [] },
|
|
3082
|
+
],
|
|
3083
|
+
summary: '/acs/credentials/create',
|
|
3084
|
+
tags: [],
|
|
3085
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3086
|
+
'x-fern-sdk-method-name': 'create',
|
|
3087
|
+
},
|
|
3088
|
+
},
|
|
3089
|
+
'/acs/credentials/delete': {
|
|
3090
|
+
post: {
|
|
3091
|
+
operationId: 'acsCredentialsDeletePost',
|
|
3092
|
+
requestBody: {
|
|
3093
|
+
content: {
|
|
3094
|
+
'application/json': {
|
|
3095
|
+
schema: {
|
|
3096
|
+
properties: {
|
|
3097
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3098
|
+
},
|
|
3099
|
+
required: ['acs_credential_id'],
|
|
3100
|
+
type: 'object',
|
|
3101
|
+
},
|
|
3102
|
+
},
|
|
3103
|
+
},
|
|
3104
|
+
},
|
|
3105
|
+
responses: {
|
|
3106
|
+
200: {
|
|
3107
|
+
content: {
|
|
3108
|
+
'application/json': {
|
|
3109
|
+
schema: {
|
|
3110
|
+
properties: { ok: { type: 'boolean' } },
|
|
3111
|
+
required: ['ok'],
|
|
3112
|
+
type: 'object',
|
|
3113
|
+
},
|
|
3114
|
+
},
|
|
3115
|
+
},
|
|
3116
|
+
description: 'OK',
|
|
3117
|
+
},
|
|
3118
|
+
400: { description: 'Bad Request' },
|
|
3119
|
+
401: { description: 'Unauthorized' },
|
|
3120
|
+
},
|
|
3121
|
+
security: [
|
|
3122
|
+
{ access_token: [], seam_workspace: [] },
|
|
3123
|
+
{ seam_client_session_token: [] },
|
|
3124
|
+
{ client_session_token: [] },
|
|
3125
|
+
],
|
|
3126
|
+
summary: '/acs/credentials/delete',
|
|
3127
|
+
tags: [],
|
|
3128
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3129
|
+
'x-fern-sdk-method-name': 'delete',
|
|
3130
|
+
},
|
|
3131
|
+
},
|
|
3132
|
+
'/acs/credentials/get': {
|
|
3133
|
+
post: {
|
|
3134
|
+
operationId: 'acsCredentialsGetPost',
|
|
3135
|
+
requestBody: {
|
|
3136
|
+
content: {
|
|
3137
|
+
'application/json': {
|
|
3138
|
+
schema: {
|
|
3139
|
+
properties: {
|
|
3140
|
+
acs_credentials_id: { format: 'uuid', type: 'string' },
|
|
3141
|
+
},
|
|
3142
|
+
required: ['acs_credentials_id'],
|
|
3143
|
+
type: 'object',
|
|
3144
|
+
},
|
|
3145
|
+
},
|
|
3146
|
+
},
|
|
3147
|
+
},
|
|
3148
|
+
responses: {
|
|
3149
|
+
200: {
|
|
3150
|
+
content: {
|
|
3151
|
+
'application/json': {
|
|
3152
|
+
schema: {
|
|
3153
|
+
properties: {
|
|
3154
|
+
acs_credential: {
|
|
3155
|
+
properties: {
|
|
3156
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3157
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3158
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3159
|
+
code: { type: 'string' },
|
|
3160
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3161
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3162
|
+
},
|
|
3163
|
+
required: [
|
|
3164
|
+
'acs_credential_id',
|
|
3165
|
+
'acs_user_id',
|
|
3166
|
+
'acs_system_id',
|
|
3167
|
+
'code',
|
|
3168
|
+
'created_at',
|
|
3169
|
+
'workspace_id',
|
|
3170
|
+
],
|
|
3171
|
+
type: 'object',
|
|
3172
|
+
},
|
|
3173
|
+
ok: { type: 'boolean' },
|
|
3174
|
+
},
|
|
3175
|
+
required: ['acs_credential', 'ok'],
|
|
3176
|
+
type: 'object',
|
|
3177
|
+
},
|
|
3178
|
+
},
|
|
3179
|
+
},
|
|
3180
|
+
description: 'OK',
|
|
3181
|
+
},
|
|
3182
|
+
400: { description: 'Bad Request' },
|
|
3183
|
+
401: { description: 'Unauthorized' },
|
|
3184
|
+
},
|
|
3185
|
+
security: [
|
|
3186
|
+
{ access_token: [], seam_workspace: [] },
|
|
3187
|
+
{ seam_client_session_token: [] },
|
|
3188
|
+
{ client_session_token: [] },
|
|
3189
|
+
],
|
|
3190
|
+
summary: '/acs/credentials/get',
|
|
3191
|
+
tags: [],
|
|
3192
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3193
|
+
'x-fern-sdk-method-name': 'get',
|
|
3194
|
+
},
|
|
3195
|
+
},
|
|
3196
|
+
'/acs/credentials/list': {
|
|
3197
|
+
post: {
|
|
3198
|
+
operationId: 'acsCredentialsListPost',
|
|
3199
|
+
requestBody: {
|
|
3200
|
+
content: {
|
|
3201
|
+
'application/json': {
|
|
3202
|
+
schema: {
|
|
3203
|
+
properties: { acs_user_id: { format: 'uuid', type: 'string' } },
|
|
3204
|
+
required: ['acs_user_id'],
|
|
3205
|
+
type: 'object',
|
|
3206
|
+
},
|
|
3207
|
+
},
|
|
3208
|
+
},
|
|
3209
|
+
},
|
|
3210
|
+
responses: {
|
|
3211
|
+
200: {
|
|
3212
|
+
content: {
|
|
3213
|
+
'application/json': {
|
|
3214
|
+
schema: {
|
|
3215
|
+
properties: {
|
|
3216
|
+
acs_credentials: {
|
|
3217
|
+
items: {
|
|
3218
|
+
properties: {
|
|
3219
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3220
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3221
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3222
|
+
code: { type: 'string' },
|
|
3223
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3224
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3225
|
+
},
|
|
3226
|
+
required: [
|
|
3227
|
+
'acs_credential_id',
|
|
3228
|
+
'acs_user_id',
|
|
3229
|
+
'acs_system_id',
|
|
3230
|
+
'code',
|
|
3231
|
+
'created_at',
|
|
3232
|
+
'workspace_id',
|
|
3233
|
+
],
|
|
3234
|
+
type: 'object',
|
|
3235
|
+
},
|
|
3236
|
+
type: 'array',
|
|
3237
|
+
},
|
|
3238
|
+
ok: { type: 'boolean' },
|
|
3239
|
+
},
|
|
3240
|
+
required: ['acs_credentials', 'ok'],
|
|
3241
|
+
type: 'object',
|
|
3242
|
+
},
|
|
3243
|
+
},
|
|
3244
|
+
},
|
|
3245
|
+
description: 'OK',
|
|
3246
|
+
},
|
|
3247
|
+
400: { description: 'Bad Request' },
|
|
3248
|
+
401: { description: 'Unauthorized' },
|
|
3249
|
+
},
|
|
3250
|
+
security: [
|
|
3251
|
+
{ access_token: [], seam_workspace: [] },
|
|
3252
|
+
{ seam_client_session_token: [] },
|
|
3253
|
+
{ client_session_token: [] },
|
|
3254
|
+
],
|
|
3255
|
+
summary: '/acs/credentials/list',
|
|
3256
|
+
tags: [],
|
|
3257
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3258
|
+
'x-fern-sdk-method-name': 'list',
|
|
3259
|
+
},
|
|
3260
|
+
},
|
|
3020
3261
|
'/acs/systems/get': {
|
|
3021
3262
|
post: {
|
|
3022
3263
|
operationId: 'acsSystemsGetPost',
|
|
@@ -3980,6 +4221,7 @@ export default {
|
|
|
3980
4221
|
'genie',
|
|
3981
4222
|
'doorking',
|
|
3982
4223
|
'salto',
|
|
4224
|
+
'lockly',
|
|
3983
4225
|
'ttlock',
|
|
3984
4226
|
'linear',
|
|
3985
4227
|
'noiseaware',
|