@seamapi/types 1.229.0 → 1.230.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 +49 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +118 -6
- package/lib/seam/connect/models/acs/acs-system.js +1 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +68 -0
- package/lib/seam/connect/openapi.js +48 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +50 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +48 -1
- package/src/lib/seam/connect/route-types.ts +60 -6
|
@@ -2849,7 +2849,7 @@ export interface Routes {
|
|
|
2849
2849
|
created_at: string;
|
|
2850
2850
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2851
2851
|
message: string;
|
|
2852
|
-
/**
|
|
2852
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
2853
2853
|
error_code: 'salto_site_user_limit_reached';
|
|
2854
2854
|
}>;
|
|
2855
2855
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -2933,7 +2933,7 @@ export interface Routes {
|
|
|
2933
2933
|
created_at: string;
|
|
2934
2934
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2935
2935
|
message: string;
|
|
2936
|
-
/**
|
|
2936
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
2937
2937
|
error_code: 'salto_site_user_limit_reached';
|
|
2938
2938
|
}>;
|
|
2939
2939
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -3017,7 +3017,7 @@ export interface Routes {
|
|
|
3017
3017
|
created_at: string;
|
|
3018
3018
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3019
3019
|
message: string;
|
|
3020
|
-
/**
|
|
3020
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3021
3021
|
error_code: 'salto_site_user_limit_reached';
|
|
3022
3022
|
}>;
|
|
3023
3023
|
/** Warnings associated with the `acs_system`. */
|
|
@@ -3282,6 +3282,50 @@ export interface Routes {
|
|
|
3282
3282
|
formData: {};
|
|
3283
3283
|
jsonResponse: {};
|
|
3284
3284
|
};
|
|
3285
|
+
'/acs/users/unmanaged/get': {
|
|
3286
|
+
route: '/acs/users/unmanaged/get';
|
|
3287
|
+
method: 'GET' | 'POST';
|
|
3288
|
+
queryParams: {};
|
|
3289
|
+
jsonBody: {};
|
|
3290
|
+
commonParams: {
|
|
3291
|
+
acs_user_id: string;
|
|
3292
|
+
};
|
|
3293
|
+
formData: {};
|
|
3294
|
+
jsonResponse: {
|
|
3295
|
+
acs_user: {
|
|
3296
|
+
acs_user_id: string;
|
|
3297
|
+
acs_system_id: string;
|
|
3298
|
+
hid_acs_system_id?: string | undefined;
|
|
3299
|
+
workspace_id: string;
|
|
3300
|
+
created_at: string;
|
|
3301
|
+
display_name: string;
|
|
3302
|
+
external_type?: ('pti_user' | 'brivo_user' | 'hid_credential_manager_user' | 'salto_site_user' | 'latch_user') | undefined;
|
|
3303
|
+
external_type_display_name?: string | undefined;
|
|
3304
|
+
is_suspended: boolean;
|
|
3305
|
+
access_schedule?: {
|
|
3306
|
+
starts_at: string;
|
|
3307
|
+
ends_at: string;
|
|
3308
|
+
} | undefined;
|
|
3309
|
+
user_identity_id?: string | undefined;
|
|
3310
|
+
user_identity_full_name?: (string | null) | undefined;
|
|
3311
|
+
user_identity_email_address?: (string | null) | undefined;
|
|
3312
|
+
user_identity_phone_number?: (string | null) | undefined;
|
|
3313
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
3314
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
3315
|
+
warnings: Array<{
|
|
3316
|
+
created_at: string;
|
|
3317
|
+
message: string;
|
|
3318
|
+
warning_code: 'being_deleted';
|
|
3319
|
+
}>;
|
|
3320
|
+
full_name?: string | undefined;
|
|
3321
|
+
/**
|
|
3322
|
+
* @deprecated use email_address. */
|
|
3323
|
+
email?: string | undefined;
|
|
3324
|
+
email_address?: string | undefined;
|
|
3325
|
+
phone_number?: string | undefined;
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3285
3329
|
'/acs/users/unsuspend': {
|
|
3286
3330
|
route: '/acs/users/unsuspend';
|
|
3287
3331
|
method: 'POST';
|
|
@@ -3298,10 +3342,10 @@ export interface Routes {
|
|
|
3298
3342
|
method: 'PATCH' | 'POST';
|
|
3299
3343
|
queryParams: {};
|
|
3300
3344
|
jsonBody: {
|
|
3301
|
-
access_schedule?: {
|
|
3345
|
+
access_schedule?: ({
|
|
3302
3346
|
starts_at: string;
|
|
3303
3347
|
ends_at: string;
|
|
3304
|
-
} | undefined;
|
|
3348
|
+
} | null) | undefined;
|
|
3305
3349
|
acs_user_id: string;
|
|
3306
3350
|
full_name?: string | undefined;
|
|
3307
3351
|
/**
|
|
@@ -14128,7 +14172,7 @@ export interface Routes {
|
|
|
14128
14172
|
created_at: string;
|
|
14129
14173
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
14130
14174
|
message: string;
|
|
14131
|
-
/**
|
|
14175
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
14132
14176
|
error_code: 'salto_site_user_limit_reached';
|
|
14133
14177
|
}>;
|
|
14134
14178
|
/** Warnings associated with the `acs_system`. */
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ const salto_site_user_limit_reached = common_acs_system_error.extend({
|
|
|
77
77
|
error_code: z
|
|
78
78
|
.literal('salto_site_user_limit_reached')
|
|
79
79
|
.describe(
|
|
80
|
-
'
|
|
80
|
+
'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
|
|
81
81
|
),
|
|
82
82
|
})
|
|
83
83
|
|
|
@@ -543,7 +543,7 @@ export default {
|
|
|
543
543
|
},
|
|
544
544
|
error_code: {
|
|
545
545
|
description:
|
|
546
|
-
'
|
|
546
|
+
'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
|
|
547
547
|
enum: ['salto_site_user_limit_reached'],
|
|
548
548
|
type: 'string',
|
|
549
549
|
},
|
|
@@ -7030,6 +7030,51 @@ export default {
|
|
|
7030
7030
|
'x-fern-sdk-method-name': 'suspend',
|
|
7031
7031
|
},
|
|
7032
7032
|
},
|
|
7033
|
+
'/acs/users/unmanaged/get': {
|
|
7034
|
+
post: {
|
|
7035
|
+
operationId: 'acsUsersUnmanagedGetPost',
|
|
7036
|
+
requestBody: {
|
|
7037
|
+
content: {
|
|
7038
|
+
'application/json': {
|
|
7039
|
+
schema: {
|
|
7040
|
+
properties: { acs_user_id: { format: 'uuid', type: 'string' } },
|
|
7041
|
+
required: ['acs_user_id'],
|
|
7042
|
+
type: 'object',
|
|
7043
|
+
},
|
|
7044
|
+
},
|
|
7045
|
+
},
|
|
7046
|
+
},
|
|
7047
|
+
responses: {
|
|
7048
|
+
200: {
|
|
7049
|
+
content: {
|
|
7050
|
+
'application/json': {
|
|
7051
|
+
schema: {
|
|
7052
|
+
properties: {
|
|
7053
|
+
acs_user: { $ref: '#/components/schemas/acs_user' },
|
|
7054
|
+
ok: { type: 'boolean' },
|
|
7055
|
+
},
|
|
7056
|
+
required: ['acs_user', 'ok'],
|
|
7057
|
+
type: 'object',
|
|
7058
|
+
},
|
|
7059
|
+
},
|
|
7060
|
+
},
|
|
7061
|
+
description: 'OK',
|
|
7062
|
+
},
|
|
7063
|
+
400: { description: 'Bad Request' },
|
|
7064
|
+
401: { description: 'Unauthorized' },
|
|
7065
|
+
},
|
|
7066
|
+
security: [
|
|
7067
|
+
{ pat_with_workspace: [] },
|
|
7068
|
+
{ console_session: [] },
|
|
7069
|
+
{ api_key: [] },
|
|
7070
|
+
],
|
|
7071
|
+
summary: '/acs/users/unmanaged/get',
|
|
7072
|
+
tags: ['/acs'],
|
|
7073
|
+
'x-fern-sdk-group-name': ['acs', 'users', 'unmanaged'],
|
|
7074
|
+
'x-fern-sdk-method-name': 'get',
|
|
7075
|
+
'x-fern-sdk-return-value': 'acs_user',
|
|
7076
|
+
},
|
|
7077
|
+
},
|
|
7033
7078
|
'/acs/users/unsuspend': {
|
|
7034
7079
|
post: {
|
|
7035
7080
|
operationId: 'acsUsersUnsuspendPost',
|
|
@@ -7080,6 +7125,7 @@ export default {
|
|
|
7080
7125
|
schema: {
|
|
7081
7126
|
properties: {
|
|
7082
7127
|
access_schedule: {
|
|
7128
|
+
nullable: true,
|
|
7083
7129
|
properties: {
|
|
7084
7130
|
ends_at: { format: 'date-time', type: 'string' },
|
|
7085
7131
|
starts_at: { format: 'date-time', type: 'string' },
|
|
@@ -7138,6 +7184,7 @@ export default {
|
|
|
7138
7184
|
schema: {
|
|
7139
7185
|
properties: {
|
|
7140
7186
|
access_schedule: {
|
|
7187
|
+
nullable: true,
|
|
7141
7188
|
properties: {
|
|
7142
7189
|
ends_at: { format: 'date-time', type: 'string' },
|
|
7143
7190
|
starts_at: { format: 'date-time', type: 'string' },
|
|
@@ -3230,7 +3230,7 @@ export interface Routes {
|
|
|
3230
3230
|
created_at: string
|
|
3231
3231
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3232
3232
|
message: string
|
|
3233
|
-
/**
|
|
3233
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3234
3234
|
error_code: 'salto_site_user_limit_reached'
|
|
3235
3235
|
}
|
|
3236
3236
|
>
|
|
@@ -3342,7 +3342,7 @@ export interface Routes {
|
|
|
3342
3342
|
created_at: string
|
|
3343
3343
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3344
3344
|
message: string
|
|
3345
|
-
/**
|
|
3345
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3346
3346
|
error_code: 'salto_site_user_limit_reached'
|
|
3347
3347
|
}
|
|
3348
3348
|
>
|
|
@@ -3454,7 +3454,7 @@ export interface Routes {
|
|
|
3454
3454
|
created_at: string
|
|
3455
3455
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3456
3456
|
message: string
|
|
3457
|
-
/**
|
|
3457
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
3458
3458
|
error_code: 'salto_site_user_limit_reached'
|
|
3459
3459
|
}
|
|
3460
3460
|
>
|
|
@@ -3763,6 +3763,60 @@ export interface Routes {
|
|
|
3763
3763
|
formData: {}
|
|
3764
3764
|
jsonResponse: {}
|
|
3765
3765
|
}
|
|
3766
|
+
'/acs/users/unmanaged/get': {
|
|
3767
|
+
route: '/acs/users/unmanaged/get'
|
|
3768
|
+
method: 'GET' | 'POST'
|
|
3769
|
+
queryParams: {}
|
|
3770
|
+
jsonBody: {}
|
|
3771
|
+
commonParams: {
|
|
3772
|
+
acs_user_id: string
|
|
3773
|
+
}
|
|
3774
|
+
formData: {}
|
|
3775
|
+
jsonResponse: {
|
|
3776
|
+
acs_user: {
|
|
3777
|
+
acs_user_id: string
|
|
3778
|
+
acs_system_id: string
|
|
3779
|
+
hid_acs_system_id?: string | undefined
|
|
3780
|
+
workspace_id: string
|
|
3781
|
+
created_at: string
|
|
3782
|
+
display_name: string
|
|
3783
|
+
external_type?:
|
|
3784
|
+
| (
|
|
3785
|
+
| 'pti_user'
|
|
3786
|
+
| 'brivo_user'
|
|
3787
|
+
| 'hid_credential_manager_user'
|
|
3788
|
+
| 'salto_site_user'
|
|
3789
|
+
| 'latch_user'
|
|
3790
|
+
)
|
|
3791
|
+
| undefined
|
|
3792
|
+
external_type_display_name?: string | undefined
|
|
3793
|
+
is_suspended: boolean
|
|
3794
|
+
access_schedule?:
|
|
3795
|
+
| {
|
|
3796
|
+
starts_at: string
|
|
3797
|
+
ends_at: string
|
|
3798
|
+
}
|
|
3799
|
+
| undefined
|
|
3800
|
+
user_identity_id?: string | undefined
|
|
3801
|
+
user_identity_full_name?: (string | null) | undefined
|
|
3802
|
+
user_identity_email_address?: (string | null) | undefined
|
|
3803
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
3804
|
+
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
3805
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
3806
|
+
warnings: Array<{
|
|
3807
|
+
created_at: string
|
|
3808
|
+
message: string
|
|
3809
|
+
warning_code: 'being_deleted'
|
|
3810
|
+
}>
|
|
3811
|
+
full_name?: string | undefined
|
|
3812
|
+
/**
|
|
3813
|
+
* @deprecated use email_address. */
|
|
3814
|
+
email?: string | undefined
|
|
3815
|
+
email_address?: string | undefined
|
|
3816
|
+
phone_number?: string | undefined
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3766
3820
|
'/acs/users/unsuspend': {
|
|
3767
3821
|
route: '/acs/users/unsuspend'
|
|
3768
3822
|
method: 'POST'
|
|
@@ -3780,10 +3834,10 @@ export interface Routes {
|
|
|
3780
3834
|
queryParams: {}
|
|
3781
3835
|
jsonBody: {
|
|
3782
3836
|
access_schedule?:
|
|
3783
|
-
| {
|
|
3837
|
+
| ({
|
|
3784
3838
|
starts_at: string
|
|
3785
3839
|
ends_at: string
|
|
3786
|
-
}
|
|
3840
|
+
} | null)
|
|
3787
3841
|
| undefined
|
|
3788
3842
|
acs_user_id: string
|
|
3789
3843
|
full_name?: string | undefined
|
|
@@ -18015,7 +18069,7 @@ export interface Routes {
|
|
|
18015
18069
|
created_at: string
|
|
18016
18070
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
18017
18071
|
message: string
|
|
18018
|
-
/**
|
|
18072
|
+
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
18019
18073
|
error_code: 'salto_site_user_limit_reached'
|
|
18020
18074
|
}
|
|
18021
18075
|
>
|