@seamapi/types 1.388.0 → 1.390.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 +214 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4598 -609
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +1 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +102 -24
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js +25 -0
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +21 -61
- package/lib/seam/connect/openapi.js +136 -80
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4989 -1038
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts +36 -0
- package/src/lib/seam/connect/openapi.ts +140 -89
- package/src/lib/seam/connect/route-types.ts +5162 -478
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"push-thermostat-programs.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAA;AAEzD,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,kBAAkB,CACzE,QAAQ,EACR;IACE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,qCAAqC,CAAC;IAClD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CACF,CAAA"}
|
|
@@ -129,7 +129,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
129
129
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
130
130
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
131
131
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
132
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
132
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
|
|
133
133
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
134
134
|
created_at: z.ZodString;
|
|
135
135
|
workspace_id: z.ZodString;
|
|
@@ -335,7 +335,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
335
335
|
} | undefined;
|
|
336
336
|
is_one_time_use?: boolean | undefined;
|
|
337
337
|
issued_at?: string | null | undefined;
|
|
338
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
338
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
339
339
|
external_type_display_name?: string | undefined;
|
|
340
340
|
acs_user_id?: string | undefined;
|
|
341
341
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -404,7 +404,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
404
404
|
} | undefined;
|
|
405
405
|
is_one_time_use?: boolean | undefined;
|
|
406
406
|
issued_at?: string | null | undefined;
|
|
407
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
407
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
408
408
|
external_type_display_name?: string | undefined;
|
|
409
409
|
acs_user_id?: string | undefined;
|
|
410
410
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -427,7 +427,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
427
427
|
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
428
428
|
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
429
429
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
430
|
-
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key"]>>;
|
|
430
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
|
|
431
431
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
432
432
|
created_at: z.ZodString;
|
|
433
433
|
workspace_id: z.ZodString;
|
|
@@ -633,7 +633,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
633
633
|
} | undefined;
|
|
634
634
|
is_one_time_use?: boolean | undefined;
|
|
635
635
|
issued_at?: string | null | undefined;
|
|
636
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
636
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
637
637
|
external_type_display_name?: string | undefined;
|
|
638
638
|
acs_user_id?: string | undefined;
|
|
639
639
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -702,7 +702,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
702
702
|
} | undefined;
|
|
703
703
|
is_one_time_use?: boolean | undefined;
|
|
704
704
|
issued_at?: string | null | undefined;
|
|
705
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
705
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
706
706
|
external_type_display_name?: string | undefined;
|
|
707
707
|
acs_user_id?: string | undefined;
|
|
708
708
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -808,7 +808,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
808
808
|
} | undefined;
|
|
809
809
|
is_one_time_use?: boolean | undefined;
|
|
810
810
|
issued_at?: string | null | undefined;
|
|
811
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
811
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
812
812
|
external_type_display_name?: string | undefined;
|
|
813
813
|
acs_user_id?: string | undefined;
|
|
814
814
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -877,7 +877,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
877
877
|
} | undefined;
|
|
878
878
|
is_one_time_use?: boolean | undefined;
|
|
879
879
|
issued_at?: string | null | undefined;
|
|
880
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
880
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
881
881
|
external_type_display_name?: string | undefined;
|
|
882
882
|
acs_user_id?: string | undefined;
|
|
883
883
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -973,7 +973,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
973
973
|
} | undefined;
|
|
974
974
|
is_one_time_use?: boolean | undefined;
|
|
975
975
|
issued_at?: string | null | undefined;
|
|
976
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
976
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
977
977
|
external_type_display_name?: string | undefined;
|
|
978
978
|
acs_user_id?: string | undefined;
|
|
979
979
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1042,7 +1042,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1042
1042
|
} | undefined;
|
|
1043
1043
|
is_one_time_use?: boolean | undefined;
|
|
1044
1044
|
issued_at?: string | null | undefined;
|
|
1045
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1045
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1046
1046
|
external_type_display_name?: string | undefined;
|
|
1047
1047
|
acs_user_id?: string | undefined;
|
|
1048
1048
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1143,7 +1143,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1143
1143
|
} | undefined;
|
|
1144
1144
|
is_one_time_use?: boolean | undefined;
|
|
1145
1145
|
issued_at?: string | null | undefined;
|
|
1146
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1146
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1147
1147
|
external_type_display_name?: string | undefined;
|
|
1148
1148
|
acs_user_id?: string | undefined;
|
|
1149
1149
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1212,7 +1212,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1212
1212
|
} | undefined;
|
|
1213
1213
|
is_one_time_use?: boolean | undefined;
|
|
1214
1214
|
issued_at?: string | null | undefined;
|
|
1215
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1215
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1216
1216
|
external_type_display_name?: string | undefined;
|
|
1217
1217
|
acs_user_id?: string | undefined;
|
|
1218
1218
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1314,7 +1314,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1314
1314
|
} | undefined;
|
|
1315
1315
|
is_one_time_use?: boolean | undefined;
|
|
1316
1316
|
issued_at?: string | null | undefined;
|
|
1317
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1317
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1318
1318
|
external_type_display_name?: string | undefined;
|
|
1319
1319
|
acs_user_id?: string | undefined;
|
|
1320
1320
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -1383,7 +1383,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
|
|
|
1383
1383
|
} | undefined;
|
|
1384
1384
|
is_one_time_use?: boolean | undefined;
|
|
1385
1385
|
issued_at?: string | null | undefined;
|
|
1386
|
-
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | undefined;
|
|
1386
|
+
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1387
1387
|
external_type_display_name?: string | undefined;
|
|
1388
1388
|
acs_user_id?: string | undefined;
|
|
1389
1389
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -23259,65 +23259,10 @@ declare const _default: {
|
|
|
23259
23259
|
'application/json': {
|
|
23260
23260
|
schema: {
|
|
23261
23261
|
properties: {
|
|
23262
|
-
|
|
23263
|
-
|
|
23262
|
+
action_attempt: {
|
|
23263
|
+
$ref: string;
|
|
23264
23264
|
};
|
|
23265
|
-
|
|
23266
|
-
properties: {
|
|
23267
|
-
created_at: {
|
|
23268
|
-
description: string;
|
|
23269
|
-
format: string;
|
|
23270
|
-
type: string;
|
|
23271
|
-
};
|
|
23272
|
-
device_id: {
|
|
23273
|
-
description: string;
|
|
23274
|
-
format: string;
|
|
23275
|
-
type: string;
|
|
23276
|
-
};
|
|
23277
|
-
friday_program_id: {
|
|
23278
|
-
description: string;
|
|
23279
|
-
format: string;
|
|
23280
|
-
nullable: boolean;
|
|
23281
|
-
type: string;
|
|
23282
|
-
};
|
|
23283
|
-
monday_program_id: {
|
|
23284
|
-
description: string;
|
|
23285
|
-
format: string;
|
|
23286
|
-
nullable: boolean;
|
|
23287
|
-
type: string;
|
|
23288
|
-
};
|
|
23289
|
-
saturday_program_id: {
|
|
23290
|
-
description: string;
|
|
23291
|
-
format: string;
|
|
23292
|
-
nullable: boolean;
|
|
23293
|
-
type: string;
|
|
23294
|
-
};
|
|
23295
|
-
sunday_program_id: {
|
|
23296
|
-
description: string;
|
|
23297
|
-
format: string;
|
|
23298
|
-
nullable: boolean;
|
|
23299
|
-
type: string;
|
|
23300
|
-
};
|
|
23301
|
-
thursday_program_id: {
|
|
23302
|
-
description: string;
|
|
23303
|
-
format: string;
|
|
23304
|
-
nullable: boolean;
|
|
23305
|
-
type: string;
|
|
23306
|
-
};
|
|
23307
|
-
tuesday_program_id: {
|
|
23308
|
-
description: string;
|
|
23309
|
-
format: string;
|
|
23310
|
-
nullable: boolean;
|
|
23311
|
-
type: string;
|
|
23312
|
-
};
|
|
23313
|
-
wednesday_program_id: {
|
|
23314
|
-
description: string;
|
|
23315
|
-
format: string;
|
|
23316
|
-
nullable: boolean;
|
|
23317
|
-
type: string;
|
|
23318
|
-
};
|
|
23319
|
-
};
|
|
23320
|
-
required: string[];
|
|
23265
|
+
ok: {
|
|
23321
23266
|
type: string;
|
|
23322
23267
|
};
|
|
23323
23268
|
};
|
|
@@ -23358,6 +23303,7 @@ declare const _default: {
|
|
|
23358
23303
|
})[];
|
|
23359
23304
|
summary: string;
|
|
23360
23305
|
tags: string[];
|
|
23306
|
+
'x-action-attempt-type': string;
|
|
23361
23307
|
'x-fern-sdk-group-name': string[];
|
|
23362
23308
|
'x-fern-sdk-method-name': string;
|
|
23363
23309
|
'x-fern-sdk-return-value': string;
|
|
@@ -23393,6 +23339,9 @@ declare const _default: {
|
|
|
23393
23339
|
'application/json': {
|
|
23394
23340
|
schema: {
|
|
23395
23341
|
properties: {
|
|
23342
|
+
action_attempt: {
|
|
23343
|
+
$ref: string;
|
|
23344
|
+
};
|
|
23396
23345
|
ok: {
|
|
23397
23346
|
type: string;
|
|
23398
23347
|
};
|
|
@@ -23434,9 +23383,11 @@ declare const _default: {
|
|
|
23434
23383
|
})[];
|
|
23435
23384
|
summary: string;
|
|
23436
23385
|
tags: string[];
|
|
23386
|
+
'x-action-attempt-type': string;
|
|
23437
23387
|
'x-fern-sdk-group-name': string[];
|
|
23438
23388
|
'x-fern-sdk-method-name': string;
|
|
23439
|
-
'x-
|
|
23389
|
+
'x-fern-sdk-return-value': string;
|
|
23390
|
+
'x-response-key': string;
|
|
23440
23391
|
'x-title': string;
|
|
23441
23392
|
'x-undocumented': string;
|
|
23442
23393
|
};
|
|
@@ -23924,6 +23875,9 @@ declare const _default: {
|
|
|
23924
23875
|
'application/json': {
|
|
23925
23876
|
schema: {
|
|
23926
23877
|
properties: {
|
|
23878
|
+
action_attempt: {
|
|
23879
|
+
$ref: string;
|
|
23880
|
+
};
|
|
23927
23881
|
ok: {
|
|
23928
23882
|
type: string;
|
|
23929
23883
|
};
|
|
@@ -23965,8 +23919,9 @@ declare const _default: {
|
|
|
23965
23919
|
})[];
|
|
23966
23920
|
summary: string;
|
|
23967
23921
|
tags: string[];
|
|
23922
|
+
'x-action-attempt-type': string;
|
|
23968
23923
|
'x-fern-ignore': boolean;
|
|
23969
|
-
'x-response-key':
|
|
23924
|
+
'x-response-key': string;
|
|
23970
23925
|
'x-title': string;
|
|
23971
23926
|
'x-undocumented': string;
|
|
23972
23927
|
};
|
|
@@ -24019,6 +23974,9 @@ declare const _default: {
|
|
|
24019
23974
|
'application/json': {
|
|
24020
23975
|
schema: {
|
|
24021
23976
|
properties: {
|
|
23977
|
+
action_attempt: {
|
|
23978
|
+
$ref: string;
|
|
23979
|
+
};
|
|
24022
23980
|
ok: {
|
|
24023
23981
|
type: string;
|
|
24024
23982
|
};
|
|
@@ -24060,9 +24018,11 @@ declare const _default: {
|
|
|
24060
24018
|
})[];
|
|
24061
24019
|
summary: string;
|
|
24062
24020
|
tags: string[];
|
|
24021
|
+
'x-action-attempt-type': string;
|
|
24063
24022
|
'x-fern-sdk-group-name': string[];
|
|
24064
24023
|
'x-fern-sdk-method-name': string;
|
|
24065
|
-
'x-
|
|
24024
|
+
'x-fern-sdk-return-value': string;
|
|
24025
|
+
'x-response-key': string;
|
|
24066
24026
|
'x-title': string;
|
|
24067
24027
|
'x-undocumented': string;
|
|
24068
24028
|
};
|
|
@@ -1512,6 +1512,7 @@ export default {
|
|
|
1512
1512
|
'salto_ks_credential',
|
|
1513
1513
|
'assa_abloy_vostio_key',
|
|
1514
1514
|
'salto_space_key',
|
|
1515
|
+
'latch_access',
|
|
1515
1516
|
],
|
|
1516
1517
|
type: 'string',
|
|
1517
1518
|
},
|
|
@@ -3356,6 +3357,7 @@ export default {
|
|
|
3356
3357
|
'salto_ks_credential',
|
|
3357
3358
|
'assa_abloy_vostio_key',
|
|
3358
3359
|
'salto_space_key',
|
|
3360
|
+
'latch_access',
|
|
3359
3361
|
],
|
|
3360
3362
|
type: 'string',
|
|
3361
3363
|
},
|
|
@@ -3701,6 +3703,7 @@ export default {
|
|
|
3701
3703
|
'salto_ks_credential',
|
|
3702
3704
|
'assa_abloy_vostio_key',
|
|
3703
3705
|
'salto_space_key',
|
|
3706
|
+
'latch_access',
|
|
3704
3707
|
],
|
|
3705
3708
|
type: 'string',
|
|
3706
3709
|
},
|
|
@@ -4415,6 +4418,7 @@ export default {
|
|
|
4415
4418
|
'salto_ks_credential',
|
|
4416
4419
|
'assa_abloy_vostio_key',
|
|
4417
4420
|
'salto_space_key',
|
|
4421
|
+
'latch_access',
|
|
4418
4422
|
],
|
|
4419
4423
|
type: 'string',
|
|
4420
4424
|
},
|
|
@@ -4758,6 +4762,7 @@ export default {
|
|
|
4758
4762
|
'salto_ks_credential',
|
|
4759
4763
|
'assa_abloy_vostio_key',
|
|
4760
4764
|
'salto_space_key',
|
|
4765
|
+
'latch_access',
|
|
4761
4766
|
],
|
|
4762
4767
|
type: 'string',
|
|
4763
4768
|
},
|
|
@@ -5667,6 +5672,100 @@ export default {
|
|
|
5667
5672
|
],
|
|
5668
5673
|
type: 'object',
|
|
5669
5674
|
},
|
|
5675
|
+
{
|
|
5676
|
+
description: 'Pushing thermostat weekly programs.',
|
|
5677
|
+
properties: {
|
|
5678
|
+
action_attempt_id: {
|
|
5679
|
+
description: 'ID of the action attempt.',
|
|
5680
|
+
format: 'uuid',
|
|
5681
|
+
type: 'string',
|
|
5682
|
+
},
|
|
5683
|
+
action_type: {
|
|
5684
|
+
enum: ['PUSH_THERMOSTAT_PROGRAMS'],
|
|
5685
|
+
type: 'string',
|
|
5686
|
+
},
|
|
5687
|
+
error: {
|
|
5688
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
5689
|
+
nullable: true,
|
|
5690
|
+
},
|
|
5691
|
+
result: {
|
|
5692
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
5693
|
+
nullable: true,
|
|
5694
|
+
},
|
|
5695
|
+
status: { enum: ['pending'], type: 'string' },
|
|
5696
|
+
},
|
|
5697
|
+
required: [
|
|
5698
|
+
'action_attempt_id',
|
|
5699
|
+
'status',
|
|
5700
|
+
'result',
|
|
5701
|
+
'error',
|
|
5702
|
+
'action_type',
|
|
5703
|
+
],
|
|
5704
|
+
type: 'object',
|
|
5705
|
+
},
|
|
5706
|
+
{
|
|
5707
|
+
description: 'Pushing thermostat weekly programs succeeded.',
|
|
5708
|
+
properties: {
|
|
5709
|
+
action_attempt_id: {
|
|
5710
|
+
description: 'ID of the action attempt.',
|
|
5711
|
+
format: 'uuid',
|
|
5712
|
+
type: 'string',
|
|
5713
|
+
},
|
|
5714
|
+
action_type: {
|
|
5715
|
+
enum: ['PUSH_THERMOSTAT_PROGRAMS'],
|
|
5716
|
+
type: 'string',
|
|
5717
|
+
},
|
|
5718
|
+
error: {
|
|
5719
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
5720
|
+
nullable: true,
|
|
5721
|
+
},
|
|
5722
|
+
result: { properties: {}, type: 'object' },
|
|
5723
|
+
status: { enum: ['success'], type: 'string' },
|
|
5724
|
+
},
|
|
5725
|
+
required: [
|
|
5726
|
+
'action_attempt_id',
|
|
5727
|
+
'status',
|
|
5728
|
+
'error',
|
|
5729
|
+
'action_type',
|
|
5730
|
+
'result',
|
|
5731
|
+
],
|
|
5732
|
+
type: 'object',
|
|
5733
|
+
},
|
|
5734
|
+
{
|
|
5735
|
+
description: 'Pushing thermostat weekly programs failed.',
|
|
5736
|
+
properties: {
|
|
5737
|
+
action_attempt_id: {
|
|
5738
|
+
description: 'ID of the action attempt.',
|
|
5739
|
+
format: 'uuid',
|
|
5740
|
+
type: 'string',
|
|
5741
|
+
},
|
|
5742
|
+
action_type: {
|
|
5743
|
+
enum: ['PUSH_THERMOSTAT_PROGRAMS'],
|
|
5744
|
+
type: 'string',
|
|
5745
|
+
},
|
|
5746
|
+
error: {
|
|
5747
|
+
properties: {
|
|
5748
|
+
message: { type: 'string' },
|
|
5749
|
+
type: { type: 'string' },
|
|
5750
|
+
},
|
|
5751
|
+
required: ['type', 'message'],
|
|
5752
|
+
type: 'object',
|
|
5753
|
+
},
|
|
5754
|
+
result: {
|
|
5755
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
5756
|
+
nullable: true,
|
|
5757
|
+
},
|
|
5758
|
+
status: { enum: ['error'], type: 'string' },
|
|
5759
|
+
},
|
|
5760
|
+
required: [
|
|
5761
|
+
'action_attempt_id',
|
|
5762
|
+
'status',
|
|
5763
|
+
'result',
|
|
5764
|
+
'action_type',
|
|
5765
|
+
'error',
|
|
5766
|
+
],
|
|
5767
|
+
type: 'object',
|
|
5768
|
+
},
|
|
5670
5769
|
{
|
|
5671
5770
|
properties: {
|
|
5672
5771
|
action_attempt_id: {
|
|
@@ -15213,6 +15312,7 @@ export default {
|
|
|
15213
15312
|
'salto_ks_credential',
|
|
15214
15313
|
'assa_abloy_vostio_key',
|
|
15215
15314
|
'salto_space_key',
|
|
15315
|
+
'latch_access',
|
|
15216
15316
|
],
|
|
15217
15317
|
type: 'string',
|
|
15218
15318
|
},
|
|
@@ -27820,77 +27920,12 @@ export default {
|
|
|
27820
27920
|
'application/json': {
|
|
27821
27921
|
schema: {
|
|
27822
27922
|
properties: {
|
|
27823
|
-
|
|
27824
|
-
|
|
27825
|
-
properties: {
|
|
27826
|
-
created_at: {
|
|
27827
|
-
description: 'Date and time at which the thermostat weekly program was created.',
|
|
27828
|
-
format: 'date-time',
|
|
27829
|
-
type: 'string',
|
|
27830
|
-
},
|
|
27831
|
-
device_id: {
|
|
27832
|
-
description: 'ID of the thermostat device the weekly program is for.',
|
|
27833
|
-
format: 'uuid',
|
|
27834
|
-
type: 'string',
|
|
27835
|
-
},
|
|
27836
|
-
friday_program_id: {
|
|
27837
|
-
description: 'ID of the thermostat daily program to run on Fridays.',
|
|
27838
|
-
format: 'uuid',
|
|
27839
|
-
nullable: true,
|
|
27840
|
-
type: 'string',
|
|
27841
|
-
},
|
|
27842
|
-
monday_program_id: {
|
|
27843
|
-
description: 'ID of the thermostat daily program to run on Mondays.',
|
|
27844
|
-
format: 'uuid',
|
|
27845
|
-
nullable: true,
|
|
27846
|
-
type: 'string',
|
|
27847
|
-
},
|
|
27848
|
-
saturday_program_id: {
|
|
27849
|
-
description: 'ID of the thermostat daily program to run on Saturdays.',
|
|
27850
|
-
format: 'uuid',
|
|
27851
|
-
nullable: true,
|
|
27852
|
-
type: 'string',
|
|
27853
|
-
},
|
|
27854
|
-
sunday_program_id: {
|
|
27855
|
-
description: 'ID of the thermostat daily program to run on Sundays.',
|
|
27856
|
-
format: 'uuid',
|
|
27857
|
-
nullable: true,
|
|
27858
|
-
type: 'string',
|
|
27859
|
-
},
|
|
27860
|
-
thursday_program_id: {
|
|
27861
|
-
description: 'ID of the thermostat daily program to run on Thursdays.',
|
|
27862
|
-
format: 'uuid',
|
|
27863
|
-
nullable: true,
|
|
27864
|
-
type: 'string',
|
|
27865
|
-
},
|
|
27866
|
-
tuesday_program_id: {
|
|
27867
|
-
description: 'ID of the thermostat daily program to run on Tuesdays.',
|
|
27868
|
-
format: 'uuid',
|
|
27869
|
-
nullable: true,
|
|
27870
|
-
type: 'string',
|
|
27871
|
-
},
|
|
27872
|
-
wednesday_program_id: {
|
|
27873
|
-
description: 'ID of the thermostat daily program to run on Wednesdays.',
|
|
27874
|
-
format: 'uuid',
|
|
27875
|
-
nullable: true,
|
|
27876
|
-
type: 'string',
|
|
27877
|
-
},
|
|
27878
|
-
},
|
|
27879
|
-
required: [
|
|
27880
|
-
'device_id',
|
|
27881
|
-
'monday_program_id',
|
|
27882
|
-
'tuesday_program_id',
|
|
27883
|
-
'wednesday_program_id',
|
|
27884
|
-
'thursday_program_id',
|
|
27885
|
-
'friday_program_id',
|
|
27886
|
-
'saturday_program_id',
|
|
27887
|
-
'sunday_program_id',
|
|
27888
|
-
'created_at',
|
|
27889
|
-
],
|
|
27890
|
-
type: 'object',
|
|
27923
|
+
action_attempt: {
|
|
27924
|
+
$ref: '#/components/schemas/action_attempt',
|
|
27891
27925
|
},
|
|
27926
|
+
ok: { type: 'boolean' },
|
|
27892
27927
|
},
|
|
27893
|
-
required: ['
|
|
27928
|
+
required: ['action_attempt', 'ok'],
|
|
27894
27929
|
type: 'object',
|
|
27895
27930
|
},
|
|
27896
27931
|
},
|
|
@@ -27908,10 +27943,11 @@ export default {
|
|
|
27908
27943
|
],
|
|
27909
27944
|
summary: '/thermostats/activate_weekly_program',
|
|
27910
27945
|
tags: ['/thermostats'],
|
|
27946
|
+
'x-action-attempt-type': 'PUSH_THERMOSTAT_PROGRAMS',
|
|
27911
27947
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
27912
27948
|
'x-fern-sdk-method-name': 'activate_weekly_program',
|
|
27913
|
-
'x-fern-sdk-return-value': '
|
|
27914
|
-
'x-response-key': '
|
|
27949
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
27950
|
+
'x-response-key': 'action_attempt',
|
|
27915
27951
|
'x-title': 'Activate a Thermostat Weekly Program',
|
|
27916
27952
|
'x-undocumented': 'Unreleased.',
|
|
27917
27953
|
},
|
|
@@ -27942,8 +27978,13 @@ export default {
|
|
|
27942
27978
|
content: {
|
|
27943
27979
|
'application/json': {
|
|
27944
27980
|
schema: {
|
|
27945
|
-
properties: {
|
|
27946
|
-
|
|
27981
|
+
properties: {
|
|
27982
|
+
action_attempt: {
|
|
27983
|
+
$ref: '#/components/schemas/action_attempt',
|
|
27984
|
+
},
|
|
27985
|
+
ok: { type: 'boolean' },
|
|
27986
|
+
},
|
|
27987
|
+
required: ['action_attempt', 'ok'],
|
|
27947
27988
|
type: 'object',
|
|
27948
27989
|
},
|
|
27949
27990
|
},
|
|
@@ -27961,9 +28002,11 @@ export default {
|
|
|
27961
28002
|
],
|
|
27962
28003
|
summary: '/thermostats/clear_weekly_program',
|
|
27963
28004
|
tags: ['/thermostats'],
|
|
28005
|
+
'x-action-attempt-type': 'PUSH_THERMOSTAT_PROGRAMS',
|
|
27964
28006
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
27965
28007
|
'x-fern-sdk-method-name': 'clear_weekly_program',
|
|
27966
|
-
'x-
|
|
28008
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
28009
|
+
'x-response-key': 'action_attempt',
|
|
27967
28010
|
'x-title': 'Clear a Thermostat Weekly Program',
|
|
27968
28011
|
'x-undocumented': 'Unreleased.',
|
|
27969
28012
|
},
|
|
@@ -28367,8 +28410,13 @@ export default {
|
|
|
28367
28410
|
content: {
|
|
28368
28411
|
'application/json': {
|
|
28369
28412
|
schema: {
|
|
28370
|
-
properties: {
|
|
28371
|
-
|
|
28413
|
+
properties: {
|
|
28414
|
+
action_attempt: {
|
|
28415
|
+
$ref: '#/components/schemas/action_attempt',
|
|
28416
|
+
},
|
|
28417
|
+
ok: { type: 'boolean' },
|
|
28418
|
+
},
|
|
28419
|
+
required: ['action_attempt', 'ok'],
|
|
28372
28420
|
type: 'object',
|
|
28373
28421
|
},
|
|
28374
28422
|
},
|
|
@@ -28386,8 +28434,9 @@ export default {
|
|
|
28386
28434
|
],
|
|
28387
28435
|
summary: '/thermostats/daily_programs/update',
|
|
28388
28436
|
tags: ['/thermostats'],
|
|
28437
|
+
'x-action-attempt-type': 'PUSH_THERMOSTAT_PROGRAMS',
|
|
28389
28438
|
'x-fern-ignore': true,
|
|
28390
|
-
'x-response-key':
|
|
28439
|
+
'x-response-key': 'action_attempt',
|
|
28391
28440
|
'x-title': 'Update a Thermostat Daily Program',
|
|
28392
28441
|
'x-undocumented': 'Unreleased.',
|
|
28393
28442
|
},
|
|
@@ -28439,8 +28488,13 @@ export default {
|
|
|
28439
28488
|
content: {
|
|
28440
28489
|
'application/json': {
|
|
28441
28490
|
schema: {
|
|
28442
|
-
properties: {
|
|
28443
|
-
|
|
28491
|
+
properties: {
|
|
28492
|
+
action_attempt: {
|
|
28493
|
+
$ref: '#/components/schemas/action_attempt',
|
|
28494
|
+
},
|
|
28495
|
+
ok: { type: 'boolean' },
|
|
28496
|
+
},
|
|
28497
|
+
required: ['action_attempt', 'ok'],
|
|
28444
28498
|
type: 'object',
|
|
28445
28499
|
},
|
|
28446
28500
|
},
|
|
@@ -28458,9 +28512,11 @@ export default {
|
|
|
28458
28512
|
],
|
|
28459
28513
|
summary: '/thermostats/daily_programs/update',
|
|
28460
28514
|
tags: ['/thermostats'],
|
|
28515
|
+
'x-action-attempt-type': 'PUSH_THERMOSTAT_PROGRAMS',
|
|
28461
28516
|
'x-fern-sdk-group-name': ['thermostats', 'daily_programs'],
|
|
28462
28517
|
'x-fern-sdk-method-name': 'update',
|
|
28463
|
-
'x-
|
|
28518
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
28519
|
+
'x-response-key': 'action_attempt',
|
|
28464
28520
|
'x-title': 'Update a Thermostat Daily Program',
|
|
28465
28521
|
'x-undocumented': 'Unreleased.',
|
|
28466
28522
|
},
|