@seamapi/types 1.235.0 → 1.236.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 +97 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +135 -5
- package/lib/seam/connect/models/acs/acs-user.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-user.js +1 -1
- package/lib/seam/connect/openapi.d.ts +129 -1
- package/lib/seam/connect/openapi.js +95 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3 -1
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +95 -3
- package/src/lib/seam/connect/route-types.ts +3 -1
- package/src/lib/seam/connect/schemas.ts +1 -1
|
@@ -16,6 +16,7 @@ export interface Routes {
|
|
|
16
16
|
use_backup_access_code_pool?: boolean | undefined;
|
|
17
17
|
allow_external_modification?: boolean | undefined;
|
|
18
18
|
is_external_modification_allowed?: boolean | undefined;
|
|
19
|
+
preferred_code_length?: number | undefined;
|
|
19
20
|
use_offline_access_code?: boolean | undefined;
|
|
20
21
|
is_offline_access_code?: boolean | undefined;
|
|
21
22
|
is_one_time_use?: boolean | undefined;
|
|
@@ -1727,6 +1728,7 @@ export interface Routes {
|
|
|
1727
1728
|
use_backup_access_code_pool?: boolean | undefined;
|
|
1728
1729
|
allow_external_modification?: boolean | undefined;
|
|
1729
1730
|
is_external_modification_allowed?: boolean | undefined;
|
|
1731
|
+
preferred_code_length?: number | undefined;
|
|
1730
1732
|
use_offline_access_code?: boolean | undefined;
|
|
1731
1733
|
is_offline_access_code?: boolean | undefined;
|
|
1732
1734
|
is_one_time_use?: boolean | undefined;
|
|
@@ -3521,7 +3523,7 @@ export interface Routes {
|
|
|
3521
3523
|
email?: string | undefined;
|
|
3522
3524
|
email_address?: string | undefined;
|
|
3523
3525
|
phone_number?: string | undefined;
|
|
3524
|
-
is_managed:
|
|
3526
|
+
is_managed: false;
|
|
3525
3527
|
};
|
|
3526
3528
|
};
|
|
3527
3529
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system,
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system,
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -76,11 +76,11 @@ export const acs_user = common_acs_user.merge(
|
|
|
76
76
|
}),
|
|
77
77
|
)
|
|
78
78
|
|
|
79
|
-
export const
|
|
79
|
+
export const unmanaged_acs_user = common_acs_user.merge(
|
|
80
80
|
z.object({
|
|
81
81
|
is_managed: z.literal(false),
|
|
82
82
|
}),
|
|
83
83
|
)
|
|
84
84
|
|
|
85
85
|
export type AcsUser = z.output<typeof acs_user>
|
|
86
|
-
export type AcsUnmanagedUser = z.output<typeof
|
|
86
|
+
export type AcsUnmanagedUser = z.output<typeof unmanaged_acs_user>
|
|
@@ -4062,6 +4062,7 @@ export default {
|
|
|
4062
4062
|
},
|
|
4063
4063
|
name: { type: 'string' },
|
|
4064
4064
|
prefer_native_scheduling: { type: 'boolean' },
|
|
4065
|
+
preferred_code_length: { format: 'float', type: 'number' },
|
|
4065
4066
|
starts_at: { type: 'string' },
|
|
4066
4067
|
sync: { default: false, type: 'boolean' },
|
|
4067
4068
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
@@ -4958,6 +4959,7 @@ export default {
|
|
|
4958
4959
|
},
|
|
4959
4960
|
name: { type: 'string' },
|
|
4960
4961
|
prefer_native_scheduling: { type: 'boolean' },
|
|
4962
|
+
preferred_code_length: { format: 'float', type: 'number' },
|
|
4961
4963
|
starts_at: { type: 'string' },
|
|
4962
4964
|
sync: { default: false, type: 'boolean' },
|
|
4963
4965
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
@@ -5033,6 +5035,7 @@ export default {
|
|
|
5033
5035
|
},
|
|
5034
5036
|
name: { type: 'string' },
|
|
5035
5037
|
prefer_native_scheduling: { type: 'boolean' },
|
|
5038
|
+
preferred_code_length: { format: 'float', type: 'number' },
|
|
5036
5039
|
starts_at: { type: 'string' },
|
|
5037
5040
|
sync: { default: false, type: 'boolean' },
|
|
5038
5041
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
@@ -5109,6 +5112,7 @@ export default {
|
|
|
5109
5112
|
},
|
|
5110
5113
|
name: { type: 'string' },
|
|
5111
5114
|
prefer_native_scheduling: { type: 'boolean' },
|
|
5115
|
+
preferred_code_length: { format: 'float', type: 'number' },
|
|
5112
5116
|
starts_at: { type: 'string' },
|
|
5113
5117
|
sync: { default: false, type: 'boolean' },
|
|
5114
5118
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
@@ -5575,7 +5579,7 @@ export default {
|
|
|
5575
5579
|
tags: ['/acs'],
|
|
5576
5580
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5577
5581
|
'x-fern-sdk-method-name': 'get',
|
|
5578
|
-
'x-fern-sdk-return-value': '
|
|
5582
|
+
'x-fern-sdk-return-value': 'acs_access_group',
|
|
5579
5583
|
},
|
|
5580
5584
|
},
|
|
5581
5585
|
'/acs/access_groups/unmanaged/list': {
|
|
@@ -5678,7 +5682,7 @@ export default {
|
|
|
5678
5682
|
tags: ['/acs'],
|
|
5679
5683
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5680
5684
|
'x-fern-sdk-method-name': 'list',
|
|
5681
|
-
'x-fern-sdk-return-value': '
|
|
5685
|
+
'x-fern-sdk-return-value': 'acs_access_groups',
|
|
5682
5686
|
},
|
|
5683
5687
|
},
|
|
5684
5688
|
'/acs/credential_pools/list': {
|
|
@@ -7605,7 +7609,95 @@ export default {
|
|
|
7605
7609
|
'application/json': {
|
|
7606
7610
|
schema: {
|
|
7607
7611
|
properties: {
|
|
7608
|
-
acs_user: {
|
|
7612
|
+
acs_user: {
|
|
7613
|
+
properties: {
|
|
7614
|
+
access_schedule: {
|
|
7615
|
+
properties: {
|
|
7616
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
7617
|
+
starts_at: { format: 'date-time', type: 'string' },
|
|
7618
|
+
},
|
|
7619
|
+
required: ['starts_at', 'ends_at'],
|
|
7620
|
+
type: 'object',
|
|
7621
|
+
},
|
|
7622
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7623
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
7624
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7625
|
+
display_name: { type: 'string' },
|
|
7626
|
+
email: {
|
|
7627
|
+
deprecated: true,
|
|
7628
|
+
format: 'email',
|
|
7629
|
+
type: 'string',
|
|
7630
|
+
'x-deprecated': 'use email_address.',
|
|
7631
|
+
},
|
|
7632
|
+
email_address: { format: 'email', type: 'string' },
|
|
7633
|
+
external_type: {
|
|
7634
|
+
enum: [
|
|
7635
|
+
'pti_user',
|
|
7636
|
+
'brivo_user',
|
|
7637
|
+
'hid_credential_manager_user',
|
|
7638
|
+
'salto_site_user',
|
|
7639
|
+
'latch_user',
|
|
7640
|
+
],
|
|
7641
|
+
type: 'string',
|
|
7642
|
+
},
|
|
7643
|
+
external_type_display_name: { type: 'string' },
|
|
7644
|
+
full_name: { type: 'string' },
|
|
7645
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
7646
|
+
is_latest_desired_state_synced_with_provider: {
|
|
7647
|
+
type: 'boolean',
|
|
7648
|
+
},
|
|
7649
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
7650
|
+
is_suspended: { type: 'boolean' },
|
|
7651
|
+
latest_desired_state_synced_with_provider_at: {
|
|
7652
|
+
format: 'date-time',
|
|
7653
|
+
type: 'string',
|
|
7654
|
+
},
|
|
7655
|
+
phone_number: { type: 'string' },
|
|
7656
|
+
user_identity_email_address: {
|
|
7657
|
+
nullable: true,
|
|
7658
|
+
type: 'string',
|
|
7659
|
+
},
|
|
7660
|
+
user_identity_full_name: {
|
|
7661
|
+
nullable: true,
|
|
7662
|
+
type: 'string',
|
|
7663
|
+
},
|
|
7664
|
+
user_identity_id: { type: 'string' },
|
|
7665
|
+
user_identity_phone_number: {
|
|
7666
|
+
nullable: true,
|
|
7667
|
+
type: 'string',
|
|
7668
|
+
},
|
|
7669
|
+
warnings: {
|
|
7670
|
+
items: {
|
|
7671
|
+
properties: {
|
|
7672
|
+
created_at: {
|
|
7673
|
+
format: 'date-time',
|
|
7674
|
+
type: 'string',
|
|
7675
|
+
},
|
|
7676
|
+
message: { type: 'string' },
|
|
7677
|
+
warning_code: {
|
|
7678
|
+
enum: ['being_deleted'],
|
|
7679
|
+
type: 'string',
|
|
7680
|
+
},
|
|
7681
|
+
},
|
|
7682
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
7683
|
+
type: 'object',
|
|
7684
|
+
},
|
|
7685
|
+
type: 'array',
|
|
7686
|
+
},
|
|
7687
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
7688
|
+
},
|
|
7689
|
+
required: [
|
|
7690
|
+
'acs_user_id',
|
|
7691
|
+
'acs_system_id',
|
|
7692
|
+
'workspace_id',
|
|
7693
|
+
'created_at',
|
|
7694
|
+
'display_name',
|
|
7695
|
+
'is_suspended',
|
|
7696
|
+
'warnings',
|
|
7697
|
+
'is_managed',
|
|
7698
|
+
],
|
|
7699
|
+
type: 'object',
|
|
7700
|
+
},
|
|
7609
7701
|
ok: { type: 'boolean' },
|
|
7610
7702
|
},
|
|
7611
7703
|
required: ['acs_user', 'ok'],
|
|
@@ -16,6 +16,7 @@ export interface Routes {
|
|
|
16
16
|
use_backup_access_code_pool?: boolean | undefined
|
|
17
17
|
allow_external_modification?: boolean | undefined
|
|
18
18
|
is_external_modification_allowed?: boolean | undefined
|
|
19
|
+
preferred_code_length?: number | undefined
|
|
19
20
|
use_offline_access_code?: boolean | undefined
|
|
20
21
|
is_offline_access_code?: boolean | undefined
|
|
21
22
|
is_one_time_use?: boolean | undefined
|
|
@@ -1894,6 +1895,7 @@ export interface Routes {
|
|
|
1894
1895
|
use_backup_access_code_pool?: boolean | undefined
|
|
1895
1896
|
allow_external_modification?: boolean | undefined
|
|
1896
1897
|
is_external_modification_allowed?: boolean | undefined
|
|
1898
|
+
preferred_code_length?: number | undefined
|
|
1897
1899
|
use_offline_access_code?: boolean | undefined
|
|
1898
1900
|
is_offline_access_code?: boolean | undefined
|
|
1899
1901
|
is_one_time_use?: boolean | undefined
|
|
@@ -4059,7 +4061,7 @@ export interface Routes {
|
|
|
4059
4061
|
email?: string | undefined
|
|
4060
4062
|
email_address?: string | undefined
|
|
4061
4063
|
phone_number?: string | undefined
|
|
4062
|
-
is_managed:
|
|
4064
|
+
is_managed: false
|
|
4063
4065
|
}
|
|
4064
4066
|
}
|
|
4065
4067
|
}
|
|
@@ -4,7 +4,6 @@ export {
|
|
|
4
4
|
acs_credential,
|
|
5
5
|
acs_entrance,
|
|
6
6
|
acs_system,
|
|
7
|
-
acs_unmanaged_user,
|
|
8
7
|
acs_user,
|
|
9
8
|
action_attempt,
|
|
10
9
|
client_session,
|
|
@@ -19,6 +18,7 @@ export {
|
|
|
19
18
|
unmanaged_access_code,
|
|
20
19
|
unmanaged_acs_access_group,
|
|
21
20
|
unmanaged_acs_credential,
|
|
21
|
+
unmanaged_acs_user,
|
|
22
22
|
unmanaged_device,
|
|
23
23
|
user_identity,
|
|
24
24
|
webhook,
|