@pikku/addon-dropcontact 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 +60 -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 +40 -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 +10 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +10 -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 +131 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +133 -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 +4 -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 +17 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +27 -0
- package/dist/.pikku/schemas/schemas/ContactEnrichInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactEnrichOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactFetchRequestInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ContactFetchRequestOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_dropcontact.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_DROPCONTACT_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/dropcontact-api.service.d.ts +10 -0
- package/dist/src/dropcontact-api.service.d.ts.map +1 -0
- package/dist/src/dropcontact-api.service.js +87 -0
- package/dist/src/dropcontact-api.service.js.map +1 -0
- package/dist/src/dropcontact.credential.d.ts +5 -0
- package/dist/src/dropcontact.credential.d.ts.map +1 -0
- package/dist/src/dropcontact.credential.js +13 -0
- package/dist/src/dropcontact.credential.js.map +1 -0
- package/dist/src/dropcontact.types.d.ts +7 -0
- package/dist/src/dropcontact.types.d.ts.map +1 -0
- package/dist/src/dropcontact.types.js +8 -0
- package/dist/src/dropcontact.types.js.map +1 -0
- package/dist/src/dropcontact.variable.d.ts +5 -0
- package/dist/src/dropcontact.variable.d.ts.map +1 -0
- package/dist/src/dropcontact.variable.js +11 -0
- package/dist/src/dropcontact.variable.js.map +1 -0
- package/dist/src/functions/contactEnrich.function.d.ts +85 -0
- package/dist/src/functions/contactEnrich.function.d.ts.map +1 -0
- package/dist/src/functions/contactEnrich.function.js +33 -0
- package/dist/src/functions/contactEnrich.function.js.map +1 -0
- package/dist/src/functions/contactFetchRequest.function.d.ts +29 -0
- package/dist/src/functions/contactFetchRequest.function.d.ts.map +1 -0
- package/dist/src/functions/contactFetchRequest.function.js +19 -0
- package/dist/src/functions/contactFetchRequest.function.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +3 -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,131 @@
|
|
|
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 ContactEnrichInput = {
|
|
13
|
+
data?: {
|
|
14
|
+
email?: string | undefined;
|
|
15
|
+
first_name?: string | undefined;
|
|
16
|
+
last_name?: string | undefined;
|
|
17
|
+
full_name?: string | undefined;
|
|
18
|
+
company?: string | undefined;
|
|
19
|
+
website?: string | undefined;
|
|
20
|
+
linkedin?: string | undefined;
|
|
21
|
+
phone?: string | undefined;
|
|
22
|
+
country?: string | undefined;
|
|
23
|
+
num_siren?: string | undefined;
|
|
24
|
+
siret?: string | undefined;
|
|
25
|
+
}[] | undefined;
|
|
26
|
+
siren?: boolean | undefined;
|
|
27
|
+
language?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type ContactEnrichOutput = {
|
|
30
|
+
success?: boolean | undefined;
|
|
31
|
+
request_id?: string | undefined;
|
|
32
|
+
reason?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export type ContactFetchRequestInput = {
|
|
35
|
+
requestId: string;
|
|
36
|
+
}
|
|
37
|
+
export type ContactFetchRequestOutput = {
|
|
38
|
+
success?: boolean | undefined;
|
|
39
|
+
reason?: string | undefined;
|
|
40
|
+
data?: {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}[] | undefined;
|
|
43
|
+
}
|
|
44
|
+
export type CredentialSchema_dropcontact = {
|
|
45
|
+
/** Dropcontact API key */
|
|
46
|
+
apiKey: string;
|
|
47
|
+
}
|
|
48
|
+
export type VariableSchema_DROPCONTACT_BASE_URL = "https://api.dropcontact.io"
|
|
49
|
+
|
|
50
|
+
interface RPCHandler<I, O> {
|
|
51
|
+
input: I;
|
|
52
|
+
output: O;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type RPCMap = {
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
// No addon packages, use RPCMap directly
|
|
61
|
+
export type FlattenedRPCMap = RPCMap
|
|
62
|
+
|
|
63
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
64
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
65
|
+
? false
|
|
66
|
+
: [T] extends [void | null | undefined]
|
|
67
|
+
? true
|
|
68
|
+
: false
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
72
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
73
|
+
? [name: Name]
|
|
74
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
75
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
76
|
+
|
|
77
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
78
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
79
|
+
? [name: Name]
|
|
80
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
81
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
82
|
+
|
|
83
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
84
|
+
|
|
85
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
type FlattenedAgentMap = AgentMap
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
92
|
+
|
|
93
|
+
interface AIAgentInput {
|
|
94
|
+
message: string
|
|
95
|
+
threadId: string
|
|
96
|
+
resourceId: string
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
100
|
+
name: Name,
|
|
101
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
102
|
+
options?: { startNode?: string }
|
|
103
|
+
) => Promise<{ runId: string }>
|
|
104
|
+
|
|
105
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
106
|
+
name: Name,
|
|
107
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
108
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
109
|
+
|
|
110
|
+
export type TypedWorkflowStatus = (
|
|
111
|
+
workflowName: string,
|
|
112
|
+
runId: string
|
|
113
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
114
|
+
|
|
115
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
116
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
117
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
118
|
+
name: Name,
|
|
119
|
+
input: AIAgentInput
|
|
120
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
121
|
+
|
|
122
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
123
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
124
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
125
|
+
name: Name,
|
|
126
|
+
input: AIAgentInput,
|
|
127
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
128
|
+
) => Promise<void>
|
|
129
|
+
|
|
130
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
131
|
+
|
|
@@ -0,0 +1,133 @@
|
|
|
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 ContactEnrichInput = {
|
|
13
|
+
data?: {
|
|
14
|
+
email?: string | undefined;
|
|
15
|
+
first_name?: string | undefined;
|
|
16
|
+
last_name?: string | undefined;
|
|
17
|
+
full_name?: string | undefined;
|
|
18
|
+
company?: string | undefined;
|
|
19
|
+
website?: string | undefined;
|
|
20
|
+
linkedin?: string | undefined;
|
|
21
|
+
phone?: string | undefined;
|
|
22
|
+
country?: string | undefined;
|
|
23
|
+
num_siren?: string | undefined;
|
|
24
|
+
siret?: string | undefined;
|
|
25
|
+
}[] | undefined;
|
|
26
|
+
siren?: boolean | undefined;
|
|
27
|
+
language?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type ContactEnrichOutput = {
|
|
30
|
+
success?: boolean | undefined;
|
|
31
|
+
request_id?: string | undefined;
|
|
32
|
+
reason?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
export type ContactFetchRequestInput = {
|
|
35
|
+
requestId: string;
|
|
36
|
+
}
|
|
37
|
+
export type ContactFetchRequestOutput = {
|
|
38
|
+
success?: boolean | undefined;
|
|
39
|
+
reason?: string | undefined;
|
|
40
|
+
data?: {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}[] | undefined;
|
|
43
|
+
}
|
|
44
|
+
export type CredentialSchema_dropcontact = {
|
|
45
|
+
/** Dropcontact API key */
|
|
46
|
+
apiKey: string;
|
|
47
|
+
}
|
|
48
|
+
export type VariableSchema_DROPCONTACT_BASE_URL = "https://api.dropcontact.io"
|
|
49
|
+
|
|
50
|
+
interface RPCHandler<I, O> {
|
|
51
|
+
input: I;
|
|
52
|
+
output: O;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type RPCMap = {
|
|
56
|
+
readonly 'contactEnrich': RPCHandler<ContactEnrichInput, ContactEnrichOutput>,
|
|
57
|
+
readonly 'contactFetchRequest': RPCHandler<ContactFetchRequestInput, ContactFetchRequestOutput>,
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// No addon packages, use RPCMap directly
|
|
63
|
+
export type FlattenedRPCMap = RPCMap
|
|
64
|
+
|
|
65
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
66
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
67
|
+
? false
|
|
68
|
+
: [T] extends [void | null | undefined]
|
|
69
|
+
? true
|
|
70
|
+
: false
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
74
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
75
|
+
? [name: Name]
|
|
76
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
77
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
78
|
+
|
|
79
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
80
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
81
|
+
? [name: Name]
|
|
82
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
83
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
84
|
+
|
|
85
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
86
|
+
|
|
87
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
type FlattenedAgentMap = AgentMap
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
94
|
+
|
|
95
|
+
interface AIAgentInput {
|
|
96
|
+
message: string
|
|
97
|
+
threadId: string
|
|
98
|
+
resourceId: string
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
102
|
+
name: Name,
|
|
103
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
104
|
+
options?: { startNode?: string }
|
|
105
|
+
) => Promise<{ runId: string }>
|
|
106
|
+
|
|
107
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
108
|
+
name: Name,
|
|
109
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
110
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
111
|
+
|
|
112
|
+
export type TypedWorkflowStatus = (
|
|
113
|
+
workflowName: string,
|
|
114
|
+
runId: string
|
|
115
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
116
|
+
|
|
117
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
118
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
119
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
120
|
+
name: Name,
|
|
121
|
+
input: AIAgentInput
|
|
122
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
123
|
+
|
|
124
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
125
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
126
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
127
|
+
name: Name,
|
|
128
|
+
input: AIAgentInput,
|
|
129
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
130
|
+
) => Promise<void>
|
|
131
|
+
|
|
132
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
133
|
+
|
|
@@ -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-dropcontact', '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,0BAA0B,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -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-dropcontact', '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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as ContactEnrichInput from './schemas/ContactEnrichInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('ContactEnrichInput', ContactEnrichInput, '@pikku/addon-dropcontact');
|
|
7
|
+
import * as ContactEnrichOutput from './schemas/ContactEnrichOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('ContactEnrichOutput', ContactEnrichOutput, '@pikku/addon-dropcontact');
|
|
9
|
+
import * as ContactFetchRequestInput from './schemas/ContactFetchRequestInput.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('ContactFetchRequestInput', ContactFetchRequestInput, '@pikku/addon-dropcontact');
|
|
11
|
+
import * as ContactFetchRequestOutput from './schemas/ContactFetchRequestOutput.schema.json' with { type: 'json' };
|
|
12
|
+
addSchema('ContactFetchRequestOutput', ContactFetchRequestOutput, '@pikku/addon-dropcontact');
|
|
13
|
+
import * as CredentialSchema_dropcontact from './schemas/CredentialSchema_dropcontact.schema.json' with { type: 'json' };
|
|
14
|
+
addSchema('CredentialSchema_dropcontact', CredentialSchema_dropcontact, '@pikku/addon-dropcontact');
|
|
15
|
+
import * as VariableSchema_DROPCONTACT_BASE_URL from './schemas/VariableSchema_DROPCONTACT_BASE_URL.schema.json' with { type: 'json' };
|
|
16
|
+
addSchema('VariableSchema_DROPCONTACT_BASE_URL', VariableSchema_DROPCONTACT_BASE_URL, '@pikku/addon-dropcontact');
|
|
17
|
+
//# sourceMappingURL=register.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,0BAA0B,CAAC,CAAA;AAG/E,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,0BAA0B,CAAC,CAAA;AAGjF,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,0BAA0B,CAAC,CAAA;AAG3F,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,0BAA0B,CAAC,CAAA;AAG7F,OAAO,KAAK,4BAA4B,MAAM,oDAAoD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,SAAS,CAAC,8BAA8B,EAAE,4BAA4B,EAAE,0BAA0B,CAAC,CAAA;AAGnG,OAAO,KAAK,mCAAmC,MAAM,2DAA2D,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtI,SAAS,CAAC,qCAAqC,EAAE,mCAAmC,EAAE,0BAA0B,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as ContactEnrichInput from './schemas/ContactEnrichInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('ContactEnrichInput', ContactEnrichInput, '@pikku/addon-dropcontact')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as ContactEnrichOutput from './schemas/ContactEnrichOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('ContactEnrichOutput', ContactEnrichOutput, '@pikku/addon-dropcontact')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as ContactFetchRequestInput from './schemas/ContactFetchRequestInput.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('ContactFetchRequestInput', ContactFetchRequestInput, '@pikku/addon-dropcontact')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as ContactFetchRequestOutput from './schemas/ContactFetchRequestOutput.schema.json' with { type: 'json' }
|
|
19
|
+
addSchema('ContactFetchRequestOutput', ContactFetchRequestOutput, '@pikku/addon-dropcontact')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
import * as CredentialSchema_dropcontact from './schemas/CredentialSchema_dropcontact.schema.json' with { type: 'json' }
|
|
23
|
+
addSchema('CredentialSchema_dropcontact', CredentialSchema_dropcontact, '@pikku/addon-dropcontact')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import * as VariableSchema_DROPCONTACT_BASE_URL from './schemas/VariableSchema_DROPCONTACT_BASE_URL.schema.json' with { type: 'json' }
|
|
27
|
+
addSchema('VariableSchema_DROPCONTACT_BASE_URL', VariableSchema_DROPCONTACT_BASE_URL, '@pikku/addon-dropcontact')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"full_name":{"type":"string"},"company":{"type":"string"},"website":{"type":"string"},"linkedin":{"type":"string"},"phone":{"type":"string"},"country":{"type":"string"},"num_siren":{"type":"string"},"siret":{"type":"string"}},"additionalProperties":false}},"siren":{"type":"boolean"},"language":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"},"request_id":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string"}},"required":["requestId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"},"reason":{"type":"string"},"data":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"string","description":"Dropcontact API key"}},"required":["apiKey"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://api.dropcontact.io","type":"string","enum":["https://api.dropcontact.io"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
import type { SecretService } from '@pikku/core/services';
|
|
6
|
+
export interface CredentialsMap {
|
|
7
|
+
}
|
|
8
|
+
export type SecretId = keyof CredentialsMap;
|
|
9
|
+
export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
10
|
+
constructor(secrets: SecretService);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=pikku-secrets.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,WAAW,cAAc;CAE9B;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
const CREDENTIALS_META = {};
|
|
6
|
+
export class TypedSecretService extends CoreTypedSecretService {
|
|
7
|
+
constructor(secrets) {
|
|
8
|
+
super(secrets, CREDENTIALS_META);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=pikku-secrets.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AASxG,MAAM,gBAAgB,GAAmC,EAExD,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
|
|
5
|
+
import type { SecretService } from '@pikku/core/services'
|
|
6
|
+
|
|
7
|
+
export interface CredentialsMap {
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type SecretId = keyof CredentialsMap
|
|
12
|
+
|
|
13
|
+
const CREDENTIALS_META: Record<string, CredentialMeta> = {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
18
|
+
constructor(secrets: SecretService) {
|
|
19
|
+
super(secrets, CREDENTIALS_META)
|
|
20
|
+
}
|
|
21
|
+
}
|