@automate.ax/api-contract 0.141.0 → 0.142.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/events/clickup.d.ts +8 -0
- package/dist/events/clickup.js +20 -0
- package/dist/events/index.d.ts +68 -63
- package/dist/events/index.js +2 -0
- package/dist/events/notion.d.ts +63 -63
- package/dist/index.d.ts +89 -63
- package/dist/runtime.d.ts +21 -0
- package/dist/runtime.js +20 -0
- package/package.json +4 -4
- package/src/events/clickup.ts +24 -0
- package/src/events/index.ts +2 -0
- package/src/runtime.ts +24 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export declare const clickUpEventsContract: {
|
|
3
|
+
clickUpEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4
|
+
event: z.ZodString;
|
|
5
|
+
sourceId: z.ZodString;
|
|
6
|
+
webhook_id: z.ZodString;
|
|
7
|
+
}, z.core.$loose>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { oc } from "@orpc/contract";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export const clickUpEventsContract = {
|
|
4
|
+
clickUpEvent: oc
|
|
5
|
+
.route({
|
|
6
|
+
description: "Receives and authenticates callbacks delivered by ClickUp webhooks.",
|
|
7
|
+
method: "POST",
|
|
8
|
+
operationId: "receiveClickUpEvent",
|
|
9
|
+
path: "/events/clickup/{sourceId}",
|
|
10
|
+
successStatus: 204,
|
|
11
|
+
summary: "Receive a ClickUp workspace event",
|
|
12
|
+
tags: ["Events"],
|
|
13
|
+
})
|
|
14
|
+
.input(z.looseObject({
|
|
15
|
+
event: z.string(),
|
|
16
|
+
sourceId: z.string(),
|
|
17
|
+
webhook_id: z.string(),
|
|
18
|
+
}))
|
|
19
|
+
.output(z.void()),
|
|
20
|
+
};
|
package/dist/events/index.d.ts
CHANGED
|
@@ -189,8 +189,8 @@ export declare const eventsContract: {
|
|
|
189
189
|
type: import("zod").ZodEnum<{
|
|
190
190
|
agent: "agent";
|
|
191
191
|
team: "team";
|
|
192
|
-
page: "page";
|
|
193
192
|
space: "space";
|
|
193
|
+
page: "page";
|
|
194
194
|
block: "block";
|
|
195
195
|
database: "database";
|
|
196
196
|
}>;
|
|
@@ -250,8 +250,8 @@ export declare const eventsContract: {
|
|
|
250
250
|
type: import("zod").ZodEnum<{
|
|
251
251
|
agent: "agent";
|
|
252
252
|
team: "team";
|
|
253
|
-
page: "page";
|
|
254
253
|
space: "space";
|
|
254
|
+
page: "page";
|
|
255
255
|
block: "block";
|
|
256
256
|
database: "database";
|
|
257
257
|
}>;
|
|
@@ -303,8 +303,8 @@ export declare const eventsContract: {
|
|
|
303
303
|
type: import("zod").ZodEnum<{
|
|
304
304
|
agent: "agent";
|
|
305
305
|
team: "team";
|
|
306
|
-
page: "page";
|
|
307
306
|
space: "space";
|
|
307
|
+
page: "page";
|
|
308
308
|
block: "block";
|
|
309
309
|
database: "database";
|
|
310
310
|
}>;
|
|
@@ -356,8 +356,8 @@ export declare const eventsContract: {
|
|
|
356
356
|
type: import("zod").ZodEnum<{
|
|
357
357
|
agent: "agent";
|
|
358
358
|
team: "team";
|
|
359
|
-
page: "page";
|
|
360
359
|
space: "space";
|
|
360
|
+
page: "page";
|
|
361
361
|
block: "block";
|
|
362
362
|
database: "database";
|
|
363
363
|
}>;
|
|
@@ -409,8 +409,8 @@ export declare const eventsContract: {
|
|
|
409
409
|
type: import("zod").ZodEnum<{
|
|
410
410
|
agent: "agent";
|
|
411
411
|
team: "team";
|
|
412
|
-
page: "page";
|
|
413
412
|
space: "space";
|
|
413
|
+
page: "page";
|
|
414
414
|
block: "block";
|
|
415
415
|
database: "database";
|
|
416
416
|
}>;
|
|
@@ -471,8 +471,8 @@ export declare const eventsContract: {
|
|
|
471
471
|
type: import("zod").ZodEnum<{
|
|
472
472
|
agent: "agent";
|
|
473
473
|
team: "team";
|
|
474
|
-
page: "page";
|
|
475
474
|
space: "space";
|
|
475
|
+
page: "page";
|
|
476
476
|
block: "block";
|
|
477
477
|
database: "database";
|
|
478
478
|
}>;
|
|
@@ -524,8 +524,8 @@ export declare const eventsContract: {
|
|
|
524
524
|
type: import("zod").ZodEnum<{
|
|
525
525
|
agent: "agent";
|
|
526
526
|
team: "team";
|
|
527
|
-
page: "page";
|
|
528
527
|
space: "space";
|
|
528
|
+
page: "page";
|
|
529
529
|
block: "block";
|
|
530
530
|
database: "database";
|
|
531
531
|
}>;
|
|
@@ -577,8 +577,8 @@ export declare const eventsContract: {
|
|
|
577
577
|
type: import("zod").ZodEnum<{
|
|
578
578
|
agent: "agent";
|
|
579
579
|
team: "team";
|
|
580
|
-
page: "page";
|
|
581
580
|
space: "space";
|
|
581
|
+
page: "page";
|
|
582
582
|
block: "block";
|
|
583
583
|
database: "database";
|
|
584
584
|
}>;
|
|
@@ -630,8 +630,8 @@ export declare const eventsContract: {
|
|
|
630
630
|
type: import("zod").ZodEnum<{
|
|
631
631
|
agent: "agent";
|
|
632
632
|
team: "team";
|
|
633
|
-
page: "page";
|
|
634
633
|
space: "space";
|
|
634
|
+
page: "page";
|
|
635
635
|
block: "block";
|
|
636
636
|
database: "database";
|
|
637
637
|
}>;
|
|
@@ -683,8 +683,8 @@ export declare const eventsContract: {
|
|
|
683
683
|
type: import("zod").ZodEnum<{
|
|
684
684
|
agent: "agent";
|
|
685
685
|
team: "team";
|
|
686
|
-
page: "page";
|
|
687
686
|
space: "space";
|
|
687
|
+
page: "page";
|
|
688
688
|
block: "block";
|
|
689
689
|
database: "database";
|
|
690
690
|
}>;
|
|
@@ -898,8 +898,8 @@ export declare const eventsContract: {
|
|
|
898
898
|
type: import("zod").ZodEnum<{
|
|
899
899
|
agent: "agent";
|
|
900
900
|
team: "team";
|
|
901
|
-
page: "page";
|
|
902
901
|
space: "space";
|
|
902
|
+
page: "page";
|
|
903
903
|
block: "block";
|
|
904
904
|
database: "database";
|
|
905
905
|
}>;
|
|
@@ -955,8 +955,8 @@ export declare const eventsContract: {
|
|
|
955
955
|
type: import("zod").ZodEnum<{
|
|
956
956
|
agent: "agent";
|
|
957
957
|
team: "team";
|
|
958
|
-
page: "page";
|
|
959
958
|
space: "space";
|
|
959
|
+
page: "page";
|
|
960
960
|
block: "block";
|
|
961
961
|
database: "database";
|
|
962
962
|
}>;
|
|
@@ -1004,8 +1004,8 @@ export declare const eventsContract: {
|
|
|
1004
1004
|
type: import("zod").ZodEnum<{
|
|
1005
1005
|
agent: "agent";
|
|
1006
1006
|
team: "team";
|
|
1007
|
-
page: "page";
|
|
1008
1007
|
space: "space";
|
|
1008
|
+
page: "page";
|
|
1009
1009
|
block: "block";
|
|
1010
1010
|
database: "database";
|
|
1011
1011
|
}>;
|
|
@@ -1053,8 +1053,8 @@ export declare const eventsContract: {
|
|
|
1053
1053
|
type: import("zod").ZodEnum<{
|
|
1054
1054
|
agent: "agent";
|
|
1055
1055
|
team: "team";
|
|
1056
|
-
page: "page";
|
|
1057
1056
|
space: "space";
|
|
1057
|
+
page: "page";
|
|
1058
1058
|
block: "block";
|
|
1059
1059
|
database: "database";
|
|
1060
1060
|
}>;
|
|
@@ -1102,8 +1102,8 @@ export declare const eventsContract: {
|
|
|
1102
1102
|
type: import("zod").ZodEnum<{
|
|
1103
1103
|
agent: "agent";
|
|
1104
1104
|
team: "team";
|
|
1105
|
-
page: "page";
|
|
1106
1105
|
space: "space";
|
|
1106
|
+
page: "page";
|
|
1107
1107
|
block: "block";
|
|
1108
1108
|
database: "database";
|
|
1109
1109
|
}>;
|
|
@@ -1151,8 +1151,8 @@ export declare const eventsContract: {
|
|
|
1151
1151
|
type: import("zod").ZodEnum<{
|
|
1152
1152
|
agent: "agent";
|
|
1153
1153
|
team: "team";
|
|
1154
|
-
page: "page";
|
|
1155
1154
|
space: "space";
|
|
1155
|
+
page: "page";
|
|
1156
1156
|
block: "block";
|
|
1157
1157
|
database: "database";
|
|
1158
1158
|
}>;
|
|
@@ -1247,8 +1247,8 @@ export declare const eventsContract: {
|
|
|
1247
1247
|
type: import("zod").ZodEnum<{
|
|
1248
1248
|
agent: "agent";
|
|
1249
1249
|
team: "team";
|
|
1250
|
-
page: "page";
|
|
1251
1250
|
space: "space";
|
|
1251
|
+
page: "page";
|
|
1252
1252
|
block: "block";
|
|
1253
1253
|
database: "database";
|
|
1254
1254
|
}>;
|
|
@@ -1296,8 +1296,8 @@ export declare const eventsContract: {
|
|
|
1296
1296
|
type: import("zod").ZodEnum<{
|
|
1297
1297
|
agent: "agent";
|
|
1298
1298
|
team: "team";
|
|
1299
|
-
page: "page";
|
|
1300
1299
|
space: "space";
|
|
1300
|
+
page: "page";
|
|
1301
1301
|
block: "block";
|
|
1302
1302
|
database: "database";
|
|
1303
1303
|
}>;
|
|
@@ -1345,8 +1345,8 @@ export declare const eventsContract: {
|
|
|
1345
1345
|
type: import("zod").ZodEnum<{
|
|
1346
1346
|
agent: "agent";
|
|
1347
1347
|
team: "team";
|
|
1348
|
-
page: "page";
|
|
1349
1348
|
space: "space";
|
|
1349
|
+
page: "page";
|
|
1350
1350
|
block: "block";
|
|
1351
1351
|
database: "database";
|
|
1352
1352
|
}>;
|
|
@@ -1395,8 +1395,8 @@ export declare const eventsContract: {
|
|
|
1395
1395
|
type: import("zod").ZodEnum<{
|
|
1396
1396
|
agent: "agent";
|
|
1397
1397
|
team: "team";
|
|
1398
|
-
page: "page";
|
|
1399
1398
|
space: "space";
|
|
1399
|
+
page: "page";
|
|
1400
1400
|
block: "block";
|
|
1401
1401
|
database: "database";
|
|
1402
1402
|
}>;
|
|
@@ -1444,8 +1444,8 @@ export declare const eventsContract: {
|
|
|
1444
1444
|
type: import("zod").ZodEnum<{
|
|
1445
1445
|
agent: "agent";
|
|
1446
1446
|
team: "team";
|
|
1447
|
-
page: "page";
|
|
1448
1447
|
space: "space";
|
|
1448
|
+
page: "page";
|
|
1449
1449
|
block: "block";
|
|
1450
1450
|
database: "database";
|
|
1451
1451
|
}>;
|
|
@@ -1593,7 +1593,7 @@ export declare const eventsContract: {
|
|
|
1593
1593
|
data: {
|
|
1594
1594
|
parent: {
|
|
1595
1595
|
id: string;
|
|
1596
|
-
type: "agent" | "team" | "
|
|
1596
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1597
1597
|
dataSourceId?: string | undefined;
|
|
1598
1598
|
};
|
|
1599
1599
|
updatedBlocks: {
|
|
@@ -1629,7 +1629,7 @@ export declare const eventsContract: {
|
|
|
1629
1629
|
data: {
|
|
1630
1630
|
parent: {
|
|
1631
1631
|
id: string;
|
|
1632
|
-
type: "agent" | "team" | "
|
|
1632
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1633
1633
|
dataSourceId?: string | undefined;
|
|
1634
1634
|
};
|
|
1635
1635
|
};
|
|
@@ -1661,7 +1661,7 @@ export declare const eventsContract: {
|
|
|
1661
1661
|
data: {
|
|
1662
1662
|
parent: {
|
|
1663
1663
|
id: string;
|
|
1664
|
-
type: "agent" | "team" | "
|
|
1664
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1665
1665
|
dataSourceId?: string | undefined;
|
|
1666
1666
|
};
|
|
1667
1667
|
};
|
|
@@ -1693,7 +1693,7 @@ export declare const eventsContract: {
|
|
|
1693
1693
|
data: {
|
|
1694
1694
|
parent: {
|
|
1695
1695
|
id: string;
|
|
1696
|
-
type: "agent" | "team" | "
|
|
1696
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1697
1697
|
dataSourceId?: string | undefined;
|
|
1698
1698
|
};
|
|
1699
1699
|
};
|
|
@@ -1725,7 +1725,7 @@ export declare const eventsContract: {
|
|
|
1725
1725
|
data: {
|
|
1726
1726
|
parent: {
|
|
1727
1727
|
id: string;
|
|
1728
|
-
type: "agent" | "team" | "
|
|
1728
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1729
1729
|
dataSourceId?: string | undefined;
|
|
1730
1730
|
};
|
|
1731
1731
|
updatedProperties?: {
|
|
@@ -1762,7 +1762,7 @@ export declare const eventsContract: {
|
|
|
1762
1762
|
data: {
|
|
1763
1763
|
parent: {
|
|
1764
1764
|
id: string;
|
|
1765
|
-
type: "agent" | "team" | "
|
|
1765
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1766
1766
|
dataSourceId?: string | undefined;
|
|
1767
1767
|
};
|
|
1768
1768
|
};
|
|
@@ -1794,7 +1794,7 @@ export declare const eventsContract: {
|
|
|
1794
1794
|
data: {
|
|
1795
1795
|
parent: {
|
|
1796
1796
|
id: string;
|
|
1797
|
-
type: "agent" | "team" | "
|
|
1797
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1798
1798
|
dataSourceId?: string | undefined;
|
|
1799
1799
|
};
|
|
1800
1800
|
};
|
|
@@ -1826,7 +1826,7 @@ export declare const eventsContract: {
|
|
|
1826
1826
|
data: {
|
|
1827
1827
|
parent: {
|
|
1828
1828
|
id: string;
|
|
1829
|
-
type: "agent" | "team" | "
|
|
1829
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1830
1830
|
dataSourceId?: string | undefined;
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
@@ -1858,7 +1858,7 @@ export declare const eventsContract: {
|
|
|
1858
1858
|
data: {
|
|
1859
1859
|
parent: {
|
|
1860
1860
|
id: string;
|
|
1861
|
-
type: "agent" | "team" | "
|
|
1861
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1862
1862
|
dataSourceId?: string | undefined;
|
|
1863
1863
|
};
|
|
1864
1864
|
};
|
|
@@ -1890,7 +1890,7 @@ export declare const eventsContract: {
|
|
|
1890
1890
|
data: {
|
|
1891
1891
|
parent: {
|
|
1892
1892
|
id: string;
|
|
1893
|
-
type: "agent" | "team" | "
|
|
1893
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
1894
1894
|
dataSourceId?: string | undefined;
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
@@ -2041,7 +2041,7 @@ export declare const eventsContract: {
|
|
|
2041
2041
|
data: {
|
|
2042
2042
|
parent: {
|
|
2043
2043
|
id: string;
|
|
2044
|
-
type: "agent" | "team" | "
|
|
2044
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2045
2045
|
dataSourceId?: string | undefined;
|
|
2046
2046
|
};
|
|
2047
2047
|
updatedBlocks: {
|
|
@@ -2077,7 +2077,7 @@ export declare const eventsContract: {
|
|
|
2077
2077
|
data: {
|
|
2078
2078
|
parent: {
|
|
2079
2079
|
id: string;
|
|
2080
|
-
type: "agent" | "team" | "
|
|
2080
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2081
2081
|
dataSourceId?: string | undefined;
|
|
2082
2082
|
};
|
|
2083
2083
|
};
|
|
@@ -2109,7 +2109,7 @@ export declare const eventsContract: {
|
|
|
2109
2109
|
data: {
|
|
2110
2110
|
parent: {
|
|
2111
2111
|
id: string;
|
|
2112
|
-
type: "agent" | "team" | "
|
|
2112
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2113
2113
|
dataSourceId?: string | undefined;
|
|
2114
2114
|
};
|
|
2115
2115
|
};
|
|
@@ -2141,7 +2141,7 @@ export declare const eventsContract: {
|
|
|
2141
2141
|
data: {
|
|
2142
2142
|
parent: {
|
|
2143
2143
|
id: string;
|
|
2144
|
-
type: "agent" | "team" | "
|
|
2144
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2145
2145
|
dataSourceId?: string | undefined;
|
|
2146
2146
|
};
|
|
2147
2147
|
};
|
|
@@ -2173,7 +2173,7 @@ export declare const eventsContract: {
|
|
|
2173
2173
|
data: {
|
|
2174
2174
|
parent: {
|
|
2175
2175
|
id: string;
|
|
2176
|
-
type: "agent" | "team" | "
|
|
2176
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2177
2177
|
dataSourceId?: string | undefined;
|
|
2178
2178
|
};
|
|
2179
2179
|
};
|
|
@@ -2205,7 +2205,7 @@ export declare const eventsContract: {
|
|
|
2205
2205
|
data: {
|
|
2206
2206
|
parent: {
|
|
2207
2207
|
id: string;
|
|
2208
|
-
type: "agent" | "team" | "
|
|
2208
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2209
2209
|
dataSourceId?: string | undefined;
|
|
2210
2210
|
};
|
|
2211
2211
|
updatedProperties: string[];
|
|
@@ -2270,7 +2270,7 @@ export declare const eventsContract: {
|
|
|
2270
2270
|
data: {
|
|
2271
2271
|
parent: {
|
|
2272
2272
|
id: string;
|
|
2273
|
-
type: "agent" | "team" | "
|
|
2273
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2274
2274
|
dataSourceId?: string | undefined;
|
|
2275
2275
|
};
|
|
2276
2276
|
};
|
|
@@ -2302,7 +2302,7 @@ export declare const eventsContract: {
|
|
|
2302
2302
|
data: {
|
|
2303
2303
|
parent: {
|
|
2304
2304
|
id: string;
|
|
2305
|
-
type: "agent" | "team" | "
|
|
2305
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2306
2306
|
dataSourceId?: string | undefined;
|
|
2307
2307
|
};
|
|
2308
2308
|
};
|
|
@@ -2334,7 +2334,7 @@ export declare const eventsContract: {
|
|
|
2334
2334
|
data: {
|
|
2335
2335
|
parent: {
|
|
2336
2336
|
id: string;
|
|
2337
|
-
type: "agent" | "team" | "
|
|
2337
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2338
2338
|
dataSourceId?: string | undefined;
|
|
2339
2339
|
};
|
|
2340
2340
|
viewType: string;
|
|
@@ -2367,7 +2367,7 @@ export declare const eventsContract: {
|
|
|
2367
2367
|
data: {
|
|
2368
2368
|
parent: {
|
|
2369
2369
|
id: string;
|
|
2370
|
-
type: "agent" | "team" | "
|
|
2370
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2371
2371
|
dataSourceId?: string | undefined;
|
|
2372
2372
|
};
|
|
2373
2373
|
};
|
|
@@ -2399,7 +2399,7 @@ export declare const eventsContract: {
|
|
|
2399
2399
|
data: {
|
|
2400
2400
|
parent: {
|
|
2401
2401
|
id: string;
|
|
2402
|
-
type: "agent" | "team" | "
|
|
2402
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2403
2403
|
dataSourceId?: string | undefined;
|
|
2404
2404
|
};
|
|
2405
2405
|
updatedFields: ("name" | "filter" | "sorts" | "configuration")[];
|
|
@@ -2548,7 +2548,7 @@ export declare const eventsContract: {
|
|
|
2548
2548
|
data: {
|
|
2549
2549
|
parent: {
|
|
2550
2550
|
id: string;
|
|
2551
|
-
type: "agent" | "team" | "
|
|
2551
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2552
2552
|
data_source_id?: string | undefined;
|
|
2553
2553
|
};
|
|
2554
2554
|
updated_blocks: {
|
|
@@ -2591,7 +2591,7 @@ export declare const eventsContract: {
|
|
|
2591
2591
|
data: {
|
|
2592
2592
|
parent: {
|
|
2593
2593
|
id: string;
|
|
2594
|
-
type: "agent" | "team" | "
|
|
2594
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2595
2595
|
data_source_id?: string | undefined;
|
|
2596
2596
|
};
|
|
2597
2597
|
};
|
|
@@ -2630,7 +2630,7 @@ export declare const eventsContract: {
|
|
|
2630
2630
|
data: {
|
|
2631
2631
|
parent: {
|
|
2632
2632
|
id: string;
|
|
2633
|
-
type: "agent" | "team" | "
|
|
2633
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2634
2634
|
data_source_id?: string | undefined;
|
|
2635
2635
|
};
|
|
2636
2636
|
};
|
|
@@ -2669,7 +2669,7 @@ export declare const eventsContract: {
|
|
|
2669
2669
|
data: {
|
|
2670
2670
|
parent: {
|
|
2671
2671
|
id: string;
|
|
2672
|
-
type: "agent" | "team" | "
|
|
2672
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2673
2673
|
data_source_id?: string | undefined;
|
|
2674
2674
|
};
|
|
2675
2675
|
};
|
|
@@ -2708,7 +2708,7 @@ export declare const eventsContract: {
|
|
|
2708
2708
|
data: {
|
|
2709
2709
|
parent: {
|
|
2710
2710
|
id: string;
|
|
2711
|
-
type: "agent" | "team" | "
|
|
2711
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2712
2712
|
data_source_id?: string | undefined;
|
|
2713
2713
|
};
|
|
2714
2714
|
updated_properties?: {
|
|
@@ -2752,7 +2752,7 @@ export declare const eventsContract: {
|
|
|
2752
2752
|
data: {
|
|
2753
2753
|
parent: {
|
|
2754
2754
|
id: string;
|
|
2755
|
-
type: "agent" | "team" | "
|
|
2755
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2756
2756
|
data_source_id?: string | undefined;
|
|
2757
2757
|
};
|
|
2758
2758
|
};
|
|
@@ -2791,7 +2791,7 @@ export declare const eventsContract: {
|
|
|
2791
2791
|
data: {
|
|
2792
2792
|
parent: {
|
|
2793
2793
|
id: string;
|
|
2794
|
-
type: "agent" | "team" | "
|
|
2794
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2795
2795
|
data_source_id?: string | undefined;
|
|
2796
2796
|
};
|
|
2797
2797
|
};
|
|
@@ -2830,7 +2830,7 @@ export declare const eventsContract: {
|
|
|
2830
2830
|
data: {
|
|
2831
2831
|
parent: {
|
|
2832
2832
|
id: string;
|
|
2833
|
-
type: "agent" | "team" | "
|
|
2833
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2834
2834
|
data_source_id?: string | undefined;
|
|
2835
2835
|
};
|
|
2836
2836
|
};
|
|
@@ -2869,7 +2869,7 @@ export declare const eventsContract: {
|
|
|
2869
2869
|
data: {
|
|
2870
2870
|
parent: {
|
|
2871
2871
|
id: string;
|
|
2872
|
-
type: "agent" | "team" | "
|
|
2872
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2873
2873
|
data_source_id?: string | undefined;
|
|
2874
2874
|
};
|
|
2875
2875
|
};
|
|
@@ -2908,7 +2908,7 @@ export declare const eventsContract: {
|
|
|
2908
2908
|
data: {
|
|
2909
2909
|
parent: {
|
|
2910
2910
|
id: string;
|
|
2911
|
-
type: "agent" | "team" | "
|
|
2911
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
2912
2912
|
data_source_id?: string | undefined;
|
|
2913
2913
|
};
|
|
2914
2914
|
};
|
|
@@ -3092,7 +3092,7 @@ export declare const eventsContract: {
|
|
|
3092
3092
|
data: {
|
|
3093
3093
|
parent: {
|
|
3094
3094
|
id: string;
|
|
3095
|
-
type: "agent" | "team" | "
|
|
3095
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3096
3096
|
data_source_id?: string | undefined;
|
|
3097
3097
|
};
|
|
3098
3098
|
updated_blocks: {
|
|
@@ -3135,7 +3135,7 @@ export declare const eventsContract: {
|
|
|
3135
3135
|
data: {
|
|
3136
3136
|
parent: {
|
|
3137
3137
|
id: string;
|
|
3138
|
-
type: "agent" | "team" | "
|
|
3138
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3139
3139
|
data_source_id?: string | undefined;
|
|
3140
3140
|
};
|
|
3141
3141
|
};
|
|
@@ -3174,7 +3174,7 @@ export declare const eventsContract: {
|
|
|
3174
3174
|
data: {
|
|
3175
3175
|
parent: {
|
|
3176
3176
|
id: string;
|
|
3177
|
-
type: "agent" | "team" | "
|
|
3177
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3178
3178
|
data_source_id?: string | undefined;
|
|
3179
3179
|
};
|
|
3180
3180
|
};
|
|
@@ -3213,7 +3213,7 @@ export declare const eventsContract: {
|
|
|
3213
3213
|
data: {
|
|
3214
3214
|
parent: {
|
|
3215
3215
|
id: string;
|
|
3216
|
-
type: "agent" | "team" | "
|
|
3216
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3217
3217
|
data_source_id?: string | undefined;
|
|
3218
3218
|
};
|
|
3219
3219
|
};
|
|
@@ -3252,7 +3252,7 @@ export declare const eventsContract: {
|
|
|
3252
3252
|
data: {
|
|
3253
3253
|
parent: {
|
|
3254
3254
|
id: string;
|
|
3255
|
-
type: "agent" | "team" | "
|
|
3255
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3256
3256
|
data_source_id?: string | undefined;
|
|
3257
3257
|
};
|
|
3258
3258
|
};
|
|
@@ -3291,7 +3291,7 @@ export declare const eventsContract: {
|
|
|
3291
3291
|
data: {
|
|
3292
3292
|
parent: {
|
|
3293
3293
|
id: string;
|
|
3294
|
-
type: "agent" | "team" | "
|
|
3294
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3295
3295
|
data_source_id?: string | undefined;
|
|
3296
3296
|
};
|
|
3297
3297
|
updated_properties: string[];
|
|
@@ -3370,7 +3370,7 @@ export declare const eventsContract: {
|
|
|
3370
3370
|
data: {
|
|
3371
3371
|
parent: {
|
|
3372
3372
|
id: string;
|
|
3373
|
-
type: "agent" | "team" | "
|
|
3373
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3374
3374
|
data_source_id?: string | undefined;
|
|
3375
3375
|
};
|
|
3376
3376
|
};
|
|
@@ -3409,7 +3409,7 @@ export declare const eventsContract: {
|
|
|
3409
3409
|
data: {
|
|
3410
3410
|
parent: {
|
|
3411
3411
|
id: string;
|
|
3412
|
-
type: "agent" | "team" | "
|
|
3412
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3413
3413
|
data_source_id?: string | undefined;
|
|
3414
3414
|
};
|
|
3415
3415
|
};
|
|
@@ -3448,7 +3448,7 @@ export declare const eventsContract: {
|
|
|
3448
3448
|
data: {
|
|
3449
3449
|
parent: {
|
|
3450
3450
|
id: string;
|
|
3451
|
-
type: "agent" | "team" | "
|
|
3451
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3452
3452
|
data_source_id?: string | undefined;
|
|
3453
3453
|
};
|
|
3454
3454
|
view_type: string;
|
|
@@ -3488,7 +3488,7 @@ export declare const eventsContract: {
|
|
|
3488
3488
|
data: {
|
|
3489
3489
|
parent: {
|
|
3490
3490
|
id: string;
|
|
3491
|
-
type: "agent" | "team" | "
|
|
3491
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3492
3492
|
data_source_id?: string | undefined;
|
|
3493
3493
|
};
|
|
3494
3494
|
};
|
|
@@ -3527,7 +3527,7 @@ export declare const eventsContract: {
|
|
|
3527
3527
|
data: {
|
|
3528
3528
|
parent: {
|
|
3529
3529
|
id: string;
|
|
3530
|
-
type: "agent" | "team" | "
|
|
3530
|
+
type: "agent" | "team" | "space" | "page" | "block" | "database";
|
|
3531
3531
|
data_source_id?: string | undefined;
|
|
3532
3532
|
};
|
|
3533
3533
|
updated_fields: ("name" | "filter" | "sorts" | "configuration")[];
|
|
@@ -3671,6 +3671,11 @@ export declare const eventsContract: {
|
|
|
3671
3671
|
subscription: import("zod").ZodLiteral<"projects/opkitty/subscriptions/automate-ax-google-drive-push">;
|
|
3672
3672
|
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3673
3673
|
googleCalendarPush: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodVoid, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3674
|
+
clickUpEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3675
|
+
event: import("zod").ZodString;
|
|
3676
|
+
sourceId: import("zod").ZodString;
|
|
3677
|
+
webhook_id: import("zod").ZodString;
|
|
3678
|
+
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3674
3679
|
cloudflareEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3675
3680
|
sourceId: import("zod").ZodString;
|
|
3676
3681
|
}, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
package/dist/events/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import { convexEventsContract } from "./convex.js";
|
|
|
8
8
|
import { discordEventsContract } from "./discord.js";
|
|
9
9
|
import { closeEventsContract } from "./close.js";
|
|
10
10
|
import { cloudflareEventsContract } from "./cloudflare.js";
|
|
11
|
+
import { clickUpEventsContract } from "./clickup.js";
|
|
11
12
|
import { googleCalendarEventsContract } from "./google-calendar.js";
|
|
12
13
|
import { googleFormsEventsContract } from "./google-forms.js";
|
|
13
14
|
import { googleDriveEventsContract } from "./google-drive.js";
|
|
@@ -38,6 +39,7 @@ export const eventsContract = {
|
|
|
38
39
|
...discordEventsContract,
|
|
39
40
|
...closeEventsContract,
|
|
40
41
|
...cloudflareEventsContract,
|
|
42
|
+
...clickUpEventsContract,
|
|
41
43
|
...googleCalendarEventsContract,
|
|
42
44
|
...googleDriveEventsContract,
|
|
43
45
|
...googleFormsEventsContract,
|