@seamapi/types 1.39.0 → 1.41.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 +56 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +69 -0
- package/lib/seam/connect/openapi.d.ts +51 -0
- package/lib/seam/connect/openapi.js +50 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -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 +50 -4
- package/src/lib/seam/connect/route-types.ts +18 -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
|
+
user_identity_ids?: string[] | undefined;
|
|
979
990
|
expires_at?: Date | undefined;
|
|
980
991
|
};
|
|
981
992
|
commonParams: {};
|
|
@@ -1020,6 +1031,7 @@ export interface Routes {
|
|
|
1020
1031
|
device_count: number;
|
|
1021
1032
|
connected_account_ids: string[];
|
|
1022
1033
|
connect_webview_ids: string[];
|
|
1034
|
+
user_identity_ids: string[];
|
|
1023
1035
|
workspace_id: string;
|
|
1024
1036
|
};
|
|
1025
1037
|
};
|
|
@@ -1032,6 +1044,7 @@ export interface Routes {
|
|
|
1032
1044
|
user_identifier_key?: string | undefined;
|
|
1033
1045
|
connect_webview_ids?: string[] | undefined;
|
|
1034
1046
|
connected_account_ids?: string[] | undefined;
|
|
1047
|
+
user_identity_ids?: string[] | undefined;
|
|
1035
1048
|
expires_at?: Date | undefined;
|
|
1036
1049
|
};
|
|
1037
1050
|
commonParams: {};
|
|
@@ -1056,6 +1069,7 @@ export interface Routes {
|
|
|
1056
1069
|
user_identifier_key?: string | undefined;
|
|
1057
1070
|
connected_account_ids?: string[] | undefined;
|
|
1058
1071
|
connect_webview_ids?: string[] | undefined;
|
|
1072
|
+
user_identity_ids?: string[] | undefined;
|
|
1059
1073
|
};
|
|
1060
1074
|
formData: {};
|
|
1061
1075
|
jsonResponse: {
|
|
@@ -1067,6 +1081,7 @@ export interface Routes {
|
|
|
1067
1081
|
device_count: number;
|
|
1068
1082
|
connected_account_ids: string[];
|
|
1069
1083
|
connect_webview_ids: string[];
|
|
1084
|
+
user_identity_ids: string[];
|
|
1070
1085
|
workspace_id: string;
|
|
1071
1086
|
};
|
|
1072
1087
|
};
|
|
@@ -1091,6 +1106,7 @@ export interface Routes {
|
|
|
1091
1106
|
device_count: number;
|
|
1092
1107
|
connected_account_ids: string[];
|
|
1093
1108
|
connect_webview_ids: string[];
|
|
1109
|
+
user_identity_ids: string[];
|
|
1094
1110
|
workspace_id: string;
|
|
1095
1111
|
}>;
|
|
1096
1112
|
};
|
|
@@ -4187,7 +4203,9 @@ export interface Routes {
|
|
|
4187
4203
|
external_type_display_name: string;
|
|
4188
4204
|
is_suspended: boolean;
|
|
4189
4205
|
full_name?: string | undefined;
|
|
4206
|
+
/** Deprecated: use email_address. */
|
|
4190
4207
|
email?: string | undefined;
|
|
4208
|
+
email_address?: string | undefined;
|
|
4191
4209
|
phone_number?: string | undefined;
|
|
4192
4210
|
}>;
|
|
4193
4211
|
};
|
|
@@ -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' },
|
|
@@ -221,6 +226,10 @@ export default {
|
|
|
221
226
|
device_count: { type: 'number' },
|
|
222
227
|
token: { type: 'string' },
|
|
223
228
|
user_identifier_key: { nullable: true, type: 'string' },
|
|
229
|
+
user_identity_ids: {
|
|
230
|
+
items: { format: 'uuid', type: 'string' },
|
|
231
|
+
type: 'array',
|
|
232
|
+
},
|
|
224
233
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
225
234
|
},
|
|
226
235
|
required: [
|
|
@@ -231,6 +240,7 @@ export default {
|
|
|
231
240
|
'device_count',
|
|
232
241
|
'connected_account_ids',
|
|
233
242
|
'connect_webview_ids',
|
|
243
|
+
'user_identity_ids',
|
|
234
244
|
'workspace_id',
|
|
235
245
|
],
|
|
236
246
|
type: 'object',
|
|
@@ -3524,7 +3534,11 @@ export default {
|
|
|
3524
3534
|
type: 'array',
|
|
3525
3535
|
},
|
|
3526
3536
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3527
|
-
email: {
|
|
3537
|
+
email: {
|
|
3538
|
+
description: 'Deprecated: use email_address.',
|
|
3539
|
+
format: 'email',
|
|
3540
|
+
type: 'string',
|
|
3541
|
+
},
|
|
3528
3542
|
full_name: { type: 'string' },
|
|
3529
3543
|
phone_number: { nullable: true, type: 'string' },
|
|
3530
3544
|
},
|
|
@@ -3822,7 +3836,11 @@ export default {
|
|
|
3822
3836
|
schema: {
|
|
3823
3837
|
properties: {
|
|
3824
3838
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3825
|
-
email: {
|
|
3839
|
+
email: {
|
|
3840
|
+
description: 'Deprecated: use email_address.',
|
|
3841
|
+
format: 'email',
|
|
3842
|
+
type: 'string',
|
|
3843
|
+
},
|
|
3826
3844
|
full_name: { type: 'string' },
|
|
3827
3845
|
phone_number: { nullable: true, type: 'string' },
|
|
3828
3846
|
},
|
|
@@ -3865,7 +3883,11 @@ export default {
|
|
|
3865
3883
|
schema: {
|
|
3866
3884
|
properties: {
|
|
3867
3885
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3868
|
-
email: {
|
|
3886
|
+
email: {
|
|
3887
|
+
description: 'Deprecated: use email_address.',
|
|
3888
|
+
format: 'email',
|
|
3889
|
+
type: 'string',
|
|
3890
|
+
},
|
|
3869
3891
|
full_name: { type: 'string' },
|
|
3870
3892
|
phone_number: { nullable: true, type: 'string' },
|
|
3871
3893
|
},
|
|
@@ -4026,6 +4048,10 @@ export default {
|
|
|
4026
4048
|
type: 'string',
|
|
4027
4049
|
},
|
|
4028
4050
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4051
|
+
user_identity_ids: {
|
|
4052
|
+
items: { type: 'string' },
|
|
4053
|
+
type: 'array',
|
|
4054
|
+
},
|
|
4029
4055
|
},
|
|
4030
4056
|
type: 'object',
|
|
4031
4057
|
},
|
|
@@ -4080,6 +4106,10 @@ export default {
|
|
|
4080
4106
|
type: 'string',
|
|
4081
4107
|
},
|
|
4082
4108
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4109
|
+
user_identity_ids: {
|
|
4110
|
+
items: { type: 'string' },
|
|
4111
|
+
type: 'array',
|
|
4112
|
+
},
|
|
4083
4113
|
},
|
|
4084
4114
|
type: 'object',
|
|
4085
4115
|
},
|
|
@@ -4226,6 +4256,10 @@ export default {
|
|
|
4226
4256
|
type: 'string',
|
|
4227
4257
|
},
|
|
4228
4258
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4259
|
+
user_identity_ids: {
|
|
4260
|
+
items: { type: 'string' },
|
|
4261
|
+
type: 'array',
|
|
4262
|
+
},
|
|
4229
4263
|
},
|
|
4230
4264
|
type: 'object',
|
|
4231
4265
|
},
|
|
@@ -4280,6 +4314,10 @@ export default {
|
|
|
4280
4314
|
type: 'string',
|
|
4281
4315
|
},
|
|
4282
4316
|
user_identifier_key: { minLength: 1, type: 'string' },
|
|
4317
|
+
user_identity_ids: {
|
|
4318
|
+
items: { type: 'string' },
|
|
4319
|
+
type: 'array',
|
|
4320
|
+
},
|
|
4283
4321
|
},
|
|
4284
4322
|
type: 'object',
|
|
4285
4323
|
},
|
|
@@ -4330,6 +4368,10 @@ export default {
|
|
|
4330
4368
|
type: 'array',
|
|
4331
4369
|
},
|
|
4332
4370
|
user_identifier_key: { type: 'string' },
|
|
4371
|
+
user_identity_ids: {
|
|
4372
|
+
items: { type: 'string' },
|
|
4373
|
+
type: 'array',
|
|
4374
|
+
},
|
|
4333
4375
|
},
|
|
4334
4376
|
type: 'object',
|
|
4335
4377
|
},
|
|
@@ -4383,6 +4425,10 @@ export default {
|
|
|
4383
4425
|
type: 'array',
|
|
4384
4426
|
},
|
|
4385
4427
|
user_identifier_key: { type: 'string' },
|
|
4428
|
+
user_identity_ids: {
|
|
4429
|
+
items: { type: 'string' },
|
|
4430
|
+
type: 'array',
|
|
4431
|
+
},
|
|
4386
4432
|
},
|
|
4387
4433
|
type: 'object',
|
|
4388
4434
|
},
|
|
@@ -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
|
+
user_identity_ids?: string[] | undefined
|
|
1025
1036
|
expires_at?: Date | undefined
|
|
1026
1037
|
}
|
|
1027
1038
|
commonParams: {}
|
|
@@ -1066,6 +1077,7 @@ export interface Routes {
|
|
|
1066
1077
|
device_count: number
|
|
1067
1078
|
connected_account_ids: string[]
|
|
1068
1079
|
connect_webview_ids: string[]
|
|
1080
|
+
user_identity_ids: string[]
|
|
1069
1081
|
workspace_id: string
|
|
1070
1082
|
}
|
|
1071
1083
|
}
|
|
@@ -1078,6 +1090,7 @@ export interface Routes {
|
|
|
1078
1090
|
user_identifier_key?: string | undefined
|
|
1079
1091
|
connect_webview_ids?: string[] | undefined
|
|
1080
1092
|
connected_account_ids?: string[] | undefined
|
|
1093
|
+
user_identity_ids?: string[] | undefined
|
|
1081
1094
|
expires_at?: Date | undefined
|
|
1082
1095
|
}
|
|
1083
1096
|
commonParams: {}
|
|
@@ -1102,6 +1115,7 @@ export interface Routes {
|
|
|
1102
1115
|
user_identifier_key?: string | undefined
|
|
1103
1116
|
connected_account_ids?: string[] | undefined
|
|
1104
1117
|
connect_webview_ids?: string[] | undefined
|
|
1118
|
+
user_identity_ids?: string[] | undefined
|
|
1105
1119
|
}
|
|
1106
1120
|
formData: {}
|
|
1107
1121
|
jsonResponse: {
|
|
@@ -1113,6 +1127,7 @@ export interface Routes {
|
|
|
1113
1127
|
device_count: number
|
|
1114
1128
|
connected_account_ids: string[]
|
|
1115
1129
|
connect_webview_ids: string[]
|
|
1130
|
+
user_identity_ids: string[]
|
|
1116
1131
|
workspace_id: string
|
|
1117
1132
|
}
|
|
1118
1133
|
}
|
|
@@ -1137,6 +1152,7 @@ export interface Routes {
|
|
|
1137
1152
|
device_count: number
|
|
1138
1153
|
connected_account_ids: string[]
|
|
1139
1154
|
connect_webview_ids: string[]
|
|
1155
|
+
user_identity_ids: string[]
|
|
1140
1156
|
workspace_id: string
|
|
1141
1157
|
}>
|
|
1142
1158
|
}
|
|
@@ -5798,7 +5814,9 @@ export interface Routes {
|
|
|
5798
5814
|
external_type_display_name: string
|
|
5799
5815
|
is_suspended: boolean
|
|
5800
5816
|
full_name?: string | undefined
|
|
5817
|
+
/** Deprecated: use email_address. */
|
|
5801
5818
|
email?: string | undefined
|
|
5819
|
+
email_address?: string | undefined
|
|
5802
5820
|
phone_number?: string | undefined
|
|
5803
5821
|
}>
|
|
5804
5822
|
}
|
|
@@ -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
|
|