@seamapi/types 1.824.0 → 1.825.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.
@@ -911,7 +911,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
911
911
  access_code_id: z.ZodString;
912
912
  } & {
913
913
  is_managed: z.ZodLiteral<false>;
914
- status: z.ZodEnum<["set"]>;
914
+ status: z.ZodEnum<["set", "unset"]>;
915
915
  dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
916
916
  stay_id: z.ZodNumber;
917
917
  user_level_id: z.ZodOptional<z.ZodString>;
@@ -943,7 +943,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
943
943
  }, "strip", z.ZodTypeAny, {
944
944
  code: string | null;
945
945
  type: "time_bound" | "ongoing";
946
- status: "set";
946
+ status: "set" | "unset";
947
947
  name: string | null;
948
948
  device_id: string;
949
949
  workspace_id: string;
@@ -1240,7 +1240,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
1240
1240
  }, {
1241
1241
  code: string | null;
1242
1242
  type: "time_bound" | "ongoing";
1243
- status: "set";
1243
+ status: "set" | "unset";
1244
1244
  name: string | null;
1245
1245
  device_id: string;
1246
1246
  workspace_id: string;
@@ -20,8 +20,8 @@ export const unmanaged_access_code = access_code
20
20
  .literal(false)
21
21
  .describe('Indicates that Seam does not manage the access code.'),
22
22
  status: z
23
- .enum(['set'])
24
- .describe('Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.'),
23
+ .enum(['set', 'unset'])
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
25
  dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata
26
26
  .nullable()
27
27
  .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,CAAC,CAAC;SACb,QAAQ,CACP,8HAA8H,CAC/H;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,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;GAeX,CAAC,CAAA"}
@@ -25136,7 +25136,7 @@ export declare const batch: z.ZodObject<{
25136
25136
  access_code_id: z.ZodString;
25137
25137
  } & {
25138
25138
  is_managed: z.ZodLiteral<false>;
25139
- status: z.ZodEnum<["set"]>;
25139
+ status: z.ZodEnum<["set", "unset"]>;
25140
25140
  dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25141
25141
  stay_id: z.ZodNumber;
25142
25142
  user_level_id: z.ZodOptional<z.ZodString>;
@@ -25168,7 +25168,7 @@ export declare const batch: z.ZodObject<{
25168
25168
  }, "strip", z.ZodTypeAny, {
25169
25169
  code: string | null;
25170
25170
  type: "time_bound" | "ongoing";
25171
- status: "set";
25171
+ status: "set" | "unset";
25172
25172
  name: string | null;
25173
25173
  device_id: string;
25174
25174
  workspace_id: string;
@@ -25465,7 +25465,7 @@ export declare const batch: z.ZodObject<{
25465
25465
  }, {
25466
25466
  code: string | null;
25467
25467
  type: "time_bound" | "ongoing";
25468
- status: "set";
25468
+ status: "set" | "unset";
25469
25469
  name: string | null;
25470
25470
  device_id: string;
25471
25471
  workspace_id: string;
@@ -30554,7 +30554,7 @@ export declare const batch: z.ZodObject<{
30554
30554
  unmanaged_access_codes?: {
30555
30555
  code: string | null;
30556
30556
  type: "time_bound" | "ongoing";
30557
- status: "set";
30557
+ status: "set" | "unset";
30558
30558
  name: string | null;
30559
30559
  device_id: string;
30560
30560
  workspace_id: string;
@@ -35516,7 +35516,7 @@ export declare const batch: z.ZodObject<{
35516
35516
  unmanaged_access_codes?: {
35517
35517
  code: string | null;
35518
35518
  type: "time_bound" | "ongoing";
35519
- status: "set";
35519
+ status: "set" | "unset";
35520
35520
  name: string | null;
35521
35521
  device_id: string;
35522
35522
  workspace_id: string;
@@ -24710,8 +24710,8 @@ const openapi = {
24710
24710
  type: 'string',
24711
24711
  },
24712
24712
  status: {
24713
- description: 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.',
24714
- enum: ['set'],
24713
+ description: '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.',
24714
+ enum: ['set', 'unset'],
24715
24715
  type: 'string',
24716
24716
  },
24717
24717
  type: {