@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.
@@ -1897,6 +1897,15 @@ export type Routes = {
1897
1897
  message: string;
1898
1898
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
1899
1899
  mutation_code: 'creating';
1900
+ } | {
1901
+ /** Date and time at which the mutation was created. */
1902
+ created_at: string;
1903
+ /** Detailed description of the mutation. */
1904
+ message: string;
1905
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
1906
+ mutation_code: 'deferring_creation';
1907
+ /** Date and time at which Seam will attempt to program this access code on the device. */
1908
+ scheduled_at: string;
1900
1909
  } | {
1901
1910
  /** Date and time at which the mutation was created. */
1902
1911
  created_at: string;
@@ -2516,6 +2525,15 @@ export type Routes = {
2516
2525
  message: string;
2517
2526
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
2518
2527
  mutation_code: 'creating';
2528
+ } | {
2529
+ /** Date and time at which the mutation was created. */
2530
+ created_at: string;
2531
+ /** Detailed description of the mutation. */
2532
+ message: string;
2533
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
2534
+ mutation_code: 'deferring_creation';
2535
+ /** Date and time at which Seam will attempt to program this access code on the device. */
2536
+ scheduled_at: string;
2519
2537
  } | {
2520
2538
  /** Date and time at which the mutation was created. */
2521
2539
  created_at: string;
@@ -4483,6 +4501,15 @@ export type Routes = {
4483
4501
  message: string;
4484
4502
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
4485
4503
  mutation_code: 'creating';
4504
+ } | {
4505
+ /** Date and time at which the mutation was created. */
4506
+ created_at: string;
4507
+ /** Detailed description of the mutation. */
4508
+ message: string;
4509
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
4510
+ mutation_code: 'deferring_creation';
4511
+ /** Date and time at which Seam will attempt to program this access code on the device. */
4512
+ scheduled_at: string;
4486
4513
  } | {
4487
4514
  /** Date and time at which the mutation was created. */
4488
4515
  created_at: string;
@@ -5150,6 +5177,15 @@ export type Routes = {
5150
5177
  message: string;
5151
5178
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
5152
5179
  mutation_code: 'creating';
5180
+ } | {
5181
+ /** Date and time at which the mutation was created. */
5182
+ created_at: string;
5183
+ /** Detailed description of the mutation. */
5184
+ message: string;
5185
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
5186
+ mutation_code: 'deferring_creation';
5187
+ /** Date and time at which Seam will attempt to program this access code on the device. */
5188
+ scheduled_at: string;
5153
5189
  } | {
5154
5190
  /** Date and time at which the mutation was created. */
5155
5191
  created_at: string;
@@ -5760,6 +5796,15 @@ export type Routes = {
5760
5796
  message: string;
5761
5797
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
5762
5798
  mutation_code: 'creating';
5799
+ } | {
5800
+ /** Date and time at which the mutation was created. */
5801
+ created_at: string;
5802
+ /** Detailed description of the mutation. */
5803
+ message: string;
5804
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
5805
+ mutation_code: 'deferring_creation';
5806
+ /** Date and time at which Seam will attempt to program this access code on the device. */
5807
+ scheduled_at: string;
5763
5808
  } | {
5764
5809
  /** Date and time at which the mutation was created. */
5765
5810
  created_at: string;
@@ -6347,6 +6392,15 @@ export type Routes = {
6347
6392
  message: string;
6348
6393
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
6349
6394
  mutation_code: 'creating';
6395
+ } | {
6396
+ /** Date and time at which the mutation was created. */
6397
+ created_at: string;
6398
+ /** Detailed description of the mutation. */
6399
+ message: string;
6400
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
6401
+ mutation_code: 'deferring_creation';
6402
+ /** Date and time at which Seam will attempt to program this access code on the device. */
6403
+ scheduled_at: string;
6350
6404
  } | {
6351
6405
  /** Date and time at which the mutation was created. */
6352
6406
  created_at: string;
@@ -66689,6 +66743,7 @@ export type Routes = {
66689
66743
  business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
66690
66744
  feature_flags?: {
66691
66745
  RESERVATION_UI_V2?: boolean | undefined;
66746
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined;
66692
66747
  } | undefined;
66693
66748
  };
66694
66749
  };
@@ -100096,6 +100151,15 @@ export type Routes = {
100096
100151
  message: string;
100097
100152
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
100098
100153
  mutation_code: 'creating';
100154
+ } | {
100155
+ /** Date and time at which the mutation was created. */
100156
+ created_at: string;
100157
+ /** Detailed description of the mutation. */
100158
+ message: string;
100159
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
100160
+ mutation_code: 'deferring_creation';
100161
+ /** Date and time at which Seam will attempt to program this access code on the device. */
100162
+ scheduled_at: string;
100099
100163
  } | {
100100
100164
  /** Date and time at which the mutation was created. */
100101
100165
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.795.0",
3
+ "version": "1.797.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -18,6 +18,24 @@ const creating = common_pending_mutation
18
18
  })
19
19
  .describe('Seam is in the process of setting an access code on the device.')
20
20
 
21
+ const deferring_creation = common_pending_mutation
22
+ .extend({
23
+ mutation_code: z
24
+ .literal('deferring_creation')
25
+ .describe(
26
+ "Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device.",
27
+ ),
28
+ scheduled_at: z
29
+ .string()
30
+ .datetime()
31
+ .describe(
32
+ 'Date and time at which Seam will attempt to program this access code on the device.',
33
+ ),
34
+ })
35
+ .describe(
36
+ "Seam is waiting until closer to the access code's start time before programming it on the device.",
37
+ )
38
+
21
39
  const deleting = common_pending_mutation
22
40
  .extend({
23
41
  mutation_code: z
@@ -116,7 +134,14 @@ const updating_time_frame = common_pending_mutation
116
134
 
117
135
  export const access_code_pending_mutations = z.discriminatedUnion(
118
136
  'mutation_code',
119
- [creating, deleting, updating_code, updating_name, updating_time_frame],
137
+ [
138
+ creating,
139
+ deferring_creation,
140
+ deleting,
141
+ updating_code,
142
+ updating_name,
143
+ updating_time_frame,
144
+ ],
120
145
  )
121
146
 
122
147
  export type AccessCodePendingMutation = z.infer<
@@ -134,6 +159,7 @@ const internal_recreate_fields = z.object({
134
159
 
135
160
  const _access_code_pending_mutations_map = z.object({
136
161
  creating: creating.optional().nullable(),
162
+ deferring_creation: deferring_creation.optional().nullable(),
137
163
  deleting: deleting.optional().nullable(),
138
164
  updating_code: updating_code
139
165
  .merge(internal_recreate_fields)
@@ -1406,6 +1406,41 @@ export default {
1406
1406
  required: ['created_at', 'message', 'mutation_code'],
1407
1407
  type: 'object',
1408
1408
  },
1409
+ {
1410
+ description:
1411
+ "Seam is waiting until closer to the access code's start time before programming it on the device.",
1412
+ properties: {
1413
+ created_at: {
1414
+ description:
1415
+ 'Date and time at which the mutation was created.',
1416
+ format: 'date-time',
1417
+ type: 'string',
1418
+ },
1419
+ message: {
1420
+ description: 'Detailed description of the mutation.',
1421
+ type: 'string',
1422
+ },
1423
+ mutation_code: {
1424
+ description:
1425
+ "Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device.",
1426
+ enum: ['deferring_creation'],
1427
+ type: 'string',
1428
+ },
1429
+ scheduled_at: {
1430
+ description:
1431
+ 'Date and time at which Seam will attempt to program this access code on the device.',
1432
+ format: 'date-time',
1433
+ type: 'string',
1434
+ },
1435
+ },
1436
+ required: [
1437
+ 'created_at',
1438
+ 'message',
1439
+ 'mutation_code',
1440
+ 'scheduled_at',
1441
+ ],
1442
+ type: 'object',
1443
+ },
1409
1444
  {
1410
1445
  description:
1411
1446
  'Seam is in the process of removing an access code from the device.',
@@ -67329,6 +67364,9 @@ export default {
67329
67364
  feature_flags: {
67330
67365
  properties: {
67331
67366
  RESERVATION_UI_V2: { type: 'boolean' },
67367
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
67368
+ type: 'boolean',
67369
+ },
67332
67370
  },
67333
67371
  type: 'object',
67334
67372
  },
@@ -67742,6 +67780,9 @@ export default {
67742
67780
  feature_flags: {
67743
67781
  properties: {
67744
67782
  RESERVATION_UI_V2: { type: 'boolean' },
67783
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
67784
+ type: 'boolean',
67785
+ },
67745
67786
  },
67746
67787
  type: 'object',
67747
67788
  },
@@ -2167,6 +2167,16 @@ export type Routes = {
2167
2167
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
2168
2168
  mutation_code: 'creating'
2169
2169
  }
2170
+ | {
2171
+ /** Date and time at which the mutation was created. */
2172
+ created_at: string
2173
+ /** Detailed description of the mutation. */
2174
+ message: string
2175
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
2176
+ mutation_code: 'deferring_creation'
2177
+ /** Date and time at which Seam will attempt to program this access code on the device. */
2178
+ scheduled_at: string
2179
+ }
2170
2180
  | {
2171
2181
  /** Date and time at which the mutation was created. */
2172
2182
  created_at: string
@@ -2848,6 +2858,16 @@ export type Routes = {
2848
2858
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
2849
2859
  mutation_code: 'creating'
2850
2860
  }
2861
+ | {
2862
+ /** Date and time at which the mutation was created. */
2863
+ created_at: string
2864
+ /** Detailed description of the mutation. */
2865
+ message: string
2866
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
2867
+ mutation_code: 'deferring_creation'
2868
+ /** Date and time at which Seam will attempt to program this access code on the device. */
2869
+ scheduled_at: string
2870
+ }
2851
2871
  | {
2852
2872
  /** Date and time at which the mutation was created. */
2853
2873
  created_at: string
@@ -5089,6 +5109,16 @@ export type Routes = {
5089
5109
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
5090
5110
  mutation_code: 'creating'
5091
5111
  }
5112
+ | {
5113
+ /** Date and time at which the mutation was created. */
5114
+ created_at: string
5115
+ /** Detailed description of the mutation. */
5116
+ message: string
5117
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
5118
+ mutation_code: 'deferring_creation'
5119
+ /** Date and time at which Seam will attempt to program this access code on the device. */
5120
+ scheduled_at: string
5121
+ }
5092
5122
  | {
5093
5123
  /** Date and time at which the mutation was created. */
5094
5124
  created_at: string
@@ -5859,6 +5889,16 @@ export type Routes = {
5859
5889
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
5860
5890
  mutation_code: 'creating'
5861
5891
  }
5892
+ | {
5893
+ /** Date and time at which the mutation was created. */
5894
+ created_at: string
5895
+ /** Detailed description of the mutation. */
5896
+ message: string
5897
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
5898
+ mutation_code: 'deferring_creation'
5899
+ /** Date and time at which Seam will attempt to program this access code on the device. */
5900
+ scheduled_at: string
5901
+ }
5862
5902
  | {
5863
5903
  /** Date and time at which the mutation was created. */
5864
5904
  created_at: string
@@ -6531,6 +6571,16 @@ export type Routes = {
6531
6571
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
6532
6572
  mutation_code: 'creating'
6533
6573
  }
6574
+ | {
6575
+ /** Date and time at which the mutation was created. */
6576
+ created_at: string
6577
+ /** Detailed description of the mutation. */
6578
+ message: string
6579
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
6580
+ mutation_code: 'deferring_creation'
6581
+ /** Date and time at which Seam will attempt to program this access code on the device. */
6582
+ scheduled_at: string
6583
+ }
6534
6584
  | {
6535
6585
  /** Date and time at which the mutation was created. */
6536
6586
  created_at: string
@@ -7180,6 +7230,16 @@ export type Routes = {
7180
7230
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
7181
7231
  mutation_code: 'creating'
7182
7232
  }
7233
+ | {
7234
+ /** Date and time at which the mutation was created. */
7235
+ created_at: string
7236
+ /** Detailed description of the mutation. */
7237
+ message: string
7238
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
7239
+ mutation_code: 'deferring_creation'
7240
+ /** Date and time at which Seam will attempt to program this access code on the device. */
7241
+ scheduled_at: string
7242
+ }
7183
7243
  | {
7184
7244
  /** Date and time at which the mutation was created. */
7185
7245
  created_at: string
@@ -79258,6 +79318,7 @@ export type Routes = {
79258
79318
  feature_flags?:
79259
79319
  | {
79260
79320
  RESERVATION_UI_V2?: boolean | undefined
79321
+ SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined
79261
79322
  }
79262
79323
  | undefined
79263
79324
  }
@@ -118675,6 +118736,16 @@ export type Routes = {
118675
118736
  /** Mutation code to indicate that Seam is in the process of setting an access code on the device. */
118676
118737
  mutation_code: 'creating'
118677
118738
  }
118739
+ | {
118740
+ /** Date and time at which the mutation was created. */
118741
+ created_at: string
118742
+ /** Detailed description of the mutation. */
118743
+ message: string
118744
+ /** Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device. */
118745
+ mutation_code: 'deferring_creation'
118746
+ /** Date and time at which Seam will attempt to program this access code on the device. */
118747
+ scheduled_at: string
118748
+ }
118678
118749
  | {
118679
118750
  /** Date and time at which the mutation was created. */
118680
118751
  created_at: string