@equinor/fusion-framework-module-services 7.0.1 → 7.1.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/CHANGELOG.md +29 -0
- package/dist/esm/bookmarks/client.js.map +1 -1
- package/dist/esm/bookmarks/endpoints/bookmark.get.js.map +1 -1
- package/dist/esm/bookmarks/endpoints/bookmark.patch.js +1 -1
- package/dist/esm/bookmarks/endpoints/bookmark.patch.js.map +1 -1
- package/dist/esm/bookmarks/endpoints/bookmark.post.js +1 -1
- package/dist/esm/bookmarks/endpoints/bookmark.post.js.map +1 -1
- package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js +3 -1
- package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js.map +1 -1
- package/dist/esm/bookmarks/schemas.js +1 -1
- package/dist/esm/bookmarks/schemas.js.map +1 -1
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/bookmarks/endpoints/bookmark-apply.get.d.ts +3 -13
- package/dist/types/bookmarks/endpoints/bookmark.delete.d.ts +1 -5
- package/dist/types/bookmarks/endpoints/bookmark.get.d.ts +66 -274
- package/dist/types/bookmarks/endpoints/bookmark.patch.d.ts +37 -195
- package/dist/types/bookmarks/endpoints/bookmark.post.d.ts +35 -171
- package/dist/types/bookmarks/endpoints/user-bookmark-favourite.delete.d.ts +1 -5
- package/dist/types/bookmarks/endpoints/user-bookmark-favourite.head.d.ts +1 -5
- package/dist/types/bookmarks/endpoints/user-bookmark-favourite.post.d.ts +1 -5
- package/dist/types/bookmarks/endpoints/user-bookmarks.get.d.ts +74 -349
- package/dist/types/bookmarks/schemas.d.ts +79 -301
- package/dist/types/utils.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/bookmarks/client.ts +1 -1
- package/src/bookmarks/endpoints/bookmark.get.ts +2 -2
- package/src/bookmarks/endpoints/bookmark.patch.ts +1 -1
- package/src/bookmarks/endpoints/bookmark.post.ts +1 -1
- package/src/bookmarks/endpoints/user-bookmarks.get.ts +7 -5
- package/src/bookmarks/schemas.ts +1 -1
- package/src/utils.ts +2 -4
- package/src/version.ts +1 -1
|
@@ -8,121 +8,46 @@ type AvailableVersions = ApiVersion.v1 | ApiVersion.v2;
|
|
|
8
8
|
type AllowedVersions = FilterAllowedApiVersions<AvailableVersions>;
|
|
9
9
|
/** Schema for the input arguments to this operation. */
|
|
10
10
|
declare const ArgSchema: {
|
|
11
|
-
"1.0": z.ZodOptional<z.ZodObject<{
|
|
12
|
-
filter: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
11
|
+
readonly "1.0": z.ZodOptional<z.ZodObject<{
|
|
12
|
+
filter: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodPipe<z.ZodObject<{
|
|
13
13
|
appKey: z.ZodOptional<z.ZodString>;
|
|
14
14
|
contextId: z.ZodOptional<z.ZodString>;
|
|
15
15
|
sourceSystem: z.ZodOptional<z.ZodObject<{
|
|
16
16
|
identifier: z.ZodOptional<z.ZodString>;
|
|
17
17
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
18
18
|
subSystem: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
identifier?: string | undefined;
|
|
22
|
-
subSystem?: string | null | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
name?: string | null | undefined;
|
|
25
|
-
identifier?: string | undefined;
|
|
26
|
-
subSystem?: string | null | undefined;
|
|
27
|
-
}>>;
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
appKey?: string | undefined;
|
|
30
|
-
sourceSystem?: {
|
|
31
|
-
name?: string | null | undefined;
|
|
32
|
-
identifier?: string | undefined;
|
|
33
|
-
subSystem?: string | null | undefined;
|
|
34
|
-
} | undefined;
|
|
35
|
-
contextId?: string | undefined;
|
|
36
|
-
}, {
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>, z.ZodTransform<string, {
|
|
37
21
|
appKey?: string | undefined;
|
|
38
|
-
sourceSystem?: {
|
|
39
|
-
name?: string | null | undefined;
|
|
40
|
-
identifier?: string | undefined;
|
|
41
|
-
subSystem?: string | null | undefined;
|
|
42
|
-
} | undefined;
|
|
43
22
|
contextId?: string | undefined;
|
|
44
|
-
}>, string, {
|
|
45
|
-
appKey?: string | undefined;
|
|
46
23
|
sourceSystem?: {
|
|
47
|
-
name?: string | null | undefined;
|
|
48
24
|
identifier?: string | undefined;
|
|
49
|
-
subSystem?: string | null | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
contextId?: string | undefined;
|
|
52
|
-
}>]>>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
filter?: string | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
filter?: string | {
|
|
57
|
-
appKey?: string | undefined;
|
|
58
|
-
sourceSystem?: {
|
|
59
25
|
name?: string | null | undefined;
|
|
60
|
-
identifier?: string | undefined;
|
|
61
26
|
subSystem?: string | null | undefined;
|
|
62
27
|
} | undefined;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
filter: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
|
|
28
|
+
}>>]>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
readonly "2.0": z.ZodOptional<z.ZodObject<{
|
|
31
|
+
filter: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodPipe<z.ZodObject<{
|
|
68
32
|
appKey: z.ZodOptional<z.ZodString>;
|
|
69
33
|
contextId: z.ZodOptional<z.ZodString>;
|
|
70
34
|
sourceSystem: z.ZodOptional<z.ZodObject<{
|
|
71
35
|
identifier: z.ZodOptional<z.ZodString>;
|
|
72
36
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
73
37
|
subSystem: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
74
|
-
},
|
|
75
|
-
name?: string | null | undefined;
|
|
76
|
-
identifier?: string | undefined;
|
|
77
|
-
subSystem?: string | null | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
name?: string | null | undefined;
|
|
80
|
-
identifier?: string | undefined;
|
|
81
|
-
subSystem?: string | null | undefined;
|
|
82
|
-
}>>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
83
39
|
isFavourite: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
},
|
|
40
|
+
}, z.core.$strip>, z.ZodTransform<string, {
|
|
85
41
|
appKey?: string | undefined;
|
|
86
|
-
sourceSystem?: {
|
|
87
|
-
name?: string | null | undefined;
|
|
88
|
-
identifier?: string | undefined;
|
|
89
|
-
subSystem?: string | null | undefined;
|
|
90
|
-
} | undefined;
|
|
91
42
|
contextId?: string | undefined;
|
|
92
|
-
isFavourite?: boolean | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
appKey?: string | undefined;
|
|
95
43
|
sourceSystem?: {
|
|
96
|
-
name?: string | null | undefined;
|
|
97
44
|
identifier?: string | undefined;
|
|
98
|
-
subSystem?: string | null | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
contextId?: string | undefined;
|
|
101
|
-
isFavourite?: boolean | undefined;
|
|
102
|
-
}>, string, {
|
|
103
|
-
appKey?: string | undefined;
|
|
104
|
-
sourceSystem?: {
|
|
105
45
|
name?: string | null | undefined;
|
|
106
|
-
identifier?: string | undefined;
|
|
107
46
|
subSystem?: string | null | undefined;
|
|
108
47
|
} | undefined;
|
|
109
|
-
contextId?: string | undefined;
|
|
110
48
|
isFavourite?: boolean | undefined;
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
filter?: string | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
filter?: string | {
|
|
116
|
-
appKey?: string | undefined;
|
|
117
|
-
sourceSystem?: {
|
|
118
|
-
name?: string | null | undefined;
|
|
119
|
-
identifier?: string | undefined;
|
|
120
|
-
subSystem?: string | null | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
contextId?: string | undefined;
|
|
123
|
-
isFavourite?: boolean | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
}>>;
|
|
49
|
+
}>>]>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
126
51
|
};
|
|
127
52
|
/** Schema for the response from the API. */
|
|
128
53
|
declare const ApiResponseSchema: {
|
|
@@ -136,153 +61,53 @@ declare const ApiResponseSchema: {
|
|
|
136
61
|
id: z.ZodString;
|
|
137
62
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
63
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
-
},
|
|
140
|
-
id: string;
|
|
141
|
-
type?: string | null | undefined;
|
|
142
|
-
name?: string | null | undefined;
|
|
143
|
-
}, {
|
|
144
|
-
id: string;
|
|
145
|
-
type?: string | null | undefined;
|
|
146
|
-
name?: string | null | undefined;
|
|
147
|
-
}>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
148
65
|
createdBy: z.ZodObject<{
|
|
149
66
|
azureUniqueId: z.ZodString;
|
|
150
67
|
name: z.ZodString;
|
|
151
68
|
mail: z.ZodOptional<z.ZodString>;
|
|
152
69
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
153
70
|
jobTitle: z.ZodOptional<z.ZodString>;
|
|
154
|
-
accountType: z.ZodOptional<z.ZodEnum<
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
mail?: string | undefined;
|
|
168
|
-
phoneNumber?: string | undefined;
|
|
169
|
-
jobTitle?: string | undefined;
|
|
170
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
171
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
172
|
-
}>;
|
|
71
|
+
accountType: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
Employee: "Employee";
|
|
73
|
+
Consultant: "Consultant";
|
|
74
|
+
External: "External";
|
|
75
|
+
Application: "Application";
|
|
76
|
+
Local: "Local";
|
|
77
|
+
}>>;
|
|
78
|
+
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
79
|
+
External: "External";
|
|
80
|
+
Unclassified: "Unclassified";
|
|
81
|
+
Internal: "Internal";
|
|
82
|
+
}>>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
173
84
|
updatedBy: z.ZodOptional<z.ZodObject<{
|
|
174
85
|
azureUniqueId: z.ZodString;
|
|
175
86
|
name: z.ZodString;
|
|
176
87
|
mail: z.ZodOptional<z.ZodString>;
|
|
177
88
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
178
89
|
jobTitle: z.ZodOptional<z.ZodString>;
|
|
179
|
-
accountType: z.ZodOptional<z.ZodEnum<
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
jobTitle?: string | undefined;
|
|
195
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
196
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
197
|
-
}>>;
|
|
198
|
-
created: z.ZodEffects<z.ZodString, Date, string>;
|
|
199
|
-
updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
90
|
+
accountType: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
Employee: "Employee";
|
|
92
|
+
Consultant: "Consultant";
|
|
93
|
+
External: "External";
|
|
94
|
+
Application: "Application";
|
|
95
|
+
Local: "Local";
|
|
96
|
+
}>>;
|
|
97
|
+
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
98
|
+
External: "External";
|
|
99
|
+
Unclassified: "Unclassified";
|
|
100
|
+
Internal: "Internal";
|
|
101
|
+
}>>>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
103
|
+
created: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
|
|
104
|
+
updated: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
200
105
|
sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
201
106
|
identifier: z.ZodString;
|
|
202
107
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
108
|
subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
|
-
},
|
|
205
|
-
|
|
206
|
-
name?: string | null | undefined;
|
|
207
|
-
subSystem?: string | null | undefined;
|
|
208
|
-
}, {
|
|
209
|
-
identifier: string;
|
|
210
|
-
name?: string | null | undefined;
|
|
211
|
-
subSystem?: string | null | undefined;
|
|
212
|
-
}>>>;
|
|
213
|
-
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
id: string;
|
|
215
|
-
name: string;
|
|
216
|
-
appKey: string;
|
|
217
|
-
createdBy: {
|
|
218
|
-
azureUniqueId: string;
|
|
219
|
-
name: string;
|
|
220
|
-
mail?: string | undefined;
|
|
221
|
-
phoneNumber?: string | undefined;
|
|
222
|
-
jobTitle?: string | undefined;
|
|
223
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
224
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
225
|
-
};
|
|
226
|
-
created: Date;
|
|
227
|
-
description?: string | undefined;
|
|
228
|
-
isShared?: boolean | undefined;
|
|
229
|
-
context?: {
|
|
230
|
-
id: string;
|
|
231
|
-
type?: string | null | undefined;
|
|
232
|
-
name?: string | null | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
updatedBy?: {
|
|
235
|
-
azureUniqueId: string;
|
|
236
|
-
name: string;
|
|
237
|
-
mail?: string | undefined;
|
|
238
|
-
phoneNumber?: string | undefined;
|
|
239
|
-
jobTitle?: string | undefined;
|
|
240
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
241
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
242
|
-
} | undefined;
|
|
243
|
-
updated?: Date | undefined;
|
|
244
|
-
sourceSystem?: {
|
|
245
|
-
identifier: string;
|
|
246
|
-
name?: string | null | undefined;
|
|
247
|
-
subSystem?: string | null | undefined;
|
|
248
|
-
} | null | undefined;
|
|
249
|
-
}, {
|
|
250
|
-
id: string;
|
|
251
|
-
name: string;
|
|
252
|
-
appKey: string;
|
|
253
|
-
createdBy: {
|
|
254
|
-
azureUniqueId: string;
|
|
255
|
-
name: string;
|
|
256
|
-
mail?: string | undefined;
|
|
257
|
-
phoneNumber?: string | undefined;
|
|
258
|
-
jobTitle?: string | undefined;
|
|
259
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
260
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
261
|
-
};
|
|
262
|
-
created: string;
|
|
263
|
-
description?: string | undefined;
|
|
264
|
-
isShared?: boolean | undefined;
|
|
265
|
-
context?: {
|
|
266
|
-
id: string;
|
|
267
|
-
type?: string | null | undefined;
|
|
268
|
-
name?: string | null | undefined;
|
|
269
|
-
} | undefined;
|
|
270
|
-
updatedBy?: {
|
|
271
|
-
azureUniqueId: string;
|
|
272
|
-
name: string;
|
|
273
|
-
mail?: string | undefined;
|
|
274
|
-
phoneNumber?: string | undefined;
|
|
275
|
-
jobTitle?: string | undefined;
|
|
276
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
277
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
278
|
-
} | undefined;
|
|
279
|
-
updated?: string | undefined;
|
|
280
|
-
sourceSystem?: {
|
|
281
|
-
identifier: string;
|
|
282
|
-
name?: string | null | undefined;
|
|
283
|
-
subSystem?: string | null | undefined;
|
|
284
|
-
} | null | undefined;
|
|
285
|
-
}>, "many">;
|
|
109
|
+
}, z.core.$strip>>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
286
111
|
"2.0": z.ZodArray<z.ZodObject<{
|
|
287
112
|
id: z.ZodString;
|
|
288
113
|
name: z.ZodString;
|
|
@@ -293,153 +118,53 @@ declare const ApiResponseSchema: {
|
|
|
293
118
|
id: z.ZodString;
|
|
294
119
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
295
120
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
296
|
-
},
|
|
297
|
-
id: string;
|
|
298
|
-
type?: string | null | undefined;
|
|
299
|
-
name?: string | null | undefined;
|
|
300
|
-
}, {
|
|
301
|
-
id: string;
|
|
302
|
-
type?: string | null | undefined;
|
|
303
|
-
name?: string | null | undefined;
|
|
304
|
-
}>>;
|
|
121
|
+
}, z.core.$strip>>;
|
|
305
122
|
createdBy: z.ZodObject<{
|
|
306
123
|
azureUniqueId: z.ZodString;
|
|
307
124
|
name: z.ZodString;
|
|
308
125
|
mail: z.ZodOptional<z.ZodString>;
|
|
309
126
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
310
127
|
jobTitle: z.ZodOptional<z.ZodString>;
|
|
311
|
-
accountType: z.ZodOptional<z.ZodEnum<
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
mail?: string | undefined;
|
|
325
|
-
phoneNumber?: string | undefined;
|
|
326
|
-
jobTitle?: string | undefined;
|
|
327
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
328
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
329
|
-
}>;
|
|
128
|
+
accountType: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
Employee: "Employee";
|
|
130
|
+
Consultant: "Consultant";
|
|
131
|
+
External: "External";
|
|
132
|
+
Application: "Application";
|
|
133
|
+
Local: "Local";
|
|
134
|
+
}>>;
|
|
135
|
+
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
136
|
+
External: "External";
|
|
137
|
+
Unclassified: "Unclassified";
|
|
138
|
+
Internal: "Internal";
|
|
139
|
+
}>>>;
|
|
140
|
+
}, z.core.$strip>;
|
|
330
141
|
updatedBy: z.ZodOptional<z.ZodObject<{
|
|
331
142
|
azureUniqueId: z.ZodString;
|
|
332
143
|
name: z.ZodString;
|
|
333
144
|
mail: z.ZodOptional<z.ZodString>;
|
|
334
145
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
335
146
|
jobTitle: z.ZodOptional<z.ZodString>;
|
|
336
|
-
accountType: z.ZodOptional<z.ZodEnum<
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
jobTitle?: string | undefined;
|
|
352
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
353
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
354
|
-
}>>;
|
|
355
|
-
created: z.ZodEffects<z.ZodString, Date, string>;
|
|
356
|
-
updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
147
|
+
accountType: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
Employee: "Employee";
|
|
149
|
+
Consultant: "Consultant";
|
|
150
|
+
External: "External";
|
|
151
|
+
Application: "Application";
|
|
152
|
+
Local: "Local";
|
|
153
|
+
}>>;
|
|
154
|
+
accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
155
|
+
External: "External";
|
|
156
|
+
Unclassified: "Unclassified";
|
|
157
|
+
Internal: "Internal";
|
|
158
|
+
}>>>;
|
|
159
|
+
}, z.core.$strip>>;
|
|
160
|
+
created: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
|
|
161
|
+
updated: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
|
|
357
162
|
sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
358
163
|
identifier: z.ZodString;
|
|
359
164
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
360
165
|
subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
name?: string | null | undefined;
|
|
364
|
-
subSystem?: string | null | undefined;
|
|
365
|
-
}, {
|
|
366
|
-
identifier: string;
|
|
367
|
-
name?: string | null | undefined;
|
|
368
|
-
subSystem?: string | null | undefined;
|
|
369
|
-
}>>>;
|
|
370
|
-
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
id: string;
|
|
372
|
-
name: string;
|
|
373
|
-
appKey: string;
|
|
374
|
-
createdBy: {
|
|
375
|
-
azureUniqueId: string;
|
|
376
|
-
name: string;
|
|
377
|
-
mail?: string | undefined;
|
|
378
|
-
phoneNumber?: string | undefined;
|
|
379
|
-
jobTitle?: string | undefined;
|
|
380
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
381
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
382
|
-
};
|
|
383
|
-
created: Date;
|
|
384
|
-
description?: string | undefined;
|
|
385
|
-
isShared?: boolean | undefined;
|
|
386
|
-
context?: {
|
|
387
|
-
id: string;
|
|
388
|
-
type?: string | null | undefined;
|
|
389
|
-
name?: string | null | undefined;
|
|
390
|
-
} | undefined;
|
|
391
|
-
updatedBy?: {
|
|
392
|
-
azureUniqueId: string;
|
|
393
|
-
name: string;
|
|
394
|
-
mail?: string | undefined;
|
|
395
|
-
phoneNumber?: string | undefined;
|
|
396
|
-
jobTitle?: string | undefined;
|
|
397
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
398
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
399
|
-
} | undefined;
|
|
400
|
-
updated?: Date | undefined;
|
|
401
|
-
sourceSystem?: {
|
|
402
|
-
identifier: string;
|
|
403
|
-
name?: string | null | undefined;
|
|
404
|
-
subSystem?: string | null | undefined;
|
|
405
|
-
} | null | undefined;
|
|
406
|
-
}, {
|
|
407
|
-
id: string;
|
|
408
|
-
name: string;
|
|
409
|
-
appKey: string;
|
|
410
|
-
createdBy: {
|
|
411
|
-
azureUniqueId: string;
|
|
412
|
-
name: string;
|
|
413
|
-
mail?: string | undefined;
|
|
414
|
-
phoneNumber?: string | undefined;
|
|
415
|
-
jobTitle?: string | undefined;
|
|
416
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
417
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
418
|
-
};
|
|
419
|
-
created: string;
|
|
420
|
-
description?: string | undefined;
|
|
421
|
-
isShared?: boolean | undefined;
|
|
422
|
-
context?: {
|
|
423
|
-
id: string;
|
|
424
|
-
type?: string | null | undefined;
|
|
425
|
-
name?: string | null | undefined;
|
|
426
|
-
} | undefined;
|
|
427
|
-
updatedBy?: {
|
|
428
|
-
azureUniqueId: string;
|
|
429
|
-
name: string;
|
|
430
|
-
mail?: string | undefined;
|
|
431
|
-
phoneNumber?: string | undefined;
|
|
432
|
-
jobTitle?: string | undefined;
|
|
433
|
-
accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
|
|
434
|
-
accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
|
|
435
|
-
} | undefined;
|
|
436
|
-
updated?: string | undefined;
|
|
437
|
-
sourceSystem?: {
|
|
438
|
-
identifier: string;
|
|
439
|
-
name?: string | null | undefined;
|
|
440
|
-
subSystem?: string | null | undefined;
|
|
441
|
-
} | null | undefined;
|
|
442
|
-
}>, "many">;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
}, z.core.$strip>>;
|
|
443
168
|
};
|
|
444
169
|
/** Defines the expected output from the api. */
|
|
445
170
|
type ApiResponse<TVersion extends AllowedVersions> = z.infer<(typeof ApiResponseSchema)[ExtractApiVersion<TVersion>]>;
|