@seamapi/types 1.697.0 → 1.699.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/dist/connect.cjs +31 -61
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +75 -239
- package/dist/index.cjs +31 -61
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -9
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/models/batch.d.ts +0 -72
- package/lib/seam/connect/openapi.d.ts +63 -0
- package/lib/seam/connect/openapi.js +31 -56
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
- package/src/lib/seam/connect/openapi.ts +36 -64
- package/src/lib/seam/connect/route-types.ts +13 -110
|
@@ -1422,15 +1422,6 @@ export type Routes = {
|
|
|
1422
1422
|
created_at?: string | undefined;
|
|
1423
1423
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1424
1424
|
error_code: 'igloohome_bridge_offline';
|
|
1425
|
-
} | {
|
|
1426
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1427
|
-
message: string;
|
|
1428
|
-
/** Indicates that this is an access code error. */
|
|
1429
|
-
is_access_code_error: true;
|
|
1430
|
-
/** Date and time at which Seam created the error. */
|
|
1431
|
-
created_at?: string | undefined;
|
|
1432
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1433
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
1434
1425
|
} | {
|
|
1435
1426
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1436
1427
|
message: string;
|
|
@@ -1984,15 +1975,6 @@ export type Routes = {
|
|
|
1984
1975
|
created_at?: string | undefined;
|
|
1985
1976
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1986
1977
|
error_code: 'igloohome_bridge_offline';
|
|
1987
|
-
} | {
|
|
1988
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1989
|
-
message: string;
|
|
1990
|
-
/** Indicates that this is an access code error. */
|
|
1991
|
-
is_access_code_error: true;
|
|
1992
|
-
/** Date and time at which Seam created the error. */
|
|
1993
|
-
created_at?: string | undefined;
|
|
1994
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1995
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
1996
1978
|
} | {
|
|
1997
1979
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1998
1980
|
message: string;
|
|
@@ -3812,15 +3794,6 @@ export type Routes = {
|
|
|
3812
3794
|
created_at?: string | undefined;
|
|
3813
3795
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3814
3796
|
error_code: 'igloohome_bridge_offline';
|
|
3815
|
-
} | {
|
|
3816
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3817
|
-
message: string;
|
|
3818
|
-
/** Indicates that this is an access code error. */
|
|
3819
|
-
is_access_code_error: true;
|
|
3820
|
-
/** Date and time at which Seam created the error. */
|
|
3821
|
-
created_at?: string | undefined;
|
|
3822
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3823
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
3824
3797
|
} | {
|
|
3825
3798
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3826
3799
|
message: string;
|
|
@@ -4348,15 +4321,6 @@ export type Routes = {
|
|
|
4348
4321
|
created_at?: string | undefined;
|
|
4349
4322
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4350
4323
|
error_code: 'igloohome_bridge_offline';
|
|
4351
|
-
} | {
|
|
4352
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4353
|
-
message: string;
|
|
4354
|
-
/** Indicates that this is an access code error. */
|
|
4355
|
-
is_access_code_error: true;
|
|
4356
|
-
/** Date and time at which Seam created the error. */
|
|
4357
|
-
created_at?: string | undefined;
|
|
4358
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4359
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
4360
4324
|
} | {
|
|
4361
4325
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4362
4326
|
message: string;
|
|
@@ -4890,15 +4854,6 @@ export type Routes = {
|
|
|
4890
4854
|
created_at?: string | undefined;
|
|
4891
4855
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4892
4856
|
error_code: 'igloohome_bridge_offline';
|
|
4893
|
-
} | {
|
|
4894
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4895
|
-
message: string;
|
|
4896
|
-
/** Indicates that this is an access code error. */
|
|
4897
|
-
is_access_code_error: true;
|
|
4898
|
-
/** Date and time at which Seam created the error. */
|
|
4899
|
-
created_at?: string | undefined;
|
|
4900
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4901
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
4902
4857
|
} | {
|
|
4903
4858
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4904
4859
|
message: string;
|
|
@@ -5409,15 +5364,6 @@ export type Routes = {
|
|
|
5409
5364
|
created_at?: string | undefined;
|
|
5410
5365
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5411
5366
|
error_code: 'igloohome_bridge_offline';
|
|
5412
|
-
} | {
|
|
5413
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5414
|
-
message: string;
|
|
5415
|
-
/** Indicates that this is an access code error. */
|
|
5416
|
-
is_access_code_error: true;
|
|
5417
|
-
/** Date and time at which Seam created the error. */
|
|
5418
|
-
created_at?: string | undefined;
|
|
5419
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5420
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
5421
5367
|
} | {
|
|
5422
5368
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5423
5369
|
message: string;
|
|
@@ -5963,15 +5909,6 @@ export type Routes = {
|
|
|
5963
5909
|
created_at?: string | undefined;
|
|
5964
5910
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5965
5911
|
error_code: 'igloohome_bridge_offline';
|
|
5966
|
-
} | {
|
|
5967
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5968
|
-
message: string;
|
|
5969
|
-
/** Indicates that this is an access code error. */
|
|
5970
|
-
is_access_code_error: true;
|
|
5971
|
-
/** Date and time at which Seam created the error. */
|
|
5972
|
-
created_at?: string | undefined;
|
|
5973
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5974
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
5975
5912
|
} | {
|
|
5976
5913
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5977
5914
|
message: string;
|
|
@@ -7778,15 +7715,6 @@ export type Routes = {
|
|
|
7778
7715
|
created_at?: string | undefined;
|
|
7779
7716
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7780
7717
|
error_code: 'igloohome_bridge_offline';
|
|
7781
|
-
} | {
|
|
7782
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7783
|
-
message: string;
|
|
7784
|
-
/** Indicates that this is an access code error. */
|
|
7785
|
-
is_access_code_error: true;
|
|
7786
|
-
/** Date and time at which Seam created the error. */
|
|
7787
|
-
created_at?: string | undefined;
|
|
7788
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7789
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
7790
7718
|
} | {
|
|
7791
7719
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7792
7720
|
message: string;
|
|
@@ -8292,15 +8220,6 @@ export type Routes = {
|
|
|
8292
8220
|
created_at?: string | undefined;
|
|
8293
8221
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8294
8222
|
error_code: 'igloohome_bridge_offline';
|
|
8295
|
-
} | {
|
|
8296
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8297
|
-
message: string;
|
|
8298
|
-
/** Indicates that this is an access code error. */
|
|
8299
|
-
is_access_code_error: true;
|
|
8300
|
-
/** Date and time at which Seam created the error. */
|
|
8301
|
-
created_at?: string | undefined;
|
|
8302
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8303
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
8304
8223
|
} | {
|
|
8305
8224
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8306
8225
|
message: string;
|
|
@@ -52987,6 +52906,18 @@ export type Routes = {
|
|
|
52987
52906
|
api_key: string;
|
|
52988
52907
|
/** Optional base API URL (defaults to https://api.smoobu.com/api) */
|
|
52989
52908
|
base_api_url?: string | undefined;
|
|
52909
|
+
} | {
|
|
52910
|
+
/** Zonal API key for X-API-Key header (required) */
|
|
52911
|
+
api_key: string;
|
|
52912
|
+
/** Zonal ID used as 'token' in login request body (required) */
|
|
52913
|
+
id: string;
|
|
52914
|
+
/** Zonal Secret for login request body (required) */
|
|
52915
|
+
secret: string;
|
|
52916
|
+
/** Optional hotel ID for single-property mode */
|
|
52917
|
+
hotel_id?: string | undefined;
|
|
52918
|
+
/** Use staging API instead of production */
|
|
52919
|
+
is_staging?: boolean;
|
|
52920
|
+
auth_token?: string | undefined;
|
|
52990
52921
|
};
|
|
52991
52922
|
};
|
|
52992
52923
|
commonParams: {};
|
|
@@ -84255,15 +84186,6 @@ export type Routes = {
|
|
|
84255
84186
|
created_at?: string | undefined;
|
|
84256
84187
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
84257
84188
|
error_code: 'igloohome_bridge_offline';
|
|
84258
|
-
} | {
|
|
84259
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
84260
|
-
message: string;
|
|
84261
|
-
/** Indicates that this is an access code error. */
|
|
84262
|
-
is_access_code_error: true;
|
|
84263
|
-
/** Date and time at which Seam created the error. */
|
|
84264
|
-
created_at?: string | undefined;
|
|
84265
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
84266
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
84267
84189
|
} | {
|
|
84268
84190
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
84269
84191
|
message: string;
|
|
@@ -84755,15 +84677,6 @@ export type Routes = {
|
|
|
84755
84677
|
created_at?: string | undefined;
|
|
84756
84678
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
84757
84679
|
error_code: 'igloohome_bridge_offline';
|
|
84758
|
-
} | {
|
|
84759
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
84760
|
-
message: string;
|
|
84761
|
-
/** Indicates that this is an access code error. */
|
|
84762
|
-
is_access_code_error: true;
|
|
84763
|
-
/** Date and time at which Seam created the error. */
|
|
84764
|
-
created_at?: string | undefined;
|
|
84765
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
84766
|
-
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
84767
84680
|
} | {
|
|
84768
84681
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
84769
84682
|
message: string;
|
package/package.json
CHANGED
|
@@ -132,15 +132,6 @@ const kwikset_insufficient_permissions = common_access_code_error
|
|
|
132
132
|
'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
|
|
133
133
|
)
|
|
134
134
|
|
|
135
|
-
const igloohome_offline_access_code_no_variance_available =
|
|
136
|
-
common_access_code_error
|
|
137
|
-
.extend({
|
|
138
|
-
error_code: z
|
|
139
|
-
.literal('igloohome_offline_access_code_no_variance_available')
|
|
140
|
-
.describe(error_code_description),
|
|
141
|
-
})
|
|
142
|
-
.describe('Lock has reached maximum amount of codes.')
|
|
143
|
-
|
|
144
135
|
const august_lock_invalid_code_length = common_access_code_error
|
|
145
136
|
.extend({
|
|
146
137
|
error_code: z
|
|
@@ -251,7 +242,6 @@ const access_code_error = z
|
|
|
251
242
|
no_space_for_access_code_on_device,
|
|
252
243
|
igloohome_bridge_too_many_pending_jobs,
|
|
253
244
|
igloohome_bridge_offline,
|
|
254
|
-
igloohome_offline_access_code_no_variance_available,
|
|
255
245
|
kwikset_unable_to_confirm_code,
|
|
256
246
|
kwikset_unable_to_confirm_deletion,
|
|
257
247
|
code_modified_external_to_seam_error,
|
|
@@ -297,8 +287,6 @@ const _access_code_error_map = z.object({
|
|
|
297
287
|
.optional()
|
|
298
288
|
.nullable(),
|
|
299
289
|
igloohome_bridge_offline: igloohome_bridge_offline.optional().nullable(),
|
|
300
|
-
igloohome_offline_access_code_no_variance_available:
|
|
301
|
-
igloohome_offline_access_code_no_variance_available.optional().nullable(),
|
|
302
290
|
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code
|
|
303
291
|
.optional()
|
|
304
292
|
.nullable(),
|
|
@@ -350,38 +350,6 @@ export default {
|
|
|
350
350
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
351
351
|
type: 'object',
|
|
352
352
|
},
|
|
353
|
-
{
|
|
354
|
-
description: 'Lock has reached maximum amount of codes.',
|
|
355
|
-
properties: {
|
|
356
|
-
created_at: {
|
|
357
|
-
description:
|
|
358
|
-
'Date and time at which Seam created the error.',
|
|
359
|
-
format: 'date-time',
|
|
360
|
-
type: 'string',
|
|
361
|
-
},
|
|
362
|
-
error_code: {
|
|
363
|
-
description:
|
|
364
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
365
|
-
enum: [
|
|
366
|
-
'igloohome_offline_access_code_no_variance_available',
|
|
367
|
-
],
|
|
368
|
-
type: 'string',
|
|
369
|
-
},
|
|
370
|
-
is_access_code_error: {
|
|
371
|
-
description:
|
|
372
|
-
'Indicates that this is an access code error.',
|
|
373
|
-
enum: [true],
|
|
374
|
-
type: 'boolean',
|
|
375
|
-
},
|
|
376
|
-
message: {
|
|
377
|
-
description:
|
|
378
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
379
|
-
type: 'string',
|
|
380
|
-
},
|
|
381
|
-
},
|
|
382
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
383
|
-
type: 'object',
|
|
384
|
-
},
|
|
385
353
|
{
|
|
386
354
|
description:
|
|
387
355
|
'Unable to confirm that the access code is set on Kwikset device.',
|
|
@@ -22142,38 +22110,6 @@ export default {
|
|
|
22142
22110
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
22143
22111
|
type: 'object',
|
|
22144
22112
|
},
|
|
22145
|
-
{
|
|
22146
|
-
description: 'Lock has reached maximum amount of codes.',
|
|
22147
|
-
properties: {
|
|
22148
|
-
created_at: {
|
|
22149
|
-
description:
|
|
22150
|
-
'Date and time at which Seam created the error.',
|
|
22151
|
-
format: 'date-time',
|
|
22152
|
-
type: 'string',
|
|
22153
|
-
},
|
|
22154
|
-
error_code: {
|
|
22155
|
-
description:
|
|
22156
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
22157
|
-
enum: [
|
|
22158
|
-
'igloohome_offline_access_code_no_variance_available',
|
|
22159
|
-
],
|
|
22160
|
-
type: 'string',
|
|
22161
|
-
},
|
|
22162
|
-
is_access_code_error: {
|
|
22163
|
-
description:
|
|
22164
|
-
'Indicates that this is an access code error.',
|
|
22165
|
-
enum: [true],
|
|
22166
|
-
type: 'boolean',
|
|
22167
|
-
},
|
|
22168
|
-
message: {
|
|
22169
|
-
description:
|
|
22170
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
22171
|
-
type: 'string',
|
|
22172
|
-
},
|
|
22173
|
-
},
|
|
22174
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
22175
|
-
type: 'object',
|
|
22176
|
-
},
|
|
22177
22113
|
{
|
|
22178
22114
|
description:
|
|
22179
22115
|
'Unable to confirm that the access code is set on Kwikset device.',
|
|
@@ -55051,6 +54987,42 @@ export default {
|
|
|
55051
54987
|
required: ['api_key'],
|
|
55052
54988
|
type: 'object',
|
|
55053
54989
|
},
|
|
54990
|
+
{
|
|
54991
|
+
properties: {
|
|
54992
|
+
api_key: {
|
|
54993
|
+
description:
|
|
54994
|
+
'Zonal API key for X-API-Key header (required)',
|
|
54995
|
+
minLength: 1,
|
|
54996
|
+
type: 'string',
|
|
54997
|
+
},
|
|
54998
|
+
auth_token: { type: 'string' },
|
|
54999
|
+
hotel_id: {
|
|
55000
|
+
description:
|
|
55001
|
+
'Optional hotel ID for single-property mode',
|
|
55002
|
+
type: 'string',
|
|
55003
|
+
},
|
|
55004
|
+
id: {
|
|
55005
|
+
description:
|
|
55006
|
+
"Zonal ID used as 'token' in login request body (required)",
|
|
55007
|
+
minLength: 1,
|
|
55008
|
+
type: 'string',
|
|
55009
|
+
},
|
|
55010
|
+
is_staging: {
|
|
55011
|
+
default: false,
|
|
55012
|
+
description:
|
|
55013
|
+
'Use staging API instead of production',
|
|
55014
|
+
type: 'boolean',
|
|
55015
|
+
},
|
|
55016
|
+
secret: {
|
|
55017
|
+
description:
|
|
55018
|
+
'Zonal Secret for login request body (required)',
|
|
55019
|
+
minLength: 1,
|
|
55020
|
+
type: 'string',
|
|
55021
|
+
},
|
|
55022
|
+
},
|
|
55023
|
+
required: ['api_key', 'id', 'secret'],
|
|
55024
|
+
type: 'object',
|
|
55025
|
+
},
|
|
55054
55026
|
],
|
|
55055
55027
|
},
|
|
55056
55028
|
connector_id: {
|
|
@@ -1624,16 +1624,6 @@ export type Routes = {
|
|
|
1624
1624
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1625
1625
|
error_code: 'igloohome_bridge_offline'
|
|
1626
1626
|
}
|
|
1627
|
-
| {
|
|
1628
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1629
|
-
message: string
|
|
1630
|
-
/** Indicates that this is an access code error. */
|
|
1631
|
-
is_access_code_error: true
|
|
1632
|
-
/** Date and time at which Seam created the error. */
|
|
1633
|
-
created_at?: string | undefined
|
|
1634
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1635
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
1636
|
-
}
|
|
1637
1627
|
| {
|
|
1638
1628
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1639
1629
|
message: string
|
|
@@ -2242,16 +2232,6 @@ export type Routes = {
|
|
|
2242
2232
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2243
2233
|
error_code: 'igloohome_bridge_offline'
|
|
2244
2234
|
}
|
|
2245
|
-
| {
|
|
2246
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2247
|
-
message: string
|
|
2248
|
-
/** Indicates that this is an access code error. */
|
|
2249
|
-
is_access_code_error: true
|
|
2250
|
-
/** Date and time at which Seam created the error. */
|
|
2251
|
-
created_at?: string | undefined
|
|
2252
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2253
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
2254
|
-
}
|
|
2255
2235
|
| {
|
|
2256
2236
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2257
2237
|
message: string
|
|
@@ -4317,16 +4297,6 @@ export type Routes = {
|
|
|
4317
4297
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4318
4298
|
error_code: 'igloohome_bridge_offline'
|
|
4319
4299
|
}
|
|
4320
|
-
| {
|
|
4321
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4322
|
-
message: string
|
|
4323
|
-
/** Indicates that this is an access code error. */
|
|
4324
|
-
is_access_code_error: true
|
|
4325
|
-
/** Date and time at which Seam created the error. */
|
|
4326
|
-
created_at?: string | undefined
|
|
4327
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4328
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
4329
|
-
}
|
|
4330
4300
|
| {
|
|
4331
4301
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4332
4302
|
message: string
|
|
@@ -4909,16 +4879,6 @@ export type Routes = {
|
|
|
4909
4879
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4910
4880
|
error_code: 'igloohome_bridge_offline'
|
|
4911
4881
|
}
|
|
4912
|
-
| {
|
|
4913
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4914
|
-
message: string
|
|
4915
|
-
/** Indicates that this is an access code error. */
|
|
4916
|
-
is_access_code_error: true
|
|
4917
|
-
/** Date and time at which Seam created the error. */
|
|
4918
|
-
created_at?: string | undefined
|
|
4919
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4920
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
4921
|
-
}
|
|
4922
4882
|
| {
|
|
4923
4883
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4924
4884
|
message: string
|
|
@@ -5507,16 +5467,6 @@ export type Routes = {
|
|
|
5507
5467
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5508
5468
|
error_code: 'igloohome_bridge_offline'
|
|
5509
5469
|
}
|
|
5510
|
-
| {
|
|
5511
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5512
|
-
message: string
|
|
5513
|
-
/** Indicates that this is an access code error. */
|
|
5514
|
-
is_access_code_error: true
|
|
5515
|
-
/** Date and time at which Seam created the error. */
|
|
5516
|
-
created_at?: string | undefined
|
|
5517
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5518
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
5519
|
-
}
|
|
5520
5470
|
| {
|
|
5521
5471
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5522
5472
|
message: string
|
|
@@ -6082,16 +6032,6 @@ export type Routes = {
|
|
|
6082
6032
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6083
6033
|
error_code: 'igloohome_bridge_offline'
|
|
6084
6034
|
}
|
|
6085
|
-
| {
|
|
6086
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6087
|
-
message: string
|
|
6088
|
-
/** Indicates that this is an access code error. */
|
|
6089
|
-
is_access_code_error: true
|
|
6090
|
-
/** Date and time at which Seam created the error. */
|
|
6091
|
-
created_at?: string | undefined
|
|
6092
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6093
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
6094
|
-
}
|
|
6095
6035
|
| {
|
|
6096
6036
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6097
6037
|
message: string
|
|
@@ -6692,16 +6632,6 @@ export type Routes = {
|
|
|
6692
6632
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6693
6633
|
error_code: 'igloohome_bridge_offline'
|
|
6694
6634
|
}
|
|
6695
|
-
| {
|
|
6696
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6697
|
-
message: string
|
|
6698
|
-
/** Indicates that this is an access code error. */
|
|
6699
|
-
is_access_code_error: true
|
|
6700
|
-
/** Date and time at which Seam created the error. */
|
|
6701
|
-
created_at?: string | undefined
|
|
6702
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6703
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
6704
|
-
}
|
|
6705
6635
|
| {
|
|
6706
6636
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6707
6637
|
message: string
|
|
@@ -8754,16 +8684,6 @@ export type Routes = {
|
|
|
8754
8684
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8755
8685
|
error_code: 'igloohome_bridge_offline'
|
|
8756
8686
|
}
|
|
8757
|
-
| {
|
|
8758
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8759
|
-
message: string
|
|
8760
|
-
/** Indicates that this is an access code error. */
|
|
8761
|
-
is_access_code_error: true
|
|
8762
|
-
/** Date and time at which Seam created the error. */
|
|
8763
|
-
created_at?: string | undefined
|
|
8764
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8765
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
8766
|
-
}
|
|
8767
8687
|
| {
|
|
8768
8688
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8769
8689
|
message: string
|
|
@@ -9324,16 +9244,6 @@ export type Routes = {
|
|
|
9324
9244
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9325
9245
|
error_code: 'igloohome_bridge_offline'
|
|
9326
9246
|
}
|
|
9327
|
-
| {
|
|
9328
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9329
|
-
message: string
|
|
9330
|
-
/** Indicates that this is an access code error. */
|
|
9331
|
-
is_access_code_error: true
|
|
9332
|
-
/** Date and time at which Seam created the error. */
|
|
9333
|
-
created_at?: string | undefined
|
|
9334
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9335
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
9336
|
-
}
|
|
9337
9247
|
| {
|
|
9338
9248
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9339
9249
|
message: string
|
|
@@ -63340,6 +63250,19 @@ export type Routes = {
|
|
|
63340
63250
|
/** Optional base API URL (defaults to https://api.smoobu.com/api) */
|
|
63341
63251
|
base_api_url?: string | undefined
|
|
63342
63252
|
}
|
|
63253
|
+
| {
|
|
63254
|
+
/** Zonal API key for X-API-Key header (required) */
|
|
63255
|
+
api_key: string
|
|
63256
|
+
/** Zonal ID used as 'token' in login request body (required) */
|
|
63257
|
+
id: string
|
|
63258
|
+
/** Zonal Secret for login request body (required) */
|
|
63259
|
+
secret: string
|
|
63260
|
+
/** Optional hotel ID for single-property mode */
|
|
63261
|
+
hotel_id?: string | undefined
|
|
63262
|
+
/** Use staging API instead of production */
|
|
63263
|
+
is_staging?: boolean
|
|
63264
|
+
auth_token?: string | undefined
|
|
63265
|
+
}
|
|
63343
63266
|
}
|
|
63344
63267
|
commonParams: {}
|
|
63345
63268
|
formData: {}
|
|
@@ -100567,16 +100490,6 @@ export type Routes = {
|
|
|
100567
100490
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
100568
100491
|
error_code: 'igloohome_bridge_offline'
|
|
100569
100492
|
}
|
|
100570
|
-
| {
|
|
100571
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
100572
|
-
message: string
|
|
100573
|
-
/** Indicates that this is an access code error. */
|
|
100574
|
-
is_access_code_error: true
|
|
100575
|
-
/** Date and time at which Seam created the error. */
|
|
100576
|
-
created_at?: string | undefined
|
|
100577
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
100578
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
100579
|
-
}
|
|
100580
100493
|
| {
|
|
100581
100494
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
100582
100495
|
message: string
|
|
@@ -101125,16 +101038,6 @@ export type Routes = {
|
|
|
101125
101038
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
101126
101039
|
error_code: 'igloohome_bridge_offline'
|
|
101127
101040
|
}
|
|
101128
|
-
| {
|
|
101129
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
101130
|
-
message: string
|
|
101131
|
-
/** Indicates that this is an access code error. */
|
|
101132
|
-
is_access_code_error: true
|
|
101133
|
-
/** Date and time at which Seam created the error. */
|
|
101134
|
-
created_at?: string | undefined
|
|
101135
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
101136
|
-
error_code: 'igloohome_offline_access_code_no_variance_available'
|
|
101137
|
-
}
|
|
101138
101041
|
| {
|
|
101139
101042
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
101140
101043
|
message: string
|