@equinor/fusion-framework-module-services 7.0.2 → 7.1.1

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 (35) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/esm/bookmarks/client.js.map +1 -1
  3. package/dist/esm/bookmarks/endpoints/bookmark.get.js.map +1 -1
  4. package/dist/esm/bookmarks/endpoints/bookmark.patch.js +1 -1
  5. package/dist/esm/bookmarks/endpoints/bookmark.patch.js.map +1 -1
  6. package/dist/esm/bookmarks/endpoints/bookmark.post.js +1 -1
  7. package/dist/esm/bookmarks/endpoints/bookmark.post.js.map +1 -1
  8. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js +4 -1
  9. package/dist/esm/bookmarks/endpoints/user-bookmarks.get.js.map +1 -1
  10. package/dist/esm/bookmarks/schemas.js +1 -1
  11. package/dist/esm/bookmarks/schemas.js.map +1 -1
  12. package/dist/esm/utils.js.map +1 -1
  13. package/dist/esm/version.js +1 -1
  14. package/dist/tsconfig.tsbuildinfo +1 -1
  15. package/dist/types/bookmarks/endpoints/bookmark-apply.get.d.ts +3 -13
  16. package/dist/types/bookmarks/endpoints/bookmark.delete.d.ts +1 -5
  17. package/dist/types/bookmarks/endpoints/bookmark.get.d.ts +66 -274
  18. package/dist/types/bookmarks/endpoints/bookmark.patch.d.ts +37 -195
  19. package/dist/types/bookmarks/endpoints/bookmark.post.d.ts +35 -171
  20. package/dist/types/bookmarks/endpoints/user-bookmark-favourite.delete.d.ts +1 -5
  21. package/dist/types/bookmarks/endpoints/user-bookmark-favourite.head.d.ts +1 -5
  22. package/dist/types/bookmarks/endpoints/user-bookmark-favourite.post.d.ts +1 -5
  23. package/dist/types/bookmarks/endpoints/user-bookmarks.get.d.ts +74 -349
  24. package/dist/types/bookmarks/schemas.d.ts +79 -301
  25. package/dist/types/utils.d.ts +1 -1
  26. package/dist/types/version.d.ts +1 -1
  27. package/package.json +6 -6
  28. package/src/bookmarks/client.ts +1 -1
  29. package/src/bookmarks/endpoints/bookmark.get.ts +2 -2
  30. package/src/bookmarks/endpoints/bookmark.patch.ts +1 -1
  31. package/src/bookmarks/endpoints/bookmark.post.ts +1 -1
  32. package/src/bookmarks/endpoints/user-bookmarks.get.ts +8 -5
  33. package/src/bookmarks/schemas.ts +1 -1
  34. package/src/utils.ts +2 -4
  35. package/src/version.ts +1 -1
@@ -14,68 +14,14 @@ declare const ArgSchema: {
14
14
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  isShared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
- payload: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, string | undefined, string | Record<string, unknown> | null | undefined>;
17
+ payload: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, z.ZodTransform<string | undefined, string | Record<string, unknown> | null | undefined>>;
18
18
  sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, "strip", z.ZodTypeAny, {
23
- name?: string | null | undefined;
24
- identifier?: string | null | undefined;
25
- subSystem?: string | null | undefined;
26
- }, {
27
- name?: string | null | undefined;
28
- identifier?: string | null | undefined;
29
- subSystem?: string | null | undefined;
30
- }>>>;
31
- }, "strip", z.ZodTypeAny, {
32
- name?: string | null | undefined;
33
- description?: string | null | undefined;
34
- isShared?: boolean | null | undefined;
35
- sourceSystem?: {
36
- name?: string | null | undefined;
37
- identifier?: string | null | undefined;
38
- subSystem?: string | null | undefined;
39
- } | null | undefined;
40
- payload?: string | undefined;
41
- }, {
42
- name?: string | null | undefined;
43
- description?: string | null | undefined;
44
- isShared?: boolean | null | undefined;
45
- sourceSystem?: {
46
- name?: string | null | undefined;
47
- identifier?: string | null | undefined;
48
- subSystem?: string | null | undefined;
49
- } | null | undefined;
50
- payload?: string | Record<string, unknown> | null | undefined;
51
- }>;
52
- }, "strip", z.ZodTypeAny, {
53
- bookmarkId: string;
54
- updates: {
55
- name?: string | null | undefined;
56
- description?: string | null | undefined;
57
- isShared?: boolean | null | undefined;
58
- sourceSystem?: {
59
- name?: string | null | undefined;
60
- identifier?: string | null | undefined;
61
- subSystem?: string | null | undefined;
62
- } | null | undefined;
63
- payload?: string | undefined;
64
- };
65
- }, {
66
- bookmarkId: string;
67
- updates: {
68
- name?: string | null | undefined;
69
- description?: string | null | undefined;
70
- isShared?: boolean | null | undefined;
71
- sourceSystem?: {
72
- name?: string | null | undefined;
73
- identifier?: string | null | undefined;
74
- subSystem?: string | null | undefined;
75
- } | null | undefined;
76
- payload?: string | Record<string, unknown> | null | undefined;
77
- };
78
- }>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>;
24
+ }, z.core.$strip>;
79
25
  };
