@nestbox-ai/admin 1.0.38 → 1.0.39
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/README.md +2 -2
- package/api.ts +16 -9
- package/dist/api.d.ts +8 -4
- package/dist/api.js +16 -9
- package/dist/esm/api.d.ts +8 -4
- package/dist/esm/api.js +16 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @nestbox-ai/admin@1.0.
|
|
1
|
+
## @nestbox-ai/admin@1.0.39
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @nestbox-ai/admin@1.0.
|
|
39
|
+
npm install @nestbox-ai/admin@1.0.39 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -5885,17 +5885,21 @@ export const QueriesAndDocumentationsApiAxiosParamCreator = function (configurat
|
|
|
5885
5885
|
* @summary Fetch Swagger JSON
|
|
5886
5886
|
* @param {string} modelId
|
|
5887
5887
|
* @param {string} projectId
|
|
5888
|
+
* @param {string} fieldName
|
|
5888
5889
|
* @param {*} [options] Override http request option.
|
|
5889
5890
|
* @throws {RequiredError}
|
|
5890
5891
|
*/
|
|
5891
|
-
queriesAndDocControllerFetchSwaggerJSON: async (modelId: string, projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5892
|
+
queriesAndDocControllerFetchSwaggerJSON: async (modelId: string, projectId: string, fieldName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5892
5893
|
// verify required parameter 'modelId' is not null or undefined
|
|
5893
5894
|
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'modelId', modelId)
|
|
5894
5895
|
// verify required parameter 'projectId' is not null or undefined
|
|
5895
5896
|
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'projectId', projectId)
|
|
5896
|
-
|
|
5897
|
+
// verify required parameter 'fieldName' is not null or undefined
|
|
5898
|
+
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'fieldName', fieldName)
|
|
5899
|
+
const localVarPath = `/projects/{projectId}/{fieldName}/{modelId}/swagger`
|
|
5897
5900
|
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)))
|
|
5898
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
5901
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
5902
|
+
.replace(`{${"fieldName"}}`, encodeURIComponent(String(fieldName)));
|
|
5899
5903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5900
5904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5901
5905
|
let baseOptions;
|
|
@@ -6012,11 +6016,12 @@ export const QueriesAndDocumentationsApiFp = function(configuration?: Configurat
|
|
|
6012
6016
|
* @summary Fetch Swagger JSON
|
|
6013
6017
|
* @param {string} modelId
|
|
6014
6018
|
* @param {string} projectId
|
|
6019
|
+
* @param {string} fieldName
|
|
6015
6020
|
* @param {*} [options] Override http request option.
|
|
6016
6021
|
* @throws {RequiredError}
|
|
6017
6022
|
*/
|
|
6018
|
-
async queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
6019
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options);
|
|
6023
|
+
async queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
6024
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options);
|
|
6020
6025
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6021
6026
|
const localVarOperationServerBasePath = operationServerMap['QueriesAndDocumentationsApi.queriesAndDocControllerFetchSwaggerJSON']?.[localVarOperationServerIndex]?.url;
|
|
6022
6027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6064,11 +6069,12 @@ export const QueriesAndDocumentationsApiFactory = function (configuration?: Conf
|
|
|
6064
6069
|
* @summary Fetch Swagger JSON
|
|
6065
6070
|
* @param {string} modelId
|
|
6066
6071
|
* @param {string} projectId
|
|
6072
|
+
* @param {string} fieldName
|
|
6067
6073
|
* @param {*} [options] Override http request option.
|
|
6068
6074
|
* @throws {RequiredError}
|
|
6069
6075
|
*/
|
|
6070
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
6071
|
-
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(axios, basePath));
|
|
6076
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
6077
|
+
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(axios, basePath));
|
|
6072
6078
|
},
|
|
6073
6079
|
/**
|
|
6074
6080
|
*
|
|
@@ -6107,12 +6113,13 @@ export class QueriesAndDocumentationsApi extends BaseAPI {
|
|
|
6107
6113
|
* @summary Fetch Swagger JSON
|
|
6108
6114
|
* @param {string} modelId
|
|
6109
6115
|
* @param {string} projectId
|
|
6116
|
+
* @param {string} fieldName
|
|
6110
6117
|
* @param {*} [options] Override http request option.
|
|
6111
6118
|
* @throws {RequiredError}
|
|
6112
6119
|
* @memberof QueriesAndDocumentationsApi
|
|
6113
6120
|
*/
|
|
6114
|
-
public queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig) {
|
|
6115
|
-
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
6121
|
+
public queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig) {
|
|
6122
|
+
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
6116
6123
|
}
|
|
6117
6124
|
|
|
6118
6125
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -3653,10 +3653,11 @@ export declare const QueriesAndDocumentationsApiAxiosParamCreator: (configuratio
|
|
|
3653
3653
|
* @summary Fetch Swagger JSON
|
|
3654
3654
|
* @param {string} modelId
|
|
3655
3655
|
* @param {string} projectId
|
|
3656
|
+
* @param {string} fieldName
|
|
3656
3657
|
* @param {*} [options] Override http request option.
|
|
3657
3658
|
* @throws {RequiredError}
|
|
3658
3659
|
*/
|
|
3659
|
-
queriesAndDocControllerFetchSwaggerJSON: (modelId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3660
|
+
queriesAndDocControllerFetchSwaggerJSON: (modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3660
3661
|
/**
|
|
3661
3662
|
*
|
|
3662
3663
|
* @summary Fetch Swagger JSON
|
|
@@ -3686,10 +3687,11 @@ export declare const QueriesAndDocumentationsApiFp: (configuration?: Configurati
|
|
|
3686
3687
|
* @summary Fetch Swagger JSON
|
|
3687
3688
|
* @param {string} modelId
|
|
3688
3689
|
* @param {string} projectId
|
|
3690
|
+
* @param {string} fieldName
|
|
3689
3691
|
* @param {*} [options] Override http request option.
|
|
3690
3692
|
* @throws {RequiredError}
|
|
3691
3693
|
*/
|
|
3692
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
3694
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
3693
3695
|
/**
|
|
3694
3696
|
*
|
|
3695
3697
|
* @summary Fetch Swagger JSON
|
|
@@ -3719,10 +3721,11 @@ export declare const QueriesAndDocumentationsApiFactory: (configuration?: Config
|
|
|
3719
3721
|
* @summary Fetch Swagger JSON
|
|
3720
3722
|
* @param {string} modelId
|
|
3721
3723
|
* @param {string} projectId
|
|
3724
|
+
* @param {string} fieldName
|
|
3722
3725
|
* @param {*} [options] Override http request option.
|
|
3723
3726
|
* @throws {RequiredError}
|
|
3724
3727
|
*/
|
|
3725
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3728
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3726
3729
|
/**
|
|
3727
3730
|
*
|
|
3728
3731
|
* @summary Fetch Swagger JSON
|
|
@@ -3754,11 +3757,12 @@ export declare class QueriesAndDocumentationsApi extends BaseAPI {
|
|
|
3754
3757
|
* @summary Fetch Swagger JSON
|
|
3755
3758
|
* @param {string} modelId
|
|
3756
3759
|
* @param {string} projectId
|
|
3760
|
+
* @param {string} fieldName
|
|
3757
3761
|
* @param {*} [options] Override http request option.
|
|
3758
3762
|
* @throws {RequiredError}
|
|
3759
3763
|
* @memberof QueriesAndDocumentationsApi
|
|
3760
3764
|
*/
|
|
3761
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3765
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3762
3766
|
/**
|
|
3763
3767
|
*
|
|
3764
3768
|
* @summary Fetch Swagger JSON
|
package/dist/api.js
CHANGED
|
@@ -4253,17 +4253,21 @@ const QueriesAndDocumentationsApiAxiosParamCreator = function (configuration) {
|
|
|
4253
4253
|
* @summary Fetch Swagger JSON
|
|
4254
4254
|
* @param {string} modelId
|
|
4255
4255
|
* @param {string} projectId
|
|
4256
|
+
* @param {string} fieldName
|
|
4256
4257
|
* @param {*} [options] Override http request option.
|
|
4257
4258
|
* @throws {RequiredError}
|
|
4258
4259
|
*/
|
|
4259
|
-
queriesAndDocControllerFetchSwaggerJSON: (modelId_1, projectId_1, ...args_1) => __awaiter(this, [modelId_1, projectId_1, ...args_1], void 0, function* (modelId, projectId, options = {}) {
|
|
4260
|
+
queriesAndDocControllerFetchSwaggerJSON: (modelId_1, projectId_1, fieldName_1, ...args_1) => __awaiter(this, [modelId_1, projectId_1, fieldName_1, ...args_1], void 0, function* (modelId, projectId, fieldName, options = {}) {
|
|
4260
4261
|
// verify required parameter 'modelId' is not null or undefined
|
|
4261
4262
|
(0, common_1.assertParamExists)('queriesAndDocControllerFetchSwaggerJSON', 'modelId', modelId);
|
|
4262
4263
|
// verify required parameter 'projectId' is not null or undefined
|
|
4263
4264
|
(0, common_1.assertParamExists)('queriesAndDocControllerFetchSwaggerJSON', 'projectId', projectId);
|
|
4264
|
-
|
|
4265
|
+
// verify required parameter 'fieldName' is not null or undefined
|
|
4266
|
+
(0, common_1.assertParamExists)('queriesAndDocControllerFetchSwaggerJSON', 'fieldName', fieldName);
|
|
4267
|
+
const localVarPath = `/projects/{projectId}/{fieldName}/{modelId}/swagger`
|
|
4265
4268
|
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)))
|
|
4266
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4269
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4270
|
+
.replace(`{${"fieldName"}}`, encodeURIComponent(String(fieldName)));
|
|
4267
4271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4268
4272
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4269
4273
|
let baseOptions;
|
|
@@ -4364,13 +4368,14 @@ const QueriesAndDocumentationsApiFp = function (configuration) {
|
|
|
4364
4368
|
* @summary Fetch Swagger JSON
|
|
4365
4369
|
* @param {string} modelId
|
|
4366
4370
|
* @param {string} projectId
|
|
4371
|
+
* @param {string} fieldName
|
|
4367
4372
|
* @param {*} [options] Override http request option.
|
|
4368
4373
|
* @throws {RequiredError}
|
|
4369
4374
|
*/
|
|
4370
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4375
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4371
4376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4372
4377
|
var _a, _b, _c;
|
|
4373
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options);
|
|
4378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options);
|
|
4374
4379
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4375
4380
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QueriesAndDocumentationsApi.queriesAndDocControllerFetchSwaggerJSON']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4376
4381
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4425,11 +4430,12 @@ const QueriesAndDocumentationsApiFactory = function (configuration, basePath, ax
|
|
|
4425
4430
|
* @summary Fetch Swagger JSON
|
|
4426
4431
|
* @param {string} modelId
|
|
4427
4432
|
* @param {string} projectId
|
|
4433
|
+
* @param {string} fieldName
|
|
4428
4434
|
* @param {*} [options] Override http request option.
|
|
4429
4435
|
* @throws {RequiredError}
|
|
4430
4436
|
*/
|
|
4431
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4432
|
-
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(axios, basePath));
|
|
4437
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4438
|
+
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(axios, basePath));
|
|
4433
4439
|
},
|
|
4434
4440
|
/**
|
|
4435
4441
|
*
|
|
@@ -4468,12 +4474,13 @@ class QueriesAndDocumentationsApi extends base_1.BaseAPI {
|
|
|
4468
4474
|
* @summary Fetch Swagger JSON
|
|
4469
4475
|
* @param {string} modelId
|
|
4470
4476
|
* @param {string} projectId
|
|
4477
|
+
* @param {string} fieldName
|
|
4471
4478
|
* @param {*} [options] Override http request option.
|
|
4472
4479
|
* @throws {RequiredError}
|
|
4473
4480
|
* @memberof QueriesAndDocumentationsApi
|
|
4474
4481
|
*/
|
|
4475
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4476
|
-
return (0, exports.QueriesAndDocumentationsApiFp)(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
4482
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4483
|
+
return (0, exports.QueriesAndDocumentationsApiFp)(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
4477
4484
|
}
|
|
4478
4485
|
/**
|
|
4479
4486
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3653,10 +3653,11 @@ export declare const QueriesAndDocumentationsApiAxiosParamCreator: (configuratio
|
|
|
3653
3653
|
* @summary Fetch Swagger JSON
|
|
3654
3654
|
* @param {string} modelId
|
|
3655
3655
|
* @param {string} projectId
|
|
3656
|
+
* @param {string} fieldName
|
|
3656
3657
|
* @param {*} [options] Override http request option.
|
|
3657
3658
|
* @throws {RequiredError}
|
|
3658
3659
|
*/
|
|
3659
|
-
queriesAndDocControllerFetchSwaggerJSON: (modelId: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3660
|
+
queriesAndDocControllerFetchSwaggerJSON: (modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3660
3661
|
/**
|
|
3661
3662
|
*
|
|
3662
3663
|
* @summary Fetch Swagger JSON
|
|
@@ -3686,10 +3687,11 @@ export declare const QueriesAndDocumentationsApiFp: (configuration?: Configurati
|
|
|
3686
3687
|
* @summary Fetch Swagger JSON
|
|
3687
3688
|
* @param {string} modelId
|
|
3688
3689
|
* @param {string} projectId
|
|
3690
|
+
* @param {string} fieldName
|
|
3689
3691
|
* @param {*} [options] Override http request option.
|
|
3690
3692
|
* @throws {RequiredError}
|
|
3691
3693
|
*/
|
|
3692
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
3694
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
3693
3695
|
/**
|
|
3694
3696
|
*
|
|
3695
3697
|
* @summary Fetch Swagger JSON
|
|
@@ -3719,10 +3721,11 @@ export declare const QueriesAndDocumentationsApiFactory: (configuration?: Config
|
|
|
3719
3721
|
* @summary Fetch Swagger JSON
|
|
3720
3722
|
* @param {string} modelId
|
|
3721
3723
|
* @param {string} projectId
|
|
3724
|
+
* @param {string} fieldName
|
|
3722
3725
|
* @param {*} [options] Override http request option.
|
|
3723
3726
|
* @throws {RequiredError}
|
|
3724
3727
|
*/
|
|
3725
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3728
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3726
3729
|
/**
|
|
3727
3730
|
*
|
|
3728
3731
|
* @summary Fetch Swagger JSON
|
|
@@ -3754,11 +3757,12 @@ export declare class QueriesAndDocumentationsApi extends BaseAPI {
|
|
|
3754
3757
|
* @summary Fetch Swagger JSON
|
|
3755
3758
|
* @param {string} modelId
|
|
3756
3759
|
* @param {string} projectId
|
|
3760
|
+
* @param {string} fieldName
|
|
3757
3761
|
* @param {*} [options] Override http request option.
|
|
3758
3762
|
* @throws {RequiredError}
|
|
3759
3763
|
* @memberof QueriesAndDocumentationsApi
|
|
3760
3764
|
*/
|
|
3761
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3765
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId: string, projectId: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3762
3766
|
/**
|
|
3763
3767
|
*
|
|
3764
3768
|
* @summary Fetch Swagger JSON
|
package/dist/esm/api.js
CHANGED
|
@@ -4209,17 +4209,21 @@ export const QueriesAndDocumentationsApiAxiosParamCreator = function (configurat
|
|
|
4209
4209
|
* @summary Fetch Swagger JSON
|
|
4210
4210
|
* @param {string} modelId
|
|
4211
4211
|
* @param {string} projectId
|
|
4212
|
+
* @param {string} fieldName
|
|
4212
4213
|
* @param {*} [options] Override http request option.
|
|
4213
4214
|
* @throws {RequiredError}
|
|
4214
4215
|
*/
|
|
4215
|
-
queriesAndDocControllerFetchSwaggerJSON: (modelId_1, projectId_1, ...args_1) => __awaiter(this, [modelId_1, projectId_1, ...args_1], void 0, function* (modelId, projectId, options = {}) {
|
|
4216
|
+
queriesAndDocControllerFetchSwaggerJSON: (modelId_1, projectId_1, fieldName_1, ...args_1) => __awaiter(this, [modelId_1, projectId_1, fieldName_1, ...args_1], void 0, function* (modelId, projectId, fieldName, options = {}) {
|
|
4216
4217
|
// verify required parameter 'modelId' is not null or undefined
|
|
4217
4218
|
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'modelId', modelId);
|
|
4218
4219
|
// verify required parameter 'projectId' is not null or undefined
|
|
4219
4220
|
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'projectId', projectId);
|
|
4220
|
-
|
|
4221
|
+
// verify required parameter 'fieldName' is not null or undefined
|
|
4222
|
+
assertParamExists('queriesAndDocControllerFetchSwaggerJSON', 'fieldName', fieldName);
|
|
4223
|
+
const localVarPath = `/projects/{projectId}/{fieldName}/{modelId}/swagger`
|
|
4221
4224
|
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)))
|
|
4222
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4225
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4226
|
+
.replace(`{${"fieldName"}}`, encodeURIComponent(String(fieldName)));
|
|
4223
4227
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4224
4228
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4225
4229
|
let baseOptions;
|
|
@@ -4319,13 +4323,14 @@ export const QueriesAndDocumentationsApiFp = function (configuration) {
|
|
|
4319
4323
|
* @summary Fetch Swagger JSON
|
|
4320
4324
|
* @param {string} modelId
|
|
4321
4325
|
* @param {string} projectId
|
|
4326
|
+
* @param {string} fieldName
|
|
4322
4327
|
* @param {*} [options] Override http request option.
|
|
4323
4328
|
* @throws {RequiredError}
|
|
4324
4329
|
*/
|
|
4325
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4330
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4326
4331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4327
4332
|
var _a, _b, _c;
|
|
4328
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options);
|
|
4333
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options);
|
|
4329
4334
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4330
4335
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QueriesAndDocumentationsApi.queriesAndDocControllerFetchSwaggerJSON']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4331
4336
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4379,11 +4384,12 @@ export const QueriesAndDocumentationsApiFactory = function (configuration, baseP
|
|
|
4379
4384
|
* @summary Fetch Swagger JSON
|
|
4380
4385
|
* @param {string} modelId
|
|
4381
4386
|
* @param {string} projectId
|
|
4387
|
+
* @param {string} fieldName
|
|
4382
4388
|
* @param {*} [options] Override http request option.
|
|
4383
4389
|
* @throws {RequiredError}
|
|
4384
4390
|
*/
|
|
4385
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4386
|
-
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(axios, basePath));
|
|
4391
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4392
|
+
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(axios, basePath));
|
|
4387
4393
|
},
|
|
4388
4394
|
/**
|
|
4389
4395
|
*
|
|
@@ -4421,12 +4427,13 @@ export class QueriesAndDocumentationsApi extends BaseAPI {
|
|
|
4421
4427
|
* @summary Fetch Swagger JSON
|
|
4422
4428
|
* @param {string} modelId
|
|
4423
4429
|
* @param {string} projectId
|
|
4430
|
+
* @param {string} fieldName
|
|
4424
4431
|
* @param {*} [options] Override http request option.
|
|
4425
4432
|
* @throws {RequiredError}
|
|
4426
4433
|
* @memberof QueriesAndDocumentationsApi
|
|
4427
4434
|
*/
|
|
4428
|
-
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options) {
|
|
4429
|
-
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, options).then((request) => request(this.axios, this.basePath));
|
|
4435
|
+
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4436
|
+
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
4430
4437
|
}
|
|
4431
4438
|
/**
|
|
4432
4439
|
*
|