@seamapi/types 1.412.0 → 1.414.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 +145 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +227 -7
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +4 -1
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -14
- package/lib/seam/connect/models/phones/phone-session.js +4 -0
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +73 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +40 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +105 -2
- package/lib/seam/connect/openapi.js +109 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +4 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +60 -0
- package/src/lib/seam/connect/openapi.ts +123 -11
- package/src/lib/seam/connect/route-types.ts +77 -5
|
@@ -16,7 +16,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
16
16
|
is_being_activated: boolean;
|
|
17
17
|
provider_state?: any;
|
|
18
18
|
}>;
|
|
19
|
-
acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
19
|
+
acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
20
20
|
acs_credential_id: z.ZodString;
|
|
21
21
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
22
22
|
acs_credential_pool_id: z.ZodOptional<z.ZodString>;
|
|
@@ -179,7 +179,8 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
179
179
|
}>>;
|
|
180
180
|
}, {
|
|
181
181
|
is_managed: z.ZodLiteral<true>;
|
|
182
|
-
}>, {
|
|
182
|
+
}>, "acs_credential_id">, {
|
|
183
|
+
acs_credential_id: z.ZodOptional<z.ZodString>;
|
|
183
184
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
184
185
|
acs_system_id: z.ZodString;
|
|
185
186
|
acs_entrance_id: z.ZodString;
|
|
@@ -438,7 +439,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
438
439
|
})[];
|
|
439
440
|
is_managed: true;
|
|
440
441
|
acs_system_id: string;
|
|
441
|
-
acs_credential_id: string;
|
|
442
442
|
access_method: "code" | "card" | "mobile_key";
|
|
443
443
|
acs_entrances: {
|
|
444
444
|
display_name: string;
|
|
@@ -514,6 +514,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
514
514
|
issued_at?: string | null | undefined;
|
|
515
515
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
516
516
|
external_type_display_name?: string | undefined;
|
|
517
|
+
acs_credential_id?: string | undefined;
|
|
517
518
|
acs_user_id?: string | undefined;
|
|
518
519
|
acs_credential_pool_id?: string | undefined;
|
|
519
520
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -557,7 +558,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
557
558
|
})[];
|
|
558
559
|
is_managed: true;
|
|
559
560
|
acs_system_id: string;
|
|
560
|
-
acs_credential_id: string;
|
|
561
561
|
access_method: "code" | "card" | "mobile_key";
|
|
562
562
|
acs_entrances: {
|
|
563
563
|
display_name: string;
|
|
@@ -633,6 +633,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
633
633
|
issued_at?: string | null | undefined;
|
|
634
634
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
635
635
|
external_type_display_name?: string | undefined;
|
|
636
|
+
acs_credential_id?: string | undefined;
|
|
636
637
|
acs_user_id?: string | undefined;
|
|
637
638
|
acs_credential_pool_id?: string | undefined;
|
|
638
639
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -684,7 +685,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
684
685
|
})[];
|
|
685
686
|
is_managed: true;
|
|
686
687
|
acs_system_id: string;
|
|
687
|
-
acs_credential_id: string;
|
|
688
688
|
access_method: "code" | "card" | "mobile_key";
|
|
689
689
|
acs_entrances: {
|
|
690
690
|
display_name: string;
|
|
@@ -760,6 +760,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
760
760
|
issued_at?: string | null | undefined;
|
|
761
761
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
762
762
|
external_type_display_name?: string | undefined;
|
|
763
|
+
acs_credential_id?: string | undefined;
|
|
763
764
|
acs_user_id?: string | undefined;
|
|
764
765
|
acs_credential_pool_id?: string | undefined;
|
|
765
766
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -811,7 +812,6 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
811
812
|
})[];
|
|
812
813
|
is_managed: true;
|
|
813
814
|
acs_system_id: string;
|
|
814
|
-
acs_credential_id: string;
|
|
815
815
|
access_method: "code" | "card" | "mobile_key";
|
|
816
816
|
acs_entrances: {
|
|
817
817
|
display_name: string;
|
|
@@ -887,6 +887,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
887
887
|
issued_at?: string | null | undefined;
|
|
888
888
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
889
889
|
external_type_display_name?: string | undefined;
|
|
890
|
+
acs_credential_id?: string | undefined;
|
|
890
891
|
acs_user_id?: string | undefined;
|
|
891
892
|
acs_credential_pool_id?: string | undefined;
|
|
892
893
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -915,7 +916,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
915
916
|
is_being_activated: boolean;
|
|
916
917
|
provider_state?: any;
|
|
917
918
|
}>;
|
|
918
|
-
acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
919
|
+
acs_credentials: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
919
920
|
acs_credential_id: z.ZodString;
|
|
920
921
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
921
922
|
acs_credential_pool_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1078,7 +1079,8 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1078
1079
|
}>>;
|
|
1079
1080
|
}, {
|
|
1080
1081
|
is_managed: z.ZodLiteral<true>;
|
|
1081
|
-
}>, {
|
|
1082
|
+
}>, "acs_credential_id">, {
|
|
1083
|
+
acs_credential_id: z.ZodOptional<z.ZodString>;
|
|
1082
1084
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
1083
1085
|
acs_system_id: z.ZodString;
|
|
1084
1086
|
acs_entrance_id: z.ZodString;
|
|
@@ -1337,7 +1339,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1337
1339
|
})[];
|
|
1338
1340
|
is_managed: true;
|
|
1339
1341
|
acs_system_id: string;
|
|
1340
|
-
acs_credential_id: string;
|
|
1341
1342
|
access_method: "code" | "card" | "mobile_key";
|
|
1342
1343
|
acs_entrances: {
|
|
1343
1344
|
display_name: string;
|
|
@@ -1413,6 +1414,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1413
1414
|
issued_at?: string | null | undefined;
|
|
1414
1415
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1415
1416
|
external_type_display_name?: string | undefined;
|
|
1417
|
+
acs_credential_id?: string | undefined;
|
|
1416
1418
|
acs_user_id?: string | undefined;
|
|
1417
1419
|
acs_credential_pool_id?: string | undefined;
|
|
1418
1420
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1456,7 +1458,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1456
1458
|
})[];
|
|
1457
1459
|
is_managed: true;
|
|
1458
1460
|
acs_system_id: string;
|
|
1459
|
-
acs_credential_id: string;
|
|
1460
1461
|
access_method: "code" | "card" | "mobile_key";
|
|
1461
1462
|
acs_entrances: {
|
|
1462
1463
|
display_name: string;
|
|
@@ -1532,6 +1533,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1532
1533
|
issued_at?: string | null | undefined;
|
|
1533
1534
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1534
1535
|
external_type_display_name?: string | undefined;
|
|
1536
|
+
acs_credential_id?: string | undefined;
|
|
1535
1537
|
acs_user_id?: string | undefined;
|
|
1536
1538
|
acs_credential_pool_id?: string | undefined;
|
|
1537
1539
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1583,7 +1585,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1583
1585
|
})[];
|
|
1584
1586
|
is_managed: true;
|
|
1585
1587
|
acs_system_id: string;
|
|
1586
|
-
acs_credential_id: string;
|
|
1587
1588
|
access_method: "code" | "card" | "mobile_key";
|
|
1588
1589
|
acs_entrances: {
|
|
1589
1590
|
display_name: string;
|
|
@@ -1659,6 +1660,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1659
1660
|
issued_at?: string | null | undefined;
|
|
1660
1661
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1661
1662
|
external_type_display_name?: string | undefined;
|
|
1663
|
+
acs_credential_id?: string | undefined;
|
|
1662
1664
|
acs_user_id?: string | undefined;
|
|
1663
1665
|
acs_credential_pool_id?: string | undefined;
|
|
1664
1666
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1710,7 +1712,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1710
1712
|
})[];
|
|
1711
1713
|
is_managed: true;
|
|
1712
1714
|
acs_system_id: string;
|
|
1713
|
-
acs_credential_id: string;
|
|
1714
1715
|
access_method: "code" | "card" | "mobile_key";
|
|
1715
1716
|
acs_entrances: {
|
|
1716
1717
|
display_name: string;
|
|
@@ -1786,6 +1787,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1786
1787
|
issued_at?: string | null | undefined;
|
|
1787
1788
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1788
1789
|
external_type_display_name?: string | undefined;
|
|
1790
|
+
acs_credential_id?: string | undefined;
|
|
1789
1791
|
acs_user_id?: string | undefined;
|
|
1790
1792
|
acs_credential_pool_id?: string | undefined;
|
|
1791
1793
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1839,7 +1841,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1839
1841
|
})[];
|
|
1840
1842
|
is_managed: true;
|
|
1841
1843
|
acs_system_id: string;
|
|
1842
|
-
acs_credential_id: string;
|
|
1843
1844
|
access_method: "code" | "card" | "mobile_key";
|
|
1844
1845
|
acs_entrances: {
|
|
1845
1846
|
display_name: string;
|
|
@@ -1915,6 +1916,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1915
1916
|
issued_at?: string | null | undefined;
|
|
1916
1917
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
1917
1918
|
external_type_display_name?: string | undefined;
|
|
1919
|
+
acs_credential_id?: string | undefined;
|
|
1918
1920
|
acs_user_id?: string | undefined;
|
|
1919
1921
|
acs_credential_pool_id?: string | undefined;
|
|
1920
1922
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -1968,7 +1970,6 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1968
1970
|
})[];
|
|
1969
1971
|
is_managed: true;
|
|
1970
1972
|
acs_system_id: string;
|
|
1971
|
-
acs_credential_id: string;
|
|
1972
1973
|
access_method: "code" | "card" | "mobile_key";
|
|
1973
1974
|
acs_entrances: {
|
|
1974
1975
|
display_name: string;
|
|
@@ -2044,6 +2045,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2044
2045
|
issued_at?: string | null | undefined;
|
|
2045
2046
|
external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
|
|
2046
2047
|
external_type_display_name?: string | undefined;
|
|
2048
|
+
acs_credential_id?: string | undefined;
|
|
2047
2049
|
acs_user_id?: string | undefined;
|
|
2048
2050
|
acs_credential_pool_id?: string | undefined;
|
|
2049
2051
|
parent_acs_credential_id?: string | undefined;
|
|
@@ -5,7 +5,11 @@ import { phone_registration } from './phone-registration.js';
|
|
|
5
5
|
const phone_provider_session = z.object({
|
|
6
6
|
phone_registration,
|
|
7
7
|
acs_credentials: acs_credential
|
|
8
|
+
.omit({
|
|
9
|
+
acs_credential_id: true,
|
|
10
|
+
})
|
|
8
11
|
.extend({
|
|
12
|
+
acs_credential_id: z.string().optional(),
|
|
9
13
|
acs_entrances: acs_entrance.array(),
|
|
10
14
|
})
|
|
11
15
|
.array(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,MAAM,CAAC;QACN,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB,CAAC,KAAK,EAAE;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,IAAI,CAAC;QACJ,iBAAiB,EAAE,IAAI;KACxB,CAAC;SACD,MAAM,CAAC;QACN,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB,CAAC,KAAK,EAAE;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const user_identity_error_map: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3
|
+
export type UserIdentityErrorMap = z.infer<typeof user_identity_error_map>;
|
|
4
|
+
export declare const user_identity_warning_map: z.ZodObject<{
|
|
5
|
+
user_identity_being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
message: z.ZodString;
|
|
8
|
+
}, {
|
|
9
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
10
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11
|
+
message: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
warning_code: "being_deleted";
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
created_at: string;
|
|
17
|
+
warning_code: "being_deleted";
|
|
18
|
+
}>>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
user_identity_being_deleted?: {
|
|
21
|
+
message: string;
|
|
22
|
+
created_at: string;
|
|
23
|
+
warning_code: "being_deleted";
|
|
24
|
+
} | null | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
user_identity_being_deleted?: {
|
|
27
|
+
message: string;
|
|
28
|
+
created_at: string;
|
|
29
|
+
warning_code: "being_deleted";
|
|
30
|
+
} | null | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
export type UserIdentityWarningMap = z.infer<typeof user_identity_warning_map>;
|
|
2
33
|
export declare const user_identity: z.ZodObject<{
|
|
3
34
|
user_identity_id: z.ZodString;
|
|
4
35
|
user_identity_key: z.ZodNullable<z.ZodString>;
|
|
@@ -8,10 +39,43 @@ export declare const user_identity: z.ZodObject<{
|
|
|
8
39
|
full_name: z.ZodNullable<z.ZodString>;
|
|
9
40
|
created_at: z.ZodString;
|
|
10
41
|
workspace_id: z.ZodString;
|
|
42
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
43
|
+
created_at: z.ZodString;
|
|
44
|
+
message: z.ZodString;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
message: string;
|
|
47
|
+
created_at: string;
|
|
48
|
+
}, {
|
|
49
|
+
message: string;
|
|
50
|
+
created_at: string;
|
|
51
|
+
}>, "many">;
|
|
52
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
53
|
+
created_at: z.ZodString;
|
|
54
|
+
message: z.ZodString;
|
|
55
|
+
}, {
|
|
56
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
57
|
+
}>, "strip", z.ZodTypeAny, {
|
|
58
|
+
message: string;
|
|
59
|
+
created_at: string;
|
|
60
|
+
warning_code: "being_deleted";
|
|
61
|
+
}, {
|
|
62
|
+
message: string;
|
|
63
|
+
created_at: string;
|
|
64
|
+
warning_code: "being_deleted";
|
|
65
|
+
}>]>, "many">;
|
|
11
66
|
}, "strip", z.ZodTypeAny, {
|
|
12
67
|
display_name: string;
|
|
13
68
|
workspace_id: string;
|
|
14
69
|
created_at: string;
|
|
70
|
+
errors: {
|
|
71
|
+
message: string;
|
|
72
|
+
created_at: string;
|
|
73
|
+
}[];
|
|
74
|
+
warnings: {
|
|
75
|
+
message: string;
|
|
76
|
+
created_at: string;
|
|
77
|
+
warning_code: "being_deleted";
|
|
78
|
+
}[];
|
|
15
79
|
user_identity_id: string;
|
|
16
80
|
email_address: string | null;
|
|
17
81
|
full_name: string | null;
|
|
@@ -21,6 +85,15 @@ export declare const user_identity: z.ZodObject<{
|
|
|
21
85
|
display_name: string;
|
|
22
86
|
workspace_id: string;
|
|
23
87
|
created_at: string;
|
|
88
|
+
errors: {
|
|
89
|
+
message: string;
|
|
90
|
+
created_at: string;
|
|
91
|
+
}[];
|
|
92
|
+
warnings: {
|
|
93
|
+
message: string;
|
|
94
|
+
created_at: string;
|
|
95
|
+
warning_code: "being_deleted";
|
|
96
|
+
}[];
|
|
24
97
|
user_identity_id: string;
|
|
25
98
|
email_address: string | null;
|
|
26
99
|
full_name: string | null;
|
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { phone_number } from '../phone-number.js';
|
|
3
|
+
const common_user_identity_error = z.object({
|
|
4
|
+
created_at: z
|
|
5
|
+
.string()
|
|
6
|
+
.datetime()
|
|
7
|
+
.describe('Date and time at which Seam created the error.'),
|
|
8
|
+
message: z
|
|
9
|
+
.string()
|
|
10
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
11
|
+
});
|
|
12
|
+
const common_user_identity_warning = z.object({
|
|
13
|
+
created_at: z
|
|
14
|
+
.string()
|
|
15
|
+
.datetime()
|
|
16
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
17
|
+
message: z
|
|
18
|
+
.string()
|
|
19
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
20
|
+
});
|
|
21
|
+
const user_identity_being_deleted = common_user_identity_warning
|
|
22
|
+
.extend({
|
|
23
|
+
warning_code: z
|
|
24
|
+
.literal('being_deleted')
|
|
25
|
+
.describe('Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.'),
|
|
26
|
+
})
|
|
27
|
+
.describe('Indicates that the user identity is currently being deleted.');
|
|
28
|
+
export const user_identity_error_map = z.object({});
|
|
29
|
+
const user_identity_warnings = z
|
|
30
|
+
.discriminatedUnion('warning_code', [user_identity_being_deleted])
|
|
31
|
+
.describe('Warnings associated with the user identity.');
|
|
32
|
+
export const user_identity_warning_map = z.object({
|
|
33
|
+
user_identity_being_deleted: user_identity_being_deleted
|
|
34
|
+
.optional()
|
|
35
|
+
.nullable(),
|
|
36
|
+
});
|
|
3
37
|
export const user_identity = z.object({
|
|
4
38
|
user_identity_id: z.string().uuid().describe('ID of the user identity.'),
|
|
5
39
|
user_identity_key: z
|
|
@@ -25,6 +59,12 @@ export const user_identity = z.object({
|
|
|
25
59
|
.string()
|
|
26
60
|
.uuid()
|
|
27
61
|
.describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.'),
|
|
62
|
+
errors: z
|
|
63
|
+
.array(common_user_identity_error)
|
|
64
|
+
.describe('Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'),
|
|
65
|
+
warnings: z
|
|
66
|
+
.array(user_identity_warnings)
|
|
67
|
+
.describe('Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'),
|
|
28
68
|
}).describe(`
|
|
29
69
|
---
|
|
30
70
|
route_path: /user_identities
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,mCAAmC,CAAC;IAChD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,YAAY,EAAE,YAAY;SACvB,QAAQ,EAAE;SACV,QAAQ,CACP,kIAAkI,CACnI;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8GAA8G,CAC/G;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,2BAA2B,GAAG,4BAA4B;KAC7D,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,eAAe,CAAC;SACxB,QAAQ,CACP,sGAAsG,CACvG;CACJ,CAAC;KACD,QAAQ,CAAC,8DAA8D,CAAC,CAAA;AAE3E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAInD,MAAM,sBAAsB,GAAG,CAAC;KAC7B,kBAAkB,CAAC,cAAc,EAAE,CAAC,2BAA2B,CAAC,CAAC;KACjE,QAAQ,CAAC,6CAA6C,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,2BAA2B,EAAE,2BAA2B;SACrD,QAAQ,EAAE;SACV,QAAQ,EAAE;CACd,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,mCAAmC,CAAC;IAChD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,KAAK,EAAE;SACP,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,YAAY,EAAE,YAAY;SACvB,QAAQ,EAAE;SACV,QAAQ,CACP,kIAAkI,CACnI;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8GAA8G,CAC/G;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,0BAA0B,CAAC;SACjC,QAAQ,CACP,0YAA0Y,CAC3Y;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,sBAAsB,CAAC;SAC7B,QAAQ,CACP,sZAAsZ,CACvZ;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -3018,7 +3018,12 @@ declare const _default: {
|
|
|
3018
3018
|
nullable: boolean;
|
|
3019
3019
|
type: string;
|
|
3020
3020
|
};
|
|
3021
|
+
user_identity_id: {
|
|
3022
|
+
format: string;
|
|
3023
|
+
type: string;
|
|
3024
|
+
};
|
|
3021
3025
|
user_identity_ids: {
|
|
3026
|
+
description: string;
|
|
3022
3027
|
items: {
|
|
3023
3028
|
format: string;
|
|
3024
3029
|
type: string;
|
|
@@ -9070,8 +9075,6 @@ declare const _default: {
|
|
|
9070
9075
|
type: string;
|
|
9071
9076
|
};
|
|
9072
9077
|
acs_credential_id: {
|
|
9073
|
-
description: string;
|
|
9074
|
-
format: string;
|
|
9075
9078
|
type: string;
|
|
9076
9079
|
};
|
|
9077
9080
|
acs_credential_pool_id: {
|
|
@@ -11022,6 +11025,25 @@ declare const _default: {
|
|
|
11022
11025
|
nullable: boolean;
|
|
11023
11026
|
type: string;
|
|
11024
11027
|
};
|
|
11028
|
+
errors: {
|
|
11029
|
+
description: string;
|
|
11030
|
+
items: {
|
|
11031
|
+
properties: {
|
|
11032
|
+
created_at: {
|
|
11033
|
+
description: string;
|
|
11034
|
+
format: string;
|
|
11035
|
+
type: string;
|
|
11036
|
+
};
|
|
11037
|
+
message: {
|
|
11038
|
+
description: string;
|
|
11039
|
+
type: string;
|
|
11040
|
+
};
|
|
11041
|
+
};
|
|
11042
|
+
required: string[];
|
|
11043
|
+
type: string;
|
|
11044
|
+
};
|
|
11045
|
+
type: string;
|
|
11046
|
+
};
|
|
11025
11047
|
full_name: {
|
|
11026
11048
|
minLength: number;
|
|
11027
11049
|
nullable: boolean;
|
|
@@ -11043,6 +11065,37 @@ declare const _default: {
|
|
|
11043
11065
|
nullable: boolean;
|
|
11044
11066
|
type: string;
|
|
11045
11067
|
};
|
|
11068
|
+
warnings: {
|
|
11069
|
+
description: string;
|
|
11070
|
+
items: {
|
|
11071
|
+
description: string;
|
|
11072
|
+
discriminator: {
|
|
11073
|
+
propertyName: string;
|
|
11074
|
+
};
|
|
11075
|
+
oneOf: {
|
|
11076
|
+
description: string;
|
|
11077
|
+
properties: {
|
|
11078
|
+
created_at: {
|
|
11079
|
+
description: string;
|
|
11080
|
+
format: string;
|
|
11081
|
+
type: string;
|
|
11082
|
+
};
|
|
11083
|
+
message: {
|
|
11084
|
+
description: string;
|
|
11085
|
+
type: string;
|
|
11086
|
+
};
|
|
11087
|
+
warning_code: {
|
|
11088
|
+
description: string;
|
|
11089
|
+
enum: string[];
|
|
11090
|
+
type: string;
|
|
11091
|
+
};
|
|
11092
|
+
};
|
|
11093
|
+
required: string[];
|
|
11094
|
+
type: string;
|
|
11095
|
+
}[];
|
|
11096
|
+
};
|
|
11097
|
+
type: string;
|
|
11098
|
+
};
|
|
11046
11099
|
workspace_id: {
|
|
11047
11100
|
description: string;
|
|
11048
11101
|
format: string;
|
|
@@ -17374,6 +17427,16 @@ declare const _default: {
|
|
|
17374
17427
|
'application/json': {
|
|
17375
17428
|
schema: {
|
|
17376
17429
|
properties: {
|
|
17430
|
+
access_grant_id: {
|
|
17431
|
+
description: string;
|
|
17432
|
+
format: string;
|
|
17433
|
+
type: string;
|
|
17434
|
+
};
|
|
17435
|
+
access_method_id: {
|
|
17436
|
+
description: string;
|
|
17437
|
+
format: string;
|
|
17438
|
+
type: string;
|
|
17439
|
+
};
|
|
17377
17440
|
acs_credential_id: {
|
|
17378
17441
|
description: string;
|
|
17379
17442
|
format: string;
|
|
@@ -19455,12 +19518,20 @@ declare const _default: {
|
|
|
19455
19518
|
minLength: number;
|
|
19456
19519
|
type: string;
|
|
19457
19520
|
};
|
|
19521
|
+
user_identity_id: {
|
|
19522
|
+
description: string;
|
|
19523
|
+
type: string;
|
|
19524
|
+
};
|
|
19458
19525
|
user_identity_ids: {
|
|
19526
|
+
deprecated: boolean;
|
|
19459
19527
|
description: string;
|
|
19460
19528
|
items: {
|
|
19461
19529
|
type: string;
|
|
19462
19530
|
};
|
|
19531
|
+
maxItems: number;
|
|
19532
|
+
minItems: number;
|
|
19463
19533
|
type: string;
|
|
19534
|
+
'x-deprecated': string;
|
|
19464
19535
|
};
|
|
19465
19536
|
};
|
|
19466
19537
|
type: string;
|
|
@@ -19562,12 +19633,20 @@ declare const _default: {
|
|
|
19562
19633
|
minLength: number;
|
|
19563
19634
|
type: string;
|
|
19564
19635
|
};
|
|
19636
|
+
user_identity_id: {
|
|
19637
|
+
description: string;
|
|
19638
|
+
type: string;
|
|
19639
|
+
};
|
|
19565
19640
|
user_identity_ids: {
|
|
19641
|
+
deprecated: boolean;
|
|
19566
19642
|
description: string;
|
|
19567
19643
|
items: {
|
|
19568
19644
|
type: string;
|
|
19569
19645
|
};
|
|
19646
|
+
maxItems: number;
|
|
19647
|
+
minItems: number;
|
|
19570
19648
|
type: string;
|
|
19649
|
+
'x-deprecated': string;
|
|
19571
19650
|
};
|
|
19572
19651
|
};
|
|
19573
19652
|
type: string;
|
|
@@ -19809,12 +19888,20 @@ declare const _default: {
|
|
|
19809
19888
|
minLength: number;
|
|
19810
19889
|
type: string;
|
|
19811
19890
|
};
|
|
19891
|
+
user_identity_id: {
|
|
19892
|
+
description: string;
|
|
19893
|
+
type: string;
|
|
19894
|
+
};
|
|
19812
19895
|
user_identity_ids: {
|
|
19896
|
+
deprecated: boolean;
|
|
19813
19897
|
description: string;
|
|
19814
19898
|
items: {
|
|
19815
19899
|
type: string;
|
|
19816
19900
|
};
|
|
19901
|
+
maxItems: number;
|
|
19902
|
+
minItems: number;
|
|
19817
19903
|
type: string;
|
|
19904
|
+
'x-deprecated': string;
|
|
19818
19905
|
};
|
|
19819
19906
|
};
|
|
19820
19907
|
type: string;
|
|
@@ -19910,12 +19997,20 @@ declare const _default: {
|
|
|
19910
19997
|
description: string;
|
|
19911
19998
|
type: string;
|
|
19912
19999
|
};
|
|
20000
|
+
user_identity_id: {
|
|
20001
|
+
description: string;
|
|
20002
|
+
type: string;
|
|
20003
|
+
};
|
|
19913
20004
|
user_identity_ids: {
|
|
20005
|
+
deprecated: boolean;
|
|
19914
20006
|
description: string;
|
|
19915
20007
|
items: {
|
|
19916
20008
|
type: string;
|
|
19917
20009
|
};
|
|
20010
|
+
maxItems: number;
|
|
20011
|
+
minItems: number;
|
|
19918
20012
|
type: string;
|
|
20013
|
+
'x-deprecated': string;
|
|
19919
20014
|
};
|
|
19920
20015
|
};
|
|
19921
20016
|
type: string;
|
|
@@ -19999,12 +20094,20 @@ declare const _default: {
|
|
|
19999
20094
|
description: string;
|
|
20000
20095
|
type: string;
|
|
20001
20096
|
};
|
|
20097
|
+
user_identity_id: {
|
|
20098
|
+
description: string;
|
|
20099
|
+
type: string;
|
|
20100
|
+
};
|
|
20002
20101
|
user_identity_ids: {
|
|
20102
|
+
deprecated: boolean;
|
|
20003
20103
|
description: string;
|
|
20004
20104
|
items: {
|
|
20005
20105
|
type: string;
|
|
20006
20106
|
};
|
|
20107
|
+
maxItems: number;
|
|
20108
|
+
minItems: number;
|
|
20007
20109
|
type: string;
|
|
20110
|
+
'x-deprecated': string;
|
|
20008
20111
|
};
|
|
20009
20112
|
};
|
|
20010
20113
|
type: string;
|