@pikku/addon-autopilot 0.0.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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +319 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +209 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +28 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +28 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +169 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +180 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +13 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +51 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +95 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactJourneyAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactJourneyAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListExistInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListExistOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactListRemoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpsertInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactUpsertOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_autopilot.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_AUTOPILOT_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/autopilot-api.service.d.ts +10 -0
- package/dist/src/autopilot-api.service.d.ts.map +1 -0
- package/dist/src/autopilot-api.service.js +152 -0
- package/dist/src/autopilot-api.service.js.map +1 -0
- package/dist/src/autopilot.credential.d.ts +5 -0
- package/dist/src/autopilot.credential.d.ts.map +1 -0
- package/dist/src/autopilot.credential.js +13 -0
- package/dist/src/autopilot.credential.js.map +1 -0
- package/dist/src/autopilot.types.d.ts +7 -0
- package/dist/src/autopilot.types.d.ts.map +1 -0
- package/dist/src/autopilot.types.js +8 -0
- package/dist/src/autopilot.types.js.map +1 -0
- package/dist/src/autopilot.variable.d.ts +5 -0
- package/dist/src/autopilot.variable.d.ts.map +1 -0
- package/dist/src/autopilot.variable.js +11 -0
- package/dist/src/autopilot.variable.js.map +1 -0
- package/dist/src/functions/contactDelete.function.d.ts +13 -0
- package/dist/src/functions/contactDelete.function.d.ts.map +1 -0
- package/dist/src/functions/contactDelete.function.js +15 -0
- package/dist/src/functions/contactDelete.function.js.map +1 -0
- package/dist/src/functions/contactGet.function.d.ts +13 -0
- package/dist/src/functions/contactGet.function.d.ts.map +1 -0
- package/dist/src/functions/contactGet.function.js +15 -0
- package/dist/src/functions/contactGet.function.js.map +1 -0
- package/dist/src/functions/contactGetAll.function.d.ts +13 -0
- package/dist/src/functions/contactGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/contactGetAll.function.js +15 -0
- package/dist/src/functions/contactGetAll.function.js.map +1 -0
- package/dist/src/functions/contactJourneyAdd.function.d.ts +17 -0
- package/dist/src/functions/contactJourneyAdd.function.d.ts.map +1 -0
- package/dist/src/functions/contactJourneyAdd.function.js +16 -0
- package/dist/src/functions/contactJourneyAdd.function.js.map +1 -0
- package/dist/src/functions/contactListAdd.function.d.ts +17 -0
- package/dist/src/functions/contactListAdd.function.d.ts.map +1 -0
- package/dist/src/functions/contactListAdd.function.js +16 -0
- package/dist/src/functions/contactListAdd.function.js.map +1 -0
- package/dist/src/functions/contactListExist.function.d.ts +17 -0
- package/dist/src/functions/contactListExist.function.d.ts.map +1 -0
- package/dist/src/functions/contactListExist.function.js +16 -0
- package/dist/src/functions/contactListExist.function.js.map +1 -0
- package/dist/src/functions/contactListGetAll.function.d.ts +17 -0
- package/dist/src/functions/contactListGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/contactListGetAll.function.js +16 -0
- package/dist/src/functions/contactListGetAll.function.js.map +1 -0
- package/dist/src/functions/contactListRemove.function.d.ts +17 -0
- package/dist/src/functions/contactListRemove.function.d.ts.map +1 -0
- package/dist/src/functions/contactListRemove.function.js +16 -0
- package/dist/src/functions/contactListRemove.function.js.map +1 -0
- package/dist/src/functions/contactUpsert.function.d.ts +21 -0
- package/dist/src/functions/contactUpsert.function.d.ts.map +1 -0
- package/dist/src/functions/contactUpsert.function.js +17 -0
- package/dist/src/functions/contactUpsert.function.js.map +1 -0
- package/dist/src/functions/listCreate.function.d.ts +13 -0
- package/dist/src/functions/listCreate.function.d.ts.map +1 -0
- package/dist/src/functions/listCreate.function.js +15 -0
- package/dist/src/functions/listCreate.function.js.map +1 -0
- package/dist/src/functions/listGetAll.function.d.ts +4 -0
- package/dist/src/functions/listGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/listGetAll.function.js +11 -0
- package/dist/src/functions/listGetAll.function.js.map +1 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +12 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type ContactDeleteInput = {
|
|
13
|
+
contactId: string;
|
|
14
|
+
}
|
|
15
|
+
export type ContactDeleteOutput = {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export type ContactGetAllInput = {
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type ContactGetAllOutput = {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type ContactGetInput = {
|
|
25
|
+
contactId: string;
|
|
26
|
+
}
|
|
27
|
+
export type ContactGetOutput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type ContactJourneyAddInput = {
|
|
31
|
+
triggerId: string;
|
|
32
|
+
contactId: string;
|
|
33
|
+
}
|
|
34
|
+
export type ContactJourneyAddOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type ContactListAddInput = {
|
|
38
|
+
listId: string;
|
|
39
|
+
contactId: string;
|
|
40
|
+
}
|
|
41
|
+
export type ContactListAddOutput = {
|
|
42
|
+
[key: string]: unknown;
|
|
43
|
+
}
|
|
44
|
+
export type ContactListExistInput = {
|
|
45
|
+
listId: string;
|
|
46
|
+
contactId: string;
|
|
47
|
+
}
|
|
48
|
+
export type ContactListExistOutput = {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export type ContactListGetAllInput = {
|
|
52
|
+
listId: string;
|
|
53
|
+
limit?: number | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type ContactListGetAllOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type ContactListRemoveInput = {
|
|
59
|
+
listId: string;
|
|
60
|
+
contactId: string;
|
|
61
|
+
}
|
|
62
|
+
export type ContactListRemoveOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type ContactUpsertInput = {
|
|
66
|
+
Email?: string | undefined;
|
|
67
|
+
FirstName?: string | undefined;
|
|
68
|
+
LastName?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export type ContactUpsertOutput = {
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}
|
|
73
|
+
export type CredentialSchema_autopilot = {
|
|
74
|
+
/** Autopilot API key */
|
|
75
|
+
apiKey: string;
|
|
76
|
+
}
|
|
77
|
+
export type ListCreateInput = {
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type ListCreateOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type ListGetAllOutput = {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
}
|
|
86
|
+
export type VariableSchema_AUTOPILOT_BASE_URL = "https://api2.autopilothq.com/v1"
|
|
87
|
+
|
|
88
|
+
interface RPCHandler<I, O> {
|
|
89
|
+
input: I;
|
|
90
|
+
output: O;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export type RPCMap = {
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// No addon packages, use RPCMap directly
|
|
99
|
+
export type FlattenedRPCMap = RPCMap
|
|
100
|
+
|
|
101
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
102
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
103
|
+
? false
|
|
104
|
+
: [T] extends [void | null | undefined]
|
|
105
|
+
? true
|
|
106
|
+
: false
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
110
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
111
|
+
? [name: Name]
|
|
112
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
113
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
114
|
+
|
|
115
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
116
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
117
|
+
? [name: Name]
|
|
118
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
119
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
120
|
+
|
|
121
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
122
|
+
|
|
123
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
type FlattenedAgentMap = AgentMap
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
130
|
+
|
|
131
|
+
interface AIAgentInput {
|
|
132
|
+
message: string
|
|
133
|
+
threadId: string
|
|
134
|
+
resourceId: string
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
138
|
+
name: Name,
|
|
139
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
140
|
+
options?: { startNode?: string }
|
|
141
|
+
) => Promise<{ runId: string }>
|
|
142
|
+
|
|
143
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
144
|
+
name: Name,
|
|
145
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
146
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
147
|
+
|
|
148
|
+
export type TypedWorkflowStatus = (
|
|
149
|
+
workflowName: string,
|
|
150
|
+
runId: string
|
|
151
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
152
|
+
|
|
153
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
154
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
155
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
156
|
+
name: Name,
|
|
157
|
+
input: AIAgentInput
|
|
158
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
159
|
+
|
|
160
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
161
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
162
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
163
|
+
name: Name,
|
|
164
|
+
input: AIAgentInput,
|
|
165
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
166
|
+
) => Promise<void>
|
|
167
|
+
|
|
168
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
169
|
+
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type ContactDeleteInput = {
|
|
13
|
+
contactId: string;
|
|
14
|
+
}
|
|
15
|
+
export type ContactDeleteOutput = {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export type ContactGetAllInput = {
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type ContactGetAllOutput = {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type ContactGetInput = {
|
|
25
|
+
contactId: string;
|
|
26
|
+
}
|
|
27
|
+
export type ContactGetOutput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type ContactJourneyAddInput = {
|
|
31
|
+
triggerId: string;
|
|
32
|
+
contactId: string;
|
|
33
|
+
}
|
|
34
|
+
export type ContactJourneyAddOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type ContactListAddInput = {
|
|
38
|
+
listId: string;
|
|
39
|
+
contactId: string;
|
|
40
|
+
}
|
|
41
|
+
export type ContactListAddOutput = {
|
|
42
|
+
[key: string]: unknown;
|
|
43
|
+
}
|
|
44
|
+
export type ContactListExistInput = {
|
|
45
|
+
listId: string;
|
|
46
|
+
contactId: string;
|
|
47
|
+
}
|
|
48
|
+
export type ContactListExistOutput = {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export type ContactListGetAllInput = {
|
|
52
|
+
listId: string;
|
|
53
|
+
limit?: number | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type ContactListGetAllOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type ContactListRemoveInput = {
|
|
59
|
+
listId: string;
|
|
60
|
+
contactId: string;
|
|
61
|
+
}
|
|
62
|
+
export type ContactListRemoveOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type ContactUpsertInput = {
|
|
66
|
+
Email?: string | undefined;
|
|
67
|
+
FirstName?: string | undefined;
|
|
68
|
+
LastName?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export type ContactUpsertOutput = {
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}
|
|
73
|
+
export type CredentialSchema_autopilot = {
|
|
74
|
+
/** Autopilot API key */
|
|
75
|
+
apiKey: string;
|
|
76
|
+
}
|
|
77
|
+
export type ListCreateInput = {
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type ListCreateOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type ListGetAllOutput = {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
}
|
|
86
|
+
export type VariableSchema_AUTOPILOT_BASE_URL = "https://api2.autopilothq.com/v1"
|
|
87
|
+
|
|
88
|
+
interface RPCHandler<I, O> {
|
|
89
|
+
input: I;
|
|
90
|
+
output: O;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export type RPCMap = {
|
|
94
|
+
readonly 'contactUpsert': RPCHandler<ContactUpsertInput, ContactUpsertOutput>,
|
|
95
|
+
readonly 'contactGet': RPCHandler<ContactGetInput, ContactGetOutput>,
|
|
96
|
+
readonly 'contactDelete': RPCHandler<ContactDeleteInput, ContactDeleteOutput>,
|
|
97
|
+
readonly 'contactGetAll': RPCHandler<ContactGetAllInput, ContactGetAllOutput>,
|
|
98
|
+
readonly 'contactJourneyAdd': RPCHandler<ContactJourneyAddInput, ContactJourneyAddOutput>,
|
|
99
|
+
readonly 'contactListExist': RPCHandler<ContactListExistInput, ContactListExistOutput>,
|
|
100
|
+
readonly 'contactListAdd': RPCHandler<ContactListAddInput, ContactListAddOutput>,
|
|
101
|
+
readonly 'contactListRemove': RPCHandler<ContactListRemoveInput, ContactListRemoveOutput>,
|
|
102
|
+
readonly 'contactListGetAll': RPCHandler<ContactListGetAllInput, ContactListGetAllOutput>,
|
|
103
|
+
readonly 'listCreate': RPCHandler<ListCreateInput, ListCreateOutput>,
|
|
104
|
+
readonly 'listGetAll': RPCHandler<null, ListGetAllOutput>,
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
// No addon packages, use RPCMap directly
|
|
110
|
+
export type FlattenedRPCMap = RPCMap
|
|
111
|
+
|
|
112
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
113
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
114
|
+
? false
|
|
115
|
+
: [T] extends [void | null | undefined]
|
|
116
|
+
? true
|
|
117
|
+
: false
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
121
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
122
|
+
? [name: Name]
|
|
123
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
124
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
125
|
+
|
|
126
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
127
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
128
|
+
? [name: Name]
|
|
129
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
130
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
131
|
+
|
|
132
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
133
|
+
|
|
134
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
type FlattenedAgentMap = AgentMap
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
141
|
+
|
|
142
|
+
interface AIAgentInput {
|
|
143
|
+
message: string
|
|
144
|
+
threadId: string
|
|
145
|
+
resourceId: string
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
149
|
+
name: Name,
|
|
150
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
151
|
+
options?: { startNode?: string }
|
|
152
|
+
) => Promise<{ runId: string }>
|
|
153
|
+
|
|
154
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
155
|
+
name: Name,
|
|
156
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
157
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
158
|
+
|
|
159
|
+
export type TypedWorkflowStatus = (
|
|
160
|
+
workflowName: string,
|
|
161
|
+
runId: string
|
|
162
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
163
|
+
|
|
164
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
165
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
166
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
167
|
+
name: Name,
|
|
168
|
+
input: AIAgentInput
|
|
169
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
170
|
+
|
|
171
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
172
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
173
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
174
|
+
name: Name,
|
|
175
|
+
input: AIAgentInput,
|
|
176
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
177
|
+
) => Promise<void>
|
|
178
|
+
|
|
179
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
180
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-autopilot', 'rpc', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,wBAAwB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contactUpsert": "contactUpsert",
|
|
3
|
+
"contactGet": "contactGet",
|
|
4
|
+
"contactDelete": "contactDelete",
|
|
5
|
+
"contactGetAll": "contactGetAll",
|
|
6
|
+
"contactJourneyAdd": "contactJourneyAdd",
|
|
7
|
+
"contactListExist": "contactListExist",
|
|
8
|
+
"contactListAdd": "contactListAdd",
|
|
9
|
+
"contactListRemove": "contactListRemove",
|
|
10
|
+
"contactListGetAll": "contactListGetAll",
|
|
11
|
+
"listCreate": "listCreate",
|
|
12
|
+
"listGetAll": "listGetAll"
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
|
|
6
|
+
pikkuState('@pikku/addon-autopilot', 'rpc', 'meta', metaData as Record<string, string>)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreScheduledTask } from '@pikku/core/scheduler';
|
|
8
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
11
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
12
|
+
*/
|
|
13
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a scheduled task with the Pikku framework.
|
|
16
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
17
|
+
*
|
|
18
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
19
|
+
*/
|
|
20
|
+
export declare const wireScheduler: (task: SchedulerWiring) => void;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a scheduled task with the Pikku framework.
|
|
10
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
11
|
+
*
|
|
12
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireScheduler = (task) => {
|
|
15
|
+
wireSchedulerCore(task);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
|
|
9
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
13
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
14
|
+
*/
|
|
15
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Registers a scheduled task with the Pikku framework.
|
|
19
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
20
|
+
*
|
|
21
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
22
|
+
*/
|
|
23
|
+
export const wireScheduler = (task: SchedulerWiring) => {
|
|
24
|
+
wireSchedulerCore(task as any)
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as ContactUpsertInput from './schemas/ContactUpsertInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('ContactUpsertInput', ContactUpsertInput, '@pikku/addon-autopilot');
|
|
7
|
+
import * as ContactUpsertOutput from './schemas/ContactUpsertOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('ContactUpsertOutput', ContactUpsertOutput, '@pikku/addon-autopilot');
|
|
9
|
+
import * as ContactGetInput from './schemas/ContactGetInput.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('ContactGetInput', ContactGetInput, '@pikku/addon-autopilot');
|
|
11
|
+
import * as ContactGetOutput from './schemas/ContactGetOutput.schema.json' with { type: 'json' };
|
|
12
|
+
addSchema('ContactGetOutput', ContactGetOutput, '@pikku/addon-autopilot');
|
|
13
|
+
import * as ContactDeleteInput from './schemas/ContactDeleteInput.schema.json' with { type: 'json' };
|
|
14
|
+
addSchema('ContactDeleteInput', ContactDeleteInput, '@pikku/addon-autopilot');
|
|
15
|
+
import * as ContactDeleteOutput from './schemas/ContactDeleteOutput.schema.json' with { type: 'json' };
|
|
16
|
+
addSchema('ContactDeleteOutput', ContactDeleteOutput, '@pikku/addon-autopilot');
|
|
17
|
+
import * as ContactGetAllInput from './schemas/ContactGetAllInput.schema.json' with { type: 'json' };
|
|
18
|
+
addSchema('ContactGetAllInput', ContactGetAllInput, '@pikku/addon-autopilot');
|
|
19
|
+
import * as ContactGetAllOutput from './schemas/ContactGetAllOutput.schema.json' with { type: 'json' };
|
|
20
|
+
addSchema('ContactGetAllOutput', ContactGetAllOutput, '@pikku/addon-autopilot');
|
|
21
|
+
import * as ContactJourneyAddInput from './schemas/ContactJourneyAddInput.schema.json' with { type: 'json' };
|
|
22
|
+
addSchema('ContactJourneyAddInput', ContactJourneyAddInput, '@pikku/addon-autopilot');
|
|
23
|
+
import * as ContactJourneyAddOutput from './schemas/ContactJourneyAddOutput.schema.json' with { type: 'json' };
|
|
24
|
+
addSchema('ContactJourneyAddOutput', ContactJourneyAddOutput, '@pikku/addon-autopilot');
|
|
25
|
+
import * as ContactListExistInput from './schemas/ContactListExistInput.schema.json' with { type: 'json' };
|
|
26
|
+
addSchema('ContactListExistInput', ContactListExistInput, '@pikku/addon-autopilot');
|
|
27
|
+
import * as ContactListExistOutput from './schemas/ContactListExistOutput.schema.json' with { type: 'json' };
|
|
28
|
+
addSchema('ContactListExistOutput', ContactListExistOutput, '@pikku/addon-autopilot');
|
|
29
|
+
import * as ContactListAddInput from './schemas/ContactListAddInput.schema.json' with { type: 'json' };
|
|
30
|
+
addSchema('ContactListAddInput', ContactListAddInput, '@pikku/addon-autopilot');
|
|
31
|
+
import * as ContactListAddOutput from './schemas/ContactListAddOutput.schema.json' with { type: 'json' };
|
|
32
|
+
addSchema('ContactListAddOutput', ContactListAddOutput, '@pikku/addon-autopilot');
|
|
33
|
+
import * as ContactListRemoveInput from './schemas/ContactListRemoveInput.schema.json' with { type: 'json' };
|
|
34
|
+
addSchema('ContactListRemoveInput', ContactListRemoveInput, '@pikku/addon-autopilot');
|
|
35
|
+
import * as ContactListRemoveOutput from './schemas/ContactListRemoveOutput.schema.json' with { type: 'json' };
|
|
36
|
+
addSchema('ContactListRemoveOutput', ContactListRemoveOutput, '@pikku/addon-autopilot');
|
|
37
|
+
import * as ContactListGetAllInput from './schemas/ContactListGetAllInput.schema.json' with { type: 'json' };
|
|
38
|
+
addSchema('ContactListGetAllInput', ContactListGetAllInput, '@pikku/addon-autopilot');
|
|
39
|
+
import * as ContactListGetAllOutput from './schemas/ContactListGetAllOutput.schema.json' with { type: 'json' };
|
|
40
|
+
addSchema('ContactListGetAllOutput', ContactListGetAllOutput, '@pikku/addon-autopilot');
|
|
41
|
+
import * as ListCreateInput from './schemas/ListCreateInput.schema.json' with { type: 'json' };
|
|
42
|
+
addSchema('ListCreateInput', ListCreateInput, '@pikku/addon-autopilot');
|
|
43
|
+
import * as ListCreateOutput from './schemas/ListCreateOutput.schema.json' with { type: 'json' };
|
|
44
|
+
addSchema('ListCreateOutput', ListCreateOutput, '@pikku/addon-autopilot');
|
|
45
|
+
import * as ListGetAllOutput from './schemas/ListGetAllOutput.schema.json' with { type: 'json' };
|
|
46
|
+
addSchema('ListGetAllOutput', ListGetAllOutput, '@pikku/addon-autopilot');
|
|
47
|
+
import * as CredentialSchema_autopilot from './schemas/CredentialSchema_autopilot.schema.json' with { type: 'json' };
|
|
48
|
+
addSchema('CredentialSchema_autopilot', CredentialSchema_autopilot, '@pikku/addon-autopilot');
|
|
49
|
+
import * as VariableSchema_AUTOPILOT_BASE_URL from './schemas/VariableSchema_AUTOPILOT_BASE_URL.schema.json' with { type: 'json' };
|
|
50
|
+
addSchema('VariableSchema_AUTOPILOT_BASE_URL', VariableSchema_AUTOPILOT_BASE_URL, '@pikku/addon-autopilot');
|
|
51
|
+
//# sourceMappingURL=register.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as ContactUpsertInput from './schemas/ContactUpsertInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('ContactUpsertInput', ContactUpsertInput, '@pikku/addon-autopilot')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as ContactUpsertOutput from './schemas/ContactUpsertOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('ContactUpsertOutput', ContactUpsertOutput, '@pikku/addon-autopilot')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as ContactGetInput from './schemas/ContactGetInput.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('ContactGetInput', ContactGetInput, '@pikku/addon-autopilot')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as ContactGetOutput from './schemas/ContactGetOutput.schema.json' with { type: 'json' }
|
|
19
|
+
addSchema('ContactGetOutput', ContactGetOutput, '@pikku/addon-autopilot')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
import * as ContactDeleteInput from './schemas/ContactDeleteInput.schema.json' with { type: 'json' }
|
|
23
|
+
addSchema('ContactDeleteInput', ContactDeleteInput, '@pikku/addon-autopilot')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import * as ContactDeleteOutput from './schemas/ContactDeleteOutput.schema.json' with { type: 'json' }
|
|
27
|
+
addSchema('ContactDeleteOutput', ContactDeleteOutput, '@pikku/addon-autopilot')
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
import * as ContactGetAllInput from './schemas/ContactGetAllInput.schema.json' with { type: 'json' }
|
|
31
|
+
addSchema('ContactGetAllInput', ContactGetAllInput, '@pikku/addon-autopilot')
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
import * as ContactGetAllOutput from './schemas/ContactGetAllOutput.schema.json' with { type: 'json' }
|
|
35
|
+
addSchema('ContactGetAllOutput', ContactGetAllOutput, '@pikku/addon-autopilot')
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
import * as ContactJourneyAddInput from './schemas/ContactJourneyAddInput.schema.json' with { type: 'json' }
|
|
39
|
+
addSchema('ContactJourneyAddInput', ContactJourneyAddInput, '@pikku/addon-autopilot')
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
import * as ContactJourneyAddOutput from './schemas/ContactJourneyAddOutput.schema.json' with { type: 'json' }
|
|
43
|
+
addSchema('ContactJourneyAddOutput', ContactJourneyAddOutput, '@pikku/addon-autopilot')
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
import * as ContactListExistInput from './schemas/ContactListExistInput.schema.json' with { type: 'json' }
|
|
47
|
+
addSchema('ContactListExistInput', ContactListExistInput, '@pikku/addon-autopilot')
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
import * as ContactListExistOutput from './schemas/ContactListExistOutput.schema.json' with { type: 'json' }
|
|
51
|
+
addSchema('ContactListExistOutput', ContactListExistOutput, '@pikku/addon-autopilot')
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
import * as ContactListAddInput from './schemas/ContactListAddInput.schema.json' with { type: 'json' }
|
|
55
|
+
addSchema('ContactListAddInput', ContactListAddInput, '@pikku/addon-autopilot')
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
import * as ContactListAddOutput from './schemas/ContactListAddOutput.schema.json' with { type: 'json' }
|
|
59
|
+
addSchema('ContactListAddOutput', ContactListAddOutput, '@pikku/addon-autopilot')
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
import * as ContactListRemoveInput from './schemas/ContactListRemoveInput.schema.json' with { type: 'json' }
|
|
63
|
+
addSchema('ContactListRemoveInput', ContactListRemoveInput, '@pikku/addon-autopilot')
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
import * as ContactListRemoveOutput from './schemas/ContactListRemoveOutput.schema.json' with { type: 'json' }
|
|
67
|
+
addSchema('ContactListRemoveOutput', ContactListRemoveOutput, '@pikku/addon-autopilot')
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
import * as ContactListGetAllInput from './schemas/ContactListGetAllInput.schema.json' with { type: 'json' }
|
|
71
|
+
addSchema('ContactListGetAllInput', ContactListGetAllInput, '@pikku/addon-autopilot')
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
import * as ContactListGetAllOutput from './schemas/ContactListGetAllOutput.schema.json' with { type: 'json' }
|
|
75
|
+
addSchema('ContactListGetAllOutput', ContactListGetAllOutput, '@pikku/addon-autopilot')
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
import * as ListCreateInput from './schemas/ListCreateInput.schema.json' with { type: 'json' }
|
|
79
|
+
addSchema('ListCreateInput', ListCreateInput, '@pikku/addon-autopilot')
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
import * as ListCreateOutput from './schemas/ListCreateOutput.schema.json' with { type: 'json' }
|
|
83
|
+
addSchema('ListCreateOutput', ListCreateOutput, '@pikku/addon-autopilot')
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
import * as ListGetAllOutput from './schemas/ListGetAllOutput.schema.json' with { type: 'json' }
|
|
87
|
+
addSchema('ListGetAllOutput', ListGetAllOutput, '@pikku/addon-autopilot')
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
import * as CredentialSchema_autopilot from './schemas/CredentialSchema_autopilot.schema.json' with { type: 'json' }
|
|
91
|
+
addSchema('CredentialSchema_autopilot', CredentialSchema_autopilot, '@pikku/addon-autopilot')
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
import * as VariableSchema_AUTOPILOT_BASE_URL from './schemas/VariableSchema_AUTOPILOT_BASE_URL.schema.json' with { type: 'json' }
|
|
95
|
+
addSchema('VariableSchema_AUTOPILOT_BASE_URL', VariableSchema_AUTOPILOT_BASE_URL, '@pikku/addon-autopilot')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contactId":{"type":"string"}},"required":["contactId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"type":"number"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contactId":{"type":"string"}},"required":["contactId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"triggerId":{"type":"string"},"contactId":{"type":"string"}},"required":["triggerId","contactId"],"additionalProperties":false}
|