@daytonaio/analytics-api-client 0.148.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.
Files changed (46) hide show
  1. package/package.json +25 -0
  2. package/src/api/telemetry-api.d.ts +248 -0
  3. package/src/api/telemetry-api.js +459 -0
  4. package/src/api/telemetry-api.js.map +1 -0
  5. package/src/api/usage-api.d.ts +170 -0
  6. package/src/api/usage-api.js +317 -0
  7. package/src/api/usage-api.js.map +1 -0
  8. package/src/api.d.ts +13 -0
  9. package/src/api.js +32 -0
  10. package/src/api.js.map +1 -0
  11. package/src/base.d.ts +66 -0
  12. package/src/base.js +69 -0
  13. package/src/base.js.map +1 -0
  14. package/src/common.d.ts +65 -0
  15. package/src/common.js +146 -0
  16. package/src/common.js.map +1 -0
  17. package/src/configuration.d.ts +91 -0
  18. package/src/configuration.js +105 -0
  19. package/src/configuration.js.map +1 -0
  20. package/src/index.d.ts +14 -0
  21. package/src/index.js +33 -0
  22. package/src/index.js.map +1 -0
  23. package/src/models/index.d.ts +7 -0
  24. package/src/models/index.js +24 -0
  25. package/src/models/index.js.map +1 -0
  26. package/src/models/models-aggregated-usage.d.ts +66 -0
  27. package/src/models/models-aggregated-usage.js +16 -0
  28. package/src/models/models-aggregated-usage.js.map +1 -0
  29. package/src/models/models-log-entry.d.ts +76 -0
  30. package/src/models/models-log-entry.js +16 -0
  31. package/src/models/models-log-entry.js.map +1 -0
  32. package/src/models/models-metric-point.d.ts +36 -0
  33. package/src/models/models-metric-point.js +16 -0
  34. package/src/models/models-metric-point.js.map +1 -0
  35. package/src/models/models-sandbox-usage.d.ts +66 -0
  36. package/src/models/models-sandbox-usage.js +16 -0
  37. package/src/models/models-sandbox-usage.js.map +1 -0
  38. package/src/models/models-span.d.ts +74 -0
  39. package/src/models/models-span.js +16 -0
  40. package/src/models/models-span.js.map +1 -0
  41. package/src/models/models-trace-summary.d.ts +60 -0
  42. package/src/models/models-trace-summary.js +16 -0
  43. package/src/models/models-trace-summary.js.map +1 -0
  44. package/src/models/models-usage-period.d.ts +60 -0
  45. package/src/models/models-usage-period.js +16 -0
  46. package/src/models/models-usage-period.js.map +1 -0
