@seamapi/types 1.753.0 → 1.755.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.
@@ -6322,7 +6322,7 @@ export type Routes = {
6322
6322
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
6323
6323
  status: 'set';
6324
6324
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
6325
- dormakaba_oracode_metadata: {
6325
+ dormakaba_oracode_metadata?: ({
6326
6326
  /** Dormakaba Oracode stay ID associated with this access code. */
6327
6327
  stay_id: number;
6328
6328
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -6339,7 +6339,7 @@ export type Routes = {
6339
6339
  is_early_checkin_able?: boolean | undefined;
6340
6340
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
6341
6341
  is_overridable?: boolean | undefined;
6342
- } | null;
6342
+ } | null) | undefined;
6343
6343
  };
6344
6344
  };
6345
6345
  maxDuration: undefined;
@@ -8133,7 +8133,7 @@ export type Routes = {
8133
8133
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
8134
8134
  status: 'set';
8135
8135
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
8136
- dormakaba_oracode_metadata: {
8136
+ dormakaba_oracode_metadata?: ({
8137
8137
  /** Dormakaba Oracode stay ID associated with this access code. */
8138
8138
  stay_id: number;
8139
8139
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -8150,7 +8150,7 @@ export type Routes = {
8150
8150
  is_early_checkin_able?: boolean | undefined;
8151
8151
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
8152
8152
  is_overridable?: boolean | undefined;
8153
- } | null;
8153
+ } | null) | undefined;
8154
8154
  };
8155
8155
  };
8156
8156
  maxDuration: undefined;
