@equinor/fusion-framework-module-services 5.0.1 → 5.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.
@@ -3,7 +3,7 @@ import type { ClientRequestInit, IHttpClient } from '@equinor/fusion-framework-m
3
3
  import type { ClientMethod, ExtractApiVersion, FilterAllowedApiVersions } from '../types';
4
4
  import { ApiVersion } from '../api-version';
5
5
  /** API version which this operation uses. */
6
- type AvailableVersions = ApiVersion.v1;
6
+ type AvailableVersions = ApiVersion.v1 | ApiVersion.v2;
7
7
  /** Defines the allowed versions for this operation. (key of enum as string or enum value) */
8
8
  type AllowedVersions = FilterAllowedApiVersions<AvailableVersions>;
9
9
  /** Schema for the input arguments to this operation. */
@@ -63,6 +63,66 @@ declare const ArgSchema: {
63
63
  contextId?: string | undefined;
64
64
  } | undefined;
65
65
  }>>;
66
+ "2.0": z.ZodOptional<z.ZodObject<{
67
+ filter: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
68
+ appKey: z.ZodOptional<z.ZodString>;
69
+ contextId: z.ZodOptional<z.ZodString>;
70
+ sourceSystem: z.ZodOptional<z.ZodObject<{
71
+ identifier: z.ZodOptional<z.ZodString>;
72
+ name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
73
+ subSystem: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
74
+ }, "strip", z.ZodTypeAny, {
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
+ }>>;
83
+ isFavourite: z.ZodOptional<z.ZodBoolean>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ appKey?: string | undefined;
86
+ sourceSystem?: {
87
+ name?: string | null | undefined;
88
+ identifier?: string | undefined;
89
+ subSystem?: string | null | undefined;
90
+ } | undefined;
91
+ contextId?: string | undefined;
92
+ isFavourite?: boolean | undefined;
93
+ }, {
94
+ appKey?: string | undefined;
95
+ sourceSystem?: {
96
+ name?: string | null | undefined;
97
+ 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
+ name?: string | null | undefined;
106
+ identifier?: string | undefined;
107
+ subSystem?: string | null | undefined;
108
+ } | undefined;
109
+ contextId?: string | undefined;
110
+ isFavourite?: boolean | undefined;
111
+ }>]>>;
112
+ }, "strip", z.ZodTypeAny, {
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
+ }>>;
66
126
  };
67
127
  /** Schema for the response from the API. */
