@automate.ax/integration-contracts 0.92.1 → 0.93.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.
|
@@ -374,10 +374,13 @@ export declare const JOB_NIMBUS_WORKFLOW_STATUS_SCHEMA: z.ZodObject<{
|
|
|
374
374
|
id: z.ZodNumber;
|
|
375
375
|
isActive: z.ZodBoolean;
|
|
376
376
|
isArchived: z.ZodBoolean;
|
|
377
|
-
isClosed: z.ZodBoolean
|
|
378
|
-
isLead: z.ZodBoolean
|
|
377
|
+
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
378
|
+
isLead: z.ZodOptional<z.ZodBoolean>;
|
|
379
379
|
name: z.ZodString;
|
|
380
380
|
order: z.ZodNumber;
|
|
381
|
+
profileIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
382
|
+
sendToQuickbooks: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
381
384
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>;
|
|
382
385
|
export declare const JOB_NIMBUS_WORKFLOW_SCHEMA: z.ZodObject<{
|
|
383
386
|
id: z.ZodNumber;
|
|
@@ -393,10 +396,13 @@ export declare const JOB_NIMBUS_WORKFLOW_SCHEMA: z.ZodObject<{
|
|
|
393
396
|
id: z.ZodNumber;
|
|
394
397
|
isActive: z.ZodBoolean;
|
|
395
398
|
isArchived: z.ZodBoolean;
|
|
396
|
-
isClosed: z.ZodBoolean
|
|
397
|
-
isLead: z.ZodBoolean
|
|
399
|
+
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
400
|
+
isLead: z.ZodOptional<z.ZodBoolean>;
|
|
398
401
|
name: z.ZodString;
|
|
399
402
|
order: z.ZodNumber;
|
|
403
|
+
profileIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
404
|
+
sendToQuickbooks: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
400
406
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
401
407
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>;
|
|
402
408
|
export declare const JOB_NIMBUS_FILE_TYPE_SCHEMA: z.ZodObject<{
|
|
@@ -464,10 +470,13 @@ export declare const JOB_NIMBUS_ACCOUNT_SETTINGS_SCHEMA: z.ZodObject<{
|
|
|
464
470
|
id: z.ZodNumber;
|
|
465
471
|
isActive: z.ZodBoolean;
|
|
466
472
|
isArchived: z.ZodBoolean;
|
|
467
|
-
isClosed: z.ZodBoolean
|
|
468
|
-
isLead: z.ZodBoolean
|
|
473
|
+
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
474
|
+
isLead: z.ZodOptional<z.ZodBoolean>;
|
|
469
475
|
name: z.ZodString;
|
|
470
476
|
order: z.ZodNumber;
|
|
477
|
+
profileIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
478
|
+
sendToQuickbooks: z.ZodOptional<z.ZodBoolean>;
|
|
479
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
471
480
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
472
481
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>>;
|
|
473
482
|
}, z.core.$catchall<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>;
|
|
@@ -223,10 +223,13 @@ export const JOB_NIMBUS_WORKFLOW_STATUS_SCHEMA = z
|
|
|
223
223
|
id: z.number().int(),
|
|
224
224
|
isActive: z.boolean(),
|
|
225
225
|
isArchived: z.boolean(),
|
|
226
|
-
isClosed: z.boolean(),
|
|
227
|
-
isLead: z.boolean(),
|
|
226
|
+
isClosed: z.boolean().optional(),
|
|
227
|
+
isLead: z.boolean().optional(),
|
|
228
228
|
name: z.string(),
|
|
229
229
|
order: z.number().int(),
|
|
230
|
+
profileIds: z.number().int().array().optional(),
|
|
231
|
+
sendToQuickbooks: z.boolean().optional(),
|
|
232
|
+
stage: z.string().optional(),
|
|
230
233
|
})
|
|
231
234
|
.catchall(JOB_NIMBUS_VALUE_SCHEMA);
|
|
232
235
|
export const JOB_NIMBUS_WORKFLOW_SCHEMA = z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.93.1",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@automate.ax/codec": "0.
|
|
51
|
+
"@automate.ax/codec": "0.93.1",
|
|
52
52
|
"@cfworker/json-schema": "^4.1.1",
|
|
53
53
|
"@googleapis/calendar": "^15.0.0",
|
|
54
54
|
"@googleapis/forms": "^6.0.1",
|
package/src/jobnimbus/schemas.ts
CHANGED
|
@@ -256,10 +256,13 @@ export const JOB_NIMBUS_WORKFLOW_STATUS_SCHEMA = z
|
|
|
256
256
|
id: z.number().int(),
|
|
257
257
|
isActive: z.boolean(),
|
|
258
258
|
isArchived: z.boolean(),
|
|
259
|
-
isClosed: z.boolean(),
|
|
260
|
-
isLead: z.boolean(),
|
|
259
|
+
isClosed: z.boolean().optional(),
|
|
260
|
+
isLead: z.boolean().optional(),
|
|
261
261
|
name: z.string(),
|
|
262
262
|
order: z.number().int(),
|
|
263
|
+
profileIds: z.number().int().array().optional(),
|
|
264
|
+
sendToQuickbooks: z.boolean().optional(),
|
|
265
|
+
stage: z.string().optional(),
|
|
263
266
|
})
|
|
264
267
|
.catchall(JOB_NIMBUS_VALUE_SCHEMA)
|
|
265
268
|
|