@@ -8639,7 +8639,7 @@ export type Routes = {
8639
8639
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
8640
8640
  status: 'set';
8641
8641
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
8642
- dormakaba_oracode_metadata: {
8642
+ dormakaba_oracode_metadata?: ({
8643
8643
  /** Dormakaba Oracode stay ID associated with this access code. */
8644
8644
  stay_id: number;
8645
8645
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -8656,7 +8656,7 @@ export type Routes = {
8656
8656
  is_early_checkin_able?: boolean | undefined;
8657
8657
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
8658
8658
  is_overridable?: boolean | undefined;
8659
- } | null;
8659
+ } | null) | undefined;
8660
8660
  }[];
8661
8661
  /** Information about the current page of results. */
8662
8662
  pagination: {
@@ -59650,6 +59650,7 @@ export type Routes = {
59650
59650
  card_count_on_reservation_create?: number | undefined;
59651
59651
  code_count_on_reservation_create?: number | undefined;
59652
59652
  instant_key_max_use_count?: number | undefined;
59653
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
59653
59654
  };
59654
59655
  } | undefined;
59655
59656
  reservation_time_updated?: {
@@ -59732,6 +59733,7 @@ export type Routes = {
59732
59733
  card_count_on_reservation_create?: number | undefined;
59733
59734
  code_count_on_reservation_create?: number | undefined;
59734
59735
  instant_key_max_use_count?: number | undefined;
59736
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
59735
59737
  };
59736
59738
  } | undefined;
59737
59739
  reservation_time_updated?: {
@@ -60027,6 +60029,7 @@ export type Routes = {
60027
60029
  card_count_on_reservation_create?: number | undefined;
60028
60030
  code_count_on_reservation_create?: number | undefined;
60029
60031
  instant_key_max_use_count?: number | undefined;
60032
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
60030
60033
  };
60031
60034
  } | undefined;
60032
60035
  reservation_time_updated?: {
@@ -60108,6 +60111,7 @@ export type Routes = {
60108
60111
  card_count_on_reservation_create?: number | undefined;
60109
60112
  code_count_on_reservation_create?: number | undefined;
60110
60113
  instant_key_max_use_count?: number | undefined;
60114
+ prefer_guest_phone_last4_as_code?: boolean | undefined;
60111
60115
  };
60112
60116
  } | undefined;
60113
60117
  reservation_time_updated?: {
@@ -94755,7 +94759,7 @@ export type Routes = {
94755
94759
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
94756
94760
  status: 'set';
94757
94761
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
94758
- dormakaba_oracode_metadata: {
94762
+ dormakaba_oracode_metadata?: ({
94759
94763
  /** Dormakaba Oracode stay ID associated with this access code. */
94760
94764
  stay_id: number;
94761
94765
  /** Dormakaba Oracode user level ID associated with this access code. */
@@ -94772,7 +94776,7 @@ export type Routes = {
94772
94776
  is_early_checkin_able?: boolean | undefined;
94773
94777
  /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
94774
94778
  is_overridable?: boolean | undefined;
94775
- } | null;
94779
+ } | null) | undefined;
94776
94780
  }[] | undefined;
94777
94781
  access_codes?: {
94778
94782
  /** Unique identifier for the Seam workspace associated with the access code. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.753.0",
3
+ "version": "1.755.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -31,6 +31,7 @@ export const unmanaged_access_code = access_code
31
31
  ),
32
32
  dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata
33
33
  .nullable()
34
+ .optional()
34
35
  .describe(
35
36
  'Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices.',
36
37
  ),
@@ -27111,7 +27111,6 @@ export default {
27111
27111
  'warnings',
27112
27112
  'is_managed',
27113
27113
  'status',
27114
- 'dormakaba_oracode_metadata',
27115
27114
  ],
27116
27115
  type: 'object',
27117
27116
  'x-route-path': '/access_codes/unmanaged',
@@ -61404,6 +61403,9 @@ export default {
61404
61403
  ],
61405
61404
  type: 'string',
61406
61405
  },
61406
+ prefer_guest_phone_last4_as_code: {
61407
+ type: 'boolean',
61408
+ },
61407
61409
  },
61408
61410
  required: [
61409
61411
  'access_methods',
@@ -61702,6 +61704,9 @@ export default {
61702
61704
  ],
61703
61705
  type: 'string',
61704
61706
  },
61707
+ prefer_guest_phone_last4_as_code: {
61708
+ type: 'boolean',
61709
+ },
61705
61710
  },
61706
61711
  required: [
61707
61712
  'access_methods',
@@ -61986,6 +61991,9 @@ export default {
61986
61991
  ],
61987
61992
  type: 'string',
61988
61993
  },
61994
+ prefer_guest_phone_last4_as_code: {
61995
+ type: 'boolean',
61996
+ },
61989
61997
  },
61990
61998
  required: [
61991
61999
  'access_methods',
@@ -62271,6 +62279,9 @@ export default {
62271
62279
  ],
62272
62280
  type: 'string',
62273
62281
  },
62282
+ prefer_guest_phone_last4_as_code: {
62283
+ type: 'boolean',
62284
+ },
62274
62285
  },
62275
62286
  required: [
62276
62287
  'access_methods',
@@ -63531,6 +63542,9 @@ export default {
63531
63542
  ],
63532
63543
  type: 'string',
63533
63544
  },
63545
+ prefer_guest_phone_last4_as_code: {
63546
+ type: 'boolean',
63547
+ },
63534
63548
  },
63535
63549
  required: [
63536
63550
  'access_methods',
@@ -63828,6 +63842,9 @@ export default {
63828
63842
  ],
63829
63843
  type: 'string',
63830
63844
  },
63845
+ prefer_guest_phone_last4_as_code: {
63846
+ type: 'boolean',
63847
+ },
63831
63848
  },
63832
63849
  required: [
63833
63850
  'access_methods',
@@ -64125,6 +64142,9 @@ export default {
64125
64142
  ],
64126
64143
  type: 'string',
64127
64144
  },
64145
+ prefer_guest_phone_last4_as_code: {
64146
+ type: 'boolean',
64147
+ },
64128
64148
  },
64129
64149
  required: [
64130
64150
  'access_methods',
@@ -64410,6 +64430,9 @@ export default {
64410
64430
  ],
64411
64431
  type: 'string',
64412
64432
  },
64433
+ prefer_guest_phone_last4_as_code: {
64434
+ type: 'boolean',
64435
+ },
64413
64436
  },
64414
64437
  required: [
64415
64438
  'access_methods',
@@ -7152,24 +7152,26 @@ export type Routes = {
7152
7152
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
7153
7153
  status: 'set'
7154
7154
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
7155
- dormakaba_oracode_metadata: {
7156
- /** Dormakaba Oracode stay ID associated with this access code. */
7157
- stay_id: number
7158
- /** Dormakaba Oracode user level ID associated with this access code. */
7159
- user_level_id?: string | undefined
7160
- /** Dormakaba Oracode user level name associated with this access code. */
7161
- user_level_name: string | null
7162
- /** Dormakaba Oracode site name associated with this access code. */
7163
- site_name?: string | undefined
7164
- /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
7165
- is_cancellable?: boolean | undefined
7166
- /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
7167
- is_extendable?: boolean | undefined
7168
- /** Indicates whether early check-in is available for this stay. */
7169
- is_early_checkin_able?: boolean | undefined
7170
- /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
7171
- is_overridable?: boolean | undefined
7172
- } | null
7155
+ dormakaba_oracode_metadata?:
7156
+ | ({
7157
+ /** Dormakaba Oracode stay ID associated with this access code. */
7158
+ stay_id: number
7159
+ /** Dormakaba Oracode user level ID associated with this access code. */
7160
+ user_level_id?: string | undefined
7161
+ /** Dormakaba Oracode user level name associated with this access code. */
7162
+ user_level_name: string | null
7163
+ /** Dormakaba Oracode site name associated with this access code. */
7164
+ site_name?: string | undefined
7165
+ /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
7166
+ is_cancellable?: boolean | undefined
7167
+ /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
7168
+ is_extendable?: boolean | undefined
7169
+ /** Indicates whether early check-in is available for this stay. */
7170
+ is_early_checkin_able?: boolean | undefined
7171
+ /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
7172
+ is_overridable?: boolean | undefined
7173
+ } | null)
7174
+ | undefined
7173
7175
  }
7174
7176
  }
7175
7177
  maxDuration: undefined
@@ -9219,24 +9221,26 @@ export type Routes = {
9219
9221
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
9220
9222
  status: 'set'
9221
9223
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
9222
- dormakaba_oracode_metadata: {
9223
- /** Dormakaba Oracode stay ID associated with this access code. */
9224
- stay_id: number
9225
- /** Dormakaba Oracode user level ID associated with this access code. */
9226
- user_level_id?: string | undefined
9227
- /** Dormakaba Oracode user level name associated with this access code. */
9228
- user_level_name: string | null
9229
- /** Dormakaba Oracode site name associated with this access code. */
9230
- site_name?: string | undefined
9231
- /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
9232
- is_cancellable?: boolean | undefined
9233
- /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
9234
- is_extendable?: boolean | undefined
9235
- /** Indicates whether early check-in is available for this stay. */
9236
- is_early_checkin_able?: boolean | undefined
9237
- /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
9238
- is_overridable?: boolean | undefined
9239
- } | null
9224
+ dormakaba_oracode_metadata?:
9225
+ | ({
9226
+ /** Dormakaba Oracode stay ID associated with this access code. */
9227
+ stay_id: number
9228
+ /** Dormakaba Oracode user level ID associated with this access code. */
9229
+ user_level_id?: string | undefined
9230
+ /** Dormakaba Oracode user level name associated with this access code. */
9231
+ user_level_name: string | null
9232
+ /** Dormakaba Oracode site name associated with this access code. */
9233
+ site_name?: string | undefined
9234
+ /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
9235
+ is_cancellable?: boolean | undefined
9236
+ /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
9237
+ is_extendable?: boolean | undefined
9238
+ /** Indicates whether early check-in is available for this stay. */
9239
+ is_early_checkin_able?: boolean | undefined
9240
+ /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
9241
+ is_overridable?: boolean | undefined
9242
+ } | null)
9243
+ | undefined
9240
9244
  }
9241
9245
  }
