@engini/client 0.3.0 → 0.5.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 +159 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1116 -264
- package/dist/index.d.ts +1116 -264
- package/dist/index.js +159 -52
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Engini AI Ltd.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @engini/client
|
|
2
|
+
|
|
3
|
+
Autogenerated TypeScript REST client for the [Engini](https://engini.io) Public API
|
|
4
|
+
("DeveloperAPI", `/v1`) — native `fetch`, zero runtime deps, dual ESM + CJS.
|
|
5
|
+
|
|
6
|
+
This is the **base client layer** of Engini's two-package SDK stack. For an ergonomic,
|
|
7
|
+
agent-first interface (typed errors, retry/backoff, auto-pagination, LLM tool wrapping), use
|
|
8
|
+
the higher-level [`@engini/sdk`](https://www.npmjs.com/package/@engini/sdk) that's built on top
|
|
9
|
+
of this.
|
|
10
|
+
|
|
11
|
+
> The code under `src/generated/` is generated from an OpenAPI spec and committed — it is not
|
|
12
|
+
> hand-edited. See the [repository](https://github.com/engini/engini-client) to regenerate.
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @engini/client
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import { createEnginiClient, connectionsGetConnections } from "@engini/client";
|
|
24
|
+
|
|
25
|
+
const client = createEnginiClient({
|
|
26
|
+
baseUrl: "https://api.engini.io", // requests append /v1/...
|
|
27
|
+
token: "<JWT>", // → Authorization: Bearer <JWT>
|
|
28
|
+
});
|
|
29
|
+
const res = await connectionsGetConnections({ client });
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Source & docs: <https://github.com/engini/engini-client>
|
package/dist/index.cjs
CHANGED
|
@@ -778,14 +778,23 @@ var createClient = (config = {}) => {
|
|
|
778
778
|
|
|
779
779
|
// src/generated/client.gen.ts
|
|
780
780
|
var client = createClient(
|
|
781
|
-
createConfig({ baseUrl: "https://
|
|
781
|
+
createConfig({ baseUrl: "https://api.staging.engini.io" })
|
|
782
782
|
);
|
|
783
783
|
|
|
784
784
|
// src/generated/sdk.gen.ts
|
|
785
|
+
var authWhoAmI = (options) => (options?.client ?? client).get({
|
|
786
|
+
security: [
|
|
787
|
+
{ scheme: "bearer", type: "http" },
|
|
788
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
789
|
+
],
|
|
790
|
+
url: "/v1/auth/whoami",
|
|
791
|
+
...options
|
|
792
|
+
});
|
|
785
793
|
var solutionsCreateSolution = (options) => (options.client ?? client).post({
|
|
786
794
|
security: [
|
|
787
795
|
{ scheme: "bearer", type: "http" },
|
|
788
|
-
{ name: "companytoken", type: "apiKey" }
|
|
796
|
+
{ name: "companytoken", type: "apiKey" },
|
|
797
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
789
798
|
],
|
|
790
799
|
url: "/v1/solutions/admin",
|
|
791
800
|
...options,
|
|
@@ -795,14 +804,18 @@ var solutionsCreateSolution = (options) => (options.client ?? client).post({
|
|
|
795
804
|
}
|
|
796
805
|
});
|
|
797
806
|
var solutionsArchiveSolution = (options) => (options.client ?? client).delete({
|
|
798
|
-
security: [
|
|
807
|
+
security: [
|
|
808
|
+
{ scheme: "bearer", type: "http" },
|
|
809
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
810
|
+
],
|
|
799
811
|
url: "/v1/solutions/admin/{slug}",
|
|
800
812
|
...options
|
|
801
813
|
});
|
|
802
814
|
var solutionsUpdateSolution = (options) => (options.client ?? client).put({
|
|
803
815
|
security: [
|
|
804
816
|
{ scheme: "bearer", type: "http" },
|
|
805
|
-
{ name: "companytoken", type: "apiKey" }
|
|
817
|
+
{ name: "companytoken", type: "apiKey" },
|
|
818
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
806
819
|
],
|
|
807
820
|
url: "/v1/solutions/admin/{slug}",
|
|
808
821
|
...options,
|
|
@@ -812,14 +825,18 @@ var solutionsUpdateSolution = (options) => (options.client ?? client).put({
|
|
|
812
825
|
}
|
|
813
826
|
});
|
|
814
827
|
var solutionsPublishSolution = (options) => (options.client ?? client).post({
|
|
815
|
-
security: [
|
|
828
|
+
security: [
|
|
829
|
+
{ scheme: "bearer", type: "http" },
|
|
830
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
831
|
+
],
|
|
816
832
|
url: "/v1/solutions/admin/{slug}/publish",
|
|
817
833
|
...options
|
|
818
834
|
});
|
|
819
835
|
var solutionsBuildManifest = (options) => (options.client ?? client).post({
|
|
820
836
|
security: [
|
|
821
837
|
{ scheme: "bearer", type: "http" },
|
|
822
|
-
{ name: "companytoken", type: "apiKey" }
|
|
838
|
+
{ name: "companytoken", type: "apiKey" },
|
|
839
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
823
840
|
],
|
|
824
841
|
url: "/v1/solutions/admin/build-manifest",
|
|
825
842
|
...options,
|
|
@@ -829,19 +846,26 @@ var solutionsBuildManifest = (options) => (options.client ?? client).post({
|
|
|
829
846
|
}
|
|
830
847
|
});
|
|
831
848
|
var solutionsGetPublishedSolutions = (options) => (options?.client ?? client).get({
|
|
832
|
-
security: [
|
|
849
|
+
security: [
|
|
850
|
+
{ scheme: "bearer", type: "http" },
|
|
851
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
852
|
+
],
|
|
833
853
|
url: "/v1/solutions",
|
|
834
854
|
...options
|
|
835
855
|
});
|
|
836
856
|
var solutionsGetSolutionBySlug = (options) => (options.client ?? client).get({
|
|
837
|
-
security: [
|
|
857
|
+
security: [
|
|
858
|
+
{ scheme: "bearer", type: "http" },
|
|
859
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
860
|
+
],
|
|
838
861
|
url: "/v1/solutions/{slug}",
|
|
839
862
|
...options
|
|
840
863
|
});
|
|
841
864
|
var solutionsGetInstallations = (options) => (options?.client ?? client).get({
|
|
842
865
|
security: [
|
|
843
866
|
{ scheme: "bearer", type: "http" },
|
|
844
|
-
{ name: "companytoken", type: "apiKey" }
|
|
867
|
+
{ name: "companytoken", type: "apiKey" },
|
|
868
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
845
869
|
],
|
|
846
870
|
url: "/v1/solutions/installations",
|
|
847
871
|
...options
|
|
@@ -849,7 +873,8 @@ var solutionsGetInstallations = (options) => (options?.client ?? client).get({
|
|
|
849
873
|
var solutionsGetInstallationDetail = (options) => (options.client ?? client).get({
|
|
850
874
|
security: [
|
|
851
875
|
{ scheme: "bearer", type: "http" },
|
|
852
|
-
{ name: "companytoken", type: "apiKey" }
|
|
876
|
+
{ name: "companytoken", type: "apiKey" },
|
|
877
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
853
878
|
],
|
|
854
879
|
url: "/v1/solutions/installations/{id}",
|
|
855
880
|
...options
|
|
@@ -857,7 +882,8 @@ var solutionsGetInstallationDetail = (options) => (options.client ?? client).get
|
|
|
857
882
|
var solutionsGetInstallationResources = (options) => (options.client ?? client).get({
|
|
858
883
|
security: [
|
|
859
884
|
{ scheme: "bearer", type: "http" },
|
|
860
|
-
{ name: "companytoken", type: "apiKey" }
|
|
885
|
+
{ name: "companytoken", type: "apiKey" },
|
|
886
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
861
887
|
],
|
|
862
888
|
url: "/v1/solutions/installations/{id}/resources",
|
|
863
889
|
...options
|
|
@@ -865,7 +891,8 @@ var solutionsGetInstallationResources = (options) => (options.client ?? client).
|
|
|
865
891
|
var solutionsInstallSolution = (options) => (options.client ?? client).post({
|
|
866
892
|
security: [
|
|
867
893
|
{ scheme: "bearer", type: "http" },
|
|
868
|
-
{ name: "companytoken", type: "apiKey" }
|
|
894
|
+
{ name: "companytoken", type: "apiKey" },
|
|
895
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
869
896
|
],
|
|
870
897
|
url: "/v1/solutions/{slug}/install",
|
|
871
898
|
...options,
|
|
@@ -877,7 +904,8 @@ var solutionsInstallSolution = (options) => (options.client ?? client).post({
|
|
|
877
904
|
var solutionsUpdateInstallation = (options) => (options.client ?? client).post({
|
|
878
905
|
security: [
|
|
879
906
|
{ scheme: "bearer", type: "http" },
|
|
880
|
-
{ name: "companytoken", type: "apiKey" }
|
|
907
|
+
{ name: "companytoken", type: "apiKey" },
|
|
908
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
881
909
|
],
|
|
882
910
|
url: "/v1/solutions/installations/{id}/update",
|
|
883
911
|
...options,
|
|
@@ -889,7 +917,8 @@ var solutionsUpdateInstallation = (options) => (options.client ?? client).post({
|
|
|
889
917
|
var solutionsUninstallSolution = (options) => (options.client ?? client).post({
|
|
890
918
|
security: [
|
|
891
919
|
{ scheme: "bearer", type: "http" },
|
|
892
|
-
{ name: "companytoken", type: "apiKey" }
|
|
920
|
+
{ name: "companytoken", type: "apiKey" },
|
|
921
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
893
922
|
],
|
|
894
923
|
url: "/v1/solutions/{slug}/uninstall",
|
|
895
924
|
...options,
|
|
@@ -899,22 +928,34 @@ var solutionsUninstallSolution = (options) => (options.client ?? client).post({
|
|
|
899
928
|
}
|
|
900
929
|
});
|
|
901
930
|
var applicationsListApplications = (options) => (options?.client ?? client).get({
|
|
902
|
-
security: [
|
|
931
|
+
security: [
|
|
932
|
+
{ scheme: "bearer", type: "http" },
|
|
933
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
934
|
+
],
|
|
903
935
|
url: "/v1/applications",
|
|
904
936
|
...options
|
|
905
937
|
});
|
|
906
938
|
var applicationsGetApplication = (options) => (options.client ?? client).get({
|
|
907
|
-
security: [
|
|
939
|
+
security: [
|
|
940
|
+
{ scheme: "bearer", type: "http" },
|
|
941
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
942
|
+
],
|
|
908
943
|
url: "/v1/applications/{slug}",
|
|
909
944
|
...options
|
|
910
945
|
});
|
|
911
946
|
var connectionsGetConnections = (options) => (options?.client ?? client).get({
|
|
912
|
-
security: [
|
|
947
|
+
security: [
|
|
948
|
+
{ scheme: "bearer", type: "http" },
|
|
949
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
950
|
+
],
|
|
913
951
|
url: "/v1/connections",
|
|
914
952
|
...options
|
|
915
953
|
});
|
|
916
954
|
var connectionsCreateConnection = (options) => (options.client ?? client).post({
|
|
917
|
-
security: [
|
|
955
|
+
security: [
|
|
956
|
+
{ scheme: "bearer", type: "http" },
|
|
957
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
958
|
+
],
|
|
918
959
|
url: "/v1/connections",
|
|
919
960
|
...options,
|
|
920
961
|
headers: {
|
|
@@ -923,17 +964,26 @@ var connectionsCreateConnection = (options) => (options.client ?? client).post({
|
|
|
923
964
|
}
|
|
924
965
|
});
|
|
925
966
|
var connectionsDeleteConnection = (options) => (options.client ?? client).delete({
|
|
926
|
-
security: [
|
|
967
|
+
security: [
|
|
968
|
+
{ scheme: "bearer", type: "http" },
|
|
969
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
970
|
+
],
|
|
927
971
|
url: "/v1/connections/{connectionId}",
|
|
928
972
|
...options
|
|
929
973
|
});
|
|
930
974
|
var connectionsGetConnection = (options) => (options.client ?? client).get({
|
|
931
|
-
security: [
|
|
975
|
+
security: [
|
|
976
|
+
{ scheme: "bearer", type: "http" },
|
|
977
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
978
|
+
],
|
|
932
979
|
url: "/v1/connections/{connectionId}",
|
|
933
980
|
...options
|
|
934
981
|
});
|
|
935
982
|
var connectionsUpdateConnection = (options) => (options.client ?? client).put({
|
|
936
|
-
security: [
|
|
983
|
+
security: [
|
|
984
|
+
{ scheme: "bearer", type: "http" },
|
|
985
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
986
|
+
],
|
|
937
987
|
url: "/v1/connections/{connectionId}",
|
|
938
988
|
...options,
|
|
939
989
|
headers: {
|
|
@@ -942,23 +992,35 @@ var connectionsUpdateConnection = (options) => (options.client ?? client).put({
|
|
|
942
992
|
}
|
|
943
993
|
});
|
|
944
994
|
var connectionsGetDefaultConnections = (options) => (options?.client ?? client).get({
|
|
945
|
-
security: [
|
|
946
|
-
|
|
995
|
+
security: [
|
|
996
|
+
{ scheme: "bearer", type: "http" },
|
|
997
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
998
|
+
],
|
|
999
|
+
url: "/v1/connections/defaults",
|
|
947
1000
|
...options
|
|
948
1001
|
});
|
|
949
1002
|
var connectionsClearDefaultConnection = (options) => (options.client ?? client).delete({
|
|
950
|
-
security: [
|
|
951
|
-
|
|
1003
|
+
security: [
|
|
1004
|
+
{ scheme: "bearer", type: "http" },
|
|
1005
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1006
|
+
],
|
|
1007
|
+
url: "/v1/connections/{connectionId}/default",
|
|
952
1008
|
...options
|
|
953
1009
|
});
|
|
954
1010
|
var connectionsSetDefaultConnection = (options) => (options.client ?? client).put({
|
|
955
|
-
security: [
|
|
956
|
-
|
|
1011
|
+
security: [
|
|
1012
|
+
{ scheme: "bearer", type: "http" },
|
|
1013
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1014
|
+
],
|
|
1015
|
+
url: "/v1/connections/{connectionId}/default",
|
|
957
1016
|
...options
|
|
958
1017
|
});
|
|
959
1018
|
var connectionsReplaceConnection = (options) => (options.client ?? client).post({
|
|
960
|
-
security: [
|
|
961
|
-
|
|
1019
|
+
security: [
|
|
1020
|
+
{ scheme: "bearer", type: "http" },
|
|
1021
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1022
|
+
],
|
|
1023
|
+
url: "/v1/connections/replace",
|
|
962
1024
|
...options,
|
|
963
1025
|
headers: {
|
|
964
1026
|
"Content-Type": "application/json",
|
|
@@ -966,18 +1028,27 @@ var connectionsReplaceConnection = (options) => (options.client ?? client).post(
|
|
|
966
1028
|
}
|
|
967
1029
|
});
|
|
968
1030
|
var connectionsRefreshObjects = (options) => (options.client ?? client).post({
|
|
969
|
-
security: [
|
|
970
|
-
|
|
1031
|
+
security: [
|
|
1032
|
+
{ scheme: "bearer", type: "http" },
|
|
1033
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1034
|
+
],
|
|
1035
|
+
url: "/v1/connections/{connectionId}/refresh-objects",
|
|
971
1036
|
...options
|
|
972
1037
|
});
|
|
973
1038
|
var connectionsGetRefreshStatus = (options) => (options.client ?? client).get({
|
|
974
|
-
security: [
|
|
975
|
-
|
|
1039
|
+
security: [
|
|
1040
|
+
{ scheme: "bearer", type: "http" },
|
|
1041
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1042
|
+
],
|
|
1043
|
+
url: "/v1/connections/{connectionId}/refresh-status",
|
|
976
1044
|
...options
|
|
977
1045
|
});
|
|
978
1046
|
var connectionsSelectObjects = (options) => (options.client ?? client).post({
|
|
979
|
-
security: [
|
|
980
|
-
|
|
1047
|
+
security: [
|
|
1048
|
+
{ scheme: "bearer", type: "http" },
|
|
1049
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1050
|
+
],
|
|
1051
|
+
url: "/v1/connections/{connectionId}/select-objects",
|
|
981
1052
|
...options,
|
|
982
1053
|
headers: {
|
|
983
1054
|
"Content-Type": "application/json",
|
|
@@ -985,18 +1056,27 @@ var connectionsSelectObjects = (options) => (options.client ?? client).post({
|
|
|
985
1056
|
}
|
|
986
1057
|
});
|
|
987
1058
|
var connectionsGetConnectionObjects = (options) => (options.client ?? client).get({
|
|
988
|
-
security: [
|
|
989
|
-
|
|
1059
|
+
security: [
|
|
1060
|
+
{ scheme: "bearer", type: "http" },
|
|
1061
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1062
|
+
],
|
|
1063
|
+
url: "/v1/connections/{connectionId}/objects",
|
|
990
1064
|
...options
|
|
991
1065
|
});
|
|
992
1066
|
var connectionsCheckConnection = (options) => (options.client ?? client).get({
|
|
993
|
-
security: [
|
|
994
|
-
|
|
1067
|
+
security: [
|
|
1068
|
+
{ scheme: "bearer", type: "http" },
|
|
1069
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1070
|
+
],
|
|
1071
|
+
url: "/v1/connections/{connectionId}/check",
|
|
995
1072
|
...options
|
|
996
1073
|
});
|
|
997
1074
|
var connectionsGetSignInUrl = (options) => (options.client ?? client).post({
|
|
998
|
-
security: [
|
|
999
|
-
|
|
1075
|
+
security: [
|
|
1076
|
+
{ scheme: "bearer", type: "http" },
|
|
1077
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1078
|
+
],
|
|
1079
|
+
url: "/v1/connections/get-sign-in-url",
|
|
1000
1080
|
...options,
|
|
1001
1081
|
headers: {
|
|
1002
1082
|
"Content-Type": "application/json",
|
|
@@ -1004,22 +1084,34 @@ var connectionsGetSignInUrl = (options) => (options.client ?? client).post({
|
|
|
1004
1084
|
}
|
|
1005
1085
|
});
|
|
1006
1086
|
var connectionsGetAccessToken = (options) => (options.client ?? client).get({
|
|
1007
|
-
security: [
|
|
1008
|
-
|
|
1087
|
+
security: [
|
|
1088
|
+
{ scheme: "bearer", type: "http" },
|
|
1089
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1090
|
+
],
|
|
1091
|
+
url: "/v1/connections/access-token/{state}",
|
|
1009
1092
|
...options
|
|
1010
1093
|
});
|
|
1011
1094
|
var toolsListTools = (options) => (options?.client ?? client).get({
|
|
1012
|
-
security: [
|
|
1095
|
+
security: [
|
|
1096
|
+
{ scheme: "bearer", type: "http" },
|
|
1097
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1098
|
+
],
|
|
1013
1099
|
url: "/v1/tools",
|
|
1014
1100
|
...options
|
|
1015
1101
|
});
|
|
1016
1102
|
var toolsGetTool = (options) => (options.client ?? client).get({
|
|
1017
|
-
security: [
|
|
1103
|
+
security: [
|
|
1104
|
+
{ scheme: "bearer", type: "http" },
|
|
1105
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1106
|
+
],
|
|
1018
1107
|
url: "/v1/tools/{toolSlug}",
|
|
1019
1108
|
...options
|
|
1020
1109
|
});
|
|
1021
1110
|
var toolsExecuteTool = (options) => (options.client ?? client).post({
|
|
1022
|
-
security: [
|
|
1111
|
+
security: [
|
|
1112
|
+
{ scheme: "bearer", type: "http" },
|
|
1113
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1114
|
+
],
|
|
1023
1115
|
url: "/v1/tools/{toolSlug}/execute",
|
|
1024
1116
|
...options,
|
|
1025
1117
|
headers: {
|
|
@@ -1028,12 +1120,18 @@ var toolsExecuteTool = (options) => (options.client ?? client).post({
|
|
|
1028
1120
|
}
|
|
1029
1121
|
});
|
|
1030
1122
|
var toolsetsListToolsets = (options) => (options?.client ?? client).get({
|
|
1031
|
-
security: [
|
|
1123
|
+
security: [
|
|
1124
|
+
{ scheme: "bearer", type: "http" },
|
|
1125
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1126
|
+
],
|
|
1032
1127
|
url: "/v1/toolsets",
|
|
1033
1128
|
...options
|
|
1034
1129
|
});
|
|
1035
1130
|
var toolsetsCreateToolset = (options) => (options.client ?? client).post({
|
|
1036
|
-
security: [
|
|
1131
|
+
security: [
|
|
1132
|
+
{ scheme: "bearer", type: "http" },
|
|
1133
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1134
|
+
],
|
|
1037
1135
|
url: "/v1/toolsets",
|
|
1038
1136
|
...options,
|
|
1039
1137
|
headers: {
|
|
@@ -1042,17 +1140,26 @@ var toolsetsCreateToolset = (options) => (options.client ?? client).post({
|
|
|
1042
1140
|
}
|
|
1043
1141
|
});
|
|
1044
1142
|
var toolsetsDeleteToolset = (options) => (options.client ?? client).delete({
|
|
1045
|
-
security: [
|
|
1143
|
+
security: [
|
|
1144
|
+
{ scheme: "bearer", type: "http" },
|
|
1145
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1146
|
+
],
|
|
1046
1147
|
url: "/v1/toolsets/{toolsetId}",
|
|
1047
1148
|
...options
|
|
1048
1149
|
});
|
|
1049
1150
|
var toolsetsGetToolset = (options) => (options.client ?? client).get({
|
|
1050
|
-
security: [
|
|
1151
|
+
security: [
|
|
1152
|
+
{ scheme: "bearer", type: "http" },
|
|
1153
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1154
|
+
],
|
|
1051
1155
|
url: "/v1/toolsets/{toolsetId}",
|
|
1052
1156
|
...options
|
|
1053
1157
|
});
|
|
1054
1158
|
var toolsetsUpdateToolset = (options) => (options.client ?? client).patch({
|
|
1055
|
-
security: [
|
|
1159
|
+
security: [
|
|
1160
|
+
{ scheme: "bearer", type: "http" },
|
|
1161
|
+
{ name: "x-api-key", type: "apiKey" }
|
|
1162
|
+
],
|
|
1056
1163
|
url: "/v1/toolsets/{toolsetId}",
|
|
1057
1164
|
...options,
|
|
1058
1165
|
headers: {
|
|
@@ -1073,6 +1180,7 @@ function createEnginiClient(options) {
|
|
|
1073
1180
|
|
|
1074
1181
|
exports.applicationsGetApplication = applicationsGetApplication;
|
|
1075
1182
|
exports.applicationsListApplications = applicationsListApplications;
|
|
1183
|
+
exports.authWhoAmI = authWhoAmI;
|
|
1076
1184
|
exports.connectionsCheckConnection = connectionsCheckConnection;
|
|
1077
1185
|
exports.connectionsClearDefaultConnection = connectionsClearDefaultConnection;
|
|
1078
1186
|
exports.connectionsCreateConnection = connectionsCreateConnection;
|