@anuma/sdk 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +54 -53
  2. package/dist/api/spec.cjs +30 -0
  3. package/dist/api/spec.d.mts +3 -0
  4. package/dist/api/spec.d.ts +3 -0
  5. package/dist/api/spec.mjs +12 -0
  6. package/dist/chunk-4ETHWSXJ.mjs +25 -0
  7. package/dist/client/index.cjs +2344 -0
  8. package/dist/client/index.d.mts +10368 -0
  9. package/dist/client/index.d.ts +10368 -0
  10. package/dist/client/index.mjs +2168 -0
  11. package/dist/clientConfig-WITO4T6L.mjs +12 -0
  12. package/dist/constants/index.cjs +30 -0
  13. package/dist/constants/index.d.mts +20 -0
  14. package/dist/constants/index.d.ts +20 -0
  15. package/dist/constants/index.mjs +5 -0
  16. package/dist/design/index.cjs +1523 -0
  17. package/dist/design/index.d.mts +561 -0
  18. package/dist/design/index.d.ts +561 -0
  19. package/dist/design/index.mjs +1468 -0
  20. package/dist/expo/chunk-3HZFU3PV.mjs +5283 -0
  21. package/dist/expo/chunk-DFVCS3QQ.mjs +246 -0
  22. package/dist/{react/chunk-MJJIYFAX.mjs → expo/chunk-GYKJOWEO.mjs} +13 -1
  23. package/dist/expo/chunk-Y7XT2VNQ.mjs +646 -0
  24. package/dist/expo/clientConfig-VPOGQRNP.mjs +12 -0
  25. package/dist/expo/consolidate-HEMQGOUD.mjs +131 -0
  26. package/dist/expo/index.cjs +16904 -6750
  27. package/dist/expo/index.d.mts +5755 -1474
  28. package/dist/expo/index.d.ts +5755 -1474
  29. package/dist/expo/index.mjs +9718 -6182
  30. package/dist/expo/recall-MCB3TVBW.mjs +8 -0
  31. package/dist/index.cjs +2992 -42
  32. package/dist/index.d.mts +7719 -1835
  33. package/dist/index.d.ts +7719 -1835
  34. package/dist/index.mjs +2859 -39
  35. package/dist/next/index.cjs +6 -2
  36. package/dist/next/index.d.mts +24 -1
  37. package/dist/next/index.d.ts +24 -1
  38. package/dist/next/index.mjs +6 -2
  39. package/dist/pii/transformers.cjs +126 -0
  40. package/dist/pii/transformers.d.mts +103 -0
  41. package/dist/pii/transformers.d.ts +103 -0
  42. package/dist/pii/transformers.mjs +90 -0
  43. package/dist/react/chunk-DFVCS3QQ.mjs +246 -0
  44. package/dist/react/chunk-ELDXIXRE.mjs +5656 -0
  45. package/dist/{expo/chunk-MJJIYFAX.mjs → react/chunk-GYKJOWEO.mjs} +13 -1
  46. package/dist/react/chunk-TP6CJZ25.mjs +645 -0
  47. package/dist/react/clientConfig-VPOGQRNP.mjs +12 -0
  48. package/dist/react/consolidate-IJH7LD2T.mjs +131 -0
  49. package/dist/react/index.cjs +25683 -11143
  50. package/dist/react/index.d.mts +7399 -1393
  51. package/dist/react/index.d.ts +7399 -1393
  52. package/dist/react/index.mjs +16709 -9196
  53. package/dist/react/recall-CSOMIT4H.mjs +8 -0
  54. package/dist/server/chunk-FMGZTVXQ.mjs +62 -0
  55. package/dist/server/chunk-G3DC7QBH.mjs +19457 -0
  56. package/dist/server/chunk-PXN5Q3MD.mjs +643 -0
  57. package/dist/server/chunk-RCCKRTBI.mjs +230 -0
  58. package/dist/server/clientConfig-GMADOBPK.mjs +12 -0
  59. package/dist/server/consolidate-A2ZIX5WF.mjs +131 -0
  60. package/dist/server/index.cjs +32161 -0
  61. package/dist/server/index.d.mts +7319 -0
  62. package/dist/server/index.d.ts +7319 -0
  63. package/dist/server/index.mjs +11217 -0
  64. package/dist/server/recall-LFYTTIIY.mjs +8 -0
  65. package/dist/tools/index.cjs +12682 -34
  66. package/dist/tools/index.d.mts +2733 -18
  67. package/dist/tools/index.d.ts +2733 -18
  68. package/dist/tools/index.mjs +12565 -33
  69. package/dist/utils/index.cjs +165 -0
  70. package/dist/utils/index.d.mts +14 -0
  71. package/dist/utils/index.d.ts +14 -0
  72. package/dist/utils/index.mjs +145 -0
  73. package/dist/vercel/index.d.mts +0 -3
  74. package/dist/vercel/index.d.ts +0 -3
  75. package/package.json +127 -16
  76. package/dist/expo/chunk-LJYAMK62.mjs +0 -25
  77. package/dist/expo/chunk-PJCZO4BQ.mjs +0 -25
  78. package/dist/expo/clientConfig-2MI4KULF.mjs +0 -10
  79. package/dist/expo/clientConfig-QDAXFL3W.mjs +0 -10
  80. package/dist/expo/clientConfig-R4IOW7I2.mjs +0 -10
  81. package/dist/react/chunk-LJYAMK62.mjs +0 -25
  82. package/dist/react/chunk-PJCZO4BQ.mjs +0 -25
  83. package/dist/react/clientConfig-2MI4KULF.mjs +0 -10
  84. package/dist/react/clientConfig-QDAXFL3W.mjs +0 -10
  85. package/dist/react/clientConfig-R4IOW7I2.mjs +0 -10
  86. package/dist/tools/chunk-KDFGY4SK.mjs +0 -13
  87. package/dist/tools/clientConfig-RMDOT5YM.mjs +0 -10