80
26
  /** Schema for the response from the API. */
81
27
  declare const ApiResponseSchema: {
@@ -89,159 +35,55 @@ declare const ApiResponseSchema: {
89
35
  id: z.ZodString;
90
36
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
37
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
- }, "strip", z.ZodTypeAny, {
93
- id: string;
94
- type?: string | null | undefined;
95
- name?: string | null | undefined;
96
- }, {
97
- id: string;
98
- type?: string | null | undefined;
99
- name?: string | null | undefined;
100
- }>>;
38
+ }, z.core.$strip>>;
101
39
  createdBy: z.ZodObject<{
102
40
  azureUniqueId: z.ZodString;
103
41
  name: z.ZodString;
104
42
  mail: z.ZodOptional<z.ZodString>;
105
43
  phoneNumber: z.ZodOptional<z.ZodString>;
106
44
  jobTitle: z.ZodOptional<z.ZodString>;
107
- accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
108
- accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
109
- }, "strip", z.ZodTypeAny, {
110
- azureUniqueId: string;
111
- name: string;
112
- mail?: string | undefined;
113
- phoneNumber?: string | undefined;
114
- jobTitle?: string | undefined;
115
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
116
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
117
- }, {
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" | null | undefined;
125
- }>;
45
+ accountType: z.ZodOptional<z.ZodEnum<{
46
+ Employee: "Employee";
47
+ Consultant: "Consultant";
48
+ External: "External";
49
+ Application: "Application";
50
+ Local: "Local";
51
+ }>>;
52
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
53
+ External: "External";
54
+ Unclassified: "Unclassified";
55
+ Internal: "Internal";
56
+ }>>>;
57
+ }, z.core.$strip>;
126
58
  updatedBy: z.ZodOptional<z.ZodObject<{
127
59
  azureUniqueId: z.ZodString;
128
60
  name: z.ZodString;
129
61
  mail: z.ZodOptional<z.ZodString>;
130
62
  phoneNumber: z.ZodOptional<z.ZodString>;
131
63
  jobTitle: z.ZodOptional<z.ZodString>;
132
- accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
133
- accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
134
- }, "strip", z.ZodTypeAny, {
135
- azureUniqueId: string;
136
- name: string;
137
- mail?: string | undefined;
138
- phoneNumber?: string | undefined;
139
- jobTitle?: string | undefined;
140
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
141
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
142
- }, {
143
- azureUniqueId: string;
144
- name: string;
145
- mail?: string | undefined;
146
- phoneNumber?: string | undefined;
147
- jobTitle?: string | undefined;
148
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
149
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
150
- }>>;
151
- created: z.ZodEffects<z.ZodString, Date, string>;
152
- updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
64
+ accountType: z.ZodOptional<z.ZodEnum<{
65
+ Employee: "Employee";
66
+ Consultant: "Consultant";
67
+ External: "External";
68
+ Application: "Application";
69
+ Local: "Local";
70
+ }>>;
71
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
72
+ External: "External";
73
+ Unclassified: "Unclassified";
74
+ Internal: "Internal";
75
+ }>>>;
76
+ }, z.core.$strip>>;
77
+ created: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
78
+ updated: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
153
79
  sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
154
80
  identifier: z.ZodString;
