@seamapi/types 1.375.2 → 1.376.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 +127 -142
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +351 -298
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +182 -150
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -3
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/index.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-users/index.js +1 -1
- package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/{pending-modifications.d.ts → pending-mutations.d.ts} +191 -106
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +90 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +56 -56
- package/lib/seam/connect/openapi.js +80 -98
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +119 -98
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +2 -3
- package/src/lib/seam/connect/models/acs/acs-users/index.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +110 -0
- package/src/lib/seam/connect/openapi.ts +80 -98
- package/src/lib/seam/connect/route-types.ts +126 -98
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +0 -85
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +0 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +0 -109
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { phone_number } from '../../phone-number.js';
|
|
3
3
|
import { schedule } from '../../schedule.js';
|
|
4
|
-
import {
|
|
4
|
+
import { acs_user_pending_mutations } from './pending-mutations.js';
|
|
5
5
|
export const acs_user_external_type = z.enum([
|
|
6
6
|
'pti_user',
|
|
7
7
|
'brivo_user',
|
|
@@ -229,8 +229,7 @@ const common_acs_user = z
|
|
|
229
229
|
errors: z
|
|
230
230
|
.array(acs_user_errors)
|
|
231
231
|
.describe('Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).'),
|
|
232
|
-
|
|
233
|
-
.describe(`
|
|
232
|
+
pending_mutations: z.array(acs_user_pending_mutations).optional().describe(`
|
|
234
233
|
---
|
|
235
234
|
undocumented: Experimental.
|
|
236
235
|
---
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAEnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;IACZ,0BAA0B;IAC1B,kBAAkB;CACnB,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,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AM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './acs-user.js';
|
|
2
|
-
export * from './pending-
|
|
2
|
+
export * from './pending-mutations.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
package/lib/seam/connect/models/acs/acs-users/{pending-modifications.d.ts → pending-mutations.d.ts}
RENAMED
|
@@ -1,19 +1,86 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const updating_user_information_mutation: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
created_at: z.ZodString;
|
|
4
4
|
}, {
|
|
5
|
-
|
|
5
|
+
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
6
|
+
from: z.ZodObject<{
|
|
7
|
+
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
email_address?: string | null | undefined;
|
|
12
|
+
full_name?: string | null | undefined;
|
|
13
|
+
phone_number?: string | null | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
email_address?: string | null | undefined;
|
|
16
|
+
full_name?: string | null | undefined;
|
|
17
|
+
phone_number?: string | null | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
to: z.ZodObject<{
|
|
20
|
+
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
email_address?: string | null | undefined;
|
|
25
|
+
full_name?: string | null | undefined;
|
|
26
|
+
phone_number?: string | null | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
email_address?: string | null | undefined;
|
|
29
|
+
full_name?: string | null | undefined;
|
|
30
|
+
phone_number?: string | null | undefined;
|
|
31
|
+
}>;
|
|
6
32
|
}>, "strip", z.ZodTypeAny, {
|
|
7
33
|
created_at: string;
|
|
8
|
-
|
|
34
|
+
mutation_code: "updating_user_information";
|
|
35
|
+
from: {
|
|
36
|
+
email_address?: string | null | undefined;
|
|
37
|
+
full_name?: string | null | undefined;
|
|
38
|
+
phone_number?: string | null | undefined;
|
|
39
|
+
};
|
|
40
|
+
to: {
|
|
41
|
+
email_address?: string | null | undefined;
|
|
42
|
+
full_name?: string | null | undefined;
|
|
43
|
+
phone_number?: string | null | undefined;
|
|
44
|
+
};
|
|
9
45
|
}, {
|
|
10
46
|
created_at: string;
|
|
11
|
-
|
|
47
|
+
mutation_code: "updating_user_information";
|
|
48
|
+
from: {
|
|
49
|
+
email_address?: string | null | undefined;
|
|
50
|
+
full_name?: string | null | undefined;
|
|
51
|
+
phone_number?: string | null | undefined;
|
|
52
|
+
};
|
|
53
|
+
to: {
|
|
54
|
+
email_address?: string | null | undefined;
|
|
55
|
+
full_name?: string | null | undefined;
|
|
56
|
+
phone_number?: string | null | undefined;
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
59
|
+
export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
60
|
+
created_at: z.ZodString;
|
|
61
|
+
}, {
|
|
62
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
63
|
+
}>, "strip", z.ZodTypeAny, {
|
|
64
|
+
created_at: string;
|
|
65
|
+
mutation_code: "creating";
|
|
66
|
+
}, {
|
|
67
|
+
created_at: string;
|
|
68
|
+
mutation_code: "creating";
|
|
69
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
70
|
+
created_at: z.ZodString;
|
|
71
|
+
}, {
|
|
72
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
73
|
+
}>, "strip", z.ZodTypeAny, {
|
|
74
|
+
created_at: string;
|
|
75
|
+
mutation_code: "deleting";
|
|
76
|
+
}, {
|
|
77
|
+
created_at: string;
|
|
78
|
+
mutation_code: "deleting";
|
|
12
79
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
13
80
|
created_at: z.ZodString;
|
|
14
81
|
}, {
|
|
15
|
-
|
|
16
|
-
|
|
82
|
+
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
83
|
+
from: z.ZodObject<{
|
|
17
84
|
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
85
|
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
86
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
@@ -26,7 +93,7 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
26
93
|
full_name?: string | null | undefined;
|
|
27
94
|
phone_number?: string | null | undefined;
|
|
28
95
|
}>;
|
|
29
|
-
|
|
96
|
+
to: z.ZodObject<{
|
|
30
97
|
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
98
|
full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
99
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
|
|
@@ -41,26 +108,26 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
41
108
|
}>;
|
|
42
109
|
}>, "strip", z.ZodTypeAny, {
|
|
43
110
|
created_at: string;
|
|
44
|
-
|
|
45
|
-
|
|
111
|
+
mutation_code: "updating_user_information";
|
|
112
|
+
from: {
|
|
46
113
|
email_address?: string | null | undefined;
|
|
47
114
|
full_name?: string | null | undefined;
|
|
48
115
|
phone_number?: string | null | undefined;
|
|
49
116
|
};
|
|
50
|
-
|
|
117
|
+
to: {
|
|
51
118
|
email_address?: string | null | undefined;
|
|
52
119
|
full_name?: string | null | undefined;
|
|
53
120
|
phone_number?: string | null | undefined;
|
|
54
121
|
};
|
|
55
122
|
}, {
|
|
56
123
|
created_at: string;
|
|
57
|
-
|
|
58
|
-
|
|
124
|
+
mutation_code: "updating_user_information";
|
|
125
|
+
from: {
|
|
59
126
|
email_address?: string | null | undefined;
|
|
60
127
|
full_name?: string | null | undefined;
|
|
61
128
|
phone_number?: string | null | undefined;
|
|
62
129
|
};
|
|
63
|
-
|
|
130
|
+
to: {
|
|
64
131
|
email_address?: string | null | undefined;
|
|
65
132
|
full_name?: string | null | undefined;
|
|
66
133
|
phone_number?: string | null | undefined;
|
|
@@ -68,8 +135,8 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
68
135
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
69
136
|
created_at: z.ZodString;
|
|
70
137
|
}, {
|
|
71
|
-
|
|
72
|
-
|
|
138
|
+
mutation_code: z.ZodLiteral<"updating_access_schedule">;
|
|
139
|
+
from: z.ZodObject<{
|
|
73
140
|
starts_at: z.ZodString;
|
|
74
141
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
75
142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -79,7 +146,7 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
79
146
|
starts_at: string;
|
|
80
147
|
ends_at: string | null;
|
|
81
148
|
}>;
|
|
82
|
-
|
|
149
|
+
to: z.ZodObject<{
|
|
83
150
|
starts_at: z.ZodString;
|
|
84
151
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
85
152
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -91,38 +158,38 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
91
158
|
}>;
|
|
92
159
|
}>, "strip", z.ZodTypeAny, {
|
|
93
160
|
created_at: string;
|
|
94
|
-
|
|
95
|
-
|
|
161
|
+
mutation_code: "updating_access_schedule";
|
|
162
|
+
from: {
|
|
96
163
|
starts_at: string;
|
|
97
164
|
ends_at: string | null;
|
|
98
165
|
};
|
|
99
|
-
|
|
166
|
+
to: {
|
|
100
167
|
starts_at: string;
|
|
101
168
|
ends_at: string | null;
|
|
102
169
|
};
|
|
103
170
|
}, {
|
|
104
171
|
created_at: string;
|
|
105
|
-
|
|
106
|
-
|
|
172
|
+
mutation_code: "updating_access_schedule";
|
|
173
|
+
from: {
|
|
107
174
|
starts_at: string;
|
|
108
175
|
ends_at: string | null;
|
|
109
176
|
};
|
|
110
|
-
|
|
177
|
+
to: {
|
|
111
178
|
starts_at: string;
|
|
112
179
|
ends_at: string | null;
|
|
113
180
|
};
|
|
114
181
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
115
182
|
created_at: z.ZodString;
|
|
116
183
|
}, {
|
|
117
|
-
|
|
118
|
-
|
|
184
|
+
mutation_code: z.ZodLiteral<"updating_suspension_state">;
|
|
185
|
+
from: z.ZodObject<{
|
|
119
186
|
is_suspended: z.ZodBoolean;
|
|
120
187
|
}, "strip", z.ZodTypeAny, {
|
|
121
188
|
is_suspended: boolean;
|
|
122
189
|
}, {
|
|
123
190
|
is_suspended: boolean;
|
|
124
191
|
}>;
|
|
125
|
-
|
|
192
|
+
to: z.ZodObject<{
|
|
126
193
|
is_suspended: z.ZodBoolean;
|
|
127
194
|
}, "strip", z.ZodTypeAny, {
|
|
128
195
|
is_suspended: boolean;
|
|
@@ -131,34 +198,34 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
131
198
|
}>;
|
|
132
199
|
}>, "strip", z.ZodTypeAny, {
|
|
133
200
|
created_at: string;
|
|
134
|
-
|
|
135
|
-
|
|
201
|
+
mutation_code: "updating_suspension_state";
|
|
202
|
+
from: {
|
|
136
203
|
is_suspended: boolean;
|
|
137
204
|
};
|
|
138
|
-
|
|
205
|
+
to: {
|
|
139
206
|
is_suspended: boolean;
|
|
140
207
|
};
|
|
141
208
|
}, {
|
|
142
209
|
created_at: string;
|
|
143
|
-
|
|
144
|
-
|
|
210
|
+
mutation_code: "updating_suspension_state";
|
|
211
|
+
from: {
|
|
145
212
|
is_suspended: boolean;
|
|
146
213
|
};
|
|
147
|
-
|
|
214
|
+
to: {
|
|
148
215
|
is_suspended: boolean;
|
|
149
216
|
};
|
|
150
217
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
151
218
|
created_at: z.ZodString;
|
|
152
219
|
}, {
|
|
153
|
-
|
|
154
|
-
|
|
220
|
+
mutation_code: z.ZodLiteral<"updating_group_membership">;
|
|
221
|
+
from: z.ZodObject<{
|
|
155
222
|
acs_access_group_id: z.ZodNullable<z.ZodString>;
|
|
156
223
|
}, "strip", z.ZodTypeAny, {
|
|
157
224
|
acs_access_group_id: string | null;
|
|
158
225
|
}, {
|
|
159
226
|
acs_access_group_id: string | null;
|
|
160
227
|
}>;
|
|
161
|
-
|
|
228
|
+
to: z.ZodObject<{
|
|
162
229
|
acs_access_group_id: z.ZodNullable<z.ZodString>;
|
|
163
230
|
}, "strip", z.ZodTypeAny, {
|
|
164
231
|
acs_access_group_id: string | null;
|
|
@@ -167,48 +234,59 @@ export declare const acs_user_pending_modification: z.ZodDiscriminatedUnion<"mod
|
|
|
167
234
|
}>;
|
|
168
235
|
}>, "strip", z.ZodTypeAny, {
|
|
169
236
|
created_at: string;
|
|
170
|
-
|
|
171
|
-
|
|
237
|
+
mutation_code: "updating_group_membership";
|
|
238
|
+
from: {
|
|
172
239
|
acs_access_group_id: string | null;
|
|
173
240
|
};
|
|
174
|
-
|
|
241
|
+
to: {
|
|
175
242
|
acs_access_group_id: string | null;
|
|
176
243
|
};
|
|
177
244
|
}, {
|
|
178
245
|
created_at: string;
|
|
179
|
-
|
|
180
|
-
|
|
246
|
+
mutation_code: "updating_group_membership";
|
|
247
|
+
from: {
|
|
181
248
|
acs_access_group_id: string | null;
|
|
182
249
|
};
|
|
183
|
-
|
|
250
|
+
to: {
|
|
184
251
|
acs_access_group_id: string | null;
|
|
185
252
|
};
|
|
186
253
|
}>]>;
|
|
187
|
-
export type
|
|
188
|
-
declare const
|
|
189
|
-
|
|
254
|
+
export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>;
|
|
255
|
+
export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
256
|
+
creating: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
257
|
+
created_at: z.ZodString;
|
|
258
|
+
}, {
|
|
259
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
260
|
+
}>, "strip", z.ZodTypeAny, {
|
|
261
|
+
created_at: string;
|
|
262
|
+
mutation_code: "creating";
|
|
263
|
+
}, {
|
|
264
|
+
created_at: string;
|
|
265
|
+
mutation_code: "creating";
|
|
266
|
+
}>>>;
|
|
267
|
+
deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
190
268
|
created_at: z.ZodString;
|
|
191
269
|
}, {
|
|
192
|
-
|
|
270
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
193
271
|
}>, "strip", z.ZodTypeAny, {
|
|
194
272
|
created_at: string;
|
|
195
|
-
|
|
273
|
+
mutation_code: "deleting";
|
|
196
274
|
}, {
|
|
197
275
|
created_at: string;
|
|
198
|
-
|
|
276
|
+
mutation_code: "deleting";
|
|
199
277
|
}>>>;
|
|
200
|
-
'
|
|
278
|
+
'updating_user_information.full_name': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
201
279
|
created_at: z.ZodString;
|
|
202
280
|
}, {
|
|
203
|
-
|
|
204
|
-
|
|
281
|
+
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
282
|
+
from: z.ZodObject<{
|
|
205
283
|
full_name: z.ZodNullable<z.ZodString>;
|
|
206
284
|
}, "strip", z.ZodTypeAny, {
|
|
207
285
|
full_name: string | null;
|
|
208
286
|
}, {
|
|
209
287
|
full_name: string | null;
|
|
210
288
|
}>;
|
|
211
|
-
|
|
289
|
+
to: z.ZodObject<{
|
|
212
290
|
full_name: z.ZodNullable<z.ZodString>;
|
|
213
291
|
}, "strip", z.ZodTypeAny, {
|
|
214
292
|
full_name: string | null;
|
|
@@ -217,35 +295,35 @@ declare const acs_user_pending_modifications_map: z.ZodObject<{
|
|
|
217
295
|
}>;
|
|
218
296
|
}>, "strip", z.ZodTypeAny, {
|
|
219
297
|
created_at: string;
|
|
220
|
-
|
|
221
|
-
|
|
298
|
+
mutation_code: "updating_user_information";
|
|
299
|
+
from: {
|
|
222
300
|
full_name: string | null;
|
|
223
301
|
};
|
|
224
|
-
|
|
302
|
+
to: {
|
|
225
303
|
full_name: string | null;
|
|
226
304
|
};
|
|
227
305
|
}, {
|
|
228
306
|
created_at: string;
|
|
229
|
-
|
|
230
|
-
|
|
307
|
+
mutation_code: "updating_user_information";
|
|
308
|
+
from: {
|
|
231
309
|
full_name: string | null;
|
|
232
310
|
};
|
|
233
|
-
|
|
311
|
+
to: {
|
|
234
312
|
full_name: string | null;
|
|
235
313
|
};
|
|
236
314
|
}>>>;
|
|
237
|
-
'
|
|
315
|
+
'updating_user_information.email_address': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
238
316
|
created_at: z.ZodString;
|
|
239
317
|
}, {
|
|
240
|
-
|
|
241
|
-
|
|
318
|
+
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
319
|
+
from: z.ZodObject<{
|
|
242
320
|
email_address: z.ZodNullable<z.ZodString>;
|
|
243
321
|
}, "strip", z.ZodTypeAny, {
|
|
244
322
|
email_address: string | null;
|
|
245
323
|
}, {
|
|
246
324
|
email_address: string | null;
|
|
247
325
|
}>;
|
|
248
|
-
|
|
326
|
+
to: z.ZodObject<{
|
|
249
327
|
email_address: z.ZodNullable<z.ZodString>;
|
|
250
328
|
}, "strip", z.ZodTypeAny, {
|
|
251
329
|
email_address: string | null;
|
|
@@ -254,35 +332,35 @@ declare const acs_user_pending_modifications_map: z.ZodObject<{
|
|
|
254
332
|
}>;
|
|
255
333
|
}>, "strip", z.ZodTypeAny, {
|
|
256
334
|
created_at: string;
|
|
257
|
-
|
|
258
|
-
|
|
335
|
+
mutation_code: "updating_user_information";
|
|
336
|
+
from: {
|
|
259
337
|
email_address: string | null;
|
|
260
338
|
};
|
|
261
|
-
|
|
339
|
+
to: {
|
|
262
340
|
email_address: string | null;
|
|
263
341
|
};
|
|
264
342
|
}, {
|
|
265
343
|
created_at: string;
|
|
266
|
-
|
|
267
|
-
|
|
344
|
+
mutation_code: "updating_user_information";
|
|
345
|
+
from: {
|
|
268
346
|
email_address: string | null;
|
|
269
347
|
};
|
|
270
|
-
|
|
348
|
+
to: {
|
|
271
349
|
email_address: string | null;
|
|
272
350
|
};
|
|
273
351
|
}>>>;
|
|
274
|
-
'
|
|
352
|
+
'updating_user_information.phone_number': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
275
353
|
created_at: z.ZodString;
|
|
276
354
|
}, {
|
|
277
|
-
|
|
278
|
-
|
|
355
|
+
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
356
|
+
from: z.ZodObject<{
|
|
279
357
|
phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
280
358
|
}, "strip", z.ZodTypeAny, {
|
|
281
359
|
phone_number: string | null;
|
|
282
360
|
}, {
|
|
283
361
|
phone_number: string | null;
|
|
284
362
|
}>;
|
|
285
|
-
|
|
363
|
+
to: z.ZodObject<{
|
|
286
364
|
phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
287
365
|
}, "strip", z.ZodTypeAny, {
|
|
288
366
|
phone_number: string | null;
|
|
@@ -291,93 +369,100 @@ declare const acs_user_pending_modifications_map: z.ZodObject<{
|
|
|
291
369
|
}>;
|
|
292
370
|
}>, "strip", z.ZodTypeAny, {
|
|
293
371
|
created_at: string;
|
|
294
|
-
|
|
295
|
-
|
|
372
|
+
mutation_code: "updating_user_information";
|
|
373
|
+
from: {
|
|
296
374
|
phone_number: string | null;
|
|
297
375
|
};
|
|
298
|
-
|
|
376
|
+
to: {
|
|
299
377
|
phone_number: string | null;
|
|
300
378
|
};
|
|
301
379
|
}, {
|
|
302
380
|
created_at: string;
|
|
303
|
-
|
|
304
|
-
|
|
381
|
+
mutation_code: "updating_user_information";
|
|
382
|
+
from: {
|
|
305
383
|
phone_number: string | null;
|
|
306
384
|
};
|
|
307
|
-
|
|
385
|
+
to: {
|
|
308
386
|
phone_number: string | null;
|
|
309
387
|
};
|
|
310
388
|
}>>>;
|
|
311
389
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
|
|
390
|
+
creating?: {
|
|
313
391
|
created_at: string;
|
|
314
|
-
|
|
392
|
+
mutation_code: "creating";
|
|
315
393
|
} | null | undefined;
|
|
316
|
-
|
|
394
|
+
deleting?: {
|
|
317
395
|
created_at: string;
|
|
318
|
-
|
|
319
|
-
|
|
396
|
+
mutation_code: "deleting";
|
|
397
|
+
} | null | undefined;
|
|
398
|
+
'updating_user_information.full_name'?: {
|
|
399
|
+
created_at: string;
|
|
400
|
+
mutation_code: "updating_user_information";
|
|
401
|
+
from: {
|
|
320
402
|
full_name: string | null;
|
|
321
403
|
};
|
|
322
|
-
|
|
404
|
+
to: {
|
|
323
405
|
full_name: string | null;
|
|
324
406
|
};
|
|
325
407
|
} | null | undefined;
|
|
326
|
-
'
|
|
408
|
+
'updating_user_information.email_address'?: {
|
|
327
409
|
created_at: string;
|
|
328
|
-
|
|
329
|
-
|
|
410
|
+
mutation_code: "updating_user_information";
|
|
411
|
+
from: {
|
|
330
412
|
email_address: string | null;
|
|
331
413
|
};
|
|
332
|
-
|
|
414
|
+
to: {
|
|
333
415
|
email_address: string | null;
|
|
334
416
|
};
|
|
335
417
|
} | null | undefined;
|
|
336
|
-
'
|
|
418
|
+
'updating_user_information.phone_number'?: {
|
|
337
419
|
created_at: string;
|
|
338
|
-
|
|
339
|
-
|
|
420
|
+
mutation_code: "updating_user_information";
|
|
421
|
+
from: {
|
|
340
422
|
phone_number: string | null;
|
|
341
423
|
};
|
|
342
|
-
|
|
424
|
+
to: {
|
|
343
425
|
phone_number: string | null;
|
|
344
426
|
};
|
|
345
427
|
} | null | undefined;
|
|
346
428
|
}, {
|
|
347
|
-
|
|
429
|
+
creating?: {
|
|
430
|
+
created_at: string;
|
|
431
|
+
mutation_code: "creating";
|
|
432
|
+
} | null | undefined;
|
|
433
|
+
deleting?: {
|
|
348
434
|
created_at: string;
|
|
349
|
-
|
|
435
|
+
mutation_code: "deleting";
|
|
350
436
|
} | null | undefined;
|
|
351
|
-
'
|
|
437
|
+
'updating_user_information.full_name'?: {
|
|
352
438
|
created_at: string;
|
|
353
|
-
|
|
354
|
-
|
|
439
|
+
mutation_code: "updating_user_information";
|
|
440
|
+
from: {
|
|
355
441
|
full_name: string | null;
|
|
356
442
|
};
|
|
357
|
-
|
|
443
|
+
to: {
|
|
358
444
|
full_name: string | null;
|
|
359
445
|
};
|
|
360
446
|
} | null | undefined;
|
|
361
|
-
'
|
|
447
|
+
'updating_user_information.email_address'?: {
|
|
362
448
|
created_at: string;
|
|
363
|
-
|
|
364
|
-
|
|
449
|
+
mutation_code: "updating_user_information";
|
|
450
|
+
from: {
|
|
365
451
|
email_address: string | null;
|
|
366
452
|
};
|
|
367
|
-
|
|
453
|
+
to: {
|
|
368
454
|
email_address: string | null;
|
|
369
455
|
};
|
|
370
456
|
} | null | undefined;
|
|
371
|
-
'
|
|
457
|
+
'updating_user_information.phone_number'?: {
|
|
372
458
|
created_at: string;
|
|
373
|
-
|
|
374
|
-
|
|
459
|
+
mutation_code: "updating_user_information";
|
|
460
|
+
from: {
|
|
375
461
|
phone_number: string | null;
|
|
376
462
|
};
|
|
377
|
-
|
|
463
|
+
to: {
|
|
378
464
|
phone_number: string | null;
|
|
379
465
|
};
|
|
380
466
|
} | null | undefined;
|
|
381
467
|
}>;
|
|
382
|
-
export type
|
|
383
|
-
export {};
|
|
468
|
+
export type AcsUserPendingMutationsMap = z.infer<typeof acs_user_pending_mutations_map>;
|