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.
Files changed (96) hide show
  1. package/README.md +54 -34
  2. package/dist/chunk-375TLK3Q.mjs +0 -0
  3. package/dist/chunk-4BC7UGYC.mjs +114 -0
  4. package/dist/{chunk-JONZWFL5.mjs → chunk-4LUKB34H.mjs} +48 -52
  5. package/dist/chunk-5FTGMS4X.mjs +46 -0
  6. package/dist/chunk-6K6UDAWM.mjs +114 -0
  7. package/dist/{chunk-IPW3WQCQ.mjs → chunk-7VLTGUGU.mjs} +18 -1
  8. package/dist/chunk-DZXTDWWF.mjs +69 -0
  9. package/dist/{chunk-4VWYH26Q.mjs → chunk-EI3U4WOS.mjs} +1 -1
  10. package/dist/{chunk-KHFNAMT4.mjs → chunk-GEEYB6IX.mjs} +1 -1
  11. package/dist/{chunk-G5M7VUJT.mjs → chunk-GFLAFXAN.mjs} +1 -1
  12. package/dist/chunk-GX3ELROF.mjs +141 -0
  13. package/dist/{chunk-YK7RY2CG.mjs → chunk-I4VMGZBF.mjs} +104 -32
  14. package/dist/{chunk-YXNMG2RZ.mjs → chunk-JBSVFVPW.mjs} +1 -1
  15. package/dist/{chunk-NRP5M7FG.mjs → chunk-K7AV4FXF.mjs} +13 -11
  16. package/dist/{chunk-VIPORJ6H.mjs → chunk-KV3GJM6Q.mjs} +45 -3
  17. package/dist/{chunk-DIAPO2ML.mjs → chunk-L25EZQ5J.mjs} +16 -5
  18. package/dist/{chunk-EBWGEVUX.mjs → chunk-QG4SF5DT.mjs} +5 -1
  19. package/dist/{chunk-GPM5FDRS.mjs → chunk-SFKHRD33.mjs} +18 -18
  20. package/dist/chunk-UNJKVLJE.mjs +0 -0
  21. package/dist/{chunk-MS2EILMH.mjs → chunk-V2NMRJ2Y.mjs} +20 -16
  22. package/dist/connector/ConnectorClient.d.ts +32 -32
  23. package/dist/connector/ConnectorClient.js +90 -85
  24. package/dist/connector/ConnectorClient.mjs +5 -5
  25. package/dist/connector/action.d.ts +19 -9
  26. package/dist/connector/action.js +17 -17
  27. package/dist/connector/action.mjs +7 -7
  28. package/dist/connector/index.mjs +5 -5
  29. package/dist/connector/mutation.d.ts +13 -13
  30. package/dist/connector/mutation.js +35 -30
  31. package/dist/connector/mutation.mjs +9 -9
  32. package/dist/connector/queries.d.ts +11 -11
  33. package/dist/connector/queries.js +26 -22
  34. package/dist/connector/queries.mjs +10 -10
  35. package/dist/connector/types.d.ts +34 -48
  36. package/dist/helper/getQueryString.d.ts +3 -2
  37. package/dist/helper/getQueryString.js +5 -1
  38. package/dist/helper/getQueryString.mjs +1 -1
  39. package/dist/helper/getQueryString.test.js +5 -1
  40. package/dist/helper/getQueryString.test.mjs +1 -1
  41. package/dist/helper/index.js +5 -1
  42. package/dist/helper/index.mjs +1 -1
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.js +566 -136
  45. package/dist/index.mjs +54 -17
  46. package/dist/metric/MetricClient.js +5 -1
  47. package/dist/metric/MetricClient.mjs +3 -3
  48. package/dist/metric/pipeline/queries.js +5 -1
  49. package/dist/metric/pipeline/queries.mjs +2 -2
  50. package/dist/mgmt/AuthClient.d.ts +7 -1
  51. package/dist/mgmt/AuthClient.js +44 -4
  52. package/dist/mgmt/AuthClient.mjs +4 -4
  53. package/dist/mgmt/action.d.ts +4 -0
  54. package/dist/mgmt/action.js +20 -2
  55. package/dist/mgmt/action.mjs +5 -3
  56. package/dist/mgmt/index.mjs +4 -4
  57. package/dist/mgmt/queries.d.ts +11 -2
  58. package/dist/mgmt/queries.js +52 -4
  59. package/dist/mgmt/queries.mjs +8 -4
  60. package/dist/mgmt/types.d.ts +12 -0
  61. package/dist/model/ModelClient.js +5 -1
  62. package/dist/model/ModelClient.mjs +3 -3
  63. package/dist/model/index.mjs +3 -3
  64. package/dist/model/queries.js +5 -1
  65. package/dist/model/queries.mjs +2 -2
  66. package/dist/organization/OrganizationClient.d.ts +43 -0
  67. package/dist/organization/OrganizationClient.js +378 -0
  68. package/dist/organization/OrganizationClient.mjs +15 -0
  69. package/dist/organization/index.d.ts +3 -0
  70. package/dist/organization/index.js +310 -0
  71. package/dist/organization/index.mjs +41 -0
  72. package/dist/organization/mutations.d.ts +32 -0
  73. package/dist/organization/mutations.js +144 -0
  74. package/dist/organization/mutations.mjs +19 -0
  75. package/dist/organization/queries.d.ts +34 -0
  76. package/dist/organization/queries.js +191 -0
  77. package/dist/organization/queries.mjs +23 -0
  78. package/dist/organization/types.d.ts +81 -0
  79. package/dist/organization/types.js +18 -0
  80. package/dist/organization/types.mjs +1 -0
  81. package/dist/pipeline/PipelineClient.d.ts +7 -5
  82. package/dist/pipeline/PipelineClient.js +81 -47
  83. package/dist/pipeline/PipelineClient.mjs +4 -4
  84. package/dist/pipeline/action.d.ts +13 -12
  85. package/dist/pipeline/action.js +13 -11
  86. package/dist/pipeline/action.mjs +1 -1
  87. package/dist/pipeline/index.mjs +5 -5
  88. package/dist/pipeline/queries.d.ts +37 -18
  89. package/dist/pipeline/queries.js +110 -32
  90. package/dist/pipeline/queries.mjs +8 -4
  91. package/dist/pipeline/types.d.ts +88 -16
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/dist/types.d.ts +2 -2
  94. package/package.json +2 -2
  95. package/dist/chunk-6M57XUNI.mjs +0 -64
  96. 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
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQueryString
3
- } from "../chunk-EBWGEVUX.mjs";
3
+ } from "../chunk-QG4SF5DT.mjs";
4
4
  import "../chunk-EXJ4UK7Q.mjs";
5
5
  export {
6
6
  getQueryString
@@ -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
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQueryString
3
- } from "../chunk-EBWGEVUX.mjs";
3
+ } from "../chunk-QG4SF5DT.mjs";
4
4
  import {
5
5
  __commonJS,
6
6
  __esm,
@@ -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
  }
@@ -11,7 +11,7 @@ import {
11
11
  } from "../chunk-7KV3Y36U.mjs";
12
12
  import {
13
13
  getQueryString
14
- } from "../chunk-EBWGEVUX.mjs";
14
+ } from "../chunk-QG4SF5DT.mjs";
15
15
  import "../chunk-EXJ4UK7Q.mjs";
16
16
  export {
17
17
  createClient,
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;