155
81
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
82
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
- }, "strip", z.ZodTypeAny, {
158
- identifier: string;
159
- name?: string | null | undefined;
160
- subSystem?: string | null | undefined;
161
- }, {
162
- identifier: string;
163
- name?: string | null | undefined;
164
- subSystem?: string | null | undefined;
165
- }>>>;
166
- }, "strip", z.ZodTypeAny, {
167
- id: string;
168
- name: string;
169
- appKey: string;
170
- createdBy: {
171
- azureUniqueId: string;
172
- name: string;
173
- mail?: string | undefined;
174
- phoneNumber?: string | undefined;
175
- jobTitle?: string | undefined;
176
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
177
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
178
- };
179
- created: Date;
180
- description?: string | undefined;
181
- isShared?: boolean | undefined;
182
- context?: {
183
- id: string;
184
- type?: string | null | undefined;
185
- name?: string | null | undefined;
186
- } | undefined;
187
- updatedBy?: {
188
- azureUniqueId: string;
189
- name: string;
190
- mail?: string | undefined;
191
- phoneNumber?: string | undefined;
192
- jobTitle?: string | undefined;
193
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
194
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
195
- } | undefined;
196
- updated?: Date | undefined;
197
- sourceSystem?: {
198
- identifier: string;
199
- name?: string | null | undefined;
200
- subSystem?: string | null | undefined;
201
- } | null | undefined;
202
- }, {
203
- id: string;
204
- name: string;
205
- appKey: string;
206
- createdBy: {
207
- azureUniqueId: string;
208
- name: string;
209
- mail?: string | undefined;
210
- phoneNumber?: string | undefined;
211
- jobTitle?: string | undefined;
212
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
213
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
214
- };
215
- created: string;
216
- description?: string | undefined;
217
- isShared?: boolean | undefined;
218
- context?: {
219
- id: string;
220
- type?: string | null | undefined;
221
- name?: string | null | undefined;
222
- } | undefined;
223
- updatedBy?: {
224
- azureUniqueId: string;
225
- name: string;
226
- mail?: string | undefined;
227
- phoneNumber?: string | undefined;
228
- jobTitle?: string | undefined;
229
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
230
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
231
- } | undefined;
232
- updated?: string | undefined;
233
- sourceSystem?: {
234
- identifier: string;
235
- name?: string | null | undefined;
236
- subSystem?: string | null | undefined;
237
- } | null | undefined;
238
- }>, z.ZodObject<{
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
- }, "strip", z.ZodTypeAny, {
241
- payload?: any;
242
- }, {
243
- payload?: string | Record<string, unknown> | undefined;
244
- }>>;
83
+ }, z.core.$strip>>>;
84
+ }, z.core.$strip>, z.ZodObject<{
85
+ payload: z.ZodOptional<z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, z.ZodTransform<any, string | Record<string, unknown>>>>;
86
+ }, z.core.$strip>>;
245
87
  };
246
88
  /** Defines the expected output from the api. */
247
89
  type ApiResponse<TVersion extends AllowedVersions> = z.infer<(typeof ApiResponseSchema)[ExtractApiVersion<TVersion>]>;
@@ -19,40 +19,8 @@ declare const ArgSchema: {
19
19
  identifier: z.ZodString;
20
20
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, "strip", z.ZodTypeAny, {
23
- identifier: string;
24
- name?: string | null | undefined;
25
- subSystem?: string | null | undefined;
26
- }, {
27
- identifier: string;
28
- name?: string | null | undefined;
29
- subSystem?: string | null | undefined;
30
- }>>>;
31
- }, "strip", z.ZodTypeAny, {
32
- name: string;
33
- appKey: string;
34
- description?: string | null | undefined;
35
- isShared?: boolean | null | undefined;
36
- sourceSystem?: {
37
- identifier: string;
38
- name?: string | null | undefined;
39
- subSystem?: string | null | undefined;
40
- } | null | undefined;
41
- contextId?: string | null | undefined;
42
- payload?: string | Record<string, unknown> | undefined;
43
- }, {
44
- name: string;
45
- appKey: string;
46
- description?: string | null | undefined;
47
- isShared?: boolean | null | undefined;
48
- sourceSystem?: {
49
- identifier: string;
50
- name?: string | null | undefined;
51
- subSystem?: string | null | undefined;
52
- } | null | undefined;
53
- contextId?: string | null | undefined;
54
- payload?: string | Record<string, unknown> | undefined;
55
- }>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>;
56
24
  };
