@aloma.io/integration-sdk 3.3.80 → 3.3.81
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.
@@ -7,9 +7,10 @@ export declare abstract class AbstractController {
|
|
7
7
|
protected fallback(arg: any): Promise<any>;
|
8
8
|
protected endpoint(arg: any): Promise<any>;
|
9
9
|
protected newTask(name: string, data: any): Promise<string>;
|
10
|
-
protected getClient({ baseUrl, onResponse, }: {
|
10
|
+
protected getClient({ baseUrl, onResponse, customize }: {
|
11
11
|
baseUrl: string;
|
12
12
|
onResponse?: (response: any) => void;
|
13
|
+
customize?: (request: any) => void;
|
13
14
|
}): Promise<any>;
|
14
15
|
protected updateTask(name: string, data: any): Promise<string>;
|
15
16
|
__endpoint(arg: any): Promise<any | null>;
|
@@ -15,7 +15,7 @@ export class AbstractController {
|
|
15
15
|
async newTask(name, data) {
|
16
16
|
throw new Error("not implemented");
|
17
17
|
}
|
18
|
-
getClient({ baseUrl, onResponse, }) {
|
18
|
+
getClient({ baseUrl, onResponse, customize }) {
|
19
19
|
throw new Error("not implemented");
|
20
20
|
}
|
21
21
|
async updateTask(name, data) {
|
package/package.json
CHANGED
package/src/controller/index.mts
CHANGED
@@ -25,9 +25,11 @@ export abstract class AbstractController {
|
|
25
25
|
protected getClient({
|
26
26
|
baseUrl,
|
27
27
|
onResponse,
|
28
|
+
customize
|
28
29
|
}: {
|
29
30
|
baseUrl: string;
|
30
31
|
onResponse?: (response: any) => void;
|
32
|
+
customize?: (request: any) => void;
|
31
33
|
}): Promise<any> {
|
32
34
|
throw new Error("not implemented");
|
33
35
|
}
|