@automate.ax/integration-contracts 0.127.2 → 0.128.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.
@@ -228,7 +228,7 @@ export declare const AXIOM_DATASET_SCHEMA: z.ZodObject<{
228
228
  "otel:metrics:v1": "otel:metrics:v1";
229
229
  "otel:traces:v1": "otel:traces:v1";
230
230
  }>;
231
- mapFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
+ mapFields: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[], string[] | null | undefined>>;
232
232
  name: z.ZodString;
233
233
  retentionDays: z.ZodOptional<z.ZodNumber>;
234
234
  sharedByOrg: z.ZodOptional<z.ZodString>;
@@ -184,7 +184,11 @@ export const AXIOM_DATASET_SCHEMA = z
184
184
  edgeDeploymentUrl: z.string().optional(),
185
185
  id: AXIOM_ID_SCHEMA,
186
186
  kind: AXIOM_DATASET_KIND_SCHEMA,
187
- mapFields: z.string().array().optional(),
187
+ mapFields: z
188
+ .string()
189
+ .array()
190
+ .nullish()
191
+ .transform((value) => value ?? []),
188
192
  name: AXIOM_ID_SCHEMA,
189
193
  retentionDays: z.number().int().nonnegative().optional(),
190
194
  sharedByOrg: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.127.2",
3
+ "version": "0.128.0",
4
4
  "description": "Shared integration payload contracts and provider primitives for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -58,7 +58,7 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@automate.ax/codec": "0.127.2",
61
+ "@automate.ax/codec": "0.128.0",
62
62
  "@cfworker/json-schema": "^4.1.1",
63
63
  "@googleapis/calendar": "^15.0.0",
64
64
  "@googleapis/forms": "^6.0.1",
@@ -203,7 +203,11 @@ export const AXIOM_DATASET_SCHEMA = z
203
203
  edgeDeploymentUrl: z.string().optional(),
204
204
  id: AXIOM_ID_SCHEMA,
205
205
  kind: AXIOM_DATASET_KIND_SCHEMA,
206
- mapFields: z.string().array().optional(),
206
+ mapFields: z
207
+ .string()
208
+ .array()
209
+ .nullish()
210
+ .transform((value) => value ?? []),
207
211
  name: AXIOM_ID_SCHEMA,
208
212
  retentionDays: z.number().int().nonnegative().optional(),
209
213
  sharedByOrg: z.string().optional(),