@seamapi/types 1.795.0 → 1.797.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.
@@ -2535,6 +2535,22 @@ export declare const access_code: z.ZodObject<{
2535
2535
  }>, z.ZodObject<{
2536
2536
  created_at: z.ZodString;
2537
2537
  message: z.ZodString;
2538
+ } & {
2539
+ mutation_code: z.ZodLiteral<"deferring_creation">;
2540
+ scheduled_at: z.ZodString;
2541
+ }, "strip", z.ZodTypeAny, {
2542
+ message: string;
2543
+ created_at: string;
2544
+ mutation_code: "deferring_creation";
2545
+ scheduled_at: string;
2546
+ }, {
2547
+ message: string;
2548
+ created_at: string;
2549
+ mutation_code: "deferring_creation";
2550
+ scheduled_at: string;
2551
+ }>, z.ZodObject<{
2552
+ created_at: z.ZodString;
2553
+ message: z.ZodString;
2538
2554
  } & {
2539
2555
  mutation_code: z.ZodLiteral<"deleting">;
2540
2556
  }, "strip", z.ZodTypeAny, {
@@ -2962,6 +2978,11 @@ export declare const access_code: z.ZodObject<{
2962
2978
  message: string;
2963
2979
  created_at: string;
2964
2980
  mutation_code: "creating";
2981
+ } | {
2982
+ message: string;
2983
+ created_at: string;
2984
+ mutation_code: "deferring_creation";
2985
+ scheduled_at: string;
2965
2986
  } | {
2966
2987
  message: string;
2967
2988
  created_at: string;
@@ -3304,6 +3325,11 @@ export declare const access_code: z.ZodObject<{
3304
3325
  message: string;
3305
3326
  created_at: string;
3306
3327
  mutation_code: "creating";
3328
+ } | {
3329
+ message: string;
3330
+ created_at: string;
3331
+ mutation_code: "deferring_creation";
3332
+ scheduled_at: string;
3307
3333
  } | {
3308
3334
  message: string;
3309
3335
  created_at: string;
@@ -15,6 +15,22 @@ export declare const access_code_pending_mutations: z.ZodDiscriminatedUnion<"mut
15
15
  }>, z.ZodObject<{
16
16
  created_at: z.ZodString;
17
17
  message: z.ZodString;
18
+ } & {
19
+ mutation_code: z.ZodLiteral<"deferring_creation">;
20
+ scheduled_at: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ message: string;
23
+ created_at: string;
24
+ mutation_code: "deferring_creation";
25
+ scheduled_at: string;
26
+ }, {
27
+ message: string;
28
+ created_at: string;
29
+ mutation_code: "deferring_creation";
30
+ scheduled_at: string;
31
+ }>, z.ZodObject<{
32
+ created_at: z.ZodString;
33
+ message: z.ZodString;
18
34
  } & {
19
35
  mutation_code: z.ZodLiteral<"deleting">;
20
36
  }, "strip", z.ZodTypeAny, {
@@ -169,6 +185,23 @@ declare const _access_code_pending_mutations_map: z.ZodObject<{
169
185
  created_at: string;
170
186
  mutation_code: "creating";
171
187
  }>>>;
188
+ deferring_creation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
189
+ created_at: z.ZodString;
190
+ message: z.ZodString;
191
+ } & {
192
+ mutation_code: z.ZodLiteral<"deferring_creation">;
193
+ scheduled_at: z.ZodString;
194
+ }, "strip", z.ZodTypeAny, {
195
+ message: string;
196
+ created_at: string;
197
+ mutation_code: "deferring_creation";
198
+ scheduled_at: string;
199
+ }, {
200
+ message: string;
201
+ created_at: string;
202
+ mutation_code: "deferring_creation";
203
+ scheduled_at: string;
204
+ }>>>;
172
205
  deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
173
206
  created_at: z.ZodString;
174
207
  message: z.ZodString;
@@ -349,6 +382,12 @@ declare const _access_code_pending_mutations_map: z.ZodObject<{
349
382
  created_at: string;
350
383
  mutation_code: "creating";
351
384
  } | null | undefined;
385
+ deferring_creation?: {
386
+ message: string;
387
+ created_at: string;
388
+ mutation_code: "deferring_creation";
389
+ scheduled_at: string;
390
+ } | null | undefined;
352
391
  deleting?: {
353
392
  message: string;
354
393
  created_at: string;
@@ -404,6 +443,12 @@ declare const _access_code_pending_mutations_map: z.ZodObject<{
404
443
  created_at: string;
405
444
  mutation_code: "creating";
406
445
  } | null | undefined;
446
+ deferring_creation?: {
447
+ message: string;
448
+ created_at: string;
449
+ mutation_code: "deferring_creation";
450
+ scheduled_at: string;
451
+ } | null | undefined;
407
452
  deleting?: {
408
453
  message: string;
409
454
  created_at: string;
@@ -13,6 +13,17 @@ const creating = common_pending_mutation
13
13
  .describe('Mutation code to indicate that Seam is in the process of setting an access code on the device.'),
14
14
  })
15
15
  .describe('Seam is in the process of setting an access code on the device.');
16
+ const deferring_creation = common_pending_mutation
17
+ .extend({
18
+ mutation_code: z
19
+ .literal('deferring_creation')
20
+ .describe("Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device."),
21
+ scheduled_at: z
22
+ .string()
23
+ .datetime()
24
+ .describe('Date and time at which Seam will attempt to program this access code on the device.'),
25
+ })
26
+ .describe("Seam is waiting until closer to the access code's start time before programming it on the device.");
16
27
  const deleting = common_pending_mutation
17
28
  .extend({
18
29
  mutation_code: z
@@ -89,7 +100,14 @@ const updating_time_frame = common_pending_mutation
89
100
  .describe('New time frame configuration.'),
90
101
  })
91
102
  .describe('Seam is in the process of pushing an updated time frame to the device.');
92
- export const access_code_pending_mutations = z.discriminatedUnion('mutation_code', [creating, deleting, updating_code, updating_name, updating_time_frame]);
103
+ export const access_code_pending_mutations = z.discriminatedUnion('mutation_code', [
104
+ creating,
105
+ deferring_creation,
106
+ deleting,
107
+ updating_code,
108
+ updating_name,
109
+ updating_time_frame,
110
+ ]);
93
111
  // Internal fields stored in the DB but stripped from public API responses.
94
112
  // Used to track the delete+recreate flow for providers that don't support
95
113
  // in-place updates (e.g. Schlage, August).
@@ -100,6 +118,7 @@ const internal_recreate_fields = z.object({
100
118
  });
101
119
  const _access_code_pending_mutations_map = z.object({
102
120
  creating: creating.optional().nullable(),
121
+ deferring_creation: deferring_creation.optional().nullable(),
103
122
  deleting: deleting.optional().nullable(),
104
123
  updating_code: updating_code
105
124
  .merge(internal_recreate_fields)
@@ -1 +1 @@
1
- {"version":3,"file":"pending-mutations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/pending-mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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EAAE;SACV,QAAQ,EAAE;CACd,CAAC,CAAA"}
@@ -630,6 +630,12 @@ declare const _acs_user_pending_mutations_map: z.ZodObject<{
630
630
  created_at: string;
631
631
  mutation_code: "creating";
632
632
  } | null | undefined;
633
+ deferring_creation?: {
634
+ message: string;
635
+ created_at: string;
636
+ mutation_code: "deferring_creation";
637
+ scheduled_at?: string | null | undefined;
638
+ } | null | undefined;
633
639
  deleting?: {
634
640
  message: string;
635
641
  created_at: string;
@@ -648,12 +654,6 @@ declare const _acs_user_pending_mutations_map: z.ZodObject<{
648
654
  ends_at: string | null;
649
655
  };
650
656
  } | null | undefined;
651
- deferring_creation?: {
652
- message: string;
653
- created_at: string;
654
- mutation_code: "deferring_creation";
655
- scheduled_at?: string | null | undefined;
656
- } | null | undefined;
657
657
  updating_suspension_state?: {
658
658
  message: string;
659
659
  created_at: string;
@@ -722,6 +722,12 @@ declare const _acs_user_pending_mutations_map: z.ZodObject<{
722
722
  created_at: string;
723
723
  mutation_code: "creating";
724
724
  } | null | undefined;
725
+ deferring_creation?: {
726
+ message: string;
727
+ created_at: string;
728
+ mutation_code: "deferring_creation";
729
+ scheduled_at?: string | null | undefined;
730
+ } | null | undefined;
725
731
  deleting?: {
726
732
  message: string;
727
733
  created_at: string;
@@ -740,12 +746,6 @@ declare const _acs_user_pending_mutations_map: z.ZodObject<{
740
746
  ends_at: string | null;
741
747
  };
742
748
  } | null | undefined;
743
- deferring_creation?: {
744
- message: string;
745
- created_at: string;
746
- mutation_code: "deferring_creation";
747
- scheduled_at?: string | null | undefined;
748
- } | null | undefined;
749
749
  updating_suspension_state?: {
750
750
  message: string;
751
751
  created_at: string;
@@ -23208,6 +23208,22 @@ export declare const batch: z.ZodObject<{
23208
23208
  }>, z.ZodObject<{
23209
23209
  created_at: z.ZodString;
23210
23210
  message: z.ZodString;
23211
+ } & {
23212
+ mutation_code: z.ZodLiteral<"deferring_creation">;
23213
+ scheduled_at: z.ZodString;
23214
+ }, "strip", z.ZodTypeAny, {
23215
+ message: string;
23216
+ created_at: string;
23217
+ mutation_code: "deferring_creation";
23218
+ scheduled_at: string;
23219
+ }, {
23220
+ message: string;
23221
+ created_at: string;
23222
+ mutation_code: "deferring_creation";
23223
+ scheduled_at: string;
23224
+ }>, z.ZodObject<{
23225
+ created_at: z.ZodString;
23226
+ message: z.ZodString;
23211
23227
  } & {
23212
23228
  mutation_code: z.ZodLiteral<"deleting">;
23213
23229
  }, "strip", z.ZodTypeAny, {
@@ -23635,6 +23651,11 @@ export declare const batch: z.ZodObject<{
23635
23651
  message: string;
23636
23652
  created_at: string;
23637
23653
  mutation_code: "creating";
23654
+ } | {
23655
+ message: string;
23656
+ created_at: string;
23657
+ mutation_code: "deferring_creation";
23658
+ scheduled_at: string;
23638
23659
  } | {
23639
23660
  message: string;
23640
23661
  created_at: string;
@@ -23977,6 +23998,11 @@ export declare const batch: z.ZodObject<{
23977
23998
  message: string;
23978
23999
  created_at: string;
23979
24000
  mutation_code: "creating";
24001
+ } | {
24002
+ message: string;
24003
+ created_at: string;
24004
+ mutation_code: "deferring_creation";
24005
+ scheduled_at: string;
23980
24006
  } | {
23981
24007
  message: string;
23982
24008
  created_at: string;
@@ -30240,6 +30266,11 @@ export declare const batch: z.ZodObject<{
30240
30266
  message: string;
30241
30267
  created_at: string;
30242
30268
  mutation_code: "creating";
30269
+ } | {
30270
+ message: string;
30271
+ created_at: string;
30272
+ mutation_code: "deferring_creation";
30273
+ scheduled_at: string;
30243
30274
  } | {
30244
30275
  message: string;
30245
30276
  created_at: string;
@@ -35159,6 +35190,11 @@ export declare const batch: z.ZodObject<{
35159
35190
  message: string;
35160
35191
  created_at: string;
35161
35192
  mutation_code: "creating";
35193
+ } | {
35194
+ message: string;
35195
+ created_at: string;
35196
+ mutation_code: "deferring_creation";
35197
+ scheduled_at: string;
35162
35198
  } | {
35163
35199
  message: string;
35164
35200
  created_at: string;
@@ -356,6 +356,34 @@ declare const _default: {
356
356
  enum: string[];
357
357
  type: string;
358
358
  };
359
+ scheduled_at?: never;
360
+ from?: never;
361
+ to?: never;
362
+ };
363
+ required: string[];
364
+ type: string;
365
+ } | {
366
+ description: string;
367
+ properties: {
368
+ created_at: {
369
+ description: string;
370
+ format: string;
371
+ type: string;
372
+ };
373
+ message: {
374
+ description: string;
375
+ type: string;
376
+ };
377
+ mutation_code: {
378
+ description: string;
379
+ enum: string[];
380
+ type: string;
381
+ };
382
+ scheduled_at: {
383
+ description: string;
384
+ format: string;
385
+ type: string;
386
+ };
359
387
  from?: never;
360
388
  to?: never;
361
389
  };
@@ -408,6 +436,7 @@ declare const _default: {
408
436
  required: string[];
409
437
  type: string;
410
438
  };
439
+ scheduled_at?: never;
411
440
  };
412
441
  required: string[];
413
442
  type: string;
@@ -458,6 +487,7 @@ declare const _default: {
458
487
  required: string[];
459
488
  type: string;
460
489
  };
490
+ scheduled_at?: never;
461
491
  };
462
492
  required: string[];
463
493
  type: string;
@@ -520,6 +550,7 @@ declare const _default: {
520
550
  required: string[];
521
551
  type: string;
522
552
  };
553
+ scheduled_at?: never;
523
554
  };
524
555
  required: string[];
525
556
  type: string;
@@ -55831,6 +55862,9 @@ declare const _default: {
55831
55862
  RESERVATION_UI_V2: {
55832
55863
  type: string;
55833
55864
  };
55865
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
55866
+ type: string;
55867
+ };
55834
55868
  };
55835
55869
  type: string;
55836
55870
  };
@@ -56327,6 +56361,9 @@ declare const _default: {
56327
56361
  RESERVATION_UI_V2: {
56328
56362
  type: string;
56329
56363
  };
56364
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
56365
+ type: string;
56366
+ };
56330
56367
  };
56331
56368
  type: string;
56332
56369
  };
@@ -1213,6 +1213,37 @@ export default {
1213
1213
  required: ['created_at', 'message', 'mutation_code'],
1214
1214
  type: 'object',
1215
1215
  },
1216
+ {
1217
+ description: "Seam is waiting until closer to the access code's start time before programming it on the device.",
1218
+ properties: {
1219
+ created_at: {
1220
+ description: 'Date and time at which the mutation was created.',
1221
+ format: 'date-time',
1222
+ type: 'string',
1223
+ },
1224
+ message: {
1225
+ description: 'Detailed description of the mutation.',
1226
+ type: 'string',
1227
+ },
1228
+ mutation_code: {
1229
+ description: "Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device.",
1230
+ enum: ['deferring_creation'],
1231
+ type: 'string',
1232
+ },
1233
+ scheduled_at: {
1234
+ description: 'Date and time at which Seam will attempt to program this access code on the device.',
1235
+ format: 'date-time',
1236
+ type: 'string',
1237
+ },
1238
+ },
1239
+ required: [
1240
+ 'created_at',
1241
+ 'message',
1242
+ 'mutation_code',
1243
+ 'scheduled_at',
1244
+ ],
1245
+ type: 'object',
1246
+ },
1216
1247
  {
1217
1248
  description: 'Seam is in the process of removing an access code from the device.',
1218
1249
  properties: {
@@ -61974,6 +62005,9 @@ export default {
61974
62005
  feature_flags: {
61975
62006
  properties: {
61976
62007
  RESERVATION_UI_V2: { type: 'boolean' },
62008
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
62009
+ type: 'boolean',
62010
+ },
61977
62011
  },
61978
62012
  type: 'object',
61979
62013
  },
@@ -62354,6 +62388,9 @@ export default {
62354
62388
  feature_flags: {
62355
62389
  properties: {
62356
62390
  RESERVATION_UI_V2: { type: 'boolean' },
62391
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
62392
+ type: 'boolean',
62393
+ },
62357
62394
  },
62358
62395
  type: 'object',
62359
62396
  },