@equinor/fusion-framework-module-bookmark 1.2.13 → 2.0.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +242 -9
  3. package/dist/esm/BookmarkClient.interface.js +2 -0
  4. package/dist/esm/BookmarkClient.interface.js.map +1 -0
  5. package/dist/esm/BookmarkClient.js +174 -0
  6. package/dist/esm/BookmarkClient.js.map +1 -0
  7. package/dist/esm/BookmarkConfigurator.js +348 -0
  8. package/dist/esm/BookmarkConfigurator.js.map +1 -0
  9. package/dist/esm/BookmarkProvider.actions.js +60 -0
  10. package/dist/esm/BookmarkProvider.actions.js.map +1 -0
  11. package/dist/esm/BookmarkProvider.error.js +14 -0
  12. package/dist/esm/BookmarkProvider.error.js.map +1 -0
  13. package/dist/esm/BookmarkProvider.events.js +2 -0
  14. package/dist/esm/BookmarkProvider.events.js.map +1 -0
  15. package/dist/esm/BookmarkProvider.flows.js +219 -0
  16. package/dist/esm/BookmarkProvider.flows.js.map +1 -0
  17. package/dist/esm/BookmarkProvider.js +937 -0
  18. package/dist/esm/BookmarkProvider.js.map +1 -0
  19. package/dist/esm/BookmarkProvider.reducer.js +125 -0
  20. package/dist/esm/BookmarkProvider.reducer.js.map +1 -0
  21. package/dist/esm/BookmarkProvider.selectors.js +43 -0
  22. package/dist/esm/BookmarkProvider.selectors.js.map +1 -0
  23. package/dist/esm/BookmarkProvider.store.js +19 -0
  24. package/dist/esm/BookmarkProvider.store.js.map +1 -0
  25. package/dist/esm/bookmark-config.schema.js +30 -0
  26. package/dist/esm/bookmark-config.schema.js.map +1 -0
  27. package/dist/esm/bookmark-module.js +53 -0
  28. package/dist/esm/bookmark-module.js.map +1 -0
  29. package/dist/esm/bookmark.schemas.js +38 -0
  30. package/dist/esm/bookmark.schemas.js.map +1 -0
  31. package/dist/esm/enable-bookmark.js +20 -7
  32. package/dist/esm/enable-bookmark.js.map +1 -1
  33. package/dist/esm/index.js +3 -3
  34. package/dist/esm/index.js.map +1 -1
  35. package/dist/esm/version.js +1 -1
  36. package/dist/esm/version.js.map +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/dist/types/BookmarkClient.d.ts +42 -0
  39. package/dist/types/BookmarkClient.interface.d.ts +139 -0
  40. package/dist/types/BookmarkConfigurator.d.ts +100 -0
  41. package/dist/types/BookmarkProvider.actions.d.ts +525 -0
  42. package/dist/types/BookmarkProvider.d.ts +462 -0
  43. package/dist/types/BookmarkProvider.error.d.ts +9 -0
  44. package/dist/types/BookmarkProvider.events.d.ts +78 -0
  45. package/dist/types/BookmarkProvider.flows.d.ts +79 -0
  46. package/dist/types/BookmarkProvider.reducer.d.ts +302 -0
  47. package/dist/types/BookmarkProvider.selectors.d.ts +34 -0
  48. package/dist/types/BookmarkProvider.store.d.ts +30 -0
  49. package/dist/types/bookmark-config.schema.d.ts +118 -0
  50. package/dist/types/{module.d.ts → bookmark-module.d.ts} +3 -3
  51. package/dist/types/bookmark.schemas.d.ts +760 -0
  52. package/dist/types/enable-bookmark.d.ts +7 -6
  53. package/dist/types/index.d.ts +4 -3
  54. package/dist/types/types.d.ts +29 -65
  55. package/dist/types/version.d.ts +1 -1
  56. package/package.json +11 -5
  57. package/src/BookmarkClient.interface.ts +157 -0
  58. package/src/BookmarkClient.ts +226 -0
  59. package/src/BookmarkConfigurator.ts +374 -0
  60. package/src/BookmarkProvider.actions.ts +131 -0
  61. package/src/BookmarkProvider.error.ts +21 -0
  62. package/src/BookmarkProvider.events.ts +89 -0
  63. package/src/BookmarkProvider.flows.ts +426 -0
  64. package/src/BookmarkProvider.reducer.ts +141 -0
  65. package/src/BookmarkProvider.selectors.ts +55 -0
  66. package/src/BookmarkProvider.store.ts +52 -0
  67. package/src/BookmarkProvider.ts +1308 -0
  68. package/src/bookmark-config.schema.ts +41 -0
  69. package/src/bookmark-module.ts +70 -0
  70. package/src/bookmark.schemas.ts +50 -0
  71. package/src/enable-bookmark.ts +13 -20
  72. package/src/index.ts +15 -7
  73. package/src/types.ts +46 -73
  74. package/src/version.ts +1 -1
  75. package/dist/esm/bookmark-config-builder.js +0 -131
  76. package/dist/esm/bookmark-config-builder.js.map +0 -1
  77. package/dist/esm/bookmark-provider.js +0 -155
  78. package/dist/esm/bookmark-provider.js.map +0 -1
  79. package/dist/esm/client/bookmarkActions.js +0 -10
  80. package/dist/esm/client/bookmarkActions.js.map +0 -1
  81. package/dist/esm/client/bookmarkClient.js +0 -259
  82. package/dist/esm/client/bookmarkClient.js.map +0 -1
  83. package/dist/esm/client/bookmarkFlows.js +0 -31
  84. package/dist/esm/client/bookmarkFlows.js.map +0 -1
  85. package/dist/esm/client/bookmarkReducer.js +0 -29
  86. package/dist/esm/client/bookmarkReducer.js.map +0 -1
  87. package/dist/esm/configurator.js +0 -155
  88. package/dist/esm/configurator.js.map +0 -1
  89. package/dist/esm/module.js +0 -27
  90. package/dist/esm/module.js.map +0 -1
  91. package/dist/esm/utils/handle-url.js +0 -11
  92. package/dist/esm/utils/handle-url.js.map +0 -1
  93. package/dist/esm/utils/index.js +0 -2
  94. package/dist/esm/utils/index.js.map +0 -1
  95. package/dist/types/bookmark-config-builder.d.ts +0 -85
  96. package/dist/types/bookmark-provider.d.ts +0 -169
  97. package/dist/types/client/bookmarkActions.d.ts +0 -27
  98. package/dist/types/client/bookmarkClient.d.ts +0 -53
  99. package/dist/types/client/bookmarkFlows.d.ts +0 -22
  100. package/dist/types/client/bookmarkReducer.d.ts +0 -5
  101. package/dist/types/configurator.d.ts +0 -75
  102. package/dist/types/utils/handle-url.d.ts +0 -2
  103. package/dist/types/utils/index.d.ts +0 -1
  104. package/src/bookmark-config-builder.ts +0 -177
  105. package/src/bookmark-provider.ts +0 -344
  106. package/src/client/bookmarkActions.ts +0 -44
  107. package/src/client/bookmarkClient.ts +0 -327
  108. package/src/client/bookmarkFlows.ts +0 -67
  109. package/src/client/bookmarkReducer.ts +0 -35
  110. package/src/configurator.ts +0 -235
  111. package/src/module.ts +0 -40
  112. package/src/utils/handle-url.ts +0 -13
  113. package/src/utils/index.ts +0 -1
