@seamapi/types 1.206.0 → 1.208.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 +39 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +72 -0
- package/lib/seam/connect/models/acs/acs-user.d.ts +64 -0
- package/lib/seam/connect/models/acs/acs-user.js +15 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +23 -0
- package/lib/seam/connect/openapi.js +20 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +22 -0
- package/src/lib/seam/connect/openapi.ts +22 -1
- package/src/lib/seam/connect/route-types.ts +26 -0
|
@@ -2201,6 +2201,11 @@ export interface Routes {
|
|
|
2201
2201
|
user_identity_phone_number?: (string | null) | undefined;
|
|
2202
2202
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2203
2203
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
2204
|
+
warnings: Array<{
|
|
2205
|
+
created_at: string;
|
|
2206
|
+
message: string;
|
|
2207
|
+
warning_code: 'being_deleted';
|
|
2208
|
+
}>;
|
|
2204
2209
|
full_name?: string | undefined;
|
|
2205
2210
|
/**
|
|
2206
2211
|
* @deprecated use email_address. */
|
|
@@ -2817,6 +2822,7 @@ export interface Routes {
|
|
|
2817
2822
|
queryParams: {};
|
|
2818
2823
|
jsonBody: {};
|
|
2819
2824
|
commonParams: {
|
|
2825
|
+
/** ID of the connected account by which to filter the list of returned access control systems. */
|
|
2820
2826
|
connected_account_id?: string | undefined;
|
|
2821
2827
|
};
|
|
2822
2828
|
formData: {};
|
|
@@ -2993,6 +2999,11 @@ export interface Routes {
|
|
|
2993
2999
|
user_identity_phone_number?: (string | null) | undefined;
|
|
2994
3000
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
2995
3001
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
3002
|
+
warnings: Array<{
|
|
3003
|
+
created_at: string;
|
|
3004
|
+
message: string;
|
|
3005
|
+
warning_code: 'being_deleted';
|
|
3006
|
+
}>;
|
|
2996
3007
|
full_name?: string | undefined;
|
|
2997
3008
|
/**
|
|
2998
3009
|
* @deprecated use email_address. */
|
|
@@ -3043,6 +3054,11 @@ export interface Routes {
|
|
|
3043
3054
|
user_identity_phone_number?: (string | null) | undefined;
|
|
3044
3055
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
3045
3056
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
3057
|
+
warnings: Array<{
|
|
3058
|
+
created_at: string;
|
|
3059
|
+
message: string;
|
|
3060
|
+
warning_code: 'being_deleted';
|
|
3061
|
+
}>;
|
|
3046
3062
|
full_name?: string | undefined;
|
|
3047
3063
|
/**
|
|
3048
3064
|
* @deprecated use email_address. */
|
|
@@ -3087,6 +3103,11 @@ export interface Routes {
|
|
|
3087
3103
|
user_identity_phone_number?: (string | null) | undefined;
|
|
3088
3104
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
3089
3105
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
3106
|
+
warnings: Array<{
|
|
3107
|
+
created_at: string;
|
|
3108
|
+
message: string;
|
|
3109
|
+
warning_code: 'being_deleted';
|
|
3110
|
+
}>;
|
|
3090
3111
|
full_name?: string | undefined;
|
|
3091
3112
|
/**
|
|
3092
3113
|
* @deprecated use email_address. */
|
|
@@ -14501,6 +14522,11 @@ export interface Routes {
|
|
|
14501
14522
|
user_identity_phone_number?: (string | null) | undefined;
|
|
14502
14523
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
14503
14524
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
14525
|
+
warnings: Array<{
|
|
14526
|
+
created_at: string;
|
|
14527
|
+
message: string;
|
|
14528
|
+
warning_code: 'being_deleted';
|
|
14529
|
+
}>;
|
|
14504
14530
|
full_name?: string | undefined;
|
|
14505
14531
|
/**
|
|
14506
14532
|
* @deprecated use email_address. */
|
package/package.json
CHANGED
|
@@ -13,6 +13,27 @@ export const acs_user_external_type = z.enum([
|
|
|
13
13
|
|
|
14
14
|
export type AcsUserExternalType = z.infer<typeof acs_user_external_type>
|
|
15
15
|
|
|
16
|
+
const common_acs_users_warning = z.object({
|
|
17
|
+
created_at: z.string().datetime(),
|
|
18
|
+
message: z.string(),
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
const acs_users_being_deleted = common_acs_users_warning.extend({
|
|
22
|
+
warning_code: z.literal('being_deleted'),
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
export const acs_users_warning_map = z.object({
|
|
26
|
+
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
export const acs_users_warning =
|
|
30
|
+
// TODO: once we have more than one warning we should use z.union
|
|
31
|
+
// z.union([
|
|
32
|
+
acs_users_being_deleted
|
|
33
|
+
// ])
|
|
34
|
+
|
|
35
|
+
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>
|
|
36
|
+
|
|
16
37
|
const user_fields = z.object({
|
|
17
38
|
full_name: z.string().optional(),
|
|
18
39
|
email: z.string().email().optional().describe(`
|
|
@@ -45,6 +66,7 @@ export const acs_user = z
|
|
|
45
66
|
.datetime()
|
|
46
67
|
.optional(),
|
|
47
68
|
is_latest_desired_state_synced_with_provider: z.boolean().optional(),
|
|
69
|
+
warnings: z.array(acs_users_warning),
|
|
48
70
|
})
|
|
49
71
|
.merge(user_fields)
|
|
50
72
|
|
|
@@ -657,6 +657,18 @@ export default {
|
|
|
657
657
|
user_identity_full_name: { nullable: true, type: 'string' },
|
|
658
658
|
user_identity_id: { type: 'string' },
|
|
659
659
|
user_identity_phone_number: { nullable: true, type: 'string' },
|
|
660
|
+
warnings: {
|
|
661
|
+
items: {
|
|
662
|
+
properties: {
|
|
663
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
664
|
+
message: { type: 'string' },
|
|
665
|
+
warning_code: { enum: ['being_deleted'], type: 'string' },
|
|
666
|
+
},
|
|
667
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
668
|
+
type: 'object',
|
|
669
|
+
},
|
|
670
|
+
type: 'array',
|
|
671
|
+
},
|
|
660
672
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
661
673
|
},
|
|
662
674
|
required: [
|
|
@@ -666,6 +678,7 @@ export default {
|
|
|
666
678
|
'created_at',
|
|
667
679
|
'display_name',
|
|
668
680
|
'is_suspended',
|
|
681
|
+
'warnings',
|
|
669
682
|
],
|
|
670
683
|
type: 'object',
|
|
671
684
|
},
|
|
@@ -6720,13 +6733,20 @@ export default {
|
|
|
6720
6733
|
},
|
|
6721
6734
|
'/acs/systems/list': {
|
|
6722
6735
|
post: {
|
|
6736
|
+
description:
|
|
6737
|
+
'Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the \n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the \nresponse includes all access control systems connected to your workspace.',
|
|
6723
6738
|
operationId: 'acsSystemsListPost',
|
|
6724
6739
|
requestBody: {
|
|
6725
6740
|
content: {
|
|
6726
6741
|
'application/json': {
|
|
6727
6742
|
schema: {
|
|
6728
6743
|
properties: {
|
|
6729
|
-
connected_account_id: {
|
|
6744
|
+
connected_account_id: {
|
|
6745
|
+
description:
|
|
6746
|
+
'ID of the connected account by which to filter the list of returned access control systems.',
|
|
6747
|
+
format: 'uuid',
|
|
6748
|
+
type: 'string',
|
|
6749
|
+
},
|
|
6730
6750
|
},
|
|
6731
6751
|
type: 'object',
|
|
6732
6752
|
},
|
|
@@ -6766,6 +6786,7 @@ export default {
|
|
|
6766
6786
|
'x-fern-sdk-group-name': ['acs', 'systems'],
|
|
6767
6787
|
'x-fern-sdk-method-name': 'list',
|
|
6768
6788
|
'x-fern-sdk-return-value': 'acs_systems',
|
|
6789
|
+
'x-title': 'List ACS Systems',
|
|
6769
6790
|
},
|
|
6770
6791
|
},
|
|
6771
6792
|
'/acs/systems/list_compatible_credential_manager_acs_systems': {
|
|
@@ -2439,6 +2439,11 @@ export interface Routes {
|
|
|
2439
2439
|
user_identity_phone_number?: (string | null) | undefined
|
|
2440
2440
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
2441
2441
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
2442
|
+
warnings: Array<{
|
|
2443
|
+
created_at: string
|
|
2444
|
+
message: string
|
|
2445
|
+
warning_code: 'being_deleted'
|
|
2446
|
+
}>
|
|
2442
2447
|
full_name?: string | undefined
|
|
2443
2448
|
/**
|
|
2444
2449
|
* @deprecated use email_address. */
|
|
@@ -3185,6 +3190,7 @@ export interface Routes {
|
|
|
3185
3190
|
queryParams: {}
|
|
3186
3191
|
jsonBody: {}
|
|
3187
3192
|
commonParams: {
|
|
3193
|
+
/** ID of the connected account by which to filter the list of returned access control systems. */
|
|
3188
3194
|
connected_account_id?: string | undefined
|
|
3189
3195
|
}
|
|
3190
3196
|
formData: {}
|
|
@@ -3423,6 +3429,11 @@ export interface Routes {
|
|
|
3423
3429
|
user_identity_phone_number?: (string | null) | undefined
|
|
3424
3430
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
3425
3431
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
3432
|
+
warnings: Array<{
|
|
3433
|
+
created_at: string
|
|
3434
|
+
message: string
|
|
3435
|
+
warning_code: 'being_deleted'
|
|
3436
|
+
}>
|
|
3426
3437
|
full_name?: string | undefined
|
|
3427
3438
|
/**
|
|
3428
3439
|
* @deprecated use email_address. */
|
|
@@ -3483,6 +3494,11 @@ export interface Routes {
|
|
|
3483
3494
|
user_identity_phone_number?: (string | null) | undefined
|
|
3484
3495
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
3485
3496
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
3497
|
+
warnings: Array<{
|
|
3498
|
+
created_at: string
|
|
3499
|
+
message: string
|
|
3500
|
+
warning_code: 'being_deleted'
|
|
3501
|
+
}>
|
|
3486
3502
|
full_name?: string | undefined
|
|
3487
3503
|
/**
|
|
3488
3504
|
* @deprecated use email_address. */
|
|
@@ -3537,6 +3553,11 @@ export interface Routes {
|
|
|
3537
3553
|
user_identity_phone_number?: (string | null) | undefined
|
|
3538
3554
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
3539
3555
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
3556
|
+
warnings: Array<{
|
|
3557
|
+
created_at: string
|
|
3558
|
+
message: string
|
|
3559
|
+
warning_code: 'being_deleted'
|
|
3560
|
+
}>
|
|
3540
3561
|
full_name?: string | undefined
|
|
3541
3562
|
/**
|
|
3542
3563
|
* @deprecated use email_address. */
|
|
@@ -18679,6 +18700,11 @@ export interface Routes {
|
|
|
18679
18700
|
user_identity_phone_number?: (string | null) | undefined
|
|
18680
18701
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
18681
18702
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
18703
|
+
warnings: Array<{
|
|
18704
|
+
created_at: string
|
|
18705
|
+
message: string
|
|
18706
|
+
warning_code: 'being_deleted'
|
|
18707
|
+
}>
|
|
18682
18708
|
full_name?: string | undefined
|
|
18683
18709
|
/**
|
|
18684
18710
|
* @deprecated use email_address. */
|