@nauti/dash-client 0.0.0-stage → 1.0.2-beta.358.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts ADDED
@@ -0,0 +1,151 @@
1
+ import type { Configuration } from './configuration';
2
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ import type { RequestArgs } from './base';
4
+ import { BaseAPI } from './base';
5
+ export interface CreateSourceRequestVO {
6
+ 'title': string;
7
+ }
8
+ export interface CreateTaskRequestVO {
9
+ 'sourceId': string;
10
+ 'targetPlatform': CreateTaskRequestVOTargetPlatformEnum;
11
+ 'targetVersion': CreateTaskRequestVOTargetVersionEnum;
12
+ 'tier': CreateTaskRequestVOTierEnum;
13
+ }
14
+ export declare const CreateTaskRequestVOTargetPlatformEnum: {
15
+ readonly AlpineArm64: "alpine-arm64";
16
+ readonly AlpineX64: "alpine-x64";
17
+ readonly DarwinArm64: "darwin-arm64";
18
+ readonly DarwinX64: "darwin-x64";
19
+ readonly LinuxArm64: "linux-arm64";
20
+ readonly LinuxX64: "linux-x64";
21
+ readonly WindowsArm64: "windows-arm64";
22
+ readonly WindowsX64: "windows-x64";
23
+ };
24
+ export type CreateTaskRequestVOTargetPlatformEnum = typeof CreateTaskRequestVOTargetPlatformEnum[keyof typeof CreateTaskRequestVOTargetPlatformEnum];
25
+ export declare const CreateTaskRequestVOTargetVersionEnum: {
26
+ readonly _24: "24";
27
+ };
28
+ export type CreateTaskRequestVOTargetVersionEnum = typeof CreateTaskRequestVOTargetVersionEnum[keyof typeof CreateTaskRequestVOTargetVersionEnum];
29
+ export declare const CreateTaskRequestVOTierEnum: {
30
+ readonly Starter: "STARTER";
31
+ readonly Premium: "PREMIUM";
32
+ };
33
+ export type CreateTaskRequestVOTierEnum = typeof CreateTaskRequestVOTierEnum[keyof typeof CreateTaskRequestVOTierEnum];
34
+ export interface CursorPageSourceVO {
35
+ 'cursor'?: string;
36
+ 'data'?: Array<SourceVO>;
37
+ }
38
+ export interface CursorPageTaskVO {
39
+ 'cursor'?: string;
40
+ 'data'?: Array<TaskVO>;
41
+ }
42
+ export interface SetSourceToUploadedRequestVO {
43
+ 'id': string;
44
+ }
45
+ export interface SourceVO {
46
+ 'id'?: string;
47
+ 'createdAt'?: string;
48
+ 'updatedAt'?: string;
49
+ 'creatorId'?: string;
50
+ 'title'?: string;
51
+ 'uploaded'?: boolean;
52
+ }
53
+ export interface TaskStatusVO {
54
+ 'id'?: string;
55
+ 'createdAt'?: string;
56
+ 'updatedAt'?: string;
57
+ 'recordedAt'?: string;
58
+ 'runnerId'?: string;
59
+ 'status'?: TaskStatusVOStatusEnum;
60
+ 'taskId'?: string;
61
+ }
62
+ export declare const TaskStatusVOStatusEnum: {
63
+ readonly Picked: "PICKED";
64
+ readonly Succeeded: "SUCCEEDED";
65
+ readonly Failed: "FAILED";
66
+ };
67
+ export type TaskStatusVOStatusEnum = typeof TaskStatusVOStatusEnum[keyof typeof TaskStatusVOStatusEnum];
68
+ export interface TaskVO {
69
+ 'id'?: string;
70
+ 'createdAt'?: string;
71
+ 'updatedAt'?: string;
72
+ 'sourceId'?: string;
73
+ 'targetPlatform'?: TaskVOTargetPlatformEnum;
74
+ 'targetVersion'?: TaskVOTargetVersionEnum;
75
+ 'tier'?: TaskVOTierEnum;
76
+ 'statuses'?: Array<TaskStatusVO>;
77
+ 'source'?: SourceVO;
78
+ }
79
+ export declare const TaskVOTargetPlatformEnum: {
80
+ readonly AlpineArm64: "alpine-arm64";
81
+ readonly AlpineX64: "alpine-x64";
82
+ readonly DarwinArm64: "darwin-arm64";
83
+ readonly DarwinX64: "darwin-x64";
84
+ readonly LinuxArm64: "linux-arm64";
85
+ readonly LinuxX64: "linux-x64";
86
+ readonly WindowsArm64: "windows-arm64";
87
+ readonly WindowsX64: "windows-x64";
88
+ };
89
+ export type TaskVOTargetPlatformEnum = typeof TaskVOTargetPlatformEnum[keyof typeof TaskVOTargetPlatformEnum];
90
+ export declare const TaskVOTargetVersionEnum: {
91
+ readonly _24: "24";
92
+ };
93
+ export type TaskVOTargetVersionEnum = typeof TaskVOTargetVersionEnum[keyof typeof TaskVOTargetVersionEnum];
94
+ export declare const TaskVOTierEnum: {
95
+ readonly Starter: "STARTER";
96
+ readonly Premium: "PREMIUM";
97
+ };
98
+ export type TaskVOTierEnum = typeof TaskVOTierEnum[keyof typeof TaskVOTierEnum];
99
+ export interface UpdateSourceRequestVO {
100
+ 'fields'?: Set<string>;
101
+ 'title'?: string;
102
+ 'id'?: string;
103
+ }
104
+ export declare const SourceControllerApiAxiosParamCreator: (configuration?: Configuration) => {
105
+ create1: (createSourceRequestVO: CreateSourceRequestVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
106
+ getDetail1: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
107
+ list1: (creatorId?: string, title?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
+ setToUploaded: (setSourceToUploadedRequestVO: SetSourceToUploadedRequestVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
109
+ update: (updateSourceRequestVO: UpdateSourceRequestVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
110
+ };
111
+ export declare const SourceControllerApiFp: (configuration?: Configuration) => {
112
+ create1(createSourceRequestVO: CreateSourceRequestVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceVO>>;
113
+ getDetail1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceVO>>;
114
+ list1(creatorId?: string, title?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CursorPageSourceVO>>;
115
+ setToUploaded(setSourceToUploadedRequestVO: SetSourceToUploadedRequestVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
116
+ update(updateSourceRequestVO: UpdateSourceRequestVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>>;
117
+ };
118
+ export declare const SourceControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
119
+ create1(createSourceRequestVO: CreateSourceRequestVO, options?: RawAxiosRequestConfig): AxiosPromise<SourceVO>;
120
+ getDetail1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SourceVO>;
121
+ list1(creatorId?: string, title?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<CursorPageSourceVO>;
122
+ setToUploaded(setSourceToUploadedRequestVO: SetSourceToUploadedRequestVO, options?: RawAxiosRequestConfig): AxiosPromise<number>;
123
+ update(updateSourceRequestVO: UpdateSourceRequestVO, options?: RawAxiosRequestConfig): AxiosPromise<number>;
124
+ };
125
+ export declare class SourceControllerApi extends BaseAPI {
126
+ create1(createSourceRequestVO: CreateSourceRequestVO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SourceVO, any>>;
127
+ getDetail1(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SourceVO, any>>;
128
+ list1(creatorId?: string, title?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CursorPageSourceVO, any>>;
129
+ setToUploaded(setSourceToUploadedRequestVO: SetSourceToUploadedRequestVO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any>>;
130
+ update(updateSourceRequestVO: UpdateSourceRequestVO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<number, any>>;
131
+ }
132
+ export declare const TaskControllerApiAxiosParamCreator: (configuration?: Configuration) => {
133
+ create: (createTaskRequestVO: CreateTaskRequestVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
134
+ getDetail: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
135
+ list: (creatorId?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
+ };
137
+ export declare const TaskControllerApiFp: (configuration?: Configuration) => {
138
+ create(createTaskRequestVO: CreateTaskRequestVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskVO>>;
139
+ getDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskVO>>;
140
+ list(creatorId?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CursorPageTaskVO>>;
141
+ };
142
+ export declare const TaskControllerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
143
+ create(createTaskRequestVO: CreateTaskRequestVO, options?: RawAxiosRequestConfig): AxiosPromise<TaskVO>;
144
+ getDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskVO>;
145
+ list(creatorId?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<CursorPageTaskVO>;
146
+ };
147
+ export declare class TaskControllerApi extends BaseAPI {
148
+ create(createTaskRequestVO: CreateTaskRequestVO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskVO, any>>;
149
+ getDetail(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaskVO, any>>;
150
+ list(creatorId?: string, pageSize?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CursorPageTaskVO, any>>;
151
+ }
package/dist/api.js ADDED
@@ -0,0 +1,378 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaskControllerApi = exports.TaskControllerApiFactory = exports.TaskControllerApiFp = exports.TaskControllerApiAxiosParamCreator = exports.SourceControllerApi = exports.SourceControllerApiFactory = exports.SourceControllerApiFp = exports.SourceControllerApiAxiosParamCreator = exports.TaskVOTierEnum = exports.TaskVOTargetVersionEnum = exports.TaskVOTargetPlatformEnum = exports.TaskStatusVOStatusEnum = exports.CreateTaskRequestVOTierEnum = exports.CreateTaskRequestVOTargetVersionEnum = exports.CreateTaskRequestVOTargetPlatformEnum = void 0;
4
+ const axios_1 = require("axios");
5
+ const common_1 = require("./common");
6
+ const base_1 = require("./base");
7
+ exports.CreateTaskRequestVOTargetPlatformEnum = {
8
+ AlpineArm64: 'alpine-arm64',
9
+ AlpineX64: 'alpine-x64',
10
+ DarwinArm64: 'darwin-arm64',
11
+ DarwinX64: 'darwin-x64',
12
+ LinuxArm64: 'linux-arm64',
13
+ LinuxX64: 'linux-x64',
14
+ WindowsArm64: 'windows-arm64',
15
+ WindowsX64: 'windows-x64',
16
+ };
17
+ exports.CreateTaskRequestVOTargetVersionEnum = {
18
+ _24: '24',
19
+ };
20
+ exports.CreateTaskRequestVOTierEnum = {
21
+ Starter: 'STARTER',
22
+ Premium: 'PREMIUM',
23
+ };
24
+ exports.TaskStatusVOStatusEnum = {
25
+ Picked: 'PICKED',
26
+ Succeeded: 'SUCCEEDED',
27
+ Failed: 'FAILED',
28
+ };
29
+ exports.TaskVOTargetPlatformEnum = {
30
+ AlpineArm64: 'alpine-arm64',
31
+ AlpineX64: 'alpine-x64',
32
+ DarwinArm64: 'darwin-arm64',
33
+ DarwinX64: 'darwin-x64',
34
+ LinuxArm64: 'linux-arm64',
35
+ LinuxX64: 'linux-x64',
36
+ WindowsArm64: 'windows-arm64',
37
+ WindowsX64: 'windows-x64',
38
+ };
39
+ exports.TaskVOTargetVersionEnum = {
40
+ _24: '24',
41
+ };
42
+ exports.TaskVOTierEnum = {
43
+ Starter: 'STARTER',
44
+ Premium: 'PREMIUM',
45
+ };
46
+ const SourceControllerApiAxiosParamCreator = function (configuration) {
47
+ return {
48
+ create1: async (createSourceRequestVO, options = {}) => {
49
+ (0, common_1.assertParamExists)('create1', 'createSourceRequestVO', createSourceRequestVO);
50
+ const localVarPath = `/api/sources`;
51
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ }
56
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
57
+ const localVarHeaderParameter = {};
58
+ const localVarQueryParameter = {};
59
+ localVarHeaderParameter['Content-Type'] = 'application/json';
60
+ localVarHeaderParameter['Accept'] = '*/*';
61
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
62
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
64
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSourceRequestVO, localVarRequestOptions, configuration);
65
+ return {
66
+ url: (0, common_1.toPathString)(localVarUrlObj),
67
+ options: localVarRequestOptions,
68
+ };
69
+ },
70
+ getDetail1: async (id, options = {}) => {
71
+ (0, common_1.assertParamExists)('getDetail1', 'id', id);
72
+ const localVarPath = `/api/sources/{id}`
73
+ .replace('{id}', encodeURIComponent(String(id)));
74
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
75
+ let baseOptions;
76
+ if (configuration) {
77
+ baseOptions = configuration.baseOptions;
78
+ }
79
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
80
+ const localVarHeaderParameter = {};
81
+ const localVarQueryParameter = {};
82
+ localVarHeaderParameter['Accept'] = '*/*';
83
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
84
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86
+ return {
87
+ url: (0, common_1.toPathString)(localVarUrlObj),
88
+ options: localVarRequestOptions,
89
+ };
90
+ },
91
+ list1: async (creatorId, title, pageSize, cursor, options = {}) => {
92
+ const localVarPath = `/api/sources`;
93
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
94
+ let baseOptions;
95
+ if (configuration) {
96
+ baseOptions = configuration.baseOptions;
97
+ }
98
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
99
+ const localVarHeaderParameter = {};
100
+ const localVarQueryParameter = {};
101
+ if (creatorId !== undefined) {
102
+ localVarQueryParameter['creatorId'] = creatorId;
103
+ }
104
+ if (title !== undefined) {
105
+ localVarQueryParameter['title'] = title;
106
+ }
107
+ if (pageSize !== undefined) {
108
+ localVarQueryParameter['pageSize'] = pageSize;
109
+ }
110
+ if (cursor !== undefined) {
111
+ localVarQueryParameter['cursor'] = cursor;
112
+ }
113
+ localVarHeaderParameter['Accept'] = '*/*';
114
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
115
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
117
+ return {
118
+ url: (0, common_1.toPathString)(localVarUrlObj),
119
+ options: localVarRequestOptions,
120
+ };
121
+ },
122
+ setToUploaded: async (setSourceToUploadedRequestVO, options = {}) => {
123
+ (0, common_1.assertParamExists)('setToUploaded', 'setSourceToUploadedRequestVO', setSourceToUploadedRequestVO);
124
+ const localVarPath = `/api/sources/uploaded`;
125
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
126
+ let baseOptions;
127
+ if (configuration) {
128
+ baseOptions = configuration.baseOptions;
129
+ }
130
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
131
+ const localVarHeaderParameter = {};
132
+ const localVarQueryParameter = {};
133
+ localVarHeaderParameter['Content-Type'] = 'application/json';
134
+ localVarHeaderParameter['Accept'] = '*/*';
135
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setSourceToUploadedRequestVO, localVarRequestOptions, configuration);
139
+ return {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ };
143
+ },
144
+ update: async (updateSourceRequestVO, options = {}) => {
145
+ (0, common_1.assertParamExists)('update', 'updateSourceRequestVO', updateSourceRequestVO);
146
+ const localVarPath = `/api/sources`;
147
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
148
+ let baseOptions;
149
+ if (configuration) {
150
+ baseOptions = configuration.baseOptions;
151
+ }
152
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
153
+ const localVarHeaderParameter = {};
154
+ const localVarQueryParameter = {};
155
+ localVarHeaderParameter['Content-Type'] = 'application/json';
156
+ localVarHeaderParameter['Accept'] = '*/*';
157
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
159
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
160
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSourceRequestVO, localVarRequestOptions, configuration);
161
+ return {
162
+ url: (0, common_1.toPathString)(localVarUrlObj),
163
+ options: localVarRequestOptions,
164
+ };
165
+ },
166
+ };
167
+ };
168
+ exports.SourceControllerApiAxiosParamCreator = SourceControllerApiAxiosParamCreator;
169
+ const SourceControllerApiFp = function (configuration) {
170
+ const localVarAxiosParamCreator = (0, exports.SourceControllerApiAxiosParamCreator)(configuration);
171
+ return {
172
+ async create1(createSourceRequestVO, options) {
173
+ var _a, _b, _c;
174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.create1(createSourceRequestVO, options);
175
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
176
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.create1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
177
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
178
+ },
179
+ async getDetail1(id, options) {
180
+ var _a, _b, _c;
181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDetail1(id, options);
182
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
183
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.getDetail1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
184
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
185
+ },
186
+ async list1(creatorId, title, pageSize, cursor, options) {
187
+ var _a, _b, _c;
188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list1(creatorId, title, pageSize, cursor, options);
189
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
190
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.list1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
191
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
192
+ },
193
+ async setToUploaded(setSourceToUploadedRequestVO, options) {
194
+ var _a, _b, _c;
195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setToUploaded(setSourceToUploadedRequestVO, options);
196
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
197
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.setToUploaded']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
199
+ },
200
+ async update(updateSourceRequestVO, options) {
201
+ var _a, _b, _c;
202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.update(updateSourceRequestVO, options);
203
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
204
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SourceControllerApi.update']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
205
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
206
+ },
207
+ };
208
+ };
209
+ exports.SourceControllerApiFp = SourceControllerApiFp;
210
+ const SourceControllerApiFactory = function (configuration, basePath, axios) {
211
+ const localVarFp = (0, exports.SourceControllerApiFp)(configuration);
212
+ return {
213
+ create1(createSourceRequestVO, options) {
214
+ return localVarFp.create1(createSourceRequestVO, options).then((request) => request(axios, basePath));
215
+ },
216
+ getDetail1(id, options) {
217
+ return localVarFp.getDetail1(id, options).then((request) => request(axios, basePath));
218
+ },
219
+ list1(creatorId, title, pageSize, cursor, options) {
220
+ return localVarFp.list1(creatorId, title, pageSize, cursor, options).then((request) => request(axios, basePath));
221
+ },
222
+ setToUploaded(setSourceToUploadedRequestVO, options) {
223
+ return localVarFp.setToUploaded(setSourceToUploadedRequestVO, options).then((request) => request(axios, basePath));
224
+ },
225
+ update(updateSourceRequestVO, options) {
226
+ return localVarFp.update(updateSourceRequestVO, options).then((request) => request(axios, basePath));
227
+ },
228
+ };
229
+ };
230
+ exports.SourceControllerApiFactory = SourceControllerApiFactory;
231
+ class SourceControllerApi extends base_1.BaseAPI {
232
+ create1(createSourceRequestVO, options) {
233
+ return (0, exports.SourceControllerApiFp)(this.configuration).create1(createSourceRequestVO, options).then((request) => request(this.axios, this.basePath));
234
+ }
235
+ getDetail1(id, options) {
236
+ return (0, exports.SourceControllerApiFp)(this.configuration).getDetail1(id, options).then((request) => request(this.axios, this.basePath));
237
+ }
238
+ list1(creatorId, title, pageSize, cursor, options) {
239
+ return (0, exports.SourceControllerApiFp)(this.configuration).list1(creatorId, title, pageSize, cursor, options).then((request) => request(this.axios, this.basePath));
240
+ }
241
+ setToUploaded(setSourceToUploadedRequestVO, options) {
242
+ return (0, exports.SourceControllerApiFp)(this.configuration).setToUploaded(setSourceToUploadedRequestVO, options).then((request) => request(this.axios, this.basePath));
243
+ }
244
+ update(updateSourceRequestVO, options) {
245
+ return (0, exports.SourceControllerApiFp)(this.configuration).update(updateSourceRequestVO, options).then((request) => request(this.axios, this.basePath));
246
+ }
247
+ }
248
+ exports.SourceControllerApi = SourceControllerApi;
249
+ const TaskControllerApiAxiosParamCreator = function (configuration) {
250
+ return {
251
+ create: async (createTaskRequestVO, options = {}) => {
252
+ (0, common_1.assertParamExists)('create', 'createTaskRequestVO', createTaskRequestVO);
253
+ const localVarPath = `/api/tasks`;
254
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
255
+ let baseOptions;
256
+ if (configuration) {
257
+ baseOptions = configuration.baseOptions;
258
+ }
259
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
260
+ const localVarHeaderParameter = {};
261
+ const localVarQueryParameter = {};
262
+ localVarHeaderParameter['Content-Type'] = 'application/json';
263
+ localVarHeaderParameter['Accept'] = '*/*';
264
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
265
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
267
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaskRequestVO, localVarRequestOptions, configuration);
268
+ return {
269
+ url: (0, common_1.toPathString)(localVarUrlObj),
270
+ options: localVarRequestOptions,
271
+ };
272
+ },
273
+ getDetail: async (id, options = {}) => {
274
+ (0, common_1.assertParamExists)('getDetail', 'id', id);
275
+ const localVarPath = `/api/tasks/{id}`
276
+ .replace('{id}', encodeURIComponent(String(id)));
277
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
278
+ let baseOptions;
279
+ if (configuration) {
280
+ baseOptions = configuration.baseOptions;
281
+ }
282
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
283
+ const localVarHeaderParameter = {};
284
+ const localVarQueryParameter = {};
285
+ localVarHeaderParameter['Accept'] = '*/*';
286
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
288
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
289
+ return {
290
+ url: (0, common_1.toPathString)(localVarUrlObj),
291
+ options: localVarRequestOptions,
292
+ };
293
+ },
294
+ list: async (creatorId, pageSize, cursor, options = {}) => {
295
+ const localVarPath = `/api/tasks`;
296
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
297
+ let baseOptions;
298
+ if (configuration) {
299
+ baseOptions = configuration.baseOptions;
300
+ }
301
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
302
+ const localVarHeaderParameter = {};
303
+ const localVarQueryParameter = {};
304
+ if (creatorId !== undefined) {
305
+ localVarQueryParameter['creatorId'] = creatorId;
306
+ }
307
+ if (pageSize !== undefined) {
308
+ localVarQueryParameter['pageSize'] = pageSize;
309
+ }
310
+ if (cursor !== undefined) {
311
+ localVarQueryParameter['cursor'] = cursor;
312
+ }
313
+ localVarHeaderParameter['Accept'] = '*/*';
314
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
315
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
317
+ return {
318
+ url: (0, common_1.toPathString)(localVarUrlObj),
319
+ options: localVarRequestOptions,
320
+ };
321
+ },
322
+ };
323
+ };
324
+ exports.TaskControllerApiAxiosParamCreator = TaskControllerApiAxiosParamCreator;
325
+ const TaskControllerApiFp = function (configuration) {
326
+ const localVarAxiosParamCreator = (0, exports.TaskControllerApiAxiosParamCreator)(configuration);
327
+ return {
328
+ async create(createTaskRequestVO, options) {
329
+ var _a, _b, _c;
330
+ const localVarAxiosArgs = await localVarAxiosParamCreator.create(createTaskRequestVO, options);
331
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
332
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.create']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
333
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
334
+ },
335
+ async getDetail(id, options) {
336
+ var _a, _b, _c;
337
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDetail(id, options);
338
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
339
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.getDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
340
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
341
+ },
342
+ async list(creatorId, pageSize, cursor, options) {
343
+ var _a, _b, _c;
344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(creatorId, pageSize, cursor, options);
345
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
346
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaskControllerApi.list']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
347
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
348
+ },
349
+ };
350
+ };
351
+ exports.TaskControllerApiFp = TaskControllerApiFp;
352
+ const TaskControllerApiFactory = function (configuration, basePath, axios) {
353
+ const localVarFp = (0, exports.TaskControllerApiFp)(configuration);
354
+ return {
355
+ create(createTaskRequestVO, options) {
356
+ return localVarFp.create(createTaskRequestVO, options).then((request) => request(axios, basePath));
357
+ },
358
+ getDetail(id, options) {
359
+ return localVarFp.getDetail(id, options).then((request) => request(axios, basePath));
360
+ },
361
+ list(creatorId, pageSize, cursor, options) {
362
+ return localVarFp.list(creatorId, pageSize, cursor, options).then((request) => request(axios, basePath));
363
+ },
364
+ };
365
+ };
366
+ exports.TaskControllerApiFactory = TaskControllerApiFactory;
367
+ class TaskControllerApi extends base_1.BaseAPI {
368
+ create(createTaskRequestVO, options) {
369
+ return (0, exports.TaskControllerApiFp)(this.configuration).create(createTaskRequestVO, options).then((request) => request(this.axios, this.basePath));
370
+ }
371
+ getDetail(id, options) {
372
+ return (0, exports.TaskControllerApiFp)(this.configuration).getDetail(id, options).then((request) => request(this.axios, this.basePath));
373
+ }
374
+ list(creatorId, pageSize, cursor, options) {
375
+ return (0, exports.TaskControllerApiFp)(this.configuration).list(creatorId, pageSize, cursor, options).then((request) => request(this.axios, this.basePath));
376
+ }
377
+ }
378
+ exports.TaskControllerApi = TaskControllerApi;
package/dist/base.d.ts ADDED
@@ -0,0 +1,31 @@
1
+ import type { Configuration } from './configuration';
2
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
+ export declare const BASE_PATH: string;
4
+ export declare const COLLECTION_FORMATS: {
5
+ csv: string;
6
+ ssv: string;
7
+ tsv: string;
8
+ pipes: string;
9
+ };
10
+ export interface RequestArgs {
11
+ url: string;
12
+ options: RawAxiosRequestConfig;
13
+ }
14
+ export declare class BaseAPI {
15
+ protected basePath: string;
16
+ protected axios: AxiosInstance;
17
+ protected configuration: Configuration | undefined;
18
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
19
+ }
20
+ export declare class RequiredError extends Error {
21
+ field: string;
22
+ constructor(field: string, msg?: string);
23
+ }
24
+ interface ServerMap {
25
+ [key: string]: {
26
+ url: string;
27
+ description: string;
28
+ }[];
29
+ }
30
+ export declare const operationServerMap: ServerMap;
31
+ export {};
package/dist/base.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
4
+ const axios_1 = require("axios");
5
+ exports.BASE_PATH = "http://development-dash-api.getnauti.app".replace(/\/+$/, "");
6
+ exports.COLLECTION_FORMATS = {
7
+ csv: ",",
8
+ ssv: " ",
9
+ tsv: "\t",
10
+ pipes: "|",
11
+ };
12
+ class BaseAPI {
13
+ constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
14
+ var _a;
15
+ this.basePath = basePath;
16
+ this.axios = axios;
17
+ if (configuration) {
18
+ this.configuration = configuration;
19
+ this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
20
+ }
21
+ }
22
+ }
23
+ exports.BaseAPI = BaseAPI;
24
+ ;
25
+ class RequiredError extends Error {
26
+ constructor(field, msg) {
27
+ super(msg);
28
+ this.field = field;
29
+ this.name = "RequiredError";
30
+ }
31
+ }
32
+ exports.RequiredError = RequiredError;
33
+ exports.operationServerMap = {};
@@ -0,0 +1,14 @@
1
+ import type { Configuration } from "./configuration";
2
+ import type { RequestArgs } from "./base";
3
+ import type { AxiosInstance, AxiosResponse } from 'axios';
4
+ export declare const DUMMY_BASE_URL = "https://example.com";
5
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
6
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
7
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
8
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
9
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
10
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
11
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
12
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
13
+ export declare const toPathString: (url: URL) => string;
14
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js ADDED
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
4
+ const base_1 = require("./base");
5
+ exports.DUMMY_BASE_URL = 'https://example.com';
6
+ const assertParamExists = function (functionName, paramName, paramValue) {
7
+ if (paramValue === null || paramValue === undefined) {
8
+ throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
9
+ }
10
+ };
11
+ exports.assertParamExists = assertParamExists;
12
+ const setApiKeyToObject = async function (object, keyParamName, configuration) {
13
+ if (configuration && configuration.apiKey) {
14
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
15
+ ? await configuration.apiKey(keyParamName)
16
+ : await configuration.apiKey;
17
+ object[keyParamName] = localVarApiKeyValue;
18
+ }
19
+ };
20
+ exports.setApiKeyToObject = setApiKeyToObject;
21
+ const setBasicAuthToObject = function (object, configuration) {
22
+ if (configuration && (configuration.username || configuration.password)) {
23
+ object["auth"] = { username: configuration.username, password: configuration.password };
24
+ }
25
+ };
26
+ exports.setBasicAuthToObject = setBasicAuthToObject;
27
+ const setBearerAuthToObject = async function (object, configuration) {
28
+ if (configuration && configuration.accessToken) {
29
+ const accessToken = typeof configuration.accessToken === 'function'
30
+ ? await configuration.accessToken()
31
+ : await configuration.accessToken;
32
+ object["Authorization"] = "Bearer " + accessToken;
33
+ }
34
+ };
35
+ exports.setBearerAuthToObject = setBearerAuthToObject;
36
+ const setOAuthToObject = async function (object, name, scopes, configuration) {
37
+ if (configuration && configuration.accessToken) {
38
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
39
+ ? await configuration.accessToken(name, scopes)
40
+ : await configuration.accessToken;
41
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
42
+ }
43
+ };
44
+ exports.setOAuthToObject = setOAuthToObject;
45
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
46
+ if (parameter == null)
47
+ return;
48
+ if (typeof parameter === "object") {
49
+ if (Array.isArray(parameter) || parameter instanceof Set) {
50
+ parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
51
+ }
52
+ else {
53
+ Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
54
+ }
55
+ }
56
+ else {
57
+ if (urlSearchParams.has(key)) {
58
+ urlSearchParams.append(key, parameter);
59
+ }
60
+ else {
61
+ urlSearchParams.set(key, parameter);
62
+ }
63
+ }
64
+ }
65
+ const setSearchParams = function (url, ...objects) {
66
+ const searchParams = new URLSearchParams(url.search);
67
+ setFlattenedQueryParams(searchParams, objects);
68
+ url.search = searchParams.toString();
69
+ };
70
+ exports.setSearchParams = setSearchParams;
71
+ const replaceWithSerializableTypeIfNeeded = function (key, value) {
72
+ if (value instanceof Set) {
73
+ return Array.from(value);
74
+ }
75
+ else {
76
+ return value;
77
+ }
78
+ };
79
+ exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
80
+ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
81
+ const nonString = typeof value !== 'string';
82
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
83
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
84
+ : nonString;
85
+ return needsSerialization
86
+ ? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
87
+ : (value || "");
88
+ };
89
+ exports.serializeDataIfNeeded = serializeDataIfNeeded;
90
+ const toPathString = function (url) {
91
+ return url.pathname + url.search + url.hash;
92
+ };
93
+ exports.toPathString = toPathString;
94
+ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
95
+ return (axios = globalAxios, basePath = BASE_PATH) => {
96
+ var _a;
97
+ const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
98
+ return axios.request(axiosRequestArgs);
99
+ };
100
+ };
101
+ exports.createRequestFunction = createRequestFunction;
@@ -0,0 +1,36 @@
1
+ interface AWSv4Configuration {
2
+ options?: {
3
+ region?: string;
4
+ service?: string;
5
+ };
6
+ credentials?: {
7
+ accessKeyId?: string;
8
+ secretAccessKey?: string;
9
+ sessionToken?: string;
10
+ };
11
+ }
12
+ export interface ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ awsv4?: AWSv4Configuration;
18
+ basePath?: string;
19
+ serverIndex?: number;
20
+ baseOptions?: any;
21
+ formDataCtor?: new () => any;
22
+ }
23
+ export declare class Configuration {
24
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
+ username?: string;
26
+ password?: string;
27
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
29
+ basePath?: string;
30
+ serverIndex?: number;
31
+ baseOptions?: any;
32
+ formDataCtor?: new () => any;
33
+ constructor(param?: ConfigurationParameters);
34
+ isJsonMime(mime: string): boolean;
35
+ }
36
+ export {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Configuration = void 0;
4
+ class Configuration {
5
+ constructor(param = {}) {
6
+ var _a;
7
+ this.apiKey = param.apiKey;
8
+ this.username = param.username;
9
+ this.password = param.password;
10
+ this.accessToken = param.accessToken;
11
+ this.awsv4 = param.awsv4;
12
+ this.basePath = param.basePath;
13
+ this.serverIndex = param.serverIndex;
14
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
15
+ this.formDataCtor = param.formDataCtor;
16
+ }
17
+ isJsonMime(mime) {
18
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
19
+ return mime !== null && jsonMime.test(mime);
20
+ }
21
+ }
22
+ exports.Configuration = Configuration;
@@ -0,0 +1,2 @@
1
+ export * from "./api";
2
+ export * from "./configuration";
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./api"), exports);
18
+ __exportStar(require("./configuration"), exports);
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../src/configuration.ts","../node_modules/axios/index.d.ts","../src/base.ts","../src/common.ts","../src/api.ts","../src/index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.generated.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts5.6/index.d.ts"],"fileInfos":[{"version":"f59215c5f1d886b05395ee7aca73e0ac69ddfad2843aa88530e797879d511bad","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"3dda5344576193a4ae48b8d03f105c86f20b2f2aff0a1d1fd7935f5d68649654","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"9d9885c728913c1d16e0d2831b40341d6ad9a0ceecaabc55209b306ad9c736a5","affectsGlobalScope":true},{"version":"17bea081b9c0541f39dd1ae9bc8c78bdd561879a682e60e2f25f688c0ecab248","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f06948deb2a51aae25184561c9640fb66afeddb34531a9212d011792b1d19e0a","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"994c234848afc14a2586b6565777f4c0b05dc479ede0a041bfd5becf6dceb586",{"version":"ed40d6770183658d2abccf9d8b7ca57919e31bc7abdc2af2a2d650a8b07af91f","signature":"e50b28735101793ff9b971da3f814e29b984a6c728d52d9b8ce3f65686a1086d"},"1d7ee0c4eb734d59b6d962bc9151f6330895067cd3058ce6a3cd95347ef5c6e8",{"version":"945cf088b52fee3e03c40c116434fdb742448bf724b2247924024f86daf42bed","signature":"3e5ca37849e8e6bdf0faed6ec2a308b177cd243303b95aa31a948ae4591dd778"},{"version":"9316f1fd7a3ffa1e3eb0a4acf56235506e2545e44d8433289a37bcd3af4f9ca9","signature":"2b5332a6d1ea170091d71df39b5c3f4d089fe36e321153ce0a63758a1359df84"},{"version":"6e4f983a4dba4d1a51a47116f9bd79b666dceabd4237b67d54aa190996a06643","signature":"349c8fc7170e1d7f767c972acd87af46e290fd8bbd14f1d219aa715ea141beeb"},{"version":"954bf3b5788f317fac77a25fbffa2201841f6713bdb9abdbcee26a2230985656","signature":"4ae97b07618f07f14ad6018501c2820de78834b35b02d3d7a816676b65d7abbe"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"1456e80bd8a3870034d89f91bd7df12ac29acfb083e31c0bb1fb38ca7bf5fbc2","affectsGlobalScope":true},{"version":"a98aedd64ad81793f146d36d1611ed9ba61b8b49ff040f0d13a103ed626595d9","affectsGlobalScope":true},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true},"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true},"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true},"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true},"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","1123a83f35cf56c97de746f0a7250012153c61a167e4a61668bf50e558162d14","855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86",{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true},"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d",{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee",{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true},"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5",{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true},"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e",{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true},"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","0ea329e5eab6719ff83bcb97e8bd03f1faab4feb74704010783b881fc9d80f92"],"root":[48,[50,53]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"noFallthroughCasesInSwitch":false,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":false,"strictBindCallApply":false,"strictNullChecks":true,"target":4},"fileIdsList":[[59,102,105],[59,104,105],[59,105,110,138],[59,105,106,111,116,124,135,146],[59,105,106,107,116,124],[59,105],[54,55,56,59,105],[59,105,108,147],[59,105,109,110,117,125],[59,105,110,135,143],[59,105,111,113,116,124],[59,104,105,112],[59,105,113,114],[59,105,115,116],[59,104,105,116],[59,105,116,117,118,135,146],[59,105,116,117,118,131,135,138],[59,105,113,116,119,124,135,146],[59,105,116,117,119,120,124,135,143,146],[59,105,119,121,135,143,146],[59,105,116,122],[59,105,123,146,151],[59,105,113,116,124,135],[59,105,125],[59,105,126],[59,104,105,127],[59,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[59,105,129],[59,105,130],[59,105,116,131,132],[59,105,131,133,147,149],[59,105,116,135,136,138],[59,105,137,138],[59,105,135,136],[59,105,138],[59,105,139],[59,102,105,135,140],[59,105,116,141,142],[59,105,141,142],[59,105,110,124,135,143],[59,105,144],[105],[57,58,59,60,61,62,63,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[59,105,124,145],[59,105,119,130,146],[59,105,110,147],[59,105,135,148],[59,105,123,149],[59,105,150],[59,100,105],[59,100,105,116,118,127,135,138,146,149,151],[59,105,135,152],[59,72,76,105,146],[59,72,105,135,146],[59,67,105],[59,69,72,105,143,146],[59,105,124,143],[59,105,153],[59,67,105,153],[59,69,72,105,124,146],[59,64,65,68,71,105,116,135,146],[59,72,79,105],[59,64,70,105],[59,72,93,94,105],[59,68,72,105,138,146,153],[59,93,105,153],[59,66,67,105,153],[59,72,105],[59,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,99,105],[59,72,87,105],[59,72,79,80,105],[59,70,72,80,81,105],[59,71,105],[59,64,67,72,105],[59,72,76,80,81,105],[59,76,105],[59,70,72,75,105,146],[59,64,69,72,79,105],[59,105,135],[59,67,72,93,105,151,153],[48,49,50,51,59,105],[48,49,59,105],[48,49,50,59,105],[48,52,59,105],[48,49,50],[48,49],[48,52]],"referencedMap":[[102,1],[103,1],[104,2],[105,3],[106,4],[107,5],[54,6],[57,7],[55,6],[56,6],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,13],[115,14],[116,15],[117,16],[118,17],[60,6],[119,18],[120,19],[121,20],[122,21],[123,22],[124,23],[125,24],[126,25],[127,26],[128,27],[129,28],[130,29],[131,30],[132,30],[133,31],[134,6],[135,32],[137,33],[136,34],[138,35],[139,36],[140,37],[141,38],[142,39],[143,40],[144,41],[59,42],[58,6],[153,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[61,6],[62,6],[63,6],[101,50],[151,51],[152,52],[49,6],[45,6],[46,6],[8,6],[9,6],[13,6],[12,6],[2,6],[14,6],[15,6],[16,6],[17,6],[18,6],[19,6],[20,6],[21,6],[3,6],[4,6],[47,6],[25,6],[22,6],[23,6],[24,6],[26,6],[27,6],[28,6],[5,6],[29,6],[30,6],[31,6],[32,6],[6,6],[36,6],[33,6],[34,6],[35,6],[37,6],[7,6],[38,6],[43,6],[44,6],[39,6],[40,6],[41,6],[42,6],[1,6],[11,6],[10,6],[79,53],[89,54],[78,53],[99,55],[70,56],[69,57],[98,58],[92,59],[97,60],[72,61],[86,62],[71,63],[95,64],[67,65],[66,58],[96,66],[68,67],[73,68],[74,6],[77,68],[64,6],[100,69],[90,70],[81,71],[82,72],[84,73],[80,74],[83,75],[93,58],[75,76],[76,77],[85,78],[65,79],[88,70],[87,68],[91,6],[94,80],[52,81],[50,82],[51,83],[48,6],[53,84]],"exportedModulesMap":[[102,1],[103,1],[104,2],[105,3],[106,4],[107,5],[54,6],[57,7],[55,6],[56,6],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,13],[115,14],[116,15],[117,16],[118,17],[60,6],[119,18],[120,19],[121,20],[122,21],[123,22],[124,23],[125,24],[126,25],[127,26],[128,27],[129,28],[130,29],[131,30],[132,30],[133,31],[134,6],[135,32],[137,33],[136,34],[138,35],[139,36],[140,37],[141,38],[142,39],[143,40],[144,41],[59,42],[58,6],[153,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[61,6],[62,6],[63,6],[101,50],[151,51],[152,52],[49,6],[45,6],[46,6],[8,6],[9,6],[13,6],[12,6],[2,6],[14,6],[15,6],[16,6],[17,6],[18,6],[19,6],[20,6],[21,6],[3,6],[4,6],[47,6],[25,6],[22,6],[23,6],[24,6],[26,6],[27,6],[28,6],[5,6],[29,6],[30,6],[31,6],[32,6],[6,6],[36,6],[33,6],[34,6],[35,6],[37,6],[7,6],[38,6],[43,6],[44,6],[39,6],[40,6],[41,6],[42,6],[1,6],[11,6],[10,6],[79,53],[89,54],[78,53],[99,55],[70,56],[69,57],[98,58],[92,59],[97,60],[72,61],[86,62],[71,63],[95,64],[67,65],[66,58],[96,66],[68,67],[73,68],[74,6],[77,68],[64,6],[100,69],[90,70],[81,71],[82,72],[84,73],[80,74],[83,75],[93,58],[75,76],[76,77],[85,78],[65,79],[88,70],[87,68],[91,6],[94,80],[52,85],[50,86],[51,85],[53,87]],"semanticDiagnosticsPerFile":[102,103,104,105,106,107,54,57,55,56,108,109,110,111,112,113,114,115,116,117,118,60,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,141,142,143,144,59,58,153,145,146,147,148,149,150,61,62,63,101,151,152,49,45,46,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,47,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,1,11,10,79,89,78,99,70,69,98,92,97,72,86,71,95,67,66,96,68,73,74,77,64,100,90,81,82,84,80,83,93,75,76,85,65,88,87,91,94,52,50,51,48,53]},"version":"5.1.3"}
package/package.json CHANGED
@@ -1,6 +1,26 @@
1
1
  {
2
2
  "name": "@nauti/dash-client",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.2-beta.358.3",
4
+ "scripts": {
5
+ "build": "tsc"
6
+ },
7
+ "author": {
8
+ "name": "Nauti DevOps",
9
+ "email": "devops@getnauti.app"
10
+ },
11
+ "main": "dist/index.js",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "publishConfig": {
16
+ "registry": "https://registry.npmjs.org",
17
+ "access": "public"
18
+ },
19
+ "dependencies": {
20
+ "axios": "~1.11.0"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^20.3.1",
24
+ "typescript": "5.1.3"
25
+ }
26
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.