@equinor/fusion-framework-module-services 5.0.0 → 5.1.0-bookmark-preview-53d7010af49af3f3128a5ca800f7cfc796dc6089

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 (30) hide show
  1. package/CHANGELOG.md +200 -184
  2. package/dist/esm/bookmarks/endpoints/user-bookmark-favourite.head.js +1 -2
  3. package/dist/esm/bookmarks/endpoints/user-bookmark-favourite.head.js.map +1 -1
  4. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js +52 -26
  5. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js.map +1 -1
  6. package/dist/esm/bookmarks/index.js +1 -0
  7. package/dist/esm/bookmarks/index.js.map +1 -1
  8. package/dist/esm/bookmarks/schemas.js +2 -2
  9. package/dist/esm/bookmarks/schemas.js.map +1 -1
  10. package/dist/esm/bookmarks/selectors.js +8 -12
  11. package/dist/esm/bookmarks/selectors.js.map +1 -1
  12. package/dist/esm/provider.js +3 -1
  13. package/dist/esm/provider.js.map +1 -1
  14. package/dist/esm/version.js +1 -1
  15. package/dist/tsconfig.tsbuildinfo +1 -1
  16. package/dist/types/bookmarks/endpoints/bookmark.get.d.ts +28 -28
  17. package/dist/types/bookmarks/endpoints/bookmark.patch.d.ts +14 -14
  18. package/dist/types/bookmarks/endpoints/bookmark.post.d.ts +14 -14
  19. package/dist/types/bookmarks/endpoints/user-bookmarks.get.d.ts +231 -14
  20. package/dist/types/bookmarks/index.d.ts +1 -1
  21. package/dist/types/bookmarks/schemas.d.ts +31 -31
  22. package/dist/types/version.d.ts +1 -1
  23. package/package.json +2 -2
  24. package/src/bookmarks/endpoints/user-bookmark-favourite.head.ts +1 -2
  25. package/src/bookmarks/endpoints/user-bookmarks.get.ts +56 -32
  26. package/src/bookmarks/index.ts +1 -1
  27. package/src/bookmarks/schemas.ts +2 -2
  28. package/src/bookmarks/selectors.ts +8 -11
  29. package/src/provider.ts +3 -1
  30. package/src/version.ts +1 -1