9242
9246
  maxDuration: undefined
@@ -9778,24 +9782,26 @@ export type Routes = {
9778
9782
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
9779
9783
  status: 'set'
9780
9784
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
9781
- dormakaba_oracode_metadata: {
9782
- /** Dormakaba Oracode stay ID associated with this access code. */
9783
- stay_id: number
9784
- /** Dormakaba Oracode user level ID associated with this access code. */
9785
- user_level_id?: string | undefined
9786
- /** Dormakaba Oracode user level name associated with this access code. */
9787
- user_level_name: string | null
9788
- /** Dormakaba Oracode site name associated with this access code. */
9789
- site_name?: string | undefined
9790
- /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
9791
- is_cancellable?: boolean | undefined
9792
- /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
9793
- is_extendable?: boolean | undefined
9794
- /** Indicates whether early check-in is available for this stay. */
9795
- is_early_checkin_able?: boolean | undefined
9796
- /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
9797
- is_overridable?: boolean | undefined
9798
- } | null
9785
+ dormakaba_oracode_metadata?:
9786
+ | ({
9787
+ /** Dormakaba Oracode stay ID associated with this access code. */
9788
+ stay_id: number
9789
+ /** Dormakaba Oracode user level ID associated with this access code. */
9790
+ user_level_id?: string | undefined
9791
+ /** Dormakaba Oracode user level name associated with this access code. */
9792
+ user_level_name: string | null
9793
+ /** Dormakaba Oracode site name associated with this access code. */
9794
+ site_name?: string | undefined
9795
+ /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
9796
+ is_cancellable?: boolean | undefined
9797
+ /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
9798
+ is_extendable?: boolean | undefined
9799
+ /** Indicates whether early check-in is available for this stay. */
9800
+ is_early_checkin_able?: boolean | undefined
9801
+ /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
9802
+ is_overridable?: boolean | undefined
9803
+ } | null)
9804
+ | undefined
9799
9805
  }[]