68
128
  declare const ApiResponseSchema: {
@@ -92,7 +152,7 @@ declare const ApiResponseSchema: {
92
152
  phoneNumber: z.ZodOptional<z.ZodString>;
93
153
  jobTitle: z.ZodOptional<z.ZodString>;
94
154
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
95
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
155
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
96
156
  }, "strip", z.ZodTypeAny, {
97
157
  azureUniqueId: string;
98
158
  name: string;
@@ -100,7 +160,7 @@ declare const ApiResponseSchema: {
100
160
  phoneNumber?: string | undefined;
101
161
  jobTitle?: string | undefined;
102
162
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
103
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
163
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
104
164
  }, {
105
165
  azureUniqueId: string;
106
166
  name: string;
@@ -108,7 +168,7 @@ declare const ApiResponseSchema: {
108
168
  phoneNumber?: string | undefined;
109
169
  jobTitle?: string | undefined;
110
170
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
111
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
171
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
112
172
  }>;
113
173
  updatedBy: z.ZodOptional<z.ZodObject<{
114
174
  azureUniqueId: z.ZodString;
@@ -117,7 +177,7 @@ declare const ApiResponseSchema: {
117
177
  phoneNumber: z.ZodOptional<z.ZodString>;
118
178
  jobTitle: z.ZodOptional<z.ZodString>;
119
179
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
120
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
180
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
121
181
  }, "strip", z.ZodTypeAny, {
122
182
  azureUniqueId: string;
123
183
  name: string;
@@ -125,7 +185,7 @@ declare const ApiResponseSchema: {
125
185
  phoneNumber?: string | undefined;
126
186
  jobTitle?: string | undefined;
127
187
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
128
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
188
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
129
189
  }, {
130
190
  azureUniqueId: string;
131
191
  name: string;
@@ -133,11 +193,11 @@ declare const ApiResponseSchema: {
133
193
  phoneNumber?: string | undefined;
134
194
  jobTitle?: string | undefined;
135
195
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
136
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
196
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
137
197
  }>>;
138
198
  created: z.ZodEffects<z.ZodString, Date, string>;
139
199
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
140
- sourceSystem: z.ZodOptional<z.ZodObject<{
200
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
141
201
  identifier: z.ZodString;
142
202
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
203
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -149,7 +209,7 @@ declare const ApiResponseSchema: {
149
209
  identifier: string;
150
210
  name?: string | null | undefined;
151
211
  subSystem?: string | null | undefined;
152
- }>>;
212
+ }>>>;
153
213
  }, "strip", z.ZodTypeAny, {
154
214
  id: string;
155
215
  name: string;
@@ -161,7 +221,7 @@ declare const ApiResponseSchema: {
161
221
  phoneNumber?: string | undefined;
162
222
  jobTitle?: string | undefined;
163
223
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
164
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
224
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
165
225
  };
166
226
  created: Date;
167
227
  description?: string | undefined;
@@ -178,14 +238,14 @@ declare const ApiResponseSchema: {
178
238
  phoneNumber?: string | undefined;
179
239
  jobTitle?: string | undefined;
180
240
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
181
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
241
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
182
242
  } | undefined;
183
243
  updated?: Date | undefined;
184
244
  sourceSystem?: {
185
245
  identifier: string;
186
246
  name?: string | null | undefined;
187
247
  subSystem?: string | null | undefined;
188
- } | undefined;
248
+ } | null | undefined;
189
249
  }, {
190
250
  id: string;
191
251
  name: string;
@@ -197,7 +257,7 @@ declare const ApiResponseSchema: {
197
257
  phoneNumber?: string | undefined;
198
258
  jobTitle?: string | undefined;
199
259
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
200
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
260
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
201
261
  };
202
262
  created: string;
203
263
  description?: string | undefined;
@@ -214,14 +274,171 @@ declare const ApiResponseSchema: {
214
274
  phoneNumber?: string | undefined;
215
275
  jobTitle?: string | undefined;
216
276
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
217
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
277
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
218
278
  } | undefined;
219
279
  updated?: string | undefined;
220
280
  sourceSystem?: {
221
281
  identifier: string;
222
282
  name?: string | null | undefined;
223
283
  subSystem?: string | null | undefined;
284
+ } | null | undefined;
285
+ }>, "many">;
286
+ "2.0": z.ZodArray<z.ZodObject<{
287
+ id: z.ZodString;
288
+ name: z.ZodString;
289
+ appKey: z.ZodString;
290
+ description: z.ZodOptional<z.ZodString>;
291
+ isShared: z.ZodOptional<z.ZodBoolean>;
292
+ context: z.ZodOptional<z.ZodObject<{
293
+ id: z.ZodString;
294
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ }, "strip", z.ZodTypeAny, {
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
+ }>>;
305
+ createdBy: z.ZodObject<{
306
+ azureUniqueId: z.ZodString;
307
+ name: z.ZodString;
308
+ mail: z.ZodOptional<z.ZodString>;
309
+ phoneNumber: z.ZodOptional<z.ZodString>;
310
+ jobTitle: z.ZodOptional<z.ZodString>;
311
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
312
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ azureUniqueId: string;
315
+ name: string;
316
+ mail?: string | undefined;
317
+ phoneNumber?: string | undefined;
318
+ jobTitle?: string | undefined;
319
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
320
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
321
+ }, {
322
+ azureUniqueId: string;
323
+ name: string;
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
+ }>;
330
+ updatedBy: z.ZodOptional<z.ZodObject<{
331
+ azureUniqueId: z.ZodString;
332
+ name: z.ZodString;
333
+ mail: z.ZodOptional<z.ZodString>;
334
+ phoneNumber: z.ZodOptional<z.ZodString>;
335
+ jobTitle: z.ZodOptional<z.ZodString>;
336
+ accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
337
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ azureUniqueId: string;
340
+ name: string;
341
+ mail?: string | undefined;
342
+ phoneNumber?: string | undefined;
343
+ jobTitle?: string | undefined;
344
+ accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
345
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
346
+ }, {
347
+ azureUniqueId: string;
348
+ name: string;
349
+ mail?: string | undefined;
350
+ phoneNumber?: string | undefined;
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>>;
357
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
358
+ identifier: z.ZodString;
359
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ identifier: string;
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;
224
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;
225
442
  }>, "many">;
226
443
  };
227
444
  /** Defines the expected output from the api. */
@@ -1,4 +1,4 @@
1
1
  export { BookmarksApiClient, default } from './client';
2
2
  export { ApiVersion } from './api-version';
3
- export type * from './schemas';
3
+ export * from './schemas';
4
4
  export type * from './types';
@@ -8,7 +8,7 @@ export declare const ApiPersonSchema: {
8
8
  phoneNumber: z.ZodOptional<z.ZodString>;
9
9
  jobTitle: z.ZodOptional<z.ZodString>;
10
10
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
11
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
11
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  azureUniqueId: string;
14
14
  name: string;
@@ -16,7 +16,7 @@ export declare const ApiPersonSchema: {
16
16
  phoneNumber?: string | undefined;
17
17
  jobTitle?: string | undefined;
18
18
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
19
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
19
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
20
20
  }, {
21
21
  azureUniqueId: string;
22
22
  name: string;
@@ -24,7 +24,7 @@ export declare const ApiPersonSchema: {
24
24
  phoneNumber?: string | undefined;
25
25
  jobTitle?: string | undefined;
26
26
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
27
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
27
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
28
28
  }>;
29
29
  };
30
30
  export declare const ApiSourceSystem: {
@@ -89,7 +89,7 @@ export declare const ApiBookmarkSchema: {
89
89
  phoneNumber: z.ZodOptional<z.ZodString>;
90
90
  jobTitle: z.ZodOptional<z.ZodString>;
91
91
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
92
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
92
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  azureUniqueId: string;
95
95
  name: string;
@@ -97,7 +97,7 @@ export declare const ApiBookmarkSchema: {
97
97
  phoneNumber?: string | undefined;
98
98
  jobTitle?: string | undefined;
99
99
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
100
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
100
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
101
101
  }, {
102
102
  azureUniqueId: string;
103
103
  name: string;
@@ -105,7 +105,7 @@ export declare const ApiBookmarkSchema: {
105
105
  phoneNumber?: string | undefined;
106
106
  jobTitle?: string | undefined;
107
107
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
108
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
108
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
109
109
  }>;
110
110
  updatedBy: z.ZodOptional<z.ZodObject<{
111
111
  azureUniqueId: z.ZodString;
@@ -114,7 +114,7 @@ export declare const ApiBookmarkSchema: {
114
114
  phoneNumber: z.ZodOptional<z.ZodString>;
115
115
  jobTitle: z.ZodOptional<z.ZodString>;
116
116
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
117
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
117
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
118
118
  }, "strip", z.ZodTypeAny, {
119
119
  azureUniqueId: string;
120
120
  name: string;
@@ -122,7 +122,7 @@ export declare const ApiBookmarkSchema: {
122
122
  phoneNumber?: string | undefined;
123
123
  jobTitle?: string | undefined;
124
124
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
125
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
125
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
126
126
  }, {
127
127
  azureUniqueId: string;
128
128
  name: string;
@@ -130,11 +130,11 @@ export declare const ApiBookmarkSchema: {
130
130
  phoneNumber?: string | undefined;
131
131
  jobTitle?: string | undefined;
132
132
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
133
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
133
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
134
134
  }>>;
135
135
  created: z.ZodEffects<z.ZodString, Date, string>;
136
136
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
137
- sourceSystem: z.ZodOptional<z.ZodObject<{
137
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
138
138
  identifier: z.ZodString;
139
139
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
140
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -146,7 +146,7 @@ export declare const ApiBookmarkSchema: {
146
146
  identifier: string;
147
147
  name?: string | null | undefined;
148
148
  subSystem?: string | null | undefined;
149
- }>>;
149
+ }>>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  id: string;
152
152
  name: string;
@@ -158,7 +158,7 @@ export declare const ApiBookmarkSchema: {
158
158
  phoneNumber?: string | undefined;
159
159
  jobTitle?: string | undefined;
160
160
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
161
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
161
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
162
162
  };
163
163
  created: Date;
164
164
  description?: string | undefined;
@@ -175,14 +175,14 @@ export declare const ApiBookmarkSchema: {
175
175
  phoneNumber?: string | undefined;
176
176
  jobTitle?: string | undefined;
177
177
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
178
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
178
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
179
179
  } | undefined;
180
180
  updated?: Date | undefined;
181
181
  sourceSystem?: {
182
182
  identifier: string;
183
183
  name?: string | null | undefined;
184
184
  subSystem?: string | null | undefined;
185
- } | undefined;
185
+ } | null | undefined;
186
186
  }, {
187
187
  id: string;
188
188
  name: string;
@@ -194,7 +194,7 @@ export declare const ApiBookmarkSchema: {
194
194
  phoneNumber?: string | undefined;
195
195
  jobTitle?: string | undefined;
196
196
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
197
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
197
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
198
198
  };
199
199
  created: string;
200
200
  description?: string | undefined;
@@ -211,14 +211,14 @@ export declare const ApiBookmarkSchema: {
211
211
  phoneNumber?: string | undefined;
212
212
  jobTitle?: string | undefined;
213
213
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
214
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
214
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
215
215
  } | undefined;
216
216
  updated?: string | undefined;
217
217
  sourceSystem?: {
218
218
  identifier: string;
219
219
  name?: string | null | undefined;
220
220
  subSystem?: string | null | undefined;
221
- } | undefined;
221
+ } | null | undefined;
222
222
  }>;
223
223
  readonly "2.0": z.ZodObject<{
224
224
  id: z.ZodString;
@@ -246,7 +246,7 @@ export declare const ApiBookmarkSchema: {
246
246
  phoneNumber: z.ZodOptional<z.ZodString>;
247
247
  jobTitle: z.ZodOptional<z.ZodString>;
248
248
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
249
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
249
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  azureUniqueId: string;
252
252
  name: string;
@@ -254,7 +254,7 @@ export declare const ApiBookmarkSchema: {
254
254
  phoneNumber?: string | undefined;
255
255
  jobTitle?: string | undefined;
256
256
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
257
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
257
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
258
258
  }, {
259
259
  azureUniqueId: string;
260
260
  name: string;
@@ -262,7 +262,7 @@ export declare const ApiBookmarkSchema: {
262
262
  phoneNumber?: string | undefined;
263
263
  jobTitle?: string | undefined;
264
264
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
265
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
265
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
266
266
  }>;
267
267
  updatedBy: z.ZodOptional<z.ZodObject<{
268
268
  azureUniqueId: z.ZodString;
@@ -271,7 +271,7 @@ export declare const ApiBookmarkSchema: {
271
271
  phoneNumber: z.ZodOptional<z.ZodString>;
272
272
  jobTitle: z.ZodOptional<z.ZodString>;
273
273
  accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
274
- accountClassification: z.ZodOptional<z.ZodEnum<["Unclassified", "Internal", "External"]>>;
274
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
275
275
  }, "strip", z.ZodTypeAny, {
276
276
  azureUniqueId: string;
277
277
  name: string;
@@ -279,7 +279,7 @@ export declare const ApiBookmarkSchema: {
279
279
  phoneNumber?: string | undefined;
280
280
  jobTitle?: string | undefined;
281
281
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
282
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
282
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
283
283
  }, {
284
284
  azureUniqueId: string;
285
285
  name: string;
@@ -287,11 +287,11 @@ export declare const ApiBookmarkSchema: {
287
287
  phoneNumber?: string | undefined;
288
288
  jobTitle?: string | undefined;
289
289
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
290
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
290
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
291
291
  }>>;
292
292
  created: z.ZodEffects<z.ZodString, Date, string>;
293
293
  updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
294
- sourceSystem: z.ZodOptional<z.ZodObject<{
294
+ sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
295
295
  identifier: z.ZodString;
296
296
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
297
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -303,7 +303,7 @@ export declare const ApiBookmarkSchema: {
303
303
  identifier: string;
304
304
  name?: string | null | undefined;
305
305
  subSystem?: string | null | undefined;
306
- }>>;
306
+ }>>>;
307
307
  }, "strip", z.ZodTypeAny, {
308
308
  id: string;
309
309
  name: string;
@@ -315,7 +315,7 @@ export declare const ApiBookmarkSchema: {
315
315
  phoneNumber?: string | undefined;
316
316
  jobTitle?: string | undefined;
317
317
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
318
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
318
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
319
319
  };
320
320
  created: Date;
321
321
  description?: string | undefined;
@@ -332,14 +332,14 @@ export declare const ApiBookmarkSchema: {
332
332
  phoneNumber?: string | undefined;
333
333
  jobTitle?: string | undefined;
334
334
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
335
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
335
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
336
336
  } | undefined;
337
337
  updated?: Date | undefined;
338
338
  sourceSystem?: {
339
339
  identifier: string;
340
340
  name?: string | null | undefined;
341
341
  subSystem?: string | null | undefined;
342
- } | undefined;
342
+ } | null | undefined;
343
343
  }, {
344
344
  id: string;
345
345
  name: string;
@@ -351,7 +351,7 @@ export declare const ApiBookmarkSchema: {
351
351
  phoneNumber?: string | undefined;
352
352
  jobTitle?: string | undefined;
353
353
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
354
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
354
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
355
355
  };
356
356
  created: string;
357
357
  description?: string | undefined;
@@ -368,14 +368,14 @@ export declare const ApiBookmarkSchema: {
368
368
  phoneNumber?: string | undefined;
369
369
  jobTitle?: string | undefined;
370
370
  accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
371
- accountClassification?: "External" | "Unclassified" | "Internal" | undefined;
371
+ accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
372
372
  } | undefined;
373
373
  updated?: string | undefined;
374
374
  sourceSystem?: {
375
375
  identifier: string;
376
376
  name?: string | null | undefined;
377
377
  subSystem?: string | null | undefined;
378
- } | undefined;
378
+ } | null | undefined;
379
379
  }>;
380
380
  };
381
381
  export declare const ApiBookmarkPayload: {
@@ -1 +1 @@
1
- export declare const version = "5.0.1";
1
+ export declare const version = "5.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-services",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "description": "",
5
5
  "sideEffects": false,
6
6
  "main": "dist/esm/index.js",
@@ -117,9 +117,9 @@
117
117
  },
118
118
  "devDependencies": {
119
119
  "typescript": "^5.5.4",
120
- "@equinor/fusion-framework-module-http": "^6.2.0",
121
120
  "@equinor/fusion-framework-module": "^4.3.5",
122
- "@equinor/fusion-framework-module-service-discovery": "^8.0.3"
121
+ "@equinor/fusion-framework-module-service-discovery": "^8.0.4",
122
+ "@equinor/fusion-framework-module-http": "^6.2.0"
123
123
  },
124
124
  "peerDependencies": {
125
125
  "odata-query": "^7.0.4",