@seamapi/types 1.1115.0 → 1.1117.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.
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +1 -1
- package/lib/seam/connect/models/events/common.js +1 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +10 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +5 -5
- package/lib/seam/connect/openapi.js +83 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/models/events/common.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +87 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
|
@@ -46673,6 +46673,8 @@ export type Routes = {
|
|
|
46673
46673
|
exclude_reservation_technical_details?: boolean;
|
|
46674
46674
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
46675
46675
|
exclude_staff_management?: boolean;
|
|
46676
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
46677
|
+
exclude_device_management?: boolean;
|
|
46676
46678
|
/** Configuration for event type filtering in the manage feature. */
|
|
46677
46679
|
events?: {
|
|
46678
46680
|
/** List of event types to show in the events filter. When set, only these event types will be available. Leave empty to show all events. */
|
|
@@ -55311,7 +55313,7 @@ export type Routes = {
|
|
|
55311
55313
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
55312
55314
|
reason?: {
|
|
55313
55315
|
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
55314
|
-
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
55316
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error' | 'connection_error';
|
|
55315
55317
|
/** Human-readable explanation of why access was denied. */
|
|
55316
55318
|
message: string;
|
|
55317
55319
|
} | undefined;
|
|
@@ -58946,7 +58948,7 @@ export type Routes = {
|
|
|
58946
58948
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
58947
58949
|
reason?: {
|
|
58948
58950
|
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
58949
|
-
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
58951
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error' | 'connection_error';
|
|
58950
58952
|
/** Human-readable explanation of why access was denied. */
|
|
58951
58953
|
message: string;
|
|
58952
58954
|
} | undefined;
|
|
@@ -95473,7 +95475,7 @@ export type Routes = {
|
|
|
95473
95475
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
95474
95476
|
reason?: {
|
|
95475
95477
|
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
95476
|
-
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
95478
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error' | 'connection_error';
|
|
95477
95479
|
/** Human-readable explanation of why access was denied. */
|
|
95478
95480
|
message: string;
|
|
95479
95481
|
} | undefined;
|
|
@@ -95916,6 +95918,8 @@ export type Routes = {
|
|
|
95916
95918
|
exclude_reservation_technical_details?: boolean;
|
|
95917
95919
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
95918
95920
|
exclude_staff_management?: boolean;
|
|
95921
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
95922
|
+
exclude_device_management?: boolean;
|
|
95919
95923
|
/** Configuration for event type filtering in the manage feature. */
|
|
95920
95924
|
events?: {
|
|
95921
95925
|
/** List of event types to show in the events filter. When set, only these event types will be available. Leave empty to show all events. */
|
|
@@ -96069,6 +96073,8 @@ export type Routes = {
|
|
|
96069
96073
|
exclude_reservation_technical_details?: boolean;
|
|
96070
96074
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
96071
96075
|
exclude_staff_management?: boolean;
|
|
96076
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
96077
|
+
exclude_device_management?: boolean;
|
|
96072
96078
|
/** Configuration for event type filtering in the manage feature. */
|
|
96073
96079
|
events?: {
|
|
96074
96080
|
/** List of event types to show in the events filter. When set, only these event types will be available. Leave empty to show all events. */
|
|
@@ -97280,6 +97286,25 @@ export type Routes = {
|
|
|
97280
97286
|
};
|
|
97281
97287
|
maxDuration: undefined;
|
|
97282
97288
|
};
|
|
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
|
+
};
|
|
97283
97308
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
97284
97309
|
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
97285
97310
|
method: 'GET' | 'POST';
|
|
@@ -101164,7 +101189,7 @@ export type Routes = {
|
|
|
101164
101189
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
101165
101190
|
reason?: {
|
|
101166
101191
|
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
101167
|
-
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
101192
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error' | 'connection_error';
|
|
101168
101193
|
/** Human-readable explanation of why access was denied. */
|
|
101169
101194
|
message: string;
|
|
101170
101195
|
} | undefined;
|
|
@@ -158131,7 +158156,7 @@ export type Routes = {
|
|
|
158131
158156
|
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
158132
158157
|
reason?: {
|
|
158133
158158
|
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
158134
|
-
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
158159
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error' | 'connection_error';
|
|
158135
158160
|
/** Human-readable explanation of why access was denied. */
|
|
158136
158161
|
message: string;
|
|
158137
158162
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -45,6 +45,12 @@ const base_manage_feature = base_feature.extend({
|
|
|
45
45
|
.describe(
|
|
46
46
|
'Indicates whether the customer can manage staff for their properties.',
|
|
47
47
|
),
|
|
48
|
+
exclude_device_management: z
|
|
49
|
+
.boolean()
|
|
50
|
+
.default(false)
|
|
51
|
+
.describe(
|
|
52
|
+
'Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed.',
|
|
53
|
+
),
|
|
48
54
|
events: z
|
|
49
55
|
.object({
|
|
50
56
|
allowed_events: z
|
|
@@ -260,6 +266,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
260
266
|
exclude_reservation_management: false,
|
|
261
267
|
exclude_reservation_technical_details: false,
|
|
262
268
|
exclude_staff_management: false,
|
|
269
|
+
exclude_device_management: false,
|
|
263
270
|
},
|
|
264
271
|
manage_devices: {
|
|
265
272
|
exclude: false,
|
|
@@ -65,6 +65,7 @@ export const lock_access_denied_reason = z
|
|
|
65
65
|
'too_many_attempts',
|
|
66
66
|
'blocked_by_privacy_mode',
|
|
67
67
|
'credential_error',
|
|
68
|
+
'connection_error',
|
|
68
69
|
])
|
|
69
70
|
.describe(
|
|
70
71
|
'Normalized reason a lock denied access. Provider-agnostic; not all providers report every value.',
|
|
@@ -29761,6 +29761,7 @@ const openapi: OpenAPISpec = {
|
|
|
29761
29761
|
'too_many_attempts',
|
|
29762
29762
|
'blocked_by_privacy_mode',
|
|
29763
29763
|
'credential_error',
|
|
29764
|
+
'connection_error',
|
|
29764
29765
|
],
|
|
29765
29766
|
type: 'string',
|
|
29766
29767
|
},
|
|
@@ -51448,6 +51449,7 @@ const openapi: OpenAPISpec = {
|
|
|
51448
51449
|
connect: { exclude: false },
|
|
51449
51450
|
manage: {
|
|
51450
51451
|
exclude: false,
|
|
51452
|
+
exclude_device_management: false,
|
|
51451
51453
|
exclude_reservation_management: false,
|
|
51452
51454
|
exclude_reservation_technical_details: false,
|
|
51453
51455
|
exclude_staff_management: false,
|
|
@@ -51683,6 +51685,12 @@ const openapi: OpenAPISpec = {
|
|
|
51683
51685
|
'Whether to exclude this feature from the portal.',
|
|
51684
51686
|
type: 'boolean',
|
|
51685
51687
|
},
|
|
51688
|
+
exclude_device_management: {
|
|
51689
|
+
default: false,
|
|
51690
|
+
description:
|
|
51691
|
+
'Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed.',
|
|
51692
|
+
type: 'boolean',
|
|
51693
|
+
},
|
|
51686
51694
|
exclude_reservation_management: {
|
|
51687
51695
|
default: false,
|
|
51688
51696
|
description:
|
|
@@ -57091,6 +57099,7 @@ const openapi: OpenAPISpec = {
|
|
|
57091
57099
|
{ api_key: [] },
|
|
57092
57100
|
{ pat_with_workspace: [] },
|
|
57093
57101
|
{ console_session_with_workspace: [] },
|
|
57102
|
+
{ client_session_with_customer: [] },
|
|
57094
57103
|
],
|
|
57095
57104
|
summary: '/devices/unmanaged/update',
|
|
57096
57105
|
tags: ['/devices'],
|
|
@@ -66740,6 +66749,12 @@ const openapi: OpenAPISpec = {
|
|
|
66740
66749
|
'Whether to exclude this feature from the portal.',
|
|
66741
66750
|
type: 'boolean',
|
|
66742
66751
|
},
|
|
66752
|
+
exclude_device_management: {
|
|
66753
|
+
default: false,
|
|
66754
|
+
description:
|
|
66755
|
+
'Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed.',
|
|
66756
|
+
type: 'boolean',
|
|
66757
|
+
},
|
|
66743
66758
|
exclude_reservation_management: {
|
|
66744
66759
|
default: false,
|
|
66745
66760
|
description:
|
|
@@ -67206,6 +67221,12 @@ const openapi: OpenAPISpec = {
|
|
|
67206
67221
|
'Whether to exclude this feature from the portal.',
|
|
67207
67222
|
type: 'boolean',
|
|
67208
67223
|
},
|
|
67224
|
+
exclude_device_management: {
|
|
67225
|
+
default: false,
|
|
67226
|
+
description:
|
|
67227
|
+
'Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed.',
|
|
67228
|
+
type: 'boolean',
|
|
67229
|
+
},
|
|
67209
67230
|
exclude_reservation_management: {
|
|
67210
67231
|
default: false,
|
|
67211
67232
|
description:
|
|
@@ -69379,6 +69400,72 @@ const openapi: OpenAPISpec = {
|
|
|
69379
69400
|
'x-undocumented': 'Seam support agent only.',
|
|
69380
69401
|
},
|
|
69381
69402
|
},
|
|
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
|
+
},
|
|
69382
69469
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
69383
69470
|
get: {
|
|
69384
69471
|
description:
|
|
@@ -54511,6 +54511,8 @@ export type Routes = {
|
|
|
54511
54511
|
exclude_reservation_technical_details?: boolean
|
|
54512
54512
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
54513
54513
|
exclude_staff_management?: boolean
|
|
54514
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
54515
|
+
exclude_device_management?: boolean
|
|
54514
54516
|
/** Configuration for event type filtering in the manage feature. */
|
|
54515
54517
|
events?:
|
|
54516
54518
|
| {
|
|
@@ -66509,6 +66511,7 @@ export type Routes = {
|
|
|
66509
66511
|
| 'too_many_attempts'
|
|
66510
66512
|
| 'blocked_by_privacy_mode'
|
|
66511
66513
|
| 'credential_error'
|
|
66514
|
+
| 'connection_error'
|
|
66512
66515
|
/** Human-readable explanation of why access was denied. */
|
|
66513
66516
|
message: string
|
|
66514
66517
|
}
|
|
@@ -70809,6 +70812,7 @@ export type Routes = {
|
|
|
70809
70812
|
| 'too_many_attempts'
|
|
70810
70813
|
| 'blocked_by_privacy_mode'
|
|
70811
70814
|
| 'credential_error'
|
|
70815
|
+
| 'connection_error'
|
|
70812
70816
|
/** Human-readable explanation of why access was denied. */
|
|
70813
70817
|
message: string
|
|
70814
70818
|
}
|
|
@@ -114021,6 +114025,7 @@ export type Routes = {
|
|
|
114021
114025
|
| 'too_many_attempts'
|
|
114022
114026
|
| 'blocked_by_privacy_mode'
|
|
114023
114027
|
| 'credential_error'
|
|
114028
|
+
| 'connection_error'
|
|
114024
114029
|
/** Human-readable explanation of why access was denied. */
|
|
114025
114030
|
message: string
|
|
114026
114031
|
}
|
|
@@ -114521,6 +114526,8 @@ export type Routes = {
|
|
|
114521
114526
|
exclude_reservation_technical_details?: boolean
|
|
114522
114527
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
114523
114528
|
exclude_staff_management?: boolean
|
|
114529
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
114530
|
+
exclude_device_management?: boolean
|
|
114524
114531
|
/** Configuration for event type filtering in the manage feature. */
|
|
114525
114532
|
events?:
|
|
114526
114533
|
| {
|
|
@@ -114734,6 +114741,8 @@ export type Routes = {
|
|
|
114734
114741
|
exclude_reservation_technical_details?: boolean
|
|
114735
114742
|
/** Indicates whether the customer can manage staff for their properties. */
|
|
114736
114743
|
exclude_staff_management?: boolean
|
|
114744
|
+
/** Indicates whether to prevent the customer from converting their devices between managed and unmanaged. Managed devices are billed. */
|
|
114745
|
+
exclude_device_management?: boolean
|
|
114737
114746
|
/** Configuration for event type filtering in the manage feature. */
|
|
114738
114747
|
events?:
|
|
114739
114748
|
| {
|
|
@@ -116087,6 +116096,25 @@ export type Routes = {
|
|
|
116087
116096
|
}
|
|
116088
116097
|
maxDuration: undefined
|
|
116089
116098
|
}
|
|
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
|
+
}
|
|
116090
116118
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
116091
116119
|
route: '/seam/mobile_sdk/v1/acs/credentials/list'
|
|
116092
116120
|
method: 'GET' | 'POST'
|
|
@@ -120705,6 +120733,7 @@ export type Routes = {
|
|
|
120705
120733
|
| 'too_many_attempts'
|
|
120706
120734
|
| 'blocked_by_privacy_mode'
|
|
120707
120735
|
| 'credential_error'
|
|
120736
|
+
| 'connection_error'
|
|
120708
120737
|
/** Human-readable explanation of why access was denied. */
|
|
120709
120738
|
message: string
|
|
120710
120739
|
}
|
|
@@ -187758,6 +187787,7 @@ export type Routes = {
|
|
|
187758
187787
|
| 'too_many_attempts'
|
|
187759
187788
|
| 'blocked_by_privacy_mode'
|
|
187760
187789
|
| 'credential_error'
|
|
187790
|
+
| 'connection_error'
|
|
187761
187791
|
/** Human-readable explanation of why access was denied. */
|
|
187762
187792
|
message: string
|
|
187763
187793
|
}
|