9800
9806
  /** Information about the current page of results. */
9801
9807
  pagination: {
@@ -70984,6 +70990,7 @@ export type Routes = {
70984
70990
  card_count_on_reservation_create?: number | undefined
70985
70991
  code_count_on_reservation_create?: number | undefined
70986
70992
  instant_key_max_use_count?: number | undefined
70993
+ prefer_guest_phone_last4_as_code?: boolean | undefined
70987
70994
  }
70988
70995
  }
70989
70996
  | undefined
@@ -71095,6 +71102,7 @@ export type Routes = {
71095
71102
  card_count_on_reservation_create?: number | undefined
71096
71103
  code_count_on_reservation_create?: number | undefined
71097
71104
  instant_key_max_use_count?: number | undefined
71105
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71098
71106
  }
71099
71107
  }
71100
71108
  | undefined
@@ -71427,6 +71435,7 @@ export type Routes = {
71427
71435
  card_count_on_reservation_create?: number | undefined
71428
71436
  code_count_on_reservation_create?: number | undefined
71429
71437
  instant_key_max_use_count?: number | undefined
71438
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71430
71439
  }
71431
71440
  }
71432
71441
  | undefined
@@ -71539,6 +71548,7 @@ export type Routes = {
71539
71548
  card_count_on_reservation_create?: number | undefined
71540
71549
  code_count_on_reservation_create?: number | undefined
71541
71550
  instant_key_max_use_count?: number | undefined
71551
+ prefer_guest_phone_last4_as_code?: boolean | undefined
71542
71552
  }
71543
71553
  }
71544
71554
  | undefined
@@ -112559,24 +112569,26 @@ export type Routes = {
112559
112569
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
112560
112570
  status: 'set'
112561
112571
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
112562
- dormakaba_oracode_metadata: {
112563
- /** Dormakaba Oracode stay ID associated with this access code. */
112564
- stay_id: number
112565
- /** Dormakaba Oracode user level ID associated with this access code. */
112566
- user_level_id?: string | undefined
112567
- /** Dormakaba Oracode user level name associated with this access code. */
112568
- user_level_name: string | null
112569
- /** Dormakaba Oracode site name associated with this access code. */
112570
- site_name?: string | undefined
112571
- /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
112572
- is_cancellable?: boolean | undefined
112573
- /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
112574
- is_extendable?: boolean | undefined
112575
- /** Indicates whether early check-in is available for this stay. */
112576
- is_early_checkin_able?: boolean | undefined
112577
- /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
112578
- is_overridable?: boolean | undefined
112579
- } | null
112572
+ dormakaba_oracode_metadata?:
112573
+ | ({
112574
+ /** Dormakaba Oracode stay ID associated with this access code. */
112575
+ stay_id: number
112576
+ /** Dormakaba Oracode user level ID associated with this access code. */
112577
+ user_level_id?: string | undefined
112578
+ /** Dormakaba Oracode user level name associated with this access code. */
112579
+ user_level_name: string | null
112580
+ /** Dormakaba Oracode site name associated with this access code. */
112581
+ site_name?: string | undefined
112582
+ /** Indicates whether the stay can be cancelled via the Dormakaba Oracode API. */
112583
+ is_cancellable?: boolean | undefined
112584
+ /** Indicates whether the stay can be extended via the Dormakaba Oracode API. */
112585
+ is_extendable?: boolean | undefined
112586
+ /** Indicates whether early check-in is available for this stay. */
112587
+ is_early_checkin_able?: boolean | undefined
112588
+ /** Indicates whether the access code can be overridden. When false, the maximum number of overrides has been reached. */
112589
+ is_overridable?: boolean | undefined
112590
+ } | null)
112591
+ | undefined
112580
112592
  }[]
112581
112593
  | undefined
112582
112594
  access_codes?: