@anuma/sdk 3.3.0 → 3.4.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/dist/client/index.cjs +793 -1420
- package/dist/client/index.d.mts +406 -402
- package/dist/client/index.d.ts +406 -402
- package/dist/client/index.mjs +793 -1420
- package/dist/expo/{chunk-NMZMXIUM.mjs → chunk-C7PGRFBG.mjs} +82 -9
- package/dist/expo/index.cjs +234 -168
- package/dist/expo/index.d.mts +70 -1
- package/dist/expo/index.d.ts +70 -1
- package/dist/expo/index.mjs +144 -156
- package/dist/expo/{recall-7FUJRHOI.mjs → recall-7ZX6T2VD.mjs} +1 -1
- package/dist/index.cjs +453 -783
- package/dist/index.d.mts +491 -487
- package/dist/index.d.ts +491 -487
- package/dist/index.mjs +453 -783
- package/dist/react/{chunk-GZRK43CA.mjs → chunk-CGC3UJHM.mjs} +82 -9
- package/dist/react/index.cjs +305 -290
- package/dist/react/index.d.mts +453 -380
- package/dist/react/index.d.ts +453 -380
- package/dist/react/index.mjs +215 -278
- package/dist/react/{recall-YZGWZC5W.mjs → recall-OTUNGQHQ.mjs} +1 -1
- package/dist/server/{chunk-NVTMJWFA.mjs → chunk-LUDHA4X4.mjs} +82 -9
- package/dist/server/index.cjs +124 -30
- package/dist/server/index.d.mts +70 -1
- package/dist/server/index.d.ts +70 -1
- package/dist/server/index.mjs +34 -18
- package/dist/server/{recall-76WPPKLR.mjs → recall-GWRWPGE4.mjs} +1 -1
- package/dist/tools/selection/index.cjs +3 -0
- package/dist/tools/selection/index.mjs +3 -0
- package/package.json +2 -2
package/dist/client/index.cjs
CHANGED
|
@@ -198,10 +198,7 @@ var serializeUrlSearchParamsPair = (data, key, value) => {
|
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
var jsonBodySerializer = {
|
|
201
|
-
bodySerializer: (body) => JSON.stringify(
|
|
202
|
-
body,
|
|
203
|
-
(_key, value) => typeof value === "bigint" ? value.toString() : value
|
|
204
|
-
)
|
|
201
|
+
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
205
202
|
};
|
|
206
203
|
var urlSearchParamsBodySerializer = {
|
|
207
204
|
bodySerializer: (body) => {
|
|
@@ -221,7 +218,7 @@ var urlSearchParamsBodySerializer = {
|
|
|
221
218
|
};
|
|
222
219
|
|
|
223
220
|
// src/client/core/serverSentEvents.gen.ts
|
|
224
|
-
|
|
221
|
+
function createSseClient({
|
|
225
222
|
onRequest,
|
|
226
223
|
onSseError,
|
|
227
224
|
onSseEvent,
|
|
@@ -233,7 +230,7 @@ var createSseClient = ({
|
|
|
233
230
|
sseSleepFn,
|
|
234
231
|
url,
|
|
235
232
|
...options
|
|
236
|
-
})
|
|
233
|
+
}) {
|
|
237
234
|
let lastEventId;
|
|
238
235
|
const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
239
236
|
const createStream = async function* () {
|
|
@@ -261,10 +258,7 @@ var createSseClient = ({
|
|
|
261
258
|
}
|
|
262
259
|
const _fetch = options.fetch ?? globalThis.fetch;
|
|
263
260
|
const response = await _fetch(request);
|
|
264
|
-
if (!response.ok)
|
|
265
|
-
throw new Error(
|
|
266
|
-
`SSE failed: ${response.status} ${response.statusText}`
|
|
267
|
-
);
|
|
261
|
+
if (!response.ok) throw new Error(`SSE failed: ${response.status} ${response.statusText}`);
|
|
268
262
|
if (!response.body) throw new Error("No body in SSE response");
|
|
269
263
|
const reader = response.body.pipeThrough(new TextDecoderStream()).getReader();
|
|
270
264
|
let buffer = "";
|
|
@@ -280,6 +274,7 @@ var createSseClient = ({
|
|
|
280
274
|
const { done, value } = await reader.read();
|
|
281
275
|
if (done) break;
|
|
282
276
|
buffer += value;
|
|
277
|
+
buffer = buffer.replace(/\r\n?/g, "\n");
|
|
283
278
|
const chunks = buffer.split("\n\n");
|
|
284
279
|
buffer = chunks.pop() ?? "";
|
|
285
280
|
for (const chunk of chunks) {
|
|
@@ -294,10 +289,7 @@ var createSseClient = ({
|
|
|
294
289
|
} else if (line.startsWith("id:")) {
|
|
295
290
|
lastEventId = line.replace(/^id:\s*/, "");
|
|
296
291
|
} else if (line.startsWith("retry:")) {
|
|
297
|
-
const parsed = Number.parseInt(
|
|
298
|
-
line.replace(/^retry:\s*/, ""),
|
|
299
|
-
10
|
|
300
|
-
);
|
|
292
|
+
const parsed = Number.parseInt(line.replace(/^retry:\s*/, ""), 10);
|
|
301
293
|
if (!Number.isNaN(parsed)) {
|
|
302
294
|
retryDelay = parsed;
|
|
303
295
|
}
|
|
@@ -343,17 +335,14 @@ var createSseClient = ({
|
|
|
343
335
|
if (sseMaxRetryAttempts !== void 0 && attempt >= sseMaxRetryAttempts) {
|
|
344
336
|
break;
|
|
345
337
|
}
|
|
346
|
-
const backoff = Math.min(
|
|
347
|
-
retryDelay * 2 ** (attempt - 1),
|
|
348
|
-
sseMaxRetryDelay ?? 3e4
|
|
349
|
-
);
|
|
338
|
+
const backoff = Math.min(retryDelay * 2 ** (attempt - 1), sseMaxRetryDelay ?? 3e4);
|
|
350
339
|
await sleep(backoff);
|
|
351
340
|
}
|
|
352
341
|
}
|
|
353
342
|
};
|
|
354
343
|
const stream = createStream();
|
|
355
344
|
return { stream };
|
|
356
|
-
}
|
|
345
|
+
}
|
|
357
346
|
|
|
358
347
|
// src/client/core/pathSerializer.gen.ts
|
|
359
348
|
var separatorArrayExplode = (style) => {
|
|
@@ -454,11 +443,7 @@ var serializeObjectParam = ({
|
|
|
454
443
|
if (style !== "deepObject" && !explode) {
|
|
455
444
|
let values = [];
|
|
456
445
|
Object.entries(value).forEach(([key, v]) => {
|
|
457
|
-
values = [
|
|
458
|
-
...values,
|
|
459
|
-
key,
|
|
460
|
-
allowReserved ? v : encodeURIComponent(v)
|
|
461
|
-
];
|
|
446
|
+
values = [...values, key, allowReserved ? v : encodeURIComponent(v)];
|
|
462
447
|
});
|
|
463
448
|
const joinedValues2 = values.join(",");
|
|
464
449
|
switch (style) {
|
|
@@ -541,10 +526,7 @@ var defaultPathSerializer = ({ path, url: _url }) => {
|
|
|
541
526
|
continue;
|
|
542
527
|
}
|
|
543
528
|
if (Array.isArray(value)) {
|
|
544
|
-
url = url.replace(
|
|
545
|
-
match,
|
|
546
|
-
serializeArrayParam({ explode, name, style, value })
|
|
547
|
-
);
|
|
529
|
+
url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
|
|
548
530
|
continue;
|
|
549
531
|
}
|
|
550
532
|
if (typeof value === "object") {
|
|
@@ -639,9 +621,7 @@ var getParseAs = (contentType) => {
|
|
|
639
621
|
if (cleanContent === "multipart/form-data") {
|
|
640
622
|
return "formData";
|
|
641
623
|
}
|
|
642
|
-
if (["application/", "audio/", "image/", "video/"].some(
|
|
643
|
-
(type) => cleanContent.startsWith(type)
|
|
644
|
-
)) {
|
|
624
|
+
if (["application/", "audio/", "image/", "video/"].some((type) => cleanContent.startsWith(type))) {
|
|
645
625
|
return "blob";
|
|
646
626
|
}
|
|
647
627
|
if (cleanContent.startsWith("text/")) {
|
|
@@ -658,11 +638,8 @@ var checkForExistence = (options, name) => {
|
|
|
658
638
|
}
|
|
659
639
|
return false;
|
|
660
640
|
};
|
|
661
|
-
|
|
662
|
-
security
|
|
663
|
-
...options
|
|
664
|
-
}) => {
|
|
665
|
-
for (const auth of security) {
|
|
641
|
+
async function setAuthParams(options) {
|
|
642
|
+
for (const auth of options.security ?? []) {
|
|
666
643
|
if (checkForExistence(options, auth.name)) {
|
|
667
644
|
continue;
|
|
668
645
|
}
|
|
@@ -687,7 +664,7 @@ var setAuthParams = async ({
|
|
|
687
664
|
break;
|
|
688
665
|
}
|
|
689
666
|
}
|
|
690
|
-
}
|
|
667
|
+
}
|
|
691
668
|
var buildUrl = (options) => {
|
|
692
669
|
const url = getUrl({
|
|
693
670
|
baseUrl: options.baseUrl,
|
|
@@ -839,10 +816,7 @@ var createClient = (config = {}) => {
|
|
|
839
816
|
serializedBody: void 0
|
|
840
817
|
};
|
|
841
818
|
if (opts.security) {
|
|
842
|
-
await setAuthParams(
|
|
843
|
-
...opts,
|
|
844
|
-
security: opts.security
|
|
845
|
-
});
|
|
819
|
+
await setAuthParams(opts);
|
|
846
820
|
}
|
|
847
821
|
if (opts.requestValidator) {
|
|
848
822
|
await opts.requestValidator(opts);
|
|
@@ -853,105 +827,115 @@ var createClient = (config = {}) => {
|
|
|
853
827
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
854
828
|
opts.headers.delete("Content-Type");
|
|
855
829
|
}
|
|
856
|
-
const
|
|
857
|
-
|
|
830
|
+
const resolvedOpts = opts;
|
|
831
|
+
const url = buildUrl(resolvedOpts);
|
|
832
|
+
return { opts: resolvedOpts, url };
|
|
858
833
|
};
|
|
859
834
|
const request = async (options) => {
|
|
860
|
-
const
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
835
|
+
const throwOnError = options.throwOnError ?? _config.throwOnError;
|
|
836
|
+
let response;
|
|
837
|
+
try {
|
|
838
|
+
const { opts, url } = await beforeRequest(options);
|
|
839
|
+
for (const fn of interceptors.request.fns) {
|
|
840
|
+
if (fn) {
|
|
841
|
+
await fn(opts);
|
|
842
|
+
}
|
|
864
843
|
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
844
|
+
const _fetch = opts.fetch;
|
|
845
|
+
const requestInit = {
|
|
846
|
+
...opts,
|
|
847
|
+
body: getValidRequestBody(opts)
|
|
848
|
+
};
|
|
849
|
+
response = await _fetch(url, requestInit);
|
|
850
|
+
for (const fn of interceptors.response.fns) {
|
|
851
|
+
if (fn) {
|
|
852
|
+
response = await fn(response, opts);
|
|
853
|
+
}
|
|
875
854
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
855
|
+
const result = {
|
|
856
|
+
response
|
|
857
|
+
};
|
|
858
|
+
if (response.ok) {
|
|
859
|
+
const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
|
|
860
|
+
if (response.status === 204 || response.headers.get("Content-Length") === "0") {
|
|
861
|
+
let emptyData;
|
|
862
|
+
switch (parseAs) {
|
|
863
|
+
case "arrayBuffer":
|
|
864
|
+
case "blob":
|
|
865
|
+
case "text":
|
|
866
|
+
emptyData = await response[parseAs]();
|
|
867
|
+
break;
|
|
868
|
+
case "formData":
|
|
869
|
+
emptyData = new FormData();
|
|
870
|
+
break;
|
|
871
|
+
case "stream":
|
|
872
|
+
emptyData = response.body;
|
|
873
|
+
break;
|
|
874
|
+
case "json":
|
|
875
|
+
default:
|
|
876
|
+
emptyData = {};
|
|
877
|
+
break;
|
|
878
|
+
}
|
|
879
|
+
return {
|
|
880
|
+
data: emptyData,
|
|
881
|
+
...result
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
let data;
|
|
884
885
|
switch (parseAs) {
|
|
885
886
|
case "arrayBuffer":
|
|
886
887
|
case "blob":
|
|
888
|
+
case "formData":
|
|
887
889
|
case "text":
|
|
888
|
-
|
|
890
|
+
data = await response[parseAs]();
|
|
889
891
|
break;
|
|
890
|
-
case "
|
|
891
|
-
|
|
892
|
+
case "json": {
|
|
893
|
+
const text = await response.text();
|
|
894
|
+
data = text ? JSON.parse(text) : {};
|
|
892
895
|
break;
|
|
896
|
+
}
|
|
893
897
|
case "stream":
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
898
|
+
return {
|
|
899
|
+
data: response.body,
|
|
900
|
+
...result
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
if (parseAs === "json") {
|
|
904
|
+
if (opts.responseValidator) {
|
|
905
|
+
await opts.responseValidator(data);
|
|
906
|
+
}
|
|
907
|
+
if (opts.responseTransformer) {
|
|
908
|
+
data = await opts.responseTransformer(data);
|
|
909
|
+
}
|
|
900
910
|
}
|
|
901
911
|
return {
|
|
902
|
-
data
|
|
912
|
+
data,
|
|
903
913
|
...result
|
|
904
914
|
};
|
|
905
915
|
}
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
case "json":
|
|
912
|
-
case "text":
|
|
913
|
-
data = await response[parseAs]();
|
|
914
|
-
break;
|
|
915
|
-
case "stream":
|
|
916
|
-
return {
|
|
917
|
-
data: response.body,
|
|
918
|
-
...result
|
|
919
|
-
};
|
|
916
|
+
const textError = await response.text();
|
|
917
|
+
let jsonError;
|
|
918
|
+
try {
|
|
919
|
+
jsonError = JSON.parse(textError);
|
|
920
|
+
} catch {
|
|
920
921
|
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
if (
|
|
926
|
-
|
|
922
|
+
throw jsonError ?? textError;
|
|
923
|
+
} catch (error) {
|
|
924
|
+
let finalError = error;
|
|
925
|
+
for (const fn of interceptors.error.fns) {
|
|
926
|
+
if (fn) {
|
|
927
|
+
finalError = await fn(finalError, response, options);
|
|
927
928
|
}
|
|
928
929
|
}
|
|
930
|
+
finalError = finalError || {};
|
|
931
|
+
if (throwOnError) {
|
|
932
|
+
throw finalError;
|
|
933
|
+
}
|
|
929
934
|
return {
|
|
930
|
-
|
|
931
|
-
|
|
935
|
+
error: finalError,
|
|
936
|
+
response
|
|
932
937
|
};
|
|
933
938
|
}
|
|
934
|
-
const textError = await response.text();
|
|
935
|
-
let jsonError;
|
|
936
|
-
try {
|
|
937
|
-
jsonError = JSON.parse(textError);
|
|
938
|
-
} catch {
|
|
939
|
-
}
|
|
940
|
-
const error = jsonError ?? textError;
|
|
941
|
-
let finalError = error;
|
|
942
|
-
for (const fn of interceptors.error.fns) {
|
|
943
|
-
if (fn) {
|
|
944
|
-
finalError = await fn(error, response, opts);
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
finalError = finalError || {};
|
|
948
|
-
if (opts.throwOnError) {
|
|
949
|
-
throw finalError;
|
|
950
|
-
}
|
|
951
|
-
return {
|
|
952
|
-
error: finalError,
|
|
953
|
-
...result
|
|
954
|
-
};
|
|
955
939
|
};
|
|
956
940
|
const makeMethodFn = (method) => (options) => request({ ...options, method });
|
|
957
941
|
const makeSseFn = (method) => async (options) => {
|
|
@@ -959,15 +943,10 @@ var createClient = (config = {}) => {
|
|
|
959
943
|
return createSseClient({
|
|
960
944
|
...opts,
|
|
961
945
|
body: opts.body,
|
|
962
|
-
headers: opts.headers,
|
|
963
946
|
method,
|
|
964
947
|
onRequest: async (url2, init) => {
|
|
965
948
|
let request2 = new Request(url2, init);
|
|
966
|
-
const requestInit = {
|
|
967
|
-
...init,
|
|
968
|
-
method: init.method,
|
|
969
|
-
url: url2
|
|
970
|
-
};
|
|
949
|
+
const requestInit = { ...init, url: url2 };
|
|
971
950
|
for (const fn of interceptors.request.fns) {
|
|
972
951
|
if (fn) {
|
|
973
952
|
await fn(requestInit);
|
|
@@ -976,11 +955,13 @@ var createClient = (config = {}) => {
|
|
|
976
955
|
}
|
|
977
956
|
return request2;
|
|
978
957
|
},
|
|
958
|
+
serializedBody: getValidRequestBody(opts),
|
|
979
959
|
url
|
|
980
960
|
});
|
|
981
961
|
};
|
|
962
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
982
963
|
return {
|
|
983
|
-
buildUrl,
|
|
964
|
+
buildUrl: _buildUrl,
|
|
984
965
|
connect: makeMethodFn("CONNECT"),
|
|
985
966
|
delete: makeMethodFn("DELETE"),
|
|
986
967
|
get: makeMethodFn("GET"),
|
|
@@ -1030,1301 +1011,693 @@ var createClientConfig = (config) => ({
|
|
|
1030
1011
|
var client = createClient(createClientConfig(createConfig()));
|
|
1031
1012
|
|
|
1032
1013
|
// src/client/sdk.gen.ts
|
|
1033
|
-
var getWellKnownJwksJson = (options) => {
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
...options
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
headers
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
};
|
|
1135
|
-
var
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
...options
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
};
|
|
1179
|
-
var
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
...options
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
headers
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
...options
|
|
1225
|
-
}
|
|
1226
|
-
};
|
|
1227
|
-
var
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
};
|
|
1237
|
-
var
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
...options
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
headers
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
};
|
|
1285
|
-
var
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
...options
|
|
1299
|
-
}
|
|
1300
|
-
};
|
|
1301
|
-
var
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
};
|
|
1339
|
-
var
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
}
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
...options
|
|
1517
|
-
}
|
|
1518
|
-
};
|
|
1519
|
-
var
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
};
|
|
1529
|
-
var
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
}
|
|
1538
|
-
};
|
|
1539
|
-
var
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
...options
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
};
|
|
1587
|
-
var
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
};
|
|
1609
|
-
var
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
}
|
|
1634
|
-
};
|
|
1635
|
-
var
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
};
|
|
1647
|
-
var
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
...options
|
|
1661
|
-
}
|
|
1662
|
-
};
|
|
1663
|
-
var
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
...options
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
}
|
|
1710
|
-
};
|
|
1711
|
-
var
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
...options,
|
|
1721
|
-
headers: {
|
|
1722
|
-
"Content-Type": "application/json",
|
|
1723
|
-
...options.headers
|
|
1724
|
-
}
|
|
1725
|
-
});
|
|
1726
|
-
};
|
|
1727
|
-
var getApiV1DeveloperAppsByAppUuidUsage = (options) => {
|
|
1728
|
-
return (options.client ?? client).get({
|
|
1729
|
-
url: "/api/v1/developer/apps/{app_uuid}/usage",
|
|
1730
|
-
...options
|
|
1731
|
-
});
|
|
1732
|
-
};
|
|
1733
|
-
var getApiV1DeveloperAppsByAppUuidUsageUsers = (options) => {
|
|
1734
|
-
return (options.client ?? client).get({
|
|
1735
|
-
url: "/api/v1/developer/apps/{app_uuid}/usage/users",
|
|
1736
|
-
...options
|
|
1737
|
-
});
|
|
1738
|
-
};
|
|
1739
|
-
var getApiV1DeveloperAppsByAppUuidUsers = (options) => {
|
|
1740
|
-
return (options.client ?? client).get({
|
|
1741
|
-
url: "/api/v1/developer/apps/{app_uuid}/users",
|
|
1742
|
-
...options
|
|
1743
|
-
});
|
|
1744
|
-
};
|
|
1745
|
-
var getApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => {
|
|
1746
|
-
return (options.client ?? client).get({
|
|
1747
|
-
url: "/api/v1/developer/apps/{app_uuid}/users/{address}",
|
|
1748
|
-
...options
|
|
1749
|
-
});
|
|
1750
|
-
};
|
|
1751
|
-
var patchApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => {
|
|
1752
|
-
return (options.client ?? client).patch({
|
|
1753
|
-
url: "/api/v1/developer/apps/{app_uuid}/users/{address}",
|
|
1754
|
-
...options,
|
|
1755
|
-
headers: {
|
|
1756
|
-
"Content-Type": "application/json",
|
|
1757
|
-
...options.headers
|
|
1758
|
-
}
|
|
1759
|
-
});
|
|
1760
|
-
};
|
|
1761
|
-
var postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp = (options) => {
|
|
1762
|
-
return (options.client ?? client).post({
|
|
1763
|
-
url: "/api/v1/developer/apps/{app_uuid}/users/{address}/top-up",
|
|
1764
|
-
...options,
|
|
1765
|
-
headers: {
|
|
1766
|
-
"Content-Type": "application/json",
|
|
1767
|
-
...options.headers
|
|
1768
|
-
}
|
|
1769
|
-
});
|
|
1770
|
-
};
|
|
1771
|
-
var getApiV1DeveloperBilling = (options) => {
|
|
1772
|
-
return (options?.client ?? client).get({
|
|
1773
|
-
url: "/api/v1/developer/billing",
|
|
1774
|
-
...options
|
|
1775
|
-
});
|
|
1776
|
-
};
|
|
1777
|
-
var getApiV1DocsSwaggerJson = (options) => {
|
|
1778
|
-
return (options?.client ?? client).get({
|
|
1779
|
-
url: "/api/v1/docs/swagger.json",
|
|
1780
|
-
...options
|
|
1781
|
-
});
|
|
1782
|
-
};
|
|
1783
|
-
var postApiV1Embeddings = (options) => {
|
|
1784
|
-
return (options.client ?? client).post({
|
|
1785
|
-
url: "/api/v1/embeddings",
|
|
1786
|
-
...options,
|
|
1787
|
-
headers: {
|
|
1788
|
-
"Content-Type": "application/json",
|
|
1789
|
-
...options.headers
|
|
1790
|
-
}
|
|
1791
|
-
});
|
|
1792
|
-
};
|
|
1793
|
-
var getApiV1GuestBootstrap = (options) => {
|
|
1794
|
-
return (options.client ?? client).get({
|
|
1795
|
-
url: "/api/v1/guest-bootstrap",
|
|
1796
|
-
...options
|
|
1797
|
-
});
|
|
1798
|
-
};
|
|
1799
|
-
var postApiV1GuestChatCompletions = (options) => {
|
|
1800
|
-
return (options.client ?? client).post({
|
|
1801
|
-
url: "/api/v1/guest/chat/completions",
|
|
1802
|
-
...options,
|
|
1803
|
-
headers: {
|
|
1804
|
-
"Content-Type": "application/json",
|
|
1805
|
-
...options.headers
|
|
1806
|
-
}
|
|
1807
|
-
});
|
|
1808
|
-
};
|
|
1809
|
-
var getApiV1Me = (options) => {
|
|
1810
|
-
return (options?.client ?? client).get({
|
|
1811
|
-
url: "/api/v1/me",
|
|
1812
|
-
...options
|
|
1813
|
-
});
|
|
1814
|
-
};
|
|
1815
|
-
var getApiV1MediaSharedBySlug = (options) => {
|
|
1816
|
-
return (options.client ?? client).get({
|
|
1817
|
-
url: "/api/v1/media/shared/{slug}",
|
|
1818
|
-
...options
|
|
1819
|
-
});
|
|
1820
|
-
};
|
|
1821
|
-
var getApiV1Models = (options) => {
|
|
1822
|
-
return (options?.client ?? client).get({
|
|
1823
|
-
url: "/api/v1/models",
|
|
1824
|
-
...options
|
|
1825
|
-
});
|
|
1826
|
-
};
|
|
1827
|
-
var postApiV1Moderate = (options) => {
|
|
1828
|
-
return (options.client ?? client).post({
|
|
1829
|
-
url: "/api/v1/moderate",
|
|
1830
|
-
...options,
|
|
1831
|
-
headers: {
|
|
1832
|
-
"Content-Type": "application/json",
|
|
1833
|
-
...options.headers
|
|
1834
|
-
}
|
|
1835
|
-
});
|
|
1836
|
-
};
|
|
1837
|
-
var postApiV1NotificationsDevices = (options) => {
|
|
1838
|
-
return (options.client ?? client).post({
|
|
1839
|
-
url: "/api/v1/notifications/devices",
|
|
1840
|
-
...options,
|
|
1841
|
-
headers: {
|
|
1842
|
-
"Content-Type": "application/json",
|
|
1843
|
-
...options.headers
|
|
1844
|
-
}
|
|
1845
|
-
});
|
|
1846
|
-
};
|
|
1847
|
-
var postApiV1NotificationsDevicesUnregister = (options) => {
|
|
1848
|
-
return (options.client ?? client).post({
|
|
1849
|
-
url: "/api/v1/notifications/devices/unregister",
|
|
1850
|
-
...options,
|
|
1851
|
-
headers: {
|
|
1852
|
-
"Content-Type": "application/json",
|
|
1853
|
-
...options.headers
|
|
1854
|
-
}
|
|
1855
|
-
});
|
|
1856
|
-
};
|
|
1857
|
-
var getApiV1Personas = (options) => {
|
|
1858
|
-
return (options?.client ?? client).get({
|
|
1859
|
-
url: "/api/v1/personas",
|
|
1860
|
-
...options
|
|
1861
|
-
});
|
|
1862
|
-
};
|
|
1863
|
-
var getApiV1PersonasById = (options) => {
|
|
1864
|
-
return (options.client ?? client).get({
|
|
1865
|
-
url: "/api/v1/personas/{id}",
|
|
1866
|
-
...options
|
|
1867
|
-
});
|
|
1868
|
-
};
|
|
1869
|
-
var postApiV1PhoneCalls = (options) => {
|
|
1870
|
-
return (options.client ?? client).post({
|
|
1871
|
-
url: "/api/v1/phone-calls",
|
|
1872
|
-
...options,
|
|
1873
|
-
headers: {
|
|
1874
|
-
"Content-Type": "application/json",
|
|
1875
|
-
...options.headers
|
|
1876
|
-
}
|
|
1877
|
-
});
|
|
1878
|
-
};
|
|
1879
|
-
var getApiV1PhoneCallsByCallId = (options) => {
|
|
1880
|
-
return (options.client ?? client).get({
|
|
1881
|
-
url: "/api/v1/phone-calls/{call_id}",
|
|
1882
|
-
...options
|
|
1883
|
-
});
|
|
1884
|
-
};
|
|
1885
|
-
var postApiV1PreprocessorsCryptoPrices = (options) => {
|
|
1886
|
-
return (options.client ?? client).post({
|
|
1887
|
-
url: "/api/v1/preprocessors/crypto-prices",
|
|
1888
|
-
...options,
|
|
1889
|
-
headers: {
|
|
1890
|
-
"Content-Type": "application/json",
|
|
1891
|
-
...options.headers
|
|
1892
|
-
}
|
|
1893
|
-
});
|
|
1894
|
-
};
|
|
1895
|
-
var postApiV1PreprocessorsSearch = (options) => {
|
|
1896
|
-
return (options.client ?? client).post({
|
|
1897
|
-
url: "/api/v1/preprocessors/search",
|
|
1898
|
-
...options,
|
|
1899
|
-
headers: {
|
|
1900
|
-
"Content-Type": "application/json",
|
|
1901
|
-
...options.headers
|
|
1902
|
-
}
|
|
1903
|
-
});
|
|
1904
|
-
};
|
|
1905
|
-
var postApiV1PreprocessorsStockPrices = (options) => {
|
|
1906
|
-
return (options.client ?? client).post({
|
|
1907
|
-
url: "/api/v1/preprocessors/stock-prices",
|
|
1908
|
-
...options,
|
|
1909
|
-
headers: {
|
|
1910
|
-
"Content-Type": "application/json",
|
|
1911
|
-
...options.headers
|
|
1912
|
-
}
|
|
1913
|
-
});
|
|
1914
|
-
};
|
|
1915
|
-
var postApiV1PreprocessorsWeather = (options) => {
|
|
1916
|
-
return (options.client ?? client).post({
|
|
1917
|
-
url: "/api/v1/preprocessors/weather",
|
|
1918
|
-
...options,
|
|
1919
|
-
headers: {
|
|
1920
|
-
"Content-Type": "application/json",
|
|
1921
|
-
...options.headers
|
|
1922
|
-
}
|
|
1923
|
-
});
|
|
1924
|
-
};
|
|
1925
|
-
var postApiV1Responses = (options) => {
|
|
1926
|
-
return (options.client ?? client).post({
|
|
1927
|
-
url: "/api/v1/responses",
|
|
1928
|
-
...options,
|
|
1929
|
-
headers: {
|
|
1930
|
-
"Content-Type": "application/json",
|
|
1931
|
-
...options.headers
|
|
1932
|
-
}
|
|
1933
|
-
});
|
|
1934
|
-
};
|
|
1935
|
-
var getApiV1Shares = (options) => {
|
|
1936
|
-
return (options?.client ?? client).get({
|
|
1937
|
-
url: "/api/v1/shares",
|
|
1938
|
-
...options
|
|
1939
|
-
});
|
|
1940
|
-
};
|
|
1941
|
-
var postApiV1Shares = (options) => {
|
|
1942
|
-
return (options.client ?? client).post({
|
|
1943
|
-
url: "/api/v1/shares",
|
|
1944
|
-
...options,
|
|
1945
|
-
headers: {
|
|
1946
|
-
"Content-Type": "application/json",
|
|
1947
|
-
...options.headers
|
|
1948
|
-
}
|
|
1949
|
-
});
|
|
1950
|
-
};
|
|
1951
|
-
var deleteApiV1SharesBySlug = (options) => {
|
|
1952
|
-
return (options.client ?? client).delete({
|
|
1953
|
-
url: "/api/v1/shares/{slug}",
|
|
1954
|
-
...options
|
|
1955
|
-
});
|
|
1956
|
-
};
|
|
1957
|
-
var getApiV1SharesBySlug = (options) => {
|
|
1958
|
-
return (options.client ?? client).get({
|
|
1959
|
-
url: "/api/v1/shares/{slug}",
|
|
1960
|
-
...options
|
|
1961
|
-
});
|
|
1962
|
-
};
|
|
1963
|
-
var postApiV1SharesBySlugReport = (options) => {
|
|
1964
|
-
return (options.client ?? client).post({
|
|
1965
|
-
url: "/api/v1/shares/{slug}/report",
|
|
1966
|
-
...options
|
|
1967
|
-
});
|
|
1968
|
-
};
|
|
1969
|
-
var postApiV1SubscriptionsCancel = (options) => {
|
|
1970
|
-
return (options?.client ?? client).post({
|
|
1971
|
-
url: "/api/v1/subscriptions/cancel",
|
|
1972
|
-
...options,
|
|
1973
|
-
headers: {
|
|
1974
|
-
"Content-Type": "application/json",
|
|
1975
|
-
...options?.headers
|
|
1976
|
-
}
|
|
1977
|
-
});
|
|
1978
|
-
};
|
|
1979
|
-
var postApiV1SubscriptionsCancelScheduledDowngrade = (options) => {
|
|
1980
|
-
return (options?.client ?? client).post({
|
|
1981
|
-
url: "/api/v1/subscriptions/cancel-scheduled-downgrade",
|
|
1982
|
-
...options
|
|
1983
|
-
});
|
|
1984
|
-
};
|
|
1985
|
-
var postApiV1SubscriptionsCreateCheckoutSession = (options) => {
|
|
1986
|
-
return (options.client ?? client).post({
|
|
1987
|
-
url: "/api/v1/subscriptions/create-checkout-session",
|
|
1988
|
-
...options,
|
|
1989
|
-
headers: {
|
|
1990
|
-
"Content-Type": "application/json",
|
|
1991
|
-
...options.headers
|
|
1992
|
-
}
|
|
1993
|
-
});
|
|
1994
|
-
};
|
|
1995
|
-
var postApiV1SubscriptionsCustomerPortal = (options) => {
|
|
1996
|
-
return (options.client ?? client).post({
|
|
1997
|
-
url: "/api/v1/subscriptions/customer-portal",
|
|
1998
|
-
...options,
|
|
1999
|
-
headers: {
|
|
2000
|
-
"Content-Type": "application/json",
|
|
2001
|
-
...options.headers
|
|
2002
|
-
}
|
|
2003
|
-
});
|
|
2004
|
-
};
|
|
2005
|
-
var getApiV1SubscriptionsPlans = (options) => {
|
|
2006
|
-
return (options?.client ?? client).get({
|
|
2007
|
-
url: "/api/v1/subscriptions/plans",
|
|
2008
|
-
...options
|
|
2009
|
-
});
|
|
2010
|
-
};
|
|
2011
|
-
var postApiV1SubscriptionsRenew = (options) => {
|
|
2012
|
-
return (options?.client ?? client).post({
|
|
2013
|
-
url: "/api/v1/subscriptions/renew",
|
|
2014
|
-
...options
|
|
2015
|
-
});
|
|
2016
|
-
};
|
|
2017
|
-
var postApiV1SubscriptionsScheduleDowngrade = (options) => {
|
|
2018
|
-
return (options.client ?? client).post({
|
|
2019
|
-
url: "/api/v1/subscriptions/schedule-downgrade",
|
|
2020
|
-
...options,
|
|
2021
|
-
headers: {
|
|
2022
|
-
"Content-Type": "application/json",
|
|
2023
|
-
...options.headers
|
|
2024
|
-
}
|
|
2025
|
-
});
|
|
2026
|
-
};
|
|
2027
|
-
var getApiV1SubscriptionsStatus = (options) => {
|
|
2028
|
-
return (options?.client ?? client).get({
|
|
2029
|
-
url: "/api/v1/subscriptions/status",
|
|
2030
|
-
...options
|
|
2031
|
-
});
|
|
2032
|
-
};
|
|
2033
|
-
var postApiV1SubscriptionsUpgrade = (options) => {
|
|
2034
|
-
return (options.client ?? client).post({
|
|
2035
|
-
url: "/api/v1/subscriptions/upgrade",
|
|
2036
|
-
...options,
|
|
2037
|
-
headers: {
|
|
2038
|
-
"Content-Type": "application/json",
|
|
2039
|
-
...options.headers
|
|
2040
|
-
}
|
|
2041
|
-
});
|
|
2042
|
-
};
|
|
2043
|
-
var postApiV1SubscriptionsWebhook = (options) => {
|
|
2044
|
-
return (options.client ?? client).post({
|
|
2045
|
-
url: "/api/v1/subscriptions/webhook",
|
|
2046
|
-
...options,
|
|
2047
|
-
headers: {
|
|
2048
|
-
"Content-Type": "application/json",
|
|
2049
|
-
...options.headers
|
|
2050
|
-
}
|
|
2051
|
-
});
|
|
2052
|
-
};
|
|
2053
|
-
var getApiV1Tools = (options) => {
|
|
2054
|
-
return (options?.client ?? client).get({
|
|
2055
|
-
url: "/api/v1/tools",
|
|
2056
|
-
...options
|
|
2057
|
-
});
|
|
2058
|
-
};
|
|
2059
|
-
var getApiV1UsageByModality = (options) => {
|
|
2060
|
-
return (options?.client ?? client).get({
|
|
2061
|
-
url: "/api/v1/usage/by-modality",
|
|
2062
|
-
...options
|
|
2063
|
-
});
|
|
2064
|
-
};
|
|
2065
|
-
var getApiV1UsageInferenceWeekly = (options) => {
|
|
2066
|
-
return (options?.client ?? client).get({
|
|
2067
|
-
url: "/api/v1/usage/inference-weekly",
|
|
2068
|
-
...options
|
|
2069
|
-
});
|
|
2070
|
-
};
|
|
2071
|
-
var getApiV1UsageModels = (options) => {
|
|
2072
|
-
return (options?.client ?? client).get({
|
|
2073
|
-
url: "/api/v1/usage/models",
|
|
2074
|
-
...options
|
|
2075
|
-
});
|
|
2076
|
-
};
|
|
2077
|
-
var getApiV1UserAgentConsents = (options) => {
|
|
2078
|
-
return (options?.client ?? client).get({
|
|
2079
|
-
url: "/api/v1/user/agent-consents",
|
|
2080
|
-
...options
|
|
2081
|
-
});
|
|
2082
|
-
};
|
|
2083
|
-
var postApiV1UserAgentConsents = (options) => {
|
|
2084
|
-
return (options.client ?? client).post({
|
|
2085
|
-
url: "/api/v1/user/agent-consents",
|
|
2086
|
-
...options,
|
|
2087
|
-
headers: {
|
|
2088
|
-
"Content-Type": "application/json",
|
|
2089
|
-
...options.headers
|
|
2090
|
-
}
|
|
2091
|
-
});
|
|
2092
|
-
};
|
|
2093
|
-
var deleteApiV1UserAgentConsentsByAgentId = (options) => {
|
|
2094
|
-
return (options.client ?? client).delete({
|
|
2095
|
-
url: "/api/v1/user/agent-consents/{agent_id}",
|
|
2096
|
-
...options
|
|
2097
|
-
});
|
|
2098
|
-
};
|
|
2099
|
-
var getApiV1UserAgentGrants = (options) => {
|
|
2100
|
-
return (options.client ?? client).get({
|
|
2101
|
-
url: "/api/v1/user/agent-grants",
|
|
2102
|
-
...options
|
|
2103
|
-
});
|
|
2104
|
-
};
|
|
2105
|
-
var getApiV1UserApiKeys = (options) => {
|
|
2106
|
-
return (options?.client ?? client).get({
|
|
2107
|
-
url: "/api/v1/user/api-keys",
|
|
2108
|
-
...options
|
|
2109
|
-
});
|
|
2110
|
-
};
|
|
2111
|
-
var postApiV1UserApiKeys = (options) => {
|
|
2112
|
-
return (options.client ?? client).post({
|
|
2113
|
-
url: "/api/v1/user/api-keys",
|
|
2114
|
-
...options,
|
|
2115
|
-
headers: {
|
|
2116
|
-
"Content-Type": "application/json",
|
|
2117
|
-
...options.headers
|
|
2118
|
-
}
|
|
2119
|
-
});
|
|
2120
|
-
};
|
|
2121
|
-
var deleteApiV1UserApiKeysByKeyId = (options) => {
|
|
2122
|
-
return (options.client ?? client).delete({
|
|
2123
|
-
url: "/api/v1/user/api-keys/{key_id}",
|
|
2124
|
-
...options
|
|
2125
|
-
});
|
|
2126
|
-
};
|
|
2127
|
-
var getApiV1UserOauthGrants = (options) => {
|
|
2128
|
-
return (options?.client ?? client).get({
|
|
2129
|
-
url: "/api/v1/user/oauth/grants",
|
|
2130
|
-
...options
|
|
2131
|
-
});
|
|
2132
|
-
};
|
|
2133
|
-
var deleteApiV1UserOauthGrantsById = (options) => {
|
|
2134
|
-
return (options.client ?? client).delete({
|
|
2135
|
-
url: "/api/v1/user/oauth/grants/{id}",
|
|
2136
|
-
...options
|
|
2137
|
-
});
|
|
2138
|
-
};
|
|
2139
|
-
var patchApiV1UserOauthGrantsById = (options) => {
|
|
2140
|
-
return (options.client ?? client).patch({
|
|
2141
|
-
url: "/api/v1/user/oauth/grants/{id}",
|
|
2142
|
-
...options,
|
|
2143
|
-
headers: {
|
|
2144
|
-
"Content-Type": "application/json",
|
|
2145
|
-
...options.headers
|
|
2146
|
-
}
|
|
2147
|
-
});
|
|
2148
|
-
};
|
|
2149
|
-
var postApiV1UtilityResponses = (options) => {
|
|
2150
|
-
return (options.client ?? client).post({
|
|
2151
|
-
url: "/api/v1/utility/responses",
|
|
2152
|
-
...options,
|
|
2153
|
-
headers: {
|
|
2154
|
-
"Content-Type": "application/json",
|
|
2155
|
-
...options.headers
|
|
2156
|
-
}
|
|
2157
|
-
});
|
|
2158
|
-
};
|
|
2159
|
-
var getApiV1WalletsBinding = (options) => {
|
|
2160
|
-
return (options?.client ?? client).get({
|
|
2161
|
-
url: "/api/v1/wallets/binding",
|
|
2162
|
-
...options
|
|
2163
|
-
});
|
|
2164
|
-
};
|
|
2165
|
-
var postApiV1WalletsBinding = (options) => {
|
|
2166
|
-
return (options.client ?? client).post({
|
|
2167
|
-
url: "/api/v1/wallets/binding",
|
|
2168
|
-
...options,
|
|
2169
|
-
headers: {
|
|
2170
|
-
"Content-Type": "application/json",
|
|
2171
|
-
...options.headers
|
|
2172
|
-
}
|
|
2173
|
-
});
|
|
2174
|
-
};
|
|
2175
|
-
var postApiV1WalletsBindingNonce = (options) => {
|
|
2176
|
-
return (options?.client ?? client).post({
|
|
2177
|
-
url: "/api/v1/wallets/binding/nonce",
|
|
2178
|
-
...options
|
|
2179
|
-
});
|
|
2180
|
-
};
|
|
2181
|
-
var deleteApiV1WalletsBindingByAddress = (options) => {
|
|
2182
|
-
return (options.client ?? client).delete({
|
|
2183
|
-
url: "/api/v1/wallets/binding/{address}",
|
|
2184
|
-
...options
|
|
2185
|
-
});
|
|
2186
|
-
};
|
|
2187
|
-
var postApiV1WebhooksRevenuecat = (options) => {
|
|
2188
|
-
return (options?.client ?? client).post({
|
|
2189
|
-
url: "/api/v1/webhooks/revenuecat",
|
|
2190
|
-
...options,
|
|
2191
|
-
headers: {
|
|
2192
|
-
"Content-Type": "application/json",
|
|
2193
|
-
...options?.headers
|
|
2194
|
-
}
|
|
2195
|
-
});
|
|
2196
|
-
};
|
|
2197
|
-
var getApiV1ZetaCreditRate = (options) => {
|
|
2198
|
-
return (options?.client ?? client).get({
|
|
2199
|
-
url: "/api/v1/zeta/credit-rate",
|
|
2200
|
-
...options
|
|
2201
|
-
});
|
|
2202
|
-
};
|
|
2203
|
-
var getApiV1ZetaMarket = (options) => {
|
|
2204
|
-
return (options?.client ?? client).get({
|
|
2205
|
-
url: "/api/v1/zeta/market",
|
|
2206
|
-
...options
|
|
2207
|
-
});
|
|
2208
|
-
};
|
|
2209
|
-
var postAuthOauthByProviderExchange = (options) => {
|
|
2210
|
-
return (options.client ?? client).post({
|
|
2211
|
-
url: "/auth/oauth/{provider}/exchange",
|
|
2212
|
-
...options,
|
|
2213
|
-
headers: {
|
|
2214
|
-
"Content-Type": "application/json",
|
|
2215
|
-
...options.headers
|
|
2216
|
-
}
|
|
2217
|
-
});
|
|
2218
|
-
};
|
|
2219
|
-
var postAuthOauthByProviderRefresh = (options) => {
|
|
2220
|
-
return (options.client ?? client).post({
|
|
2221
|
-
url: "/auth/oauth/{provider}/refresh",
|
|
2222
|
-
...options,
|
|
2223
|
-
headers: {
|
|
2224
|
-
"Content-Type": "application/json",
|
|
2225
|
-
...options.headers
|
|
2226
|
-
}
|
|
2227
|
-
});
|
|
2228
|
-
};
|
|
2229
|
-
var postAuthOauthByProviderRevoke = (options) => {
|
|
2230
|
-
return (options.client ?? client).post({
|
|
2231
|
-
url: "/auth/oauth/{provider}/revoke",
|
|
2232
|
-
...options,
|
|
2233
|
-
headers: {
|
|
2234
|
-
"Content-Type": "application/json",
|
|
2235
|
-
...options.headers
|
|
2236
|
-
}
|
|
2237
|
-
});
|
|
2238
|
-
};
|
|
2239
|
-
var getConnectorsByProviderCallback = (options) => {
|
|
2240
|
-
return (options.client ?? client).get({
|
|
2241
|
-
url: "/connectors/{provider}/callback",
|
|
2242
|
-
...options
|
|
2243
|
-
});
|
|
2244
|
-
};
|
|
2245
|
-
var getConnectorsByProviderConnect = (options) => {
|
|
2246
|
-
return (options.client ?? client).get({
|
|
2247
|
-
url: "/connectors/{provider}/connect",
|
|
2248
|
-
...options
|
|
2249
|
-
});
|
|
2250
|
-
};
|
|
2251
|
-
var getHealth = (options) => {
|
|
2252
|
-
return (options?.client ?? client).get({
|
|
2253
|
-
url: "/health",
|
|
2254
|
-
...options
|
|
2255
|
-
});
|
|
2256
|
-
};
|
|
2257
|
-
var getInternalAccountsByDidByDid = (options) => {
|
|
2258
|
-
return (options.client ?? client).get({
|
|
2259
|
-
url: "/internal/accounts/by-did/{did}",
|
|
2260
|
-
...options
|
|
2261
|
-
});
|
|
2262
|
-
};
|
|
2263
|
-
var postInternalEmbeddings = (options) => {
|
|
2264
|
-
return (options.client ?? client).post({
|
|
2265
|
-
url: "/internal/embeddings",
|
|
2266
|
-
...options,
|
|
2267
|
-
headers: {
|
|
2268
|
-
"Content-Type": "application/json",
|
|
2269
|
-
...options.headers
|
|
2270
|
-
}
|
|
2271
|
-
});
|
|
2272
|
-
};
|
|
2273
|
-
var postInternalModerate = (options) => {
|
|
2274
|
-
return (options.client ?? client).post({
|
|
2275
|
-
url: "/internal/moderate",
|
|
2276
|
-
...options,
|
|
2277
|
-
headers: {
|
|
2278
|
-
"Content-Type": "application/json",
|
|
2279
|
-
...options.headers
|
|
2280
|
-
}
|
|
2281
|
-
});
|
|
2282
|
-
};
|
|
2283
|
-
var getOauthAuthorize = (options) => {
|
|
2284
|
-
return (options.client ?? client).get({
|
|
2285
|
-
url: "/oauth/authorize",
|
|
2286
|
-
...options
|
|
2287
|
-
});
|
|
2288
|
-
};
|
|
2289
|
-
var getOauthConsent = (options) => {
|
|
2290
|
-
return (options.client ?? client).get({
|
|
2291
|
-
url: "/oauth/consent",
|
|
2292
|
-
...options
|
|
2293
|
-
});
|
|
2294
|
-
};
|
|
2295
|
-
var postOauthConsent = (options) => {
|
|
2296
|
-
return (options?.client ?? client).post({
|
|
2297
|
-
...urlSearchParamsBodySerializer,
|
|
2298
|
-
url: "/oauth/consent",
|
|
2299
|
-
...options,
|
|
2300
|
-
headers: {
|
|
2301
|
-
"Content-Type": "application/x-www-form-urlencoded",
|
|
2302
|
-
...options?.headers
|
|
2303
|
-
}
|
|
2304
|
-
});
|
|
2305
|
-
};
|
|
2306
|
-
var postOauthRevoke = (options) => {
|
|
2307
|
-
return (options?.client ?? client).post({
|
|
2308
|
-
...urlSearchParamsBodySerializer,
|
|
2309
|
-
url: "/oauth/revoke",
|
|
2310
|
-
...options,
|
|
2311
|
-
headers: {
|
|
2312
|
-
"Content-Type": "application/x-www-form-urlencoded",
|
|
2313
|
-
...options?.headers
|
|
2314
|
-
}
|
|
2315
|
-
});
|
|
2316
|
-
};
|
|
2317
|
-
var postOauthToken = (options) => {
|
|
2318
|
-
return (options?.client ?? client).post({
|
|
2319
|
-
...urlSearchParamsBodySerializer,
|
|
2320
|
-
url: "/oauth/token",
|
|
2321
|
-
...options,
|
|
2322
|
-
headers: {
|
|
2323
|
-
"Content-Type": "application/x-www-form-urlencoded",
|
|
2324
|
-
...options?.headers
|
|
2325
|
-
}
|
|
2326
|
-
});
|
|
2327
|
-
};
|
|
1014
|
+
var getWellKnownJwksJson = (options) => (options?.client ?? client).get({ url: "/.well-known/jwks.json", ...options });
|
|
1015
|
+
var deleteApiV1Account = (options) => (options?.client ?? client).delete({ url: "/api/v1/account", ...options });
|
|
1016
|
+
var postApiV1AdminAddCredits = (options) => (options.client ?? client).post({
|
|
1017
|
+
url: "/api/v1/admin/add-credits",
|
|
1018
|
+
...options,
|
|
1019
|
+
headers: {
|
|
1020
|
+
"Content-Type": "application/json",
|
|
1021
|
+
...options.headers
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
var postApiV1AdminAgents = (options) => (options.client ?? client).post({
|
|
1025
|
+
url: "/api/v1/admin/agents",
|
|
1026
|
+
...options,
|
|
1027
|
+
headers: {
|
|
1028
|
+
"Content-Type": "application/json",
|
|
1029
|
+
...options.headers
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
var deleteApiV1AdminAgentsById = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/agents/{id}", ...options });
|
|
1033
|
+
var putApiV1AdminAgentsById = (options) => (options.client ?? client).put({
|
|
1034
|
+
url: "/api/v1/admin/agents/{id}",
|
|
1035
|
+
...options,
|
|
1036
|
+
headers: {
|
|
1037
|
+
"Content-Type": "application/json",
|
|
1038
|
+
...options.headers
|
|
1039
|
+
}
|
|
1040
|
+
});
|
|
1041
|
+
var getApiV1AdminApps = (options) => (options.client ?? client).get({ url: "/api/v1/admin/apps", ...options });
|
|
1042
|
+
var postApiV1AdminApps = (options) => (options.client ?? client).post({
|
|
1043
|
+
url: "/api/v1/admin/apps",
|
|
1044
|
+
...options,
|
|
1045
|
+
headers: {
|
|
1046
|
+
"Content-Type": "application/json",
|
|
1047
|
+
...options.headers
|
|
1048
|
+
}
|
|
1049
|
+
});
|
|
1050
|
+
var getApiV1AdminAppsByAppIdApiKeys = (options) => (options.client ?? client).get({ url: "/api/v1/admin/apps/{app_id}/api-keys", ...options });
|
|
1051
|
+
var postApiV1AdminAppsByAppIdApiKeys = (options) => (options.client ?? client).post({
|
|
1052
|
+
url: "/api/v1/admin/apps/{app_id}/api-keys",
|
|
1053
|
+
...options,
|
|
1054
|
+
headers: {
|
|
1055
|
+
"Content-Type": "application/json",
|
|
1056
|
+
...options.headers
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1059
|
+
var deleteApiV1AdminAppsByAppIdApiKeysById = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/apps/{app_id}/api-keys/{id}", ...options });
|
|
1060
|
+
var getApiV1AdminAppsByAppIdApiKeysById = (options) => (options.client ?? client).get({ url: "/api/v1/admin/apps/{app_id}/api-keys/{id}", ...options });
|
|
1061
|
+
var putApiV1AdminAppsByAppIdApiKeysById = (options) => (options.client ?? client).put({
|
|
1062
|
+
url: "/api/v1/admin/apps/{app_id}/api-keys/{id}",
|
|
1063
|
+
...options,
|
|
1064
|
+
headers: {
|
|
1065
|
+
"Content-Type": "application/json",
|
|
1066
|
+
...options.headers
|
|
1067
|
+
}
|
|
1068
|
+
});
|
|
1069
|
+
var deleteApiV1AdminAppsById = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/apps/{id}", ...options });
|
|
1070
|
+
var getApiV1AdminAppsById = (options) => (options.client ?? client).get({ url: "/api/v1/admin/apps/{id}", ...options });
|
|
1071
|
+
var putApiV1AdminAppsById = (options) => (options.client ?? client).put({
|
|
1072
|
+
url: "/api/v1/admin/apps/{id}",
|
|
1073
|
+
...options,
|
|
1074
|
+
headers: {
|
|
1075
|
+
"Content-Type": "application/json",
|
|
1076
|
+
...options.headers
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
var putApiV1AdminBotConfig = (options) => (options.client ?? client).put({
|
|
1080
|
+
url: "/api/v1/admin/bot/config",
|
|
1081
|
+
...options,
|
|
1082
|
+
headers: {
|
|
1083
|
+
"Content-Type": "application/json",
|
|
1084
|
+
...options.headers
|
|
1085
|
+
}
|
|
1086
|
+
});
|
|
1087
|
+
var postApiV1AdminBotPollerStart = (options) => (options.client ?? client).post({ url: "/api/v1/admin/bot/poller/start", ...options });
|
|
1088
|
+
var postApiV1AdminBotPollerStop = (options) => (options.client ?? client).post({ url: "/api/v1/admin/bot/poller/stop", ...options });
|
|
1089
|
+
var getApiV1AdminBotStatus = (options) => (options.client ?? client).get({ url: "/api/v1/admin/bot/status", ...options });
|
|
1090
|
+
var getApiV1AdminConnectors = (options) => (options.client ?? client).get({ url: "/api/v1/admin/connectors", ...options });
|
|
1091
|
+
var putApiV1AdminConnectorsByProvider = (options) => (options.client ?? client).put({
|
|
1092
|
+
url: "/api/v1/admin/connectors/{provider}",
|
|
1093
|
+
...options,
|
|
1094
|
+
headers: {
|
|
1095
|
+
"Content-Type": "application/json",
|
|
1096
|
+
...options.headers
|
|
1097
|
+
}
|
|
1098
|
+
});
|
|
1099
|
+
var postApiV1AdminNotificationsAnnounceModel = (options) => (options.client ?? client).post({
|
|
1100
|
+
url: "/api/v1/admin/notifications/announce-model",
|
|
1101
|
+
...options,
|
|
1102
|
+
headers: {
|
|
1103
|
+
"Content-Type": "application/json",
|
|
1104
|
+
...options.headers
|
|
1105
|
+
}
|
|
1106
|
+
});
|
|
1107
|
+
var postApiV1AdminNotificationsSend = (options) => (options.client ?? client).post({
|
|
1108
|
+
url: "/api/v1/admin/notifications/send",
|
|
1109
|
+
...options,
|
|
1110
|
+
headers: {
|
|
1111
|
+
"Content-Type": "application/json",
|
|
1112
|
+
...options.headers
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
var getApiV1AdminOauthClients = (options) => (options.client ?? client).get({ url: "/api/v1/admin/oauth/clients", ...options });
|
|
1116
|
+
var postApiV1AdminOauthClients = (options) => (options.client ?? client).post({
|
|
1117
|
+
url: "/api/v1/admin/oauth/clients",
|
|
1118
|
+
...options,
|
|
1119
|
+
headers: {
|
|
1120
|
+
"Content-Type": "application/json",
|
|
1121
|
+
...options.headers
|
|
1122
|
+
}
|
|
1123
|
+
});
|
|
1124
|
+
var deleteApiV1AdminOauthClientsByClientId = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/oauth/clients/{client_id}", ...options });
|
|
1125
|
+
var getApiV1AdminOauthClientsByClientId = (options) => (options.client ?? client).get({ url: "/api/v1/admin/oauth/clients/{client_id}", ...options });
|
|
1126
|
+
var patchApiV1AdminOauthClientsByClientId = (options) => (options.client ?? client).patch({
|
|
1127
|
+
url: "/api/v1/admin/oauth/clients/{client_id}",
|
|
1128
|
+
...options,
|
|
1129
|
+
headers: {
|
|
1130
|
+
"Content-Type": "application/json",
|
|
1131
|
+
...options.headers
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1134
|
+
var postApiV1AdminPersonas = (options) => (options.client ?? client).post({
|
|
1135
|
+
url: "/api/v1/admin/personas",
|
|
1136
|
+
...options,
|
|
1137
|
+
headers: {
|
|
1138
|
+
"Content-Type": "application/json",
|
|
1139
|
+
...options.headers
|
|
1140
|
+
}
|
|
1141
|
+
});
|
|
1142
|
+
var deleteApiV1AdminPersonasById = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/personas/{id}", ...options });
|
|
1143
|
+
var putApiV1AdminPersonasById = (options) => (options.client ?? client).put({
|
|
1144
|
+
url: "/api/v1/admin/personas/{id}",
|
|
1145
|
+
...options,
|
|
1146
|
+
headers: {
|
|
1147
|
+
"Content-Type": "application/json",
|
|
1148
|
+
...options.headers
|
|
1149
|
+
}
|
|
1150
|
+
});
|
|
1151
|
+
var postApiV1AdminPrivyDevWipe = (options) => (options.client ?? client).post({
|
|
1152
|
+
url: "/api/v1/admin/privy-dev/wipe",
|
|
1153
|
+
...options,
|
|
1154
|
+
headers: {
|
|
1155
|
+
"Content-Type": "application/json",
|
|
1156
|
+
...options.headers
|
|
1157
|
+
}
|
|
1158
|
+
});
|
|
1159
|
+
var getApiV1AdminPrivyIdentifiersAudit = (options) => (options.client ?? client).get({ url: "/api/v1/admin/privy-identifiers/audit", ...options });
|
|
1160
|
+
var postApiV1AdminPrivyIdentifiersMigrate = (options) => (options.client ?? client).post({ url: "/api/v1/admin/privy-identifiers/migrate", ...options });
|
|
1161
|
+
var postApiV1AdminSeedApps = (options) => (options.client ?? client).post({
|
|
1162
|
+
url: "/api/v1/admin/seed-apps",
|
|
1163
|
+
...options,
|
|
1164
|
+
headers: {
|
|
1165
|
+
"Content-Type": "application/json",
|
|
1166
|
+
...options.headers
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
var deleteApiV1AdminSharesBySlug = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/shares/{slug}", ...options });
|
|
1170
|
+
var postApiV1AdminSubscriptionTier = (options) => (options.client ?? client).post({
|
|
1171
|
+
url: "/api/v1/admin/subscription-tier",
|
|
1172
|
+
...options,
|
|
1173
|
+
headers: {
|
|
1174
|
+
"Content-Type": "application/json",
|
|
1175
|
+
...options.headers
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
var deleteApiV1AdminTextReset = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/text/reset", ...options });
|
|
1179
|
+
var deleteApiV1AdminUsersDelete = (options) => (options.client ?? client).delete({ url: "/api/v1/admin/users/delete", ...options });
|
|
1180
|
+
var getApiV1AdminUsersLookup = (options) => (options.client ?? client).get({ url: "/api/v1/admin/users/lookup", ...options });
|
|
1181
|
+
var postApiV1AdminUsersSuspend = (options) => (options.client ?? client).post({
|
|
1182
|
+
url: "/api/v1/admin/users/suspend",
|
|
1183
|
+
...options,
|
|
1184
|
+
headers: {
|
|
1185
|
+
"Content-Type": "application/json",
|
|
1186
|
+
...options.headers
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
var postApiV1AdminUsersUnsuspend = (options) => (options.client ?? client).post({
|
|
1190
|
+
url: "/api/v1/admin/users/unsuspend",
|
|
1191
|
+
...options,
|
|
1192
|
+
headers: {
|
|
1193
|
+
"Content-Type": "application/json",
|
|
1194
|
+
...options.headers
|
|
1195
|
+
}
|
|
1196
|
+
});
|
|
1197
|
+
var getApiV1AgentPreferences = (options) => (options?.client ?? client).get({ url: "/api/v1/agent-preferences", ...options });
|
|
1198
|
+
var getApiV1Agents = (options) => (options?.client ?? client).get({ url: "/api/v1/agents", ...options });
|
|
1199
|
+
var getApiV1AgentsById = (options) => (options.client ?? client).get({ url: "/api/v1/agents/{id}", ...options });
|
|
1200
|
+
var putApiV1AgentsByIdPreference = (options) => (options.client ?? client).put({
|
|
1201
|
+
url: "/api/v1/agents/{id}/preference",
|
|
1202
|
+
...options,
|
|
1203
|
+
headers: {
|
|
1204
|
+
"Content-Type": "application/json",
|
|
1205
|
+
...options.headers
|
|
1206
|
+
}
|
|
1207
|
+
});
|
|
1208
|
+
var postApiV1AuthMfaDisable = (options) => (options.client ?? client).post({
|
|
1209
|
+
url: "/api/v1/auth/mfa/disable",
|
|
1210
|
+
...options,
|
|
1211
|
+
headers: {
|
|
1212
|
+
"Content-Type": "application/json",
|
|
1213
|
+
...options.headers
|
|
1214
|
+
}
|
|
1215
|
+
});
|
|
1216
|
+
var deleteApiV1AuthMfaPasskeyCredentialsByCredentialId = (options) => (options.client ?? client).delete({ url: "/api/v1/auth/mfa/passkey/credentials/{credential_id}", ...options });
|
|
1217
|
+
var postApiV1AuthMfaPasskeyEnrollBegin = (options) => (options?.client ?? client).post({ url: "/api/v1/auth/mfa/passkey/enroll/begin", ...options });
|
|
1218
|
+
var postApiV1AuthMfaPasskeyEnrollFinish = (options) => (options.client ?? client).post({
|
|
1219
|
+
url: "/api/v1/auth/mfa/passkey/enroll/finish",
|
|
1220
|
+
...options,
|
|
1221
|
+
headers: {
|
|
1222
|
+
"Content-Type": "application/json",
|
|
1223
|
+
...options.headers
|
|
1224
|
+
}
|
|
1225
|
+
});
|
|
1226
|
+
var postApiV1AuthMfaPasskeyVerifyBegin = (options) => (options?.client ?? client).post({ url: "/api/v1/auth/mfa/passkey/verify/begin", ...options });
|
|
1227
|
+
var postApiV1AuthMfaPasskeyVerifyFinish = (options) => (options.client ?? client).post({
|
|
1228
|
+
url: "/api/v1/auth/mfa/passkey/verify/finish",
|
|
1229
|
+
...options,
|
|
1230
|
+
headers: {
|
|
1231
|
+
"Content-Type": "application/json",
|
|
1232
|
+
...options.headers
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
var postApiV1AuthMfaRecoveryCodesRegenerate = (options) => (options?.client ?? client).post({ url: "/api/v1/auth/mfa/recovery-codes/regenerate", ...options });
|
|
1236
|
+
var getApiV1AuthMfaStatus = (options) => (options?.client ?? client).get({ url: "/api/v1/auth/mfa/status", ...options });
|
|
1237
|
+
var postApiV1AuthMfaTotpEnrollInit = (options) => (options?.client ?? client).post({ url: "/api/v1/auth/mfa/totp/enroll/init", ...options });
|
|
1238
|
+
var postApiV1AuthMfaTotpEnrollVerify = (options) => (options.client ?? client).post({
|
|
1239
|
+
url: "/api/v1/auth/mfa/totp/enroll/verify",
|
|
1240
|
+
...options,
|
|
1241
|
+
headers: {
|
|
1242
|
+
"Content-Type": "application/json",
|
|
1243
|
+
...options.headers
|
|
1244
|
+
}
|
|
1245
|
+
});
|
|
1246
|
+
var postApiV1AuthMfaVerify = (options) => (options.client ?? client).post({
|
|
1247
|
+
url: "/api/v1/auth/mfa/verify",
|
|
1248
|
+
...options,
|
|
1249
|
+
headers: {
|
|
1250
|
+
"Content-Type": "application/json",
|
|
1251
|
+
...options.headers
|
|
1252
|
+
}
|
|
1253
|
+
});
|
|
1254
|
+
var getApiV1Bootstrap = (options) => (options?.client ?? client).get({ url: "/api/v1/bootstrap", ...options });
|
|
1255
|
+
var postApiV1ChatCompletions = (options) => (options.client ?? client).post({
|
|
1256
|
+
url: "/api/v1/chat/completions",
|
|
1257
|
+
...options,
|
|
1258
|
+
headers: {
|
|
1259
|
+
"Content-Type": "application/json",
|
|
1260
|
+
...options.headers
|
|
1261
|
+
}
|
|
1262
|
+
});
|
|
1263
|
+
var getApiV1ChatStreamsByInferenceId = (options) => (options.client ?? client).get({ url: "/api/v1/chat/streams/{inference_id}", ...options });
|
|
1264
|
+
var postApiV1ChatStreamsByInferenceIdCancel = (options) => (options.client ?? client).post({ url: "/api/v1/chat/streams/{inference_id}/cancel", ...options });
|
|
1265
|
+
var getApiV1Config = (options) => (options?.client ?? client).get({ url: "/api/v1/config", ...options });
|
|
1266
|
+
var postApiV1ConnectTickets = (options) => (options.client ?? client).post({
|
|
1267
|
+
url: "/api/v1/connect-tickets",
|
|
1268
|
+
...options,
|
|
1269
|
+
headers: {
|
|
1270
|
+
"Content-Type": "application/json",
|
|
1271
|
+
...options.headers
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
var postApiV1ConnectorTokensByProvider = (options) => (options.client ?? client).post({
|
|
1275
|
+
url: "/api/v1/connector-tokens/{provider}",
|
|
1276
|
+
...options,
|
|
1277
|
+
headers: {
|
|
1278
|
+
"Content-Type": "application/json",
|
|
1279
|
+
...options.headers
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
var getApiV1Connectors = (options) => (options?.client ?? client).get({ url: "/api/v1/connectors", ...options });
|
|
1283
|
+
var postApiV1ConnectorsImport = (options) => (options.client ?? client).post({
|
|
1284
|
+
url: "/api/v1/connectors/import",
|
|
1285
|
+
...options,
|
|
1286
|
+
headers: {
|
|
1287
|
+
"Content-Type": "application/json",
|
|
1288
|
+
...options.headers
|
|
1289
|
+
}
|
|
1290
|
+
});
|
|
1291
|
+
var postApiV1ConnectorsByProviderDisconnect = (options) => (options.client ?? client).post({ url: "/api/v1/connectors/{provider}/disconnect", ...options });
|
|
1292
|
+
var postApiV1ConnectorsByProviderProxy = (options) => (options.client ?? client).post({
|
|
1293
|
+
url: "/api/v1/connectors/{provider}/proxy",
|
|
1294
|
+
...options,
|
|
1295
|
+
headers: {
|
|
1296
|
+
"Content-Type": "application/json",
|
|
1297
|
+
...options.headers
|
|
1298
|
+
}
|
|
1299
|
+
});
|
|
1300
|
+
var getApiV1ConnectorsByProviderScopes = (options) => (options.client ?? client).get({ url: "/api/v1/connectors/{provider}/scopes", ...options });
|
|
1301
|
+
var putApiV1ConnectorsByProviderScopes = (options) => (options.client ?? client).put({
|
|
1302
|
+
url: "/api/v1/connectors/{provider}/scopes",
|
|
1303
|
+
...options,
|
|
1304
|
+
headers: {
|
|
1305
|
+
"Content-Type": "application/json",
|
|
1306
|
+
...options.headers
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
var getApiV1ConnectorsByProviderTools = (options) => (options.client ?? client).get({ url: "/api/v1/connectors/{provider}/tools", ...options });
|
|
1310
|
+
var putApiV1ConnectorsByProviderTools = (options) => (options.client ?? client).put({
|
|
1311
|
+
url: "/api/v1/connectors/{provider}/tools",
|
|
1312
|
+
...options,
|
|
1313
|
+
headers: {
|
|
1314
|
+
"Content-Type": "application/json",
|
|
1315
|
+
...options.headers
|
|
1316
|
+
}
|
|
1317
|
+
});
|
|
1318
|
+
var getApiV1CreditsBalance = (options) => (options?.client ?? client).get({ url: "/api/v1/credits/balance", ...options });
|
|
1319
|
+
var getApiV1CreditsPacks = (options) => (options?.client ?? client).get({ url: "/api/v1/credits/packs", ...options });
|
|
1320
|
+
var postApiV1CreditsPurchase = (options) => (options.client ?? client).post({
|
|
1321
|
+
url: "/api/v1/credits/purchase",
|
|
1322
|
+
...options,
|
|
1323
|
+
headers: {
|
|
1324
|
+
"Content-Type": "application/json",
|
|
1325
|
+
...options.headers
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
var postApiV1CreditsRedeemTokens = (options) => (options.client ?? client).post({
|
|
1329
|
+
url: "/api/v1/credits/redeem-tokens",
|
|
1330
|
+
...options,
|
|
1331
|
+
headers: {
|
|
1332
|
+
"Content-Type": "application/json",
|
|
1333
|
+
...options.headers
|
|
1334
|
+
}
|
|
1335
|
+
});
|
|
1336
|
+
var getApiV1CuratedModels = (options) => (options?.client ?? client).get({ url: "/api/v1/curated-models", ...options });
|
|
1337
|
+
var getApiV1DeveloperApps = (options) => (options?.client ?? client).get({ url: "/api/v1/developer/apps", ...options });
|
|
1338
|
+
var postApiV1DeveloperApps = (options) => (options.client ?? client).post({
|
|
1339
|
+
url: "/api/v1/developer/apps",
|
|
1340
|
+
...options,
|
|
1341
|
+
headers: {
|
|
1342
|
+
"Content-Type": "application/json",
|
|
1343
|
+
...options.headers
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
var deleteApiV1DeveloperAppsByAppUuid = (options) => (options.client ?? client).delete({ url: "/api/v1/developer/apps/{app_uuid}", ...options });
|
|
1347
|
+
var getApiV1DeveloperAppsByAppUuid = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}", ...options });
|
|
1348
|
+
var patchApiV1DeveloperAppsByAppUuid = (options) => (options.client ?? client).patch({
|
|
1349
|
+
url: "/api/v1/developer/apps/{app_uuid}",
|
|
1350
|
+
...options,
|
|
1351
|
+
headers: {
|
|
1352
|
+
"Content-Type": "application/json",
|
|
1353
|
+
...options.headers
|
|
1354
|
+
}
|
|
1355
|
+
});
|
|
1356
|
+
var getApiV1DeveloperAppsByAppUuidApiKeys = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}/api-keys", ...options });
|
|
1357
|
+
var postApiV1DeveloperAppsByAppUuidApiKeys = (options) => (options.client ?? client).post({
|
|
1358
|
+
url: "/api/v1/developer/apps/{app_uuid}/api-keys",
|
|
1359
|
+
...options,
|
|
1360
|
+
headers: {
|
|
1361
|
+
"Content-Type": "application/json",
|
|
1362
|
+
...options.headers
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
var deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId = (options) => (options.client ?? client).delete({ url: "/api/v1/developer/apps/{app_uuid}/api-keys/{key_id}", ...options });
|
|
1366
|
+
var postApiV1DeveloperAppsByAppUuidFund = (options) => (options.client ?? client).post({
|
|
1367
|
+
url: "/api/v1/developer/apps/{app_uuid}/fund",
|
|
1368
|
+
...options,
|
|
1369
|
+
headers: {
|
|
1370
|
+
"Content-Type": "application/json",
|
|
1371
|
+
...options.headers
|
|
1372
|
+
}
|
|
1373
|
+
});
|
|
1374
|
+
var deleteApiV1DeveloperAppsByAppUuidPrivy = (options) => (options.client ?? client).delete({ url: "/api/v1/developer/apps/{app_uuid}/privy", ...options });
|
|
1375
|
+
var postApiV1DeveloperAppsByAppUuidPrivy = (options) => (options.client ?? client).post({
|
|
1376
|
+
url: "/api/v1/developer/apps/{app_uuid}/privy",
|
|
1377
|
+
...options,
|
|
1378
|
+
headers: {
|
|
1379
|
+
"Content-Type": "application/json",
|
|
1380
|
+
...options.headers
|
|
1381
|
+
}
|
|
1382
|
+
});
|
|
1383
|
+
var getApiV1DeveloperAppsByAppUuidUsage = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}/usage", ...options });
|
|
1384
|
+
var getApiV1DeveloperAppsByAppUuidUsageUsers = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}/usage/users", ...options });
|
|
1385
|
+
var getApiV1DeveloperAppsByAppUuidUsers = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}/users", ...options });
|
|
1386
|
+
var getApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => (options.client ?? client).get({ url: "/api/v1/developer/apps/{app_uuid}/users/{address}", ...options });
|
|
1387
|
+
var patchApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => (options.client ?? client).patch({
|
|
1388
|
+
url: "/api/v1/developer/apps/{app_uuid}/users/{address}",
|
|
1389
|
+
...options,
|
|
1390
|
+
headers: {
|
|
1391
|
+
"Content-Type": "application/json",
|
|
1392
|
+
...options.headers
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
var postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp = (options) => (options.client ?? client).post({
|
|
1396
|
+
url: "/api/v1/developer/apps/{app_uuid}/users/{address}/top-up",
|
|
1397
|
+
...options,
|
|
1398
|
+
headers: {
|
|
1399
|
+
"Content-Type": "application/json",
|
|
1400
|
+
...options.headers
|
|
1401
|
+
}
|
|
1402
|
+
});
|
|
1403
|
+
var getApiV1DeveloperBilling = (options) => (options?.client ?? client).get({ url: "/api/v1/developer/billing", ...options });
|
|
1404
|
+
var getApiV1DocsSwaggerJson = (options) => (options?.client ?? client).get({ url: "/api/v1/docs/swagger.json", ...options });
|
|
1405
|
+
var postApiV1Embeddings = (options) => (options.client ?? client).post({
|
|
1406
|
+
url: "/api/v1/embeddings",
|
|
1407
|
+
...options,
|
|
1408
|
+
headers: {
|
|
1409
|
+
"Content-Type": "application/json",
|
|
1410
|
+
...options.headers
|
|
1411
|
+
}
|
|
1412
|
+
});
|
|
1413
|
+
var getApiV1GuestBootstrap = (options) => (options.client ?? client).get({ url: "/api/v1/guest-bootstrap", ...options });
|
|
1414
|
+
var postApiV1GuestChatCompletions = (options) => (options.client ?? client).post({
|
|
1415
|
+
url: "/api/v1/guest/chat/completions",
|
|
1416
|
+
...options,
|
|
1417
|
+
headers: {
|
|
1418
|
+
"Content-Type": "application/json",
|
|
1419
|
+
...options.headers
|
|
1420
|
+
}
|
|
1421
|
+
});
|
|
1422
|
+
var getApiV1Me = (options) => (options?.client ?? client).get({ url: "/api/v1/me", ...options });
|
|
1423
|
+
var getApiV1MediaSharedBySlug = (options) => (options.client ?? client).get({ url: "/api/v1/media/shared/{slug}", ...options });
|
|
1424
|
+
var getApiV1Models = (options) => (options?.client ?? client).get({ url: "/api/v1/models", ...options });
|
|
1425
|
+
var postApiV1Moderate = (options) => (options.client ?? client).post({
|
|
1426
|
+
url: "/api/v1/moderate",
|
|
1427
|
+
...options,
|
|
1428
|
+
headers: {
|
|
1429
|
+
"Content-Type": "application/json",
|
|
1430
|
+
...options.headers
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
1433
|
+
var postApiV1NotificationsDevices = (options) => (options.client ?? client).post({
|
|
1434
|
+
url: "/api/v1/notifications/devices",
|
|
1435
|
+
...options,
|
|
1436
|
+
headers: {
|
|
1437
|
+
"Content-Type": "application/json",
|
|
1438
|
+
...options.headers
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
var postApiV1NotificationsDevicesUnregister = (options) => (options.client ?? client).post({
|
|
1442
|
+
url: "/api/v1/notifications/devices/unregister",
|
|
1443
|
+
...options,
|
|
1444
|
+
headers: {
|
|
1445
|
+
"Content-Type": "application/json",
|
|
1446
|
+
...options.headers
|
|
1447
|
+
}
|
|
1448
|
+
});
|
|
1449
|
+
var getApiV1Personas = (options) => (options?.client ?? client).get({ url: "/api/v1/personas", ...options });
|
|
1450
|
+
var getApiV1PersonasById = (options) => (options.client ?? client).get({ url: "/api/v1/personas/{id}", ...options });
|
|
1451
|
+
var postApiV1PhoneCalls = (options) => (options.client ?? client).post({
|
|
1452
|
+
url: "/api/v1/phone-calls",
|
|
1453
|
+
...options,
|
|
1454
|
+
headers: {
|
|
1455
|
+
"Content-Type": "application/json",
|
|
1456
|
+
...options.headers
|
|
1457
|
+
}
|
|
1458
|
+
});
|
|
1459
|
+
var getApiV1PhoneCallsByCallId = (options) => (options.client ?? client).get({ url: "/api/v1/phone-calls/{call_id}", ...options });
|
|
1460
|
+
var postApiV1PreprocessorsCryptoPrices = (options) => (options.client ?? client).post({
|
|
1461
|
+
url: "/api/v1/preprocessors/crypto-prices",
|
|
1462
|
+
...options,
|
|
1463
|
+
headers: {
|
|
1464
|
+
"Content-Type": "application/json",
|
|
1465
|
+
...options.headers
|
|
1466
|
+
}
|
|
1467
|
+
});
|
|
1468
|
+
var postApiV1PreprocessorsSearch = (options) => (options.client ?? client).post({
|
|
1469
|
+
url: "/api/v1/preprocessors/search",
|
|
1470
|
+
...options,
|
|
1471
|
+
headers: {
|
|
1472
|
+
"Content-Type": "application/json",
|
|
1473
|
+
...options.headers
|
|
1474
|
+
}
|
|
1475
|
+
});
|
|
1476
|
+
var postApiV1PreprocessorsStockPrices = (options) => (options.client ?? client).post({
|
|
1477
|
+
url: "/api/v1/preprocessors/stock-prices",
|
|
1478
|
+
...options,
|
|
1479
|
+
headers: {
|
|
1480
|
+
"Content-Type": "application/json",
|
|
1481
|
+
...options.headers
|
|
1482
|
+
}
|
|
1483
|
+
});
|
|
1484
|
+
var postApiV1PreprocessorsWeather = (options) => (options.client ?? client).post({
|
|
1485
|
+
url: "/api/v1/preprocessors/weather",
|
|
1486
|
+
...options,
|
|
1487
|
+
headers: {
|
|
1488
|
+
"Content-Type": "application/json",
|
|
1489
|
+
...options.headers
|
|
1490
|
+
}
|
|
1491
|
+
});
|
|
1492
|
+
var postApiV1Responses = (options) => (options.client ?? client).post({
|
|
1493
|
+
url: "/api/v1/responses",
|
|
1494
|
+
...options,
|
|
1495
|
+
headers: {
|
|
1496
|
+
"Content-Type": "application/json",
|
|
1497
|
+
...options.headers
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
var getApiV1Shares = (options) => (options?.client ?? client).get({ url: "/api/v1/shares", ...options });
|
|
1501
|
+
var postApiV1Shares = (options) => (options.client ?? client).post({
|
|
1502
|
+
url: "/api/v1/shares",
|
|
1503
|
+
...options,
|
|
1504
|
+
headers: {
|
|
1505
|
+
"Content-Type": "application/json",
|
|
1506
|
+
...options.headers
|
|
1507
|
+
}
|
|
1508
|
+
});
|
|
1509
|
+
var deleteApiV1SharesBySlug = (options) => (options.client ?? client).delete({ url: "/api/v1/shares/{slug}", ...options });
|
|
1510
|
+
var getApiV1SharesBySlug = (options) => (options.client ?? client).get({ url: "/api/v1/shares/{slug}", ...options });
|
|
1511
|
+
var postApiV1SharesBySlugReport = (options) => (options.client ?? client).post({ url: "/api/v1/shares/{slug}/report", ...options });
|
|
1512
|
+
var postApiV1SubscriptionsCancel = (options) => (options?.client ?? client).post({
|
|
1513
|
+
url: "/api/v1/subscriptions/cancel",
|
|
1514
|
+
...options,
|
|
1515
|
+
headers: {
|
|
1516
|
+
"Content-Type": "application/json",
|
|
1517
|
+
...options?.headers
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1520
|
+
var postApiV1SubscriptionsCancelScheduledDowngrade = (options) => (options?.client ?? client).post({ url: "/api/v1/subscriptions/cancel-scheduled-downgrade", ...options });
|
|
1521
|
+
var postApiV1SubscriptionsCreateCheckoutSession = (options) => (options.client ?? client).post({
|
|
1522
|
+
url: "/api/v1/subscriptions/create-checkout-session",
|
|
1523
|
+
...options,
|
|
1524
|
+
headers: {
|
|
1525
|
+
"Content-Type": "application/json",
|
|
1526
|
+
...options.headers
|
|
1527
|
+
}
|
|
1528
|
+
});
|
|
1529
|
+
var postApiV1SubscriptionsCustomerPortal = (options) => (options.client ?? client).post({
|
|
1530
|
+
url: "/api/v1/subscriptions/customer-portal",
|
|
1531
|
+
...options,
|
|
1532
|
+
headers: {
|
|
1533
|
+
"Content-Type": "application/json",
|
|
1534
|
+
...options.headers
|
|
1535
|
+
}
|
|
1536
|
+
});
|
|
1537
|
+
var getApiV1SubscriptionsPlans = (options) => (options?.client ?? client).get({ url: "/api/v1/subscriptions/plans", ...options });
|
|
1538
|
+
var postApiV1SubscriptionsRenew = (options) => (options?.client ?? client).post({ url: "/api/v1/subscriptions/renew", ...options });
|
|
1539
|
+
var postApiV1SubscriptionsScheduleDowngrade = (options) => (options.client ?? client).post({
|
|
1540
|
+
url: "/api/v1/subscriptions/schedule-downgrade",
|
|
1541
|
+
...options,
|
|
1542
|
+
headers: {
|
|
1543
|
+
"Content-Type": "application/json",
|
|
1544
|
+
...options.headers
|
|
1545
|
+
}
|
|
1546
|
+
});
|
|
1547
|
+
var getApiV1SubscriptionsStatus = (options) => (options?.client ?? client).get({ url: "/api/v1/subscriptions/status", ...options });
|
|
1548
|
+
var postApiV1SubscriptionsUpgrade = (options) => (options.client ?? client).post({
|
|
1549
|
+
url: "/api/v1/subscriptions/upgrade",
|
|
1550
|
+
...options,
|
|
1551
|
+
headers: {
|
|
1552
|
+
"Content-Type": "application/json",
|
|
1553
|
+
...options.headers
|
|
1554
|
+
}
|
|
1555
|
+
});
|
|
1556
|
+
var postApiV1SubscriptionsWebhook = (options) => (options.client ?? client).post({
|
|
1557
|
+
url: "/api/v1/subscriptions/webhook",
|
|
1558
|
+
...options,
|
|
1559
|
+
headers: {
|
|
1560
|
+
"Content-Type": "application/json",
|
|
1561
|
+
...options.headers
|
|
1562
|
+
}
|
|
1563
|
+
});
|
|
1564
|
+
var getApiV1Tools = (options) => (options?.client ?? client).get({ url: "/api/v1/tools", ...options });
|
|
1565
|
+
var getApiV1UsageByModality = (options) => (options?.client ?? client).get({ url: "/api/v1/usage/by-modality", ...options });
|
|
1566
|
+
var getApiV1UsageInferenceWeekly = (options) => (options?.client ?? client).get({ url: "/api/v1/usage/inference-weekly", ...options });
|
|
1567
|
+
var getApiV1UsageModels = (options) => (options?.client ?? client).get({ url: "/api/v1/usage/models", ...options });
|
|
1568
|
+
var getApiV1UserAgentConsents = (options) => (options?.client ?? client).get({ url: "/api/v1/user/agent-consents", ...options });
|
|
1569
|
+
var postApiV1UserAgentConsents = (options) => (options.client ?? client).post({
|
|
1570
|
+
url: "/api/v1/user/agent-consents",
|
|
1571
|
+
...options,
|
|
1572
|
+
headers: {
|
|
1573
|
+
"Content-Type": "application/json",
|
|
1574
|
+
...options.headers
|
|
1575
|
+
}
|
|
1576
|
+
});
|
|
1577
|
+
var deleteApiV1UserAgentConsentsByAgentId = (options) => (options.client ?? client).delete({ url: "/api/v1/user/agent-consents/{agent_id}", ...options });
|
|
1578
|
+
var getApiV1UserAgentGrants = (options) => (options.client ?? client).get({ url: "/api/v1/user/agent-grants", ...options });
|
|
1579
|
+
var getApiV1UserApiKeys = (options) => (options?.client ?? client).get({ url: "/api/v1/user/api-keys", ...options });
|
|
1580
|
+
var postApiV1UserApiKeys = (options) => (options.client ?? client).post({
|
|
1581
|
+
url: "/api/v1/user/api-keys",
|
|
1582
|
+
...options,
|
|
1583
|
+
headers: {
|
|
1584
|
+
"Content-Type": "application/json",
|
|
1585
|
+
...options.headers
|
|
1586
|
+
}
|
|
1587
|
+
});
|
|
1588
|
+
var deleteApiV1UserApiKeysByKeyId = (options) => (options.client ?? client).delete({ url: "/api/v1/user/api-keys/{key_id}", ...options });
|
|
1589
|
+
var getApiV1UserOauthGrants = (options) => (options?.client ?? client).get({ url: "/api/v1/user/oauth/grants", ...options });
|
|
1590
|
+
var deleteApiV1UserOauthGrantsById = (options) => (options.client ?? client).delete({ url: "/api/v1/user/oauth/grants/{id}", ...options });
|
|
1591
|
+
var patchApiV1UserOauthGrantsById = (options) => (options.client ?? client).patch({
|
|
1592
|
+
url: "/api/v1/user/oauth/grants/{id}",
|
|
1593
|
+
...options,
|
|
1594
|
+
headers: {
|
|
1595
|
+
"Content-Type": "application/json",
|
|
1596
|
+
...options.headers
|
|
1597
|
+
}
|
|
1598
|
+
});
|
|
1599
|
+
var postApiV1UtilityResponses = (options) => (options.client ?? client).post({
|
|
1600
|
+
url: "/api/v1/utility/responses",
|
|
1601
|
+
...options,
|
|
1602
|
+
headers: {
|
|
1603
|
+
"Content-Type": "application/json",
|
|
1604
|
+
...options.headers
|
|
1605
|
+
}
|
|
1606
|
+
});
|
|
1607
|
+
var getApiV1WalletsBinding = (options) => (options?.client ?? client).get({ url: "/api/v1/wallets/binding", ...options });
|
|
1608
|
+
var postApiV1WalletsBinding = (options) => (options.client ?? client).post({
|
|
1609
|
+
url: "/api/v1/wallets/binding",
|
|
1610
|
+
...options,
|
|
1611
|
+
headers: {
|
|
1612
|
+
"Content-Type": "application/json",
|
|
1613
|
+
...options.headers
|
|
1614
|
+
}
|
|
1615
|
+
});
|
|
1616
|
+
var postApiV1WalletsBindingNonce = (options) => (options?.client ?? client).post({ url: "/api/v1/wallets/binding/nonce", ...options });
|
|
1617
|
+
var deleteApiV1WalletsBindingByAddress = (options) => (options.client ?? client).delete({ url: "/api/v1/wallets/binding/{address}", ...options });
|
|
1618
|
+
var postApiV1WebhooksRevenuecat = (options) => (options?.client ?? client).post({
|
|
1619
|
+
url: "/api/v1/webhooks/revenuecat",
|
|
1620
|
+
...options,
|
|
1621
|
+
headers: {
|
|
1622
|
+
"Content-Type": "application/json",
|
|
1623
|
+
...options?.headers
|
|
1624
|
+
}
|
|
1625
|
+
});
|
|
1626
|
+
var getApiV1ZetaCreditRate = (options) => (options?.client ?? client).get({ url: "/api/v1/zeta/credit-rate", ...options });
|
|
1627
|
+
var getApiV1ZetaMarket = (options) => (options?.client ?? client).get({ url: "/api/v1/zeta/market", ...options });
|
|
1628
|
+
var postAuthOauthByProviderExchange = (options) => (options.client ?? client).post({
|
|
1629
|
+
url: "/auth/oauth/{provider}/exchange",
|
|
1630
|
+
...options,
|
|
1631
|
+
headers: {
|
|
1632
|
+
"Content-Type": "application/json",
|
|
1633
|
+
...options.headers
|
|
1634
|
+
}
|
|
1635
|
+
});
|
|
1636
|
+
var postAuthOauthByProviderRefresh = (options) => (options.client ?? client).post({
|
|
1637
|
+
url: "/auth/oauth/{provider}/refresh",
|
|
1638
|
+
...options,
|
|
1639
|
+
headers: {
|
|
1640
|
+
"Content-Type": "application/json",
|
|
1641
|
+
...options.headers
|
|
1642
|
+
}
|
|
1643
|
+
});
|
|
1644
|
+
var postAuthOauthByProviderRevoke = (options) => (options.client ?? client).post({
|
|
1645
|
+
url: "/auth/oauth/{provider}/revoke",
|
|
1646
|
+
...options,
|
|
1647
|
+
headers: {
|
|
1648
|
+
"Content-Type": "application/json",
|
|
1649
|
+
...options.headers
|
|
1650
|
+
}
|
|
1651
|
+
});
|
|
1652
|
+
var getConnectorsByProviderCallback = (options) => (options.client ?? client).get({ url: "/connectors/{provider}/callback", ...options });
|
|
1653
|
+
var getConnectorsByProviderConnect = (options) => (options.client ?? client).get({ url: "/connectors/{provider}/connect", ...options });
|
|
1654
|
+
var getHealth = (options) => (options?.client ?? client).get({ url: "/health", ...options });
|
|
1655
|
+
var getInternalAccountsByDidByDid = (options) => (options.client ?? client).get({ url: "/internal/accounts/by-did/{did}", ...options });
|
|
1656
|
+
var postInternalEmbeddings = (options) => (options.client ?? client).post({
|
|
1657
|
+
url: "/internal/embeddings",
|
|
1658
|
+
...options,
|
|
1659
|
+
headers: {
|
|
1660
|
+
"Content-Type": "application/json",
|
|
1661
|
+
...options.headers
|
|
1662
|
+
}
|
|
1663
|
+
});
|
|
1664
|
+
var postInternalModerate = (options) => (options.client ?? client).post({
|
|
1665
|
+
url: "/internal/moderate",
|
|
1666
|
+
...options,
|
|
1667
|
+
headers: {
|
|
1668
|
+
"Content-Type": "application/json",
|
|
1669
|
+
...options.headers
|
|
1670
|
+
}
|
|
1671
|
+
});
|
|
1672
|
+
var getOauthAuthorize = (options) => (options.client ?? client).get({ url: "/oauth/authorize", ...options });
|
|
1673
|
+
var getOauthConsent = (options) => (options.client ?? client).get({ url: "/oauth/consent", ...options });
|
|
1674
|
+
var postOauthConsent = (options) => (options?.client ?? client).post({
|
|
1675
|
+
...urlSearchParamsBodySerializer,
|
|
1676
|
+
url: "/oauth/consent",
|
|
1677
|
+
...options,
|
|
1678
|
+
headers: {
|
|
1679
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
1680
|
+
...options?.headers
|
|
1681
|
+
}
|
|
1682
|
+
});
|
|
1683
|
+
var postOauthRevoke = (options) => (options?.client ?? client).post({
|
|
1684
|
+
...urlSearchParamsBodySerializer,
|
|
1685
|
+
url: "/oauth/revoke",
|
|
1686
|
+
...options,
|
|
1687
|
+
headers: {
|
|
1688
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
1689
|
+
...options?.headers
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
var postOauthToken = (options) => (options?.client ?? client).post({
|
|
1693
|
+
...urlSearchParamsBodySerializer,
|
|
1694
|
+
url: "/oauth/token",
|
|
1695
|
+
...options,
|
|
1696
|
+
headers: {
|
|
1697
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
1698
|
+
...options?.headers
|
|
1699
|
+
}
|
|
1700
|
+
});
|
|
2328
1701
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2329
1702
|
0 && (module.exports = {
|
|
2330
1703
|
deleteApiV1Account,
|