@pikku/addon-aws-transcribe 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 +118 -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 +78 -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 +14 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +14 -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 +132 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +136 -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 +6 -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 +25 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +43 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_awsTranscribe.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TranscriptionJobGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_AWS_TRANSCRIBE_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/aws-transcribe-api.service.d.ts +10 -0
- package/dist/src/aws-transcribe-api.service.d.ts.map +1 -0
- package/dist/src/aws-transcribe-api.service.js +95 -0
- package/dist/src/aws-transcribe-api.service.js.map +1 -0
- package/dist/src/aws-transcribe.credential.d.ts +5 -0
- package/dist/src/aws-transcribe.credential.d.ts.map +1 -0
- package/dist/src/aws-transcribe.credential.js +13 -0
- package/dist/src/aws-transcribe.credential.js.map +1 -0
- package/dist/src/aws-transcribe.types.d.ts +7 -0
- package/dist/src/aws-transcribe.types.d.ts.map +1 -0
- package/dist/src/aws-transcribe.types.js +8 -0
- package/dist/src/aws-transcribe.types.js.map +1 -0
- package/dist/src/aws-transcribe.variable.d.ts +5 -0
- package/dist/src/aws-transcribe.variable.d.ts.map +1 -0
- package/dist/src/aws-transcribe.variable.js +11 -0
- package/dist/src/aws-transcribe.variable.js.map +1 -0
- package/dist/src/functions/transcriptionJobCreate.function.d.ts +37 -0
- package/dist/src/functions/transcriptionJobCreate.function.d.ts.map +1 -0
- package/dist/src/functions/transcriptionJobCreate.function.js +21 -0
- package/dist/src/functions/transcriptionJobCreate.function.js.map +1 -0
- package/dist/src/functions/transcriptionJobDelete.function.d.ts +21 -0
- package/dist/src/functions/transcriptionJobDelete.function.d.ts.map +1 -0
- package/dist/src/functions/transcriptionJobDelete.function.js +17 -0
- package/dist/src/functions/transcriptionJobDelete.function.js.map +1 -0
- package/dist/src/functions/transcriptionJobGet.function.d.ts +25 -0
- package/dist/src/functions/transcriptionJobGet.function.d.ts.map +1 -0
- package/dist/src/functions/transcriptionJobGet.function.js +18 -0
- package/dist/src/functions/transcriptionJobGet.function.js.map +1 -0
- package/dist/src/functions/transcriptionJobGetAll.function.d.ts +29 -0
- package/dist/src/functions/transcriptionJobGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/transcriptionJobGetAll.function.js +19 -0
- package/dist/src/functions/transcriptionJobGetAll.function.js.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +5 -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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
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 CredentialSchema_awsTranscribe = {
|
|
13
|
+
/** AWS Transcribe API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type TranscriptionJobCreateInput = {
|
|
17
|
+
TranscriptionJobName?: string | undefined;
|
|
18
|
+
LanguageCode?: string | undefined;
|
|
19
|
+
MediaFileUri?: string | undefined;
|
|
20
|
+
IdentifyLanguage?: boolean | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type TranscriptionJobCreateOutput = {
|
|
23
|
+
TranscriptionJobName?: string | undefined;
|
|
24
|
+
TranscriptionJobStatus?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export type TranscriptionJobDeleteInput = {
|
|
27
|
+
TranscriptionJobName?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type TranscriptionJobDeleteOutput = {
|
|
30
|
+
success?: boolean | undefined;
|
|
31
|
+
}
|
|
32
|
+
export type TranscriptionJobGetAllInput = {
|
|
33
|
+
Status?: string | undefined;
|
|
34
|
+
JobNameContains?: string | undefined;
|
|
35
|
+
MaxResults?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
export type TranscriptionJobGetAllOutput = {
|
|
38
|
+
TranscriptionJobSummaries?: {
|
|
39
|
+
[key: string]: unknown;
|
|
40
|
+
}[] | undefined;
|
|
41
|
+
}
|
|
42
|
+
export type TranscriptionJobGetInput = {
|
|
43
|
+
TranscriptionJobName?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
export type TranscriptionJobGetOutput = {
|
|
46
|
+
TranscriptionJobName?: string | undefined;
|
|
47
|
+
TranscriptionJobStatus?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export type VariableSchema_AWS_TRANSCRIBE_BASE_URL = "https://transcribe.us-east-1.amazonaws.com"
|
|
50
|
+
|
|
51
|
+
interface RPCHandler<I, O> {
|
|
52
|
+
input: I;
|
|
53
|
+
output: O;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type RPCMap = {
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// No addon packages, use RPCMap directly
|
|
62
|
+
export type FlattenedRPCMap = RPCMap
|
|
63
|
+
|
|
64
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
65
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
66
|
+
? false
|
|
67
|
+
: [T] extends [void | null | undefined]
|
|
68
|
+
? true
|
|
69
|
+
: false
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
73
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
74
|
+
? [name: Name]
|
|
75
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
76
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
77
|
+
|
|
78
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
79
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
80
|
+
? [name: Name]
|
|
81
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
82
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
83
|
+
|
|
84
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
85
|
+
|
|
86
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
type FlattenedAgentMap = AgentMap
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
93
|
+
|
|
94
|
+
interface AIAgentInput {
|
|
95
|
+
message: string
|
|
96
|
+
threadId: string
|
|
97
|
+
resourceId: string
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
101
|
+
name: Name,
|
|
102
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
103
|
+
options?: { startNode?: string }
|
|
104
|
+
) => Promise<{ runId: string }>
|
|
105
|
+
|
|
106
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
107
|
+
name: Name,
|
|
108
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
109
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
110
|
+
|
|
111
|
+
export type TypedWorkflowStatus = (
|
|
112
|
+
workflowName: string,
|
|
113
|
+
runId: string
|
|
114
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
115
|
+
|
|
116
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
117
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
118
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
119
|
+
name: Name,
|
|
120
|
+
input: AIAgentInput
|
|
121
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
122
|
+
|
|
123
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
124
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
125
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
126
|
+
name: Name,
|
|
127
|
+
input: AIAgentInput,
|
|
128
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
129
|
+
) => Promise<void>
|
|
130
|
+
|
|
131
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
132
|
+
|
|
@@ -0,0 +1,136 @@
|
|
|
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 CredentialSchema_awsTranscribe = {
|
|
13
|
+
/** AWS Transcribe API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type TranscriptionJobCreateInput = {
|
|
17
|
+
TranscriptionJobName?: string | undefined;
|
|
18
|
+
LanguageCode?: string | undefined;
|
|
19
|
+
MediaFileUri?: string | undefined;
|
|
20
|
+
IdentifyLanguage?: boolean | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type TranscriptionJobCreateOutput = {
|
|
23
|
+
TranscriptionJobName?: string | undefined;
|
|
24
|
+
TranscriptionJobStatus?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export type TranscriptionJobDeleteInput = {
|
|
27
|
+
TranscriptionJobName?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type TranscriptionJobDeleteOutput = {
|
|
30
|
+
success?: boolean | undefined;
|
|
31
|
+
}
|
|
32
|
+
export type TranscriptionJobGetAllInput = {
|
|
33
|
+
Status?: string | undefined;
|
|
34
|
+
JobNameContains?: string | undefined;
|
|
35
|
+
MaxResults?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
export type TranscriptionJobGetAllOutput = {
|
|
38
|
+
TranscriptionJobSummaries?: {
|
|
39
|
+
[key: string]: unknown;
|
|
40
|
+
}[] | undefined;
|
|
41
|
+
}
|
|
42
|
+
export type TranscriptionJobGetInput = {
|
|
43
|
+
TranscriptionJobName?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
export type TranscriptionJobGetOutput = {
|
|
46
|
+
TranscriptionJobName?: string | undefined;
|
|
47
|
+
TranscriptionJobStatus?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export type VariableSchema_AWS_TRANSCRIBE_BASE_URL = "https://transcribe.us-east-1.amazonaws.com"
|
|
50
|
+
|
|
51
|
+
interface RPCHandler<I, O> {
|
|
52
|
+
input: I;
|
|
53
|
+
output: O;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type RPCMap = {
|
|
57
|
+
readonly 'transcriptionJobCreate': RPCHandler<TranscriptionJobCreateInput, TranscriptionJobCreateOutput>,
|
|
58
|
+
readonly 'transcriptionJobGet': RPCHandler<TranscriptionJobGetInput, TranscriptionJobGetOutput>,
|
|
59
|
+
readonly 'transcriptionJobGetAll': RPCHandler<TranscriptionJobGetAllInput, TranscriptionJobGetAllOutput>,
|
|
60
|
+
readonly 'transcriptionJobDelete': RPCHandler<TranscriptionJobDeleteInput, TranscriptionJobDeleteOutput>,
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
// No addon packages, use RPCMap directly
|
|
66
|
+
export type FlattenedRPCMap = RPCMap
|
|
67
|
+
|
|
68
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
69
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
70
|
+
? false
|
|
71
|
+
: [T] extends [void | null | undefined]
|
|
72
|
+
? true
|
|
73
|
+
: false
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
77
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
78
|
+
? [name: Name]
|
|
79
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
80
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
81
|
+
|
|
82
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
83
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
84
|
+
? [name: Name]
|
|
85
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
86
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
87
|
+
|
|
88
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
89
|
+
|
|
90
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
type FlattenedAgentMap = AgentMap
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
97
|
+
|
|
98
|
+
interface AIAgentInput {
|
|
99
|
+
message: string
|
|
100
|
+
threadId: string
|
|
101
|
+
resourceId: string
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
105
|
+
name: Name,
|
|
106
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
107
|
+
options?: { startNode?: string }
|
|
108
|
+
) => Promise<{ runId: string }>
|
|
109
|
+
|
|
110
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
111
|
+
name: Name,
|
|
112
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
113
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
114
|
+
|
|
115
|
+
export type TypedWorkflowStatus = (
|
|
116
|
+
workflowName: string,
|
|
117
|
+
runId: string
|
|
118
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
119
|
+
|
|
120
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
121
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
122
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
123
|
+
name: Name,
|
|
124
|
+
input: AIAgentInput
|
|
125
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
126
|
+
|
|
127
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
128
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
129
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
130
|
+
name: Name,
|
|
131
|
+
input: AIAgentInput,
|
|
132
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
133
|
+
) => Promise<void>
|
|
134
|
+
|
|
135
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
136
|
+
|
|
@@ -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-aws-transcribe', '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,6BAA6B,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-aws-transcribe', '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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as TranscriptionJobCreateInput from './schemas/TranscriptionJobCreateInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('TranscriptionJobCreateInput', TranscriptionJobCreateInput, '@pikku/addon-aws-transcribe');
|
|
7
|
+
import * as TranscriptionJobCreateOutput from './schemas/TranscriptionJobCreateOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('TranscriptionJobCreateOutput', TranscriptionJobCreateOutput, '@pikku/addon-aws-transcribe');
|
|
9
|
+
import * as TranscriptionJobGetInput from './schemas/TranscriptionJobGetInput.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('TranscriptionJobGetInput', TranscriptionJobGetInput, '@pikku/addon-aws-transcribe');
|
|
11
|
+
import * as TranscriptionJobGetOutput from './schemas/TranscriptionJobGetOutput.schema.json' with { type: 'json' };
|
|
12
|
+
addSchema('TranscriptionJobGetOutput', TranscriptionJobGetOutput, '@pikku/addon-aws-transcribe');
|
|
13
|
+
import * as TranscriptionJobGetAllInput from './schemas/TranscriptionJobGetAllInput.schema.json' with { type: 'json' };
|
|
14
|
+
addSchema('TranscriptionJobGetAllInput', TranscriptionJobGetAllInput, '@pikku/addon-aws-transcribe');
|
|
15
|
+
import * as TranscriptionJobGetAllOutput from './schemas/TranscriptionJobGetAllOutput.schema.json' with { type: 'json' };
|
|
16
|
+
addSchema('TranscriptionJobGetAllOutput', TranscriptionJobGetAllOutput, '@pikku/addon-aws-transcribe');
|
|
17
|
+
import * as TranscriptionJobDeleteInput from './schemas/TranscriptionJobDeleteInput.schema.json' with { type: 'json' };
|
|
18
|
+
addSchema('TranscriptionJobDeleteInput', TranscriptionJobDeleteInput, '@pikku/addon-aws-transcribe');
|
|
19
|
+
import * as TranscriptionJobDeleteOutput from './schemas/TranscriptionJobDeleteOutput.schema.json' with { type: 'json' };
|
|
20
|
+
addSchema('TranscriptionJobDeleteOutput', TranscriptionJobDeleteOutput, '@pikku/addon-aws-transcribe');
|
|
21
|
+
import * as CredentialSchema_awsTranscribe from './schemas/CredentialSchema_awsTranscribe.schema.json' with { type: 'json' };
|
|
22
|
+
addSchema('CredentialSchema_awsTranscribe', CredentialSchema_awsTranscribe, '@pikku/addon-aws-transcribe');
|
|
23
|
+
import * as VariableSchema_AWS_TRANSCRIBE_BASE_URL from './schemas/VariableSchema_AWS_TRANSCRIBE_BASE_URL.schema.json' with { type: 'json' };
|
|
24
|
+
addSchema('VariableSchema_AWS_TRANSCRIBE_BASE_URL', VariableSchema_AWS_TRANSCRIBE_BASE_URL, '@pikku/addon-aws-transcribe');
|
|
25
|
+
//# 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,2BAA2B,MAAM,mDAAmD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtH,SAAS,CAAC,6BAA6B,EAAE,2BAA2B,EAAE,6BAA6B,CAAC,CAAA;AAGpG,OAAO,KAAK,4BAA4B,MAAM,oDAAoD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,SAAS,CAAC,8BAA8B,EAAE,4BAA4B,EAAE,6BAA6B,CAAC,CAAA;AAGtG,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,6BAA6B,CAAC,CAAA;AAG9F,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,6BAA6B,CAAC,CAAA;AAGhG,OAAO,KAAK,2BAA2B,MAAM,mDAAmD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtH,SAAS,CAAC,6BAA6B,EAAE,2BAA2B,EAAE,6BAA6B,CAAC,CAAA;AAGpG,OAAO,KAAK,4BAA4B,MAAM,oDAAoD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,SAAS,CAAC,8BAA8B,EAAE,4BAA4B,EAAE,6BAA6B,CAAC,CAAA;AAGtG,OAAO,KAAK,2BAA2B,MAAM,mDAAmD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtH,SAAS,CAAC,6BAA6B,EAAE,2BAA2B,EAAE,6BAA6B,CAAC,CAAA;AAGpG,OAAO,KAAK,4BAA4B,MAAM,oDAAoD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxH,SAAS,CAAC,8BAA8B,EAAE,4BAA4B,EAAE,6BAA6B,CAAC,CAAA;AAGtG,OAAO,KAAK,8BAA8B,MAAM,sDAAsD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,SAAS,CAAC,gCAAgC,EAAE,8BAA8B,EAAE,6BAA6B,CAAC,CAAA;AAG1G,OAAO,KAAK,sCAAsC,MAAM,8DAA8D,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5I,SAAS,CAAC,wCAAwC,EAAE,sCAAsC,EAAE,6BAA6B,CAAC,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as TranscriptionJobCreateInput from './schemas/TranscriptionJobCreateInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('TranscriptionJobCreateInput', TranscriptionJobCreateInput, '@pikku/addon-aws-transcribe')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as TranscriptionJobCreateOutput from './schemas/TranscriptionJobCreateOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('TranscriptionJobCreateOutput', TranscriptionJobCreateOutput, '@pikku/addon-aws-transcribe')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as TranscriptionJobGetInput from './schemas/TranscriptionJobGetInput.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('TranscriptionJobGetInput', TranscriptionJobGetInput, '@pikku/addon-aws-transcribe')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as TranscriptionJobGetOutput from './schemas/TranscriptionJobGetOutput.schema.json' with { type: 'json' }
|
|
19
|
+
addSchema('TranscriptionJobGetOutput', TranscriptionJobGetOutput, '@pikku/addon-aws-transcribe')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
import * as TranscriptionJobGetAllInput from './schemas/TranscriptionJobGetAllInput.schema.json' with { type: 'json' }
|
|
23
|
+
addSchema('TranscriptionJobGetAllInput', TranscriptionJobGetAllInput, '@pikku/addon-aws-transcribe')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import * as TranscriptionJobGetAllOutput from './schemas/TranscriptionJobGetAllOutput.schema.json' with { type: 'json' }
|
|
27
|
+
addSchema('TranscriptionJobGetAllOutput', TranscriptionJobGetAllOutput, '@pikku/addon-aws-transcribe')
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
import * as TranscriptionJobDeleteInput from './schemas/TranscriptionJobDeleteInput.schema.json' with { type: 'json' }
|
|
31
|
+
addSchema('TranscriptionJobDeleteInput', TranscriptionJobDeleteInput, '@pikku/addon-aws-transcribe')
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
import * as TranscriptionJobDeleteOutput from './schemas/TranscriptionJobDeleteOutput.schema.json' with { type: 'json' }
|
|
35
|
+
addSchema('TranscriptionJobDeleteOutput', TranscriptionJobDeleteOutput, '@pikku/addon-aws-transcribe')
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
import * as CredentialSchema_awsTranscribe from './schemas/CredentialSchema_awsTranscribe.schema.json' with { type: 'json' }
|
|
39
|
+
addSchema('CredentialSchema_awsTranscribe', CredentialSchema_awsTranscribe, '@pikku/addon-aws-transcribe')
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
import * as VariableSchema_AWS_TRANSCRIBE_BASE_URL from './schemas/VariableSchema_AWS_TRANSCRIBE_BASE_URL.schema.json' with { type: 'json' }
|
|
43
|
+
addSchema('VariableSchema_AWS_TRANSCRIBE_BASE_URL', VariableSchema_AWS_TRANSCRIBE_BASE_URL, '@pikku/addon-aws-transcribe')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"string","description":"AWS Transcribe API key"}},"required":["apiKey"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"TranscriptionJobName":{"type":"string"},"LanguageCode":{"type":"string"},"MediaFileUri":{"type":"string"},"IdentifyLanguage":{"type":"boolean"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"TranscriptionJobName":{"type":"string"},"TranscriptionJobStatus":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"TranscriptionJobName":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"success":{"type":"boolean"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"Status":{"type":"string"},"JobNameContains":{"type":"string"},"MaxResults":{"type":"number"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"TranscriptionJobSummaries":{"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":{"TranscriptionJobName":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"TranscriptionJobName":{"type":"string"},"TranscriptionJobStatus":{"type":"string"}},"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://transcribe.us-east-1.amazonaws.com","type":"string","enum":["https://transcribe.us-east-1.amazonaws.com"]}
|
|
@@ -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
|
+
}
|