@@ -51,7 +51,7 @@ declare const ApiResponseSchema: {
51
51
  phoneNumber: z.ZodOptional<z.ZodString>;
52
52
  jobTitle: z.ZodOptional<z.ZodString>;
53
53
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
54
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
54
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
55
55
  }, "strip", z.ZodTypeAny, {
56
56
  azureUniqueId: string;
57
57
  name: string;
@@ -59,7 +59,7 @@ declare const ApiResponseSchema: {
59
59
  phoneNumber?: string | undefined;
60
60
  jobTitle?: string | undefined;
61
61
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
62
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
62
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
63
63
  }, {
64
64
  azureUniqueId: string;
65
65
  name: string;
@@ -67,7 +67,7 @@ declare const ApiResponseSchema: {
67
67
  phoneNumber?: string | undefined;
68
68
  jobTitle?: string | undefined;
69
69
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
70
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
70
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
71
71
  }>;
72
72
  updatedBy: z.ZodOptional<z.ZodObject<{
73
73
  azureUniqueId: z.ZodString;
@@ -76,7 +76,7 @@ declare const ApiResponseSchema: {
76
76
  phoneNumber: z.ZodOptional<z.ZodString>;
77
77
  jobTitle: z.ZodOptional<z.ZodString>;
78
78
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
79
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
79
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
80
80
  }, "strip", z.ZodTypeAny, {
81
81
  azureUniqueId: string;
82
82
  name: string;
@@ -84,7 +84,7 @@ declare const ApiResponseSchema: {
84
84
  phoneNumber?: string | undefined;
85
85
  jobTitle?: string | undefined;
86
86
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
87
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
87
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
88
88
  }, {
89
89
  azureUniqueId: string;
90
90
  name: string;
@@ -92,11 +92,11 @@ declare const ApiResponseSchema: {
92
92
  phoneNumber?: string | undefined;
93
93
  jobTitle?: string | undefined;
94
94
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
95
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
95
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
96
96
  }>>;
97
97
  created: z.ZodEffects<z.ZodString, Date, string>;
98
98
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
99
- sourceSystem: z.ZodOptional<z.ZodObject<{
99
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
100
100
  identifier: z.ZodString;
101
101
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
102
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -108,7 +108,7 @@ declare const ApiResponseSchema: {
108
108
  identifier: string;
109
109
  name?: string | null | undefined;
110
110
  subSystem?: string | null | undefined;
111
- }>>;
111
+ }>>>;
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  id: string;
114
114
  name: string;
@@ -120,7 +120,7 @@ declare const ApiResponseSchema: {
120
120
  phoneNumber?: string | undefined;
121
121
  jobTitle?: string | undefined;
122
122
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
123
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
123
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
124
124
  };
125
125
  created: Date;
126
126
  description?: string | undefined;
@@ -137,14 +137,14 @@ declare const ApiResponseSchema: {
137
137
  phoneNumber?: string | undefined;
138
138
  jobTitle?: string | undefined;
139
139
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
140
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
140
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
141
141
  } | undefined;
142
142
  updated?: Date | undefined;
143
143
  sourceSystem?: {
144
144
  identifier: string;
145
145
  name?: string | null | undefined;
146
146
  subSystem?: string | null | undefined;
147
- } | undefined;
147
+ } | null | undefined;
148
148
  }, {
149
149
  id: string;
150
150
  name: string;
@@ -156,7 +156,7 @@ declare const ApiResponseSchema: {
156
156
  phoneNumber?: string | undefined;
157
157
  jobTitle?: string | undefined;
158
158
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
159
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
159
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
160
160
  };
161
161
  created: string;
162
162
  description?: string | undefined;
@@ -173,14 +173,14 @@ declare const ApiResponseSchema: {
173
173
  phoneNumber?: string | undefined;
174
174
  jobTitle?: string | undefined;
175
175
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
176
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
176
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
177
177
  } | undefined;
178
178
  updated?: string | undefined;
179
179
  sourceSystem?: {
180
180
  identifier: string;
181
181
  name?: string | null | undefined;
182
182
  subSystem?: string | null | undefined;
183
- } | undefined;
183
+ } | null | undefined;
184
184
  }>;
185
185
  "2.0": z.ZodObject<{
186
186
  id: z.ZodString;
@@ -208,7 +208,7 @@ declare const ApiResponseSchema: {
208
208
  phoneNumber: z.ZodOptional<z.ZodString>;
209
209
  jobTitle: z.ZodOptional<z.ZodString>;
210
210
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
211
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
211
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
212
212
  }, "strip", z.ZodTypeAny, {
213
213
  azureUniqueId: string;
214
214
  name: string;
@@ -216,7 +216,7 @@ declare const ApiResponseSchema: {
216
216
  phoneNumber?: string | undefined;
217
217
  jobTitle?: string | undefined;
218
218
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
219
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
219
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
220
220
  }, {
221
221
  azureUniqueId: string;
222
222
  name: string;
@@ -224,7 +224,7 @@ declare const ApiResponseSchema: {
224
224
  phoneNumber?: string | undefined;
225
225
  jobTitle?: string | undefined;
226
226
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
227
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
227
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
228
228
  }>;
229
229
  updatedBy: z.ZodOptional<z.ZodObject<{
230
230
  azureUniqueId: z.ZodString;
@@ -233,7 +233,7 @@ declare const ApiResponseSchema: {
233
233
  phoneNumber: z.ZodOptional<z.ZodString>;
234
234
  jobTitle: z.ZodOptional<z.ZodString>;
235
235
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
236
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
236
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
237
237
  }, "strip", z.ZodTypeAny, {
238
238
  azureUniqueId: string;
239
239
  name: string;
@@ -241,7 +241,7 @@ declare const ApiResponseSchema: {
241
241
  phoneNumber?: string | undefined;
242
242
  jobTitle?: string | undefined;
243
243
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
244
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
244
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
245
245
  }, {
246
246
  azureUniqueId: string;
247
247
  name: string;
@@ -249,11 +249,11 @@ declare const ApiResponseSchema: {
249
249
  phoneNumber?: string | undefined;
250
250
  jobTitle?: string | undefined;
251
251
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
252
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
252
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
253
253
  }>>;
254
254
  created: z.ZodEffects<z.ZodString, Date, string>;
255
255
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
256
- sourceSystem: z.ZodOptional<z.ZodObject<{
256
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
257
257
  identifier: z.ZodString;
258
258
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -265,7 +265,7 @@ declare const ApiResponseSchema: {
265
265
  identifier: string;
266
266
  name?: string | null | undefined;
267
267
  subSystem?: string | null | undefined;
268
- }>>;
268
+ }>>>;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  id: string;
271
271
  name: string;
@@ -277,7 +277,7 @@ declare const ApiResponseSchema: {
277
277
  phoneNumber?: string | undefined;
278
278
  jobTitle?: string | undefined;
279
279
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
280
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
280
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
281
281
  };
282
282
  created: Date;
283
283
  description?: string | undefined;
@@ -294,14 +294,14 @@ declare const ApiResponseSchema: {
294
294
  phoneNumber?: string | undefined;
295
295
  jobTitle?: string | undefined;
296
296
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
297
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
297
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
298
298
  } | undefined;
299
299
  updated?: Date | undefined;
300
300
  sourceSystem?: {
301
301
  identifier: string;
302
302
  name?: string | null | undefined;
303
303
  subSystem?: string | null | undefined;
304
- } | undefined;
304
+ } | null | undefined;
305
305
  }, {
306
306
  id: string;
307
307
  name: string;
@@ -313,7 +313,7 @@ declare const ApiResponseSchema: {
313
313
  phoneNumber?: string | undefined;
314
314
  jobTitle?: string | undefined;
315
315
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
316
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
316
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
317
317
  };
318
318
  created: string;
319
319
  description?: string | undefined;
@@ -330,14 +330,14 @@ declare const ApiResponseSchema: {
330
330
  phoneNumber?: string | undefined;
331
331
  jobTitle?: string | undefined;
332
332
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
333
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
333
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
334
334
  } | undefined;
335
335
  updated?: string | undefined;
336
336
  sourceSystem?: {
337
337
  identifier: string;
338
338
  name?: string | null | undefined;
339
339
  subSystem?: string | null | undefined;
340
- } | undefined;
340
+ } | null | undefined;
341
341
  }>;
342
342
  };
343
343
  /** Defines the expected output from the api. */
@@ -105,7 +105,7 @@ declare const ApiResponseSchema: {
105
105
  phoneNumber: z.ZodOptional<z.ZodString>;
106
106
  jobTitle: z.ZodOptional<z.ZodString>;
107
107
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
108
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
108
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  azureUniqueId: string;
111
111
  name: string;
@@ -113,7 +113,7 @@ declare const ApiResponseSchema: {
113
113
  phoneNumber?: string | undefined;
114
114
  jobTitle?: string | undefined;
115
115
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
116
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
116
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
117
117
  }, {
118
118
  azureUniqueId: string;
119
119
  name: string;
@@ -121,7 +121,7 @@ declare const ApiResponseSchema: {
121
121
  phoneNumber?: string | undefined;
122
122
  jobTitle?: string | undefined;
123
123
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
124
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
124
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
125
125
  }>;
126
126
  updatedBy: z.ZodOptional<z.ZodObject<{
127
127
  azureUniqueId: z.ZodString;
@@ -130,7 +130,7 @@ declare const ApiResponseSchema: {
130
130
  phoneNumber: z.ZodOptional<z.ZodString>;
131
131
  jobTitle: z.ZodOptional<z.ZodString>;
132
132
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
133
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
133
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
134
134
  }, "strip", z.ZodTypeAny, {
135
135
  azureUniqueId: string;
136
136
  name: string;
@@ -138,7 +138,7 @@ declare const ApiResponseSchema: {
138
138
  phoneNumber?: string | undefined;
139
139
  jobTitle?: string | undefined;
140
140
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
141
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
141
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
142
142
  }, {
143
143
  azureUniqueId: string;
144
144
  name: string;
@@ -146,11 +146,11 @@ declare const ApiResponseSchema: {
146
146
  phoneNumber?: string | undefined;
147
147
  jobTitle?: string | undefined;
148
148
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
149
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
149
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
150
150
  }>>;
151
151
  created: z.ZodEffects<z.ZodString, Date, string>;
152
152
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
153
- sourceSystem: z.ZodOptional<z.ZodObject<{
153
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
154
154
  identifier: z.ZodString;
155
155
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
156
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -162,7 +162,7 @@ declare const ApiResponseSchema: {
162
162
  identifier: string;
163
163
  name?: string | null | undefined;
164
164
  subSystem?: string | null | undefined;
165
- }>>;
165
+ }>>>;
166
166
  }, "strip", z.ZodTypeAny, {
167
167
  id: string;
168
168
  name: string;
@@ -174,7 +174,7 @@ declare const ApiResponseSchema: {
174
174
  phoneNumber?: string | undefined;
175
175
  jobTitle?: string | undefined;
176
176
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
177
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
177
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
178
178
  };
179
179
  created: Date;
180
180
  description?: string | undefined;
@@ -191,14 +191,14 @@ declare const ApiResponseSchema: {
191
191
  phoneNumber?: string | undefined;
192
192
  jobTitle?: string | undefined;
193
193
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
194
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
194
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
195
195
  } | undefined;
196
196
  updated?: Date | undefined;
197
197
  sourceSystem?: {
198
198
  identifier: string;
199
199
  name?: string | null | undefined;
200
200
  subSystem?: string | null | undefined;
201
- } | undefined;
201
+ } | null | undefined;
202
202
  }, {
203
203
  id: string;
204
204
  name: string;
@@ -210,7 +210,7 @@ declare const ApiResponseSchema: {
210
210
  phoneNumber?: string | undefined;
211
211
  jobTitle?: string | undefined;
212
212
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
213
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
213
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
214
214
  };
215
215
  created: string;
216
216
  description?: string | undefined;
@@ -227,14 +227,14 @@ declare const ApiResponseSchema: {
227
227
  phoneNumber?: string | undefined;
228
228
  jobTitle?: string | undefined;
229
229
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
230
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
230
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
231
231
  } | undefined;
232
232
  updated?: string | undefined;
233
233
  sourceSystem?: {
234
234
  identifier: string;
235
235
  name?: string | null | undefined;
236
236
  subSystem?: string | null | undefined;
237
- } | undefined;
237
+ } | null | undefined;
238
238
  }>, z.ZodObject<{
239
239
  payload: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, any, string | Record<string, unknown> | undefined>>;
240
240
  }, "strip", z.ZodTypeAny, {
@@ -82,7 +82,7 @@ declare const ApiResponseSchema: {
82
82
  phoneNumber: z.ZodOptional<z.ZodString>;
83
83
  jobTitle: z.ZodOptional<z.ZodString>;
84
84
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
85
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
85
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  azureUniqueId: string;
88
88
  name: string;
@@ -90,7 +90,7 @@ declare const ApiResponseSchema: {
90
90
  phoneNumber?: string | undefined;
91
91
  jobTitle?: string | undefined;
92
92
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
93
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
93
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
94
94
  }, {
95
95
  azureUniqueId: string;
96
96
  name: string;
@@ -98,7 +98,7 @@ declare const ApiResponseSchema: {
98
98
  phoneNumber?: string | undefined;
99
99
  jobTitle?: string | undefined;
100
100
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
101
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
101
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
102
102
  }>;
103
103
  updatedBy: z.ZodOptional<z.ZodObject<{
104
104
  azureUniqueId: z.ZodString;
@@ -107,7 +107,7 @@ declare const ApiResponseSchema: {
107
107
  phoneNumber: z.ZodOptional<z.ZodString>;
108
108
  jobTitle: z.ZodOptional<z.ZodString>;
109
109
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
110
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
110
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  azureUniqueId: string;
113
113
  name: string;
@@ -115,7 +115,7 @@ declare const ApiResponseSchema: {
115
115
  phoneNumber?: string | undefined;
116
116
  jobTitle?: string | undefined;
117
117
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
118
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
118
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
119
119
  }, {
120
120
  azureUniqueId: string;
121
121
  name: string;
@@ -123,11 +123,11 @@ declare const ApiResponseSchema: {
123
123
  phoneNumber?: string | undefined;
124
124
  jobTitle?: string | undefined;
125
125
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
126
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
126
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
127
127
  }>>;
128
128
  created: z.ZodEffects<z.ZodString, Date, string>;
129
129
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
130
- sourceSystem: z.ZodOptional<z.ZodObject<{
130
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
131
131
  identifier: z.ZodString;
132
132
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
133
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -139,7 +139,7 @@ declare const ApiResponseSchema: {
139
139
  identifier: string;
140
140
  name?: string | null | undefined;
141
141
  subSystem?: string | null | undefined;
142
- }>>;
142
+ }>>>;
143
143
  }, "strip", z.ZodTypeAny, {
144
144
  id: string;
145
145
  name: string;
@@ -151,7 +151,7 @@ declare const ApiResponseSchema: {
151
151
  phoneNumber?: string | undefined;
152
152
  jobTitle?: string | undefined;
153
153
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
154
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
154
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
155
155
  };
156
156
  created: Date;
157
157
  description?: string | undefined;
@@ -168,14 +168,14 @@ declare const ApiResponseSchema: {
168
168
  phoneNumber?: string | undefined;
169
169
  jobTitle?: string | undefined;
170
170
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
171
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
171
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
172
172
  } | undefined;
173
173
  updated?: Date | undefined;
174
174
  sourceSystem?: {
175
175
  identifier: string;
176
176
  name?: string | null | undefined;
177
177
  subSystem?: string | null | undefined;
178
- } | undefined;
178
+ } | null | undefined;
179
179
  }, {
180
180
  id: string;
181
181
  name: string;
@@ -187,7 +187,7 @@ declare const ApiResponseSchema: {
187
187
  phoneNumber?: string | undefined;
188
188
  jobTitle?: string | undefined;
189
189
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
190
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
190
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
191
191
  };
192
192
  created: string;
193
193
  description?: string | undefined;
@@ -204,14 +204,14 @@ declare const ApiResponseSchema: {
204
204
  phoneNumber?: string | undefined;
205
205
  jobTitle?: string | undefined;
206
206
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
207
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
207
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
208
208
  } | undefined;
209
209
  updated?: string | undefined;
210
210
  sourceSystem?: {
211
211
  identifier: string;
212
212
  name?: string | null | undefined;
213
213
  subSystem?: string | null | undefined;
214
- } | undefined;
214
+ } | null | undefined;
215
215
  }>, z.ZodObject<{
216
216
  payload: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, any, string | Record<string, unknown> | undefined>>;
217
217
  }, "strip", z.ZodTypeAny, {