@apergrex/n8n-nodes-franklab 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +162 -0
  3. package/dist/credentials/FrankLabApi.credentials.d.ts +9 -0
  4. package/dist/credentials/FrankLabApi.credentials.js +50 -0
  5. package/dist/credentials/FrankLabApi.credentials.js.map +1 -0
  6. package/dist/credentials/franklab.svg +4 -0
  7. package/dist/nodes/C2pa/C2pa.node.json +10 -0
  8. package/dist/nodes/C2pa/FrankLabC2pa.node.d.ts +5 -0
  9. package/dist/nodes/C2pa/FrankLabC2pa.node.js +58 -0
  10. package/dist/nodes/C2pa/FrankLabC2pa.node.js.map +1 -0
  11. package/dist/nodes/C2pa/c2pa.svg +5 -0
  12. package/dist/nodes/Holst/FrankLabHolst.node.d.ts +5 -0
  13. package/dist/nodes/Holst/FrankLabHolst.node.js +99 -0
  14. package/dist/nodes/Holst/FrankLabHolst.node.js.map +1 -0
  15. package/dist/nodes/Holst/Holst.node.json +10 -0
  16. package/dist/nodes/Holst/holst.svg +6 -0
  17. package/dist/nodes/Kley/FrankLabKley.node.d.ts +5 -0
  18. package/dist/nodes/Kley/FrankLabKley.node.js +95 -0
  19. package/dist/nodes/Kley/FrankLabKley.node.js.map +1 -0
  20. package/dist/nodes/Kley/Kley.node.json +10 -0
  21. package/dist/nodes/Kley/kley.svg +6 -0
  22. package/dist/nodes/Plastinka/FrankLabPlastinka.node.d.ts +5 -0
  23. package/dist/nodes/Plastinka/FrankLabPlastinka.node.js +112 -0
  24. package/dist/nodes/Plastinka/FrankLabPlastinka.node.js.map +1 -0
  25. package/dist/nodes/Plastinka/Plastinka.node.json +10 -0
  26. package/dist/nodes/Plastinka/plastinka.svg +6 -0
  27. package/dist/nodes/Volna/FrankLabVolna.node.d.ts +5 -0
  28. package/dist/nodes/Volna/FrankLabVolna.node.js +246 -0
  29. package/dist/nodes/Volna/FrankLabVolna.node.js.map +1 -0
  30. package/dist/nodes/Volna/Volna.node.json +10 -0
  31. package/dist/nodes/Volna/volna.svg +5 -0
  32. package/dist/nodes/shared/client.d.ts +30 -0
  33. package/dist/nodes/shared/client.js +215 -0
  34. package/dist/nodes/shared/client.js.map +1 -0
  35. package/dist/nodes/shared/node-utils.d.ts +7 -0
  36. package/dist/nodes/shared/node-utils.js +191 -0
  37. package/dist/nodes/shared/node-utils.js.map +1 -0
  38. package/dist/nodes/shared/redaction.d.ts +1 -0
  39. package/dist/nodes/shared/redaction.js +48 -0
  40. package/dist/nodes/shared/redaction.js.map +1 -0
  41. package/dist/nodes/shared/registry.d.ts +29 -0
  42. package/dist/nodes/shared/registry.js +584 -0
  43. package/dist/nodes/shared/registry.js.map +1 -0
  44. package/dist/nodes/shared/status.d.ts +4 -0
  45. package/dist/nodes/shared/status.js +20 -0
  46. package/dist/nodes/shared/status.js.map +1 -0
  47. package/dist/nodes/shared/url.d.ts +4 -0
  48. package/dist/nodes/shared/url.js +164 -0
  49. package/dist/nodes/shared/url.js.map +1 -0
  50. package/dist/package.json +59 -0
  51. package/examples/holst-image-info.workflow.json +19 -0
  52. package/package.json +59 -0
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FrankLabPlastinka = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const node_utils_1 = require("../shared/node-utils");
6
+ class FrankLabPlastinka {
7
+ constructor() {
8
+ this.description = {
9
+ displayName: 'FrankLab PLASTINKA',
10
+ name: 'frankLabPlastinka',
11
+ icon: 'file:plastinka.svg',
12
+ group: ['transform'],
13
+ version: 1,
14
+ description: 'Process audio and manage audio samples with FrankLab PLASTINKA.',
15
+ defaults: {
16
+ name: 'FrankLab PLASTINKA',
17
+ },
18
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
19
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
20
+ credentials: [
21
+ {
22
+ name: 'frankLabApi',
23
+ required: true,
24
+ },
25
+ ],
26
+ usableAsTool: true,
27
+ properties: [
28
+ {
29
+ displayName: 'Operation',
30
+ name: 'operation',
31
+ type: 'options',
32
+ noDataExpression: true,
33
+ default: 'processAudio',
34
+ options: [
35
+ { name: 'Get Job Status', value: 'getStatus' },
36
+ { name: 'List Samples', value: 'listSamples' },
37
+ { name: 'Process Audio', value: 'processAudio' },
38
+ { name: 'Save Sample', value: 'saveSample' },
39
+ ],
40
+ },
41
+ {
42
+ displayName: 'Video URL',
43
+ name: 'videoUrl',
44
+ type: 'string',
45
+ default: '',
46
+ required: true,
47
+ displayOptions: { show: { operation: ['processAudio'] } },
48
+ },
49
+ {
50
+ displayName: 'Audio URL',
51
+ name: 'audioUrl',
52
+ type: 'string',
53
+ default: '',
54
+ displayOptions: { show: { operation: ['processAudio'] } },
55
+ },
56
+ {
57
+ displayName: 'Sample URL',
58
+ name: 'sampleUrl',
59
+ type: 'string',
60
+ default: '',
61
+ displayOptions: { show: { operation: ['saveSample'] } },
62
+ },
63
+ {
64
+ displayName: 'Audio Operation',
65
+ name: 'operationName',
66
+ type: 'options',
67
+ default: 'probe',
68
+ options: [
69
+ { name: 'Convert', value: 'convert' },
70
+ { name: 'Extract', value: 'extract' },
71
+ { name: 'Fade', value: 'fade' },
72
+ { name: 'Fit', value: 'fit' },
73
+ { name: 'Merge', value: 'merge' },
74
+ { name: 'Normalize', value: 'normalize' },
75
+ { name: 'Overlay', value: 'overlay' },
76
+ { name: 'Probe', value: 'probe' },
77
+ { name: 'Remove', value: 'remove' },
78
+ { name: 'Replace', value: 'replace' },
79
+ { name: 'Replace Tags', value: 'replace_tags' },
80
+ { name: 'Speed', value: 'speed' },
81
+ { name: 'Strip Tags', value: 'strip_tags' },
82
+ { name: 'Trim', value: 'trim' },
83
+ { name: 'Write Tags', value: 'write_tags' },
84
+ ],
85
+ displayOptions: { show: { operation: ['processAudio'] } },
86
+ },
87
+ {
88
+ displayName: 'Sample ID',
89
+ name: 'sampleId',
90
+ type: 'string',
91
+ default: '',
92
+ displayOptions: { show: { operation: ['processAudio'] } },
93
+ },
94
+ {
95
+ displayName: 'Sample Name',
96
+ name: 'name',
97
+ type: 'string',
98
+ default: '',
99
+ displayOptions: { show: { operation: ['saveSample'] } },
100
+ },
101
+ node_utils_1.jobIdProperty,
102
+ node_utils_1.payloadProperty,
103
+ node_utils_1.waitProperty,
104
+ ],
105
+ };
106
+ }
107
+ async execute() {
108
+ return (0, node_utils_1.executeFrankLabModule)(this, 'plastinka', 'getStatus');
109
+ }
110
+ }
111
+ exports.FrankLabPlastinka = FrankLabPlastinka;
112
+ //# sourceMappingURL=FrankLabPlastinka.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FrankLabPlastinka.node.js","sourceRoot":"","sources":["../../../nodes/Plastinka/FrankLabPlastinka.node.ts"],"names":[],"mappings":";;;AACA,+CAAmD;AACnD,qDAA2G;AAE3G,MAAa,iBAAiB;IAA9B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,mBAAmB;YACzB,IAAI,EAAE,oBAAoB;YAC1B,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,iEAAiE;YAC9E,QAAQ,EAAE;gBACT,IAAI,EAAE,oBAAoB;aAC1B;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE,cAAc;oBACvB,OAAO,EAAE;wBACR,EA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ACZ;SACD,CAAC;IAKH,CAAC;IAHA,KAAK,CAAC,OAAO;QACZ,OAAO,IAAA,kCAAqB,EAAC,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;CACD;AAvGD,8CAuGC"}
@@ -0,0 +1,10 @@
1
+ {
2
+ "node": "n8n-nodes-base.frankLabPlastinka",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Marketing & Content", "Utility"],
6
+ "resources": {
7
+ "credentialDocumentation": [{ "url": "https://github.com/d906090-rgb/n8n-nodes-franklab#credentials" }],
8
+ "primaryDocumentation": [{ "url": "https://github.com/d906090-rgb/n8n-nodes-franklab#plastinka" }]
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="FrankLab PLASTINKA">
2
+ <rect width="64" height="64" rx="8" fill="#111827"/>
3
+ <circle cx="32" cy="32" r="22" fill="#e5e7eb"/>
4
+ <circle cx="32" cy="32" r="9" fill="#111827"/>
5
+ <circle cx="32" cy="32" r="3" fill="#f59e0b"/>
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class FrankLabVolna implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,246 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FrankLabVolna = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const node_utils_1 = require("../shared/node-utils");
6
+ class FrankLabVolna {
7
+ constructor() {
8
+ this.description = {
9
+ displayName: 'FrankLab VOLNA',
10
+ name: 'frankLabVolna',
11
+ icon: 'file:volna.svg',
12
+ group: ['transform'],
13
+ version: 1,
14
+ description: 'Generate and process speech, voice, dubbing, and audio with FrankLab VOLNA.',
15
+ defaults: {
16
+ name: 'FrankLab VOLNA',
17
+ },
18
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
19
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
20
+ credentials: [
21
+ {
22
+ name: 'frankLabApi',
23
+ required: true,
24
+ },
25
+ ],
26
+ usableAsTool: true,
27
+ properties: [
28
+ {
29
+ displayName: 'Resource',
30
+ name: 'resource',
31
+ type: 'options',
32
+ noDataExpression: true,
33
+ default: 'speech',
34
+ options: [
35
+ { name: 'Audio', value: 'audio' },
36
+ { name: 'Dubbing', value: 'dubbing' },
37
+ { name: 'Model', value: 'model' },
38
+ { name: 'Speech', value: 'speech' },
39
+ { name: 'Task', value: 'task' },
40
+ { name: 'Usage', value: 'usage' },
41
+ { name: 'Voice', value: 'voice' },
42
+ ],
43
+ },
44
+ {
45
+ displayName: 'Operation',
46
+ name: 'operation',
47
+ type: 'options',
48
+ noDataExpression: true,
49
+ default: 'audioIsolation',
50
+ displayOptions: { show: { resource: ['audio'] } },
51
+ options: [
52
+ { name: 'Audio Isolation', value: 'audioIsolation', action: 'Audio isolation an audio' },
53
+ { name: 'Sound Effect', value: 'soundEffect', action: 'Sound effect an audio' },
54
+ ],
55
+ },
56
+ {
57
+ displayName: 'Operation',
58
+ name: 'operation',
59
+ type: 'options',
60
+ noDataExpression: true,
61
+ default: 'dubbing',
62
+ displayOptions: { show: { resource: ['dubbing'] } },
63
+ options: [
64
+ { name: 'Dubbing', value: 'dubbing', action: 'Create a dubbing job' },
65
+ { name: 'Get Dubbing Status', value: 'getDubbing', action: 'Get dubbing status' },
66
+ ],
67
+ },
68
+ {
69
+ displayName: 'Operation',
70
+ name: 'operation',
71
+ type: 'options',
72
+ noDataExpression: true,
73
+ default: 'listModels',
74
+ displayOptions: { show: { resource: ['model'] } },
75
+ options: [{ name: 'List Models', value: 'listModels', action: 'List models a model' }],
76
+ },
77
+ {
78
+ displayName: 'Operation',
79
+ name: 'operation',
80
+ type: 'options',
81
+ noDataExpression: true,
82
+ default: 'textToSpeech',
83
+ displayOptions: { show: { resource: ['speech'] } },
84
+ options: [
85
+ { name: 'Google 3.1 TTS', value: 'googleTts', action: 'Generate google tts audio' },
86
+ { name: 'Speech to Text', value: 'transcribe', action: 'Speech to text a speech' },
87
+ { name: 'Text to Dialogue', value: 'textToDialogue', action: 'Generate dialogue audio' },
88
+ { name: 'Text to Speech', value: 'textToSpeech', action: 'Text to speech a speech' },
89
+ { name: 'Text to Speech Turbo', value: 'textToSpeechTurbo', action: 'Generate turbo speech audio' },
90
+ ],
91
+ },
92
+ {
93
+ displayName: 'Operation',
94
+ name: 'operation',
95
+ type: 'options',
96
+ noDataExpression: true,
97
+ default: 'getTask',
98
+ displayOptions: { show: { resource: ['task'] } },
99
+ options: [{ name: 'Get Task', value: 'getTask', action: 'Get task a task' }],
100
+ },
101
+ {
102
+ displayName: 'Operation',
103
+ name: 'operation',
104
+ type: 'options',
105
+ noDataExpression: true,
106
+ default: 'usage',
107
+ displayOptions: { show: { resource: ['usage'] } },
108
+ options: [{ name: 'Usage', value: 'usage', action: 'Usage a usage' }],
109
+ },
110
+ {
111
+ displayName: 'Operation',
112
+ name: 'operation',
113
+ type: 'options',
114
+ noDataExpression: true,
115
+ default: 'listVoices',
116
+ displayOptions: { show: { resource: ['voice'] } },
117
+ options: [
118
+ { name: 'List Voices', value: 'listVoices', action: 'List voices a voice' },
119
+ { name: 'Save Designed Voice', value: 'voiceDesignSave', action: 'Save designed voice a voice' },
120
+ { name: 'Voice Clone', value: 'voiceClone', action: 'Voice clone a voice' },
121
+ { name: 'Voice Design', value: 'voiceDesign', action: 'Voice design a voice' },
122
+ ],
123
+ },
124
+ {
125
+ displayName: 'Text',
126
+ name: 'text',
127
+ type: 'string',
128
+ default: '',
129
+ typeOptions: { rows: 4 },
130
+ displayOptions: { show: { operation: ['textToSpeech', 'textToDialogue', 'textToSpeechTurbo', 'googleTts', 'soundEffect', 'voiceDesign'] } },
131
+ },
132
+ {
133
+ displayName: 'Voice ID',
134
+ name: 'voice_id',
135
+ type: 'string',
136
+ default: '',
137
+ displayOptions: { show: { operation: ['textToSpeech', 'textToDialogue', 'textToSpeechTurbo'] } },
138
+ },
139
+ {
140
+ displayName: 'Second Voice ID',
141
+ name: 'voice_id_2',
142
+ type: 'string',
143
+ default: '',
144
+ displayOptions: { show: { operation: ['textToDialogue'] } },
145
+ },
146
+ {
147
+ displayName: 'Google TTS Mode',
148
+ name: 'google_tts_mode',
149
+ type: 'options',
150
+ default: 'single',
151
+ displayOptions: { show: { operation: ['googleTts'] } },
152
+ options: [
153
+ { name: 'Single Speaker', value: 'single' },
154
+ { name: 'Two Speakers', value: 'multi' },
155
+ ],
156
+ },
157
+ {
158
+ displayName: 'Google Voice Name',
159
+ name: 'google_voice_name',
160
+ type: 'string',
161
+ default: 'Kore',
162
+ displayOptions: { show: { operation: ['googleTts'] } },
163
+ },
164
+ {
165
+ displayName: 'Speaker 1 Name',
166
+ name: 'speaker_1_name',
167
+ type: 'string',
168
+ default: '',
169
+ displayOptions: { show: { operation: ['googleTts'] } },
170
+ },
171
+ {
172
+ displayName: 'Speaker 1 Voice',
173
+ name: 'speaker_1_voice',
174
+ type: 'string',
175
+ default: '',
176
+ displayOptions: { show: { operation: ['googleTts'] } },
177
+ },
178
+ {
179
+ displayName: 'Speaker 2 Name',
180
+ name: 'speaker_2_name',
181
+ type: 'string',
182
+ default: '',
183
+ displayOptions: { show: { operation: ['googleTts'] } },
184
+ },
185
+ {
186
+ displayName: 'Speaker 2 Voice',
187
+ name: 'speaker_2_voice',
188
+ type: 'string',
189
+ default: '',
190
+ displayOptions: { show: { operation: ['googleTts'] } },
191
+ },
192
+ {
193
+ displayName: 'Style Prompt',
194
+ name: 'style_prompt',
195
+ type: 'string',
196
+ default: '',
197
+ typeOptions: { rows: 3 },
198
+ displayOptions: { show: { operation: ['googleTts'] } },
199
+ },
200
+ {
201
+ displayName: 'Audio URL',
202
+ name: 'audio_url',
203
+ type: 'string',
204
+ default: '',
205
+ displayOptions: { show: { operation: ['transcribe', 'audioIsolation'] } },
206
+ },
207
+ {
208
+ displayName: 'Name',
209
+ name: 'name',
210
+ type: 'string',
211
+ default: '',
212
+ displayOptions: { show: { operation: ['voiceClone', 'dubbing'] } },
213
+ },
214
+ {
215
+ displayName: 'Source URL',
216
+ name: 'source_url',
217
+ type: 'string',
218
+ default: '',
219
+ displayOptions: { show: { operation: ['dubbing'] } },
220
+ },
221
+ {
222
+ displayName: 'Target Language',
223
+ name: 'target_lang',
224
+ type: 'string',
225
+ default: '',
226
+ displayOptions: { show: { operation: ['dubbing'] } },
227
+ },
228
+ {
229
+ displayName: 'Source Language',
230
+ name: 'source_lang',
231
+ type: 'string',
232
+ default: '',
233
+ displayOptions: { show: { operation: ['dubbing'] } },
234
+ },
235
+ node_utils_1.jobIdProperty,
236
+ node_utils_1.payloadProperty,
237
+ node_utils_1.waitProperty,
238
+ ],
239
+ };
240
+ }
241
+ async execute() {
242
+ return (0, node_utils_1.executeFrankLabModule)(this, 'volna', { default: 'getTask', dubbing: 'getDubbing' });
243
+ }
244
+ }
245
+ exports.FrankLabVolna = FrankLabVolna;
246
+ //# sourceMappingURL=FrankLabVolna.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FrankLabVolna.node.js","sourceRoot":"","sources":["../../../nodes/Volna/FrankLabVolna.node.ts"],"names":[],"mappings":";;;AACA,+CAAmD;AACnD,qDAA2G;AAE3G,MAAa,aAAa;IAA1B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,6EAA6E;YAC1F,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAA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IAHA,KAAK,CAAC,OAAO;QACZ,OAAO,IAAA,kCAAqB,EAAC,IAAI,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,CAAC;IAC5F,CAAC;CACD;AA7OD,sCA6OC"}
@@ -0,0 +1,10 @@
1
+ {
2
+ "node": "n8n-nodes-base.frankLabVolna",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Marketing & Content", "Communication"],
6
+ "resources": {
7
+ "credentialDocumentation": [{ "url": "https://github.com/d906090-rgb/n8n-nodes-franklab#credentials" }],
8
+ "primaryDocumentation": [{ "url": "https://github.com/d906090-rgb/n8n-nodes-franklab#volna" }]
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="FrankLab VOLNA">
2
+ <rect width="64" height="64" rx="8" fill="#111827"/>
3
+ <path d="M12 36c7 0 7-16 14-16s7 24 14 24 7-16 12-16" fill="none" stroke="#38bdf8" stroke-width="6" stroke-linecap="round"/>
4
+ <path d="M12 46c8 0 8-8 16-8s8 8 16 8 8-8 12-8" fill="none" stroke="#22c55e" stroke-width="4" stroke-linecap="round"/>
5
+ </svg>
@@ -0,0 +1,30 @@
1
+ import type { HttpMethod } from './registry';
2
+ type HeadersMap = Record<string, string>;
3
+ type RequestBody = Record<string, unknown>;
4
+ export interface FetchRequest {
5
+ method: HttpMethod;
6
+ headers: HeadersMap;
7
+ body?: string;
8
+ }
9
+ export interface FetchResponse {
10
+ ok: boolean;
11
+ status: number;
12
+ json(): Promise<unknown>;
13
+ text(): Promise<string>;
14
+ }
15
+ export type FetchTransport = (url: string, init: FetchRequest) => Promise<FetchResponse>;
16
+ export interface FrankLabClientOptions {
17
+ baseUrl: string;
18
+ apiKey: string;
19
+ fetch: FetchTransport;
20
+ }
21
+ export interface PollOptions {
22
+ delayMs?: number;
23
+ maxAttempts?: number;
24
+ }
25
+ export interface FrankLabClient {
26
+ request(endpointKey: string, input?: RequestBody): Promise<Record<string, unknown>>;
27
+ poll(endpointKey: string, taskId: string, options?: PollOptions): Promise<Record<string, unknown>>;
28
+ }
29
+ export declare function createFrankLabClient(options: FrankLabClientOptions): FrankLabClient;
30
+ export {};