@seamapi/types 1.235.0 → 1.235.1
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 +93 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +117 -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 +113 -1
- package/lib/seam/connect/openapi.js +91 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -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 +91 -3
- package/src/lib/seam/connect/route-types.ts +1 -1
- package/src/lib/seam/connect/schemas.ts +1 -1
|
@@ -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>
|
|
@@ -5575,7 +5575,7 @@ export default {
|
|
|
5575
5575
|
tags: ['/acs'],
|
|
5576
5576
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5577
5577
|
'x-fern-sdk-method-name': 'get',
|
|
5578
|
-
'x-fern-sdk-return-value': '
|
|
5578
|
+
'x-fern-sdk-return-value': 'acs_access_group',
|
|
5579
5579
|
},
|
|
5580
5580
|
},
|
|
5581
5581
|
'/acs/access_groups/unmanaged/list': {
|
|
@@ -5678,7 +5678,7 @@ export default {
|
|
|
5678
5678
|
tags: ['/acs'],
|
|
5679
5679
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5680
5680
|
'x-fern-sdk-method-name': 'list',
|
|
5681
|
-
'x-fern-sdk-return-value': '
|
|
5681
|
+
'x-fern-sdk-return-value': 'acs_access_groups',
|
|
5682
5682
|
},
|
|
5683
5683
|
},
|
|
5684
5684
|
'/acs/credential_pools/list': {
|
|
@@ -7605,7 +7605,95 @@ export default {
|
|
|
7605
7605
|
'application/json': {
|
|
7606
7606
|
schema: {
|
|
7607
7607
|
properties: {
|
|
7608
|
-
acs_user: {
|
|
7608
|
+
acs_user: {
|
|
7609
|
+
properties: {
|
|
7610
|
+
access_schedule: {
|
|
7611
|
+
properties: {
|
|
7612
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
7613
|
+
starts_at: { format: 'date-time', type: 'string' },
|
|
7614
|
+
},
|
|
7615
|
+
required: ['starts_at', 'ends_at'],
|
|
7616
|
+
type: 'object',
|
|
7617
|
+
},
|
|
7618
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7619
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
7620
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7621
|
+
display_name: { type: 'string' },
|
|
7622
|
+
email: {
|
|
7623
|
+
deprecated: true,
|
|
7624
|
+
format: 'email',
|
|
7625
|
+
type: 'string',
|
|
7626
|
+
'x-deprecated': 'use email_address.',
|
|
7627
|
+
},
|
|
7628
|
+
email_address: { format: 'email', type: 'string' },
|
|
7629
|
+
external_type: {
|
|
7630
|
+
enum: [
|
|
7631
|
+
'pti_user',
|
|
7632
|
+
'brivo_user',
|
|
7633
|
+
'hid_credential_manager_user',
|
|
7634
|
+
'salto_site_user',
|
|
7635
|
+
'latch_user',
|
|
7636
|
+
],
|
|
7637
|
+
type: 'string',
|
|
7638
|
+
},
|
|
7639
|
+
external_type_display_name: { type: 'string' },
|
|
7640
|
+
full_name: { type: 'string' },
|
|
7641
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
7642
|
+
is_latest_desired_state_synced_with_provider: {
|
|
7643
|
+
type: 'boolean',
|
|
7644
|
+
},
|
|
7645
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
7646
|
+
is_suspended: { type: 'boolean' },
|
|
7647
|
+
latest_desired_state_synced_with_provider_at: {
|
|
7648
|
+
format: 'date-time',
|
|
7649
|
+
type: 'string',
|
|
7650
|
+
},
|
|
7651
|
+
phone_number: { type: 'string' },
|
|
7652
|
+
user_identity_email_address: {
|
|
7653
|
+
nullable: true,
|
|
7654
|
+
type: 'string',
|
|
7655
|
+
},
|
|
7656
|
+
user_identity_full_name: {
|
|
7657
|
+
nullable: true,
|
|
7658
|
+
type: 'string',
|
|
7659
|
+
},
|
|
7660
|
+
user_identity_id: { type: 'string' },
|
|
7661
|
+
user_identity_phone_number: {
|
|
7662
|
+
nullable: true,
|
|
7663
|
+
type: 'string',
|
|
7664
|
+
},
|
|
7665
|
+
warnings: {
|
|
7666
|
+
items: {
|
|
7667
|
+
properties: {
|
|
7668
|
+
created_at: {
|
|
7669
|
+
format: 'date-time',
|
|
7670
|
+
type: 'string',
|
|
7671
|
+
},
|
|
7672
|
+
message: { type: 'string' },
|
|
7673
|
+
warning_code: {
|
|
7674
|
+
enum: ['being_deleted'],
|
|
7675
|
+
type: 'string',
|
|
7676
|
+
},
|
|
7677
|
+
},
|
|
7678
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
7679
|
+
type: 'object',
|
|
7680
|
+
},
|
|
7681
|
+
type: 'array',
|
|
7682
|
+
},
|
|
7683
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
7684
|
+
},
|
|
7685
|
+
required: [
|
|
7686
|
+
'acs_user_id',
|
|
7687
|
+
'acs_system_id',
|
|
7688
|
+
'workspace_id',
|
|
7689
|
+
'created_at',
|
|
7690
|
+
'display_name',
|
|
7691
|
+
'is_suspended',
|
|
7692
|
+
'warnings',
|
|
7693
|
+
'is_managed',
|
|
7694
|
+
],
|
|
7695
|
+
type: 'object',
|
|
7696
|
+
},
|
|
7609
7697
|
ok: { type: 'boolean' },
|
|
7610
7698
|
},
|
|
7611
7699
|
required: ['acs_user', 'ok'],
|
|
@@ -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,
|