57
25
  /** Schema for the response from the API. */
58
26
  declare const ApiResponseSchema: {
@@ -66,159 +34,55 @@ declare const ApiResponseSchema: {
66
34
  id: z.ZodString;
67
35
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
36
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- }, "strip", z.ZodTypeAny, {
70
- id: string;
71
- type?: string | null | undefined;
72
- name?: string | null | undefined;
73
- }, {
74
- id: string;
75
- type?: string | null | undefined;
76
- name?: string | null | undefined;
77
- }>>;
37
+ }, z.core.$strip>>;
78
38
  createdBy: z.ZodObject<{
79
39
  azureUniqueId: z.ZodString;
80
40
  name: z.ZodString;
81
41
  mail: z.ZodOptional<z.ZodString>;
82
42
  phoneNumber: z.ZodOptional<z.ZodString>;
83
43
  jobTitle: z.ZodOptional<z.ZodString>;
84
- accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
85
- accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
86
- }, "strip", z.ZodTypeAny, {
87
- azureUniqueId: string;
88
- name: string;
89
- mail?: string | undefined;
90
- phoneNumber?: string | undefined;
91
- jobTitle?: string | undefined;
92
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
93
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
94
- }, {
95
- azureUniqueId: string;
96
- name: string;
97
- mail?: string | undefined;
98
- phoneNumber?: string | undefined;
99
- jobTitle?: string | undefined;
100
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
101
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
102
- }>;
44
+ accountType: z.ZodOptional<z.ZodEnum<{
45
+ Employee: "Employee";
46
+ Consultant: "Consultant";
47
+ External: "External";
48
+ Application: "Application";
49
+ Local: "Local";
50
+ }>>;
51
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
52
+ External: "External";
53
+ Unclassified: "Unclassified";
54
+ Internal: "Internal";
55
+ }>>>;
56
+ }, z.core.$strip>;
103
57
  updatedBy: z.ZodOptional<z.ZodObject<{
104
58
  azureUniqueId: z.ZodString;
105
59
  name: z.ZodString;
106
60
  mail: z.ZodOptional<z.ZodString>;
107
61
  phoneNumber: z.ZodOptional<z.ZodString>;
108
62
  jobTitle: z.ZodOptional<z.ZodString>;
109
- accountType: z.ZodOptional<z.ZodEnum<["Employee", "Consultant", "External", "Application", "Local"]>>;
110
- accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Unclassified", "Internal", "External"]>>>;
111
- }, "strip", z.ZodTypeAny, {
112
- azureUniqueId: string;
113
- name: string;
114
- mail?: string | undefined;
115
- phoneNumber?: string | undefined;
116
- jobTitle?: string | undefined;
117
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
118
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
119
- }, {
120
- azureUniqueId: string;
121
- name: string;
122
- mail?: string | undefined;
123
- phoneNumber?: string | undefined;
124
- jobTitle?: string | undefined;
125
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
126
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
127
- }>>;
128
- created: z.ZodEffects<z.ZodString, Date, string>;
129
- updated: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
63
+ accountType: z.ZodOptional<z.ZodEnum<{
64
+ Employee: "Employee";
65
+ Consultant: "Consultant";
66
+ External: "External";
67
+ Application: "Application";
68
+ Local: "Local";
69
+ }>>;
70
+ accountClassification: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
71
+ External: "External";
72
+ Unclassified: "Unclassified";
73
+ Internal: "Internal";
74
+ }>>>;
75
+ }, z.core.$strip>>;
76
+ created: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
77
+ updated: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>;
130
78
  sourceSystem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
131
79
  identifier: z.ZodString;
132
80
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
81
  subSystem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
