@rlvt/workflows-openapi-client 0.0.0-f8ffbfd → 1.0.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.
- package/build/api.d.ts +19 -19
- package/package.json +2 -3
package/build/api.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export default class {
|
|
|
20
20
|
categories?: string;
|
|
21
21
|
page?: number;
|
|
22
22
|
perPage?: number;
|
|
23
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
23
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
24
24
|
paginationCount: number;
|
|
25
25
|
paginationPage: number;
|
|
26
26
|
paginationLimit: number;
|
|
@@ -69,8 +69,8 @@ export default class {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
}[];
|
|
72
|
-
}>>;
|
|
73
|
-
listTemplateCategories: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
72
|
+
}, any>>;
|
|
73
|
+
listTemplateCategories: (options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
74
74
|
status: "success";
|
|
75
75
|
program: string;
|
|
76
76
|
version: string;
|
|
@@ -78,7 +78,7 @@ export default class {
|
|
|
78
78
|
code?: number;
|
|
79
79
|
message: string;
|
|
80
80
|
data: string[];
|
|
81
|
-
}>>;
|
|
81
|
+
}, any>>;
|
|
82
82
|
list: (params: {
|
|
83
83
|
name?: string;
|
|
84
84
|
resourceGroupIds?: string[];
|
|
@@ -87,7 +87,7 @@ export default class {
|
|
|
87
87
|
sortOrder?: "desc" | "asc";
|
|
88
88
|
page?: number;
|
|
89
89
|
perPage?: number;
|
|
90
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
90
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
91
91
|
paginationCount: number;
|
|
92
92
|
paginationPage: number;
|
|
93
93
|
paginationLimit: number;
|
|
@@ -177,12 +177,12 @@ export default class {
|
|
|
177
177
|
display: string;
|
|
178
178
|
}[];
|
|
179
179
|
}[];
|
|
180
|
-
}>>;
|
|
180
|
+
}, any>>;
|
|
181
181
|
create: (data: {
|
|
182
182
|
description?: string;
|
|
183
183
|
name: string;
|
|
184
184
|
resourceGroupIds: string[];
|
|
185
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
185
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
186
186
|
status: "success";
|
|
187
187
|
program: string;
|
|
188
188
|
version: string;
|
|
@@ -269,10 +269,10 @@ export default class {
|
|
|
269
269
|
display: string;
|
|
270
270
|
}[];
|
|
271
271
|
};
|
|
272
|
-
}>>;
|
|
272
|
+
}, any>>;
|
|
273
273
|
get: (params: {
|
|
274
274
|
id: string;
|
|
275
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
275
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
276
276
|
status: "success";
|
|
277
277
|
program: string;
|
|
278
278
|
version: string;
|
|
@@ -359,7 +359,7 @@ export default class {
|
|
|
359
359
|
display: string;
|
|
360
360
|
}[];
|
|
361
361
|
};
|
|
362
|
-
}>>;
|
|
362
|
+
}, any>>;
|
|
363
363
|
update: (params: {
|
|
364
364
|
id: string;
|
|
365
365
|
}, data: {
|
|
@@ -396,7 +396,7 @@ export default class {
|
|
|
396
396
|
};
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
399
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
400
400
|
status: "success";
|
|
401
401
|
program: string;
|
|
402
402
|
version: string;
|
|
@@ -483,10 +483,10 @@ export default class {
|
|
|
483
483
|
display: string;
|
|
484
484
|
}[];
|
|
485
485
|
};
|
|
486
|
-
}>>;
|
|
486
|
+
}, any>>;
|
|
487
487
|
delete: (params: {
|
|
488
488
|
id: string;
|
|
489
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
489
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
490
490
|
status: "success";
|
|
491
491
|
program: string;
|
|
492
492
|
version: string;
|
|
@@ -494,10 +494,10 @@ export default class {
|
|
|
494
494
|
code?: number;
|
|
495
495
|
message: string;
|
|
496
496
|
data: {};
|
|
497
|
-
}>>;
|
|
497
|
+
}, any>>;
|
|
498
498
|
publish: (params: {
|
|
499
499
|
id: string;
|
|
500
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
500
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
501
501
|
status: "success";
|
|
502
502
|
program: string;
|
|
503
503
|
version: string;
|
|
@@ -584,10 +584,10 @@ export default class {
|
|
|
584
584
|
display: string;
|
|
585
585
|
}[];
|
|
586
586
|
};
|
|
587
|
-
}>>;
|
|
587
|
+
}, any>>;
|
|
588
588
|
getContentUsage: (params: {
|
|
589
589
|
id: string;
|
|
590
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
590
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
591
591
|
status: "success";
|
|
592
592
|
program: string;
|
|
593
593
|
version: string;
|
|
@@ -595,7 +595,7 @@ export default class {
|
|
|
595
595
|
code?: number;
|
|
596
596
|
message: string;
|
|
597
597
|
data: string[];
|
|
598
|
-
}>>;
|
|
598
|
+
}, any>>;
|
|
599
599
|
};
|
|
600
600
|
get Runner(): {
|
|
601
601
|
run: (params: {
|
|
@@ -604,6 +604,6 @@ export default class {
|
|
|
604
604
|
'~ru~': string;
|
|
605
605
|
mode?: "click" | "display";
|
|
606
606
|
'no-cache'?: string;
|
|
607
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any>>;
|
|
607
|
+
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
608
608
|
};
|
|
609
609
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlvt/workflows-openapi-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0+cce9670",
|
|
4
4
|
"description": "Openapi client for reelevant service",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": "https://github.com/reelevant-tech/openapi-clients",
|
|
@@ -14,10 +14,9 @@
|
|
|
14
14
|
"prepublish": "yarn build"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"axios": "^0.
|
|
17
|
+
"axios": "^0.24.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/axios": "^0.14.0",
|
|
21
20
|
"@types/node": "^14.14.6",
|
|
22
21
|
"typescript": "^4.0.3"
|
|
23
22
|
}
|