@seamapi/types 1.518.0 → 1.520.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.
@@ -31115,6 +31115,8 @@ export type Routes = {
31115
31115
  starts_at?: string | undefined;
31116
31116
  /** Ending date and time for the access grant. */
31117
31117
  ends_at?: string | undefined;
31118
+ /** Preferred PIN code to use when creating access for this reservation. */
31119
+ preferred_code?: string | undefined;
31118
31120
  /** Your unique identifier for the reservation. */
31119
31121
  reservation_key: string;
31120
31122
  /** Guest key associated with the access grant. */
@@ -31152,6 +31154,8 @@ export type Routes = {
31152
31154
  starts_at?: string | undefined;
31153
31155
  /** Ending date and time for the access grant. */
31154
31156
  ends_at?: string | undefined;
31157
+ /** Preferred PIN code to use when creating access for this reservation. */
31158
+ preferred_code?: string | undefined;
31155
31159
  /** Your unique identifier for the booking. */
31156
31160
  booking_key: string;
31157
31161
  /** Guest key associated with the access grant. */
@@ -31189,6 +31193,8 @@ export type Routes = {
31189
31193
  starts_at?: string | undefined;
31190
31194
  /** Ending date and time for the access grant. */
31191
31195
  ends_at?: string | undefined;
31196
+ /** Preferred PIN code to use when creating access for this reservation. */
31197
+ preferred_code?: string | undefined;
31192
31198
  /** Your unique identifier for the access grant. */
31193
31199
  access_grant_key: string;
31194
31200
  /** Guest key associated with the access grant. */
@@ -31419,6 +31425,8 @@ export type Routes = {
31419
31425
  starts_at?: string | undefined;
31420
31426
  /** Ending date and time for the access grant. */
31421
31427
  ends_at?: string | undefined;
31428
+ /** Preferred PIN code to use when creating access for this reservation. */
31429
+ preferred_code?: string | undefined;
31422
31430
  /** Your unique identifier for the reservation. */
31423
31431
  reservation_key: string;
31424
31432
  /** Guest key associated with the access grant. */
@@ -31456,6 +31464,8 @@ export type Routes = {
31456
31464
  starts_at?: string | undefined;
31457
31465
  /** Ending date and time for the access grant. */
31458
31466
  ends_at?: string | undefined;
31467
+ /** Preferred PIN code to use when creating access for this reservation. */
31468
+ preferred_code?: string | undefined;
31459
31469
  /** Your unique identifier for the booking. */
31460
31470
  booking_key: string;
31461
31471
  /** Guest key associated with the access grant. */
@@ -31493,6 +31503,8 @@ export type Routes = {
31493
31503
  starts_at?: string | undefined;
31494
31504
  /** Ending date and time for the access grant. */
31495
31505
  ends_at?: string | undefined;
31506
+ /** Preferred PIN code to use when creating access for this reservation. */
31507
+ preferred_code?: string | undefined;
31496
31508
  /** Your unique identifier for the access grant. */
31497
31509
  access_grant_key: string;
31498
31510
  /** Guest key associated with the access grant. */
@@ -55496,7 +55508,7 @@ export type Routes = {
55496
55508
  automation_run_id: string;
55497
55509
  workspace_id: string;
55498
55510
  automation_id: string;
55499
- partner_resource_id: string;
55511
+ partner_resource_id: string | null;
55500
55512
  automation_result?: {
55501
55513
  success: boolean;
55502
55514
  rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.518.0",
3
+ "version": "1.520.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -14,6 +14,12 @@ const base_access_grant_resource = z.object({
14
14
  .string()
15
15
  .optional()
16
16
  .describe('Ending date and time for the access grant.'),
17
+ preferred_code: z
18
+ .string()
19
+ .optional()
20
+ .describe(
21
+ 'Preferred PIN code to use when creating access for this reservation.',
22
+ ),
17
23
  })
18
24
 
19
25
  // User identity key reference - allows any user identity key alias
@@ -38408,6 +38408,11 @@ export default {
38408
38408
  'Your name for this access grant resource.',
38409
38409
  type: 'string',
38410
38410
  },
38411
+ preferred_code: {
38412
+ description:
38413
+ 'Preferred PIN code to use when creating access for this reservation.',
38414
+ type: 'string',
38415
+ },
38411
38416
  property_keys: {
38412
38417
  description:
38413
38418
  'Property keys associated with the access grant.',
@@ -38511,6 +38516,11 @@ export default {
38511
38516
  'Your name for this access grant resource.',
38512
38517
  type: 'string',
38513
38518
  },
38519
+ preferred_code: {
38520
+ description:
38521
+ 'Preferred PIN code to use when creating access for this reservation.',
38522
+ type: 'string',
38523
+ },
38514
38524
  property_keys: {
38515
38525
  description:
38516
38526
  'Property keys associated with the access grant.',
@@ -38765,6 +38775,11 @@ export default {
38765
38775
  'Your name for this access grant resource.',
38766
38776
  type: 'string',
38767
38777
  },
38778
+ preferred_code: {
38779
+ description:
38780
+ 'Preferred PIN code to use when creating access for this reservation.',
38781
+ type: 'string',
38782
+ },
38768
38783
  property_keys: {
38769
38784
  description:
38770
38785
  'Property keys associated with the access grant.',
@@ -39426,6 +39441,11 @@ export default {
39426
39441
  'Your name for this access grant resource.',
39427
39442
  type: 'string',
39428
39443
  },
39444
+ preferred_code: {
39445
+ description:
39446
+ 'Preferred PIN code to use when creating access for this reservation.',
39447
+ type: 'string',
39448
+ },
39429
39449
  property_keys: {
39430
39450
  description:
39431
39451
  'Property keys associated with the access grant.',
@@ -39529,6 +39549,11 @@ export default {
39529
39549
  'Your name for this access grant resource.',
39530
39550
  type: 'string',
39531
39551
  },
39552
+ preferred_code: {
39553
+ description:
39554
+ 'Preferred PIN code to use when creating access for this reservation.',
39555
+ type: 'string',
39556
+ },
39532
39557
  property_keys: {
39533
39558
  description:
39534
39559
  'Property keys associated with the access grant.',
@@ -39780,6 +39805,11 @@ export default {
39780
39805
  'Your name for this access grant resource.',
39781
39806
  type: 'string',
39782
39807
  },
39808
+ preferred_code: {
39809
+ description:
39810
+ 'Preferred PIN code to use when creating access for this reservation.',
39811
+ type: 'string',
39812
+ },
39783
39813
  property_keys: {
39784
39814
  description:
39785
39815
  'Property keys associated with the access grant.',
@@ -47724,6 +47754,7 @@ export default {
47724
47754
  created_at: { type: 'string' },
47725
47755
  partner_resource_id: {
47726
47756
  format: 'uuid',
47757
+ nullable: true,
47727
47758
  type: 'string',
47728
47759
  },
47729
47760
  workspace_id: { format: 'uuid', type: 'string' },
@@ -47879,6 +47910,7 @@ export default {
47879
47910
  created_at: { type: 'string' },
47880
47911
  partner_resource_id: {
47881
47912
  format: 'uuid',
47913
+ nullable: true,
47882
47914
  type: 'string',
47883
47915
  },
47884
47916
  workspace_id: { format: 'uuid', type: 'string' },
@@ -36099,6 +36099,8 @@ export type Routes = {
36099
36099
  starts_at?: string | undefined
36100
36100
  /** Ending date and time for the access grant. */
36101
36101
  ends_at?: string | undefined
36102
+ /** Preferred PIN code to use when creating access for this reservation. */
36103
+ preferred_code?: string | undefined
36102
36104
  /** Your unique identifier for the reservation. */
36103
36105
  reservation_key: string
36104
36106
  /** Guest key associated with the access grant. */
@@ -36138,6 +36140,8 @@ export type Routes = {
36138
36140
  starts_at?: string | undefined
36139
36141
  /** Ending date and time for the access grant. */
36140
36142
  ends_at?: string | undefined
36143
+ /** Preferred PIN code to use when creating access for this reservation. */
36144
+ preferred_code?: string | undefined
36141
36145
  /** Your unique identifier for the booking. */
36142
36146
  booking_key: string
36143
36147
  /** Guest key associated with the access grant. */
@@ -36177,6 +36181,8 @@ export type Routes = {
36177
36181
  starts_at?: string | undefined
36178
36182
  /** Ending date and time for the access grant. */
36179
36183
  ends_at?: string | undefined
36184
+ /** Preferred PIN code to use when creating access for this reservation. */
36185
+ preferred_code?: string | undefined
36180
36186
  /** Your unique identifier for the access grant. */
36181
36187
  access_grant_key: string
36182
36188
  /** Guest key associated with the access grant. */
@@ -36438,6 +36444,8 @@ export type Routes = {
36438
36444
  starts_at?: string | undefined
36439
36445
  /** Ending date and time for the access grant. */
36440
36446
  ends_at?: string | undefined
36447
+ /** Preferred PIN code to use when creating access for this reservation. */
36448
+ preferred_code?: string | undefined
36441
36449
  /** Your unique identifier for the reservation. */
36442
36450
  reservation_key: string
36443
36451
  /** Guest key associated with the access grant. */
@@ -36477,6 +36485,8 @@ export type Routes = {
36477
36485
  starts_at?: string | undefined
36478
36486
  /** Ending date and time for the access grant. */
36479
36487
  ends_at?: string | undefined
36488
+ /** Preferred PIN code to use when creating access for this reservation. */
36489
+ preferred_code?: string | undefined
36480
36490
  /** Your unique identifier for the booking. */
36481
36491
  booking_key: string
36482
36492
  /** Guest key associated with the access grant. */
@@ -36516,6 +36526,8 @@ export type Routes = {
36516
36526
  starts_at?: string | undefined
36517
36527
  /** Ending date and time for the access grant. */
36518
36528
  ends_at?: string | undefined
36529
+ /** Preferred PIN code to use when creating access for this reservation. */
36530
+ preferred_code?: string | undefined
36519
36531
  /** Your unique identifier for the access grant. */
36520
36532
  access_grant_key: string
36521
36533
  /** Guest key associated with the access grant. */
@@ -65868,7 +65880,7 @@ export type Routes = {
65868
65880
  automation_run_id: string
65869
65881
  workspace_id: string
65870
65882
  automation_id: string
65871
- partner_resource_id: string
65883
+ partner_resource_id: string | null
65872
65884
  automation_result?:
65873
65885
  | {
65874
65886
  success: boolean