- }, "strip", z.ZodTypeAny, {
135
- identifier: string;
136
- name?: string | null | undefined;
137
- subSystem?: string | null | undefined;
138
- }, {
139
- identifier: string;
140
- name?: string | null | undefined;
141
- subSystem?: string | null | undefined;
142
- }>>>;
143
- }, "strip", z.ZodTypeAny, {
144
- id: string;
145
- name: string;
146
- appKey: string;
147
- createdBy: {
148
- azureUniqueId: string;
149
- name: string;
150
- mail?: string | undefined;
151
- phoneNumber?: string | undefined;
152
- jobTitle?: string | undefined;
153
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
154
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
155
- };
156
- created: Date;
157
- description?: string | undefined;
158
- isShared?: boolean | undefined;
159
- context?: {
160
- id: string;
161
- type?: string | null | undefined;
162
- name?: string | null | undefined;
163
- } | undefined;
164
- updatedBy?: {
165
- azureUniqueId: string;
166
- name: string;
167
- mail?: string | undefined;
168
- phoneNumber?: string | undefined;
169
- jobTitle?: string | undefined;
170
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
171
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
172
- } | undefined;
173
- updated?: Date | undefined;
174
- sourceSystem?: {
175
- identifier: string;
176
- name?: string | null | undefined;
177
- subSystem?: string | null | undefined;
178
- } | null | undefined;
179
- }, {
180
- id: string;
181
- name: string;
182
- appKey: string;
183
- createdBy: {
184
- azureUniqueId: string;
185
- name: string;
186
- mail?: string | undefined;
187
- phoneNumber?: string | undefined;
188
- jobTitle?: string | undefined;
189
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
190
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
191
- };
192
- created: string;
193
- description?: string | undefined;
194
- isShared?: boolean | undefined;
195
- context?: {
196
- id: string;
197
- type?: string | null | undefined;
198
- name?: string | null | undefined;
199
- } | undefined;
200
- updatedBy?: {
201
- azureUniqueId: string;
202
- name: string;
203
- mail?: string | undefined;
204
- phoneNumber?: string | undefined;
205
- jobTitle?: string | undefined;
206
- accountType?: "Employee" | "Consultant" | "External" | "Application" | "Local" | undefined;
207
- accountClassification?: "External" | "Unclassified" | "Internal" | null | undefined;
208
- } | undefined;
209
- updated?: string | undefined;
210
- sourceSystem?: {
211
- identifier: string;
212
- name?: string | null | undefined;
213
- subSystem?: string | null | undefined;
214
- } | null | undefined;
215
- }>, z.ZodObject<{
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
- }, "strip", z.ZodTypeAny, {
218
- payload?: any;
219
- }, {
220
- payload?: string | Record<string, unknown> | undefined;
221
- }>>;
82
+ }, z.core.$strip>>>;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ payload: z.ZodOptional<z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>>>, z.ZodTransform<any, string | Record<string, unknown>>>>;
85
+ }, z.core.$strip>>;
222
86
  };
223
87
  /** Defines the expected output from the api. */
224
88
  type ApiResponse<TVersion extends AllowedVersions> = z.infer<(typeof ApiResponseSchema)[ExtractApiVersion<TVersion>]>;
@@ -10,11 +10,7 @@ type AllowedVersions = FilterAllowedApiVersions<AvailableVersions>;
10
10
  declare const ArgSchema: {
11
11
  "1.0": z.ZodObject<{
12
12
  bookmarkId: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- bookmarkId: string;
15
- }, {
16
- bookmarkId: string;
17
- }>;
13
+ }, z.core.$strip>;
18
14
  };
19
15
  /** Schema for the response from the API. */
20
16
  declare const ApiResponseSchema: {
@@ -10,11 +10,7 @@ type AllowedVersions = FilterAllowedApiVersions<AvailableVersions>;
10
10
  declare const ArgSchema: {
11
11
  "1.0": z.ZodObject<{
12
12
  bookmarkId: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- bookmarkId: string;
15
- }, {
16
- bookmarkId: string;
17
- }>;
13
+ }, z.core.$strip>;
18
14
  };
19
15
  /** Schema for the response from the API. */
20
16
  declare const ApiResponseSchema: {
@@ -10,11 +10,7 @@ type AllowedVersions = FilterAllowedApiVersions<AvailableVersions>;
10
10
  declare const ArgSchema: {
11
11
  "1.0": z.ZodObject<{
12
12
  bookmarkId: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- bookmarkId: string;
15
- }, {
16
- bookmarkId: string;
17
- }>;
13
+ }, z.core.$strip>;
18
14
  };
19
15
  /** Schema for the response from the API. */
20
16
  declare const ApiResponseSchema: {