@automate.ax/integration-contracts 0.130.0 → 0.130.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.
- package/dist/apify/index.d.ts +16 -16
- package/dist/apify/schemas.d.ts +2 -2
- package/dist/apify/schemas.js +4 -4
- package/package.json +2 -2
- package/src/apify/schemas.ts +4 -4
package/dist/apify/index.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ declare const APIFY_BUILD_EVENT_SCHEMA: z.ZodObject<{
|
|
|
104
104
|
startedAt: z.ZodISODateTime;
|
|
105
105
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
106
106
|
computeUnits: z.ZodNumber;
|
|
107
|
-
durationMillis: z.ZodNumber
|
|
108
|
-
runTimeSecs: z.ZodNumber
|
|
107
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
109
109
|
}, z.core.$strip>>>;
|
|
110
110
|
status: z.ZodEnum<{
|
|
111
111
|
READY: "READY";
|
|
@@ -212,8 +212,8 @@ export declare const APIFY_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
212
212
|
startedAt: z.ZodISODateTime;
|
|
213
213
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
214
214
|
computeUnits: z.ZodNumber;
|
|
215
|
-
durationMillis: z.ZodNumber
|
|
216
|
-
runTimeSecs: z.ZodNumber
|
|
215
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
217
217
|
}, z.core.$strip>>>;
|
|
218
218
|
status: z.ZodEnum<{
|
|
219
219
|
READY: "READY";
|
|
@@ -308,8 +308,8 @@ export declare const apifyTriggerContracts: {
|
|
|
308
308
|
startedAt: z.ZodISODateTime;
|
|
309
309
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
310
310
|
computeUnits: z.ZodNumber;
|
|
311
|
-
durationMillis: z.ZodNumber
|
|
312
|
-
runTimeSecs: z.ZodNumber
|
|
311
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
313
313
|
}, z.core.$strip>>>;
|
|
314
314
|
status: z.ZodEnum<{
|
|
315
315
|
READY: "READY";
|
|
@@ -361,8 +361,8 @@ export declare const apifyTriggerContracts: {
|
|
|
361
361
|
startedAt: z.ZodISODateTime;
|
|
362
362
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
363
363
|
computeUnits: z.ZodNumber;
|
|
364
|
-
durationMillis: z.ZodNumber
|
|
365
|
-
runTimeSecs: z.ZodNumber
|
|
364
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
366
366
|
}, z.core.$strip>>>;
|
|
367
367
|
status: z.ZodEnum<{
|
|
368
368
|
READY: "READY";
|
|
@@ -414,8 +414,8 @@ export declare const apifyTriggerContracts: {
|
|
|
414
414
|
startedAt: z.ZodISODateTime;
|
|
415
415
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
416
416
|
computeUnits: z.ZodNumber;
|
|
417
|
-
durationMillis: z.ZodNumber
|
|
418
|
-
runTimeSecs: z.ZodNumber
|
|
417
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
419
419
|
}, z.core.$strip>>>;
|
|
420
420
|
status: z.ZodEnum<{
|
|
421
421
|
READY: "READY";
|
|
@@ -467,8 +467,8 @@ export declare const apifyTriggerContracts: {
|
|
|
467
467
|
startedAt: z.ZodISODateTime;
|
|
468
468
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
469
469
|
computeUnits: z.ZodNumber;
|
|
470
|
-
durationMillis: z.ZodNumber
|
|
471
|
-
runTimeSecs: z.ZodNumber
|
|
470
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
472
472
|
}, z.core.$strip>>>;
|
|
473
473
|
status: z.ZodEnum<{
|
|
474
474
|
READY: "READY";
|
|
@@ -520,8 +520,8 @@ export declare const apifyTriggerContracts: {
|
|
|
520
520
|
startedAt: z.ZodISODateTime;
|
|
521
521
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
522
522
|
computeUnits: z.ZodNumber;
|
|
523
|
-
durationMillis: z.ZodNumber
|
|
524
|
-
runTimeSecs: z.ZodNumber
|
|
523
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
525
525
|
}, z.core.$strip>>>;
|
|
526
526
|
status: z.ZodEnum<{
|
|
527
527
|
READY: "READY";
|
|
@@ -573,8 +573,8 @@ export declare const apifyTriggerContracts: {
|
|
|
573
573
|
startedAt: z.ZodISODateTime;
|
|
574
574
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
575
575
|
computeUnits: z.ZodNumber;
|
|
576
|
-
durationMillis: z.ZodNumber
|
|
577
|
-
runTimeSecs: z.ZodNumber
|
|
576
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
577
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
578
578
|
}, z.core.$strip>>>;
|
|
579
579
|
status: z.ZodEnum<{
|
|
580
580
|
READY: "READY";
|
package/dist/apify/schemas.d.ts
CHANGED
|
@@ -70,8 +70,8 @@ export declare const APIFY_BUILD_SCHEMA: z.ZodObject<{
|
|
|
70
70
|
startedAt: z.ZodISODateTime;
|
|
71
71
|
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
72
72
|
computeUnits: z.ZodNumber;
|
|
73
|
-
durationMillis: z.ZodNumber
|
|
74
|
-
runTimeSecs: z.ZodNumber
|
|
73
|
+
durationMillis: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
runTimeSecs: z.ZodOptional<z.ZodNumber>;
|
|
75
75
|
}, z.core.$strip>>>;
|
|
76
76
|
status: z.ZodEnum<{
|
|
77
77
|
READY: "READY";
|
package/dist/apify/schemas.js
CHANGED
|
@@ -37,8 +37,8 @@ const APIFY_BUILD_OPTIONS_SCHEMA = z.looseObject({
|
|
|
37
37
|
});
|
|
38
38
|
const APIFY_BUILD_STATS_SCHEMA = z.looseObject({
|
|
39
39
|
computeUnits: z.number().nonnegative(),
|
|
40
|
-
durationMillis: z.number().int().nonnegative(),
|
|
41
|
-
runTimeSecs: z.number().nonnegative(),
|
|
40
|
+
durationMillis: z.number().int().nonnegative().optional(),
|
|
41
|
+
runTimeSecs: z.number().nonnegative().optional(),
|
|
42
42
|
});
|
|
43
43
|
const APIFY_RUN_WIRE_SCHEMA = z.looseObject({
|
|
44
44
|
actId: z.string(),
|
|
@@ -131,8 +131,8 @@ export const APIFY_BUILD_SCHEMA = z.object({
|
|
|
131
131
|
stats: z
|
|
132
132
|
.object({
|
|
133
133
|
computeUnits: z.number().nonnegative(),
|
|
134
|
-
durationMillis: z.number().int().nonnegative(),
|
|
135
|
-
runTimeSecs: z.number().nonnegative(),
|
|
134
|
+
durationMillis: z.number().int().nonnegative().optional(),
|
|
135
|
+
runTimeSecs: z.number().nonnegative().optional(),
|
|
136
136
|
})
|
|
137
137
|
.nullable()
|
|
138
138
|
.optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.130.
|
|
3
|
+
"version": "0.130.1",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@automate.ax/codec": "0.130.
|
|
62
|
+
"@automate.ax/codec": "0.130.1",
|
|
63
63
|
"@cfworker/json-schema": "^4.1.1",
|
|
64
64
|
"@googleapis/calendar": "^15.0.0",
|
|
65
65
|
"@googleapis/forms": "^6.0.1",
|
package/src/apify/schemas.ts
CHANGED
|
@@ -39,8 +39,8 @@ const APIFY_BUILD_OPTIONS_SCHEMA = z.looseObject({
|
|
|
39
39
|
})
|
|
40
40
|
const APIFY_BUILD_STATS_SCHEMA = z.looseObject({
|
|
41
41
|
computeUnits: z.number().nonnegative(),
|
|
42
|
-
durationMillis: z.number().int().nonnegative(),
|
|
43
|
-
runTimeSecs: z.number().nonnegative(),
|
|
42
|
+
durationMillis: z.number().int().nonnegative().optional(),
|
|
43
|
+
runTimeSecs: z.number().nonnegative().optional(),
|
|
44
44
|
})
|
|
45
45
|
|
|
46
46
|
const APIFY_RUN_WIRE_SCHEMA = z.looseObject({
|
|
@@ -137,8 +137,8 @@ export const APIFY_BUILD_SCHEMA = z.object({
|
|
|
137
137
|
stats: z
|
|
138
138
|
.object({
|
|
139
139
|
computeUnits: z.number().nonnegative(),
|
|
140
|
-
durationMillis: z.number().int().nonnegative(),
|
|
141
|
-
runTimeSecs: z.number().nonnegative(),
|
|
140
|
+
durationMillis: z.number().int().nonnegative().optional(),
|
|
141
|
+
runTimeSecs: z.number().nonnegative().optional(),
|
|
142
142
|
})
|
|
143
143
|
.nullable()
|
|
144
144
|
.optional(),
|