@seamapi/types 1.1117.0 → 1.1119.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.
@@ -91309,7 +91309,11 @@ export type Routes = {
91309
91309
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91310
91310
  card_count_on_reservation_create?: number | undefined;
91311
91311
  instant_key_max_use_count?: number | undefined;
91312
+ /**
91313
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91312
91314
  prefer_guest_phone_last4_as_code?: boolean | undefined;
91315
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
91316
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91313
91317
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91314
91318
  access_starts_minutes_before_reservation?: number | undefined;
91315
91319
  access_ends_minutes_after_reservation?: number | undefined;
@@ -91435,7 +91439,11 @@ export type Routes = {
91435
91439
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91436
91440
  card_count_on_reservation_create?: number | undefined;
91437
91441
  instant_key_max_use_count?: number | undefined;
91442
+ /**
91443
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91438
91444
  prefer_guest_phone_last4_as_code?: boolean | undefined;
91445
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
91446
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91439
91447
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91440
91448
  access_starts_minutes_before_reservation?: number | undefined;
91441
91449
  access_ends_minutes_after_reservation?: number | undefined;
@@ -91889,7 +91897,11 @@ export type Routes = {
91889
91897
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91890
91898
  card_count_on_reservation_create?: number | undefined;
91891
91899
  instant_key_max_use_count?: number | undefined;
91900
+ /**
91901
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91892
91902
  prefer_guest_phone_last4_as_code?: boolean | undefined;
91903
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
91904
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91893
91905
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91894
91906
  access_starts_minutes_before_reservation?: number | undefined;
91895
91907
  access_ends_minutes_after_reservation?: number | undefined;
@@ -92014,7 +92026,11 @@ export type Routes = {
92014
92026
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
92015
92027
  card_count_on_reservation_create?: number | undefined;
92016
92028
  instant_key_max_use_count?: number | undefined;
92029
+ /**
92030
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
92017
92031
  prefer_guest_phone_last4_as_code?: boolean | undefined;
92032
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
92033
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
92018
92034
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
92019
92035
  access_starts_minutes_before_reservation?: number | undefined;
92020
92036
  access_ends_minutes_after_reservation?: number | undefined;
@@ -97286,25 +97302,6 @@ export type Routes = {
97286
97302
  };
97287
97303
  maxDuration: undefined;
97288
97304
  };
97289
- '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result': {
97290
- route: '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result';
97291
- method: 'POST';
97292
- queryParams: {};
97293
- jsonBody: {
97294
- acs_credential_id: string;
97295
- unlock_attempted_at: string;
97296
- };
97297
- commonParams: {};
97298
- formData: {};
97299
- jsonResponse: {
97300
- unlock_result: {
97301
- status: 'granted' | 'denied' | 'pending' | 'failed';
97302
- acs_entrance_id?: string | undefined;
97303
- occurred_at?: string | undefined;
97304
- };
97305
- };
97306
- maxDuration: undefined;
97307
- };
97308
97305
  '/seam/mobile_sdk/v1/acs/credentials/list': {
97309
97306
  route: '/seam/mobile_sdk/v1/acs/credentials/list';
97310
97307
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1117.0",
3
+ "version": "1.1119.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -63095,6 +63095,14 @@ const openapi: OpenAPISpec = {
63095
63095
  type: 'string',
63096
63096
  },
63097
63097
  prefer_guest_phone_last4_as_code: {
63098
+ deprecated: true,
63099
+ type: 'boolean',
63100
+ 'x-deprecated':
63101
+ 'Use `prefer_guest_phone_last_digits_as_code`.',
63102
+ },
63103
+ prefer_guest_phone_last_digits_as_code: {
63104
+ description:
63105
+ "Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code.",
63098
63106
  type: 'boolean',
63099
63107
  },
63100
63108
  },
@@ -63486,6 +63494,14 @@ const openapi: OpenAPISpec = {
63486
63494
  type: 'string',
63487
63495
  },
63488
63496
  prefer_guest_phone_last4_as_code: {
63497
+ deprecated: true,
63498
+ type: 'boolean',
63499
+ 'x-deprecated':
63500
+ 'Use `prefer_guest_phone_last_digits_as_code`.',
63501
+ },
63502
+ prefer_guest_phone_last_digits_as_code: {
63503
+ description:
63504
+ "Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code.",
63489
63505
  type: 'boolean',
63490
63506
  },
63491
63507
  },
@@ -64933,6 +64949,14 @@ const openapi: OpenAPISpec = {
64933
64949
  type: 'string',
64934
64950
  },
64935
64951
  prefer_guest_phone_last4_as_code: {
64952
+ deprecated: true,
64953
+ type: 'boolean',
64954
+ 'x-deprecated':
64955
+ 'Use `prefer_guest_phone_last_digits_as_code`.',
64956
+ },
64957
+ prefer_guest_phone_last_digits_as_code: {
64958
+ description:
64959
+ "Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code.",
64936
64960
  type: 'boolean',
64937
64961
  },
64938
64962
  },
@@ -65341,6 +65365,14 @@ const openapi: OpenAPISpec = {
65341
65365
  type: 'string',
65342
65366
  },
65343
65367
  prefer_guest_phone_last4_as_code: {
65368
+ deprecated: true,
65369
+ type: 'boolean',
65370
+ 'x-deprecated':
65371
+ 'Use `prefer_guest_phone_last_digits_as_code`.',
65372
+ },
65373
+ prefer_guest_phone_last_digits_as_code: {
65374
+ description:
65375
+ "Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code.",
65344
65376
  type: 'boolean',
65345
65377
  },
65346
65378
  },
@@ -69400,72 +69432,6 @@ const openapi: OpenAPISpec = {
69400
69432
  'x-undocumented': 'Seam support agent only.',
69401
69433
  },
69402
69434
  },
69403
- '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result': {
69404
- post: {
69405
- description:
69406
- "Returns the lock's decision for a mobile key unlock attempt, read from the access system's event feed. Returns `pending` until the access system reports the attempt, and `failed` if it hasn't within 30 seconds of the attempt.",
69407
- operationId: 'seamMobileSdkV1AcsCredentialsGetUnlockResultPost',
69408
- requestBody: {
69409
- content: {
69410
- 'application/json': {
69411
- schema: {
69412
- properties: {
69413
- acs_credential_id: { format: 'uuid', type: 'string' },
69414
- unlock_attempted_at: { format: 'date-time', type: 'string' },
69415
- },
69416
- required: ['acs_credential_id', 'unlock_attempted_at'],
69417
- type: 'object',
69418
- },
69419
- },
69420
- },
69421
- },
69422
- responses: {
69423
- '200': {
69424
- content: {
69425
- 'application/json': {
69426
- schema: {
69427
- properties: {
69428
- ok: { type: 'boolean' },
69429
- unlock_result: {
69430
- properties: {
69431
- acs_entrance_id: { format: 'uuid', type: 'string' },
69432
- occurred_at: { format: 'date-time', type: 'string' },
69433
- status: {
69434
- enum: ['granted', 'denied', 'pending', 'failed'],
69435
- type: 'string',
69436
- },
69437
- },
69438
- required: ['status'],
69439
- type: 'object',
69440
- },
69441
- },
69442
- required: ['unlock_result', 'ok'],
69443
- type: 'object',
69444
- },
69445
- },
69446
- },
69447
- description: 'OK',
69448
- },
69449
- '400': { description: 'Bad Request' },
69450
- '401': { description: 'Unauthorized' },
69451
- },
69452
- security: [{ client_session: [] }],
69453
- summary: '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result',
69454
- tags: ['/acs'],
69455
- 'x-fern-sdk-group-name': [
69456
- 'seam',
69457
- 'mobile_sdk',
69458
- 'v1',
69459
- 'acs',
69460
- 'credentials',
69461
- ],
69462
- 'x-fern-sdk-method-name': 'get_unlock_result',
69463
- 'x-fern-sdk-return-value': 'unlock_result',
69464
- 'x-response-key': 'unlock_result',
69465
- 'x-title': 'Get Unlock Result',
69466
- 'x-undocumented': 'Mobile SDK only.',
69467
- },
69468
- },
69469
69435
  '/seam/mobile_sdk/v1/acs/credentials/list': {
69470
69436
  get: {
69471
69437
  description:
@@ -109032,7 +109032,11 @@ export type Routes = {
109032
109032
  | 'all_available'
109033
109033
  card_count_on_reservation_create?: number | undefined
109034
109034
  instant_key_max_use_count?: number | undefined
109035
+ /**
109036
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
109035
109037
  prefer_guest_phone_last4_as_code?: boolean | undefined
109038
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
109039
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined
109036
109040
  allow_shared_email_and_phone_across_user_identities?:
109037
109041
  boolean | undefined
109038
109042
  access_starts_minutes_before_reservation?:
@@ -109205,7 +109209,11 @@ export type Routes = {
109205
109209
  | 'all_available'
109206
109210
  card_count_on_reservation_create?: number | undefined
109207
109211
  instant_key_max_use_count?: number | undefined
109212
+ /**
109213
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
109208
109214
  prefer_guest_phone_last4_as_code?: boolean | undefined
109215
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
109216
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined
109209
109217
  allow_shared_email_and_phone_across_user_identities?:
109210
109218
  boolean | undefined
109211
109219
  access_starts_minutes_before_reservation?:
@@ -109736,7 +109744,12 @@ export type Routes = {
109736
109744
  | 'all_available'
109737
109745
  card_count_on_reservation_create?: number | undefined
109738
109746
  instant_key_max_use_count?: number | undefined
109747
+ /**
109748
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
109739
109749
  prefer_guest_phone_last4_as_code?: boolean | undefined
109750
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
109751
+ prefer_guest_phone_last_digits_as_code?:
109752
+ boolean | undefined
109740
109753
  allow_shared_email_and_phone_across_user_identities?:
109741
109754
  boolean | undefined
109742
109755
  access_starts_minutes_before_reservation?:
@@ -109909,7 +109922,11 @@ export type Routes = {
109909
109922
  | 'all_available'
109910
109923
  card_count_on_reservation_create?: number | undefined
109911
109924
  instant_key_max_use_count?: number | undefined
109925
+ /**
109926
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
109912
109927
  prefer_guest_phone_last4_as_code?: boolean | undefined
109928
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
109929
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined
109913
109930
  allow_shared_email_and_phone_across_user_identities?:
109914
109931
  boolean | undefined
109915
109932
  access_starts_minutes_before_reservation?:
@@ -116096,25 +116113,6 @@ export type Routes = {
116096
116113
  }
116097
116114
  maxDuration: undefined
116098
116115
  }
116099
- '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result': {
116100
- route: '/seam/mobile_sdk/v1/acs/credentials/get_unlock_result'
116101
- method: 'POST'
116102
- queryParams: {}
116103
- jsonBody: {
116104
- acs_credential_id: string
116105
- unlock_attempted_at: string
116106
- }
116107
- commonParams: {}
116108
- formData: {}
116109
- jsonResponse: {
116110
- unlock_result: {
116111
- status: 'granted' | 'denied' | 'pending' | 'failed'
116112
- acs_entrance_id?: string | undefined
116113
- occurred_at?: string | undefined
116114
- }
116115
- }
116116
- maxDuration: undefined
116117
- }
116118
116116
  '/seam/mobile_sdk/v1/acs/credentials/list': {
116119
116117
  route: '/seam/mobile_sdk/v1/acs/credentials/list'
116120
116118
  method: 'GET' | 'POST'