@seamapi/types 1.845.0 → 1.847.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 +30 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +34 -0
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +6 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +8 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/openapi.js +24 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +28 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
|
@@ -915,6 +915,8 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
915
915
|
} & {
|
|
916
916
|
is_managed: z.ZodLiteral<false>;
|
|
917
917
|
status: z.ZodEnum<["set", "unset"]>;
|
|
918
|
+
cannot_be_managed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
919
|
+
cannot_delete_unmanaged_access_code: z.ZodOptional<z.ZodLiteral<true>>;
|
|
918
920
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
919
921
|
stay_id: z.ZodNumber;
|
|
920
922
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1241,6 +1243,8 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1241
1243
|
is_early_checkin_able?: boolean | undefined;
|
|
1242
1244
|
is_overridable?: boolean | undefined;
|
|
1243
1245
|
} | null | undefined;
|
|
1246
|
+
cannot_be_managed?: true | undefined;
|
|
1247
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
1244
1248
|
}, {
|
|
1245
1249
|
code: string | null;
|
|
1246
1250
|
type: "time_bound" | "ongoing";
|
|
@@ -1539,5 +1543,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1539
1543
|
is_early_checkin_able?: boolean | undefined;
|
|
1540
1544
|
is_overridable?: boolean | undefined;
|
|
1541
1545
|
} | null | undefined;
|
|
1546
|
+
cannot_be_managed?: true | undefined;
|
|
1547
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
1542
1548
|
}>;
|
|
1543
1549
|
export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
|
|
@@ -22,6 +22,14 @@ export const unmanaged_access_code = access_code
|
|
|
22
22
|
status: z
|
|
23
23
|
.enum(['set', 'unset'])
|
|
24
24
|
.describe('Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.'),
|
|
25
|
+
cannot_be_managed: z
|
|
26
|
+
.literal(true)
|
|
27
|
+
.optional()
|
|
28
|
+
.describe('Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.'),
|
|
29
|
+
cannot_delete_unmanaged_access_code: z
|
|
30
|
+
.literal(true)
|
|
31
|
+
.optional()
|
|
32
|
+
.describe('Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.'),
|
|
25
33
|
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata
|
|
26
34
|
.nullable()
|
|
27
35
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,WAAW,EACX,sCAAsC,GACvC,MAAM,0BAA0B,CAAA;AAEjC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW;KAC7C,IAAI,CAAC;IACJ,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,IAAI;IACpB,SAAS,EAAE,IAAI;IACf,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;CACd,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,sDAAsD,CAAC;IACnE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;SACtB,QAAQ,CACP,sNAAsN,CACvN;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;GAeX,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"unmanaged-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,WAAW,EACX,sCAAsC,GACvC,MAAM,0BAA0B,CAAA;AAEjC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW;KAC7C,IAAI,CAAC;IACJ,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,IAAI;IACpB,SAAS,EAAE,IAAI;IACf,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;CACd,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,sDAAsD,CAAC;IACnE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;SACtB,QAAQ,CACP,sNAAsN,CACvN;IACH,iBAAiB,EAAE,CAAC;SACjB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,sLAAsL,CACvL;IACH,mCAAmC,EAAE,CAAC;SACnC,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,iLAAiL,CAClL;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;GAeX,CAAC,CAAA"}
|
|
@@ -25380,6 +25380,8 @@ export declare const batch: z.ZodObject<{
|
|
|
25380
25380
|
} & {
|
|
25381
25381
|
is_managed: z.ZodLiteral<false>;
|
|
25382
25382
|
status: z.ZodEnum<["set", "unset"]>;
|
|
25383
|
+
cannot_be_managed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
25384
|
+
cannot_delete_unmanaged_access_code: z.ZodOptional<z.ZodLiteral<true>>;
|
|
25383
25385
|
dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25384
25386
|
stay_id: z.ZodNumber;
|
|
25385
25387
|
user_level_id: z.ZodOptional<z.ZodString>;
|
|
@@ -25706,6 +25708,8 @@ export declare const batch: z.ZodObject<{
|
|
|
25706
25708
|
is_early_checkin_able?: boolean | undefined;
|
|
25707
25709
|
is_overridable?: boolean | undefined;
|
|
25708
25710
|
} | null | undefined;
|
|
25711
|
+
cannot_be_managed?: true | undefined;
|
|
25712
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
25709
25713
|
}, {
|
|
25710
25714
|
code: string | null;
|
|
25711
25715
|
type: "time_bound" | "ongoing";
|
|
@@ -26004,6 +26008,8 @@ export declare const batch: z.ZodObject<{
|
|
|
26004
26008
|
is_early_checkin_able?: boolean | undefined;
|
|
26005
26009
|
is_overridable?: boolean | undefined;
|
|
26006
26010
|
} | null | undefined;
|
|
26011
|
+
cannot_be_managed?: true | undefined;
|
|
26012
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
26007
26013
|
}>, "many">>;
|
|
26008
26014
|
thermostat_daily_programs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26009
26015
|
thermostat_daily_program_id: z.ZodString;
|
|
@@ -31139,6 +31145,8 @@ export declare const batch: z.ZodObject<{
|
|
|
31139
31145
|
is_early_checkin_able?: boolean | undefined;
|
|
31140
31146
|
is_overridable?: boolean | undefined;
|
|
31141
31147
|
} | null | undefined;
|
|
31148
|
+
cannot_be_managed?: true | undefined;
|
|
31149
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
31142
31150
|
}[] | undefined;
|
|
31143
31151
|
thermostat_schedules?: {
|
|
31144
31152
|
climate_preset_key: string;
|
|
@@ -36147,6 +36155,8 @@ export declare const batch: z.ZodObject<{
|
|
|
36147
36155
|
is_early_checkin_able?: boolean | undefined;
|
|
36148
36156
|
is_overridable?: boolean | undefined;
|
|
36149
36157
|
} | null | undefined;
|
|
36158
|
+
cannot_be_managed?: true | undefined;
|
|
36159
|
+
cannot_delete_unmanaged_access_code?: true | undefined;
|
|
36150
36160
|
}[] | undefined;
|
|
36151
36161
|
thermostat_schedules?: {
|
|
36152
36162
|
climate_preset_key: string;
|
|
@@ -23838,6 +23838,16 @@ const openapi = {
|
|
|
23838
23838
|
format: 'uuid',
|
|
23839
23839
|
type: 'string',
|
|
23840
23840
|
},
|
|
23841
|
+
cannot_be_managed: {
|
|
23842
|
+
description: 'Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.',
|
|
23843
|
+
enum: [true],
|
|
23844
|
+
type: 'boolean',
|
|
23845
|
+
},
|
|
23846
|
+
cannot_delete_unmanaged_access_code: {
|
|
23847
|
+
description: 'Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.',
|
|
23848
|
+
enum: [true],
|
|
23849
|
+
type: 'boolean',
|
|
23850
|
+
},
|
|
23841
23851
|
code: {
|
|
23842
23852
|
description: 'Code used for access. Typically, a numeric or alphanumeric string.',
|
|
23843
23853
|
nullable: true,
|
|
@@ -65233,6 +65243,15 @@ const openapi = {
|
|
|
65233
65243
|
type: 'string',
|
|
65234
65244
|
},
|
|
65235
65245
|
},
|
|
65246
|
+
{
|
|
65247
|
+
in: 'query',
|
|
65248
|
+
name: 'connected_account_id',
|
|
65249
|
+
schema: {
|
|
65250
|
+
description: 'Filter reservations by the connected account whose connector discovered them.',
|
|
65251
|
+
format: 'uuid',
|
|
65252
|
+
type: 'string',
|
|
65253
|
+
},
|
|
65254
|
+
},
|
|
65236
65255
|
{
|
|
65237
65256
|
in: 'query',
|
|
65238
65257
|
name: 'limit',
|
|
@@ -65548,6 +65567,11 @@ const openapi = {
|
|
|
65548
65567
|
minItems: 2,
|
|
65549
65568
|
type: 'array',
|
|
65550
65569
|
},
|
|
65570
|
+
connected_account_id: {
|
|
65571
|
+
description: 'Filter reservations by the connected account whose connector discovered them.',
|
|
65572
|
+
format: 'uuid',
|
|
65573
|
+
type: 'string',
|
|
65574
|
+
},
|
|
65551
65575
|
created_after: {
|
|
65552
65576
|
description: 'Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.',
|
|
65553
65577
|
format: 'date-time',
|