@automate.ax/integration-contracts 0.88.0 → 0.88.2
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/close/events.d.ts
CHANGED
|
@@ -614,7 +614,7 @@ export declare const closeTriggerContracts: {
|
|
|
614
614
|
tzIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
615
615
|
zipcode: z.ZodNullable<z.ZodString>;
|
|
616
616
|
}, z.core.$strip>>>>;
|
|
617
|
-
contactIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
617
|
+
contactIds: z.ZodOptional<z.ZodPrefault<z.ZodArray<z.ZodString>>>;
|
|
618
618
|
createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>;
|
|
619
619
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
620
620
|
customFields: z.ZodOptional<z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
@@ -681,7 +681,7 @@ export declare const closeTriggerContracts: {
|
|
|
681
681
|
tzIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
682
682
|
zipcode: z.ZodNullable<z.ZodString>;
|
|
683
683
|
}, z.core.$strip>>>>;
|
|
684
|
-
contactIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
684
|
+
contactIds: z.ZodOptional<z.ZodPrefault<z.ZodArray<z.ZodString>>>;
|
|
685
685
|
createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>;
|
|
686
686
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
687
|
customFields: z.ZodOptional<z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
|
@@ -728,7 +728,7 @@ export declare const closeTriggerContracts: {
|
|
|
728
728
|
tzIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
729
729
|
zipcode: z.ZodNullable<z.ZodString>;
|
|
730
730
|
}, z.core.$strip>>>>;
|
|
731
|
-
contactIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
731
|
+
contactIds: z.ZodOptional<z.ZodPrefault<z.ZodArray<z.ZodString>>>;
|
|
732
732
|
createdAt: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>;
|
|
733
733
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
734
|
customFields: z.ZodOptional<z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
|
package/dist/close/schemas.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const CLOSE_LEAD_SCHEMA: z.ZodObject<{
|
|
|
38
38
|
tzIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
39
|
zipcode: z.ZodNullable<z.ZodString>;
|
|
40
40
|
}, z.core.$strip>>>;
|
|
41
|
-
contactIds: z.ZodArray<z.ZodString
|
|
41
|
+
contactIds: z.ZodPrefault<z.ZodArray<z.ZodString>>;
|
|
42
42
|
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>;
|
|
43
43
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
44
44
|
customFields: z.ZodPrefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
package/dist/close/schemas.js
CHANGED
|
@@ -39,7 +39,7 @@ export const CLOSE_CONTACT_URL_SCHEMA = z.object({
|
|
|
39
39
|
});
|
|
40
40
|
export const CLOSE_LEAD_SCHEMA = z.object({
|
|
41
41
|
addresses: CLOSE_ADDRESS_SCHEMA.array().prefault([]),
|
|
42
|
-
contactIds: z.string().array(),
|
|
42
|
+
contactIds: z.string().array().prefault([]),
|
|
43
43
|
createdAt: DATE_SCHEMA,
|
|
44
44
|
createdBy: z.string().nullable(),
|
|
45
45
|
customFields: z.record(z.string(), z.json()).prefault({}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.88.
|
|
3
|
+
"version": "0.88.2",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@automate.ax/codec": "0.88.
|
|
49
|
+
"@automate.ax/codec": "0.88.2",
|
|
50
50
|
"@googleapis/calendar": "^15.0.0",
|
|
51
51
|
"@googleapis/forms": "^6.0.1",
|
|
52
52
|
"@googleapis/gmail": "^12.0.0",
|
package/src/close/schemas.ts
CHANGED
|
@@ -45,7 +45,7 @@ export const CLOSE_CONTACT_URL_SCHEMA = z.object({
|
|
|
45
45
|
|
|
46
46
|
export const CLOSE_LEAD_SCHEMA = z.object({
|
|
47
47
|
addresses: CLOSE_ADDRESS_SCHEMA.array().prefault([]),
|
|
48
|
-
contactIds: z.string().array(),
|
|
48
|
+
contactIds: z.string().array().prefault([]),
|
|
49
49
|
createdAt: DATE_SCHEMA,
|
|
50
50
|
createdBy: z.string().nullable(),
|
|
51
51
|
customFields: z.record(z.string(), z.json()).prefault({}),
|