@engini/client 0.4.0 → 0.6.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/LICENSE +21 -0
- package/README.md +32 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +545 -779
- package/dist/index.d.ts +545 -779
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -776,7 +776,7 @@ var createClient = (config = {}) => {
|
|
|
776
776
|
|
|
777
777
|
// src/generated/client.gen.ts
|
|
778
778
|
var client = createClient(
|
|
779
|
-
createConfig({ baseUrl: "https://
|
|
779
|
+
createConfig({ baseUrl: "https://api.staging.engini.io" })
|
|
780
780
|
);
|
|
781
781
|
|
|
782
782
|
// src/generated/sdk.gen.ts
|
|
@@ -994,7 +994,7 @@ var connectionsGetDefaultConnections = (options) => (options?.client ?? client).
|
|
|
994
994
|
{ scheme: "bearer", type: "http" },
|
|
995
995
|
{ name: "x-api-key", type: "apiKey" }
|
|
996
996
|
],
|
|
997
|
-
url: "/v1/connections/
|
|
997
|
+
url: "/v1/connections/defaults",
|
|
998
998
|
...options
|
|
999
999
|
});
|
|
1000
1000
|
var connectionsClearDefaultConnection = (options) => (options.client ?? client).delete({
|
|
@@ -1002,7 +1002,7 @@ var connectionsClearDefaultConnection = (options) => (options.client ?? client).
|
|
|
1002
1002
|
{ scheme: "bearer", type: "http" },
|
|
1003
1003
|
{ name: "x-api-key", type: "apiKey" }
|
|
1004
1004
|
],
|
|
1005
|
-
url: "/v1/connections/{connectionId}/
|
|
1005
|
+
url: "/v1/connections/{connectionId}/default",
|
|
1006
1006
|
...options
|
|
1007
1007
|
});
|
|
1008
1008
|
var connectionsSetDefaultConnection = (options) => (options.client ?? client).put({
|
|
@@ -1010,7 +1010,7 @@ var connectionsSetDefaultConnection = (options) => (options.client ?? client).pu
|
|
|
1010
1010
|
{ scheme: "bearer", type: "http" },
|
|
1011
1011
|
{ name: "x-api-key", type: "apiKey" }
|
|
1012
1012
|
],
|
|
1013
|
-
url: "/v1/connections/{connectionId}/
|
|
1013
|
+
url: "/v1/connections/{connectionId}/default",
|
|
1014
1014
|
...options
|
|
1015
1015
|
});
|
|
1016
1016
|
var connectionsReplaceConnection = (options) => (options.client ?? client).post({
|
|
@@ -1018,7 +1018,7 @@ var connectionsReplaceConnection = (options) => (options.client ?? client).post(
|
|
|
1018
1018
|
{ scheme: "bearer", type: "http" },
|
|
1019
1019
|
{ name: "x-api-key", type: "apiKey" }
|
|
1020
1020
|
],
|
|
1021
|
-
url: "/v1/connections/
|
|
1021
|
+
url: "/v1/connections/replace",
|
|
1022
1022
|
...options,
|
|
1023
1023
|
headers: {
|
|
1024
1024
|
"Content-Type": "application/json",
|
|
@@ -1030,7 +1030,7 @@ var connectionsRefreshObjects = (options) => (options.client ?? client).post({
|
|
|
1030
1030
|
{ scheme: "bearer", type: "http" },
|
|
1031
1031
|
{ name: "x-api-key", type: "apiKey" }
|
|
1032
1032
|
],
|
|
1033
|
-
url: "/v1/connections/{connectionId}/
|
|
1033
|
+
url: "/v1/connections/{connectionId}/refresh-objects",
|
|
1034
1034
|
...options
|
|
1035
1035
|
});
|
|
1036
1036
|
var connectionsGetRefreshStatus = (options) => (options.client ?? client).get({
|
|
@@ -1038,7 +1038,7 @@ var connectionsGetRefreshStatus = (options) => (options.client ?? client).get({
|
|
|
1038
1038
|
{ scheme: "bearer", type: "http" },
|
|
1039
1039
|
{ name: "x-api-key", type: "apiKey" }
|
|
1040
1040
|
],
|
|
1041
|
-
url: "/v1/connections/{connectionId}/
|
|
1041
|
+
url: "/v1/connections/{connectionId}/refresh-status",
|
|
1042
1042
|
...options
|
|
1043
1043
|
});
|
|
1044
1044
|
var connectionsSelectObjects = (options) => (options.client ?? client).post({
|
|
@@ -1046,7 +1046,7 @@ var connectionsSelectObjects = (options) => (options.client ?? client).post({
|
|
|
1046
1046
|
{ scheme: "bearer", type: "http" },
|
|
1047
1047
|
{ name: "x-api-key", type: "apiKey" }
|
|
1048
1048
|
],
|
|
1049
|
-
url: "/v1/connections/{connectionId}/
|
|
1049
|
+
url: "/v1/connections/{connectionId}/select-objects",
|
|
1050
1050
|
...options,
|
|
1051
1051
|
headers: {
|
|
1052
1052
|
"Content-Type": "application/json",
|
|
@@ -1058,7 +1058,7 @@ var connectionsGetConnectionObjects = (options) => (options.client ?? client).ge
|
|
|
1058
1058
|
{ scheme: "bearer", type: "http" },
|
|
1059
1059
|
{ name: "x-api-key", type: "apiKey" }
|
|
1060
1060
|
],
|
|
1061
|
-
url: "/v1/connections/{connectionId}/
|
|
1061
|
+
url: "/v1/connections/{connectionId}/objects",
|
|
1062
1062
|
...options
|
|
1063
1063
|
});
|
|
1064
1064
|
var connectionsCheckConnection = (options) => (options.client ?? client).get({
|
|
@@ -1066,7 +1066,7 @@ var connectionsCheckConnection = (options) => (options.client ?? client).get({
|
|
|
1066
1066
|
{ scheme: "bearer", type: "http" },
|
|
1067
1067
|
{ name: "x-api-key", type: "apiKey" }
|
|
1068
1068
|
],
|
|
1069
|
-
url: "/v1/connections/{connectionId}/
|
|
1069
|
+
url: "/v1/connections/{connectionId}/check",
|
|
1070
1070
|
...options
|
|
1071
1071
|
});
|
|
1072
1072
|
var connectionsGetSignInUrl = (options) => (options.client ?? client).post({
|
|
@@ -1074,7 +1074,7 @@ var connectionsGetSignInUrl = (options) => (options.client ?? client).post({
|
|
|
1074
1074
|
{ scheme: "bearer", type: "http" },
|
|
1075
1075
|
{ name: "x-api-key", type: "apiKey" }
|
|
1076
1076
|
],
|
|
1077
|
-
url: "/v1/connections/
|
|
1077
|
+
url: "/v1/connections/get-sign-in-url",
|
|
1078
1078
|
...options,
|
|
1079
1079
|
headers: {
|
|
1080
1080
|
"Content-Type": "application/json",
|
|
@@ -1086,7 +1086,7 @@ var connectionsGetAccessToken = (options) => (options.client ?? client).get({
|
|
|
1086
1086
|
{ scheme: "bearer", type: "http" },
|
|
1087
1087
|
{ name: "x-api-key", type: "apiKey" }
|
|
1088
1088
|
],
|
|
1089
|
-
url: "/v1/connections/
|
|
1089
|
+
url: "/v1/connections/access-token/{state}",
|
|
1090
1090
|
...options
|
|
1091
1091
|
});
|
|
1092
1092
|
var toolsListTools = (options) => (options?.client ?? client).get({
|