instill-sdk 0.0.2 → 0.0.3
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 +54 -34
- package/dist/chunk-375TLK3Q.mjs +0 -0
- package/dist/chunk-4BC7UGYC.mjs +114 -0
- package/dist/{chunk-JONZWFL5.mjs → chunk-4LUKB34H.mjs} +48 -52
- package/dist/chunk-5FTGMS4X.mjs +46 -0
- package/dist/chunk-6K6UDAWM.mjs +114 -0
- package/dist/{chunk-IPW3WQCQ.mjs → chunk-7VLTGUGU.mjs} +18 -1
- package/dist/chunk-DZXTDWWF.mjs +69 -0
- package/dist/{chunk-4VWYH26Q.mjs → chunk-EI3U4WOS.mjs} +1 -1
- package/dist/{chunk-KHFNAMT4.mjs → chunk-GEEYB6IX.mjs} +1 -1
- package/dist/{chunk-G5M7VUJT.mjs → chunk-GFLAFXAN.mjs} +1 -1
- package/dist/chunk-GX3ELROF.mjs +141 -0
- package/dist/{chunk-YK7RY2CG.mjs → chunk-I4VMGZBF.mjs} +104 -32
- package/dist/{chunk-YXNMG2RZ.mjs → chunk-JBSVFVPW.mjs} +1 -1
- package/dist/{chunk-NRP5M7FG.mjs → chunk-K7AV4FXF.mjs} +13 -11
- package/dist/{chunk-VIPORJ6H.mjs → chunk-KV3GJM6Q.mjs} +45 -3
- package/dist/{chunk-DIAPO2ML.mjs → chunk-L25EZQ5J.mjs} +16 -5
- package/dist/{chunk-EBWGEVUX.mjs → chunk-QG4SF5DT.mjs} +5 -1
- package/dist/{chunk-GPM5FDRS.mjs → chunk-SFKHRD33.mjs} +18 -18
- package/dist/chunk-UNJKVLJE.mjs +0 -0
- package/dist/{chunk-MS2EILMH.mjs → chunk-V2NMRJ2Y.mjs} +20 -16
- package/dist/connector/ConnectorClient.d.ts +32 -32
- package/dist/connector/ConnectorClient.js +90 -85
- package/dist/connector/ConnectorClient.mjs +5 -5
- package/dist/connector/action.d.ts +19 -9
- package/dist/connector/action.js +17 -17
- package/dist/connector/action.mjs +7 -7
- package/dist/connector/index.mjs +5 -5
- package/dist/connector/mutation.d.ts +13 -13
- package/dist/connector/mutation.js +35 -30
- package/dist/connector/mutation.mjs +9 -9
- package/dist/connector/queries.d.ts +11 -11
- package/dist/connector/queries.js +26 -22
- package/dist/connector/queries.mjs +10 -10
- package/dist/connector/types.d.ts +34 -48
- package/dist/helper/getQueryString.d.ts +3 -2
- package/dist/helper/getQueryString.js +5 -1
- package/dist/helper/getQueryString.mjs +1 -1
- package/dist/helper/getQueryString.test.js +5 -1
- package/dist/helper/getQueryString.test.mjs +1 -1
- package/dist/helper/index.js +5 -1
- package/dist/helper/index.mjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +566 -136
- package/dist/index.mjs +54 -17
- package/dist/metric/MetricClient.js +5 -1
- package/dist/metric/MetricClient.mjs +3 -3
- package/dist/metric/pipeline/queries.js +5 -1
- package/dist/metric/pipeline/queries.mjs +2 -2
- package/dist/mgmt/AuthClient.d.ts +7 -1
- package/dist/mgmt/AuthClient.js +44 -4
- package/dist/mgmt/AuthClient.mjs +4 -4
- package/dist/mgmt/action.d.ts +4 -0
- package/dist/mgmt/action.js +20 -2
- package/dist/mgmt/action.mjs +5 -3
- package/dist/mgmt/index.mjs +4 -4
- package/dist/mgmt/queries.d.ts +11 -2
- package/dist/mgmt/queries.js +52 -4
- package/dist/mgmt/queries.mjs +8 -4
- package/dist/mgmt/types.d.ts +12 -0
- package/dist/model/ModelClient.js +5 -1
- package/dist/model/ModelClient.mjs +3 -3
- package/dist/model/index.mjs +3 -3
- package/dist/model/queries.js +5 -1
- package/dist/model/queries.mjs +2 -2
- package/dist/organization/OrganizationClient.d.ts +43 -0
- package/dist/organization/OrganizationClient.js +378 -0
- package/dist/organization/OrganizationClient.mjs +15 -0
- package/dist/organization/index.d.ts +3 -0
- package/dist/organization/index.js +310 -0
- package/dist/organization/index.mjs +41 -0
- package/dist/organization/mutations.d.ts +32 -0
- package/dist/organization/mutations.js +144 -0
- package/dist/organization/mutations.mjs +19 -0
- package/dist/organization/queries.d.ts +34 -0
- package/dist/organization/queries.js +191 -0
- package/dist/organization/queries.mjs +23 -0
- package/dist/organization/types.d.ts +81 -0
- package/dist/organization/types.js +18 -0
- package/dist/organization/types.mjs +1 -0
- package/dist/pipeline/PipelineClient.d.ts +7 -5
- package/dist/pipeline/PipelineClient.js +81 -47
- package/dist/pipeline/PipelineClient.mjs +4 -4
- package/dist/pipeline/action.d.ts +13 -12
- package/dist/pipeline/action.js +13 -11
- package/dist/pipeline/action.mjs +1 -1
- package/dist/pipeline/index.mjs +5 -5
- package/dist/pipeline/queries.d.ts +37 -18
- package/dist/pipeline/queries.js +110 -32
- package/dist/pipeline/queries.mjs +8 -4
- package/dist/pipeline/types.d.ts +88 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunk-6M57XUNI.mjs +0 -64
- package/dist/chunk-YT6ZGA4J.mjs +0 -46
|
@@ -27,7 +27,8 @@ var getQueryString = ({
|
|
|
27
27
|
baseURL,
|
|
28
28
|
pageSize,
|
|
29
29
|
nextPageToken,
|
|
30
|
-
filter
|
|
30
|
+
filter,
|
|
31
|
+
queryParams
|
|
31
32
|
}) => {
|
|
32
33
|
let url = baseURL;
|
|
33
34
|
if (pageSize || nextPageToken || filter) {
|
|
@@ -46,6 +47,9 @@ var getQueryString = ({
|
|
|
46
47
|
if (filter) {
|
|
47
48
|
url += `filter=${filter}&`;
|
|
48
49
|
}
|
|
50
|
+
if (queryParams) {
|
|
51
|
+
url += `${queryParams}&`;
|
|
52
|
+
}
|
|
49
53
|
if (url.endsWith("&")) {
|
|
50
54
|
url = url.slice(0, -1);
|
|
51
55
|
}
|
|
@@ -14952,7 +14952,8 @@ var getQueryString = ({
|
|
|
14952
14952
|
baseURL,
|
|
14953
14953
|
pageSize,
|
|
14954
14954
|
nextPageToken,
|
|
14955
|
-
filter
|
|
14955
|
+
filter,
|
|
14956
|
+
queryParams
|
|
14956
14957
|
}) => {
|
|
14957
14958
|
let url = baseURL;
|
|
14958
14959
|
if (pageSize || nextPageToken || filter) {
|
|
@@ -14971,6 +14972,9 @@ var getQueryString = ({
|
|
|
14971
14972
|
if (filter) {
|
|
14972
14973
|
url += `filter=${filter}&`;
|
|
14973
14974
|
}
|
|
14975
|
+
if (queryParams) {
|
|
14976
|
+
url += `${queryParams}&`;
|
|
14977
|
+
}
|
|
14974
14978
|
if (url.endsWith("&")) {
|
|
14975
14979
|
url = url.slice(0, -1);
|
|
14976
14980
|
}
|
package/dist/helper/index.js
CHANGED
|
@@ -95,7 +95,8 @@ var getQueryString = ({
|
|
|
95
95
|
baseURL,
|
|
96
96
|
pageSize,
|
|
97
97
|
nextPageToken,
|
|
98
|
-
filter
|
|
98
|
+
filter,
|
|
99
|
+
queryParams
|
|
99
100
|
}) => {
|
|
100
101
|
let url = baseURL;
|
|
101
102
|
if (pageSize || nextPageToken || filter) {
|
|
@@ -114,6 +115,9 @@ var getQueryString = ({
|
|
|
114
115
|
if (filter) {
|
|
115
116
|
url += `filter=${filter}&`;
|
|
116
117
|
}
|
|
118
|
+
if (queryParams) {
|
|
119
|
+
url += `${queryParams}&`;
|
|
120
|
+
}
|
|
117
121
|
if (url.endsWith("&")) {
|
|
118
122
|
url = url.slice(0, -1);
|
|
119
123
|
}
|
package/dist/helper/index.mjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import AuthClient from "./mgmt/AuthClient";
|
|
|
4
4
|
import ModelClient from "./model/ModelClient";
|
|
5
5
|
import OperationClient from "./operation/OperationClient";
|
|
6
6
|
import PipelineClient from "./pipeline/PipelineClient";
|
|
7
|
+
import OrganizationClient from "./organization/OrganizationClient";
|
|
7
8
|
declare class InstillClient {
|
|
8
9
|
Pipeline: PipelineClient;
|
|
9
10
|
Auth: AuthClient;
|
|
@@ -11,6 +12,7 @@ declare class InstillClient {
|
|
|
11
12
|
Metric: MetricClient;
|
|
12
13
|
Model: ModelClient;
|
|
13
14
|
Operation: OperationClient;
|
|
15
|
+
Organization: OrganizationClient;
|
|
14
16
|
constructor(baseUrl: string, appVersion: string, apiToken: string);
|
|
15
17
|
}
|
|
16
18
|
export * from "./types";
|
|
@@ -21,4 +23,5 @@ export * from "./mgmt";
|
|
|
21
23
|
export * from "./model";
|
|
22
24
|
export * from "./operation";
|
|
23
25
|
export * from "./pipeline";
|
|
26
|
+
export * from "./organization";
|
|
24
27
|
export default InstillClient;
|