@seamapi/types 1.38.2 → 1.40.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 +84 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +118 -0
- package/lib/seam/connect/openapi.d.ts +93 -0
- package/lib/seam/connect/openapi.js +84 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -0
- package/lib/seam/connect/unstable/models/acs/user.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/user.js +6 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +84 -4
- package/src/lib/seam/connect/route-types.ts +25 -0
- package/src/lib/seam/connect/unstable/models/acs/user.ts +6 -1
|
@@ -590,7 +590,9 @@ export interface Routes {
|
|
|
590
590
|
external_type_display_name: string;
|
|
591
591
|
is_suspended: boolean;
|
|
592
592
|
full_name?: string | undefined;
|
|
593
|
+
/** Deprecated: use email_address. */
|
|
593
594
|
email?: string | undefined;
|
|
595
|
+
email_address?: string | undefined;
|
|
594
596
|
phone_number?: string | undefined;
|
|
595
597
|
}>;
|
|
596
598
|
};
|
|
@@ -771,6 +773,7 @@ export interface Routes {
|
|
|
771
773
|
acs_system_id: string;
|
|
772
774
|
acs_access_group_ids?: string[];
|
|
773
775
|
full_name?: string | undefined;
|
|
776
|
+
/** Deprecated: use email_address. */
|
|
774
777
|
email?: string | undefined;
|
|
775
778
|
phone_number?: string | undefined;
|
|
776
779
|
};
|
|
@@ -786,7 +789,9 @@ export interface Routes {
|
|
|
786
789
|
external_type_display_name: string;
|
|
787
790
|
is_suspended: boolean;
|
|
788
791
|
full_name?: string | undefined;
|
|
792
|
+
/** Deprecated: use email_address. */
|
|
789
793
|
email?: string | undefined;
|
|
794
|
+
email_address?: string | undefined;
|
|
790
795
|
phone_number?: string | undefined;
|
|
791
796
|
};
|
|
792
797
|
};
|
|
@@ -822,7 +827,9 @@ export interface Routes {
|
|
|
822
827
|
external_type_display_name: string;
|
|
823
828
|
is_suspended: boolean;
|
|
824
829
|
full_name?: string | undefined;
|
|
830
|
+
/** Deprecated: use email_address. */
|
|
825
831
|
email?: string | undefined;
|
|
832
|
+
email_address?: string | undefined;
|
|
826
833
|
phone_number?: string | undefined;
|
|
827
834
|
};
|
|
828
835
|
};
|
|
@@ -847,7 +854,9 @@ export interface Routes {
|
|
|
847
854
|
external_type_display_name: string;
|
|
848
855
|
is_suspended: boolean;
|
|
849
856
|
full_name?: string | undefined;
|
|
857
|
+
/** Deprecated: use email_address. */
|
|
850
858
|
email?: string | undefined;
|
|
859
|
+
email_address?: string | undefined;
|
|
851
860
|
phone_number?: string | undefined;
|
|
852
861
|
}>;
|
|
853
862
|
};
|
|
@@ -894,6 +903,7 @@ export interface Routes {
|
|
|
894
903
|
commonParams: {
|
|
895
904
|
acs_user_id: string;
|
|
896
905
|
full_name?: string | undefined;
|
|
906
|
+
/** Deprecated: use email_address. */
|
|
897
907
|
email?: string | undefined;
|
|
898
908
|
phone_number?: string | undefined;
|
|
899
909
|
};
|
|
@@ -976,6 +986,7 @@ export interface Routes {
|
|
|
976
986
|
user_identifier_key?: string | undefined;
|
|
977
987
|
connect_webview_ids?: string[] | undefined;
|
|
978
988
|
connected_account_ids?: string[] | undefined;
|
|
989
|
+
expires_at?: Date | undefined;
|
|
979
990
|
};
|
|
980
991
|
commonParams: {};
|
|
981
992
|
formData: {};
|
|
@@ -1031,6 +1042,7 @@ export interface Routes {
|
|
|
1031
1042
|
user_identifier_key?: string | undefined;
|
|
1032
1043
|
connect_webview_ids?: string[] | undefined;
|
|
1033
1044
|
connected_account_ids?: string[] | undefined;
|
|
1045
|
+
expires_at?: Date | undefined;
|
|
1034
1046
|
};
|
|
1035
1047
|
commonParams: {};
|
|
1036
1048
|
formData: {};
|
|
@@ -1093,6 +1105,17 @@ export interface Routes {
|
|
|
1093
1105
|
}>;
|
|
1094
1106
|
};
|
|
1095
1107
|
};
|
|
1108
|
+
'/client_sessions/revoke': {
|
|
1109
|
+
route: '/client_sessions/revoke';
|
|
1110
|
+
method: 'POST';
|
|
1111
|
+
queryParams: {};
|
|
1112
|
+
jsonBody: {};
|
|
1113
|
+
commonParams: {
|
|
1114
|
+
client_session_id: string;
|
|
1115
|
+
};
|
|
1116
|
+
formData: {};
|
|
1117
|
+
jsonResponse: {};
|
|
1118
|
+
};
|
|
1096
1119
|
'/connect_webviews/create': {
|
|
1097
1120
|
route: '/connect_webviews/create';
|
|
1098
1121
|
method: 'POST';
|
|
@@ -4174,7 +4197,9 @@ export interface Routes {
|
|
|
4174
4197
|
external_type_display_name: string;
|
|
4175
4198
|
is_suspended: boolean;
|
|
4176
4199
|
full_name?: string | undefined;
|
|
4200
|
+
/** Deprecated: use email_address. */
|
|
4177
4201
|
email?: string | undefined;
|
|
4202
|
+
email_address?: string | undefined;
|
|
4178
4203
|
phone_number?: string | undefined;
|
|
4179
4204
|
}>;
|
|
4180
4205
|
};
|
|
@@ -12,6 +12,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
12
12
|
is_suspended: z.ZodBoolean;
|
|
13
13
|
full_name: z.ZodOptional<z.ZodString>;
|
|
14
14
|
email: z.ZodOptional<z.ZodString>;
|
|
15
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
15
16
|
phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
workspace_id: string;
|
|
@@ -24,6 +25,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
24
25
|
is_suspended: boolean;
|
|
25
26
|
full_name?: string | undefined;
|
|
26
27
|
email?: string | undefined;
|
|
28
|
+
email_address?: string | undefined;
|
|
27
29
|
phone_number?: string | undefined;
|
|
28
30
|
}, {
|
|
29
31
|
workspace_id: string;
|
|
@@ -36,6 +38,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
36
38
|
is_suspended: boolean;
|
|
37
39
|
full_name?: string | undefined;
|
|
38
40
|
email?: string | undefined;
|
|
41
|
+
email_address?: string | undefined;
|
|
39
42
|
phone_number?: string | undefined;
|
|
40
43
|
}>;
|
|
41
44
|
export type AcsUser = z.output<typeof acs_user>;
|
|
@@ -11,7 +11,12 @@ const phone_number = z.coerce
|
|
|
11
11
|
});
|
|
12
12
|
const user_fields = z.object({
|
|
13
13
|
full_name: z.string().optional(),
|
|
14
|
-
email: z
|
|
14
|
+
email: z
|
|
15
|
+
.string()
|
|
16
|
+
.email()
|
|
17
|
+
.optional()
|
|
18
|
+
.describe('Deprecated: use email_address.'),
|
|
19
|
+
email_address: z.string().email().optional(),
|
|
15
20
|
phone_number: phone_number.optional(),
|
|
16
21
|
});
|
|
17
22
|
export const acs_user = z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAA;AAI1D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAA;AAI1D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KAC1B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB;IACrC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -129,7 +129,12 @@ export default {
|
|
|
129
129
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
130
130
|
created_at: { format: 'date-time', type: 'string' },
|
|
131
131
|
display_name: { type: 'string' },
|
|
132
|
-
email: {
|
|
132
|
+
email: {
|
|
133
|
+
description: 'Deprecated: use email_address.',
|
|
134
|
+
format: 'email',
|
|
135
|
+
type: 'string',
|
|
136
|
+
},
|
|
137
|
+
email_address: { format: 'email', type: 'string' },
|
|
133
138
|
external_type: { enum: ['pti_user'], type: 'string' },
|
|
134
139
|
external_type_display_name: { type: 'string' },
|
|
135
140
|
full_name: { type: 'string' },
|
|
@@ -3524,7 +3529,11 @@ export default {
|
|
|
3524
3529
|
type: 'array',
|
|
3525
3530
|
},
|
|
3526
3531
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3527
|
-
email: {
|
|
3532
|
+
email: {
|
|
3533
|
+
description: 'Deprecated: use email_address.',
|
|
3534
|
+
format: 'email',
|
|
3535
|
+
type: 'string',
|
|
3536
|
+
},
|
|
3528
3537
|
full_name: { type: 'string' },
|
|
3529
3538
|
phone_number: { nullable: true, type: 'string' },
|
|
3530
3539
|
},
|
|
@@ -3822,7 +3831,11 @@ export default {
|
|
|
3822
3831
|
schema: {
|
|
3823
3832
|
properties: {
|
|
3824
3833
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3825
|
-
email: {
|
|
3834
|
+
email: {
|
|
3835
|
+
description: 'Deprecated: use email_address.',
|
|
3836
|
+
format: 'email',
|
|
3837
|
+
type: 'string',
|
|
3838
|
+
},
|
|
3826
3839
|
full_name: { type: 'string' },
|
|
3827
3840
|
phone_number: { nullable: true, type: 'string' },
|
|
3828
3841
|
},
|
|
@@ -3865,7 +3878,11 @@ export default {
|
|
|
3865
3878
|
schema: {
|
|
3866
3879
|
properties: {
|
|
3867
3880
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3868
|
-
email: {
|
|
3881
|
+
email: {
|
|
3882
|
+
description: 'Deprecated: use email_address.',
|
|
3883
|
+
format: 'email',
|
|
3884
|
+
type: 'string',
|
|
3885
|
+
},
|
|
3869
3886
|
full_name: { type: 'string' },
|
|
3870
3887
|
phone_number: { nullable: true, type: 'string' },
|
|
3871
3888
|
},
|
|
@@ -4020,6 +4037,11 @@ export default {
|
|
|
4020
4037
|
items: { type: 'string' },
|
|
4021
4038
|
type: 'array',
|
|
4022
4039
|
},
|
|
4040
|
+
expires_at: {
|
|
4041
|
+
format: 'date-time',
|
|
4042
|
+
nullable: true,
|
|
4043
|
+
type: 'string',
|
|
4044
|
+
},
|
|
4023
4045
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4024
4046
|
},
|
|
4025
4047
|
type: 'object',
|
|
@@ -4069,6 +4091,11 @@ export default {
|
|
|
4069
4091
|
items: { type: 'string' },
|
|
4070
4092
|
type: 'array',
|
|
4071
4093
|
},
|
|
4094
|
+
expires_at: {
|
|
4095
|
+
format: 'date-time',
|
|
4096
|
+
nullable: true,
|
|
4097
|
+
type: 'string',
|
|
4098
|
+
},
|
|
4072
4099
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4073
4100
|
},
|
|
4074
4101
|
type: 'object',
|
|
@@ -4210,6 +4237,11 @@ export default {
|
|
|
4210
4237
|
items: { type: 'string' },
|
|
4211
4238
|
type: 'array',
|
|
4212
4239
|
},
|
|
4240
|
+
expires_at: {
|
|
4241
|
+
format: 'date-time',
|
|
4242
|
+
nullable: true,
|
|
4243
|
+
type: 'string',
|
|
4244
|
+
},
|
|
4213
4245
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4214
4246
|
},
|
|
4215
4247
|
type: 'object',
|
|
@@ -4259,6 +4291,11 @@ export default {
|
|
|
4259
4291
|
items: { type: 'string' },
|
|
4260
4292
|
type: 'array',
|
|
4261
4293
|
},
|
|
4294
|
+
expires_at: {
|
|
4295
|
+
format: 'date-time',
|
|
4296
|
+
nullable: true,
|
|
4297
|
+
type: 'string',
|
|
4298
|
+
},
|
|
4262
4299
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4263
4300
|
},
|
|
4264
4301
|
type: 'object',
|
|
@@ -4453,6 +4490,49 @@ export default {
|
|
|
4453
4490
|
'x-fern-sdk-return-value': 'client_sessions',
|
|
4454
4491
|
},
|
|
4455
4492
|
},
|
|
4493
|
+
'/client_sessions/revoke': {
|
|
4494
|
+
post: {
|
|
4495
|
+
operationId: 'clientSessionsRevokePost',
|
|
4496
|
+
requestBody: {
|
|
4497
|
+
content: {
|
|
4498
|
+
'application/json': {
|
|
4499
|
+
schema: {
|
|
4500
|
+
properties: {
|
|
4501
|
+
client_session_id: { format: 'uuid', type: 'string' },
|
|
4502
|
+
},
|
|
4503
|
+
required: ['client_session_id'],
|
|
4504
|
+
type: 'object',
|
|
4505
|
+
},
|
|
4506
|
+
},
|
|
4507
|
+
},
|
|
4508
|
+
},
|
|
4509
|
+
responses: {
|
|
4510
|
+
200: {
|
|
4511
|
+
content: {
|
|
4512
|
+
'application/json': {
|
|
4513
|
+
schema: {
|
|
4514
|
+
properties: { ok: { type: 'boolean' } },
|
|
4515
|
+
required: ['ok'],
|
|
4516
|
+
type: 'object',
|
|
4517
|
+
},
|
|
4518
|
+
},
|
|
4519
|
+
},
|
|
4520
|
+
description: 'OK',
|
|
4521
|
+
},
|
|
4522
|
+
400: { description: 'Bad Request' },
|
|
4523
|
+
401: { description: 'Unauthorized' },
|
|
4524
|
+
},
|
|
4525
|
+
security: [
|
|
4526
|
+
{ access_token: [], seam_workspace: [] },
|
|
4527
|
+
{ seam_client_session_token: [] },
|
|
4528
|
+
{ client_session_token: [] },
|
|
4529
|
+
],
|
|
4530
|
+
summary: '/client_sessions/revoke',
|
|
4531
|
+
tags: ['/client_sessions'],
|
|
4532
|
+
'x-fern-sdk-group-name': ['client_sessions'],
|
|
4533
|
+
'x-fern-sdk-method-name': 'revoke',
|
|
4534
|
+
},
|
|
4535
|
+
},
|
|
4456
4536
|
'/connect_webviews/create': {
|
|
4457
4537
|
post: {
|
|
4458
4538
|
operationId: 'connectWebviewsCreatePost',
|
|
@@ -626,7 +626,9 @@ export interface Routes {
|
|
|
626
626
|
external_type_display_name: string
|
|
627
627
|
is_suspended: boolean
|
|
628
628
|
full_name?: string | undefined
|
|
629
|
+
/** Deprecated: use email_address. */
|
|
629
630
|
email?: string | undefined
|
|
631
|
+
email_address?: string | undefined
|
|
630
632
|
phone_number?: string | undefined
|
|
631
633
|
}>
|
|
632
634
|
}
|
|
@@ -810,6 +812,7 @@ export interface Routes {
|
|
|
810
812
|
acs_system_id: string
|
|
811
813
|
acs_access_group_ids?: string[]
|
|
812
814
|
full_name?: string | undefined
|
|
815
|
+
/** Deprecated: use email_address. */
|
|
813
816
|
email?: string | undefined
|
|
814
817
|
phone_number?: string | undefined
|
|
815
818
|
}
|
|
@@ -825,7 +828,9 @@ export interface Routes {
|
|
|
825
828
|
external_type_display_name: string
|
|
826
829
|
is_suspended: boolean
|
|
827
830
|
full_name?: string | undefined
|
|
831
|
+
/** Deprecated: use email_address. */
|
|
828
832
|
email?: string | undefined
|
|
833
|
+
email_address?: string | undefined
|
|
829
834
|
phone_number?: string | undefined
|
|
830
835
|
}
|
|
831
836
|
}
|
|
@@ -861,7 +866,9 @@ export interface Routes {
|
|
|
861
866
|
external_type_display_name: string
|
|
862
867
|
is_suspended: boolean
|
|
863
868
|
full_name?: string | undefined
|
|
869
|
+
/** Deprecated: use email_address. */
|
|
864
870
|
email?: string | undefined
|
|
871
|
+
email_address?: string | undefined
|
|
865
872
|
phone_number?: string | undefined
|
|
866
873
|
}
|
|
867
874
|
}
|
|
@@ -886,7 +893,9 @@ export interface Routes {
|
|
|
886
893
|
external_type_display_name: string
|
|
887
894
|
is_suspended: boolean
|
|
888
895
|
full_name?: string | undefined
|
|
896
|
+
/** Deprecated: use email_address. */
|
|
889
897
|
email?: string | undefined
|
|
898
|
+
email_address?: string | undefined
|
|
890
899
|
phone_number?: string | undefined
|
|
891
900
|
}>
|
|
892
901
|
}
|
|
@@ -933,6 +942,7 @@ export interface Routes {
|
|
|
933
942
|
commonParams: {
|
|
934
943
|
acs_user_id: string
|
|
935
944
|
full_name?: string | undefined
|
|
945
|
+
/** Deprecated: use email_address. */
|
|
936
946
|
email?: string | undefined
|
|
937
947
|
phone_number?: string | undefined
|
|
938
948
|
}
|
|
@@ -1022,6 +1032,7 @@ export interface Routes {
|
|
|
1022
1032
|
user_identifier_key?: string | undefined
|
|
1023
1033
|
connect_webview_ids?: string[] | undefined
|
|
1024
1034
|
connected_account_ids?: string[] | undefined
|
|
1035
|
+
expires_at?: Date | undefined
|
|
1025
1036
|
}
|
|
1026
1037
|
commonParams: {}
|
|
1027
1038
|
formData: {}
|
|
@@ -1077,6 +1088,7 @@ export interface Routes {
|
|
|
1077
1088
|
user_identifier_key?: string | undefined
|
|
1078
1089
|
connect_webview_ids?: string[] | undefined
|
|
1079
1090
|
connected_account_ids?: string[] | undefined
|
|
1091
|
+
expires_at?: Date | undefined
|
|
1080
1092
|
}
|
|
1081
1093
|
commonParams: {}
|
|
1082
1094
|
formData: {}
|
|
@@ -1139,6 +1151,17 @@ export interface Routes {
|
|
|
1139
1151
|
}>
|
|
1140
1152
|
}
|
|
1141
1153
|
}
|
|
1154
|
+
'/client_sessions/revoke': {
|
|
1155
|
+
route: '/client_sessions/revoke'
|
|
1156
|
+
method: 'POST'
|
|
1157
|
+
queryParams: {}
|
|
1158
|
+
jsonBody: {}
|
|
1159
|
+
commonParams: {
|
|
1160
|
+
client_session_id: string
|
|
1161
|
+
}
|
|
1162
|
+
formData: {}
|
|
1163
|
+
jsonResponse: {}
|
|
1164
|
+
}
|
|
1142
1165
|
'/connect_webviews/create': {
|
|
1143
1166
|
route: '/connect_webviews/create'
|
|
1144
1167
|
method: 'POST'
|
|
@@ -5785,7 +5808,9 @@ export interface Routes {
|
|
|
5785
5808
|
external_type_display_name: string
|
|
5786
5809
|
is_suspended: boolean
|
|
5787
5810
|
full_name?: string | undefined
|
|
5811
|
+
/** Deprecated: use email_address. */
|
|
5788
5812
|
email?: string | undefined
|
|
5813
|
+
email_address?: string | undefined
|
|
5789
5814
|
phone_number?: string | undefined
|
|
5790
5815
|
}>
|
|
5791
5816
|
}
|
|
@@ -19,7 +19,12 @@ const phone_number = z.coerce
|
|
|
19
19
|
|
|
20
20
|
const user_fields = z.object({
|
|
21
21
|
full_name: z.string().optional(),
|
|
22
|
-
email: z
|
|
22
|
+
email: z
|
|
23
|
+
.string()
|
|
24
|
+
.email()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('Deprecated: use email_address.'),
|
|
27
|
+
email_address: z.string().email().optional(),
|
|
23
28
|
phone_number: phone_number.optional(),
|
|
24
29
|
})
|
|
25
30
|
|