@@ -0,0 +1,2344 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/client/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ deleteApiV1Account: () => deleteApiV1Account,
24
+ deleteApiV1AdminAgentsById: () => deleteApiV1AdminAgentsById,
25
+ deleteApiV1AdminAppsByAppIdApiKeysById: () => deleteApiV1AdminAppsByAppIdApiKeysById,
26
+ deleteApiV1AdminAppsById: () => deleteApiV1AdminAppsById,
27
+ deleteApiV1AdminOauthClientsByClientId: () => deleteApiV1AdminOauthClientsByClientId,
28
+ deleteApiV1AdminPersonasById: () => deleteApiV1AdminPersonasById,
29
+ deleteApiV1AdminTextReset: () => deleteApiV1AdminTextReset,
30
+ deleteApiV1AdminUsersDelete: () => deleteApiV1AdminUsersDelete,
31
+ deleteApiV1AuthMfaPasskeyCredentialsByCredentialId: () => deleteApiV1AuthMfaPasskeyCredentialsByCredentialId,
32
+ deleteApiV1DeveloperAppsByAppUuid: () => deleteApiV1DeveloperAppsByAppUuid,
33
+ deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId: () => deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId,
34
+ deleteApiV1DeveloperAppsByAppUuidPrivy: () => deleteApiV1DeveloperAppsByAppUuidPrivy,
35
+ deleteApiV1UserAgentConsentsByAgentId: () => deleteApiV1UserAgentConsentsByAgentId,
36
+ deleteApiV1UserApiKeysByKeyId: () => deleteApiV1UserApiKeysByKeyId,
37
+ deleteApiV1UserOauthGrantsById: () => deleteApiV1UserOauthGrantsById,
38
+ deleteApiV1WalletsBindingByAddress: () => deleteApiV1WalletsBindingByAddress,
39
+ getApiV1AdminApps: () => getApiV1AdminApps,
40
+ getApiV1AdminAppsByAppIdApiKeys: () => getApiV1AdminAppsByAppIdApiKeys,
41
+ getApiV1AdminAppsByAppIdApiKeysById: () => getApiV1AdminAppsByAppIdApiKeysById,
42
+ getApiV1AdminAppsById: () => getApiV1AdminAppsById,
43
+ getApiV1AdminConnectors: () => getApiV1AdminConnectors,
44
+ getApiV1AdminOauthClients: () => getApiV1AdminOauthClients,
45
+ getApiV1AdminOauthClientsByClientId: () => getApiV1AdminOauthClientsByClientId,
46
+ getApiV1AdminPrivyIdentifiersAudit: () => getApiV1AdminPrivyIdentifiersAudit,
47
+ getApiV1AdminUsersLookup: () => getApiV1AdminUsersLookup,
48
+ getApiV1AgentPreferences: () => getApiV1AgentPreferences,
49
+ getApiV1Agents: () => getApiV1Agents,
50
+ getApiV1AgentsById: () => getApiV1AgentsById,
51
+ getApiV1AuthMfaStatus: () => getApiV1AuthMfaStatus,
52
+ getApiV1Bootstrap: () => getApiV1Bootstrap,
53
+ getApiV1ChatStreamsByInferenceId: () => getApiV1ChatStreamsByInferenceId,
54
+ getApiV1Config: () => getApiV1Config,
55
+ getApiV1Connectors: () => getApiV1Connectors,
56
+ getApiV1ConnectorsByProviderScopes: () => getApiV1ConnectorsByProviderScopes,
57
+ getApiV1ConnectorsByProviderTools: () => getApiV1ConnectorsByProviderTools,
58
+ getApiV1CreditsBalance: () => getApiV1CreditsBalance,
59
+ getApiV1CreditsPacks: () => getApiV1CreditsPacks,
60
+ getApiV1CuratedModels: () => getApiV1CuratedModels,
61
+ getApiV1DeveloperApps: () => getApiV1DeveloperApps,
62
+ getApiV1DeveloperAppsByAppUuid: () => getApiV1DeveloperAppsByAppUuid,
63
+ getApiV1DeveloperAppsByAppUuidApiKeys: () => getApiV1DeveloperAppsByAppUuidApiKeys,
64
+ getApiV1DeveloperAppsByAppUuidUsage: () => getApiV1DeveloperAppsByAppUuidUsage,
65
+ getApiV1DeveloperAppsByAppUuidUsageUsers: () => getApiV1DeveloperAppsByAppUuidUsageUsers,
66
+ getApiV1DeveloperAppsByAppUuidUsers: () => getApiV1DeveloperAppsByAppUuidUsers,
67
+ getApiV1DeveloperAppsByAppUuidUsersByAddress: () => getApiV1DeveloperAppsByAppUuidUsersByAddress,
68
+ getApiV1DeveloperBilling: () => getApiV1DeveloperBilling,
69
+ getApiV1DocsSwaggerJson: () => getApiV1DocsSwaggerJson,
70
+ getApiV1GuestBootstrap: () => getApiV1GuestBootstrap,
71
+ getApiV1Me: () => getApiV1Me,
72
+ getApiV1Models: () => getApiV1Models,
73
+ getApiV1Personas: () => getApiV1Personas,
74
+ getApiV1PersonasById: () => getApiV1PersonasById,
75
+ getApiV1PhoneCallsByCallId: () => getApiV1PhoneCallsByCallId,
76
+ getApiV1SubscriptionsPlans: () => getApiV1SubscriptionsPlans,
77
+ getApiV1SubscriptionsStatus: () => getApiV1SubscriptionsStatus,
78
+ getApiV1Tools: () => getApiV1Tools,
79
+ getApiV1UsageByModality: () => getApiV1UsageByModality,
80
+ getApiV1UsageInferenceWeekly: () => getApiV1UsageInferenceWeekly,
81
+ getApiV1UsageModels: () => getApiV1UsageModels,
82
+ getApiV1UserAgentConsents: () => getApiV1UserAgentConsents,
83
+ getApiV1UserAgentGrants: () => getApiV1UserAgentGrants,
84
+ getApiV1UserApiKeys: () => getApiV1UserApiKeys,
85
+ getApiV1UserOauthGrants: () => getApiV1UserOauthGrants,
86
+ getApiV1WalletsBinding: () => getApiV1WalletsBinding,
87
+ getApiV1ZetaCreditRate: () => getApiV1ZetaCreditRate,
88
+ getApiV1ZetaMarket: () => getApiV1ZetaMarket,
89
+ getConnectorsByProviderCallback: () => getConnectorsByProviderCallback,
90
+ getConnectorsByProviderConnect: () => getConnectorsByProviderConnect,
91
+ getHealth: () => getHealth,
92
+ getOauthAuthorize: () => getOauthAuthorize,
93
+ getOauthConsent: () => getOauthConsent,
94
+ getWellKnownJwksJson: () => getWellKnownJwksJson,
95
+ patchApiV1AdminOauthClientsByClientId: () => patchApiV1AdminOauthClientsByClientId,
96
+ patchApiV1DeveloperAppsByAppUuid: () => patchApiV1DeveloperAppsByAppUuid,
97
+ patchApiV1DeveloperAppsByAppUuidUsersByAddress: () => patchApiV1DeveloperAppsByAppUuidUsersByAddress,
98
+ patchApiV1UserOauthGrantsById: () => patchApiV1UserOauthGrantsById,
99
+ postApiV1AdminAddCredits: () => postApiV1AdminAddCredits,
100
+ postApiV1AdminAgents: () => postApiV1AdminAgents,
101
+ postApiV1AdminApps: () => postApiV1AdminApps,
102
+ postApiV1AdminAppsByAppIdApiKeys: () => postApiV1AdminAppsByAppIdApiKeys,
103
+ postApiV1AdminNotificationsAnnounceModel: () => postApiV1AdminNotificationsAnnounceModel,
104
+ postApiV1AdminNotificationsSend: () => postApiV1AdminNotificationsSend,
105
+ postApiV1AdminOauthClients: () => postApiV1AdminOauthClients,
106
+ postApiV1AdminPersonas: () => postApiV1AdminPersonas,
107
+ postApiV1AdminPrivyDevWipe: () => postApiV1AdminPrivyDevWipe,
108
+ postApiV1AdminPrivyIdentifiersMigrate: () => postApiV1AdminPrivyIdentifiersMigrate,
109
+ postApiV1AdminSeedApps: () => postApiV1AdminSeedApps,
110
+ postApiV1AdminSubscriptionTier: () => postApiV1AdminSubscriptionTier,
111
+ postApiV1AdminUsersSuspend: () => postApiV1AdminUsersSuspend,
112
+ postApiV1AdminUsersUnsuspend: () => postApiV1AdminUsersUnsuspend,
113
+ postApiV1AuthMfaDisable: () => postApiV1AuthMfaDisable,
114
+ postApiV1AuthMfaPasskeyEnrollBegin: () => postApiV1AuthMfaPasskeyEnrollBegin,
115
+ postApiV1AuthMfaPasskeyEnrollFinish: () => postApiV1AuthMfaPasskeyEnrollFinish,
116
+ postApiV1AuthMfaPasskeyVerifyBegin: () => postApiV1AuthMfaPasskeyVerifyBegin,
117
+ postApiV1AuthMfaPasskeyVerifyFinish: () => postApiV1AuthMfaPasskeyVerifyFinish,
118
+ postApiV1AuthMfaRecoveryCodesRegenerate: () => postApiV1AuthMfaRecoveryCodesRegenerate,
119
+ postApiV1AuthMfaTotpEnrollInit: () => postApiV1AuthMfaTotpEnrollInit,
120
+ postApiV1AuthMfaTotpEnrollVerify: () => postApiV1AuthMfaTotpEnrollVerify,
121
+ postApiV1AuthMfaVerify: () => postApiV1AuthMfaVerify,
122
+ postApiV1ChatCompletions: () => postApiV1ChatCompletions,
123
+ postApiV1ChatStreamsByInferenceIdCancel: () => postApiV1ChatStreamsByInferenceIdCancel,
124
+ postApiV1ConnectTickets: () => postApiV1ConnectTickets,
125
+ postApiV1ConnectorTokensByProvider: () => postApiV1ConnectorTokensByProvider,
126
+ postApiV1ConnectorsByProviderDisconnect: () => postApiV1ConnectorsByProviderDisconnect,
127
+ postApiV1ConnectorsByProviderProxy: () => postApiV1ConnectorsByProviderProxy,
128
+ postApiV1ConnectorsImport: () => postApiV1ConnectorsImport,
129
+ postApiV1CreditsPurchase: () => postApiV1CreditsPurchase,
130
+ postApiV1CreditsRedeemTokens: () => postApiV1CreditsRedeemTokens,
131
+ postApiV1DeveloperApps: () => postApiV1DeveloperApps,
132
+ postApiV1DeveloperAppsByAppUuidApiKeys: () => postApiV1DeveloperAppsByAppUuidApiKeys,
133
+ postApiV1DeveloperAppsByAppUuidFund: () => postApiV1DeveloperAppsByAppUuidFund,
134
+ postApiV1DeveloperAppsByAppUuidPrivy: () => postApiV1DeveloperAppsByAppUuidPrivy,
135
+ postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp: () => postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp,
136
+ postApiV1Embeddings: () => postApiV1Embeddings,
137
+ postApiV1GuestChatCompletions: () => postApiV1GuestChatCompletions,
138
+ postApiV1NotificationsDevices: () => postApiV1NotificationsDevices,
139
+ postApiV1NotificationsDevicesUnregister: () => postApiV1NotificationsDevicesUnregister,
140
+ postApiV1PhoneCalls: () => postApiV1PhoneCalls,
141
+ postApiV1PreprocessorsCryptoPrices: () => postApiV1PreprocessorsCryptoPrices,
142
+ postApiV1PreprocessorsSearch: () => postApiV1PreprocessorsSearch,
143
+ postApiV1PreprocessorsStockPrices: () => postApiV1PreprocessorsStockPrices,
144
+ postApiV1PreprocessorsWeather: () => postApiV1PreprocessorsWeather,
145
+ postApiV1Responses: () => postApiV1Responses,
146
+ postApiV1SubscriptionsCancel: () => postApiV1SubscriptionsCancel,
147
+ postApiV1SubscriptionsCancelScheduledDowngrade: () => postApiV1SubscriptionsCancelScheduledDowngrade,
148
+ postApiV1SubscriptionsCreateCheckoutSession: () => postApiV1SubscriptionsCreateCheckoutSession,
149
+ postApiV1SubscriptionsCustomerPortal: () => postApiV1SubscriptionsCustomerPortal,
150
+ postApiV1SubscriptionsRenew: () => postApiV1SubscriptionsRenew,
151
+ postApiV1SubscriptionsScheduleDowngrade: () => postApiV1SubscriptionsScheduleDowngrade,
152
+ postApiV1SubscriptionsUpgrade: () => postApiV1SubscriptionsUpgrade,
153
+ postApiV1SubscriptionsWebhook: () => postApiV1SubscriptionsWebhook,
154
+ postApiV1UserAgentConsents: () => postApiV1UserAgentConsents,
155
+ postApiV1UserApiKeys: () => postApiV1UserApiKeys,
156
+ postApiV1WalletsBinding: () => postApiV1WalletsBinding,
157
+ postApiV1WalletsBindingNonce: () => postApiV1WalletsBindingNonce,
158
+ postApiV1WebhooksRevenuecat: () => postApiV1WebhooksRevenuecat,
159
+ postAuthOauthByProviderExchange: () => postAuthOauthByProviderExchange,
160
+ postAuthOauthByProviderRefresh: () => postAuthOauthByProviderRefresh,
161
+ postAuthOauthByProviderRevoke: () => postAuthOauthByProviderRevoke,
162
+ postOauthConsent: () => postOauthConsent,
163
+ postOauthRevoke: () => postOauthRevoke,
164
+ postOauthToken: () => postOauthToken,
165
+ putApiV1AdminAgentsById: () => putApiV1AdminAgentsById,
166
+ putApiV1AdminAppsByAppIdApiKeysById: () => putApiV1AdminAppsByAppIdApiKeysById,
167
+ putApiV1AdminAppsById: () => putApiV1AdminAppsById,
168
+ putApiV1AdminConnectorsByProvider: () => putApiV1AdminConnectorsByProvider,
169
+ putApiV1AdminPersonasById: () => putApiV1AdminPersonasById,
170
+ putApiV1AgentsByIdPreference: () => putApiV1AgentsByIdPreference,
171
+ putApiV1ConnectorsByProviderScopes: () => putApiV1ConnectorsByProviderScopes,
172
+ putApiV1ConnectorsByProviderTools: () => putApiV1ConnectorsByProviderTools
173
+ });
174
+ module.exports = __toCommonJS(index_exports);
175
+
176
+ // src/client/core/bodySerializer.gen.ts
177
+ var serializeUrlSearchParamsPair = (data, key, value) => {
178
+ if (typeof value === "string") {
179
+ data.append(key, value);
180
+ } else {
181
+ data.append(key, JSON.stringify(value));
182
+ }
183
+ };
184
+ var jsonBodySerializer = {
185
+ bodySerializer: (body) => JSON.stringify(
186
+ body,
187
+ (_key, value) => typeof value === "bigint" ? value.toString() : value
188
+ )
189
+ };
190
+ var urlSearchParamsBodySerializer = {
191
+ bodySerializer: (body) => {
192
+ const data = new URLSearchParams();
193
+ Object.entries(body).forEach(([key, value]) => {
194
+ if (value === void 0 || value === null) {
195
+ return;
196
+ }
197
+ if (Array.isArray(value)) {
198
+ value.forEach((v) => serializeUrlSearchParamsPair(data, key, v));
199
+ } else {
200
+ serializeUrlSearchParamsPair(data, key, value);
201
+ }
202
+ });
203
+ return data.toString();
204
+ }
205
+ };
206
+
207
+ // src/client/core/serverSentEvents.gen.ts
208
+ var createSseClient = ({
209
+ onRequest,
210
+ onSseError,
211
+ onSseEvent,
212
+ responseTransformer,
213
+ responseValidator,
214
+ sseDefaultRetryDelay,
215
+ sseMaxRetryAttempts,
216
+ sseMaxRetryDelay,
217
+ sseSleepFn,
218
+ url,
219
+ ...options
220
+ }) => {
221
+ let lastEventId;
222
+ const sleep = sseSleepFn ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
223
+ const createStream = async function* () {
224
+ let retryDelay = sseDefaultRetryDelay ?? 3e3;
225
+ let attempt = 0;
226
+ const signal = options.signal ?? new AbortController().signal;
227
+ while (true) {
228
+ if (signal.aborted) break;
229
+ attempt++;
230
+ const headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers);
231
+ if (lastEventId !== void 0) {
232
+ headers.set("Last-Event-ID", lastEventId);
233
+ }
234
+ try {
235
+ const requestInit = {
236
+ redirect: "follow",
237
+ ...options,
238
+ body: options.serializedBody,
239
+ headers,
240
+ signal
241
+ };
242
+ let request = new Request(url, requestInit);
243
+ if (onRequest) {
244
+ request = await onRequest(url, requestInit);
245
+ }
246
+ const _fetch = options.fetch ?? globalThis.fetch;
247
+ const response = await _fetch(request);
248
+ if (!response.ok)
249
+ throw new Error(
250
+ `SSE failed: ${response.status} ${response.statusText}`
251
+ );
252
+ if (!response.body) throw new Error("No body in SSE response");
253
+ const reader = response.body.pipeThrough(new TextDecoderStream()).getReader();
254
+ let buffer = "";
255
+ const abortHandler = () => {
256
+ try {
257
+ reader.cancel();
258
+ } catch {
259
+ }
260
+ };
261
+ signal.addEventListener("abort", abortHandler);
262
+ try {
263
+ while (true) {
264
+ const { done, value } = await reader.read();
265
+ if (done) break;
266
+ buffer += value;
267
+ const chunks = buffer.split("\n\n");
268
+ buffer = chunks.pop() ?? "";
269
+ for (const chunk of chunks) {
270
+ const lines = chunk.split("\n");
271
+ const dataLines = [];
272
+ let eventName;
273
+ for (const line of lines) {
274
+ if (line.startsWith("data:")) {
275
+ dataLines.push(line.replace(/^data:\s*/, ""));
276
+ } else if (line.startsWith("event:")) {
277
+ eventName = line.replace(/^event:\s*/, "");
278
+ } else if (line.startsWith("id:")) {
279
+ lastEventId = line.replace(/^id:\s*/, "");
280
+ } else if (line.startsWith("retry:")) {
281
+ const parsed = Number.parseInt(
282
+ line.replace(/^retry:\s*/, ""),
283
+ 10
284
+ );
285
+ if (!Number.isNaN(parsed)) {
286
+ retryDelay = parsed;
287
+ }
288
+ }
289
+ }
290
+ let data;
291
+ let parsedJson = false;
292
+ if (dataLines.length) {
293
+ const rawData = dataLines.join("\n");
294
+ try {
295
+ data = JSON.parse(rawData);
296
+ parsedJson = true;
297
+ } catch {
298
+ data = rawData;
299
+ }
300
+ }
301
+ if (parsedJson) {
302
+ if (responseValidator) {
303
+ await responseValidator(data);
304
+ }
305
+ if (responseTransformer) {
306
+ data = await responseTransformer(data);
307
+ }
308
+ }
309
+ onSseEvent?.({
310
+ data,
311
+ event: eventName,
312
+ id: lastEventId,
313
+ retry: retryDelay
314
+ });
315
+ if (dataLines.length) {
316
+ yield data;
317
+ }
318
+ }
319
+ }
320
+ } finally {
321
+ signal.removeEventListener("abort", abortHandler);
322
+ reader.releaseLock();
323
+ }
324
+ break;
325
+ } catch (error) {
326
+ onSseError?.(error);
327
+ if (sseMaxRetryAttempts !== void 0 && attempt >= sseMaxRetryAttempts) {
328
+ break;
329
+ }
330
+ const backoff = Math.min(
331
+ retryDelay * 2 ** (attempt - 1),
332
+ sseMaxRetryDelay ?? 3e4
333
+ );
334
+ await sleep(backoff);
335
+ }
336
+ }
337
+ };
338
+ const stream = createStream();
339
+ return { stream };
340
+ };
341
+
342
+ // src/client/core/pathSerializer.gen.ts
343
+ var separatorArrayExplode = (style) => {
344
+ switch (style) {
345
+ case "label":
346
+ return ".";
347
+ case "matrix":
348
+ return ";";
349
+ case "simple":
350
+ return ",";
351
+ default:
352
+ return "&";
353
+ }
354
+ };
355
+ var separatorArrayNoExplode = (style) => {
356
+ switch (style) {
357
+ case "form":
358
+ return ",";
359
+ case "pipeDelimited":
360
+ return "|";
361
+ case "spaceDelimited":
362
+ return "%20";
363
+ default:
364
+ return ",";
365
+ }
366
+ };
367
+ var separatorObjectExplode = (style) => {
368
+ switch (style) {
369
+ case "label":
370
+ return ".";
371
+ case "matrix":
372
+ return ";";
373
+ case "simple":
374
+ return ",";
375
+ default:
376
+ return "&";
377
+ }
378
+ };
379
+ var serializeArrayParam = ({
380
+ allowReserved,
381
+ explode,
382
+ name,
383
+ style,
384
+ value
385
+ }) => {
386
+ if (!explode) {
387
+ const joinedValues2 = (allowReserved ? value : value.map((v) => encodeURIComponent(v))).join(separatorArrayNoExplode(style));
388
+ switch (style) {
389
+ case "label":
390
+ return `.${joinedValues2}`;
391
+ case "matrix":
392
+ return `;${name}=${joinedValues2}`;
393
+ case "simple":
394
+ return joinedValues2;
395
+ default:
396
+ return `${name}=${joinedValues2}`;
397
+ }
398
+ }
399
+ const separator = separatorArrayExplode(style);
400
+ const joinedValues = value.map((v) => {
401
+ if (style === "label" || style === "simple") {
402
+ return allowReserved ? v : encodeURIComponent(v);
403
+ }
404
+ return serializePrimitiveParam({
405
+ allowReserved,
406
+ name,
407
+ value: v
408
+ });
409
+ }).join(separator);
410
+ return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
411
+ };
412
+ var serializePrimitiveParam = ({
413
+ allowReserved,
414
+ name,
415
+ value
416
+ }) => {
417
+ if (value === void 0 || value === null) {
418
+ return "";
419
+ }
420
+ if (typeof value === "object") {
421
+ throw new Error(
422
+ "Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these."
423
+ );
424
+ }
425
+ return `${name}=${allowReserved ? value : encodeURIComponent(value)}`;
426
+ };
427
+ var serializeObjectParam = ({
428
+ allowReserved,
429
+ explode,
430
+ name,
431
+ style,
432
+ value,
433
+ valueOnly
434
+ }) => {
435
+ if (value instanceof Date) {
436
+ return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`;
437
+ }
438
+ if (style !== "deepObject" && !explode) {
439
+ let values = [];
440
+ Object.entries(value).forEach(([key, v]) => {
441
+ values = [
442
+ ...values,
443
+ key,
444
+ allowReserved ? v : encodeURIComponent(v)
445
+ ];
446
+ });
447
+ const joinedValues2 = values.join(",");
448
+ switch (style) {
449
+ case "form":
450
+ return `${name}=${joinedValues2}`;
451
+ case "label":
452
+ return `.${joinedValues2}`;
453
+ case "matrix":
454
+ return `;${name}=${joinedValues2}`;
455
+ default:
456
+ return joinedValues2;
457
+ }
458
+ }
459
+ const separator = separatorObjectExplode(style);
460
+ const joinedValues = Object.entries(value).map(
461
+ ([key, v]) => serializePrimitiveParam({
462
+ allowReserved,
463
+ name: style === "deepObject" ? `${name}[${key}]` : key,
464
+ value: v
465
+ })
466
+ ).join(separator);
467
+ return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
468
+ };
469
+
470
+ // src/client/core/utils.gen.ts
471
+ function getValidRequestBody(options) {
472
+ const hasBody = options.body !== void 0;
473
+ const isSerializedBody = hasBody && options.bodySerializer;
474
+ if (isSerializedBody) {
475
+ if ("serializedBody" in options) {
476
+ const hasSerializedBody = options.serializedBody !== void 0 && options.serializedBody !== "";
477
+ return hasSerializedBody ? options.serializedBody : null;
478
+ }
479
+ return options.body !== "" ? options.body : null;
480
+ }
481
+ if (hasBody) {
482
+ return options.body;
483
+ }
484
+ return void 0;
485
+ }
486
+
487
+ // src/client/core/auth.gen.ts
488
+ var getAuthToken = async (auth, callback) => {
489
+ const token = typeof callback === "function" ? await callback(auth) : callback;
490
+ if (!token) {
491
+ return;
492
+ }
493
+ if (auth.scheme === "bearer") {
494
+ return `Bearer ${token}`;
495
+ }
496
+ if (auth.scheme === "basic") {
497
+ return `Basic ${btoa(token)}`;
498
+ }
499
+ return token;
500
+ };
501
+
502
+ // src/client/client/utils.gen.ts
503
+ var PATH_PARAM_RE = /\{[^{}]+\}/g;
504
+ var defaultPathSerializer = ({ path, url: _url }) => {
505
+ let url = _url;
506
+ const matches = _url.match(PATH_PARAM_RE);
507
+ if (matches) {
508
+ for (const match of matches) {
509
+ let explode = false;
510
+ let name = match.substring(1, match.length - 1);
511
+ let style = "simple";
512
+ if (name.endsWith("*")) {
513
+ explode = true;
514
+ name = name.substring(0, name.length - 1);
515
+ }
516
+ if (name.startsWith(".")) {
517
+ name = name.substring(1);
518
+ style = "label";
519
+ } else if (name.startsWith(";")) {
520
+ name = name.substring(1);
521
+ style = "matrix";
522
+ }
523
+ const value = path[name];
524
+ if (value === void 0 || value === null) {
525
+ continue;
526
+ }
527
+ if (Array.isArray(value)) {
528
+ url = url.replace(
529
+ match,
530
+ serializeArrayParam({ explode, name, style, value })
531
+ );
532
+ continue;
533
+ }
534
+ if (typeof value === "object") {
535
+ url = url.replace(
536
+ match,
537
+ serializeObjectParam({
538
+ explode,
539
+ name,
540
+ style,
541
+ value,
542
+ valueOnly: true
543
+ })
544
+ );
545
+ continue;
546
+ }
547
+ if (style === "matrix") {
548
+ url = url.replace(
549
+ match,
550
+ `;${serializePrimitiveParam({
551
+ name,
552
+ value
553
+ })}`
554
+ );
555
+ continue;
556
+ }
557
+ const replaceValue = encodeURIComponent(
558
+ style === "label" ? `.${value}` : value
559
+ );
560
+ url = url.replace(match, replaceValue);
561
+ }
562
+ }
563
+ return url;
564
+ };
565
+ var createQuerySerializer = ({
566
+ parameters = {},
567
+ ...args
568
+ } = {}) => {
569
+ const querySerializer = (queryParams) => {
570
+ const search = [];
571
+ if (queryParams && typeof queryParams === "object") {
572
+ for (const name in queryParams) {
573
+ const value = queryParams[name];
574
+ if (value === void 0 || value === null) {
575
+ continue;
576
+ }
577
+ const options = parameters[name] || args;
578
+ if (Array.isArray(value)) {
579
+ const serializedArray = serializeArrayParam({
580
+ allowReserved: options.allowReserved,
581
+ explode: true,
582
+ name,
583
+ style: "form",
584
+ value,
585
+ ...options.array
586
+ });
587
+ if (serializedArray) search.push(serializedArray);
588
+ } else if (typeof value === "object") {
589
+ const serializedObject = serializeObjectParam({
590
+ allowReserved: options.allowReserved,
591
+ explode: true,
592
+ name,
593
+ style: "deepObject",
594
+ value,
595
+ ...options.object
596
+ });
597
+ if (serializedObject) search.push(serializedObject);
598
+ } else {
599
+ const serializedPrimitive = serializePrimitiveParam({
600
+ allowReserved: options.allowReserved,
601
+ name,
602
+ value
603
+ });
604
+ if (serializedPrimitive) search.push(serializedPrimitive);
605
+ }
606
+ }
607
+ }
608
+ return search.join("&");
609
+ };
610
+ return querySerializer;
611
+ };
612
+ var getParseAs = (contentType) => {
613
+ if (!contentType) {
614
+ return "stream";
615
+ }
616
+ const cleanContent = contentType.split(";")[0]?.trim();
617
+ if (!cleanContent) {
618
+ return;
619
+ }
620
+ if (cleanContent.startsWith("application/json") || cleanContent.endsWith("+json")) {
621
+ return "json";
622
+ }
623
+ if (cleanContent === "multipart/form-data") {
624
+ return "formData";
625
+ }
626
+ if (["application/", "audio/", "image/", "video/"].some(
627
+ (type) => cleanContent.startsWith(type)
628
+ )) {
629
+ return "blob";
630
+ }
631
+ if (cleanContent.startsWith("text/")) {
632
+ return "text";
633
+ }
634
+ return;
635
+ };
636
+ var checkForExistence = (options, name) => {
637
+ if (!name) {
638
+ return false;
639
+ }
640
+ if (options.headers.has(name) || options.query?.[name] || options.headers.get("Cookie")?.includes(`${name}=`)) {
641
+ return true;
642
+ }
643
+ return false;
644
+ };
645
+ var setAuthParams = async ({
646
+ security,
647
+ ...options
648
+ }) => {
649
+ for (const auth of security) {
650
+ if (checkForExistence(options, auth.name)) {
651
+ continue;
652
+ }
653
+ const token = await getAuthToken(auth, options.auth);
654
+ if (!token) {
655
+ continue;
656
+ }
657
+ const name = auth.name ?? "Authorization";
658
+ switch (auth.in) {
659
+ case "query":
660
+ if (!options.query) {
661
+ options.query = {};
662
+ }
663
+ options.query[name] = token;
664
+ break;
665
+ case "cookie":
666
+ options.headers.append("Cookie", `${name}=${token}`);
667
+ break;
668
+ case "header":
669
+ default:
670
+ options.headers.set(name, token);
671
+ break;
672
+ }
673
+ }
674
+ };
675
+ var buildUrl = (options) => {
676
+ const url = getUrl({
677
+ baseUrl: options.baseUrl,
678
+ path: options.path,
679
+ query: options.query,
680
+ querySerializer: typeof options.querySerializer === "function" ? options.querySerializer : createQuerySerializer(options.querySerializer),
681
+ url: options.url
682
+ });
683
+ return url;
684
+ };
685
+ var getUrl = ({
686
+ baseUrl,
687
+ path,
688
+ query,
689
+ querySerializer,
690
+ url: _url
691
+ }) => {
692
+ const pathUrl = _url.startsWith("/") ? _url : `/${_url}`;
693
+ let url = (baseUrl ?? "") + pathUrl;
694
+ if (path) {
695
+ url = defaultPathSerializer({ path, url });
696
+ }
697
+ let search = query ? querySerializer(query) : "";
698
+ if (search.startsWith("?")) {
699
+ search = search.substring(1);
700
+ }
701
+ if (search) {
702
+ url += `?${search}`;
703
+ }
704
+ return url;
705
+ };
706
+ var mergeConfigs = (a, b) => {
707
+ const config = { ...a, ...b };
708
+ if (config.baseUrl?.endsWith("/")) {
709
+ config.baseUrl = config.baseUrl.substring(0, config.baseUrl.length - 1);
710
+ }
711
+ config.headers = mergeHeaders(a.headers, b.headers);
712
+ return config;
713
+ };
714
+ var headersEntries = (headers) => {
715
+ const entries = [];
716
+ headers.forEach((value, key) => {
717
+ entries.push([key, value]);
718
+ });
719
+ return entries;
720
+ };
721
+ var mergeHeaders = (...headers) => {
722
+ const mergedHeaders = new Headers();
723
+ for (const header of headers) {
724
+ if (!header || typeof header !== "object") {
725
+ continue;
726
+ }
727
+ const iterator = header instanceof Headers ? headersEntries(header) : Object.entries(header);
728
+ for (const [key, value] of iterator) {
729
+ if (value === null) {
730
+ mergedHeaders.delete(key);
731
+ } else if (Array.isArray(value)) {
732
+ for (const v of value) {
733
+ mergedHeaders.append(key, v);
734
+ }
735
+ } else if (value !== void 0) {
736
+ mergedHeaders.set(
737
+ key,
738
+ typeof value === "object" ? JSON.stringify(value) : value
739
+ );
740
+ }
741
+ }
742
+ }
743
+ return mergedHeaders;
744
+ };
745
+ var Interceptors = class {
746
+ constructor() {
747
+ this.fns = [];
748
+ }
749
+ clear() {
750
+ this.fns = [];
751
+ }
752
+ eject(id) {
753
+ const index = this.getInterceptorIndex(id);
754
+ if (this.fns[index]) {
755
+ this.fns[index] = null;
756
+ }
757
+ }
758
+ exists(id) {
759
+ const index = this.getInterceptorIndex(id);
760
+ return Boolean(this.fns[index]);
761
+ }
762
+ getInterceptorIndex(id) {
763
+ if (typeof id === "number") {
764
+ return this.fns[id] ? id : -1;
765
+ }
766
+ return this.fns.indexOf(id);
767
+ }
768
+ update(id, fn) {
769
+ const index = this.getInterceptorIndex(id);
770
+ if (this.fns[index]) {
771
+ this.fns[index] = fn;
772
+ return id;
773
+ }
774
+ return false;
775
+ }
776
+ use(fn) {
777
+ this.fns.push(fn);
778
+ return this.fns.length - 1;
779
+ }
780
+ };
781
+ var createInterceptors = () => ({
782
+ error: new Interceptors(),
783
+ request: new Interceptors(),
784
+ response: new Interceptors()
785
+ });
786
+ var defaultQuerySerializer = createQuerySerializer({
787
+ allowReserved: false,
788
+ array: {
789
+ explode: true,
790
+ style: "form"
791
+ },
792
+ object: {
793
+ explode: true,
794
+ style: "deepObject"
795
+ }
796
+ });
797
+ var defaultHeaders = {
798
+ "Content-Type": "application/json"
799
+ };
800
+ var createConfig = (override = {}) => ({
801
+ ...jsonBodySerializer,
802
+ headers: defaultHeaders,
803
+ parseAs: "auto",
804
+ querySerializer: defaultQuerySerializer,
805
+ ...override
806
+ });
807
+
808
+ // src/client/client/client.gen.ts
809
+ var createClient = (config = {}) => {
810
+ let _config = mergeConfigs(createConfig(), config);
811
+ const getConfig = () => ({ ..._config });
812
+ const setConfig = (config2) => {
813
+ _config = mergeConfigs(_config, config2);
814
+ return getConfig();
815
+ };
816
+ const interceptors = createInterceptors();
817
+ const beforeRequest = async (options) => {
818
+ const opts = {
819
+ ..._config,
820
+ ...options,
821
+ fetch: options.fetch ?? _config.fetch ?? globalThis.fetch,
822
+ headers: mergeHeaders(_config.headers, options.headers),
823
+ serializedBody: void 0
824
+ };
825
+ if (opts.security) {
826
+ await setAuthParams({
827
+ ...opts,
828
+ security: opts.security
829
+ });
830
+ }
831
+ if (opts.requestValidator) {
832
+ await opts.requestValidator(opts);
833
+ }
834
+ if (opts.body !== void 0 && opts.bodySerializer) {
835
+ opts.serializedBody = opts.bodySerializer(opts.body);
836
+ }
837
+ if (opts.body === void 0 || opts.serializedBody === "") {
838
+ opts.headers.delete("Content-Type");
839
+ }
840
+ const url = buildUrl(opts);
841
+ return { opts, url };
842
+ };
843
+ const request = async (options) => {
844
+ const { opts, url } = await beforeRequest(options);
845
+ for (const fn of interceptors.request.fns) {
846
+ if (fn) {
847
+ await fn(opts);
848
+ }
849
+ }
850
+ const _fetch = opts.fetch;
851
+ const requestInit = {
852
+ ...opts,
853
+ body: getValidRequestBody(opts)
854
+ };
855
+ let response = await _fetch(url, requestInit);
856
+ for (const fn of interceptors.response.fns) {
857
+ if (fn) {
858
+ response = await fn(response, opts);
859
+ }
860
+ }
861
+ const result = {
862
+ response
863
+ };
864
+ if (response.ok) {
865
+ const parseAs = (opts.parseAs === "auto" ? getParseAs(response.headers.get("Content-Type")) : opts.parseAs) ?? "json";
866
+ if (response.status === 204 || response.headers.get("Content-Length") === "0") {
867
+ let emptyData;
868
+ switch (parseAs) {
869
+ case "arrayBuffer":
870
+ case "blob":
871
+ case "text":
872
+ emptyData = await response[parseAs]();
873
+ break;
874
+ case "formData":
875
+ emptyData = new FormData();
876
+ break;
877
+ case "stream":
878
+ emptyData = response.body;
879
+ break;
880
+ case "json":
881
+ default:
882
+ emptyData = {};
883
+ break;
884
+ }
885
+ return {
886
+ data: emptyData,
887
+ ...result
888
+ };
889
+ }
890
+ let data;
891
+ switch (parseAs) {
892
+ case "arrayBuffer":
893
+ case "blob":
894
+ case "formData":
895
+ case "json":
896
+ case "text":
897
+ data = await response[parseAs]();
898
+ break;
899
+ case "stream":
900
+ return {
901
+ data: response.body,
902
+ ...result
903
+ };
904
+ }
905
+ if (parseAs === "json") {
906
+ if (opts.responseValidator) {
907
+ await opts.responseValidator(data);
908
+ }
909
+ if (opts.responseTransformer) {
910
+ data = await opts.responseTransformer(data);
911
+ }
912
+ }
913
+ return {
914
+ data,
915
+ ...result
916
+ };
917
+ }
918
+ const textError = await response.text();
919
+ let jsonError;
920
+ try {
921
+ jsonError = JSON.parse(textError);
922
+ } catch {
923
+ }
924
+ const error = jsonError ?? textError;
925
+ let finalError = error;
926
+ for (const fn of interceptors.error.fns) {
927
+ if (fn) {
928
+ finalError = await fn(error, response, opts);
929
+ }
930
+ }
931
+ finalError = finalError || {};
932
+ if (opts.throwOnError) {
933
+ throw finalError;
934
+ }
935
+ return {
936
+ error: finalError,
937
+ ...result
938
+ };
939
+ };
940
+ const makeMethodFn = (method) => (options) => request({ ...options, method });
941
+ const makeSseFn = (method) => async (options) => {
942
+ const { opts, url } = await beforeRequest(options);
943
+ return createSseClient({
944
+ ...opts,
945
+ body: opts.body,
946
+ headers: opts.headers,
947
+ method,
948
+ onRequest: async (url2, init) => {
949
+ let request2 = new Request(url2, init);
950
+ const requestInit = {
951
+ ...init,
952
+ method: init.method,
953
+ url: url2
954
+ };
955
+ for (const fn of interceptors.request.fns) {
956
+ if (fn) {
957
+ await fn(requestInit);
958
+ request2 = new Request(requestInit.url, requestInit);
959
+ }
960
+ }
961
+ return request2;
962
+ },
963
+ url
964
+ });
965
+ };
966
+ return {
967
+ buildUrl,
968
+ connect: makeMethodFn("CONNECT"),
969
+ delete: makeMethodFn("DELETE"),
970
+ get: makeMethodFn("GET"),
971
+ getConfig,
972
+ head: makeMethodFn("HEAD"),
973
+ interceptors,
974
+ options: makeMethodFn("OPTIONS"),
975
+ patch: makeMethodFn("PATCH"),
976
+ post: makeMethodFn("POST"),
977
+ put: makeMethodFn("PUT"),
978
+ request,
979
+ setConfig,
980
+ sse: {
981
+ connect: makeSseFn("CONNECT"),
982
+ delete: makeSseFn("DELETE"),
983
+ get: makeSseFn("GET"),
984
+ head: makeSseFn("HEAD"),
985
+ options: makeSseFn("OPTIONS"),
986
+ patch: makeSseFn("PATCH"),
987
+ post: makeSseFn("POST"),
988
+ put: makeSseFn("PUT"),
989
+ trace: makeSseFn("TRACE")
990
+ },
991
+ trace: makeMethodFn("TRACE")
992
+ };
993
+ };
994
+
995
+ // src/clientConfig.ts
996
+ var DEFAULT_BASE_URL = "https://portal.anuma-dev.ai";
997
+ function readGlobal(key) {
998
+ if (typeof globalThis === "undefined") return void 0;
999
+ const value = globalThis[key];
1000
+ return typeof value === "string" && value.length > 0 ? value : void 0;
1001
+ }
1002
+ function resolveBaseUrl() {
1003
+ const fromProcess = typeof process !== "undefined" ? process.env.API_URL || process.env.NEXT_PUBLIC_API_URL || process.env.EXPO_PUBLIC_API_URL : void 0;
1004
+ const fromGlobal = readGlobal("API_URL") ?? readGlobal("NEXT_PUBLIC_API_URL") ?? readGlobal("EXPO_PUBLIC_API_URL");
1005
+ return (fromProcess || fromGlobal || DEFAULT_BASE_URL).replace(/\/+$/, "");
1006
+ }
1007
+ var BASE_URL = resolveBaseUrl();
1008
+ var createClientConfig = (config) => ({
1009
+ ...config,
1010
+ baseUrl: BASE_URL
1011
+ });
1012
+
1013
+ // src/client/client.gen.ts
1014
+ var client = createClient(createClientConfig(createConfig()));
1015
+
1016
+ // src/client/sdk.gen.ts
1017
+ var getWellKnownJwksJson = (options) => {
1018
+ return (options?.client ?? client).get({
1019
+ url: "/.well-known/jwks.json",
1020
+ ...options
1021
+ });
1022
+ };
1023
+ var deleteApiV1Account = (options) => {
1024
+ return (options?.client ?? client).delete({
1025
+ url: "/api/v1/account",
1026
+ ...options
1027
+ });
1028
+ };
1029
+ var postApiV1AdminAddCredits = (options) => {
1030
+ return (options.client ?? client).post({
1031
+ url: "/api/v1/admin/add-credits",
1032
+ ...options,
1033
+ headers: {
1034
+ "Content-Type": "application/json",
1035
+ ...options.headers
1036
+ }
1037
+ });
1038
+ };
1039
+ var postApiV1AdminAgents = (options) => {
1040
+ return (options.client ?? client).post({
1041
+ url: "/api/v1/admin/agents",
1042
+ ...options,
1043
+ headers: {
1044
+ "Content-Type": "application/json",
1045
+ ...options.headers
1046
+ }
1047
+ });
1048
+ };
1049
+ var deleteApiV1AdminAgentsById = (options) => {
1050
+ return (options.client ?? client).delete({
1051
+ url: "/api/v1/admin/agents/{id}",
1052
+ ...options
1053
+ });
1054
+ };
1055
+ var putApiV1AdminAgentsById = (options) => {
1056
+ return (options.client ?? client).put({
1057
+ url: "/api/v1/admin/agents/{id}",
1058
+ ...options,
1059
+ headers: {
1060
+ "Content-Type": "application/json",
1061
+ ...options.headers
1062
+ }
1063
+ });
1064
+ };
1065
+ var getApiV1AdminApps = (options) => {
1066
+ return (options.client ?? client).get({
1067
+ url: "/api/v1/admin/apps",
1068
+ ...options
1069
+ });
1070
+ };
1071
+ var postApiV1AdminApps = (options) => {
1072
+ return (options.client ?? client).post({
1073
+ url: "/api/v1/admin/apps",
1074
+ ...options,
1075
+ headers: {
1076
+ "Content-Type": "application/json",
1077
+ ...options.headers
1078
+ }
1079
+ });
1080
+ };
1081
+ var getApiV1AdminAppsByAppIdApiKeys = (options) => {
1082
+ return (options.client ?? client).get({
1083
+ url: "/api/v1/admin/apps/{app_id}/api-keys",
1084
+ ...options
1085
+ });
1086
+ };
1087
+ var postApiV1AdminAppsByAppIdApiKeys = (options) => {
1088
+ return (options.client ?? client).post({
1089
+ url: "/api/v1/admin/apps/{app_id}/api-keys",
1090
+ ...options,
1091
+ headers: {
1092
+ "Content-Type": "application/json",
1093
+ ...options.headers
1094
+ }
1095
+ });
1096
+ };
1097
+ var deleteApiV1AdminAppsByAppIdApiKeysById = (options) => {
1098
+ return (options.client ?? client).delete({
1099
+ url: "/api/v1/admin/apps/{app_id}/api-keys/{id}",
1100
+ ...options
1101
+ });
1102
+ };
1103
+ var getApiV1AdminAppsByAppIdApiKeysById = (options) => {
1104
+ return (options.client ?? client).get({
1105
+ url: "/api/v1/admin/apps/{app_id}/api-keys/{id}",
1106
+ ...options
1107
+ });
1108
+ };
1109
+ var putApiV1AdminAppsByAppIdApiKeysById = (options) => {
1110
+ return (options.client ?? client).put({
1111
+ url: "/api/v1/admin/apps/{app_id}/api-keys/{id}",
1112
+ ...options,
1113
+ headers: {
1114
+ "Content-Type": "application/json",
1115
+ ...options.headers
1116
+ }
1117
+ });
1118
+ };
1119
+ var deleteApiV1AdminAppsById = (options) => {
1120
+ return (options.client ?? client).delete({
1121
+ url: "/api/v1/admin/apps/{id}",
1122
+ ...options
1123
+ });
1124
+ };
1125
+ var getApiV1AdminAppsById = (options) => {
1126
+ return (options.client ?? client).get({
1127
+ url: "/api/v1/admin/apps/{id}",
1128
+ ...options
1129
+ });
1130
+ };
1131
+ var putApiV1AdminAppsById = (options) => {
1132
+ return (options.client ?? client).put({
1133
+ url: "/api/v1/admin/apps/{id}",
1134
+ ...options,
1135
+ headers: {
1136
+ "Content-Type": "application/json",
1137
+ ...options.headers
1138
+ }
1139
+ });
1140
+ };
1141
+ var getApiV1AdminConnectors = (options) => {
1142
+ return (options.client ?? client).get({
1143
+ url: "/api/v1/admin/connectors",
1144
+ ...options
1145
+ });
1146
+ };
1147
+ var putApiV1AdminConnectorsByProvider = (options) => {
1148
+ return (options.client ?? client).put({
1149
+ url: "/api/v1/admin/connectors/{provider}",
1150
+ ...options,
1151
+ headers: {
1152
+ "Content-Type": "application/json",
1153
+ ...options.headers
1154
+ }
1155
+ });
1156
+ };
1157
+ var postApiV1AdminNotificationsAnnounceModel = (options) => {
1158
+ return (options.client ?? client).post({
1159
+ url: "/api/v1/admin/notifications/announce-model",
1160
+ ...options,
1161
+ headers: {
1162
+ "Content-Type": "application/json",
1163
+ ...options.headers
1164
+ }
1165
+ });
1166
+ };
1167
+ var postApiV1AdminNotificationsSend = (options) => {
1168
+ return (options.client ?? client).post({
1169
+ url: "/api/v1/admin/notifications/send",
1170
+ ...options,
1171
+ headers: {
1172
+ "Content-Type": "application/json",
1173
+ ...options.headers
1174
+ }
1175
+ });
1176
+ };
1177
+ var getApiV1AdminOauthClients = (options) => {
1178
+ return (options.client ?? client).get({
1179
+ url: "/api/v1/admin/oauth/clients",
1180
+ ...options
1181
+ });
1182
+ };
1183
+ var postApiV1AdminOauthClients = (options) => {
1184
+ return (options.client ?? client).post({
1185
+ url: "/api/v1/admin/oauth/clients",
1186
+ ...options,
1187
+ headers: {
1188
+ "Content-Type": "application/json",
1189
+ ...options.headers
1190
+ }
1191
+ });
1192
+ };
1193
+ var deleteApiV1AdminOauthClientsByClientId = (options) => {
1194
+ return (options.client ?? client).delete({
1195
+ url: "/api/v1/admin/oauth/clients/{client_id}",
1196
+ ...options
1197
+ });
1198
+ };
1199
+ var getApiV1AdminOauthClientsByClientId = (options) => {
1200
+ return (options.client ?? client).get({
1201
+ url: "/api/v1/admin/oauth/clients/{client_id}",
1202
+ ...options
1203
+ });
1204
+ };
1205
+ var patchApiV1AdminOauthClientsByClientId = (options) => {
1206
+ return (options.client ?? client).patch({
1207
+ url: "/api/v1/admin/oauth/clients/{client_id}",
1208
+ ...options,
1209
+ headers: {
1210
+ "Content-Type": "application/json",
1211
+ ...options.headers
1212
+ }
1213
+ });
1214
+ };
1215
+ var postApiV1AdminPersonas = (options) => {
1216
+ return (options.client ?? client).post({
1217
+ url: "/api/v1/admin/personas",
1218
+ ...options,
1219
+ headers: {
1220
+ "Content-Type": "application/json",
1221
+ ...options.headers
1222
+ }
1223
+ });
1224
+ };
1225
+ var deleteApiV1AdminPersonasById = (options) => {
1226
+ return (options.client ?? client).delete({
1227
+ url: "/api/v1/admin/personas/{id}",
1228
+ ...options
1229
+ });
1230
+ };
1231
+ var putApiV1AdminPersonasById = (options) => {
1232
+ return (options.client ?? client).put({
1233
+ url: "/api/v1/admin/personas/{id}",
1234
+ ...options,
1235
+ headers: {
1236
+ "Content-Type": "application/json",
1237
+ ...options.headers
1238
+ }
1239
+ });
1240
+ };
1241
+ var postApiV1AdminPrivyDevWipe = (options) => {
1242
+ return (options.client ?? client).post({
1243
+ url: "/api/v1/admin/privy-dev/wipe",
1244
+ ...options,
1245
+ headers: {
1246
+ "Content-Type": "application/json",
1247
+ ...options.headers
1248
+ }
1249
+ });
1250
+ };
1251
+ var getApiV1AdminPrivyIdentifiersAudit = (options) => {
1252
+ return (options.client ?? client).get({
1253
+ url: "/api/v1/admin/privy-identifiers/audit",
1254
+ ...options
1255
+ });
1256
+ };
1257
+ var postApiV1AdminPrivyIdentifiersMigrate = (options) => {
1258
+ return (options.client ?? client).post({
1259
+ url: "/api/v1/admin/privy-identifiers/migrate",
1260
+ ...options
1261
+ });
1262
+ };
1263
+ var postApiV1AdminSeedApps = (options) => {
1264
+ return (options.client ?? client).post({
1265
+ url: "/api/v1/admin/seed-apps",
1266
+ ...options,
1267
+ headers: {
1268
+ "Content-Type": "application/json",
1269
+ ...options.headers
1270
+ }
1271
+ });
1272
+ };
1273
+ var postApiV1AdminSubscriptionTier = (options) => {
1274
+ return (options.client ?? client).post({
1275
+ url: "/api/v1/admin/subscription-tier",
1276
+ ...options,
1277
+ headers: {
1278
+ "Content-Type": "application/json",
1279
+ ...options.headers
1280
+ }
1281
+ });
1282
+ };
1283
+ var deleteApiV1AdminTextReset = (options) => {
1284
+ return (options.client ?? client).delete({
1285
+ url: "/api/v1/admin/text/reset",
1286
+ ...options
1287
+ });
1288
+ };
1289
+ var deleteApiV1AdminUsersDelete = (options) => {
1290
+ return (options.client ?? client).delete({
1291
+ url: "/api/v1/admin/users/delete",
1292
+ ...options
1293
+ });
1294
+ };
1295
+ var getApiV1AdminUsersLookup = (options) => {
1296
+ return (options.client ?? client).get({
1297
+ url: "/api/v1/admin/users/lookup",
1298
+ ...options
1299
+ });
1300
+ };
1301
+ var postApiV1AdminUsersSuspend = (options) => {
1302
+ return (options.client ?? client).post({
1303
+ url: "/api/v1/admin/users/suspend",
1304
+ ...options,
1305
+ headers: {
1306
+ "Content-Type": "application/json",
1307
+ ...options.headers
1308
+ }
1309
+ });
1310
+ };
1311
+ var postApiV1AdminUsersUnsuspend = (options) => {
1312
+ return (options.client ?? client).post({
1313
+ url: "/api/v1/admin/users/unsuspend",
1314
+ ...options,
1315
+ headers: {
1316
+ "Content-Type": "application/json",
1317
+ ...options.headers
1318
+ }
1319
+ });
1320
+ };
1321
+ var getApiV1AgentPreferences = (options) => {
1322
+ return (options?.client ?? client).get({
1323
+ url: "/api/v1/agent-preferences",
1324
+ ...options
1325
+ });
1326
+ };
1327
+ var getApiV1Agents = (options) => {
1328
+ return (options?.client ?? client).get({
1329
+ url: "/api/v1/agents",
1330
+ ...options
1331
+ });
1332
+ };
1333
+ var getApiV1AgentsById = (options) => {
1334
+ return (options.client ?? client).get({
1335
+ url: "/api/v1/agents/{id}",
1336
+ ...options
1337
+ });
1338
+ };
1339
+ var putApiV1AgentsByIdPreference = (options) => {
1340
+ return (options.client ?? client).put({
1341
+ url: "/api/v1/agents/{id}/preference",
1342
+ ...options,
1343
+ headers: {
1344
+ "Content-Type": "application/json",
1345
+ ...options.headers
1346
+ }
1347
+ });
1348
+ };
1349
+ var postApiV1AuthMfaDisable = (options) => {
1350
+ return (options.client ?? client).post({
1351
+ url: "/api/v1/auth/mfa/disable",
1352
+ ...options,
1353
+ headers: {
1354
+ "Content-Type": "application/json",
1355
+ ...options.headers
1356
+ }
1357
+ });
1358
+ };
1359
+ var deleteApiV1AuthMfaPasskeyCredentialsByCredentialId = (options) => {
1360
+ return (options.client ?? client).delete({
1361
+ url: "/api/v1/auth/mfa/passkey/credentials/{credential_id}",
1362
+ ...options
1363
+ });
1364
+ };
1365
+ var postApiV1AuthMfaPasskeyEnrollBegin = (options) => {
1366
+ return (options?.client ?? client).post({
1367
+ url: "/api/v1/auth/mfa/passkey/enroll/begin",
1368
+ ...options
1369
+ });
1370
+ };
1371
+ var postApiV1AuthMfaPasskeyEnrollFinish = (options) => {
1372
+ return (options.client ?? client).post({
1373
+ url: "/api/v1/auth/mfa/passkey/enroll/finish",
1374
+ ...options,
1375
+ headers: {
1376
+ "Content-Type": "application/json",
1377
+ ...options.headers
1378
+ }
1379
+ });
1380
+ };
1381
+ var postApiV1AuthMfaPasskeyVerifyBegin = (options) => {
1382
+ return (options?.client ?? client).post({
1383
+ url: "/api/v1/auth/mfa/passkey/verify/begin",
1384
+ ...options
1385
+ });
1386
+ };
1387
+ var postApiV1AuthMfaPasskeyVerifyFinish = (options) => {
1388
+ return (options.client ?? client).post({
1389
+ url: "/api/v1/auth/mfa/passkey/verify/finish",
1390
+ ...options,
1391
+ headers: {
1392
+ "Content-Type": "application/json",
1393
+ ...options.headers
1394
+ }
1395
+ });
1396
+ };
1397
+ var postApiV1AuthMfaRecoveryCodesRegenerate = (options) => {
1398
+ return (options?.client ?? client).post({
1399
+ url: "/api/v1/auth/mfa/recovery-codes/regenerate",
1400
+ ...options
1401
+ });
1402
+ };
1403
+ var getApiV1AuthMfaStatus = (options) => {
1404
+ return (options?.client ?? client).get({
1405
+ url: "/api/v1/auth/mfa/status",
1406
+ ...options
1407
+ });
1408
+ };
1409
+ var postApiV1AuthMfaTotpEnrollInit = (options) => {
1410
+ return (options?.client ?? client).post({
1411
+ url: "/api/v1/auth/mfa/totp/enroll/init",
1412
+ ...options
1413
+ });
1414
+ };
1415
+ var postApiV1AuthMfaTotpEnrollVerify = (options) => {
1416
+ return (options.client ?? client).post({
1417
+ url: "/api/v1/auth/mfa/totp/enroll/verify",
1418
+ ...options,
1419
+ headers: {
1420
+ "Content-Type": "application/json",
1421
+ ...options.headers
1422
+ }
1423
+ });
1424
+ };
1425
+ var postApiV1AuthMfaVerify = (options) => {
1426
+ return (options.client ?? client).post({
1427
+ url: "/api/v1/auth/mfa/verify",
1428
+ ...options,
1429
+ headers: {
1430
+ "Content-Type": "application/json",
1431
+ ...options.headers
1432
+ }
1433
+ });
1434
+ };
1435
+ var getApiV1Bootstrap = (options) => {
1436
+ return (options?.client ?? client).get({
1437
+ url: "/api/v1/bootstrap",
1438
+ ...options
1439
+ });
1440
+ };
1441
+ var postApiV1ChatCompletions = (options) => {
1442
+ return (options.client ?? client).post({
1443
+ url: "/api/v1/chat/completions",
1444
+ ...options,
1445
+ headers: {
1446
+ "Content-Type": "application/json",
1447
+ ...options.headers
1448
+ }
1449
+ });
1450
+ };
1451
+ var getApiV1ChatStreamsByInferenceId = (options) => {
1452
+ return (options.client ?? client).get({
1453
+ url: "/api/v1/chat/streams/{inference_id}",
1454
+ ...options
1455
+ });
1456
+ };
1457
+ var postApiV1ChatStreamsByInferenceIdCancel = (options) => {
1458
+ return (options.client ?? client).post({
1459
+ url: "/api/v1/chat/streams/{inference_id}/cancel",
1460
+ ...options
1461
+ });
1462
+ };
1463
+ var getApiV1Config = (options) => {
1464
+ return (options?.client ?? client).get({
1465
+ url: "/api/v1/config",
1466
+ ...options
1467
+ });
1468
+ };
1469
+ var postApiV1ConnectTickets = (options) => {
1470
+ return (options.client ?? client).post({
1471
+ url: "/api/v1/connect-tickets",
1472
+ ...options,
1473
+ headers: {
1474
+ "Content-Type": "application/json",
1475
+ ...options.headers
1476
+ }
1477
+ });
1478
+ };
1479
+ var postApiV1ConnectorTokensByProvider = (options) => {
1480
+ return (options.client ?? client).post({
1481
+ url: "/api/v1/connector-tokens/{provider}",
1482
+ ...options,
1483
+ headers: {
1484
+ "Content-Type": "application/json",
1485
+ ...options.headers
1486
+ }
1487
+ });
1488
+ };
1489
+ var getApiV1Connectors = (options) => {
1490
+ return (options?.client ?? client).get({
1491
+ url: "/api/v1/connectors",
1492
+ ...options
1493
+ });
1494
+ };
1495
+ var postApiV1ConnectorsImport = (options) => {
1496
+ return (options.client ?? client).post({
1497
+ url: "/api/v1/connectors/import",
1498
+ ...options,
1499
+ headers: {
1500
+ "Content-Type": "application/json",
1501
+ ...options.headers
1502
+ }
1503
+ });
1504
+ };
1505
+ var postApiV1ConnectorsByProviderDisconnect = (options) => {
1506
+ return (options.client ?? client).post({
1507
+ url: "/api/v1/connectors/{provider}/disconnect",
1508
+ ...options
1509
+ });
1510
+ };
1511
+ var postApiV1ConnectorsByProviderProxy = (options) => {
1512
+ return (options.client ?? client).post({
1513
+ url: "/api/v1/connectors/{provider}/proxy",
1514
+ ...options,
1515
+ headers: {
1516
+ "Content-Type": "application/json",
1517
+ ...options.headers
1518
+ }
1519
+ });
1520
+ };
1521
+ var getApiV1ConnectorsByProviderScopes = (options) => {
1522
+ return (options.client ?? client).get({
1523
+ url: "/api/v1/connectors/{provider}/scopes",
1524
+ ...options
1525
+ });
1526
+ };
1527
+ var putApiV1ConnectorsByProviderScopes = (options) => {
1528
+ return (options.client ?? client).put({
1529
+ url: "/api/v1/connectors/{provider}/scopes",
1530
+ ...options,
1531
+ headers: {
1532
+ "Content-Type": "application/json",
1533
+ ...options.headers
1534
+ }
1535
+ });
1536
+ };
1537
+ var getApiV1ConnectorsByProviderTools = (options) => {
1538
+ return (options.client ?? client).get({
1539
+ url: "/api/v1/connectors/{provider}/tools",
1540
+ ...options
1541
+ });
1542
+ };
1543
+ var putApiV1ConnectorsByProviderTools = (options) => {
1544
+ return (options.client ?? client).put({
1545
+ url: "/api/v1/connectors/{provider}/tools",
1546
+ ...options,
1547
+ headers: {
1548
+ "Content-Type": "application/json",
1549
+ ...options.headers
1550
+ }
1551
+ });
1552
+ };
1553
+ var getApiV1CreditsBalance = (options) => {
1554
+ return (options?.client ?? client).get({
1555
+ url: "/api/v1/credits/balance",
1556
+ ...options
1557
+ });
1558
+ };
1559
+ var getApiV1CreditsPacks = (options) => {
1560
+ return (options?.client ?? client).get({
1561
+ url: "/api/v1/credits/packs",
1562
+ ...options
1563
+ });
1564
+ };
1565
+ var postApiV1CreditsPurchase = (options) => {
1566
+ return (options.client ?? client).post({
1567
+ url: "/api/v1/credits/purchase",
1568
+ ...options,
1569
+ headers: {
1570
+ "Content-Type": "application/json",
1571
+ ...options.headers
1572
+ }
1573
+ });
1574
+ };
1575
+ var postApiV1CreditsRedeemTokens = (options) => {
1576
+ return (options.client ?? client).post({
1577
+ url: "/api/v1/credits/redeem-tokens",
1578
+ ...options,
1579
+ headers: {
1580
+ "Content-Type": "application/json",
1581
+ ...options.headers
1582
+ }
1583
+ });
1584
+ };
1585
+ var getApiV1CuratedModels = (options) => {
1586
+ return (options?.client ?? client).get({
1587
+ url: "/api/v1/curated-models",
1588
+ ...options
1589
+ });
1590
+ };
1591
+ var getApiV1DeveloperApps = (options) => {
1592
+ return (options?.client ?? client).get({
1593
+ url: "/api/v1/developer/apps",
1594
+ ...options
1595
+ });
1596
+ };
1597
+ var postApiV1DeveloperApps = (options) => {
1598
+ return (options.client ?? client).post({
1599
+ url: "/api/v1/developer/apps",
1600
+ ...options,
1601
+ headers: {
1602
+ "Content-Type": "application/json",
1603
+ ...options.headers
1604
+ }
1605
+ });
1606
+ };
1607
+ var deleteApiV1DeveloperAppsByAppUuid = (options) => {
1608
+ return (options.client ?? client).delete({
1609
+ url: "/api/v1/developer/apps/{app_uuid}",
1610
+ ...options
1611
+ });
1612
+ };
1613
+ var getApiV1DeveloperAppsByAppUuid = (options) => {
1614
+ return (options.client ?? client).get({
1615
+ url: "/api/v1/developer/apps/{app_uuid}",
1616
+ ...options
1617
+ });
1618
+ };
1619
+ var patchApiV1DeveloperAppsByAppUuid = (options) => {
1620
+ return (options.client ?? client).patch({
1621
+ url: "/api/v1/developer/apps/{app_uuid}",
1622
+ ...options,
1623
+ headers: {
1624
+ "Content-Type": "application/json",
1625
+ ...options.headers
1626
+ }
1627
+ });
1628
+ };
1629
+ var getApiV1DeveloperAppsByAppUuidApiKeys = (options) => {
1630
+ return (options.client ?? client).get({
1631
+ url: "/api/v1/developer/apps/{app_uuid}/api-keys",
1632
+ ...options
1633
+ });
1634
+ };
1635
+ var postApiV1DeveloperAppsByAppUuidApiKeys = (options) => {
1636
+ return (options.client ?? client).post({
1637
+ url: "/api/v1/developer/apps/{app_uuid}/api-keys",
1638
+ ...options,
1639
+ headers: {
1640
+ "Content-Type": "application/json",
1641
+ ...options.headers
1642
+ }
1643
+ });
1644
+ };
1645
+ var deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId = (options) => {
1646
+ return (options.client ?? client).delete({
1647
+ url: "/api/v1/developer/apps/{app_uuid}/api-keys/{key_id}",
1648
+ ...options
1649
+ });
1650
+ };
1651
+ var postApiV1DeveloperAppsByAppUuidFund = (options) => {
1652
+ return (options.client ?? client).post({
1653
+ url: "/api/v1/developer/apps/{app_uuid}/fund",
1654
+ ...options,
1655
+ headers: {
1656
+ "Content-Type": "application/json",
1657
+ ...options.headers
1658
+ }
1659
+ });
1660
+ };
1661
+ var deleteApiV1DeveloperAppsByAppUuidPrivy = (options) => {
1662
+ return (options.client ?? client).delete({
1663
+ url: "/api/v1/developer/apps/{app_uuid}/privy",
1664
+ ...options
1665
+ });
1666
+ };
1667
+ var postApiV1DeveloperAppsByAppUuidPrivy = (options) => {
1668
+ return (options.client ?? client).post({
1669
+ url: "/api/v1/developer/apps/{app_uuid}/privy",
1670
+ ...options,
1671
+ headers: {
1672
+ "Content-Type": "application/json",
1673
+ ...options.headers
1674
+ }
1675
+ });
1676
+ };
1677
+ var getApiV1DeveloperAppsByAppUuidUsage = (options) => {
1678
+ return (options.client ?? client).get({
1679
+ url: "/api/v1/developer/apps/{app_uuid}/usage",
1680
+ ...options
1681
+ });
1682
+ };
1683
+ var getApiV1DeveloperAppsByAppUuidUsageUsers = (options) => {
1684
+ return (options.client ?? client).get({
1685
+ url: "/api/v1/developer/apps/{app_uuid}/usage/users",
1686
+ ...options
1687
+ });
1688
+ };
1689
+ var getApiV1DeveloperAppsByAppUuidUsers = (options) => {
1690
+ return (options.client ?? client).get({
1691
+ url: "/api/v1/developer/apps/{app_uuid}/users",
1692
+ ...options
1693
+ });
1694
+ };
1695
+ var getApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => {
1696
+ return (options.client ?? client).get({
1697
+ url: "/api/v1/developer/apps/{app_uuid}/users/{address}",
1698
+ ...options
1699
+ });
1700
+ };
1701
+ var patchApiV1DeveloperAppsByAppUuidUsersByAddress = (options) => {
1702
+ return (options.client ?? client).patch({
1703
+ url: "/api/v1/developer/apps/{app_uuid}/users/{address}",
1704
+ ...options,
1705
+ headers: {
1706
+ "Content-Type": "application/json",
1707
+ ...options.headers
1708
+ }
1709
+ });
1710
+ };
1711
+ var postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp = (options) => {
1712
+ return (options.client ?? client).post({
1713
+ url: "/api/v1/developer/apps/{app_uuid}/users/{address}/top-up",
1714
+ ...options,
1715
+ headers: {
1716
+ "Content-Type": "application/json",
1717
+ ...options.headers
1718
+ }
1719
+ });
1720
+ };
1721
+ var getApiV1DeveloperBilling = (options) => {
1722
+ return (options?.client ?? client).get({
1723
+ url: "/api/v1/developer/billing",
1724
+ ...options
1725
+ });
1726
+ };
1727
+ var getApiV1DocsSwaggerJson = (options) => {
1728
+ return (options?.client ?? client).get({
1729
+ url: "/api/v1/docs/swagger.json",
1730
+ ...options
1731
+ });
1732
+ };
1733
+ var postApiV1Embeddings = (options) => {
1734
+ return (options.client ?? client).post({
1735
+ url: "/api/v1/embeddings",
1736
+ ...options,
1737
+ headers: {
1738
+ "Content-Type": "application/json",
1739
+ ...options.headers
1740
+ }
1741
+ });
1742
+ };
1743
+ var getApiV1GuestBootstrap = (options) => {
1744
+ return (options.client ?? client).get({
1745
+ url: "/api/v1/guest-bootstrap",
1746
+ ...options
1747
+ });
1748
+ };
1749
+ var postApiV1GuestChatCompletions = (options) => {
1750
+ return (options.client ?? client).post({
1751
+ url: "/api/v1/guest/chat/completions",
1752
+ ...options,
1753
+ headers: {
1754
+ "Content-Type": "application/json",
1755
+ ...options.headers
1756
+ }
1757
+ });
1758
+ };
1759
+ var getApiV1Me = (options) => {
1760
+ return (options?.client ?? client).get({
1761
+ url: "/api/v1/me",
1762
+ ...options
1763
+ });
1764
+ };
1765
+ var getApiV1Models = (options) => {
1766
+ return (options?.client ?? client).get({
1767
+ url: "/api/v1/models",
1768
+ ...options
1769
+ });
1770
+ };
1771
+ var postApiV1NotificationsDevices = (options) => {
1772
+ return (options.client ?? client).post({
1773
+ url: "/api/v1/notifications/devices",
1774
+ ...options,
1775
+ headers: {
1776
+ "Content-Type": "application/json",
1777
+ ...options.headers
1778
+ }
1779
+ });
1780
+ };
1781
+ var postApiV1NotificationsDevicesUnregister = (options) => {
1782
+ return (options.client ?? client).post({
1783
+ url: "/api/v1/notifications/devices/unregister",
1784
+ ...options,
1785
+ headers: {
1786
+ "Content-Type": "application/json",
1787
+ ...options.headers
1788
+ }
1789
+ });
1790
+ };
1791
+ var getApiV1Personas = (options) => {
1792
+ return (options?.client ?? client).get({
1793
+ url: "/api/v1/personas",
1794
+ ...options
1795
+ });
1796
+ };
1797
+ var getApiV1PersonasById = (options) => {
1798
+ return (options.client ?? client).get({
1799
+ url: "/api/v1/personas/{id}",
1800
+ ...options
1801
+ });
1802
+ };
1803
+ var postApiV1PhoneCalls = (options) => {
1804
+ return (options.client ?? client).post({
1805
+ url: "/api/v1/phone-calls",
1806
+ ...options,
1807
+ headers: {
1808
+ "Content-Type": "application/json",
1809
+ ...options.headers
1810
+ }
1811
+ });
1812
+ };
1813
+ var getApiV1PhoneCallsByCallId = (options) => {
1814
+ return (options.client ?? client).get({
1815
+ url: "/api/v1/phone-calls/{call_id}",
1816
+ ...options
1817
+ });
1818
+ };
1819
+ var postApiV1PreprocessorsCryptoPrices = (options) => {
1820
+ return (options.client ?? client).post({
1821
+ url: "/api/v1/preprocessors/crypto-prices",
1822
+ ...options,
1823
+ headers: {
1824
+ "Content-Type": "application/json",
1825
+ ...options.headers
1826
+ }
1827
+ });
1828
+ };
1829
+ var postApiV1PreprocessorsSearch = (options) => {
1830
+ return (options.client ?? client).post({
1831
+ url: "/api/v1/preprocessors/search",
1832
+ ...options,
1833
+ headers: {
1834
+ "Content-Type": "application/json",
1835
+ ...options.headers
1836
+ }
1837
+ });
1838
+ };
1839
+ var postApiV1PreprocessorsStockPrices = (options) => {
1840
+ return (options.client ?? client).post({
1841
+ url: "/api/v1/preprocessors/stock-prices",
1842
+ ...options,
1843
+ headers: {
1844
+ "Content-Type": "application/json",
1845
+ ...options.headers
1846
+ }
1847
+ });
1848
+ };
1849
+ var postApiV1PreprocessorsWeather = (options) => {
1850
+ return (options.client ?? client).post({
1851
+ url: "/api/v1/preprocessors/weather",
1852
+ ...options,
1853
+ headers: {
1854
+ "Content-Type": "application/json",
1855
+ ...options.headers
1856
+ }
1857
+ });
1858
+ };
1859
+ var postApiV1Responses = (options) => {
1860
+ return (options.client ?? client).post({
1861
+ url: "/api/v1/responses",
1862
+ ...options,
1863
+ headers: {
1864
+ "Content-Type": "application/json",
1865
+ ...options.headers
1866
+ }
1867
+ });
1868
+ };
1869
+ var postApiV1SubscriptionsCancel = (options) => {
1870
+ return (options?.client ?? client).post({
1871
+ url: "/api/v1/subscriptions/cancel",
1872
+ ...options,
1873
+ headers: {
1874
+ "Content-Type": "application/json",
1875
+ ...options?.headers
1876
+ }
1877
+ });
1878
+ };
1879
+ var postApiV1SubscriptionsCancelScheduledDowngrade = (options) => {
1880
+ return (options?.client ?? client).post({
1881
+ url: "/api/v1/subscriptions/cancel-scheduled-downgrade",
1882
+ ...options
1883
+ });
1884
+ };
1885
+ var postApiV1SubscriptionsCreateCheckoutSession = (options) => {
1886
+ return (options.client ?? client).post({
1887
+ url: "/api/v1/subscriptions/create-checkout-session",
1888
+ ...options,
1889
+ headers: {
1890
+ "Content-Type": "application/json",
1891
+ ...options.headers
1892
+ }
1893
+ });
1894
+ };
1895
+ var postApiV1SubscriptionsCustomerPortal = (options) => {
1896
+ return (options.client ?? client).post({
1897
+ url: "/api/v1/subscriptions/customer-portal",
1898
+ ...options,
1899
+ headers: {
1900
+ "Content-Type": "application/json",
1901
+ ...options.headers
1902
+ }
1903
+ });
1904
+ };
1905
+ var getApiV1SubscriptionsPlans = (options) => {
1906
+ return (options?.client ?? client).get({
1907
+ url: "/api/v1/subscriptions/plans",
1908
+ ...options
1909
+ });
1910
+ };
1911
+ var postApiV1SubscriptionsRenew = (options) => {
1912
+ return (options?.client ?? client).post({
1913
+ url: "/api/v1/subscriptions/renew",
1914
+ ...options
1915
+ });
1916
+ };
1917
+ var postApiV1SubscriptionsScheduleDowngrade = (options) => {
1918
+ return (options.client ?? client).post({
1919
+ url: "/api/v1/subscriptions/schedule-downgrade",
1920
+ ...options,
1921
+ headers: {
1922
+ "Content-Type": "application/json",
1923
+ ...options.headers
1924
+ }
1925
+ });
1926
+ };
1927
+ var getApiV1SubscriptionsStatus = (options) => {
1928
+ return (options?.client ?? client).get({
1929
+ url: "/api/v1/subscriptions/status",
1930
+ ...options
1931
+ });
1932
+ };
1933
+ var postApiV1SubscriptionsUpgrade = (options) => {
1934
+ return (options.client ?? client).post({
1935
+ url: "/api/v1/subscriptions/upgrade",
1936
+ ...options,
1937
+ headers: {
1938
+ "Content-Type": "application/json",
1939
+ ...options.headers
1940
+ }
1941
+ });
1942
+ };
1943
+ var postApiV1SubscriptionsWebhook = (options) => {
1944
+ return (options.client ?? client).post({
1945
+ url: "/api/v1/subscriptions/webhook",
1946
+ ...options,
1947
+ headers: {
1948
+ "Content-Type": "application/json",
1949
+ ...options.headers
1950
+ }
1951
+ });
1952
+ };
1953
+ var getApiV1Tools = (options) => {
1954
+ return (options?.client ?? client).get({
1955
+ url: "/api/v1/tools",
1956
+ ...options
1957
+ });
1958
+ };
1959
+ var getApiV1UsageByModality = (options) => {
1960
+ return (options?.client ?? client).get({
1961
+ url: "/api/v1/usage/by-modality",
1962
+ ...options
1963
+ });
1964
+ };
1965
+ var getApiV1UsageInferenceWeekly = (options) => {
1966
+ return (options?.client ?? client).get({
1967
+ url: "/api/v1/usage/inference-weekly",
1968
+ ...options
1969
+ });
1970
+ };
1971
+ var getApiV1UsageModels = (options) => {
1972
+ return (options?.client ?? client).get({
1973
+ url: "/api/v1/usage/models",
1974
+ ...options
1975
+ });
1976
+ };
1977
+ var getApiV1UserAgentConsents = (options) => {
1978
+ return (options?.client ?? client).get({
1979
+ url: "/api/v1/user/agent-consents",
1980
+ ...options
1981
+ });
1982
+ };
1983
+ var postApiV1UserAgentConsents = (options) => {
1984
+ return (options.client ?? client).post({
1985
+ url: "/api/v1/user/agent-consents",
1986
+ ...options,
1987
+ headers: {
1988
+ "Content-Type": "application/json",
1989
+ ...options.headers
1990
+ }
1991
+ });
1992
+ };
1993
+ var deleteApiV1UserAgentConsentsByAgentId = (options) => {
1994
+ return (options.client ?? client).delete({
1995
+ url: "/api/v1/user/agent-consents/{agent_id}",
1996
+ ...options
1997
+ });
1998
+ };
1999
+ var getApiV1UserAgentGrants = (options) => {
2000
+ return (options.client ?? client).get({
2001
+ url: "/api/v1/user/agent-grants",
2002
+ ...options
2003
+ });
2004
+ };
2005
+ var getApiV1UserApiKeys = (options) => {
2006
+ return (options?.client ?? client).get({
2007
+ url: "/api/v1/user/api-keys",
2008
+ ...options
2009
+ });
2010
+ };
2011
+ var postApiV1UserApiKeys = (options) => {
2012
+ return (options.client ?? client).post({
2013
+ url: "/api/v1/user/api-keys",
2014
+ ...options,
2015
+ headers: {
2016
+ "Content-Type": "application/json",
2017
+ ...options.headers
2018
+ }
2019
+ });
2020
+ };
2021
+ var deleteApiV1UserApiKeysByKeyId = (options) => {
2022
+ return (options.client ?? client).delete({
2023
+ url: "/api/v1/user/api-keys/{key_id}",
2024
+ ...options
2025
+ });
2026
+ };
2027
+ var getApiV1UserOauthGrants = (options) => {
2028
+ return (options?.client ?? client).get({
2029
+ url: "/api/v1/user/oauth/grants",
2030
+ ...options
2031
+ });
2032
+ };
2033
+ var deleteApiV1UserOauthGrantsById = (options) => {
2034
+ return (options.client ?? client).delete({
2035
+ url: "/api/v1/user/oauth/grants/{id}",
2036
+ ...options
2037
+ });
2038
+ };
2039
+ var patchApiV1UserOauthGrantsById = (options) => {
2040
+ return (options.client ?? client).patch({
2041
+ url: "/api/v1/user/oauth/grants/{id}",
2042
+ ...options,
2043
+ headers: {
2044
+ "Content-Type": "application/json",
2045
+ ...options.headers
2046
+ }
2047
+ });
2048
+ };
2049
+ var getApiV1WalletsBinding = (options) => {
2050
+ return (options?.client ?? client).get({
2051
+ url: "/api/v1/wallets/binding",
2052
+ ...options
2053
+ });
2054
+ };
2055
+ var postApiV1WalletsBinding = (options) => {
2056
+ return (options.client ?? client).post({
2057
+ url: "/api/v1/wallets/binding",
2058
+ ...options,
2059
+ headers: {
2060
+ "Content-Type": "application/json",
2061
+ ...options.headers
2062
+ }
2063
+ });
2064
+ };
2065
+ var postApiV1WalletsBindingNonce = (options) => {
2066
+ return (options?.client ?? client).post({
2067
+ url: "/api/v1/wallets/binding/nonce",
2068
+ ...options
2069
+ });
2070
+ };
2071
+ var deleteApiV1WalletsBindingByAddress = (options) => {
2072
+ return (options.client ?? client).delete({
2073
+ url: "/api/v1/wallets/binding/{address}",
2074
+ ...options
2075
+ });
2076
+ };
2077
+ var postApiV1WebhooksRevenuecat = (options) => {
2078
+ return (options?.client ?? client).post({
2079
+ url: "/api/v1/webhooks/revenuecat",
2080
+ ...options,
2081
+ headers: {
2082
+ "Content-Type": "application/json",
2083
+ ...options?.headers
2084
+ }
2085
+ });
2086
+ };
2087
+ var getApiV1ZetaCreditRate = (options) => {
2088
+ return (options?.client ?? client).get({
2089
+ url: "/api/v1/zeta/credit-rate",
2090
+ ...options
2091
+ });
2092
+ };
2093
+ var getApiV1ZetaMarket = (options) => {
2094
+ return (options?.client ?? client).get({
2095
+ url: "/api/v1/zeta/market",
2096
+ ...options
2097
+ });
2098
+ };
2099
+ var postAuthOauthByProviderExchange = (options) => {
2100
+ return (options.client ?? client).post({
2101
+ url: "/auth/oauth/{provider}/exchange",
2102
+ ...options,
2103
+ headers: {
2104
+ "Content-Type": "application/json",
2105
+ ...options.headers
2106
+ }
2107
+ });
2108
+ };
2109
+ var postAuthOauthByProviderRefresh = (options) => {
2110
+ return (options.client ?? client).post({
2111
+ url: "/auth/oauth/{provider}/refresh",
2112
+ ...options,
2113
+ headers: {
2114
+ "Content-Type": "application/json",
2115
+ ...options.headers
2116
+ }
2117
+ });
2118
+ };
2119
+ var postAuthOauthByProviderRevoke = (options) => {
2120
+ return (options.client ?? client).post({
2121
+ url: "/auth/oauth/{provider}/revoke",
2122
+ ...options,
2123
+ headers: {
2124
+ "Content-Type": "application/json",
2125
+ ...options.headers
2126
+ }
2127
+ });
2128
+ };
2129
+ var getConnectorsByProviderCallback = (options) => {
2130
+ return (options.client ?? client).get({
2131
+ url: "/connectors/{provider}/callback",
2132
+ ...options
2133
+ });
2134
+ };
2135
+ var getConnectorsByProviderConnect = (options) => {
2136
+ return (options.client ?? client).get({
2137
+ url: "/connectors/{provider}/connect",
2138
+ ...options
2139
+ });
2140
+ };
2141
+ var getHealth = (options) => {
2142
+ return (options?.client ?? client).get({
2143
+ url: "/health",
2144
+ ...options
2145
+ });
2146
+ };
2147
+ var getOauthAuthorize = (options) => {
2148
+ return (options.client ?? client).get({
2149
+ url: "/oauth/authorize",
2150
+ ...options
2151
+ });
2152
+ };
2153
+ var getOauthConsent = (options) => {
2154
+ return (options.client ?? client).get({
2155
+ url: "/oauth/consent",
2156
+ ...options
2157
+ });
2158
+ };
2159
+ var postOauthConsent = (options) => {
2160
+ return (options?.client ?? client).post({
2161
+ ...urlSearchParamsBodySerializer,
2162
+ url: "/oauth/consent",
2163
+ ...options,
2164
+ headers: {
2165
+ "Content-Type": "application/x-www-form-urlencoded",
2166
+ ...options?.headers
2167
+ }
2168
+ });
2169
+ };
2170
+ var postOauthRevoke = (options) => {
2171
+ return (options?.client ?? client).post({
2172
+ ...urlSearchParamsBodySerializer,
2173
+ url: "/oauth/revoke",
2174
+ ...options,
2175
+ headers: {
2176
+ "Content-Type": "application/x-www-form-urlencoded",
2177
+ ...options?.headers
2178
+ }
2179
+ });
2180
+ };
2181
+ var postOauthToken = (options) => {
2182
+ return (options?.client ?? client).post({
2183
+ ...urlSearchParamsBodySerializer,
2184
+ url: "/oauth/token",
2185
+ ...options,
2186
+ headers: {
2187
+ "Content-Type": "application/x-www-form-urlencoded",
2188
+ ...options?.headers
2189
+ }
2190
+ });
2191
+ };
2192
+ // Annotate the CommonJS export names for ESM import in node:
2193
+ 0 && (module.exports = {
2194
+ deleteApiV1Account,
2195
+ deleteApiV1AdminAgentsById,
2196
+ deleteApiV1AdminAppsByAppIdApiKeysById,
2197
+ deleteApiV1AdminAppsById,
2198
+ deleteApiV1AdminOauthClientsByClientId,
2199
+ deleteApiV1AdminPersonasById,
2200
+ deleteApiV1AdminTextReset,
2201
+ deleteApiV1AdminUsersDelete,
2202
+ deleteApiV1AuthMfaPasskeyCredentialsByCredentialId,
2203
+ deleteApiV1DeveloperAppsByAppUuid,
2204
+ deleteApiV1DeveloperAppsByAppUuidApiKeysByKeyId,
2205
+ deleteApiV1DeveloperAppsByAppUuidPrivy,
2206
+ deleteApiV1UserAgentConsentsByAgentId,
2207
+ deleteApiV1UserApiKeysByKeyId,
2208
+ deleteApiV1UserOauthGrantsById,
2209
+ deleteApiV1WalletsBindingByAddress,
2210
+ getApiV1AdminApps,
2211
+ getApiV1AdminAppsByAppIdApiKeys,
2212
+ getApiV1AdminAppsByAppIdApiKeysById,
2213
+ getApiV1AdminAppsById,
2214
+ getApiV1AdminConnectors,
2215
+ getApiV1AdminOauthClients,
2216
+ getApiV1AdminOauthClientsByClientId,
2217
+ getApiV1AdminPrivyIdentifiersAudit,
2218
+ getApiV1AdminUsersLookup,
2219
+ getApiV1AgentPreferences,
2220
+ getApiV1Agents,
2221
+ getApiV1AgentsById,
2222
+ getApiV1AuthMfaStatus,
2223
+ getApiV1Bootstrap,
2224
+ getApiV1ChatStreamsByInferenceId,
2225
+ getApiV1Config,
2226
+ getApiV1Connectors,
2227
+ getApiV1ConnectorsByProviderScopes,
2228
+ getApiV1ConnectorsByProviderTools,
2229
+ getApiV1CreditsBalance,
2230
+ getApiV1CreditsPacks,
2231
+ getApiV1CuratedModels,
2232
+ getApiV1DeveloperApps,
2233
+ getApiV1DeveloperAppsByAppUuid,
2234
+ getApiV1DeveloperAppsByAppUuidApiKeys,
2235
+ getApiV1DeveloperAppsByAppUuidUsage,
2236
+ getApiV1DeveloperAppsByAppUuidUsageUsers,
2237
+ getApiV1DeveloperAppsByAppUuidUsers,
2238
+ getApiV1DeveloperAppsByAppUuidUsersByAddress,
2239
+ getApiV1DeveloperBilling,
2240
+ getApiV1DocsSwaggerJson,
2241
+ getApiV1GuestBootstrap,
2242
+ getApiV1Me,
2243
+ getApiV1Models,
2244
+ getApiV1Personas,
2245
+ getApiV1PersonasById,
2246
+ getApiV1PhoneCallsByCallId,
2247
+ getApiV1SubscriptionsPlans,
2248
+ getApiV1SubscriptionsStatus,
2249
+ getApiV1Tools,
2250
+ getApiV1UsageByModality,
2251
+ getApiV1UsageInferenceWeekly,
2252
+ getApiV1UsageModels,
2253
+ getApiV1UserAgentConsents,
2254
+ getApiV1UserAgentGrants,
2255
+ getApiV1UserApiKeys,
2256
+ getApiV1UserOauthGrants,
2257
+ getApiV1WalletsBinding,
2258
+ getApiV1ZetaCreditRate,
2259
+ getApiV1ZetaMarket,
2260
+ getConnectorsByProviderCallback,
2261
+ getConnectorsByProviderConnect,
2262
+ getHealth,
2263
+ getOauthAuthorize,
2264
+ getOauthConsent,
2265
+ getWellKnownJwksJson,
2266
+ patchApiV1AdminOauthClientsByClientId,
2267
+ patchApiV1DeveloperAppsByAppUuid,
2268
+ patchApiV1DeveloperAppsByAppUuidUsersByAddress,
2269
+ patchApiV1UserOauthGrantsById,
2270
+ postApiV1AdminAddCredits,
2271
+ postApiV1AdminAgents,
2272
+ postApiV1AdminApps,
2273
+ postApiV1AdminAppsByAppIdApiKeys,
2274
+ postApiV1AdminNotificationsAnnounceModel,
2275
+ postApiV1AdminNotificationsSend,
2276
+ postApiV1AdminOauthClients,
2277
+ postApiV1AdminPersonas,
2278
+ postApiV1AdminPrivyDevWipe,
2279
+ postApiV1AdminPrivyIdentifiersMigrate,
2280
+ postApiV1AdminSeedApps,
2281
+ postApiV1AdminSubscriptionTier,
2282
+ postApiV1AdminUsersSuspend,
2283
+ postApiV1AdminUsersUnsuspend,
2284
+ postApiV1AuthMfaDisable,
2285
+ postApiV1AuthMfaPasskeyEnrollBegin,
2286
+ postApiV1AuthMfaPasskeyEnrollFinish,
2287
+ postApiV1AuthMfaPasskeyVerifyBegin,
2288
+ postApiV1AuthMfaPasskeyVerifyFinish,
2289
+ postApiV1AuthMfaRecoveryCodesRegenerate,
2290
+ postApiV1AuthMfaTotpEnrollInit,
2291
+ postApiV1AuthMfaTotpEnrollVerify,
2292
+ postApiV1AuthMfaVerify,
2293
+ postApiV1ChatCompletions,
2294
+ postApiV1ChatStreamsByInferenceIdCancel,
2295
+ postApiV1ConnectTickets,
2296
+ postApiV1ConnectorTokensByProvider,
2297
+ postApiV1ConnectorsByProviderDisconnect,
2298
+ postApiV1ConnectorsByProviderProxy,
2299
+ postApiV1ConnectorsImport,
2300
+ postApiV1CreditsPurchase,
2301
+ postApiV1CreditsRedeemTokens,
2302
+ postApiV1DeveloperApps,
2303
+ postApiV1DeveloperAppsByAppUuidApiKeys,
2304
+ postApiV1DeveloperAppsByAppUuidFund,
2305
+ postApiV1DeveloperAppsByAppUuidPrivy,
2306
+ postApiV1DeveloperAppsByAppUuidUsersByAddressTopUp,
2307
+ postApiV1Embeddings,
2308
+ postApiV1GuestChatCompletions,
2309
+ postApiV1NotificationsDevices,
2310
+ postApiV1NotificationsDevicesUnregister,
2311
+ postApiV1PhoneCalls,
2312
+ postApiV1PreprocessorsCryptoPrices,
2313
+ postApiV1PreprocessorsSearch,
2314
+ postApiV1PreprocessorsStockPrices,
2315
+ postApiV1PreprocessorsWeather,
2316
+ postApiV1Responses,
2317
+ postApiV1SubscriptionsCancel,
2318
+ postApiV1SubscriptionsCancelScheduledDowngrade,
2319
+ postApiV1SubscriptionsCreateCheckoutSession,
2320
+ postApiV1SubscriptionsCustomerPortal,
2321
+ postApiV1SubscriptionsRenew,
2322
+ postApiV1SubscriptionsScheduleDowngrade,
2323
+ postApiV1SubscriptionsUpgrade,
2324
+ postApiV1SubscriptionsWebhook,
2325
+ postApiV1UserAgentConsents,
2326
+ postApiV1UserApiKeys,
2327
+ postApiV1WalletsBinding,
2328
+ postApiV1WalletsBindingNonce,
2329
+ postApiV1WebhooksRevenuecat,
2330
+ postAuthOauthByProviderExchange,
2331
+ postAuthOauthByProviderRefresh,
2332
+ postAuthOauthByProviderRevoke,
2333
+ postOauthConsent,
2334
+ postOauthRevoke,
2335
+ postOauthToken,
2336
+ putApiV1AdminAgentsById,
2337
+ putApiV1AdminAppsByAppIdApiKeysById,
2338
+ putApiV1AdminAppsById,
2339
+ putApiV1AdminConnectorsByProvider,
2340
+ putApiV1AdminPersonasById,
2341
+ putApiV1AgentsByIdPreference,
2342
+ putApiV1ConnectorsByProviderScopes,
2343
+ putApiV1ConnectorsByProviderTools
2344
+ });