@@ -0,0 +1,317 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Analytics API
6
+ * Daytona Analytics API - Read-only telemetry and usage data
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UsageApi = exports.UsageApiFactory = exports.UsageApiFp = exports.UsageApiAxiosParamCreator = void 0;
17
+ const axios_1 = require("axios");
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ const common_1 = require("../common");
21
+ // @ts-ignore
22
+ const base_1 = require("../base");
23
+ /**
24
+ * UsageApi - axios parameter creator
25
+ * @export
26
+ */
27
+ const UsageApiAxiosParamCreator = function (configuration) {
28
+ return {
29
+ /**
30
+ * Returns individual usage records for a specific sandbox within a time range
31
+ * @summary Get sandbox usage periods
32
+ * @param {string} organizationId Organization ID
33
+ * @param {string} sandboxId Sandbox ID
34
+ * @param {string} from Start time (RFC3339)
35
+ * @param {string} to End time (RFC3339)
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ organizationOrganizationIdSandboxSandboxIdUsageGet: async (organizationId, sandboxId, from, to, options = {}) => {
40
+ // verify required parameter 'organizationId' is not null or undefined
41
+ (0, common_1.assertParamExists)('organizationOrganizationIdSandboxSandboxIdUsageGet', 'organizationId', organizationId);
42
+ // verify required parameter 'sandboxId' is not null or undefined
43
+ (0, common_1.assertParamExists)('organizationOrganizationIdSandboxSandboxIdUsageGet', 'sandboxId', sandboxId);
44
+ // verify required parameter 'from' is not null or undefined
45
+ (0, common_1.assertParamExists)('organizationOrganizationIdSandboxSandboxIdUsageGet', 'from', from);
46
+ // verify required parameter 'to' is not null or undefined
47
+ (0, common_1.assertParamExists)('organizationOrganizationIdSandboxSandboxIdUsageGet', 'to', to);
48
+ const localVarPath = `/organization/{organizationId}/sandbox/{sandboxId}/usage`
49
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
50
+ .replace(`{${"sandboxId"}}`, encodeURIComponent(String(sandboxId)));
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ }
57
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
58
+ const localVarHeaderParameter = {};
59
+ const localVarQueryParameter = {};
60
+ // authentication Bearer required
61
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
62
+ if (from !== undefined) {
63
+ localVarQueryParameter['from'] = from;
64
+ }
65
+ if (to !== undefined) {
66
+ localVarQueryParameter['to'] = to;
67
+ }
68
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
69
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
71
+ return {
72
+ url: (0, common_1.toPathString)(localVarUrlObj),
73
+ options: localVarRequestOptions,
74
+ };
75
+ },
76
+ /**
77
+ * Returns organization-level resource usage totals for a given time period
78
+ * @summary Get aggregated usage
79
+ * @param {string} organizationId Organization ID
80
+ * @param {string} from Start time (RFC3339)
81
+ * @param {string} to End time (RFC3339)
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ organizationOrganizationIdUsageAggregatedGet: async (organizationId, from, to, options = {}) => {
86
+ // verify required parameter 'organizationId' is not null or undefined
87
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageAggregatedGet', 'organizationId', organizationId);
88
+ // verify required parameter 'from' is not null or undefined
89
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageAggregatedGet', 'from', from);
90
+ // verify required parameter 'to' is not null or undefined
91
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageAggregatedGet', 'to', to);
92
+ const localVarPath = `/organization/{organizationId}/usage/aggregated`
93
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
94
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
96
+ let baseOptions;
97
+ if (configuration) {
98
+ baseOptions = configuration.baseOptions;
99
+ }
100
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
101
+ const localVarHeaderParameter = {};
102
+ const localVarQueryParameter = {};
103
+ // authentication Bearer required
104
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
105
+ if (from !== undefined) {
106
+ localVarQueryParameter['from'] = from;
107
+ }
108
+ if (to !== undefined) {
109
+ localVarQueryParameter['to'] = to;
110
+ }
111
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
112
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
113
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
114
+ return {
115
+ url: (0, common_1.toPathString)(localVarUrlObj),
116
+ options: localVarRequestOptions,
117
+ };
118
+ },
119
+ /**
120
+ * Returns resource usage aggregated per sandbox for a given time period
121
+ * @summary Get per-sandbox usage
122
+ * @param {string} organizationId Organization ID
123
+ * @param {string} from Start time (RFC3339)
124
+ * @param {string} to End time (RFC3339)
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ organizationOrganizationIdUsageSandboxGet: async (organizationId, from, to, options = {}) => {
129
+ // verify required parameter 'organizationId' is not null or undefined
130
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageSandboxGet', 'organizationId', organizationId);
131
+ // verify required parameter 'from' is not null or undefined
132
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageSandboxGet', 'from', from);
133
+ // verify required parameter 'to' is not null or undefined
134
+ (0, common_1.assertParamExists)('organizationOrganizationIdUsageSandboxGet', 'to', to);
135
+ const localVarPath = `/organization/{organizationId}/usage/sandbox`
136
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
137
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
139
+ let baseOptions;
140
+ if (configuration) {
141
+ baseOptions = configuration.baseOptions;
142
+ }
143
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
144
+ const localVarHeaderParameter = {};
145
+ const localVarQueryParameter = {};
146
+ // authentication Bearer required
147
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
148
+ if (from !== undefined) {
149
+ localVarQueryParameter['from'] = from;
150
+ }
151
+ if (to !== undefined) {
152
+ localVarQueryParameter['to'] = to;
153
+ }
154
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
155
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
156
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
157
+ return {
158
+ url: (0, common_1.toPathString)(localVarUrlObj),
159
+ options: localVarRequestOptions,
160
+ };
161
+ },
162
+ };
163
+ };
164
+ exports.UsageApiAxiosParamCreator = UsageApiAxiosParamCreator;
165
+ /**
166
+ * UsageApi - functional programming interface
167
+ * @export
168
+ */
169
+ const UsageApiFp = function (configuration) {
170
+ const localVarAxiosParamCreator = (0, exports.UsageApiAxiosParamCreator)(configuration);
171
+ return {
172
+ /**
173
+ * Returns individual usage records for a specific sandbox within a time range
174
+ * @summary Get sandbox usage periods
175
+ * @param {string} organizationId Organization ID
176
+ * @param {string} sandboxId Sandbox ID
177
+ * @param {string} from Start time (RFC3339)
178
+ * @param {string} to End time (RFC3339)
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ async organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options) {
183
+ const localVarAxiosArgs = await localVarAxiosParamCreator.organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options);
184
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
185
+ const localVarOperationServerBasePath = base_1.operationServerMap['UsageApi.organizationOrganizationIdSandboxSandboxIdUsageGet']?.[localVarOperationServerIndex]?.url;
186
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
187
+ },
188
+ /**
189
+ * Returns organization-level resource usage totals for a given time period
190
+ * @summary Get aggregated usage
191
+ * @param {string} organizationId Organization ID
192
+ * @param {string} from Start time (RFC3339)
193
+ * @param {string} to End time (RFC3339)
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ async organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options) {
198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options);
199
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
200
+ const localVarOperationServerBasePath = base_1.operationServerMap['UsageApi.organizationOrganizationIdUsageAggregatedGet']?.[localVarOperationServerIndex]?.url;
201
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
202
+ },
203
+ /**
204
+ * Returns resource usage aggregated per sandbox for a given time period
205
+ * @summary Get per-sandbox usage
206
+ * @param {string} organizationId Organization ID
207
+ * @param {string} from Start time (RFC3339)
208
+ * @param {string} to End time (RFC3339)
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ async organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options) {
213
+ const localVarAxiosArgs = await localVarAxiosParamCreator.organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options);
214
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
215
+ const localVarOperationServerBasePath = base_1.operationServerMap['UsageApi.organizationOrganizationIdUsageSandboxGet']?.[localVarOperationServerIndex]?.url;
216
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
217
+ },
218
+ };
219
+ };
220
+ exports.UsageApiFp = UsageApiFp;
221
+ /**
222
+ * UsageApi - factory interface
223
+ * @export
224
+ */
225
+ const UsageApiFactory = function (configuration, basePath, axios) {
226
+ const localVarFp = (0, exports.UsageApiFp)(configuration);
227
+ return {
228
+ /**
229
+ * Returns individual usage records for a specific sandbox within a time range
230
+ * @summary Get sandbox usage periods
231
+ * @param {string} organizationId Organization ID
232
+ * @param {string} sandboxId Sandbox ID
233
+ * @param {string} from Start time (RFC3339)
234
+ * @param {string} to End time (RFC3339)
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options) {
239
+ return localVarFp.organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options).then((request) => request(axios, basePath));
240
+ },
241
+ /**
242
+ * Returns organization-level resource usage totals for a given time period
243
+ * @summary Get aggregated usage
244
+ * @param {string} organizationId Organization ID
245
+ * @param {string} from Start time (RFC3339)
246
+ * @param {string} to End time (RFC3339)
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options) {
251
+ return localVarFp.organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options).then((request) => request(axios, basePath));
252
+ },
253
+ /**
254
+ * Returns resource usage aggregated per sandbox for a given time period
255
+ * @summary Get per-sandbox usage
256
+ * @param {string} organizationId Organization ID
257
+ * @param {string} from Start time (RFC3339)
258
+ * @param {string} to End time (RFC3339)
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options) {
263
+ return localVarFp.organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options).then((request) => request(axios, basePath));
264
+ },
265
+ };
266
+ };
267
+ exports.UsageApiFactory = UsageApiFactory;
268
+ /**
269
+ * UsageApi - object-oriented interface
270
+ * @export
271
+ * @class UsageApi
272
+ * @extends {BaseAPI}
273
+ */
274
+ class UsageApi extends base_1.BaseAPI {
275
+ /**
276
+ * Returns individual usage records for a specific sandbox within a time range
277
+ * @summary Get sandbox usage periods
278
+ * @param {string} organizationId Organization ID
279
+ * @param {string} sandboxId Sandbox ID
280
+ * @param {string} from Start time (RFC3339)
281
+ * @param {string} to End time (RFC3339)
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ * @memberof UsageApi
285
+ */
286
+ organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options) {
287
+ return (0, exports.UsageApiFp)(this.configuration).organizationOrganizationIdSandboxSandboxIdUsageGet(organizationId, sandboxId, from, to, options).then((request) => request(this.axios, this.basePath));
288
+ }
289
+ /**
290
+ * Returns organization-level resource usage totals for a given time period
291
+ * @summary Get aggregated usage
292
+ * @param {string} organizationId Organization ID
293
+ * @param {string} from Start time (RFC3339)
294
+ * @param {string} to End time (RFC3339)
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof UsageApi
298
+ */
299
+ organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options) {
300
+ return (0, exports.UsageApiFp)(this.configuration).organizationOrganizationIdUsageAggregatedGet(organizationId, from, to, options).then((request) => request(this.axios, this.basePath));
301
+ }
302
+ /**
303
+ * Returns resource usage aggregated per sandbox for a given time period
304
+ * @summary Get per-sandbox usage
305
+ * @param {string} organizationId Organization ID
306
+ * @param {string} from Start time (RFC3339)
307
+ * @param {string} to End time (RFC3339)
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ * @memberof UsageApi
311
+ */
312
+ organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options) {
313
+ return (0, exports.UsageApiFp)(this.configuration).organizationOrganizationIdUsageSandboxGet(organizationId, from, to, options).then((request) => request(this.axios, this.basePath));
314
+ }
315
+ }
316
+ exports.UsageApi = UsageApi;
317
+ //# sourceMappingURL=usage-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-api.js","sourceRoot":"","sources":["../../../../../libs/analytics-api-client/src/api/usage-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAKH,iCAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,yBAAyB,GAAG,UAAU,aAA6B;IAC5E,OAAO;QACH;;;;;;;;;WASG;QACH,kDAAkD,EAAE,KAAK,EAAE,cAAsB,EAAE,SAAiB,EAAE,IAAY,EAAE,EAAU,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACzL,sEAAsE;YACtE,IAAA,0BAAiB,EAAC,oDAAoD,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAA;YACzG,iEAAiE;YACjE,IAAA,0BAAiB,EAAC,oDAAoD,EAAE,WAAW,EAAE,SAAS,CAAC,CAAA;YAC/F,4DAA4D;YAC5D,IAAA,0BAAiB,EAAC,oDAAoD,EAAE,MAAM,EAAE,IAAI,CAAC,CAAA;YACrF,0DAA0D;YAC1D,IAAA,0BAAiB,EAAC,oDAAoD,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;YACjF,MAAM,YAAY,GAAG,0DAA0D;iBAC1E,OAAO,CAA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K,CAAC;CACJ;AA3CD,4BA2CC"}
package/src/api.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Daytona Analytics API
3
+ * Daytona Analytics API - Read-only telemetry and usage data
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from './api/telemetry-api';
13
+ export * from './api/usage-api';
package/src/api.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Analytics API
6
+ * Daytona Analytics API - Read-only telemetry and usage data
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/telemetry-api"), exports);
31
+ __exportStar(require("./api/usage-api"), exports);
32
+ //# sourceMappingURL=api.js.map
package/src/api.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/analytics-api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAIH,sDAAoC;AACpC,kDAAgC"}
package/src/base.d.ts ADDED
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Daytona Analytics API
3
+ * Daytona Analytics API - Read-only telemetry and usage data
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const COLLECTION_FORMATS: {
20
+ csv: string;
21
+ ssv: string;
22
+ tsv: string;
23
+ pipes: string;
24
+ };
25
+ /**
26
+ *
27
+ * @export
28
+ * @interface RequestArgs
29
+ */
30
+ export interface RequestArgs {
31
+ url: string;
32
+ options: RawAxiosRequestConfig;
33
+ }
34
+ /**
35
+ *
36
+ * @export
37
+ * @class BaseAPI
38
+ */
39
+ export declare class BaseAPI {
40
+ protected basePath: string;
41
+ protected axios: AxiosInstance;
42
+ protected configuration: Configuration | undefined;
43
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @class RequiredError
49
+ * @extends {Error}
50
+ */
51
+ export declare class RequiredError extends Error {
52
+ field: string;
53
+ constructor(field: string, msg?: string);
54
+ }
55
+ interface ServerMap {
56
+ [key: string]: {
57
+ url: string;
58
+ description: string;
59
+ }[];
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const operationServerMap: ServerMap;
66
+ export {};
package/src/base.js ADDED
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona Analytics API
6
+ * Daytona Analytics API - Read-only telemetry and usage data
7
+ *
8
+ * The version of the OpenAPI document: v0.0.0-dev
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
+ const axios_1 = require("axios");
18
+ exports.BASE_PATH = "http://localhost:8080".replace(/\/+$/, "");
19
+ /**
20
+ *
21
+ * @export
22
+ */
23
+ exports.COLLECTION_FORMATS = {
24
+ csv: ",",
25
+ ssv: " ",
26
+ tsv: "\t",
27
+ pipes: "|",
28
+ };
29
+ /**
30
+ *
31
+ * @export
32
+ * @class BaseAPI
33
+ */
34
+ class BaseAPI {
35
+ basePath;
36
+ axios;
37
+ configuration;
38
+ constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
39
+ this.basePath = basePath;
40
+ this.axios = axios;
41
+ if (configuration) {
42
+ this.configuration = configuration;
43
+ this.basePath = configuration.basePath ?? basePath;
44
+ }
45
+ }
46
+ }
47
+ exports.BaseAPI = BaseAPI;
48
+ ;
49
+ /**
50
+ *
51
+ * @export
52
+ * @class RequiredError
53
+ * @extends {Error}
54
+ */
55
+ class RequiredError extends Error {
56
+ field;
57
+ constructor(field, msg) {
58
+ super(msg);
59
+ this.field = field;
60
+ this.name = "RequiredError";
61
+ }
62
+ }
63
+ exports.RequiredError = RequiredError;
64
+ /**
65
+ *
66
+ * @export
67
+ */
68
+ exports.operationServerMap = {};
69
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../libs/analytics-api-client/src/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAOH,iCAAgC;AAEnB,QAAA,SAAS,GAAG,uBAAuB,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAErE;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH,MAAa,OAAO;IAGqC;IAAwC;IAFnF,aAAa,CAA4B;IAEnD,YAAY,aAA6B,EAAY,WAAmB,iBAAS,EAAY,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE,CAAC;YAChB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,QAAQ,CAAC;QACvD,CAAC;IACL,CAAC;CACJ;AATD,0BASC;AAAA,CAAC;AAEF;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,KAAK;IACjB;IAAnB,YAAmB,KAAa,EAAE,GAAY;QAC1C,KAAK,CAAC,GAAG,CAAC,CAAC;QADI,UAAK,GAAL,KAAK,CAAQ;QAE5B,IAAI,CAAC,IAAI,GAAG,eAAe,CAAA;IAC/B,CAAC;CACJ;AALD,sCAKC;AASD;;;GAGG;AACU,QAAA,kBAAkB,GAAc,EAC5C,CAAA"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Daytona Analytics API
3
+ * Daytona Analytics API - Read-only telemetry and usage data
4
+ *
5
+ * The version of the OpenAPI document: v0.0.0-dev
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from "./configuration";
13
+ import type { RequestArgs } from "./base";
14
+ import type { AxiosInstance, AxiosResponse } from 'axios';
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const DUMMY_BASE_URL = "https://example.com";
20
+ /**
21
+ *
22
+ * @throws {RequiredError}
23
+ * @export
24
+ */
25
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
+ /**
27
+ *
28
+ * @export
29
+ */
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
+ /**
37
+ *
38
+ * @export
39
+ */
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
+ /**
42
+ *
43
+ * @export
44
+ */
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
+ /**
47
+ *
48
+ * @export
49
+ */
50
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export declare const toPathString: (url: URL) => string;
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;