@automate.ax/integration-contracts 0.126.0 → 0.127.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.
- package/dist/axiom/api.d.ts +60 -0
- package/dist/axiom/api.js +192 -0
- package/dist/axiom/events.d.ts +104 -0
- package/dist/axiom/events.js +25 -0
- package/dist/axiom/index.d.ts +3 -0
- package/dist/axiom/index.js +3 -0
- package/dist/axiom/schemas.d.ts +1520 -0
- package/dist/axiom/schemas.js +580 -0
- package/dist/brevo/index.d.ts +2 -2
- package/dist/brevo/schemas.d.ts +3 -3
- package/dist/close/events.d.ts +9 -9
- package/dist/close/schemas.d.ts +3 -3
- package/dist/cloudflare/schemas.d.ts +4 -4
- package/dist/convex/index.d.ts +8 -8
- package/dist/convex/schemas.d.ts +4 -4
- package/dist/gmail/schemas.d.ts +3 -3
- package/dist/google-calendar/schemas.d.ts +2 -2
- package/dist/google-drive/index.d.ts +3 -3
- package/dist/google-forms/event-schemas.d.ts +2 -2
- package/dist/google-forms/google-forms.d.ts +4 -4
- package/dist/google-forms/index.d.ts +2 -2
- package/dist/google-forms/schemas.d.ts +7 -7
- package/dist/hubspot/events.d.ts +3 -3
- package/dist/linear/schemas.d.ts +12 -12
- package/dist/notion/schemas.d.ts +6 -6
- package/dist/outlook/index.d.ts +9 -9
- package/dist/outlook/schemas.d.ts +6 -6
- package/dist/trello/schemas.d.ts +2 -2
- package/dist/triggers.d.ts +2 -1
- package/dist/whatsapp/index.d.ts +4 -4
- package/dist/whatsapp/schemas.d.ts +8 -8
- package/package.json +8 -2
- package/src/axiom/api.ts +252 -0
- package/src/axiom/events.ts +31 -0
- package/src/axiom/index.ts +3 -0
- package/src/axiom/schemas.ts +614 -0
- package/src/triggers.ts +2 -0
package/dist/close/events.d.ts
CHANGED
|
@@ -121,9 +121,9 @@ export declare const closeTriggerContracts: {
|
|
|
121
121
|
}>>;
|
|
122
122
|
status: z.ZodOptional<z.ZodEnum<{
|
|
123
123
|
failed: "failed";
|
|
124
|
+
created: "created";
|
|
124
125
|
completed: "completed";
|
|
125
126
|
timeout: "timeout";
|
|
126
|
-
created: "created";
|
|
127
127
|
busy: "busy";
|
|
128
128
|
cancel: "cancel";
|
|
129
129
|
"in-progress": "in-progress";
|
|
@@ -194,9 +194,9 @@ export declare const closeTriggerContracts: {
|
|
|
194
194
|
}>>;
|
|
195
195
|
status: z.ZodOptional<z.ZodEnum<{
|
|
196
196
|
failed: "failed";
|
|
197
|
+
created: "created";
|
|
197
198
|
completed: "completed";
|
|
198
199
|
timeout: "timeout";
|
|
199
|
-
created: "created";
|
|
200
200
|
busy: "busy";
|
|
201
201
|
cancel: "cancel";
|
|
202
202
|
"in-progress": "in-progress";
|
|
@@ -1686,8 +1686,8 @@ export declare const closeTriggerContracts: {
|
|
|
1686
1686
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1687
1687
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1688
1688
|
error: "error";
|
|
1689
|
-
paused: "paused";
|
|
1690
1689
|
active: "active";
|
|
1690
|
+
paused: "paused";
|
|
1691
1691
|
finished: "finished";
|
|
1692
1692
|
goal: "goal";
|
|
1693
1693
|
}>>;
|
|
@@ -1750,8 +1750,8 @@ export declare const closeTriggerContracts: {
|
|
|
1750
1750
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1751
1751
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1752
1752
|
error: "error";
|
|
1753
|
-
paused: "paused";
|
|
1754
1753
|
active: "active";
|
|
1754
|
+
paused: "paused";
|
|
1755
1755
|
finished: "finished";
|
|
1756
1756
|
goal: "goal";
|
|
1757
1757
|
}>>;
|
|
@@ -1794,8 +1794,8 @@ export declare const closeTriggerContracts: {
|
|
|
1794
1794
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1795
1795
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1796
1796
|
error: "error";
|
|
1797
|
-
paused: "paused";
|
|
1798
1797
|
active: "active";
|
|
1798
|
+
paused: "paused";
|
|
1799
1799
|
finished: "finished";
|
|
1800
1800
|
goal: "goal";
|
|
1801
1801
|
}>>;
|
|
@@ -1838,8 +1838,8 @@ export declare const closeTriggerContracts: {
|
|
|
1838
1838
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1839
1839
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1840
1840
|
error: "error";
|
|
1841
|
-
paused: "paused";
|
|
1842
1841
|
active: "active";
|
|
1842
|
+
paused: "paused";
|
|
1843
1843
|
finished: "finished";
|
|
1844
1844
|
goal: "goal";
|
|
1845
1845
|
}>>;
|
|
@@ -1882,8 +1882,8 @@ export declare const closeTriggerContracts: {
|
|
|
1882
1882
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1883
1883
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1884
1884
|
error: "error";
|
|
1885
|
-
paused: "paused";
|
|
1886
1885
|
active: "active";
|
|
1886
|
+
paused: "paused";
|
|
1887
1887
|
finished: "finished";
|
|
1888
1888
|
goal: "goal";
|
|
1889
1889
|
}>>;
|
|
@@ -1926,8 +1926,8 @@ export declare const closeTriggerContracts: {
|
|
|
1926
1926
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1927
1927
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1928
1928
|
error: "error";
|
|
1929
|
-
paused: "paused";
|
|
1930
1929
|
active: "active";
|
|
1930
|
+
paused: "paused";
|
|
1931
1931
|
finished: "finished";
|
|
1932
1932
|
goal: "goal";
|
|
1933
1933
|
}>>;
|
|
@@ -1970,8 +1970,8 @@ export declare const closeTriggerContracts: {
|
|
|
1970
1970
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>>;
|
|
1971
1971
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1972
1972
|
error: "error";
|
|
1973
|
-
paused: "paused";
|
|
1974
1973
|
active: "active";
|
|
1974
|
+
paused: "paused";
|
|
1975
1975
|
finished: "finished";
|
|
1976
1976
|
goal: "goal";
|
|
1977
1977
|
}>>;
|
package/dist/close/schemas.d.ts
CHANGED
|
@@ -837,9 +837,9 @@ export declare const CLOSE_CALL_SCHEMA: z.ZodObject<{
|
|
|
837
837
|
}>;
|
|
838
838
|
status: z.ZodEnum<{
|
|
839
839
|
failed: "failed";
|
|
840
|
+
created: "created";
|
|
840
841
|
completed: "completed";
|
|
841
842
|
timeout: "timeout";
|
|
842
|
-
created: "created";
|
|
843
843
|
busy: "busy";
|
|
844
844
|
cancel: "cancel";
|
|
845
845
|
"in-progress": "in-progress";
|
|
@@ -1067,9 +1067,9 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1067
1067
|
}>;
|
|
1068
1068
|
status: z.ZodEnum<{
|
|
1069
1069
|
failed: "failed";
|
|
1070
|
+
created: "created";
|
|
1070
1071
|
completed: "completed";
|
|
1071
1072
|
timeout: "timeout";
|
|
1072
|
-
created: "created";
|
|
1073
1073
|
busy: "busy";
|
|
1074
1074
|
cancel: "cancel";
|
|
1075
1075
|
"in-progress": "in-progress";
|
|
@@ -1862,8 +1862,8 @@ export declare const CLOSE_SEQUENCE_SUBSCRIPTION_SCHEMA: z.ZodObject<{
|
|
|
1862
1862
|
startDate: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodString]>, z.ZodTransform<Date, string | Date>>>;
|
|
1863
1863
|
status: z.ZodEnum<{
|
|
1864
1864
|
error: "error";
|
|
1865
|
-
paused: "paused";
|
|
1866
1865
|
active: "active";
|
|
1866
|
+
paused: "paused";
|
|
1867
1867
|
finished: "finished";
|
|
1868
1868
|
goal: "goal";
|
|
1869
1869
|
}>;
|
|
@@ -360,8 +360,8 @@ export declare const CLOUDFLARE_NOTIFICATION_HISTORY_SCHEMA: z.ZodObject<{
|
|
|
360
360
|
mechanism: z.ZodOptional<z.ZodString>;
|
|
361
361
|
mechanismType: z.ZodOptional<z.ZodEnum<{
|
|
362
362
|
email: "email";
|
|
363
|
-
pagerduty: "pagerduty";
|
|
364
363
|
webhook: "webhook";
|
|
364
|
+
pagerduty: "pagerduty";
|
|
365
365
|
}>>;
|
|
366
366
|
name: z.ZodOptional<z.ZodString>;
|
|
367
367
|
policyId: z.ZodOptional<z.ZodString>;
|
|
@@ -377,13 +377,13 @@ export declare const CLOUDFLARE_NOTIFICATION_WEBHOOK_SCHEMA: z.ZodObject<{
|
|
|
377
377
|
lastSuccess: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
378
|
name: z.ZodOptional<z.ZodString>;
|
|
379
379
|
type: z.ZodOptional<z.ZodEnum<{
|
|
380
|
-
|
|
380
|
+
slack: "slack";
|
|
381
|
+
opsgenie: "opsgenie";
|
|
381
382
|
discord: "discord";
|
|
383
|
+
datadog: "datadog";
|
|
382
384
|
feishu: "feishu";
|
|
383
385
|
gchat: "gchat";
|
|
384
386
|
generic: "generic";
|
|
385
|
-
opsgenie: "opsgenie";
|
|
386
|
-
slack: "slack";
|
|
387
387
|
splunk: "splunk";
|
|
388
388
|
}>>;
|
|
389
389
|
url: z.ZodOptional<z.ZodString>;
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -18,9 +18,9 @@ export declare const convexTriggerContracts: {
|
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
readonly eventSchema: z.ZodObject<{
|
|
20
20
|
action: z.ZodEnum<{
|
|
21
|
-
deleted: "deleted";
|
|
22
|
-
updated: "updated";
|
|
23
21
|
created: "created";
|
|
22
|
+
updated: "updated";
|
|
23
|
+
deleted: "deleted";
|
|
24
24
|
}>;
|
|
25
25
|
component: z.ZodString;
|
|
26
26
|
document: z.ZodNullable<z.ZodObject<{
|
|
@@ -40,9 +40,9 @@ export declare const convexTriggerContracts: {
|
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
readonly eventSchema: z.ZodObject<{
|
|
42
42
|
action: z.ZodEnum<{
|
|
43
|
-
deleted: "deleted";
|
|
44
|
-
updated: "updated";
|
|
45
43
|
created: "created";
|
|
44
|
+
updated: "updated";
|
|
45
|
+
deleted: "deleted";
|
|
46
46
|
}>;
|
|
47
47
|
component: z.ZodString;
|
|
48
48
|
document: z.ZodNullable<z.ZodObject<{
|
|
@@ -62,9 +62,9 @@ export declare const convexTriggerContracts: {
|
|
|
62
62
|
}, z.core.$strip>;
|
|
63
63
|
readonly eventSchema: z.ZodObject<{
|
|
64
64
|
action: z.ZodEnum<{
|
|
65
|
-
deleted: "deleted";
|
|
66
|
-
updated: "updated";
|
|
67
65
|
created: "created";
|
|
66
|
+
updated: "updated";
|
|
67
|
+
deleted: "deleted";
|
|
68
68
|
}>;
|
|
69
69
|
component: z.ZodString;
|
|
70
70
|
document: z.ZodNullable<z.ZodObject<{
|
|
@@ -84,9 +84,9 @@ export declare const convexTriggerContracts: {
|
|
|
84
84
|
}, z.core.$strip>;
|
|
85
85
|
readonly eventSchema: z.ZodObject<{
|
|
86
86
|
action: z.ZodEnum<{
|
|
87
|
-
deleted: "deleted";
|
|
88
|
-
updated: "updated";
|
|
89
87
|
created: "created";
|
|
88
|
+
updated: "updated";
|
|
89
|
+
deleted: "deleted";
|
|
90
90
|
}>;
|
|
91
91
|
component: z.ZodString;
|
|
92
92
|
document: z.ZodNullable<z.ZodObject<{
|
package/dist/convex/schemas.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ export declare const CONVEX_DOCUMENT_SCHEMA: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$catchall<z.ZodOptional<z.ZodType<ConvexValue, unknown, z.core.$ZodTypeInternals<ConvexValue, unknown>>>>>;
|
|
11
11
|
export declare const CONVEX_DOCUMENT_EVENT_TYPES: readonly ["convex.document.event", "convex.document.created", "convex.document.updated", "convex.document.deleted"];
|
|
12
12
|
export declare const CONVEX_DOCUMENT_ACTION_SCHEMA: z.ZodEnum<{
|
|
13
|
-
deleted: "deleted";
|
|
14
|
-
updated: "updated";
|
|
15
13
|
created: "created";
|
|
14
|
+
updated: "updated";
|
|
15
|
+
deleted: "deleted";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const CONVEX_DOCUMENT_EVENT_SCHEMA: z.ZodObject<{
|
|
18
18
|
action: z.ZodEnum<{
|
|
19
|
-
deleted: "deleted";
|
|
20
|
-
updated: "updated";
|
|
21
19
|
created: "created";
|
|
20
|
+
updated: "updated";
|
|
21
|
+
deleted: "deleted";
|
|
22
22
|
}>;
|
|
23
23
|
component: z.ZodString;
|
|
24
24
|
document: z.ZodNullable<z.ZodObject<{
|
package/dist/gmail/schemas.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare const PRIORITY_SCHEMA: z.ZodEnum<{
|
|
3
3
|
high: "high";
|
|
4
|
-
normal: "normal";
|
|
5
4
|
low: "low";
|
|
5
|
+
normal: "normal";
|
|
6
6
|
}>;
|
|
7
7
|
export declare const LABEL_LIST_VISIBILITY_SCHEMA: z.ZodEnum<{
|
|
8
8
|
labelHide: "labelHide";
|
|
@@ -279,8 +279,8 @@ export declare const COMPOSE_OPTIONS_SCHEMA: z.ZodObject<{
|
|
|
279
279
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
280
280
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
281
281
|
high: "high";
|
|
282
|
-
normal: "normal";
|
|
283
282
|
low: "low";
|
|
283
|
+
normal: "normal";
|
|
284
284
|
}>>;
|
|
285
285
|
replyTo: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEmail, z.ZodObject<{
|
|
286
286
|
address: z.ZodString;
|
|
@@ -330,8 +330,8 @@ export declare const REPLY_OPTIONS_SCHEMA: z.ZodObject<{
|
|
|
330
330
|
html: z.ZodOptional<z.ZodString>;
|
|
331
331
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
332
332
|
high: "high";
|
|
333
|
-
normal: "normal";
|
|
334
333
|
low: "low";
|
|
334
|
+
normal: "normal";
|
|
335
335
|
}>>;
|
|
336
336
|
replyAll: z.ZodOptional<z.ZodBoolean>;
|
|
337
337
|
replyTo: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEmail, z.ZodObject<{
|
|
@@ -551,11 +551,11 @@ export declare const ACL_SCOPE_SCHEMA: z.ZodObject<{
|
|
|
551
551
|
export declare const ACL_RULE_SCHEMA: z.ZodObject<{
|
|
552
552
|
id: z.ZodString;
|
|
553
553
|
role: z.ZodEnum<{
|
|
554
|
+
owner: "owner";
|
|
554
555
|
none: "none";
|
|
555
556
|
freeBusyReader: "freeBusyReader";
|
|
556
557
|
reader: "reader";
|
|
557
558
|
writer: "writer";
|
|
558
|
-
owner: "owner";
|
|
559
559
|
}>;
|
|
560
560
|
scope: z.ZodObject<{
|
|
561
561
|
type: z.ZodEnum<{
|
|
@@ -571,11 +571,11 @@ export declare const ACL_PAGE_SCHEMA: z.ZodObject<{
|
|
|
571
571
|
rules: z.ZodArray<z.ZodObject<{
|
|
572
572
|
id: z.ZodString;
|
|
573
573
|
role: z.ZodEnum<{
|
|
574
|
+
owner: "owner";
|
|
574
575
|
none: "none";
|
|
575
576
|
freeBusyReader: "freeBusyReader";
|
|
576
577
|
reader: "reader";
|
|
577
578
|
writer: "writer";
|
|
578
|
-
owner: "owner";
|
|
579
579
|
}>;
|
|
580
580
|
scope: z.ZodObject<{
|
|
581
581
|
type: z.ZodEnum<{
|
|
@@ -41,10 +41,10 @@ export type GoogleDriveProviderEventType = (typeof GOOGLE_DRIVE_PROVIDER_EVENT_T
|
|
|
41
41
|
export declare const GOOGLE_DRIVE_EVENT_SCHEMA: z.ZodObject<{
|
|
42
42
|
action: z.ZodEnum<{
|
|
43
43
|
cancelled: "cancelled";
|
|
44
|
+
created: "created";
|
|
44
45
|
completed: "completed";
|
|
45
46
|
deleted: "deleted";
|
|
46
47
|
moved: "moved";
|
|
47
|
-
created: "created";
|
|
48
48
|
contentChanged: "contentChanged";
|
|
49
49
|
edited: "edited";
|
|
50
50
|
reopened: "reopened";
|
|
@@ -955,10 +955,10 @@ export declare const googleDriveTriggerContracts: {
|
|
|
955
955
|
eventSchema: z.ZodObject<{
|
|
956
956
|
action: z.ZodEnum<{
|
|
957
957
|
cancelled: "cancelled";
|
|
958
|
+
created: "created";
|
|
958
959
|
completed: "completed";
|
|
959
960
|
deleted: "deleted";
|
|
960
961
|
moved: "moved";
|
|
961
|
-
created: "created";
|
|
962
962
|
contentChanged: "contentChanged";
|
|
963
963
|
edited: "edited";
|
|
964
964
|
reopened: "reopened";
|
|
@@ -1038,7 +1038,7 @@ export declare function toGoogleDriveTriggerType(providerEventType: string): Goo
|
|
|
1038
1038
|
* @param eventType - Stable internal semantic event type.
|
|
1039
1039
|
*/
|
|
1040
1040
|
export declare function parseGoogleDriveTriggerType(eventType: GoogleDriveTriggerType): {
|
|
1041
|
-
action: "cancelled" | "
|
|
1041
|
+
action: "cancelled" | "created" | "completed" | "deleted" | "moved" | "contentChanged" | "edited" | "reopened" | "renamed" | "reset" | "resolved" | "responded" | "reviewersChanged" | "trashed" | "untrashed";
|
|
1042
1042
|
resourceType: "file" | "reply" | "comment" | "accessProposal" | "approval" | "permission";
|
|
1043
1043
|
};
|
|
1044
1044
|
export {};
|
|
@@ -53,6 +53,7 @@ export declare const GOOGLE_FORMS_FORM_CHANGED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
53
53
|
type: z.ZodEnum<{
|
|
54
54
|
unknown: "unknown";
|
|
55
55
|
date: "date";
|
|
56
|
+
time: "time";
|
|
56
57
|
duration: "duration";
|
|
57
58
|
rating: "rating";
|
|
58
59
|
shortText: "shortText";
|
|
@@ -61,7 +62,6 @@ export declare const GOOGLE_FORMS_FORM_CHANGED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
61
62
|
checkbox: "checkbox";
|
|
62
63
|
dropdown: "dropdown";
|
|
63
64
|
scale: "scale";
|
|
64
|
-
time: "time";
|
|
65
65
|
fileUpload: "fileUpload";
|
|
66
66
|
gridRow: "gridRow";
|
|
67
67
|
}>;
|
|
@@ -69,9 +69,9 @@ export declare const GOOGLE_FORMS_FORM_CHANGED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
69
69
|
title: z.ZodString;
|
|
70
70
|
type: z.ZodEnum<{
|
|
71
71
|
unknown: "unknown";
|
|
72
|
-
text: "text";
|
|
73
72
|
image: "image";
|
|
74
73
|
video: "video";
|
|
74
|
+
text: "text";
|
|
75
75
|
question: "question";
|
|
76
76
|
grid: "grid";
|
|
77
77
|
pageBreak: "pageBreak";
|
|
@@ -40,7 +40,7 @@ export declare function normalizeForm(form: forms_v1.Schema$Form): {
|
|
|
40
40
|
choices: string[];
|
|
41
41
|
questionId: string;
|
|
42
42
|
required: boolean;
|
|
43
|
-
type: "unknown" | "date" | "duration" | "rating" | "shortText" | "paragraph" | "multipleChoice" | "checkbox" | "dropdown" | "scale" | "
|
|
43
|
+
type: "unknown" | "date" | "time" | "duration" | "rating" | "shortText" | "paragraph" | "multipleChoice" | "checkbox" | "dropdown" | "scale" | "fileUpload" | "gridRow";
|
|
44
44
|
date?: {
|
|
45
45
|
includeTime: boolean;
|
|
46
46
|
includeYear: boolean;
|
|
@@ -73,7 +73,7 @@ export declare function normalizeForm(form: forms_v1.Schema$Form): {
|
|
|
73
73
|
} | undefined;
|
|
74
74
|
}[];
|
|
75
75
|
title: string;
|
|
76
|
-
type: "unknown" | "
|
|
76
|
+
type: "unknown" | "image" | "video" | "text" | "question" | "grid" | "pageBreak";
|
|
77
77
|
description?: string | undefined;
|
|
78
78
|
}[];
|
|
79
79
|
settings: {
|
|
@@ -104,7 +104,7 @@ export declare function normalizeFormItem(item: forms_v1.Schema$Item, index: num
|
|
|
104
104
|
choices: string[];
|
|
105
105
|
questionId: string;
|
|
106
106
|
required: boolean;
|
|
107
|
-
type: "unknown" | "date" | "duration" | "rating" | "shortText" | "paragraph" | "multipleChoice" | "checkbox" | "dropdown" | "scale" | "
|
|
107
|
+
type: "unknown" | "date" | "time" | "duration" | "rating" | "shortText" | "paragraph" | "multipleChoice" | "checkbox" | "dropdown" | "scale" | "fileUpload" | "gridRow";
|
|
108
108
|
date?: {
|
|
109
109
|
includeTime: boolean;
|
|
110
110
|
includeYear: boolean;
|
|
@@ -137,7 +137,7 @@ export declare function normalizeFormItem(item: forms_v1.Schema$Item, index: num
|
|
|
137
137
|
} | undefined;
|
|
138
138
|
}[];
|
|
139
139
|
title: string;
|
|
140
|
-
type: "unknown" | "
|
|
140
|
+
type: "unknown" | "image" | "video" | "text" | "question" | "grid" | "pageBreak";
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
@@ -55,6 +55,7 @@ export declare const googleFormsTriggerContracts: {
|
|
|
55
55
|
type: z.ZodEnum<{
|
|
56
56
|
unknown: "unknown";
|
|
57
57
|
date: "date";
|
|
58
|
+
time: "time";
|
|
58
59
|
duration: "duration";
|
|
59
60
|
rating: "rating";
|
|
60
61
|
shortText: "shortText";
|
|
@@ -63,7 +64,6 @@ export declare const googleFormsTriggerContracts: {
|
|
|
63
64
|
checkbox: "checkbox";
|
|
64
65
|
dropdown: "dropdown";
|
|
65
66
|
scale: "scale";
|
|
66
|
-
time: "time";
|
|
67
67
|
fileUpload: "fileUpload";
|
|
68
68
|
gridRow: "gridRow";
|
|
69
69
|
}>;
|
|
@@ -71,9 +71,9 @@ export declare const googleFormsTriggerContracts: {
|
|
|
71
71
|
title: z.ZodString;
|
|
72
72
|
type: z.ZodEnum<{
|
|
73
73
|
unknown: "unknown";
|
|
74
|
-
text: "text";
|
|
75
74
|
image: "image";
|
|
76
75
|
video: "video";
|
|
76
|
+
text: "text";
|
|
77
77
|
question: "question";
|
|
78
78
|
grid: "grid";
|
|
79
79
|
pageBreak: "pageBreak";
|
|
@@ -275,6 +275,7 @@ export declare const NORMALIZED_QUESTION_SCHEMA: z.ZodObject<{
|
|
|
275
275
|
type: z.ZodEnum<{
|
|
276
276
|
unknown: "unknown";
|
|
277
277
|
date: "date";
|
|
278
|
+
time: "time";
|
|
278
279
|
duration: "duration";
|
|
279
280
|
rating: "rating";
|
|
280
281
|
shortText: "shortText";
|
|
@@ -283,7 +284,6 @@ export declare const NORMALIZED_QUESTION_SCHEMA: z.ZodObject<{
|
|
|
283
284
|
checkbox: "checkbox";
|
|
284
285
|
dropdown: "dropdown";
|
|
285
286
|
scale: "scale";
|
|
286
|
-
time: "time";
|
|
287
287
|
fileUpload: "fileUpload";
|
|
288
288
|
gridRow: "gridRow";
|
|
289
289
|
}>;
|
|
@@ -329,6 +329,7 @@ export declare const FORM_ITEM_SCHEMA: z.ZodObject<{
|
|
|
329
329
|
type: z.ZodEnum<{
|
|
330
330
|
unknown: "unknown";
|
|
331
331
|
date: "date";
|
|
332
|
+
time: "time";
|
|
332
333
|
duration: "duration";
|
|
333
334
|
rating: "rating";
|
|
334
335
|
shortText: "shortText";
|
|
@@ -337,7 +338,6 @@ export declare const FORM_ITEM_SCHEMA: z.ZodObject<{
|
|
|
337
338
|
checkbox: "checkbox";
|
|
338
339
|
dropdown: "dropdown";
|
|
339
340
|
scale: "scale";
|
|
340
|
-
time: "time";
|
|
341
341
|
fileUpload: "fileUpload";
|
|
342
342
|
gridRow: "gridRow";
|
|
343
343
|
}>;
|
|
@@ -345,9 +345,9 @@ export declare const FORM_ITEM_SCHEMA: z.ZodObject<{
|
|
|
345
345
|
title: z.ZodString;
|
|
346
346
|
type: z.ZodEnum<{
|
|
347
347
|
unknown: "unknown";
|
|
348
|
-
text: "text";
|
|
349
348
|
image: "image";
|
|
350
349
|
video: "video";
|
|
350
|
+
text: "text";
|
|
351
351
|
question: "question";
|
|
352
352
|
grid: "grid";
|
|
353
353
|
pageBreak: "pageBreak";
|
|
@@ -397,6 +397,7 @@ export declare const FORM_SCHEMA: z.ZodObject<{
|
|
|
397
397
|
type: z.ZodEnum<{
|
|
398
398
|
unknown: "unknown";
|
|
399
399
|
date: "date";
|
|
400
|
+
time: "time";
|
|
400
401
|
duration: "duration";
|
|
401
402
|
rating: "rating";
|
|
402
403
|
shortText: "shortText";
|
|
@@ -405,7 +406,6 @@ export declare const FORM_SCHEMA: z.ZodObject<{
|
|
|
405
406
|
checkbox: "checkbox";
|
|
406
407
|
dropdown: "dropdown";
|
|
407
408
|
scale: "scale";
|
|
408
|
-
time: "time";
|
|
409
409
|
fileUpload: "fileUpload";
|
|
410
410
|
gridRow: "gridRow";
|
|
411
411
|
}>;
|
|
@@ -413,9 +413,9 @@ export declare const FORM_SCHEMA: z.ZodObject<{
|
|
|
413
413
|
title: z.ZodString;
|
|
414
414
|
type: z.ZodEnum<{
|
|
415
415
|
unknown: "unknown";
|
|
416
|
-
text: "text";
|
|
417
416
|
image: "image";
|
|
418
417
|
video: "video";
|
|
418
|
+
text: "text";
|
|
419
419
|
question: "question";
|
|
420
420
|
grid: "grid";
|
|
421
421
|
pageBreak: "pageBreak";
|
|
@@ -566,6 +566,7 @@ export declare const FORM_BATCH_UPDATE_SCHEMA: z.ZodObject<{
|
|
|
566
566
|
type: z.ZodEnum<{
|
|
567
567
|
unknown: "unknown";
|
|
568
568
|
date: "date";
|
|
569
|
+
time: "time";
|
|
569
570
|
duration: "duration";
|
|
570
571
|
rating: "rating";
|
|
571
572
|
shortText: "shortText";
|
|
@@ -574,7 +575,6 @@ export declare const FORM_BATCH_UPDATE_SCHEMA: z.ZodObject<{
|
|
|
574
575
|
checkbox: "checkbox";
|
|
575
576
|
dropdown: "dropdown";
|
|
576
577
|
scale: "scale";
|
|
577
|
-
time: "time";
|
|
578
578
|
fileUpload: "fileUpload";
|
|
579
579
|
gridRow: "gridRow";
|
|
580
580
|
}>;
|
|
@@ -582,9 +582,9 @@ export declare const FORM_BATCH_UPDATE_SCHEMA: z.ZodObject<{
|
|
|
582
582
|
title: z.ZodString;
|
|
583
583
|
type: z.ZodEnum<{
|
|
584
584
|
unknown: "unknown";
|
|
585
|
-
text: "text";
|
|
586
585
|
image: "image";
|
|
587
586
|
video: "video";
|
|
587
|
+
text: "text";
|
|
588
588
|
question: "question";
|
|
589
589
|
grid: "grid";
|
|
590
590
|
pageBreak: "pageBreak";
|
package/dist/hubspot/events.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare const HUBSPOT_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
|
|
3
3
|
export declare const HUBSPOT_EVENT_ACTION_SCHEMA: z.ZodEnum<{
|
|
4
|
-
deleted: "deleted";
|
|
5
|
-
updated: "updated";
|
|
6
4
|
created: "created";
|
|
5
|
+
updated: "updated";
|
|
6
|
+
deleted: "deleted";
|
|
7
7
|
merged: "merged";
|
|
8
8
|
associationAdded: "associationAdded";
|
|
9
9
|
associationRemoved: "associationRemoved";
|
|
@@ -3525,4 +3525,4 @@ export declare const hubspotTriggerContracts: {
|
|
|
3525
3525
|
*
|
|
3526
3526
|
* @param event - Normalized HubSpot CRM event.
|
|
3527
3527
|
*/
|
|
3528
|
-
export declare function getHubSpotEventTypes(event: HubSpotCrmEvent): readonly ["hubspot.contact.
|
|
3528
|
+
export declare function getHubSpotEventTypes(event: HubSpotCrmEvent): readonly ["hubspot.contact.created" | "hubspot.contact.updated" | "hubspot.contact.deleted" | "hubspot.contact.merged" | "hubspot.contact.associationAdded" | "hubspot.contact.associationRemoved" | "hubspot.contact.restored" | "hubspot.company.created" | "hubspot.company.updated" | "hubspot.company.deleted" | "hubspot.company.merged" | "hubspot.company.associationAdded" | "hubspot.company.associationRemoved" | "hubspot.company.restored" | "hubspot.deal.created" | "hubspot.deal.updated" | "hubspot.deal.deleted" | "hubspot.deal.merged" | "hubspot.deal.associationAdded" | "hubspot.deal.associationRemoved" | "hubspot.deal.restored" | "hubspot.ticket.created" | "hubspot.ticket.updated" | "hubspot.ticket.deleted" | "hubspot.ticket.merged" | "hubspot.ticket.associationAdded" | "hubspot.ticket.associationRemoved" | "hubspot.ticket.restored", "hubspot.crm.event"];
|
package/dist/linear/schemas.d.ts
CHANGED
|
@@ -4404,12 +4404,12 @@ export declare const LINEAR_PROVIDER_PROJECT_SCHEMA: z.ZodObject<{
|
|
|
4404
4404
|
description: z.ZodString;
|
|
4405
4405
|
name: z.ZodString;
|
|
4406
4406
|
completedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
|
|
4407
|
-
color: z.ZodString;
|
|
4408
|
-
content: z.ZodNullable<z.ZodString>;
|
|
4409
|
-
priority: z.ZodNumber;
|
|
4410
4407
|
url: z.ZodString;
|
|
4408
|
+
priority: z.ZodNumber;
|
|
4411
4409
|
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
|
|
4412
4410
|
state: z.ZodString;
|
|
4411
|
+
color: z.ZodString;
|
|
4412
|
+
content: z.ZodNullable<z.ZodString>;
|
|
4413
4413
|
lead: z.ZodNullable<z.ZodObject<{
|
|
4414
4414
|
active: z.ZodBoolean;
|
|
4415
4415
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -4481,6 +4481,15 @@ export declare const LINEAR_PROVIDER_ISSUE_SCHEMA: z.ZodObject<{
|
|
|
4481
4481
|
url: z.ZodString;
|
|
4482
4482
|
}, z.core.$strip>>;
|
|
4483
4483
|
completedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
|
|
4484
|
+
url: z.ZodString;
|
|
4485
|
+
priority: z.ZodNumber;
|
|
4486
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
|
|
4487
|
+
state: z.ZodObject<{
|
|
4488
|
+
color: z.ZodString;
|
|
4489
|
+
id: z.ZodString;
|
|
4490
|
+
name: z.ZodString;
|
|
4491
|
+
type: z.ZodString;
|
|
4492
|
+
}, z.core.$strip>;
|
|
4484
4493
|
parent: z.ZodNullable<z.ZodObject<{
|
|
4485
4494
|
id: z.ZodString;
|
|
4486
4495
|
identifier: z.ZodString;
|
|
@@ -4501,15 +4510,6 @@ export declare const LINEAR_PROVIDER_ISSUE_SCHEMA: z.ZodObject<{
|
|
|
4501
4510
|
id: z.ZodString;
|
|
4502
4511
|
name: z.ZodString;
|
|
4503
4512
|
}, z.core.$strip>>;
|
|
4504
|
-
priority: z.ZodNumber;
|
|
4505
|
-
url: z.ZodString;
|
|
4506
|
-
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
|
|
4507
|
-
state: z.ZodObject<{
|
|
4508
|
-
color: z.ZodString;
|
|
4509
|
-
id: z.ZodString;
|
|
4510
|
-
name: z.ZodString;
|
|
4511
|
-
type: z.ZodString;
|
|
4512
|
-
}, z.core.$strip>;
|
|
4513
4513
|
dueDate: z.ZodNullable<z.ZodISODate>;
|
|
4514
4514
|
creator: z.ZodNullable<z.ZodObject<{
|
|
4515
4515
|
active: z.ZodBoolean;
|
package/dist/notion/schemas.d.ts
CHANGED
|
@@ -385,9 +385,9 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
385
385
|
}, z.core.$strip>;
|
|
386
386
|
updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
387
|
action: z.ZodEnum<{
|
|
388
|
-
deleted: "deleted";
|
|
389
|
-
updated: "updated";
|
|
390
388
|
created: "created";
|
|
389
|
+
updated: "updated";
|
|
390
|
+
deleted: "deleted";
|
|
391
391
|
}>;
|
|
392
392
|
id: z.ZodString;
|
|
393
393
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -1843,9 +1843,9 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
1843
1843
|
}, z.core.$strip>;
|
|
1844
1844
|
updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1845
1845
|
action: z.ZodEnum<{
|
|
1846
|
-
deleted: "deleted";
|
|
1847
|
-
updated: "updated";
|
|
1848
1846
|
created: "created";
|
|
1847
|
+
updated: "updated";
|
|
1848
|
+
deleted: "deleted";
|
|
1849
1849
|
}>;
|
|
1850
1850
|
id: z.ZodString;
|
|
1851
1851
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -3158,7 +3158,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
3158
3158
|
updatedProperties?: {
|
|
3159
3159
|
id: string;
|
|
3160
3160
|
name: string | null;
|
|
3161
|
-
action: "
|
|
3161
|
+
action: "created" | "updated" | "deleted";
|
|
3162
3162
|
}[] | undefined;
|
|
3163
3163
|
};
|
|
3164
3164
|
workspaceId: string;
|
|
@@ -4138,7 +4138,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
4138
4138
|
data_source_id?: string | undefined;
|
|
4139
4139
|
};
|
|
4140
4140
|
updated_properties?: {
|
|
4141
|
-
action: "
|
|
4141
|
+
action: "created" | "updated" | "deleted";
|
|
4142
4142
|
id: string;
|
|
4143
4143
|
name: string | null;
|
|
4144
4144
|
}[] | undefined;
|