@seamapi/types 1.353.2 → 1.355.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 +41 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +97 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +26 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +8 -0
- 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 +16 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +3 -0
- package/lib/seam/connect/models/workspaces/workspace.js +3 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +35 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +44 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +41 -0
- package/src/lib/seam/connect/route-types.ts +53 -0
|
@@ -1112,6 +1112,10 @@ export interface Routes {
|
|
|
1112
1112
|
message: string;
|
|
1113
1113
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1114
1114
|
warning_code: 'management_transferred';
|
|
1115
|
+
} | {
|
|
1116
|
+
message: string;
|
|
1117
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1118
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
1115
1119
|
}>;
|
|
1116
1120
|
/** Indicates whether Seam manages the access code. */
|
|
1117
1121
|
is_managed: true;
|
|
@@ -1394,6 +1398,10 @@ export interface Routes {
|
|
|
1394
1398
|
message: string;
|
|
1395
1399
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1396
1400
|
warning_code: 'management_transferred';
|
|
1401
|
+
} | {
|
|
1402
|
+
message: string;
|
|
1403
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1404
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
1397
1405
|
}>;
|
|
1398
1406
|
/** Indicates whether Seam manages the access code. */
|
|
1399
1407
|
is_managed: true;
|
|
@@ -2549,6 +2557,10 @@ export interface Routes {
|
|
|
2549
2557
|
message: string;
|
|
2550
2558
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2551
2559
|
warning_code: 'management_transferred';
|
|
2560
|
+
} | {
|
|
2561
|
+
message: string;
|
|
2562
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2563
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
2552
2564
|
}>;
|
|
2553
2565
|
/** Indicates whether Seam manages the access code. */
|
|
2554
2566
|
is_managed: true;
|
|
@@ -2818,6 +2830,10 @@ export interface Routes {
|
|
|
2818
2830
|
message: string;
|
|
2819
2831
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2820
2832
|
warning_code: 'management_transferred';
|
|
2833
|
+
} | {
|
|
2834
|
+
message: string;
|
|
2835
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2836
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
2821
2837
|
}>;
|
|
2822
2838
|
/** Indicates whether Seam manages the access code. */
|
|
2823
2839
|
is_managed: true;
|
|
@@ -3086,6 +3102,10 @@ export interface Routes {
|
|
|
3086
3102
|
message: string;
|
|
3087
3103
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3088
3104
|
warning_code: 'management_transferred';
|
|
3105
|
+
} | {
|
|
3106
|
+
message: string;
|
|
3107
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3108
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
3089
3109
|
}>;
|
|
3090
3110
|
/** Indicates whether Seam manages the access code. */
|
|
3091
3111
|
is_managed: true;
|
|
@@ -3342,6 +3362,10 @@ export interface Routes {
|
|
|
3342
3362
|
message: string;
|
|
3343
3363
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3344
3364
|
warning_code: 'management_transferred';
|
|
3365
|
+
} | {
|
|
3366
|
+
message: string;
|
|
3367
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3368
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
3345
3369
|
}>;
|
|
3346
3370
|
/** Indicates whether Seam manages the access code. */
|
|
3347
3371
|
is_managed: true;
|
|
@@ -3606,6 +3630,10 @@ export interface Routes {
|
|
|
3606
3630
|
message: string;
|
|
3607
3631
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3608
3632
|
warning_code: 'management_transferred';
|
|
3633
|
+
} | {
|
|
3634
|
+
message: string;
|
|
3635
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3636
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
3609
3637
|
}>;
|
|
3610
3638
|
is_managed: false;
|
|
3611
3639
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -4737,6 +4765,10 @@ export interface Routes {
|
|
|
4737
4765
|
message: string;
|
|
4738
4766
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4739
4767
|
warning_code: 'management_transferred';
|
|
4768
|
+
} | {
|
|
4769
|
+
message: string;
|
|
4770
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4771
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
4740
4772
|
}>;
|
|
4741
4773
|
is_managed: false;
|
|
4742
4774
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -4983,6 +5015,10 @@ export interface Routes {
|
|
|
4983
5015
|
message: string;
|
|
4984
5016
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4985
5017
|
warning_code: 'management_transferred';
|
|
5018
|
+
} | {
|
|
5019
|
+
message: string;
|
|
5020
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5021
|
+
warning_code: 'kwikset_unable_to_confirm_code';
|
|
4986
5022
|
}>;
|
|
4987
5023
|
is_managed: false;
|
|
4988
5024
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -10398,6 +10434,8 @@ export interface Routes {
|
|
|
10398
10434
|
acs_system_id?: string | undefined;
|
|
10399
10435
|
/** Maximum number of records to return per page. */
|
|
10400
10436
|
limit?: number;
|
|
10437
|
+
/** String to partial match between full_name, phone_number and email_address. */
|
|
10438
|
+
search?: string | undefined;
|
|
10401
10439
|
created_before?: Date | undefined;
|
|
10402
10440
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
10403
10441
|
page_cursor?: (string | undefined) | null;
|
|
@@ -36628,6 +36666,8 @@ export interface Routes {
|
|
|
36628
36666
|
name: string;
|
|
36629
36667
|
company_name: string;
|
|
36630
36668
|
is_sandbox: boolean;
|
|
36669
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
36670
|
+
is_suspended: boolean;
|
|
36631
36671
|
/**
|
|
36632
36672
|
* @deprecated use company_name */
|
|
36633
36673
|
connect_partner_name: (string | null) | null;
|
|
@@ -36648,6 +36688,8 @@ export interface Routes {
|
|
|
36648
36688
|
name: string;
|
|
36649
36689
|
company_name: string;
|
|
36650
36690
|
is_sandbox: boolean;
|
|
36691
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
36692
|
+
is_suspended: boolean;
|
|
36651
36693
|
/**
|
|
36652
36694
|
* @deprecated use company_name */
|
|
36653
36695
|
connect_partner_name: (string | null) | null;
|
|
@@ -36667,6 +36709,8 @@ export interface Routes {
|
|
|
36667
36709
|
name: string;
|
|
36668
36710
|
company_name: string;
|
|
36669
36711
|
is_sandbox: boolean;
|
|
36712
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
36713
|
+
is_suspended: boolean;
|
|
36670
36714
|
/**
|
|
36671
36715
|
* @deprecated use company_name */
|
|
36672
36716
|
connect_partner_name: (string | null) | null;
|
package/package.json
CHANGED
|
@@ -292,6 +292,14 @@ const management_transferred = common_access_code_warning
|
|
|
292
292
|
})
|
|
293
293
|
.describe('Management was transferred to another workspace.')
|
|
294
294
|
|
|
295
|
+
const kwikset_unable_to_confirm_code_warning = common_access_code_warning
|
|
296
|
+
.extend({
|
|
297
|
+
warning_code: z
|
|
298
|
+
.literal('kwikset_unable_to_confirm_code')
|
|
299
|
+
.describe(warning_code_description),
|
|
300
|
+
})
|
|
301
|
+
.describe('Unable to confirm the access code is set on Kwikset device.')
|
|
302
|
+
|
|
295
303
|
const access_code_warning = z.discriminatedUnion('warning_code', [
|
|
296
304
|
smartthings_failed_to_set_access_code_warning,
|
|
297
305
|
schlage_detected_duplicate,
|
|
@@ -304,6 +312,7 @@ const access_code_warning = z.discriminatedUnion('warning_code', [
|
|
|
304
312
|
august_device_programming_delay_warning,
|
|
305
313
|
igloo_algopin_must_be_used_within_24_hours,
|
|
306
314
|
management_transferred,
|
|
315
|
+
kwikset_unable_to_confirm_code_warning,
|
|
307
316
|
])
|
|
308
317
|
|
|
309
318
|
export type AccessCodeWarning = z.infer<typeof access_code_warning>
|
|
@@ -5,6 +5,9 @@ export const workspace = z.object({
|
|
|
5
5
|
name: z.string(),
|
|
6
6
|
company_name: z.string(),
|
|
7
7
|
is_sandbox: z.boolean(),
|
|
8
|
+
is_suspended: z
|
|
9
|
+
.boolean()
|
|
10
|
+
.describe('True if a sandbox workspace has not been accessed in 14 days'),
|
|
8
11
|
connect_partner_name: z
|
|
9
12
|
.string()
|
|
10
13
|
.nullable()
|
|
@@ -805,6 +805,21 @@ export default {
|
|
|
805
805
|
required: ['message', 'warning_code'],
|
|
806
806
|
type: 'object',
|
|
807
807
|
},
|
|
808
|
+
{
|
|
809
|
+
description:
|
|
810
|
+
'Unable to confirm the access code is set on Kwikset device.',
|
|
811
|
+
properties: {
|
|
812
|
+
message: { type: 'string' },
|
|
813
|
+
warning_code: {
|
|
814
|
+
description:
|
|
815
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
816
|
+
enum: ['kwikset_unable_to_confirm_code'],
|
|
817
|
+
type: 'string',
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
required: ['message', 'warning_code'],
|
|
821
|
+
type: 'object',
|
|
822
|
+
},
|
|
808
823
|
],
|
|
809
824
|
},
|
|
810
825
|
type: 'array',
|
|
@@ -12760,6 +12775,21 @@ export default {
|
|
|
12760
12775
|
required: ['message', 'warning_code'],
|
|
12761
12776
|
type: 'object',
|
|
12762
12777
|
},
|
|
12778
|
+
{
|
|
12779
|
+
description:
|
|
12780
|
+
'Unable to confirm the access code is set on Kwikset device.',
|
|
12781
|
+
properties: {
|
|
12782
|
+
message: { type: 'string' },
|
|
12783
|
+
warning_code: {
|
|
12784
|
+
description:
|
|
12785
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12786
|
+
enum: ['kwikset_unable_to_confirm_code'],
|
|
12787
|
+
type: 'string',
|
|
12788
|
+
},
|
|
12789
|
+
},
|
|
12790
|
+
required: ['message', 'warning_code'],
|
|
12791
|
+
type: 'object',
|
|
12792
|
+
},
|
|
12763
12793
|
],
|
|
12764
12794
|
},
|
|
12765
12795
|
type: 'array',
|
|
@@ -14362,6 +14392,11 @@ export default {
|
|
|
14362
14392
|
'x-deprecated': 'use company_name',
|
|
14363
14393
|
},
|
|
14364
14394
|
is_sandbox: { type: 'boolean' },
|
|
14395
|
+
is_suspended: {
|
|
14396
|
+
description:
|
|
14397
|
+
'True if a sandbox workspace has not been accessed in 14 days',
|
|
14398
|
+
type: 'boolean',
|
|
14399
|
+
},
|
|
14365
14400
|
name: { type: 'string' },
|
|
14366
14401
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
14367
14402
|
},
|
|
@@ -14370,6 +14405,7 @@ export default {
|
|
|
14370
14405
|
'name',
|
|
14371
14406
|
'company_name',
|
|
14372
14407
|
'is_sandbox',
|
|
14408
|
+
'is_suspended',
|
|
14373
14409
|
'connect_partner_name',
|
|
14374
14410
|
],
|
|
14375
14411
|
type: 'object',
|
|
@@ -18719,6 +18755,11 @@ export default {
|
|
|
18719
18755
|
nullable: true,
|
|
18720
18756
|
type: 'string',
|
|
18721
18757
|
},
|
|
18758
|
+
search: {
|
|
18759
|
+
description:
|
|
18760
|
+
'String to partial match between full_name, phone_number and email_address.',
|
|
18761
|
+
type: 'string',
|
|
18762
|
+
},
|
|
18722
18763
|
user_identity_email_address: {
|
|
18723
18764
|
description:
|
|
18724
18765
|
'Email address of the user identity for which you want to retrieve all `acs_user`s.',
|
|
@@ -1326,6 +1326,11 @@ export interface Routes {
|
|
|
1326
1326
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1327
1327
|
warning_code: 'management_transferred'
|
|
1328
1328
|
}
|
|
1329
|
+
| {
|
|
1330
|
+
message: string
|
|
1331
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1332
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
1333
|
+
}
|
|
1329
1334
|
>
|
|
1330
1335
|
/** Indicates whether Seam manages the access code. */
|
|
1331
1336
|
is_managed: true
|
|
@@ -1654,6 +1659,11 @@ export interface Routes {
|
|
|
1654
1659
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1655
1660
|
warning_code: 'management_transferred'
|
|
1656
1661
|
}
|
|
1662
|
+
| {
|
|
1663
|
+
message: string
|
|
1664
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1665
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
1666
|
+
}
|
|
1657
1667
|
>
|
|
1658
1668
|
/** Indicates whether Seam manages the access code. */
|
|
1659
1669
|
is_managed: true
|
|
@@ -3023,6 +3033,11 @@ export interface Routes {
|
|
|
3023
3033
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3024
3034
|
warning_code: 'management_transferred'
|
|
3025
3035
|
}
|
|
3036
|
+
| {
|
|
3037
|
+
message: string
|
|
3038
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3039
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
3040
|
+
}
|
|
3026
3041
|
>
|
|
3027
3042
|
/** Indicates whether Seam manages the access code. */
|
|
3028
3043
|
is_managed: true
|
|
@@ -3338,6 +3353,11 @@ export interface Routes {
|
|
|
3338
3353
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3339
3354
|
warning_code: 'management_transferred'
|
|
3340
3355
|
}
|
|
3356
|
+
| {
|
|
3357
|
+
message: string
|
|
3358
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3359
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
3360
|
+
}
|
|
3341
3361
|
>
|
|
3342
3362
|
/** Indicates whether Seam manages the access code. */
|
|
3343
3363
|
is_managed: true
|
|
@@ -3652,6 +3672,11 @@ export interface Routes {
|
|
|
3652
3672
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3653
3673
|
warning_code: 'management_transferred'
|
|
3654
3674
|
}
|
|
3675
|
+
| {
|
|
3676
|
+
message: string
|
|
3677
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3678
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
3679
|
+
}
|
|
3655
3680
|
>
|
|
3656
3681
|
/** Indicates whether Seam manages the access code. */
|
|
3657
3682
|
is_managed: true
|
|
@@ -3954,6 +3979,11 @@ export interface Routes {
|
|
|
3954
3979
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3955
3980
|
warning_code: 'management_transferred'
|
|
3956
3981
|
}
|
|
3982
|
+
| {
|
|
3983
|
+
message: string
|
|
3984
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3985
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
3986
|
+
}
|
|
3957
3987
|
>
|
|
3958
3988
|
/** Indicates whether Seam manages the access code. */
|
|
3959
3989
|
is_managed: true
|
|
@@ -4264,6 +4294,11 @@ export interface Routes {
|
|
|
4264
4294
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4265
4295
|
warning_code: 'management_transferred'
|
|
4266
4296
|
}
|
|
4297
|
+
| {
|
|
4298
|
+
message: string
|
|
4299
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4300
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
4301
|
+
}
|
|
4267
4302
|
>
|
|
4268
4303
|
is_managed: false
|
|
4269
4304
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -5609,6 +5644,11 @@ export interface Routes {
|
|
|
5609
5644
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5610
5645
|
warning_code: 'management_transferred'
|
|
5611
5646
|
}
|
|
5647
|
+
| {
|
|
5648
|
+
message: string
|
|
5649
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5650
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
5651
|
+
}
|
|
5612
5652
|
>
|
|
5613
5653
|
is_managed: false
|
|
5614
5654
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -5901,6 +5941,11 @@ export interface Routes {
|
|
|
5901
5941
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5902
5942
|
warning_code: 'management_transferred'
|
|
5903
5943
|
}
|
|
5944
|
+
| {
|
|
5945
|
+
message: string
|
|
5946
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5947
|
+
warning_code: 'kwikset_unable_to_confirm_code'
|
|
5948
|
+
}
|
|
5904
5949
|
>
|
|
5905
5950
|
is_managed: false
|
|
5906
5951
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -12451,6 +12496,8 @@ export interface Routes {
|
|
|
12451
12496
|
acs_system_id?: string | undefined
|
|
12452
12497
|
/** Maximum number of records to return per page. */
|
|
12453
12498
|
limit?: number
|
|
12499
|
+
/** String to partial match between full_name, phone_number and email_address. */
|
|
12500
|
+
search?: string | undefined
|
|
12454
12501
|
created_before?: Date | undefined
|
|
12455
12502
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
12456
12503
|
page_cursor?: (string | undefined) | null
|
|
@@ -45462,6 +45509,8 @@ export interface Routes {
|
|
|
45462
45509
|
name: string
|
|
45463
45510
|
company_name: string
|
|
45464
45511
|
is_sandbox: boolean
|
|
45512
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
45513
|
+
is_suspended: boolean
|
|
45465
45514
|
/**
|
|
45466
45515
|
* @deprecated use company_name */
|
|
45467
45516
|
connect_partner_name: (string | null) | null
|
|
@@ -45482,6 +45531,8 @@ export interface Routes {
|
|
|
45482
45531
|
name: string
|
|
45483
45532
|
company_name: string
|
|
45484
45533
|
is_sandbox: boolean
|
|
45534
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
45535
|
+
is_suspended: boolean
|
|
45485
45536
|
/**
|
|
45486
45537
|
* @deprecated use company_name */
|
|
45487
45538
|
connect_partner_name: (string | null) | null
|
|
@@ -45501,6 +45552,8 @@ export interface Routes {
|
|
|
45501
45552
|
name: string
|
|
45502
45553
|
company_name: string
|
|
45503
45554
|
is_sandbox: boolean
|
|
45555
|
+
/** True if a sandbox workspace has not been accessed in 14 days */
|
|
45556
|
+
is_suspended: boolean
|
|
45504
45557
|
/**
|
|
45505
45558
|
* @deprecated use company_name */
|
|
45506
45559
|
connect_partner_name: (string | null) | null
|