@@ -0,0 +1,760 @@
1
+ import * as z from 'zod';
2
+ import { BookmarkData } from './types';
3
+ export declare const bookmarkSourceSystemSchema: z.ZodObject<{
4
+ identifier: z.ZodString;
5
+ name: z.ZodOptional<z.ZodString>;
6
+ subSystem: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ identifier: string;
9
+ name?: string | undefined;
10
+ subSystem?: string | undefined;
11
+ }, {
12
+ identifier: string;
13
+ name?: string | undefined;
14
+ subSystem?: string | undefined;
15
+ }>;
16
+ export declare const bookmarkSchema: z.ZodObject<{
17
+ id: z.ZodString;
18
+ name: z.ZodString;
19
+ appKey: z.ZodString;
20
+ description: z.ZodOptional<z.ZodString>;
21
+ isShared: z.ZodOptional<z.ZodBoolean>;
22
+ created: z.ZodDate;
23
+ createdBy: z.ZodObject<{
24
+ azureUniqueId: z.ZodString;
25
+ name: z.ZodString;
26
+ mail: z.ZodOptional<z.ZodString>;
27
+ phoneNumber: z.ZodOptional<z.ZodString>;
28
+ jobTitle: z.ZodOptional<z.ZodString>;
29
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
30
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ azureUniqueId: string;
33
+ name: string;
34
+ mail?: string | undefined;
35
+ phoneNumber?: string | undefined;
36
+ jobTitle?: string | undefined;
37
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
38
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
39
+ }, {
40
+ azureUniqueId: string;
41
+ name: string;
42
+ mail?: string | undefined;
43
+ phoneNumber?: string | undefined;
44
+ jobTitle?: string | undefined;
45
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
46
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
47
+ }>;
48
+ updated: z.ZodOptional<z.ZodDate>;
49
+ updatedBy: z.ZodOptional<z.ZodObject<{
50
+ azureUniqueId: z.ZodString;
51
+ name: z.ZodString;
52
+ mail: z.ZodOptional<z.ZodString>;
53
+ phoneNumber: z.ZodOptional<z.ZodString>;
54
+ jobTitle: z.ZodOptional<z.ZodString>;
55
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
56
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ azureUniqueId: string;
59
+ name: string;
60
+ mail?: string | undefined;
61
+ phoneNumber?: string | undefined;
62
+ jobTitle?: string | undefined;
63
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
64
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
65
+ }, {
66
+ azureUniqueId: string;
67
+ name: string;
68
+ mail?: string | undefined;
69
+ phoneNumber?: string | undefined;
70
+ jobTitle?: string | undefined;
71
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
72
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
73
+ }>>;
74
+ context: z.ZodOptional<z.ZodObject<{
75
+ id: z.ZodString;
76
+ name: z.ZodOptional<z.ZodString>;
77
+ type: z.ZodOptional<z.ZodString>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ id: string;
80
+ name?: string | undefined;
81
+ type?: string | undefined;
82
+ }, {
83
+ id: string;
84
+ name?: string | undefined;
85
+ type?: string | undefined;
86
+ }>>;
87
+ sourceSystem: z.ZodOptional<z.ZodObject<{
88
+ identifier: z.ZodString;
89
+ name: z.ZodOptional<z.ZodString>;
90
+ subSystem: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ identifier: string;
93
+ name?: string | undefined;
94
+ subSystem?: string | undefined;
95
+ }, {
96
+ identifier: string;
97
+ name?: string | undefined;
98
+ subSystem?: string | undefined;
99
+ }>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ name: string;
102
+ id: string;
103
+ appKey: string;
104
+ created: Date;
105
+ createdBy: {
106
+ azureUniqueId: string;
107
+ name: string;
108
+ mail?: string | undefined;
109
+ phoneNumber?: string | undefined;
110
+ jobTitle?: string | undefined;
111
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
112
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
113
+ };
114
+ description?: string | undefined;
115
+ isShared?: boolean | undefined;
116
+ updated?: Date | undefined;
117
+ updatedBy?: {
118
+ azureUniqueId: string;
119
+ name: string;
120
+ mail?: string | undefined;
121
+ phoneNumber?: string | undefined;
122
+ jobTitle?: string | undefined;
123
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
124
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
125
+ } | undefined;
126
+ context?: {
127
+ id: string;
128
+ name?: string | undefined;
129
+ type?: string | undefined;
130
+ } | undefined;
131
+ sourceSystem?: {
132
+ identifier: string;
133
+ name?: string | undefined;
134
+ subSystem?: string | undefined;
135
+ } | undefined;
136
+ }, {
137
+ name: string;
138
+ id: string;
139
+ appKey: string;
140
+ created: Date;
141
+ createdBy: {
142
+ azureUniqueId: string;
143
+ name: string;
144
+ mail?: string | undefined;
145
+ phoneNumber?: string | undefined;
146
+ jobTitle?: string | undefined;
147
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
148
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
149
+ };
150
+ description?: string | undefined;
151
+ isShared?: boolean | undefined;
152
+ updated?: Date | undefined;
153
+ updatedBy?: {
154
+ azureUniqueId: string;
155
+ name: string;
156
+ mail?: string | undefined;
157
+ phoneNumber?: string | undefined;
158
+ jobTitle?: string | undefined;
159
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
160
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
161
+ } | undefined;
162
+ context?: {
163
+ id: string;
164
+ name?: string | undefined;
165
+ type?: string | undefined;
166
+ } | undefined;
167
+ sourceSystem?: {
168
+ identifier: string;
169
+ name?: string | undefined;
170
+ subSystem?: string | undefined;
171
+ } | undefined;
172
+ }>;
173
+ export declare const bookmarksSchema: z.ZodArray<z.ZodObject<{
174
+ id: z.ZodString;
175
+ name: z.ZodString;
176
+ appKey: z.ZodString;
177
+ description: z.ZodOptional<z.ZodString>;
178
+ isShared: z.ZodOptional<z.ZodBoolean>;
179
+ created: z.ZodDate;
180
+ createdBy: z.ZodObject<{
181
+ azureUniqueId: z.ZodString;
182
+ name: z.ZodString;
183
+ mail: z.ZodOptional<z.ZodString>;
184
+ phoneNumber: z.ZodOptional<z.ZodString>;
185
+ jobTitle: z.ZodOptional<z.ZodString>;
186
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
187
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ azureUniqueId: string;
190
+ name: string;
191
+ mail?: string | undefined;
192
+ phoneNumber?: string | undefined;
193
+ jobTitle?: string | undefined;
194
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
195
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
196
+ }, {
197
+ azureUniqueId: string;
198
+ name: string;
199
+ mail?: string | undefined;
200
+ phoneNumber?: string | undefined;
201
+ jobTitle?: string | undefined;
202
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
203
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
204
+ }>;
205
+ updated: z.ZodOptional<z.ZodDate>;
206
+ updatedBy: z.ZodOptional<z.ZodObject<{
207
+ azureUniqueId: z.ZodString;
208
+ name: z.ZodString;
209
+ mail: z.ZodOptional<z.ZodString>;
210
+ phoneNumber: z.ZodOptional<z.ZodString>;
211
+ jobTitle: z.ZodOptional<z.ZodString>;
212
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
213
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ azureUniqueId: string;
216
+ name: string;
217
+ mail?: string | undefined;
218
+ phoneNumber?: string | undefined;
219
+ jobTitle?: string | undefined;
220
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
221
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
222
+ }, {
223
+ azureUniqueId: string;
224
+ name: string;
225
+ mail?: string | undefined;
226
+ phoneNumber?: string | undefined;
227
+ jobTitle?: string | undefined;
228
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
229
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
230
+ }>>;
231
+ context: z.ZodOptional<z.ZodObject<{
232
+ id: z.ZodString;
233
+ name: z.ZodOptional<z.ZodString>;
234
+ type: z.ZodOptional<z.ZodString>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ id: string;
237
+ name?: string | undefined;
238
+ type?: string | undefined;
239
+ }, {
240
+ id: string;
241
+ name?: string | undefined;
242
+ type?: string | undefined;
243
+ }>>;
244
+ sourceSystem: z.ZodOptional<z.ZodObject<{
245
+ identifier: z.ZodString;
246
+ name: z.ZodOptional<z.ZodString>;
247
+ subSystem: z.ZodOptional<z.ZodString>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ identifier: string;
250
+ name?: string | undefined;
251
+ subSystem?: string | undefined;
252
+ }, {
253
+ identifier: string;
254
+ name?: string | undefined;
255
+ subSystem?: string | undefined;
256
+ }>>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ name: string;
259
+ id: string;
260
+ appKey: string;
261
+ created: Date;
262
+ createdBy: {
263
+ azureUniqueId: string;
264
+ name: string;
265
+ mail?: string | undefined;
266
+ phoneNumber?: string | undefined;
267
+ jobTitle?: string | undefined;
268
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
269
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
270
+ };
271
+ description?: string | undefined;
272
+ isShared?: boolean | undefined;
273
+ updated?: Date | undefined;
274
+ updatedBy?: {
275
+ azureUniqueId: string;
276
+ name: string;
277
+ mail?: string | undefined;
278
+ phoneNumber?: string | undefined;
279
+ jobTitle?: string | undefined;
280
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
281
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
282
+ } | undefined;
283
+ context?: {
284
+ id: string;
285
+ name?: string | undefined;
286
+ type?: string | undefined;
287
+ } | undefined;
288
+ sourceSystem?: {
289
+ identifier: string;
290
+ name?: string | undefined;
291
+ subSystem?: string | undefined;
292
+ } | undefined;
293
+ }, {
294
+ name: string;
295
+ id: string;
296
+ appKey: string;
297
+ created: Date;
298
+ createdBy: {
299
+ azureUniqueId: string;
300
+ name: string;
301
+ mail?: string | undefined;
302
+ phoneNumber?: string | undefined;
303
+ jobTitle?: string | undefined;
304
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
305
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
306
+ };
307
+ description?: string | undefined;
308
+ isShared?: boolean | undefined;
309
+ updated?: Date | undefined;
310
+ updatedBy?: {
311
+ azureUniqueId: string;
312
+ name: string;
313
+ mail?: string | undefined;
314
+ phoneNumber?: string | undefined;
315
+ jobTitle?: string | undefined;
316
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
317
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
318
+ } | undefined;
319
+ context?: {
320
+ id: string;
321
+ name?: string | undefined;
322
+ type?: string | undefined;
323
+ } | undefined;
324
+ sourceSystem?: {
325
+ identifier: string;
326
+ name?: string | undefined;
327
+ subSystem?: string | undefined;
328
+ } | undefined;
329
+ }>, "many">;
330
+ export declare const bookmarkWithDataSchema: <T extends BookmarkData = BookmarkData, S extends z.ZodSchema<T> = z.ZodType<T, z.ZodTypeDef, T>>(schema?: S) => z.ZodObject<z.objectUtil.extendShape<{
331
+ id: z.ZodString;
332
+ name: z.ZodString;
333
+ appKey: z.ZodString;
334
+ description: z.ZodOptional<z.ZodString>;
335
+ isShared: z.ZodOptional<z.ZodBoolean>;
336
+ created: z.ZodDate;
337
+ createdBy: z.ZodObject<{
338
+ azureUniqueId: z.ZodString;
339
+ name: z.ZodString;
340
+ mail: z.ZodOptional<z.ZodString>;
341
+ phoneNumber: z.ZodOptional<z.ZodString>;
342
+ jobTitle: z.ZodOptional<z.ZodString>;
343
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
344
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ azureUniqueId: string;
347
+ name: string;
348
+ mail?: string | undefined;
349
+ phoneNumber?: string | undefined;
350
+ jobTitle?: string | undefined;
351
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
352
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
353
+ }, {
354
+ azureUniqueId: string;
355
+ name: string;
356
+ mail?: string | undefined;
357
+ phoneNumber?: string | undefined;
358
+ jobTitle?: string | undefined;
359
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
360
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
361
+ }>;
362
+ updated: z.ZodOptional<z.ZodDate>;
363
+ updatedBy: z.ZodOptional<z.ZodObject<{
364
+ azureUniqueId: z.ZodString;
365
+ name: z.ZodString;
366
+ mail: z.ZodOptional<z.ZodString>;
367
+ phoneNumber: z.ZodOptional<z.ZodString>;
368
+ jobTitle: z.ZodOptional<z.ZodString>;
369
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
370
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ azureUniqueId: string;
373
+ name: string;
374
+ mail?: string | undefined;
375
+ phoneNumber?: string | undefined;
376
+ jobTitle?: string | undefined;
377
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
378
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
379
+ }, {
380
+ azureUniqueId: string;
381
+ name: string;
382
+ mail?: string | undefined;
383
+ phoneNumber?: string | undefined;
384
+ jobTitle?: string | undefined;
385
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
386
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
387
+ }>>;
388
+ context: z.ZodOptional<z.ZodObject<{
389
+ id: z.ZodString;
390
+ name: z.ZodOptional<z.ZodString>;
391
+ type: z.ZodOptional<z.ZodString>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ id: string;
394
+ name?: string | undefined;
395
+ type?: string | undefined;
396
+ }, {
397
+ id: string;
398
+ name?: string | undefined;
399
+ type?: string | undefined;
400
+ }>>;
401
+ sourceSystem: z.ZodOptional<z.ZodObject<{
402
+ identifier: z.ZodString;
403
+ name: z.ZodOptional<z.ZodString>;
404
+ subSystem: z.ZodOptional<z.ZodString>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ identifier: string;
407
+ name?: string | undefined;
408
+ subSystem?: string | undefined;
409
+ }, {
410
+ identifier: string;
411
+ name?: string | undefined;
412
+ subSystem?: string | undefined;
413
+ }>>;
414
+ }, {
415
+ payload: S;
416
+ }>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
417
+ id: z.ZodString;
418
+ name: z.ZodString;
419
+ appKey: z.ZodString;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ isShared: z.ZodOptional<z.ZodBoolean>;
422
+ created: z.ZodDate;
423
+ createdBy: z.ZodObject<{
424
+ azureUniqueId: z.ZodString;
425
+ name: z.ZodString;
426
+ mail: z.ZodOptional<z.ZodString>;
427
+ phoneNumber: z.ZodOptional<z.ZodString>;
428
+ jobTitle: z.ZodOptional<z.ZodString>;
429
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
430
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ azureUniqueId: string;
433
+ name: string;
434
+ mail?: string | undefined;
435
+ phoneNumber?: string | undefined;
436
+ jobTitle?: string | undefined;
437
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
438
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
439
+ }, {
440
+ azureUniqueId: string;
441
+ name: string;
442
+ mail?: string | undefined;
443
+ phoneNumber?: string | undefined;
444
+ jobTitle?: string | undefined;
445
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
446
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
447
+ }>;
448
+ updated: z.ZodOptional<z.ZodDate>;
449
+ updatedBy: z.ZodOptional<z.ZodObject<{
450
+ azureUniqueId: z.ZodString;
451
+ name: z.ZodString;
452
+ mail: z.ZodOptional<z.ZodString>;
453
+ phoneNumber: z.ZodOptional<z.ZodString>;
454
+ jobTitle: z.ZodOptional<z.ZodString>;
455
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
456
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ azureUniqueId: string;
459
+ name: string;
460
+ mail?: string | undefined;
461
+ phoneNumber?: string | undefined;
462
+ jobTitle?: string | undefined;
463
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
464
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
465
+ }, {
466
+ azureUniqueId: string;
467
+ name: string;
468
+ mail?: string | undefined;
469
+ phoneNumber?: string | undefined;
470
+ jobTitle?: string | undefined;
471
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
472
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
473
+ }>>;
474
+ context: z.ZodOptional<z.ZodObject<{
475
+ id: z.ZodString;
476
+ name: z.ZodOptional<z.ZodString>;
477
+ type: z.ZodOptional<z.ZodString>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ id: string;
480
+ name?: string | undefined;
481
+ type?: string | undefined;
482
+ }, {
483
+ id: string;
484
+ name?: string | undefined;
485
+ type?: string | undefined;
486
+ }>>;
487
+ sourceSystem: z.ZodOptional<z.ZodObject<{
488
+ identifier: z.ZodString;
489
+ name: z.ZodOptional<z.ZodString>;
490
+ subSystem: z.ZodOptional<z.ZodString>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ identifier: string;
493
+ name?: string | undefined;
494
+ subSystem?: string | undefined;
495
+ }, {
496
+ identifier: string;
497
+ name?: string | undefined;
498
+ subSystem?: string | undefined;
499
+ }>>;
500
+ }, {
501
+ payload: S;
502
+ }>>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
503
+ id: z.ZodString;
504
+ name: z.ZodString;
505
+ appKey: z.ZodString;
506
+ description: z.ZodOptional<z.ZodString>;
507
+ isShared: z.ZodOptional<z.ZodBoolean>;
508
+ created: z.ZodDate;
509
+ createdBy: z.ZodObject<{
510
+ azureUniqueId: z.ZodString;
511
+ name: z.ZodString;
512
+ mail: z.ZodOptional<z.ZodString>;
513
+ phoneNumber: z.ZodOptional<z.ZodString>;
514
+ jobTitle: z.ZodOptional<z.ZodString>;
515
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
516
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ azureUniqueId: string;
519
+ name: string;
520
+ mail?: string | undefined;
521
+ phoneNumber?: string | undefined;
522
+ jobTitle?: string | undefined;
523
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
524
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
525
+ }, {
526
+ azureUniqueId: string;
527
+ name: string;
528
+ mail?: string | undefined;
529
+ phoneNumber?: string | undefined;
530
+ jobTitle?: string | undefined;
531
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
532
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
533
+ }>;
534
+ updated: z.ZodOptional<z.ZodDate>;
535
+ updatedBy: z.ZodOptional<z.ZodObject<{
536
+ azureUniqueId: z.ZodString;
537
+ name: z.ZodString;
538
+ mail: z.ZodOptional<z.ZodString>;
539
+ phoneNumber: z.ZodOptional<z.ZodString>;
540
+ jobTitle: z.ZodOptional<z.ZodString>;
541
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
542
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ azureUniqueId: string;
545
+ name: string;
546
+ mail?: string | undefined;
547
+ phoneNumber?: string | undefined;
548
+ jobTitle?: string | undefined;
549
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
550
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
551
+ }, {
552
+ azureUniqueId: string;
553
+ name: string;
554
+ mail?: string | undefined;
555
+ phoneNumber?: string | undefined;
556
+ jobTitle?: string | undefined;
557
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
558
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
559
+ }>>;
560
+ context: z.ZodOptional<z.ZodObject<{
561
+ id: z.ZodString;
562
+ name: z.ZodOptional<z.ZodString>;
563
+ type: z.ZodOptional<z.ZodString>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ id: string;
566
+ name?: string | undefined;
567
+ type?: string | undefined;
568
+ }, {
569
+ id: string;
570
+ name?: string | undefined;
571
+ type?: string | undefined;
572
+ }>>;
573
+ sourceSystem: z.ZodOptional<z.ZodObject<{
574
+ identifier: z.ZodString;
575
+ name: z.ZodOptional<z.ZodString>;
576
+ subSystem: z.ZodOptional<z.ZodString>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ identifier: string;
579
+ name?: string | undefined;
580
+ subSystem?: string | undefined;
581
+ }, {
582
+ identifier: string;
583
+ name?: string | undefined;
584
+ subSystem?: string | undefined;
585
+ }>>;
586
+ }, {
587
+ payload: S;
588
+ }>>, any>[k]; } : never, z.baseObjectInputType<z.objectUtil.extendShape<{
589
+ id: z.ZodString;
590
+ name: z.ZodString;
591
+ appKey: z.ZodString;
592
+ description: z.ZodOptional<z.ZodString>;
593
+ isShared: z.ZodOptional<z.ZodBoolean>;
594
+ created: z.ZodDate;
595
+ createdBy: z.ZodObject<{
596
+ azureUniqueId: z.ZodString;
597
+ name: z.ZodString;
598
+ mail: z.ZodOptional<z.ZodString>;
599
+ phoneNumber: z.ZodOptional<z.ZodString>;
600
+ jobTitle: z.ZodOptional<z.ZodString>;
601
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
602
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ azureUniqueId: string;
605
+ name: string;
606
+ mail?: string | undefined;
607
+ phoneNumber?: string | undefined;
608
+ jobTitle?: string | undefined;
609
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
610
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
611
+ }, {
612
+ azureUniqueId: string;
613
+ name: string;
614
+ mail?: string | undefined;
615
+ phoneNumber?: string | undefined;
616
+ jobTitle?: string | undefined;
617
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
618
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
619
+ }>;
620
+ updated: z.ZodOptional<z.ZodDate>;
621
+ updatedBy: z.ZodOptional<z.ZodObject<{
622
+ azureUniqueId: z.ZodString;
623
+ name: z.ZodString;
624
+ mail: z.ZodOptional<z.ZodString>;
625
+ phoneNumber: z.ZodOptional<z.ZodString>;
626
+ jobTitle: z.ZodOptional<z.ZodString>;
627
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
628
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ azureUniqueId: string;
631
+ name: string;
632
+ mail?: string | undefined;
633
+ phoneNumber?: string | undefined;
634
+ jobTitle?: string | undefined;
635
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
636
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
637
+ }, {
638
+ azureUniqueId: string;
639
+ name: string;
640
+ mail?: string | undefined;
641
+ phoneNumber?: string | undefined;
642
+ jobTitle?: string | undefined;
643
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
644
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
645
+ }>>;
646
+ context: z.ZodOptional<z.ZodObject<{
647
+ id: z.ZodString;
648
+ name: z.ZodOptional<z.ZodString>;
649
+ type: z.ZodOptional<z.ZodString>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ id: string;
652
+ name?: string | undefined;
653
+ type?: string | undefined;
654
+ }, {
655
+ id: string;
656
+ name?: string | undefined;
657
+ type?: string | undefined;
658
+ }>>;
659
+ sourceSystem: z.ZodOptional<z.ZodObject<{
660
+ identifier: z.ZodString;
661
+ name: z.ZodOptional<z.ZodString>;
662
+ subSystem: z.ZodOptional<z.ZodString>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ identifier: string;
665
+ name?: string | undefined;
666
+ subSystem?: string | undefined;
667
+ }, {
668
+ identifier: string;
669
+ name?: string | undefined;
670
+ subSystem?: string | undefined;
671
+ }>>;
672
+ }, {
673
+ payload: S;
674
+ }>> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<z.objectUtil.extendShape<{
675
+ id: z.ZodString;
676
+ name: z.ZodString;
677
+ appKey: z.ZodString;
678
+ description: z.ZodOptional<z.ZodString>;
679
+ isShared: z.ZodOptional<z.ZodBoolean>;
680
+ created: z.ZodDate;
681
+ createdBy: z.ZodObject<{
682
+ azureUniqueId: z.ZodString;
683
+ name: z.ZodString;
684
+ mail: z.ZodOptional<z.ZodString>;
685
+ phoneNumber: z.ZodOptional<z.ZodString>;
686
+ jobTitle: z.ZodOptional<z.ZodString>;
687
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
688
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ azureUniqueId: string;
691
+ name: string;
692
+ mail?: string | undefined;
693
+ phoneNumber?: string | undefined;
694
+ jobTitle?: string | undefined;
695
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
696
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
697
+ }, {
698
+ azureUniqueId: string;
699
+ name: string;
700
+ mail?: string | undefined;
701
+ phoneNumber?: string | undefined;
702
+ jobTitle?: string | undefined;
703
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
704
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
705
+ }>;
706
+ updated: z.ZodOptional<z.ZodDate>;
707
+ updatedBy: z.ZodOptional<z.ZodObject<{
708
+ azureUniqueId: z.ZodString;
709
+ name: z.ZodString;
710
+ mail: z.ZodOptional<z.ZodString>;
711
+ phoneNumber: z.ZodOptional<z.ZodString>;
712
+ jobTitle: z.ZodOptional<z.ZodString>;
713
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
714
+ accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ azureUniqueId: string;
717
+ name: string;
718
+ mail?: string | undefined;
719
+ phoneNumber?: string | undefined;
720
+ jobTitle?: string | undefined;
721
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
722
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
723
+ }, {
724
+ azureUniqueId: string;
725
+ name: string;
726
+ mail?: string | undefined;
727
+ phoneNumber?: string | undefined;
728
+ jobTitle?: string | undefined;
729
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
730
+ accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
731
+ }>>;
732
+ context: z.ZodOptional<z.ZodObject<{
733
+ id: z.ZodString;
734
+ name: z.ZodOptional<z.ZodString>;
735
+ type: z.ZodOptional<z.ZodString>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ id: string;
738
+ name?: string | undefined;
739
+ type?: string | undefined;
740
+ }, {
741
+ id: string;
742
+ name?: string | undefined;
743
+ type?: string | undefined;
744
+ }>>;
745
+ sourceSystem: z.ZodOptional<z.ZodObject<{
746
+ identifier: z.ZodString;
747
+ name: z.ZodOptional<z.ZodString>;
748
+ subSystem: z.ZodOptional<z.ZodString>;
749
+ }, "strip", z.ZodTypeAny, {
750
+ identifier: string;
751
+ name?: string | undefined;
752
+ subSystem?: string | undefined;
753
+ }, {
754
+ identifier: string;
755
+ name?: string | undefined;
756
+ subSystem?: string | undefined;
757
+ }>>;
758
+ }, {
759
+ payload: S;
760
+ }>>[k_1]; } : never>;