@seamapi/types 1.1058.0 → 1.1060.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/lib/seam/connect/models/access-grants/access-method.d.ts +132 -0
- package/lib/seam/connect/models/access-grants/access-method.js +20 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +58 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +58 -0
- package/lib/seam/connect/openapi.js +135 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +576 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +27 -0
- package/src/lib/seam/connect/openapi.ts +160 -0
- package/src/lib/seam/connect/route-types.ts +658 -0
|
@@ -59,6 +59,34 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
59
59
|
created_at: string;
|
|
60
60
|
warning_code: "delay_in_issuing";
|
|
61
61
|
}>>>;
|
|
62
|
+
user_identity_missing_email_address: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
63
|
+
created_at: z.ZodString;
|
|
64
|
+
message: z.ZodString;
|
|
65
|
+
} & {
|
|
66
|
+
warning_code: z.ZodLiteral<"user_identity_missing_email_address">;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
message: string;
|
|
69
|
+
created_at: string;
|
|
70
|
+
warning_code: "user_identity_missing_email_address";
|
|
71
|
+
}, {
|
|
72
|
+
message: string;
|
|
73
|
+
created_at: string;
|
|
74
|
+
warning_code: "user_identity_missing_email_address";
|
|
75
|
+
}>>>;
|
|
76
|
+
user_identity_missing_phone_number: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
77
|
+
created_at: z.ZodString;
|
|
78
|
+
message: z.ZodString;
|
|
79
|
+
} & {
|
|
80
|
+
warning_code: z.ZodLiteral<"user_identity_missing_phone_number">;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
message: string;
|
|
83
|
+
created_at: string;
|
|
84
|
+
warning_code: "user_identity_missing_phone_number";
|
|
85
|
+
}, {
|
|
86
|
+
message: string;
|
|
87
|
+
created_at: string;
|
|
88
|
+
warning_code: "user_identity_missing_phone_number";
|
|
89
|
+
}>>>;
|
|
62
90
|
}, "strip", z.ZodTypeAny, {
|
|
63
91
|
being_deleted?: {
|
|
64
92
|
message: string;
|
|
@@ -81,6 +109,16 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
81
109
|
warning_code: "pulled_backup_access_code";
|
|
82
110
|
original_access_method_id?: string | undefined;
|
|
83
111
|
} | null | undefined;
|
|
112
|
+
user_identity_missing_email_address?: {
|
|
113
|
+
message: string;
|
|
114
|
+
created_at: string;
|
|
115
|
+
warning_code: "user_identity_missing_email_address";
|
|
116
|
+
} | null | undefined;
|
|
117
|
+
user_identity_missing_phone_number?: {
|
|
118
|
+
message: string;
|
|
119
|
+
created_at: string;
|
|
120
|
+
warning_code: "user_identity_missing_phone_number";
|
|
121
|
+
} | null | undefined;
|
|
84
122
|
}, {
|
|
85
123
|
being_deleted?: {
|
|
86
124
|
message: string;
|
|
@@ -103,6 +141,16 @@ declare const _access_method_warning_map: z.ZodObject<{
|
|
|
103
141
|
warning_code: "pulled_backup_access_code";
|
|
104
142
|
original_access_method_id?: string | undefined;
|
|
105
143
|
} | null | undefined;
|
|
144
|
+
user_identity_missing_email_address?: {
|
|
145
|
+
message: string;
|
|
146
|
+
created_at: string;
|
|
147
|
+
warning_code: "user_identity_missing_email_address";
|
|
148
|
+
} | null | undefined;
|
|
149
|
+
user_identity_missing_phone_number?: {
|
|
150
|
+
message: string;
|
|
151
|
+
created_at: string;
|
|
152
|
+
warning_code: "user_identity_missing_phone_number";
|
|
153
|
+
} | null | undefined;
|
|
106
154
|
}>;
|
|
107
155
|
export type AccessMethodWarningMap = z.infer<typeof _access_method_warning_map>;
|
|
108
156
|
declare const _access_method_error_map: z.ZodObject<{
|
|
@@ -568,6 +616,32 @@ export declare const access_method: z.ZodObject<{
|
|
|
568
616
|
message: string;
|
|
569
617
|
created_at: string;
|
|
570
618
|
warning_code: "delay_in_issuing";
|
|
619
|
+
}>, z.ZodObject<{
|
|
620
|
+
created_at: z.ZodString;
|
|
621
|
+
message: z.ZodString;
|
|
622
|
+
} & {
|
|
623
|
+
warning_code: z.ZodLiteral<"user_identity_missing_email_address">;
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
625
|
+
message: string;
|
|
626
|
+
created_at: string;
|
|
627
|
+
warning_code: "user_identity_missing_email_address";
|
|
628
|
+
}, {
|
|
629
|
+
message: string;
|
|
630
|
+
created_at: string;
|
|
631
|
+
warning_code: "user_identity_missing_email_address";
|
|
632
|
+
}>, z.ZodObject<{
|
|
633
|
+
created_at: z.ZodString;
|
|
634
|
+
message: z.ZodString;
|
|
635
|
+
} & {
|
|
636
|
+
warning_code: z.ZodLiteral<"user_identity_missing_phone_number">;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
638
|
+
message: string;
|
|
639
|
+
created_at: string;
|
|
640
|
+
warning_code: "user_identity_missing_phone_number";
|
|
641
|
+
}, {
|
|
642
|
+
message: string;
|
|
643
|
+
created_at: string;
|
|
644
|
+
warning_code: "user_identity_missing_phone_number";
|
|
571
645
|
}>]>, "many">;
|
|
572
646
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
573
647
|
created_at: z.ZodString;
|
|
@@ -738,6 +812,14 @@ export declare const access_method: z.ZodObject<{
|
|
|
738
812
|
message: string;
|
|
739
813
|
created_at: string;
|
|
740
814
|
warning_code: "delay_in_issuing";
|
|
815
|
+
} | {
|
|
816
|
+
message: string;
|
|
817
|
+
created_at: string;
|
|
818
|
+
warning_code: "user_identity_missing_email_address";
|
|
819
|
+
} | {
|
|
820
|
+
message: string;
|
|
821
|
+
created_at: string;
|
|
822
|
+
warning_code: "user_identity_missing_phone_number";
|
|
741
823
|
})[];
|
|
742
824
|
display_status: string;
|
|
743
825
|
pending_mutations: ({
|
|
@@ -811,6 +893,14 @@ export declare const access_method: z.ZodObject<{
|
|
|
811
893
|
message: string;
|
|
812
894
|
created_at: string;
|
|
813
895
|
warning_code: "delay_in_issuing";
|
|
896
|
+
} | {
|
|
897
|
+
message: string;
|
|
898
|
+
created_at: string;
|
|
899
|
+
warning_code: "user_identity_missing_email_address";
|
|
900
|
+
} | {
|
|
901
|
+
message: string;
|
|
902
|
+
created_at: string;
|
|
903
|
+
warning_code: "user_identity_missing_phone_number";
|
|
814
904
|
})[];
|
|
815
905
|
display_status: string;
|
|
816
906
|
pending_mutations: ({
|
|
@@ -931,6 +1021,32 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
|
|
|
931
1021
|
message: string;
|
|
932
1022
|
created_at: string;
|
|
933
1023
|
warning_code: "delay_in_issuing";
|
|
1024
|
+
}>, z.ZodObject<{
|
|
1025
|
+
created_at: z.ZodString;
|
|
1026
|
+
message: z.ZodString;
|
|
1027
|
+
} & {
|
|
1028
|
+
warning_code: z.ZodLiteral<"user_identity_missing_email_address">;
|
|
1029
|
+
}, "strip", z.ZodTypeAny, {
|
|
1030
|
+
message: string;
|
|
1031
|
+
created_at: string;
|
|
1032
|
+
warning_code: "user_identity_missing_email_address";
|
|
1033
|
+
}, {
|
|
1034
|
+
message: string;
|
|
1035
|
+
created_at: string;
|
|
1036
|
+
warning_code: "user_identity_missing_email_address";
|
|
1037
|
+
}>, z.ZodObject<{
|
|
1038
|
+
created_at: z.ZodString;
|
|
1039
|
+
message: z.ZodString;
|
|
1040
|
+
} & {
|
|
1041
|
+
warning_code: z.ZodLiteral<"user_identity_missing_phone_number">;
|
|
1042
|
+
}, "strip", z.ZodTypeAny, {
|
|
1043
|
+
message: string;
|
|
1044
|
+
created_at: string;
|
|
1045
|
+
warning_code: "user_identity_missing_phone_number";
|
|
1046
|
+
}, {
|
|
1047
|
+
message: string;
|
|
1048
|
+
created_at: string;
|
|
1049
|
+
warning_code: "user_identity_missing_phone_number";
|
|
934
1050
|
}>]>, "many">;
|
|
935
1051
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
936
1052
|
created_at: z.ZodString;
|
|
@@ -1101,6 +1217,14 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
|
|
|
1101
1217
|
message: string;
|
|
1102
1218
|
created_at: string;
|
|
1103
1219
|
warning_code: "delay_in_issuing";
|
|
1220
|
+
} | {
|
|
1221
|
+
message: string;
|
|
1222
|
+
created_at: string;
|
|
1223
|
+
warning_code: "user_identity_missing_email_address";
|
|
1224
|
+
} | {
|
|
1225
|
+
message: string;
|
|
1226
|
+
created_at: string;
|
|
1227
|
+
warning_code: "user_identity_missing_phone_number";
|
|
1104
1228
|
})[];
|
|
1105
1229
|
display_status: string;
|
|
1106
1230
|
pending_mutations: ({
|
|
@@ -1171,6 +1295,14 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
|
|
|
1171
1295
|
message: string;
|
|
1172
1296
|
created_at: string;
|
|
1173
1297
|
warning_code: "delay_in_issuing";
|
|
1298
|
+
} | {
|
|
1299
|
+
message: string;
|
|
1300
|
+
created_at: string;
|
|
1301
|
+
warning_code: "user_identity_missing_email_address";
|
|
1302
|
+
} | {
|
|
1303
|
+
message: string;
|
|
1304
|
+
created_at: string;
|
|
1305
|
+
warning_code: "user_identity_missing_phone_number";
|
|
1174
1306
|
})[];
|
|
1175
1307
|
display_status: string;
|
|
1176
1308
|
pending_mutations: ({
|
|
@@ -38,12 +38,28 @@ const delay_in_issuing_warning = common_access_method_warning
|
|
|
38
38
|
.describe(warning_code_description),
|
|
39
39
|
})
|
|
40
40
|
.describe('Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.');
|
|
41
|
+
const user_identity_missing_email_address_warning = common_access_method_warning
|
|
42
|
+
.extend({
|
|
43
|
+
warning_code: z
|
|
44
|
+
.literal('user_identity_missing_email_address')
|
|
45
|
+
.describe(warning_code_description),
|
|
46
|
+
})
|
|
47
|
+
.describe("Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.");
|
|
48
|
+
const user_identity_missing_phone_number_warning = common_access_method_warning
|
|
49
|
+
.extend({
|
|
50
|
+
warning_code: z
|
|
51
|
+
.literal('user_identity_missing_phone_number')
|
|
52
|
+
.describe(warning_code_description),
|
|
53
|
+
})
|
|
54
|
+
.describe("Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.");
|
|
41
55
|
const access_method_warning = z
|
|
42
56
|
.discriminatedUnion('warning_code', [
|
|
43
57
|
being_deleted,
|
|
44
58
|
updating_access_times_warning,
|
|
45
59
|
pulled_backup_access_code_warning,
|
|
46
60
|
delay_in_issuing_warning,
|
|
61
|
+
user_identity_missing_email_address_warning,
|
|
62
|
+
user_identity_missing_phone_number_warning,
|
|
47
63
|
])
|
|
48
64
|
.describe('Warning associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).');
|
|
49
65
|
const _access_method_warning_map = z.object({
|
|
@@ -53,6 +69,10 @@ const _access_method_warning_map = z.object({
|
|
|
53
69
|
.optional()
|
|
54
70
|
.nullable(),
|
|
55
71
|
delay_in_issuing: delay_in_issuing_warning.optional().nullable(),
|
|
72
|
+
user_identity_missing_email_address: user_identity_missing_email_address_warning.optional().nullable(),
|
|
73
|
+
user_identity_missing_phone_number: user_identity_missing_phone_number_warning
|
|
74
|
+
.optional()
|
|
75
|
+
.nullable(),
|
|
56
76
|
});
|
|
57
77
|
const common_access_method_error = z.object({
|
|
58
78
|
created_at: datetime.describe('Date and time at which Seam created the error.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,aAAa,GAAG,4BAA4B;KAC/C,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CACP,+HAA+H,CAChI,CAAA;AAEH,MAAM,6BAA6B,GAAG,4BAA4B;KAC/D,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,uBAAuB,CAAC;SAChC,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,sJAAsJ,CACvJ,CAAA;AAEH,MAAM,iCAAiC,GAAG,4BAA4B;KACnE,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,2BAA2B,CAAC;SACpC,QAAQ,CAAC,wBAAwB,CAAC;IACrC,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,iGAAiG,CAClG;CACJ,CAAC;KACD,QAAQ,CACP,2KAA2K,CAC5K,CAAA;AAEH,MAAM,wBAAwB,GAAG,4BAA4B;KAC1D,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,kBAAkB,CAAC;SAC3B,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,kVAAkV,CACnV,CAAA;AAEH,MAAM,qBAAqB,GAAG,CAAC;KAC5B,kBAAkB,CAAC,cAAc,EAAE;IAClC,aAAa;IACb,6BAA6B;IAC7B,iCAAiC;IACjC,wBAAwB;
|
|
1
|
+
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,aAAa,GAAG,4BAA4B;KAC/C,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CACP,+HAA+H,CAChI,CAAA;AAEH,MAAM,6BAA6B,GAAG,4BAA4B;KAC/D,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,OAAO,CAAC,uBAAuB,CAAC;SAChC,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC;KACD,QAAQ,CACP,sJAAsJ,CACvJ,CAAA;AAEH,MAAM,iCAAiC,GAA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C;SACrB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qJAAqJ,CACtJ;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uMAAuM,CACxM;IACH,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,gMAAgM,CACjM;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,CACP,wHAAwH,CACzH;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,sHAAsH,CACvH;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,+BAA+B,CAAC;SACtC,QAAQ,CACP,gKAAgK,CACjK;IACH,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,IAAI,CAAC;IACxD,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,wBAAwB,EAAE,IAAI;CAC/B,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -3877,6 +3877,32 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
3877
3877
|
message: string;
|
|
3878
3878
|
created_at: string;
|
|
3879
3879
|
warning_code: "delay_in_issuing";
|
|
3880
|
+
}>, z.ZodObject<{
|
|
3881
|
+
created_at: z.ZodString;
|
|
3882
|
+
message: z.ZodString;
|
|
3883
|
+
} & {
|
|
3884
|
+
warning_code: z.ZodLiteral<"user_identity_missing_email_address">;
|
|
3885
|
+
}, "strip", z.ZodTypeAny, {
|
|
3886
|
+
message: string;
|
|
3887
|
+
created_at: string;
|
|
3888
|
+
warning_code: "user_identity_missing_email_address";
|
|
3889
|
+
}, {
|
|
3890
|
+
message: string;
|
|
3891
|
+
created_at: string;
|
|
3892
|
+
warning_code: "user_identity_missing_email_address";
|
|
3893
|
+
}>, z.ZodObject<{
|
|
3894
|
+
created_at: z.ZodString;
|
|
3895
|
+
message: z.ZodString;
|
|
3896
|
+
} & {
|
|
3897
|
+
warning_code: z.ZodLiteral<"user_identity_missing_phone_number">;
|
|
3898
|
+
}, "strip", z.ZodTypeAny, {
|
|
3899
|
+
message: string;
|
|
3900
|
+
created_at: string;
|
|
3901
|
+
warning_code: "user_identity_missing_phone_number";
|
|
3902
|
+
}, {
|
|
3903
|
+
message: string;
|
|
3904
|
+
created_at: string;
|
|
3905
|
+
warning_code: "user_identity_missing_phone_number";
|
|
3880
3906
|
}>]>, "many">;
|
|
3881
3907
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
3882
3908
|
created_at: z.ZodString;
|
|
@@ -4047,6 +4073,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
4047
4073
|
message: string;
|
|
4048
4074
|
created_at: string;
|
|
4049
4075
|
warning_code: "delay_in_issuing";
|
|
4076
|
+
} | {
|
|
4077
|
+
message: string;
|
|
4078
|
+
created_at: string;
|
|
4079
|
+
warning_code: "user_identity_missing_email_address";
|
|
4080
|
+
} | {
|
|
4081
|
+
message: string;
|
|
4082
|
+
created_at: string;
|
|
4083
|
+
warning_code: "user_identity_missing_phone_number";
|
|
4050
4084
|
})[];
|
|
4051
4085
|
display_status: string;
|
|
4052
4086
|
pending_mutations: ({
|
|
@@ -4120,6 +4154,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
4120
4154
|
message: string;
|
|
4121
4155
|
created_at: string;
|
|
4122
4156
|
warning_code: "delay_in_issuing";
|
|
4157
|
+
} | {
|
|
4158
|
+
message: string;
|
|
4159
|
+
created_at: string;
|
|
4160
|
+
warning_code: "user_identity_missing_email_address";
|
|
4161
|
+
} | {
|
|
4162
|
+
message: string;
|
|
4163
|
+
created_at: string;
|
|
4164
|
+
warning_code: "user_identity_missing_phone_number";
|
|
4123
4165
|
})[];
|
|
4124
4166
|
display_status: string;
|
|
4125
4167
|
pending_mutations: ({
|
|
@@ -4198,6 +4240,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
4198
4240
|
message: string;
|
|
4199
4241
|
created_at: string;
|
|
4200
4242
|
warning_code: "delay_in_issuing";
|
|
4243
|
+
} | {
|
|
4244
|
+
message: string;
|
|
4245
|
+
created_at: string;
|
|
4246
|
+
warning_code: "user_identity_missing_email_address";
|
|
4247
|
+
} | {
|
|
4248
|
+
message: string;
|
|
4249
|
+
created_at: string;
|
|
4250
|
+
warning_code: "user_identity_missing_phone_number";
|
|
4201
4251
|
})[];
|
|
4202
4252
|
display_status: string;
|
|
4203
4253
|
pending_mutations: ({
|
|
@@ -4277,6 +4327,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
4277
4327
|
message: string;
|
|
4278
4328
|
created_at: string;
|
|
4279
4329
|
warning_code: "delay_in_issuing";
|
|
4330
|
+
} | {
|
|
4331
|
+
message: string;
|
|
4332
|
+
created_at: string;
|
|
4333
|
+
warning_code: "user_identity_missing_email_address";
|
|
4334
|
+
} | {
|
|
4335
|
+
message: string;
|
|
4336
|
+
created_at: string;
|
|
4337
|
+
warning_code: "user_identity_missing_phone_number";
|
|
4280
4338
|
})[];
|
|
4281
4339
|
display_status: string;
|
|
4282
4340
|
pending_mutations: ({
|
|
@@ -97,6 +97,32 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
97
97
|
message: string;
|
|
98
98
|
created_at: string;
|
|
99
99
|
warning_code: "delay_in_issuing";
|
|
100
|
+
}>, z.ZodObject<{
|
|
101
|
+
created_at: z.ZodString;
|
|
102
|
+
message: z.ZodString;
|
|
103
|
+
} & {
|
|
104
|
+
warning_code: z.ZodLiteral<"user_identity_missing_email_address">;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
message: string;
|
|
107
|
+
created_at: string;
|
|
108
|
+
warning_code: "user_identity_missing_email_address";
|
|
109
|
+
}, {
|
|
110
|
+
message: string;
|
|
111
|
+
created_at: string;
|
|
112
|
+
warning_code: "user_identity_missing_email_address";
|
|
113
|
+
}>, z.ZodObject<{
|
|
114
|
+
created_at: z.ZodString;
|
|
115
|
+
message: z.ZodString;
|
|
116
|
+
} & {
|
|
117
|
+
warning_code: z.ZodLiteral<"user_identity_missing_phone_number">;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
message: string;
|
|
120
|
+
created_at: string;
|
|
121
|
+
warning_code: "user_identity_missing_phone_number";
|
|
122
|
+
}, {
|
|
123
|
+
message: string;
|
|
124
|
+
created_at: string;
|
|
125
|
+
warning_code: "user_identity_missing_phone_number";
|
|
100
126
|
}>]>, "many">;
|
|
101
127
|
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
102
128
|
created_at: z.ZodString;
|
|
@@ -267,6 +293,14 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
267
293
|
message: string;
|
|
268
294
|
created_at: string;
|
|
269
295
|
warning_code: "delay_in_issuing";
|
|
296
|
+
} | {
|
|
297
|
+
message: string;
|
|
298
|
+
created_at: string;
|
|
299
|
+
warning_code: "user_identity_missing_email_address";
|
|
300
|
+
} | {
|
|
301
|
+
message: string;
|
|
302
|
+
created_at: string;
|
|
303
|
+
warning_code: "user_identity_missing_phone_number";
|
|
270
304
|
})[];
|
|
271
305
|
display_status: string;
|
|
272
306
|
pending_mutations: ({
|
|
@@ -340,6 +374,14 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
340
374
|
message: string;
|
|
341
375
|
created_at: string;
|
|
342
376
|
warning_code: "delay_in_issuing";
|
|
377
|
+
} | {
|
|
378
|
+
message: string;
|
|
379
|
+
created_at: string;
|
|
380
|
+
warning_code: "user_identity_missing_email_address";
|
|
381
|
+
} | {
|
|
382
|
+
message: string;
|
|
383
|
+
created_at: string;
|
|
384
|
+
warning_code: "user_identity_missing_phone_number";
|
|
343
385
|
})[];
|
|
344
386
|
display_status: string;
|
|
345
387
|
pending_mutations: ({
|
|
@@ -418,6 +460,14 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
418
460
|
message: string;
|
|
419
461
|
created_at: string;
|
|
420
462
|
warning_code: "delay_in_issuing";
|
|
463
|
+
} | {
|
|
464
|
+
message: string;
|
|
465
|
+
created_at: string;
|
|
466
|
+
warning_code: "user_identity_missing_email_address";
|
|
467
|
+
} | {
|
|
468
|
+
message: string;
|
|
469
|
+
created_at: string;
|
|
470
|
+
warning_code: "user_identity_missing_phone_number";
|
|
421
471
|
})[];
|
|
422
472
|
display_status: string;
|
|
423
473
|
pending_mutations: ({
|
|
@@ -497,6 +547,14 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
497
547
|
message: string;
|
|
498
548
|
created_at: string;
|
|
499
549
|
warning_code: "delay_in_issuing";
|
|
550
|
+
} | {
|
|
551
|
+
message: string;
|
|
552
|
+
created_at: string;
|
|
553
|
+
warning_code: "user_identity_missing_email_address";
|
|
554
|
+
} | {
|
|
555
|
+
message: string;
|
|
556
|
+
created_at: string;
|
|
557
|
+
warning_code: "user_identity_missing_phone_number";
|
|
500
558
|
})[];
|
|
501
559
|
display_status: string;
|
|
502
560
|
pending_mutations: ({
|
|
@@ -2497,6 +2497,48 @@ const openapi = {
|
|
|
2497
2497
|
required: ['created_at', 'message', 'warning_code'],
|
|
2498
2498
|
type: 'object',
|
|
2499
2499
|
},
|
|
2500
|
+
{
|
|
2501
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
2502
|
+
properties: {
|
|
2503
|
+
created_at: {
|
|
2504
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2505
|
+
format: 'date-time',
|
|
2506
|
+
type: 'string',
|
|
2507
|
+
},
|
|
2508
|
+
message: {
|
|
2509
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2510
|
+
type: 'string',
|
|
2511
|
+
},
|
|
2512
|
+
warning_code: {
|
|
2513
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2514
|
+
enum: ['user_identity_missing_email_address'],
|
|
2515
|
+
type: 'string',
|
|
2516
|
+
},
|
|
2517
|
+
},
|
|
2518
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
2519
|
+
type: 'object',
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
2523
|
+
properties: {
|
|
2524
|
+
created_at: {
|
|
2525
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2526
|
+
format: 'date-time',
|
|
2527
|
+
type: 'string',
|
|
2528
|
+
},
|
|
2529
|
+
message: {
|
|
2530
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2531
|
+
type: 'string',
|
|
2532
|
+
},
|
|
2533
|
+
warning_code: {
|
|
2534
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2535
|
+
enum: ['user_identity_missing_phone_number'],
|
|
2536
|
+
type: 'string',
|
|
2537
|
+
},
|
|
2538
|
+
},
|
|
2539
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
2540
|
+
type: 'object',
|
|
2541
|
+
},
|
|
2500
2542
|
],
|
|
2501
2543
|
},
|
|
2502
2544
|
type: 'array',
|
|
@@ -8954,6 +8996,48 @@ const openapi = {
|
|
|
8954
8996
|
required: ['created_at', 'message', 'warning_code'],
|
|
8955
8997
|
type: 'object',
|
|
8956
8998
|
},
|
|
8999
|
+
{
|
|
9000
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
9001
|
+
properties: {
|
|
9002
|
+
created_at: {
|
|
9003
|
+
description: 'Date and time at which Seam created the warning.',
|
|
9004
|
+
format: 'date-time',
|
|
9005
|
+
type: 'string',
|
|
9006
|
+
},
|
|
9007
|
+
message: {
|
|
9008
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
9009
|
+
type: 'string',
|
|
9010
|
+
},
|
|
9011
|
+
warning_code: {
|
|
9012
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
9013
|
+
enum: ['user_identity_missing_email_address'],
|
|
9014
|
+
type: 'string',
|
|
9015
|
+
},
|
|
9016
|
+
},
|
|
9017
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
9018
|
+
type: 'object',
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
9022
|
+
properties: {
|
|
9023
|
+
created_at: {
|
|
9024
|
+
description: 'Date and time at which Seam created the warning.',
|
|
9025
|
+
format: 'date-time',
|
|
9026
|
+
type: 'string',
|
|
9027
|
+
},
|
|
9028
|
+
message: {
|
|
9029
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
9030
|
+
type: 'string',
|
|
9031
|
+
},
|
|
9032
|
+
warning_code: {
|
|
9033
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
9034
|
+
enum: ['user_identity_missing_phone_number'],
|
|
9035
|
+
type: 'string',
|
|
9036
|
+
},
|
|
9037
|
+
},
|
|
9038
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
9039
|
+
type: 'object',
|
|
9040
|
+
},
|
|
8957
9041
|
],
|
|
8958
9042
|
},
|
|
8959
9043
|
type: 'array',
|
|
@@ -30335,6 +30419,48 @@ const openapi = {
|
|
|
30335
30419
|
required: ['created_at', 'message', 'warning_code'],
|
|
30336
30420
|
type: 'object',
|
|
30337
30421
|
},
|
|
30422
|
+
{
|
|
30423
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
30424
|
+
properties: {
|
|
30425
|
+
created_at: {
|
|
30426
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30427
|
+
format: 'date-time',
|
|
30428
|
+
type: 'string',
|
|
30429
|
+
},
|
|
30430
|
+
message: {
|
|
30431
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30432
|
+
type: 'string',
|
|
30433
|
+
},
|
|
30434
|
+
warning_code: {
|
|
30435
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30436
|
+
enum: ['user_identity_missing_email_address'],
|
|
30437
|
+
type: 'string',
|
|
30438
|
+
},
|
|
30439
|
+
},
|
|
30440
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
30441
|
+
type: 'object',
|
|
30442
|
+
},
|
|
30443
|
+
{
|
|
30444
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
30445
|
+
properties: {
|
|
30446
|
+
created_at: {
|
|
30447
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30448
|
+
format: 'date-time',
|
|
30449
|
+
type: 'string',
|
|
30450
|
+
},
|
|
30451
|
+
message: {
|
|
30452
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30453
|
+
type: 'string',
|
|
30454
|
+
},
|
|
30455
|
+
warning_code: {
|
|
30456
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30457
|
+
enum: ['user_identity_missing_phone_number'],
|
|
30458
|
+
type: 'string',
|
|
30459
|
+
},
|
|
30460
|
+
},
|
|
30461
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
30462
|
+
type: 'object',
|
|
30463
|
+
},
|
|
30338
30464
|
],
|
|
30339
30465
|
},
|
|
30340
30466
|
type: 'array',
|
|
@@ -36393,6 +36519,15 @@ const openapi = {
|
|
|
36393
36519
|
type: 'string',
|
|
36394
36520
|
},
|
|
36395
36521
|
},
|
|
36522
|
+
{
|
|
36523
|
+
in: 'query',
|
|
36524
|
+
name: 'search',
|
|
36525
|
+
schema: {
|
|
36526
|
+
description: 'String for which to search. Filters returned Access Grants to include all records that satisfy a partial match using `name`, `access_grant_key`, `reservation_key`, `access_grant_id`, `user_identity_id`, `user_identity_full_name`, `user_identity_email_address` or `user_identity_phone_number`.',
|
|
36527
|
+
minLength: 1,
|
|
36528
|
+
type: 'string',
|
|
36529
|
+
},
|
|
36530
|
+
},
|
|
36396
36531
|
],
|
|
36397
36532
|
responses: {
|
|
36398
36533
|
'200': {
|