@seamapi/types 1.229.1 → 1.231.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 +51 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +124 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.js +1 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- 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 +66 -0
- package/lib/seam/connect/openapi.js +47 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +55 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +47 -1
- package/src/lib/seam/connect/route-types.ts +65 -4
|
@@ -2327,7 +2327,7 @@ export interface Routes {
|
|
|
2327
2327
|
display_name: string;
|
|
2328
2328
|
code?: (string | undefined) | null;
|
|
2329
2329
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2330
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2330
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2331
2331
|
external_type_display_name?: string | undefined;
|
|
2332
2332
|
created_at: string;
|
|
2333
2333
|
workspace_id: string;
|
|
@@ -2389,7 +2389,7 @@ export interface Routes {
|
|
|
2389
2389
|
display_name: string;
|
|
2390
2390
|
code?: (string | undefined) | null;
|
|
2391
2391
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2392
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2392
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2393
2393
|
external_type_display_name?: string | undefined;
|
|
2394
2394
|
created_at: string;
|
|
2395
2395
|
workspace_id: string;
|
|
@@ -2445,7 +2445,7 @@ export interface Routes {
|
|
|
2445
2445
|
display_name: string;
|
|
2446
2446
|
code?: (string | undefined) | null;
|
|
2447
2447
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2448
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2448
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2449
2449
|
external_type_display_name?: string | undefined;
|
|
2450
2450
|
created_at: string;
|
|
2451
2451
|
workspace_id: string;
|
|
@@ -2501,7 +2501,7 @@ export interface Routes {
|
|
|
2501
2501
|
display_name: string;
|
|
2502
2502
|
code?: (string | undefined) | null;
|
|
2503
2503
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2504
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2504
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2505
2505
|
external_type_display_name?: string | undefined;
|
|
2506
2506
|
created_at: string;
|
|
2507
2507
|
workspace_id: string;
|
|
@@ -2583,7 +2583,7 @@ export interface Routes {
|
|
|
2583
2583
|
display_name: string;
|
|
2584
2584
|
code?: (string | undefined) | null;
|
|
2585
2585
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2586
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2586
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2587
2587
|
external_type_display_name?: string | undefined;
|
|
2588
2588
|
created_at: string;
|
|
2589
2589
|
workspace_id: string;
|
|
@@ -2630,7 +2630,7 @@ export interface Routes {
|
|
|
2630
2630
|
display_name: string;
|
|
2631
2631
|
code?: (string | undefined) | null;
|
|
2632
2632
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2633
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2633
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2634
2634
|
external_type_display_name?: string | undefined;
|
|
2635
2635
|
created_at: string;
|
|
2636
2636
|
workspace_id: string;
|
|
@@ -2761,7 +2761,7 @@ export interface Routes {
|
|
|
2761
2761
|
display_name: string;
|
|
2762
2762
|
code?: (string | undefined) | null;
|
|
2763
2763
|
access_method: 'code' | 'card' | 'mobile_key';
|
|
2764
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
2764
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
2765
2765
|
external_type_display_name?: string | undefined;
|
|
2766
2766
|
created_at: string;
|
|
2767
2767
|
workspace_id: string;
|
|
@@ -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';
|
|
@@ -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
|
|
|
@@ -265,6 +265,7 @@ export default {
|
|
|
265
265
|
'brivo_credential',
|
|
266
266
|
'hid_credential',
|
|
267
267
|
'visionline_card',
|
|
268
|
+
'salto_ks_credential',
|
|
268
269
|
],
|
|
269
270
|
type: 'string',
|
|
270
271
|
},
|
|
@@ -543,7 +544,7 @@ export default {
|
|
|
543
544
|
},
|
|
544
545
|
error_code: {
|
|
545
546
|
description:
|
|
546
|
-
'
|
|
547
|
+
'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
548
|
enum: ['salto_site_user_limit_reached'],
|
|
548
549
|
type: 'string',
|
|
549
550
|
},
|
|
@@ -7030,6 +7031,51 @@ export default {
|
|
|
7030
7031
|
'x-fern-sdk-method-name': 'suspend',
|
|
7031
7032
|
},
|
|
7032
7033
|
},
|
|
7034
|
+
'/acs/users/unmanaged/get': {
|
|
7035
|
+
post: {
|
|
7036
|
+
operationId: 'acsUsersUnmanagedGetPost',
|
|
7037
|
+
requestBody: {
|
|
7038
|
+
content: {
|
|
7039
|
+
'application/json': {
|
|
7040
|
+
schema: {
|
|
7041
|
+
properties: { acs_user_id: { format: 'uuid', type: 'string' } },
|
|
7042
|
+
required: ['acs_user_id'],
|
|
7043
|
+
type: 'object',
|
|
7044
|
+
},
|
|
7045
|
+
},
|
|
7046
|
+
},
|
|
7047
|
+
},
|
|
7048
|
+
responses: {
|
|
7049
|
+
200: {
|
|
7050
|
+
content: {
|
|
7051
|
+
'application/json': {
|
|
7052
|
+
schema: {
|
|
7053
|
+
properties: {
|
|
7054
|
+
acs_user: { $ref: '#/components/schemas/acs_user' },
|
|
7055
|
+
ok: { type: 'boolean' },
|
|
7056
|
+
},
|
|
7057
|
+
required: ['acs_user', 'ok'],
|
|
7058
|
+
type: 'object',
|
|
7059
|
+
},
|
|
7060
|
+
},
|
|
7061
|
+
},
|
|
7062
|
+
description: 'OK',
|
|
7063
|
+
},
|
|
7064
|
+
400: { description: 'Bad Request' },
|
|
7065
|
+
401: { description: 'Unauthorized' },
|
|
7066
|
+
},
|
|
7067
|
+
security: [
|
|
7068
|
+
{ pat_with_workspace: [] },
|
|
7069
|
+
{ console_session: [] },
|
|
7070
|
+
{ api_key: [] },
|
|
7071
|
+
],
|
|
7072
|
+
summary: '/acs/users/unmanaged/get',
|
|
7073
|
+
tags: ['/acs'],
|
|
7074
|
+
'x-fern-sdk-group-name': ['acs', 'users', 'unmanaged'],
|
|
7075
|
+
'x-fern-sdk-method-name': 'get',
|
|
7076
|
+
'x-fern-sdk-return-value': 'acs_user',
|
|
7077
|
+
},
|
|
7078
|
+
},
|
|
7033
7079
|
'/acs/users/unsuspend': {
|
|
7034
7080
|
post: {
|
|
7035
7081
|
operationId: 'acsUsersUnsuspendPost',
|
|
@@ -2582,6 +2582,7 @@ export interface Routes {
|
|
|
2582
2582
|
| 'brivo_credential'
|
|
2583
2583
|
| 'hid_credential'
|
|
2584
2584
|
| 'visionline_card'
|
|
2585
|
+
| 'salto_ks_credential'
|
|
2585
2586
|
)
|
|
2586
2587
|
| undefined
|
|
2587
2588
|
external_type_display_name?: string | undefined
|
|
@@ -2657,6 +2658,7 @@ export interface Routes {
|
|
|
2657
2658
|
| 'brivo_credential'
|
|
2658
2659
|
| 'hid_credential'
|
|
2659
2660
|
| 'visionline_card'
|
|
2661
|
+
| 'salto_ks_credential'
|
|
2660
2662
|
)
|
|
2661
2663
|
| undefined
|
|
2662
2664
|
external_type_display_name?: string | undefined
|
|
@@ -2722,6 +2724,7 @@ export interface Routes {
|
|
|
2722
2724
|
| 'brivo_credential'
|
|
2723
2725
|
| 'hid_credential'
|
|
2724
2726
|
| 'visionline_card'
|
|
2727
|
+
| 'salto_ks_credential'
|
|
2725
2728
|
)
|
|
2726
2729
|
| undefined
|
|
2727
2730
|
external_type_display_name?: string | undefined
|
|
@@ -2792,6 +2795,7 @@ export interface Routes {
|
|
|
2792
2795
|
| 'brivo_credential'
|
|
2793
2796
|
| 'hid_credential'
|
|
2794
2797
|
| 'visionline_card'
|
|
2798
|
+
| 'salto_ks_credential'
|
|
2795
2799
|
)
|
|
2796
2800
|
| undefined
|
|
2797
2801
|
external_type_display_name?: string | undefined
|
|
@@ -2894,6 +2898,7 @@ export interface Routes {
|
|
|
2894
2898
|
| 'brivo_credential'
|
|
2895
2899
|
| 'hid_credential'
|
|
2896
2900
|
| 'visionline_card'
|
|
2901
|
+
| 'salto_ks_credential'
|
|
2897
2902
|
)
|
|
2898
2903
|
| undefined
|
|
2899
2904
|
external_type_display_name?: string | undefined
|
|
@@ -2950,6 +2955,7 @@ export interface Routes {
|
|
|
2950
2955
|
| 'brivo_credential'
|
|
2951
2956
|
| 'hid_credential'
|
|
2952
2957
|
| 'visionline_card'
|
|
2958
|
+
| 'salto_ks_credential'
|
|
2953
2959
|
)
|
|
2954
2960
|
| undefined
|
|
2955
2961
|
external_type_display_name?: string | undefined
|
|
@@ -3112,6 +3118,7 @@ export interface Routes {
|
|
|
3112
3118
|
| 'brivo_credential'
|
|
3113
3119
|
| 'hid_credential'
|
|
3114
3120
|
| 'visionline_card'
|
|
3121
|
+
| 'salto_ks_credential'
|
|
3115
3122
|
)
|
|
3116
3123
|
| undefined
|
|
3117
3124
|
external_type_display_name?: string | undefined
|
|
@@ -3230,7 +3237,7 @@ export interface Routes {
|
|
|
3230
3237
|
created_at: string
|
|
3231
3238
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3232
3239
|
message: string
|
|
3233
|
-
/**
|
|
3240
|
+
/** 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
3241
|
error_code: 'salto_site_user_limit_reached'
|
|
3235
3242
|
}
|
|
3236
3243
|
>
|
|
@@ -3342,7 +3349,7 @@ export interface Routes {
|
|
|
3342
3349
|
created_at: string
|
|
3343
3350
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3344
3351
|
message: string
|
|
3345
|
-
/**
|
|
3352
|
+
/** 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
3353
|
error_code: 'salto_site_user_limit_reached'
|
|
3347
3354
|
}
|
|
3348
3355
|
>
|
|
@@ -3454,7 +3461,7 @@ export interface Routes {
|
|
|
3454
3461
|
created_at: string
|
|
3455
3462
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3456
3463
|
message: string
|
|
3457
|
-
/**
|
|
3464
|
+
/** 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
3465
|
error_code: 'salto_site_user_limit_reached'
|
|
3459
3466
|
}
|
|
3460
3467
|
>
|
|
@@ -3763,6 +3770,60 @@ export interface Routes {
|
|
|
3763
3770
|
formData: {}
|
|
3764
3771
|
jsonResponse: {}
|
|
3765
3772
|
}
|
|
3773
|
+
'/acs/users/unmanaged/get': {
|
|
3774
|
+
route: '/acs/users/unmanaged/get'
|
|
3775
|
+
method: 'GET' | 'POST'
|
|
3776
|
+
queryParams: {}
|
|
3777
|
+
jsonBody: {}
|
|
3778
|
+
commonParams: {
|
|
3779
|
+
acs_user_id: string
|
|
3780
|
+
}
|
|
3781
|
+
formData: {}
|
|
3782
|
+
jsonResponse: {
|
|
3783
|
+
acs_user: {
|
|
3784
|
+
acs_user_id: string
|
|
3785
|
+
acs_system_id: string
|
|
3786
|
+
hid_acs_system_id?: string | undefined
|
|
3787
|
+
workspace_id: string
|
|
3788
|
+
created_at: string
|
|
3789
|
+
display_name: string
|
|
3790
|
+
external_type?:
|
|
3791
|
+
| (
|
|
3792
|
+
| 'pti_user'
|
|
3793
|
+
| 'brivo_user'
|
|
3794
|
+
| 'hid_credential_manager_user'
|
|
3795
|
+
| 'salto_site_user'
|
|
3796
|
+
| 'latch_user'
|
|
3797
|
+
)
|
|
3798
|
+
| undefined
|
|
3799
|
+
external_type_display_name?: string | undefined
|
|
3800
|
+
is_suspended: boolean
|
|
3801
|
+
access_schedule?:
|
|
3802
|
+
| {
|
|
3803
|
+
starts_at: string
|
|
3804
|
+
ends_at: string
|
|
3805
|
+
}
|
|
3806
|
+
| undefined
|
|
3807
|
+
user_identity_id?: string | undefined
|
|
3808
|
+
user_identity_full_name?: (string | null) | undefined
|
|
3809
|
+
user_identity_email_address?: (string | null) | undefined
|
|
3810
|
+
user_identity_phone_number?: (string | null) | undefined
|
|
3811
|
+
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
3812
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
3813
|
+
warnings: Array<{
|
|
3814
|
+
created_at: string
|
|
3815
|
+
message: string
|
|
3816
|
+
warning_code: 'being_deleted'
|
|
3817
|
+
}>
|
|
3818
|
+
full_name?: string | undefined
|
|
3819
|
+
/**
|
|
3820
|
+
* @deprecated use email_address. */
|
|
3821
|
+
email?: string | undefined
|
|
3822
|
+
email_address?: string | undefined
|
|
3823
|
+
phone_number?: string | undefined
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3766
3827
|
'/acs/users/unsuspend': {
|
|
3767
3828
|
route: '/acs/users/unsuspend'
|
|
3768
3829
|
method: 'POST'
|
|
@@ -18015,7 +18076,7 @@ export interface Routes {
|
|
|
18015
18076
|
created_at: string
|
|
18016
18077
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
18017
18078
|
message: string
|
|
18018
|
-
/**
|
|
18079
|
+
/** 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
18080
|
error_code: 'salto_site_user_limit_reached'
|
|
18020
18081
|
}
|
|
18021
18082
|
>
|