flexinet-api 0.0.787-prerelease0 → 0.0.796-prerelease0
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 +49 -49
- package/dist/api.d.ts +28 -28
- package/dist/api.js +45 -45
- package/dist/esm/api.d.ts +28 -28
- package/dist/esm/api.js +45 -45
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.796-prerelease0
|
|
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 flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.796-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -2675,13 +2675,13 @@ export interface Tag {
|
|
|
2675
2675
|
* @type {string}
|
|
2676
2676
|
* @memberof Tag
|
|
2677
2677
|
*/
|
|
2678
|
-
'
|
|
2678
|
+
'key': string;
|
|
2679
2679
|
/**
|
|
2680
2680
|
*
|
|
2681
2681
|
* @type {string}
|
|
2682
2682
|
* @memberof Tag
|
|
2683
2683
|
*/
|
|
2684
|
-
'
|
|
2684
|
+
'description': string;
|
|
2685
2685
|
/**
|
|
2686
2686
|
*
|
|
2687
2687
|
* @type {TagDataType}
|
|
@@ -2781,13 +2781,13 @@ export interface TagDetailed {
|
|
|
2781
2781
|
* @type {string}
|
|
2782
2782
|
* @memberof TagDetailed
|
|
2783
2783
|
*/
|
|
2784
|
-
'
|
|
2784
|
+
'key': string;
|
|
2785
2785
|
/**
|
|
2786
2786
|
*
|
|
2787
2787
|
* @type {string}
|
|
2788
2788
|
* @memberof TagDetailed
|
|
2789
2789
|
*/
|
|
2790
|
-
'
|
|
2790
|
+
'description': string;
|
|
2791
2791
|
/**
|
|
2792
2792
|
*
|
|
2793
2793
|
* @type {TagDataType}
|
|
@@ -9758,15 +9758,15 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9758
9758
|
/**
|
|
9759
9759
|
* This method allows deleting a tag from the system.
|
|
9760
9760
|
* @summary Method allows to delete tag.
|
|
9761
|
-
* @param {string}
|
|
9761
|
+
* @param {string} key Tag key
|
|
9762
9762
|
* @param {*} [options] Override http request option.
|
|
9763
9763
|
* @throws {RequiredError}
|
|
9764
9764
|
*/
|
|
9765
|
-
deleteTag: async (
|
|
9766
|
-
// verify required parameter '
|
|
9767
|
-
assertParamExists('deleteTag', '
|
|
9768
|
-
const localVarPath = `/admins/tags/{
|
|
9769
|
-
.replace(`{${"
|
|
9765
|
+
deleteTag: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9766
|
+
// verify required parameter 'key' is not null or undefined
|
|
9767
|
+
assertParamExists('deleteTag', 'key', key)
|
|
9768
|
+
const localVarPath = `/admins/tags/{key}`
|
|
9769
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
9770
9770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9771
9771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9772
9772
|
let baseOptions;
|
|
@@ -9796,15 +9796,15 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9796
9796
|
/**
|
|
9797
9797
|
* This method returns all information about a specific tag.
|
|
9798
9798
|
* @summary Method will return tag details.
|
|
9799
|
-
* @param {string}
|
|
9799
|
+
* @param {string} key Tag Key
|
|
9800
9800
|
* @param {*} [options] Override http request option.
|
|
9801
9801
|
* @throws {RequiredError}
|
|
9802
9802
|
*/
|
|
9803
|
-
getTagByID: async (
|
|
9804
|
-
// verify required parameter '
|
|
9805
|
-
assertParamExists('getTagByID', '
|
|
9806
|
-
const localVarPath = `/admins/tags/{
|
|
9807
|
-
.replace(`{${"
|
|
9803
|
+
getTagByID: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9804
|
+
// verify required parameter 'key' is not null or undefined
|
|
9805
|
+
assertParamExists('getTagByID', 'key', key)
|
|
9806
|
+
const localVarPath = `/admins/tags/{key}`
|
|
9807
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
9808
9808
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9809
9809
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9810
9810
|
let baseOptions;
|
|
@@ -9878,16 +9878,16 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9878
9878
|
/**
|
|
9879
9879
|
* This method allows updating a tag in the system.
|
|
9880
9880
|
* @summary Method allows to update tag.
|
|
9881
|
-
* @param {string}
|
|
9881
|
+
* @param {string} key Tag key
|
|
9882
9882
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
9883
9883
|
* @param {*} [options] Override http request option.
|
|
9884
9884
|
* @throws {RequiredError}
|
|
9885
9885
|
*/
|
|
9886
|
-
updateTag: async (
|
|
9887
|
-
// verify required parameter '
|
|
9888
|
-
assertParamExists('updateTag', '
|
|
9889
|
-
const localVarPath = `/admins/tags/{
|
|
9890
|
-
.replace(`{${"
|
|
9886
|
+
updateTag: async (key: string, updateTagRequest?: UpdateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9887
|
+
// verify required parameter 'key' is not null or undefined
|
|
9888
|
+
assertParamExists('updateTag', 'key', key)
|
|
9889
|
+
const localVarPath = `/admins/tags/{key}`
|
|
9890
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
9891
9891
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9892
9892
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9893
9893
|
let baseOptions;
|
|
@@ -9944,23 +9944,23 @@ export const TagApiFp = function(configuration?: Configuration) {
|
|
|
9944
9944
|
/**
|
|
9945
9945
|
* This method allows deleting a tag from the system.
|
|
9946
9946
|
* @summary Method allows to delete tag.
|
|
9947
|
-
* @param {string}
|
|
9947
|
+
* @param {string} key Tag key
|
|
9948
9948
|
* @param {*} [options] Override http request option.
|
|
9949
9949
|
* @throws {RequiredError}
|
|
9950
9950
|
*/
|
|
9951
|
-
async deleteTag(
|
|
9952
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTag(
|
|
9951
|
+
async deleteTag(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9952
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTag(key, options);
|
|
9953
9953
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9954
9954
|
},
|
|
9955
9955
|
/**
|
|
9956
9956
|
* This method returns all information about a specific tag.
|
|
9957
9957
|
* @summary Method will return tag details.
|
|
9958
|
-
* @param {string}
|
|
9958
|
+
* @param {string} key Tag Key
|
|
9959
9959
|
* @param {*} [options] Override http request option.
|
|
9960
9960
|
* @throws {RequiredError}
|
|
9961
9961
|
*/
|
|
9962
|
-
async getTagByID(
|
|
9963
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTagByID(
|
|
9962
|
+
async getTagByID(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>> {
|
|
9963
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTagByID(key, options);
|
|
9964
9964
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9965
9965
|
},
|
|
9966
9966
|
/**
|
|
@@ -9978,13 +9978,13 @@ export const TagApiFp = function(configuration?: Configuration) {
|
|
|
9978
9978
|
/**
|
|
9979
9979
|
* This method allows updating a tag in the system.
|
|
9980
9980
|
* @summary Method allows to update tag.
|
|
9981
|
-
* @param {string}
|
|
9981
|
+
* @param {string} key Tag key
|
|
9982
9982
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
9983
9983
|
* @param {*} [options] Override http request option.
|
|
9984
9984
|
* @throws {RequiredError}
|
|
9985
9985
|
*/
|
|
9986
|
-
async updateTag(
|
|
9987
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTag(
|
|
9986
|
+
async updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>> {
|
|
9987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTag(key, updateTagRequest, options);
|
|
9988
9988
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9989
9989
|
},
|
|
9990
9990
|
}
|
|
@@ -10010,22 +10010,22 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
10010
10010
|
/**
|
|
10011
10011
|
* This method allows deleting a tag from the system.
|
|
10012
10012
|
* @summary Method allows to delete tag.
|
|
10013
|
-
* @param {string}
|
|
10013
|
+
* @param {string} key Tag key
|
|
10014
10014
|
* @param {*} [options] Override http request option.
|
|
10015
10015
|
* @throws {RequiredError}
|
|
10016
10016
|
*/
|
|
10017
|
-
deleteTag(
|
|
10018
|
-
return localVarFp.deleteTag(
|
|
10017
|
+
deleteTag(key: string, options?: any): AxiosPromise<void> {
|
|
10018
|
+
return localVarFp.deleteTag(key, options).then((request) => request(axios, basePath));
|
|
10019
10019
|
},
|
|
10020
10020
|
/**
|
|
10021
10021
|
* This method returns all information about a specific tag.
|
|
10022
10022
|
* @summary Method will return tag details.
|
|
10023
|
-
* @param {string}
|
|
10023
|
+
* @param {string} key Tag Key
|
|
10024
10024
|
* @param {*} [options] Override http request option.
|
|
10025
10025
|
* @throws {RequiredError}
|
|
10026
10026
|
*/
|
|
10027
|
-
getTagByID(
|
|
10028
|
-
return localVarFp.getTagByID(
|
|
10027
|
+
getTagByID(key: string, options?: any): AxiosPromise<TagDetailed> {
|
|
10028
|
+
return localVarFp.getTagByID(key, options).then((request) => request(axios, basePath));
|
|
10029
10029
|
},
|
|
10030
10030
|
/**
|
|
10031
10031
|
* This method returns a list of all tags in the system.
|
|
@@ -10041,13 +10041,13 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
10041
10041
|
/**
|
|
10042
10042
|
* This method allows updating a tag in the system.
|
|
10043
10043
|
* @summary Method allows to update tag.
|
|
10044
|
-
* @param {string}
|
|
10044
|
+
* @param {string} key Tag key
|
|
10045
10045
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
10046
10046
|
* @param {*} [options] Override http request option.
|
|
10047
10047
|
* @throws {RequiredError}
|
|
10048
10048
|
*/
|
|
10049
|
-
updateTag(
|
|
10050
|
-
return localVarFp.updateTag(
|
|
10049
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed> {
|
|
10050
|
+
return localVarFp.updateTag(key, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
10051
10051
|
},
|
|
10052
10052
|
};
|
|
10053
10053
|
};
|
|
@@ -10074,25 +10074,25 @@ export class TagApi extends BaseAPI {
|
|
|
10074
10074
|
/**
|
|
10075
10075
|
* This method allows deleting a tag from the system.
|
|
10076
10076
|
* @summary Method allows to delete tag.
|
|
10077
|
-
* @param {string}
|
|
10077
|
+
* @param {string} key Tag key
|
|
10078
10078
|
* @param {*} [options] Override http request option.
|
|
10079
10079
|
* @throws {RequiredError}
|
|
10080
10080
|
* @memberof TagApi
|
|
10081
10081
|
*/
|
|
10082
|
-
public deleteTag(
|
|
10083
|
-
return TagApiFp(this.configuration).deleteTag(
|
|
10082
|
+
public deleteTag(key: string, options?: AxiosRequestConfig) {
|
|
10083
|
+
return TagApiFp(this.configuration).deleteTag(key, options).then((request) => request(this.axios, this.basePath));
|
|
10084
10084
|
}
|
|
10085
10085
|
|
|
10086
10086
|
/**
|
|
10087
10087
|
* This method returns all information about a specific tag.
|
|
10088
10088
|
* @summary Method will return tag details.
|
|
10089
|
-
* @param {string}
|
|
10089
|
+
* @param {string} key Tag Key
|
|
10090
10090
|
* @param {*} [options] Override http request option.
|
|
10091
10091
|
* @throws {RequiredError}
|
|
10092
10092
|
* @memberof TagApi
|
|
10093
10093
|
*/
|
|
10094
|
-
public getTagByID(
|
|
10095
|
-
return TagApiFp(this.configuration).getTagByID(
|
|
10094
|
+
public getTagByID(key: string, options?: AxiosRequestConfig) {
|
|
10095
|
+
return TagApiFp(this.configuration).getTagByID(key, options).then((request) => request(this.axios, this.basePath));
|
|
10096
10096
|
}
|
|
10097
10097
|
|
|
10098
10098
|
/**
|
|
@@ -10111,14 +10111,14 @@ export class TagApi extends BaseAPI {
|
|
|
10111
10111
|
/**
|
|
10112
10112
|
* This method allows updating a tag in the system.
|
|
10113
10113
|
* @summary Method allows to update tag.
|
|
10114
|
-
* @param {string}
|
|
10114
|
+
* @param {string} key Tag key
|
|
10115
10115
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
10116
10116
|
* @param {*} [options] Override http request option.
|
|
10117
10117
|
* @throws {RequiredError}
|
|
10118
10118
|
* @memberof TagApi
|
|
10119
10119
|
*/
|
|
10120
|
-
public updateTag(
|
|
10121
|
-
return TagApiFp(this.configuration).updateTag(
|
|
10120
|
+
public updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) {
|
|
10121
|
+
return TagApiFp(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10122
10122
|
}
|
|
10123
10123
|
}
|
|
10124
10124
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2533,13 +2533,13 @@ export interface Tag {
|
|
|
2533
2533
|
* @type {string}
|
|
2534
2534
|
* @memberof Tag
|
|
2535
2535
|
*/
|
|
2536
|
-
'
|
|
2536
|
+
'key': string;
|
|
2537
2537
|
/**
|
|
2538
2538
|
*
|
|
2539
2539
|
* @type {string}
|
|
2540
2540
|
* @memberof Tag
|
|
2541
2541
|
*/
|
|
2542
|
-
'
|
|
2542
|
+
'description': string;
|
|
2543
2543
|
/**
|
|
2544
2544
|
*
|
|
2545
2545
|
* @type {TagDataType}
|
|
@@ -2633,13 +2633,13 @@ export interface TagDetailed {
|
|
|
2633
2633
|
* @type {string}
|
|
2634
2634
|
* @memberof TagDetailed
|
|
2635
2635
|
*/
|
|
2636
|
-
'
|
|
2636
|
+
'key': string;
|
|
2637
2637
|
/**
|
|
2638
2638
|
*
|
|
2639
2639
|
* @type {string}
|
|
2640
2640
|
* @memberof TagDetailed
|
|
2641
2641
|
*/
|
|
2642
|
-
'
|
|
2642
|
+
'description': string;
|
|
2643
2643
|
/**
|
|
2644
2644
|
*
|
|
2645
2645
|
* @type {TagDataType}
|
|
@@ -6544,19 +6544,19 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6544
6544
|
/**
|
|
6545
6545
|
* This method allows deleting a tag from the system.
|
|
6546
6546
|
* @summary Method allows to delete tag.
|
|
6547
|
-
* @param {string}
|
|
6547
|
+
* @param {string} key Tag key
|
|
6548
6548
|
* @param {*} [options] Override http request option.
|
|
6549
6549
|
* @throws {RequiredError}
|
|
6550
6550
|
*/
|
|
6551
|
-
deleteTag: (
|
|
6551
|
+
deleteTag: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6552
6552
|
/**
|
|
6553
6553
|
* This method returns all information about a specific tag.
|
|
6554
6554
|
* @summary Method will return tag details.
|
|
6555
|
-
* @param {string}
|
|
6555
|
+
* @param {string} key Tag Key
|
|
6556
6556
|
* @param {*} [options] Override http request option.
|
|
6557
6557
|
* @throws {RequiredError}
|
|
6558
6558
|
*/
|
|
6559
|
-
getTagByID: (
|
|
6559
|
+
getTagByID: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6560
6560
|
/**
|
|
6561
6561
|
* This method returns a list of all tags in the system.
|
|
6562
6562
|
* @summary Method returns tags list.
|
|
@@ -6569,12 +6569,12 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6569
6569
|
/**
|
|
6570
6570
|
* This method allows updating a tag in the system.
|
|
6571
6571
|
* @summary Method allows to update tag.
|
|
6572
|
-
* @param {string}
|
|
6572
|
+
* @param {string} key Tag key
|
|
6573
6573
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6574
6574
|
* @param {*} [options] Override http request option.
|
|
6575
6575
|
* @throws {RequiredError}
|
|
6576
6576
|
*/
|
|
6577
|
-
updateTag: (
|
|
6577
|
+
updateTag: (key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6578
6578
|
};
|
|
6579
6579
|
/**
|
|
6580
6580
|
* TagApi - functional programming interface
|
|
@@ -6592,19 +6592,19 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6592
6592
|
/**
|
|
6593
6593
|
* This method allows deleting a tag from the system.
|
|
6594
6594
|
* @summary Method allows to delete tag.
|
|
6595
|
-
* @param {string}
|
|
6595
|
+
* @param {string} key Tag key
|
|
6596
6596
|
* @param {*} [options] Override http request option.
|
|
6597
6597
|
* @throws {RequiredError}
|
|
6598
6598
|
*/
|
|
6599
|
-
deleteTag(
|
|
6599
|
+
deleteTag(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6600
6600
|
/**
|
|
6601
6601
|
* This method returns all information about a specific tag.
|
|
6602
6602
|
* @summary Method will return tag details.
|
|
6603
|
-
* @param {string}
|
|
6603
|
+
* @param {string} key Tag Key
|
|
6604
6604
|
* @param {*} [options] Override http request option.
|
|
6605
6605
|
* @throws {RequiredError}
|
|
6606
6606
|
*/
|
|
6607
|
-
getTagByID(
|
|
6607
|
+
getTagByID(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6608
6608
|
/**
|
|
6609
6609
|
* This method returns a list of all tags in the system.
|
|
6610
6610
|
* @summary Method returns tags list.
|
|
@@ -6617,12 +6617,12 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6617
6617
|
/**
|
|
6618
6618
|
* This method allows updating a tag in the system.
|
|
6619
6619
|
* @summary Method allows to update tag.
|
|
6620
|
-
* @param {string}
|
|
6620
|
+
* @param {string} key Tag key
|
|
6621
6621
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6622
6622
|
* @param {*} [options] Override http request option.
|
|
6623
6623
|
* @throws {RequiredError}
|
|
6624
6624
|
*/
|
|
6625
|
-
updateTag(
|
|
6625
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6626
6626
|
};
|
|
6627
6627
|
/**
|
|
6628
6628
|
* TagApi - factory interface
|
|
@@ -6640,19 +6640,19 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6640
6640
|
/**
|
|
6641
6641
|
* This method allows deleting a tag from the system.
|
|
6642
6642
|
* @summary Method allows to delete tag.
|
|
6643
|
-
* @param {string}
|
|
6643
|
+
* @param {string} key Tag key
|
|
6644
6644
|
* @param {*} [options] Override http request option.
|
|
6645
6645
|
* @throws {RequiredError}
|
|
6646
6646
|
*/
|
|
6647
|
-
deleteTag(
|
|
6647
|
+
deleteTag(key: string, options?: any): AxiosPromise<void>;
|
|
6648
6648
|
/**
|
|
6649
6649
|
* This method returns all information about a specific tag.
|
|
6650
6650
|
* @summary Method will return tag details.
|
|
6651
|
-
* @param {string}
|
|
6651
|
+
* @param {string} key Tag Key
|
|
6652
6652
|
* @param {*} [options] Override http request option.
|
|
6653
6653
|
* @throws {RequiredError}
|
|
6654
6654
|
*/
|
|
6655
|
-
getTagByID(
|
|
6655
|
+
getTagByID(key: string, options?: any): AxiosPromise<TagDetailed>;
|
|
6656
6656
|
/**
|
|
6657
6657
|
* This method returns a list of all tags in the system.
|
|
6658
6658
|
* @summary Method returns tags list.
|
|
@@ -6665,12 +6665,12 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6665
6665
|
/**
|
|
6666
6666
|
* This method allows updating a tag in the system.
|
|
6667
6667
|
* @summary Method allows to update tag.
|
|
6668
|
-
* @param {string}
|
|
6668
|
+
* @param {string} key Tag key
|
|
6669
6669
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6670
6670
|
* @param {*} [options] Override http request option.
|
|
6671
6671
|
* @throws {RequiredError}
|
|
6672
6672
|
*/
|
|
6673
|
-
updateTag(
|
|
6673
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed>;
|
|
6674
6674
|
};
|
|
6675
6675
|
/**
|
|
6676
6676
|
* TagApi - object-oriented interface
|
|
@@ -6691,21 +6691,21 @@ export declare class TagApi extends BaseAPI {
|
|
|
6691
6691
|
/**
|
|
6692
6692
|
* This method allows deleting a tag from the system.
|
|
6693
6693
|
* @summary Method allows to delete tag.
|
|
6694
|
-
* @param {string}
|
|
6694
|
+
* @param {string} key Tag key
|
|
6695
6695
|
* @param {*} [options] Override http request option.
|
|
6696
6696
|
* @throws {RequiredError}
|
|
6697
6697
|
* @memberof TagApi
|
|
6698
6698
|
*/
|
|
6699
|
-
deleteTag(
|
|
6699
|
+
deleteTag(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
6700
6700
|
/**
|
|
6701
6701
|
* This method returns all information about a specific tag.
|
|
6702
6702
|
* @summary Method will return tag details.
|
|
6703
|
-
* @param {string}
|
|
6703
|
+
* @param {string} key Tag Key
|
|
6704
6704
|
* @param {*} [options] Override http request option.
|
|
6705
6705
|
* @throws {RequiredError}
|
|
6706
6706
|
* @memberof TagApi
|
|
6707
6707
|
*/
|
|
6708
|
-
getTagByID(
|
|
6708
|
+
getTagByID(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6709
6709
|
/**
|
|
6710
6710
|
* This method returns a list of all tags in the system.
|
|
6711
6711
|
* @summary Method returns tags list.
|
|
@@ -6719,13 +6719,13 @@ export declare class TagApi extends BaseAPI {
|
|
|
6719
6719
|
/**
|
|
6720
6720
|
* This method allows updating a tag in the system.
|
|
6721
6721
|
* @summary Method allows to update tag.
|
|
6722
|
-
* @param {string}
|
|
6722
|
+
* @param {string} key Tag key
|
|
6723
6723
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6724
6724
|
* @param {*} [options] Override http request option.
|
|
6725
6725
|
* @throws {RequiredError}
|
|
6726
6726
|
* @memberof TagApi
|
|
6727
6727
|
*/
|
|
6728
|
-
updateTag(
|
|
6728
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6729
6729
|
}
|
|
6730
6730
|
/**
|
|
6731
6731
|
* TenantApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -5755,15 +5755,15 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5755
5755
|
/**
|
|
5756
5756
|
* This method allows deleting a tag from the system.
|
|
5757
5757
|
* @summary Method allows to delete tag.
|
|
5758
|
-
* @param {string}
|
|
5758
|
+
* @param {string} key Tag key
|
|
5759
5759
|
* @param {*} [options] Override http request option.
|
|
5760
5760
|
* @throws {RequiredError}
|
|
5761
5761
|
*/
|
|
5762
|
-
deleteTag: (
|
|
5763
|
-
// verify required parameter '
|
|
5764
|
-
(0, common_1.assertParamExists)('deleteTag', '
|
|
5765
|
-
const localVarPath = `/admins/tags/{
|
|
5766
|
-
.replace(`{${"
|
|
5762
|
+
deleteTag: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5763
|
+
// verify required parameter 'key' is not null or undefined
|
|
5764
|
+
(0, common_1.assertParamExists)('deleteTag', 'key', key);
|
|
5765
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5766
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5767
5767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5768
5768
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5769
5769
|
let baseOptions;
|
|
@@ -5787,15 +5787,15 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5787
5787
|
/**
|
|
5788
5788
|
* This method returns all information about a specific tag.
|
|
5789
5789
|
* @summary Method will return tag details.
|
|
5790
|
-
* @param {string}
|
|
5790
|
+
* @param {string} key Tag Key
|
|
5791
5791
|
* @param {*} [options] Override http request option.
|
|
5792
5792
|
* @throws {RequiredError}
|
|
5793
5793
|
*/
|
|
5794
|
-
getTagByID: (
|
|
5795
|
-
// verify required parameter '
|
|
5796
|
-
(0, common_1.assertParamExists)('getTagByID', '
|
|
5797
|
-
const localVarPath = `/admins/tags/{
|
|
5798
|
-
.replace(`{${"
|
|
5794
|
+
getTagByID: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5795
|
+
// verify required parameter 'key' is not null or undefined
|
|
5796
|
+
(0, common_1.assertParamExists)('getTagByID', 'key', key);
|
|
5797
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5798
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5799
5799
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5800
5800
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5801
5801
|
let baseOptions;
|
|
@@ -5855,16 +5855,16 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5855
5855
|
/**
|
|
5856
5856
|
* This method allows updating a tag in the system.
|
|
5857
5857
|
* @summary Method allows to update tag.
|
|
5858
|
-
* @param {string}
|
|
5858
|
+
* @param {string} key Tag key
|
|
5859
5859
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5860
5860
|
* @param {*} [options] Override http request option.
|
|
5861
5861
|
* @throws {RequiredError}
|
|
5862
5862
|
*/
|
|
5863
|
-
updateTag: (
|
|
5864
|
-
// verify required parameter '
|
|
5865
|
-
(0, common_1.assertParamExists)('updateTag', '
|
|
5866
|
-
const localVarPath = `/admins/tags/{
|
|
5867
|
-
.replace(`{${"
|
|
5863
|
+
updateTag: (key, updateTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5864
|
+
// verify required parameter 'key' is not null or undefined
|
|
5865
|
+
(0, common_1.assertParamExists)('updateTag', 'key', key);
|
|
5866
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5867
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5868
5868
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5869
5869
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5870
5870
|
let baseOptions;
|
|
@@ -5915,26 +5915,26 @@ const TagApiFp = function (configuration) {
|
|
|
5915
5915
|
/**
|
|
5916
5916
|
* This method allows deleting a tag from the system.
|
|
5917
5917
|
* @summary Method allows to delete tag.
|
|
5918
|
-
* @param {string}
|
|
5918
|
+
* @param {string} key Tag key
|
|
5919
5919
|
* @param {*} [options] Override http request option.
|
|
5920
5920
|
* @throws {RequiredError}
|
|
5921
5921
|
*/
|
|
5922
|
-
deleteTag(
|
|
5922
|
+
deleteTag(key, options) {
|
|
5923
5923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5924
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(
|
|
5924
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(key, options);
|
|
5925
5925
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5926
5926
|
});
|
|
5927
5927
|
},
|
|
5928
5928
|
/**
|
|
5929
5929
|
* This method returns all information about a specific tag.
|
|
5930
5930
|
* @summary Method will return tag details.
|
|
5931
|
-
* @param {string}
|
|
5931
|
+
* @param {string} key Tag Key
|
|
5932
5932
|
* @param {*} [options] Override http request option.
|
|
5933
5933
|
* @throws {RequiredError}
|
|
5934
5934
|
*/
|
|
5935
|
-
getTagByID(
|
|
5935
|
+
getTagByID(key, options) {
|
|
5936
5936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5937
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(
|
|
5937
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(key, options);
|
|
5938
5938
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5939
5939
|
});
|
|
5940
5940
|
},
|
|
@@ -5955,14 +5955,14 @@ const TagApiFp = function (configuration) {
|
|
|
5955
5955
|
/**
|
|
5956
5956
|
* This method allows updating a tag in the system.
|
|
5957
5957
|
* @summary Method allows to update tag.
|
|
5958
|
-
* @param {string}
|
|
5958
|
+
* @param {string} key Tag key
|
|
5959
5959
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5960
5960
|
* @param {*} [options] Override http request option.
|
|
5961
5961
|
* @throws {RequiredError}
|
|
5962
5962
|
*/
|
|
5963
|
-
updateTag(
|
|
5963
|
+
updateTag(key, updateTagRequest, options) {
|
|
5964
5964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5965
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(
|
|
5965
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(key, updateTagRequest, options);
|
|
5966
5966
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5967
5967
|
});
|
|
5968
5968
|
},
|
|
@@ -5989,22 +5989,22 @@ const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5989
5989
|
/**
|
|
5990
5990
|
* This method allows deleting a tag from the system.
|
|
5991
5991
|
* @summary Method allows to delete tag.
|
|
5992
|
-
* @param {string}
|
|
5992
|
+
* @param {string} key Tag key
|
|
5993
5993
|
* @param {*} [options] Override http request option.
|
|
5994
5994
|
* @throws {RequiredError}
|
|
5995
5995
|
*/
|
|
5996
|
-
deleteTag(
|
|
5997
|
-
return localVarFp.deleteTag(
|
|
5996
|
+
deleteTag(key, options) {
|
|
5997
|
+
return localVarFp.deleteTag(key, options).then((request) => request(axios, basePath));
|
|
5998
5998
|
},
|
|
5999
5999
|
/**
|
|
6000
6000
|
* This method returns all information about a specific tag.
|
|
6001
6001
|
* @summary Method will return tag details.
|
|
6002
|
-
* @param {string}
|
|
6002
|
+
* @param {string} key Tag Key
|
|
6003
6003
|
* @param {*} [options] Override http request option.
|
|
6004
6004
|
* @throws {RequiredError}
|
|
6005
6005
|
*/
|
|
6006
|
-
getTagByID(
|
|
6007
|
-
return localVarFp.getTagByID(
|
|
6006
|
+
getTagByID(key, options) {
|
|
6007
|
+
return localVarFp.getTagByID(key, options).then((request) => request(axios, basePath));
|
|
6008
6008
|
},
|
|
6009
6009
|
/**
|
|
6010
6010
|
* This method returns a list of all tags in the system.
|
|
@@ -6020,13 +6020,13 @@ const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
6020
6020
|
/**
|
|
6021
6021
|
* This method allows updating a tag in the system.
|
|
6022
6022
|
* @summary Method allows to update tag.
|
|
6023
|
-
* @param {string}
|
|
6023
|
+
* @param {string} key Tag key
|
|
6024
6024
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6025
6025
|
* @param {*} [options] Override http request option.
|
|
6026
6026
|
* @throws {RequiredError}
|
|
6027
6027
|
*/
|
|
6028
|
-
updateTag(
|
|
6029
|
-
return localVarFp.updateTag(
|
|
6028
|
+
updateTag(key, updateTagRequest, options) {
|
|
6029
|
+
return localVarFp.updateTag(key, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
6030
6030
|
},
|
|
6031
6031
|
};
|
|
6032
6032
|
};
|
|
@@ -6052,24 +6052,24 @@ class TagApi extends base_1.BaseAPI {
|
|
|
6052
6052
|
/**
|
|
6053
6053
|
* This method allows deleting a tag from the system.
|
|
6054
6054
|
* @summary Method allows to delete tag.
|
|
6055
|
-
* @param {string}
|
|
6055
|
+
* @param {string} key Tag key
|
|
6056
6056
|
* @param {*} [options] Override http request option.
|
|
6057
6057
|
* @throws {RequiredError}
|
|
6058
6058
|
* @memberof TagApi
|
|
6059
6059
|
*/
|
|
6060
|
-
deleteTag(
|
|
6061
|
-
return (0, exports.TagApiFp)(this.configuration).deleteTag(
|
|
6060
|
+
deleteTag(key, options) {
|
|
6061
|
+
return (0, exports.TagApiFp)(this.configuration).deleteTag(key, options).then((request) => request(this.axios, this.basePath));
|
|
6062
6062
|
}
|
|
6063
6063
|
/**
|
|
6064
6064
|
* This method returns all information about a specific tag.
|
|
6065
6065
|
* @summary Method will return tag details.
|
|
6066
|
-
* @param {string}
|
|
6066
|
+
* @param {string} key Tag Key
|
|
6067
6067
|
* @param {*} [options] Override http request option.
|
|
6068
6068
|
* @throws {RequiredError}
|
|
6069
6069
|
* @memberof TagApi
|
|
6070
6070
|
*/
|
|
6071
|
-
getTagByID(
|
|
6072
|
-
return (0, exports.TagApiFp)(this.configuration).getTagByID(
|
|
6071
|
+
getTagByID(key, options) {
|
|
6072
|
+
return (0, exports.TagApiFp)(this.configuration).getTagByID(key, options).then((request) => request(this.axios, this.basePath));
|
|
6073
6073
|
}
|
|
6074
6074
|
/**
|
|
6075
6075
|
* This method returns a list of all tags in the system.
|
|
@@ -6086,14 +6086,14 @@ class TagApi extends base_1.BaseAPI {
|
|
|
6086
6086
|
/**
|
|
6087
6087
|
* This method allows updating a tag in the system.
|
|
6088
6088
|
* @summary Method allows to update tag.
|
|
6089
|
-
* @param {string}
|
|
6089
|
+
* @param {string} key Tag key
|
|
6090
6090
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6091
6091
|
* @param {*} [options] Override http request option.
|
|
6092
6092
|
* @throws {RequiredError}
|
|
6093
6093
|
* @memberof TagApi
|
|
6094
6094
|
*/
|
|
6095
|
-
updateTag(
|
|
6096
|
-
return (0, exports.TagApiFp)(this.configuration).updateTag(
|
|
6095
|
+
updateTag(key, updateTagRequest, options) {
|
|
6096
|
+
return (0, exports.TagApiFp)(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6097
6097
|
}
|
|
6098
6098
|
}
|
|
6099
6099
|
exports.TagApi = TagApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2533,13 +2533,13 @@ export interface Tag {
|
|
|
2533
2533
|
* @type {string}
|
|
2534
2534
|
* @memberof Tag
|
|
2535
2535
|
*/
|
|
2536
|
-
'
|
|
2536
|
+
'key': string;
|
|
2537
2537
|
/**
|
|
2538
2538
|
*
|
|
2539
2539
|
* @type {string}
|
|
2540
2540
|
* @memberof Tag
|
|
2541
2541
|
*/
|
|
2542
|
-
'
|
|
2542
|
+
'description': string;
|
|
2543
2543
|
/**
|
|
2544
2544
|
*
|
|
2545
2545
|
* @type {TagDataType}
|
|
@@ -2633,13 +2633,13 @@ export interface TagDetailed {
|
|
|
2633
2633
|
* @type {string}
|
|
2634
2634
|
* @memberof TagDetailed
|
|
2635
2635
|
*/
|
|
2636
|
-
'
|
|
2636
|
+
'key': string;
|
|
2637
2637
|
/**
|
|
2638
2638
|
*
|
|
2639
2639
|
* @type {string}
|
|
2640
2640
|
* @memberof TagDetailed
|
|
2641
2641
|
*/
|
|
2642
|
-
'
|
|
2642
|
+
'description': string;
|
|
2643
2643
|
/**
|
|
2644
2644
|
*
|
|
2645
2645
|
* @type {TagDataType}
|
|
@@ -6544,19 +6544,19 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6544
6544
|
/**
|
|
6545
6545
|
* This method allows deleting a tag from the system.
|
|
6546
6546
|
* @summary Method allows to delete tag.
|
|
6547
|
-
* @param {string}
|
|
6547
|
+
* @param {string} key Tag key
|
|
6548
6548
|
* @param {*} [options] Override http request option.
|
|
6549
6549
|
* @throws {RequiredError}
|
|
6550
6550
|
*/
|
|
6551
|
-
deleteTag: (
|
|
6551
|
+
deleteTag: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6552
6552
|
/**
|
|
6553
6553
|
* This method returns all information about a specific tag.
|
|
6554
6554
|
* @summary Method will return tag details.
|
|
6555
|
-
* @param {string}
|
|
6555
|
+
* @param {string} key Tag Key
|
|
6556
6556
|
* @param {*} [options] Override http request option.
|
|
6557
6557
|
* @throws {RequiredError}
|
|
6558
6558
|
*/
|
|
6559
|
-
getTagByID: (
|
|
6559
|
+
getTagByID: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6560
6560
|
/**
|
|
6561
6561
|
* This method returns a list of all tags in the system.
|
|
6562
6562
|
* @summary Method returns tags list.
|
|
@@ -6569,12 +6569,12 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6569
6569
|
/**
|
|
6570
6570
|
* This method allows updating a tag in the system.
|
|
6571
6571
|
* @summary Method allows to update tag.
|
|
6572
|
-
* @param {string}
|
|
6572
|
+
* @param {string} key Tag key
|
|
6573
6573
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6574
6574
|
* @param {*} [options] Override http request option.
|
|
6575
6575
|
* @throws {RequiredError}
|
|
6576
6576
|
*/
|
|
6577
|
-
updateTag: (
|
|
6577
|
+
updateTag: (key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6578
6578
|
};
|
|
6579
6579
|
/**
|
|
6580
6580
|
* TagApi - functional programming interface
|
|
@@ -6592,19 +6592,19 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6592
6592
|
/**
|
|
6593
6593
|
* This method allows deleting a tag from the system.
|
|
6594
6594
|
* @summary Method allows to delete tag.
|
|
6595
|
-
* @param {string}
|
|
6595
|
+
* @param {string} key Tag key
|
|
6596
6596
|
* @param {*} [options] Override http request option.
|
|
6597
6597
|
* @throws {RequiredError}
|
|
6598
6598
|
*/
|
|
6599
|
-
deleteTag(
|
|
6599
|
+
deleteTag(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6600
6600
|
/**
|
|
6601
6601
|
* This method returns all information about a specific tag.
|
|
6602
6602
|
* @summary Method will return tag details.
|
|
6603
|
-
* @param {string}
|
|
6603
|
+
* @param {string} key Tag Key
|
|
6604
6604
|
* @param {*} [options] Override http request option.
|
|
6605
6605
|
* @throws {RequiredError}
|
|
6606
6606
|
*/
|
|
6607
|
-
getTagByID(
|
|
6607
|
+
getTagByID(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6608
6608
|
/**
|
|
6609
6609
|
* This method returns a list of all tags in the system.
|
|
6610
6610
|
* @summary Method returns tags list.
|
|
@@ -6617,12 +6617,12 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6617
6617
|
/**
|
|
6618
6618
|
* This method allows updating a tag in the system.
|
|
6619
6619
|
* @summary Method allows to update tag.
|
|
6620
|
-
* @param {string}
|
|
6620
|
+
* @param {string} key Tag key
|
|
6621
6621
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6622
6622
|
* @param {*} [options] Override http request option.
|
|
6623
6623
|
* @throws {RequiredError}
|
|
6624
6624
|
*/
|
|
6625
|
-
updateTag(
|
|
6625
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6626
6626
|
};
|
|
6627
6627
|
/**
|
|
6628
6628
|
* TagApi - factory interface
|
|
@@ -6640,19 +6640,19 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6640
6640
|
/**
|
|
6641
6641
|
* This method allows deleting a tag from the system.
|
|
6642
6642
|
* @summary Method allows to delete tag.
|
|
6643
|
-
* @param {string}
|
|
6643
|
+
* @param {string} key Tag key
|
|
6644
6644
|
* @param {*} [options] Override http request option.
|
|
6645
6645
|
* @throws {RequiredError}
|
|
6646
6646
|
*/
|
|
6647
|
-
deleteTag(
|
|
6647
|
+
deleteTag(key: string, options?: any): AxiosPromise<void>;
|
|
6648
6648
|
/**
|
|
6649
6649
|
* This method returns all information about a specific tag.
|
|
6650
6650
|
* @summary Method will return tag details.
|
|
6651
|
-
* @param {string}
|
|
6651
|
+
* @param {string} key Tag Key
|
|
6652
6652
|
* @param {*} [options] Override http request option.
|
|
6653
6653
|
* @throws {RequiredError}
|
|
6654
6654
|
*/
|
|
6655
|
-
getTagByID(
|
|
6655
|
+
getTagByID(key: string, options?: any): AxiosPromise<TagDetailed>;
|
|
6656
6656
|
/**
|
|
6657
6657
|
* This method returns a list of all tags in the system.
|
|
6658
6658
|
* @summary Method returns tags list.
|
|
@@ -6665,12 +6665,12 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6665
6665
|
/**
|
|
6666
6666
|
* This method allows updating a tag in the system.
|
|
6667
6667
|
* @summary Method allows to update tag.
|
|
6668
|
-
* @param {string}
|
|
6668
|
+
* @param {string} key Tag key
|
|
6669
6669
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6670
6670
|
* @param {*} [options] Override http request option.
|
|
6671
6671
|
* @throws {RequiredError}
|
|
6672
6672
|
*/
|
|
6673
|
-
updateTag(
|
|
6673
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed>;
|
|
6674
6674
|
};
|
|
6675
6675
|
/**
|
|
6676
6676
|
* TagApi - object-oriented interface
|
|
@@ -6691,21 +6691,21 @@ export declare class TagApi extends BaseAPI {
|
|
|
6691
6691
|
/**
|
|
6692
6692
|
* This method allows deleting a tag from the system.
|
|
6693
6693
|
* @summary Method allows to delete tag.
|
|
6694
|
-
* @param {string}
|
|
6694
|
+
* @param {string} key Tag key
|
|
6695
6695
|
* @param {*} [options] Override http request option.
|
|
6696
6696
|
* @throws {RequiredError}
|
|
6697
6697
|
* @memberof TagApi
|
|
6698
6698
|
*/
|
|
6699
|
-
deleteTag(
|
|
6699
|
+
deleteTag(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
6700
6700
|
/**
|
|
6701
6701
|
* This method returns all information about a specific tag.
|
|
6702
6702
|
* @summary Method will return tag details.
|
|
6703
|
-
* @param {string}
|
|
6703
|
+
* @param {string} key Tag Key
|
|
6704
6704
|
* @param {*} [options] Override http request option.
|
|
6705
6705
|
* @throws {RequiredError}
|
|
6706
6706
|
* @memberof TagApi
|
|
6707
6707
|
*/
|
|
6708
|
-
getTagByID(
|
|
6708
|
+
getTagByID(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6709
6709
|
/**
|
|
6710
6710
|
* This method returns a list of all tags in the system.
|
|
6711
6711
|
* @summary Method returns tags list.
|
|
@@ -6719,13 +6719,13 @@ export declare class TagApi extends BaseAPI {
|
|
|
6719
6719
|
/**
|
|
6720
6720
|
* This method allows updating a tag in the system.
|
|
6721
6721
|
* @summary Method allows to update tag.
|
|
6722
|
-
* @param {string}
|
|
6722
|
+
* @param {string} key Tag key
|
|
6723
6723
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6724
6724
|
* @param {*} [options] Override http request option.
|
|
6725
6725
|
* @throws {RequiredError}
|
|
6726
6726
|
* @memberof TagApi
|
|
6727
6727
|
*/
|
|
6728
|
-
updateTag(
|
|
6728
|
+
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6729
6729
|
}
|
|
6730
6730
|
/**
|
|
6731
6731
|
* TenantApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -5690,15 +5690,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5690
5690
|
/**
|
|
5691
5691
|
* This method allows deleting a tag from the system.
|
|
5692
5692
|
* @summary Method allows to delete tag.
|
|
5693
|
-
* @param {string}
|
|
5693
|
+
* @param {string} key Tag key
|
|
5694
5694
|
* @param {*} [options] Override http request option.
|
|
5695
5695
|
* @throws {RequiredError}
|
|
5696
5696
|
*/
|
|
5697
|
-
deleteTag: (
|
|
5698
|
-
// verify required parameter '
|
|
5699
|
-
assertParamExists('deleteTag', '
|
|
5700
|
-
const localVarPath = `/admins/tags/{
|
|
5701
|
-
.replace(`{${"
|
|
5697
|
+
deleteTag: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5698
|
+
// verify required parameter 'key' is not null or undefined
|
|
5699
|
+
assertParamExists('deleteTag', 'key', key);
|
|
5700
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5701
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5702
5702
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5703
5703
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5704
5704
|
let baseOptions;
|
|
@@ -5722,15 +5722,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5722
5722
|
/**
|
|
5723
5723
|
* This method returns all information about a specific tag.
|
|
5724
5724
|
* @summary Method will return tag details.
|
|
5725
|
-
* @param {string}
|
|
5725
|
+
* @param {string} key Tag Key
|
|
5726
5726
|
* @param {*} [options] Override http request option.
|
|
5727
5727
|
* @throws {RequiredError}
|
|
5728
5728
|
*/
|
|
5729
|
-
getTagByID: (
|
|
5730
|
-
// verify required parameter '
|
|
5731
|
-
assertParamExists('getTagByID', '
|
|
5732
|
-
const localVarPath = `/admins/tags/{
|
|
5733
|
-
.replace(`{${"
|
|
5729
|
+
getTagByID: (key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5730
|
+
// verify required parameter 'key' is not null or undefined
|
|
5731
|
+
assertParamExists('getTagByID', 'key', key);
|
|
5732
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5733
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5734
5734
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5735
5735
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5736
5736
|
let baseOptions;
|
|
@@ -5790,16 +5790,16 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5790
5790
|
/**
|
|
5791
5791
|
* This method allows updating a tag in the system.
|
|
5792
5792
|
* @summary Method allows to update tag.
|
|
5793
|
-
* @param {string}
|
|
5793
|
+
* @param {string} key Tag key
|
|
5794
5794
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5795
5795
|
* @param {*} [options] Override http request option.
|
|
5796
5796
|
* @throws {RequiredError}
|
|
5797
5797
|
*/
|
|
5798
|
-
updateTag: (
|
|
5799
|
-
// verify required parameter '
|
|
5800
|
-
assertParamExists('updateTag', '
|
|
5801
|
-
const localVarPath = `/admins/tags/{
|
|
5802
|
-
.replace(`{${"
|
|
5798
|
+
updateTag: (key, updateTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5799
|
+
// verify required parameter 'key' is not null or undefined
|
|
5800
|
+
assertParamExists('updateTag', 'key', key);
|
|
5801
|
+
const localVarPath = `/admins/tags/{key}`
|
|
5802
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
5803
5803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5804
5804
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5805
5805
|
let baseOptions;
|
|
@@ -5849,26 +5849,26 @@ export const TagApiFp = function (configuration) {
|
|
|
5849
5849
|
/**
|
|
5850
5850
|
* This method allows deleting a tag from the system.
|
|
5851
5851
|
* @summary Method allows to delete tag.
|
|
5852
|
-
* @param {string}
|
|
5852
|
+
* @param {string} key Tag key
|
|
5853
5853
|
* @param {*} [options] Override http request option.
|
|
5854
5854
|
* @throws {RequiredError}
|
|
5855
5855
|
*/
|
|
5856
|
-
deleteTag(
|
|
5856
|
+
deleteTag(key, options) {
|
|
5857
5857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5858
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(
|
|
5858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(key, options);
|
|
5859
5859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5860
5860
|
});
|
|
5861
5861
|
},
|
|
5862
5862
|
/**
|
|
5863
5863
|
* This method returns all information about a specific tag.
|
|
5864
5864
|
* @summary Method will return tag details.
|
|
5865
|
-
* @param {string}
|
|
5865
|
+
* @param {string} key Tag Key
|
|
5866
5866
|
* @param {*} [options] Override http request option.
|
|
5867
5867
|
* @throws {RequiredError}
|
|
5868
5868
|
*/
|
|
5869
|
-
getTagByID(
|
|
5869
|
+
getTagByID(key, options) {
|
|
5870
5870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5871
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(
|
|
5871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(key, options);
|
|
5872
5872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5873
5873
|
});
|
|
5874
5874
|
},
|
|
@@ -5889,14 +5889,14 @@ export const TagApiFp = function (configuration) {
|
|
|
5889
5889
|
/**
|
|
5890
5890
|
* This method allows updating a tag in the system.
|
|
5891
5891
|
* @summary Method allows to update tag.
|
|
5892
|
-
* @param {string}
|
|
5892
|
+
* @param {string} key Tag key
|
|
5893
5893
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5894
5894
|
* @param {*} [options] Override http request option.
|
|
5895
5895
|
* @throws {RequiredError}
|
|
5896
5896
|
*/
|
|
5897
|
-
updateTag(
|
|
5897
|
+
updateTag(key, updateTagRequest, options) {
|
|
5898
5898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5899
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(
|
|
5899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(key, updateTagRequest, options);
|
|
5900
5900
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5901
5901
|
});
|
|
5902
5902
|
},
|
|
@@ -5922,22 +5922,22 @@ export const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5922
5922
|
/**
|
|
5923
5923
|
* This method allows deleting a tag from the system.
|
|
5924
5924
|
* @summary Method allows to delete tag.
|
|
5925
|
-
* @param {string}
|
|
5925
|
+
* @param {string} key Tag key
|
|
5926
5926
|
* @param {*} [options] Override http request option.
|
|
5927
5927
|
* @throws {RequiredError}
|
|
5928
5928
|
*/
|
|
5929
|
-
deleteTag(
|
|
5930
|
-
return localVarFp.deleteTag(
|
|
5929
|
+
deleteTag(key, options) {
|
|
5930
|
+
return localVarFp.deleteTag(key, options).then((request) => request(axios, basePath));
|
|
5931
5931
|
},
|
|
5932
5932
|
/**
|
|
5933
5933
|
* This method returns all information about a specific tag.
|
|
5934
5934
|
* @summary Method will return tag details.
|
|
5935
|
-
* @param {string}
|
|
5935
|
+
* @param {string} key Tag Key
|
|
5936
5936
|
* @param {*} [options] Override http request option.
|
|
5937
5937
|
* @throws {RequiredError}
|
|
5938
5938
|
*/
|
|
5939
|
-
getTagByID(
|
|
5940
|
-
return localVarFp.getTagByID(
|
|
5939
|
+
getTagByID(key, options) {
|
|
5940
|
+
return localVarFp.getTagByID(key, options).then((request) => request(axios, basePath));
|
|
5941
5941
|
},
|
|
5942
5942
|
/**
|
|
5943
5943
|
* This method returns a list of all tags in the system.
|
|
@@ -5953,13 +5953,13 @@ export const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5953
5953
|
/**
|
|
5954
5954
|
* This method allows updating a tag in the system.
|
|
5955
5955
|
* @summary Method allows to update tag.
|
|
5956
|
-
* @param {string}
|
|
5956
|
+
* @param {string} key Tag key
|
|
5957
5957
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5958
5958
|
* @param {*} [options] Override http request option.
|
|
5959
5959
|
* @throws {RequiredError}
|
|
5960
5960
|
*/
|
|
5961
|
-
updateTag(
|
|
5962
|
-
return localVarFp.updateTag(
|
|
5961
|
+
updateTag(key, updateTagRequest, options) {
|
|
5962
|
+
return localVarFp.updateTag(key, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
5963
5963
|
},
|
|
5964
5964
|
};
|
|
5965
5965
|
};
|
|
@@ -5984,24 +5984,24 @@ export class TagApi extends BaseAPI {
|
|
|
5984
5984
|
/**
|
|
5985
5985
|
* This method allows deleting a tag from the system.
|
|
5986
5986
|
* @summary Method allows to delete tag.
|
|
5987
|
-
* @param {string}
|
|
5987
|
+
* @param {string} key Tag key
|
|
5988
5988
|
* @param {*} [options] Override http request option.
|
|
5989
5989
|
* @throws {RequiredError}
|
|
5990
5990
|
* @memberof TagApi
|
|
5991
5991
|
*/
|
|
5992
|
-
deleteTag(
|
|
5993
|
-
return TagApiFp(this.configuration).deleteTag(
|
|
5992
|
+
deleteTag(key, options) {
|
|
5993
|
+
return TagApiFp(this.configuration).deleteTag(key, options).then((request) => request(this.axios, this.basePath));
|
|
5994
5994
|
}
|
|
5995
5995
|
/**
|
|
5996
5996
|
* This method returns all information about a specific tag.
|
|
5997
5997
|
* @summary Method will return tag details.
|
|
5998
|
-
* @param {string}
|
|
5998
|
+
* @param {string} key Tag Key
|
|
5999
5999
|
* @param {*} [options] Override http request option.
|
|
6000
6000
|
* @throws {RequiredError}
|
|
6001
6001
|
* @memberof TagApi
|
|
6002
6002
|
*/
|
|
6003
|
-
getTagByID(
|
|
6004
|
-
return TagApiFp(this.configuration).getTagByID(
|
|
6003
|
+
getTagByID(key, options) {
|
|
6004
|
+
return TagApiFp(this.configuration).getTagByID(key, options).then((request) => request(this.axios, this.basePath));
|
|
6005
6005
|
}
|
|
6006
6006
|
/**
|
|
6007
6007
|
* This method returns a list of all tags in the system.
|
|
@@ -6018,14 +6018,14 @@ export class TagApi extends BaseAPI {
|
|
|
6018
6018
|
/**
|
|
6019
6019
|
* This method allows updating a tag in the system.
|
|
6020
6020
|
* @summary Method allows to update tag.
|
|
6021
|
-
* @param {string}
|
|
6021
|
+
* @param {string} key Tag key
|
|
6022
6022
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6023
6023
|
* @param {*} [options] Override http request option.
|
|
6024
6024
|
* @throws {RequiredError}
|
|
6025
6025
|
* @memberof TagApi
|
|
6026
6026
|
*/
|
|
6027
|
-
updateTag(
|
|
6028
|
-
return TagApiFp(this.configuration).updateTag(
|
|
6027
|
+
updateTag(key, updateTagRequest, options) {
|
|
6028
|
+
return TagApiFp(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6029
6029
|
}
|
|
6030
6030
|
}
|
|
6031
6031
|
/**
|