flexinet-api 0.0.764-prerelease0 → 0.0.778-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 +135 -54
- package/dist/api.d.ts +110 -29
- package/dist/api.js +60 -54
- package/dist/esm/api.d.ts +110 -29
- package/dist/esm/api.js +60 -54
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2528,6 +2528,12 @@ export interface SystemUserDetails {
|
|
|
2528
2528
|
* @interface Tag
|
|
2529
2529
|
*/
|
|
2530
2530
|
export interface Tag {
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {string}
|
|
2534
|
+
* @memberof Tag
|
|
2535
|
+
*/
|
|
2536
|
+
'id': string;
|
|
2531
2537
|
/**
|
|
2532
2538
|
*
|
|
2533
2539
|
* @type {string}
|
|
@@ -2571,6 +2577,14 @@ export interface TagCreationRequest {
|
|
|
2571
2577
|
* @memberof TagCreationRequest
|
|
2572
2578
|
*/
|
|
2573
2579
|
'key': string;
|
|
2580
|
+
/**
|
|
2581
|
+
*
|
|
2582
|
+
* @type {{ [key: string]: string; }}
|
|
2583
|
+
* @memberof TagCreationRequest
|
|
2584
|
+
*/
|
|
2585
|
+
'translations': {
|
|
2586
|
+
[key: string]: string;
|
|
2587
|
+
};
|
|
2574
2588
|
/**
|
|
2575
2589
|
*
|
|
2576
2590
|
* @type {TagDataType}
|
|
@@ -2589,6 +2603,12 @@ export interface TagCreationRequest {
|
|
|
2589
2603
|
* @memberof TagCreationRequest
|
|
2590
2604
|
*/
|
|
2591
2605
|
'isRequired': boolean;
|
|
2606
|
+
/**
|
|
2607
|
+
*
|
|
2608
|
+
* @type {Array<TagValueCreationRequest>}
|
|
2609
|
+
* @memberof TagCreationRequest
|
|
2610
|
+
*/
|
|
2611
|
+
'values'?: Array<TagValueCreationRequest>;
|
|
2592
2612
|
}
|
|
2593
2613
|
/**
|
|
2594
2614
|
*
|
|
@@ -2608,6 +2628,12 @@ export type TagDataType = typeof TagDataType[keyof typeof TagDataType];
|
|
|
2608
2628
|
* @interface TagDetailed
|
|
2609
2629
|
*/
|
|
2610
2630
|
export interface TagDetailed {
|
|
2631
|
+
/**
|
|
2632
|
+
*
|
|
2633
|
+
* @type {string}
|
|
2634
|
+
* @memberof TagDetailed
|
|
2635
|
+
*/
|
|
2636
|
+
'id': string;
|
|
2611
2637
|
/**
|
|
2612
2638
|
*
|
|
2613
2639
|
* @type {string}
|
|
@@ -2644,6 +2670,12 @@ export interface TagDetailed {
|
|
|
2644
2670
|
* @memberof TagDetailed
|
|
2645
2671
|
*/
|
|
2646
2672
|
'validators': Array<TagValidator>;
|
|
2673
|
+
/**
|
|
2674
|
+
*
|
|
2675
|
+
* @type {Array<TagValue>}
|
|
2676
|
+
* @memberof TagDetailed
|
|
2677
|
+
*/
|
|
2678
|
+
'values'?: Array<TagValue>;
|
|
2647
2679
|
}
|
|
2648
2680
|
/**
|
|
2649
2681
|
*
|
|
@@ -2851,9 +2883,54 @@ export interface TagValidator {
|
|
|
2851
2883
|
export declare const TagValidatorType: {
|
|
2852
2884
|
readonly Pattern: "pattern";
|
|
2853
2885
|
readonly Range: "range";
|
|
2854
|
-
readonly FixedValues: "fixed_values";
|
|
2855
2886
|
};
|
|
2856
2887
|
export type TagValidatorType = typeof TagValidatorType[keyof typeof TagValidatorType];
|
|
2888
|
+
/**
|
|
2889
|
+
*
|
|
2890
|
+
* @export
|
|
2891
|
+
* @interface TagValue
|
|
2892
|
+
*/
|
|
2893
|
+
export interface TagValue {
|
|
2894
|
+
/**
|
|
2895
|
+
*
|
|
2896
|
+
* @type {any}
|
|
2897
|
+
* @memberof TagValue
|
|
2898
|
+
*/
|
|
2899
|
+
'value': any;
|
|
2900
|
+
/**
|
|
2901
|
+
*
|
|
2902
|
+
* @type {string}
|
|
2903
|
+
* @memberof TagValue
|
|
2904
|
+
*/
|
|
2905
|
+
'description': string;
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
*
|
|
2909
|
+
* @export
|
|
2910
|
+
* @interface TagValueCreationRequest
|
|
2911
|
+
*/
|
|
2912
|
+
export interface TagValueCreationRequest {
|
|
2913
|
+
/**
|
|
2914
|
+
*
|
|
2915
|
+
* @type {any}
|
|
2916
|
+
* @memberof TagValueCreationRequest
|
|
2917
|
+
*/
|
|
2918
|
+
'value': any;
|
|
2919
|
+
/**
|
|
2920
|
+
*
|
|
2921
|
+
* @type {string}
|
|
2922
|
+
* @memberof TagValueCreationRequest
|
|
2923
|
+
*/
|
|
2924
|
+
'description': string;
|
|
2925
|
+
/**
|
|
2926
|
+
*
|
|
2927
|
+
* @type {{ [key: string]: TagValue; }}
|
|
2928
|
+
* @memberof TagValueCreationRequest
|
|
2929
|
+
*/
|
|
2930
|
+
'translations': {
|
|
2931
|
+
[key: string]: TagValue;
|
|
2932
|
+
};
|
|
2933
|
+
}
|
|
2857
2934
|
/**
|
|
2858
2935
|
*
|
|
2859
2936
|
* @export
|
|
@@ -6431,36 +6508,37 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6431
6508
|
/**
|
|
6432
6509
|
* This method allows deleting a tag from the system.
|
|
6433
6510
|
* @summary Method allows to delete tag.
|
|
6434
|
-
* @param {string}
|
|
6511
|
+
* @param {string} id Tag id
|
|
6435
6512
|
* @param {*} [options] Override http request option.
|
|
6436
6513
|
* @throws {RequiredError}
|
|
6437
6514
|
*/
|
|
6438
|
-
deleteTag: (
|
|
6515
|
+
deleteTag: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6439
6516
|
/**
|
|
6440
6517
|
* This method returns all information about a specific tag.
|
|
6441
6518
|
* @summary Method will return tag details.
|
|
6442
|
-
* @param {string}
|
|
6519
|
+
* @param {string} id Tag ID
|
|
6443
6520
|
* @param {*} [options] Override http request option.
|
|
6444
6521
|
* @throws {RequiredError}
|
|
6445
6522
|
*/
|
|
6446
|
-
|
|
6523
|
+
getTagByID: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6447
6524
|
/**
|
|
6448
6525
|
* This method returns a list of all tags in the system.
|
|
6449
6526
|
* @summary Method returns tags list.
|
|
6450
6527
|
* @param {string} [tagKey] Tag key
|
|
6528
|
+
* @param {string} [search] search string
|
|
6451
6529
|
* @param {*} [options] Override http request option.
|
|
6452
6530
|
* @throws {RequiredError}
|
|
6453
6531
|
*/
|
|
6454
|
-
listTags: (tagKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6532
|
+
listTags: (tagKey?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6455
6533
|
/**
|
|
6456
6534
|
* This method allows updating a tag in the system.
|
|
6457
6535
|
* @summary Method allows to update tag.
|
|
6458
|
-
* @param {string}
|
|
6536
|
+
* @param {string} id Tag id
|
|
6459
6537
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6460
6538
|
* @param {*} [options] Override http request option.
|
|
6461
6539
|
* @throws {RequiredError}
|
|
6462
6540
|
*/
|
|
6463
|
-
updateTag: (
|
|
6541
|
+
updateTag: (id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6464
6542
|
};
|
|
6465
6543
|
/**
|
|
6466
6544
|
* TagApi - functional programming interface
|
|
@@ -6478,36 +6556,37 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6478
6556
|
/**
|
|
6479
6557
|
* This method allows deleting a tag from the system.
|
|
6480
6558
|
* @summary Method allows to delete tag.
|
|
6481
|
-
* @param {string}
|
|
6559
|
+
* @param {string} id Tag id
|
|
6482
6560
|
* @param {*} [options] Override http request option.
|
|
6483
6561
|
* @throws {RequiredError}
|
|
6484
6562
|
*/
|
|
6485
|
-
deleteTag(
|
|
6563
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6486
6564
|
/**
|
|
6487
6565
|
* This method returns all information about a specific tag.
|
|
6488
6566
|
* @summary Method will return tag details.
|
|
6489
|
-
* @param {string}
|
|
6567
|
+
* @param {string} id Tag ID
|
|
6490
6568
|
* @param {*} [options] Override http request option.
|
|
6491
6569
|
* @throws {RequiredError}
|
|
6492
6570
|
*/
|
|
6493
|
-
|
|
6571
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6494
6572
|
/**
|
|
6495
6573
|
* This method returns a list of all tags in the system.
|
|
6496
6574
|
* @summary Method returns tags list.
|
|
6497
6575
|
* @param {string} [tagKey] Tag key
|
|
6576
|
+
* @param {string} [search] search string
|
|
6498
6577
|
* @param {*} [options] Override http request option.
|
|
6499
6578
|
* @throws {RequiredError}
|
|
6500
6579
|
*/
|
|
6501
|
-
listTags(tagKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>>;
|
|
6580
|
+
listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>>;
|
|
6502
6581
|
/**
|
|
6503
6582
|
* This method allows updating a tag in the system.
|
|
6504
6583
|
* @summary Method allows to update tag.
|
|
6505
|
-
* @param {string}
|
|
6584
|
+
* @param {string} id Tag id
|
|
6506
6585
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6507
6586
|
* @param {*} [options] Override http request option.
|
|
6508
6587
|
* @throws {RequiredError}
|
|
6509
6588
|
*/
|
|
6510
|
-
updateTag(
|
|
6589
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6511
6590
|
};
|
|
6512
6591
|
/**
|
|
6513
6592
|
* TagApi - factory interface
|
|
@@ -6525,36 +6604,37 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6525
6604
|
/**
|
|
6526
6605
|
* This method allows deleting a tag from the system.
|
|
6527
6606
|
* @summary Method allows to delete tag.
|
|
6528
|
-
* @param {string}
|
|
6607
|
+
* @param {string} id Tag id
|
|
6529
6608
|
* @param {*} [options] Override http request option.
|
|
6530
6609
|
* @throws {RequiredError}
|
|
6531
6610
|
*/
|
|
6532
|
-
deleteTag(
|
|
6611
|
+
deleteTag(id: string, options?: any): AxiosPromise<void>;
|
|
6533
6612
|
/**
|
|
6534
6613
|
* This method returns all information about a specific tag.
|
|
6535
6614
|
* @summary Method will return tag details.
|
|
6536
|
-
* @param {string}
|
|
6615
|
+
* @param {string} id Tag ID
|
|
6537
6616
|
* @param {*} [options] Override http request option.
|
|
6538
6617
|
* @throws {RequiredError}
|
|
6539
6618
|
*/
|
|
6540
|
-
|
|
6619
|
+
getTagByID(id: string, options?: any): AxiosPromise<TagDetailed>;
|
|
6541
6620
|
/**
|
|
6542
6621
|
* This method returns a list of all tags in the system.
|
|
6543
6622
|
* @summary Method returns tags list.
|
|
6544
6623
|
* @param {string} [tagKey] Tag key
|
|
6624
|
+
* @param {string} [search] search string
|
|
6545
6625
|
* @param {*} [options] Override http request option.
|
|
6546
6626
|
* @throws {RequiredError}
|
|
6547
6627
|
*/
|
|
6548
|
-
listTags(tagKey?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6628
|
+
listTags(tagKey?: string, search?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6549
6629
|
/**
|
|
6550
6630
|
* This method allows updating a tag in the system.
|
|
6551
6631
|
* @summary Method allows to update tag.
|
|
6552
|
-
* @param {string}
|
|
6632
|
+
* @param {string} id Tag id
|
|
6553
6633
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6554
6634
|
* @param {*} [options] Override http request option.
|
|
6555
6635
|
* @throws {RequiredError}
|
|
6556
6636
|
*/
|
|
6557
|
-
updateTag(
|
|
6637
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed>;
|
|
6558
6638
|
};
|
|
6559
6639
|
/**
|
|
6560
6640
|
* TagApi - object-oriented interface
|
|
@@ -6575,40 +6655,41 @@ export declare class TagApi extends BaseAPI {
|
|
|
6575
6655
|
/**
|
|
6576
6656
|
* This method allows deleting a tag from the system.
|
|
6577
6657
|
* @summary Method allows to delete tag.
|
|
6578
|
-
* @param {string}
|
|
6658
|
+
* @param {string} id Tag id
|
|
6579
6659
|
* @param {*} [options] Override http request option.
|
|
6580
6660
|
* @throws {RequiredError}
|
|
6581
6661
|
* @memberof TagApi
|
|
6582
6662
|
*/
|
|
6583
|
-
deleteTag(
|
|
6663
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
6584
6664
|
/**
|
|
6585
6665
|
* This method returns all information about a specific tag.
|
|
6586
6666
|
* @summary Method will return tag details.
|
|
6587
|
-
* @param {string}
|
|
6667
|
+
* @param {string} id Tag ID
|
|
6588
6668
|
* @param {*} [options] Override http request option.
|
|
6589
6669
|
* @throws {RequiredError}
|
|
6590
6670
|
* @memberof TagApi
|
|
6591
6671
|
*/
|
|
6592
|
-
|
|
6672
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6593
6673
|
/**
|
|
6594
6674
|
* This method returns a list of all tags in the system.
|
|
6595
6675
|
* @summary Method returns tags list.
|
|
6596
6676
|
* @param {string} [tagKey] Tag key
|
|
6677
|
+
* @param {string} [search] search string
|
|
6597
6678
|
* @param {*} [options] Override http request option.
|
|
6598
6679
|
* @throws {RequiredError}
|
|
6599
6680
|
* @memberof TagApi
|
|
6600
6681
|
*/
|
|
6601
|
-
listTags(tagKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagListResponse, any>>;
|
|
6682
|
+
listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagListResponse, any>>;
|
|
6602
6683
|
/**
|
|
6603
6684
|
* This method allows updating a tag in the system.
|
|
6604
6685
|
* @summary Method allows to update tag.
|
|
6605
|
-
* @param {string}
|
|
6686
|
+
* @param {string} id Tag id
|
|
6606
6687
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6607
6688
|
* @param {*} [options] Override http request option.
|
|
6608
6689
|
* @throws {RequiredError}
|
|
6609
6690
|
* @memberof TagApi
|
|
6610
6691
|
*/
|
|
6611
|
-
updateTag(
|
|
6692
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6612
6693
|
}
|
|
6613
6694
|
/**
|
|
6614
6695
|
* TenantApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -305,8 +305,7 @@ exports.TagRuleKind = {
|
|
|
305
305
|
*/
|
|
306
306
|
exports.TagValidatorType = {
|
|
307
307
|
Pattern: 'pattern',
|
|
308
|
-
Range: 'range'
|
|
309
|
-
FixedValues: 'fixed_values'
|
|
308
|
+
Range: 'range'
|
|
310
309
|
};
|
|
311
310
|
/**
|
|
312
311
|
*
|
|
@@ -5756,15 +5755,15 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5756
5755
|
/**
|
|
5757
5756
|
* This method allows deleting a tag from the system.
|
|
5758
5757
|
* @summary Method allows to delete tag.
|
|
5759
|
-
* @param {string}
|
|
5758
|
+
* @param {string} id Tag id
|
|
5760
5759
|
* @param {*} [options] Override http request option.
|
|
5761
5760
|
* @throws {RequiredError}
|
|
5762
5761
|
*/
|
|
5763
|
-
deleteTag: (
|
|
5764
|
-
// verify required parameter '
|
|
5765
|
-
(0, common_1.assertParamExists)('deleteTag', '
|
|
5766
|
-
const localVarPath = `/admins/tags/{
|
|
5767
|
-
.replace(`{${"
|
|
5762
|
+
deleteTag: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5763
|
+
// verify required parameter 'id' is not null or undefined
|
|
5764
|
+
(0, common_1.assertParamExists)('deleteTag', 'id', id);
|
|
5765
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5766
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5768
5767
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5769
5768
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5770
5769
|
let baseOptions;
|
|
@@ -5788,15 +5787,15 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5788
5787
|
/**
|
|
5789
5788
|
* This method returns all information about a specific tag.
|
|
5790
5789
|
* @summary Method will return tag details.
|
|
5791
|
-
* @param {string}
|
|
5790
|
+
* @param {string} id Tag ID
|
|
5792
5791
|
* @param {*} [options] Override http request option.
|
|
5793
5792
|
* @throws {RequiredError}
|
|
5794
5793
|
*/
|
|
5795
|
-
|
|
5796
|
-
// verify required parameter '
|
|
5797
|
-
(0, common_1.assertParamExists)('
|
|
5798
|
-
const localVarPath = `/admins/tags/{
|
|
5799
|
-
.replace(`{${"
|
|
5794
|
+
getTagByID: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5795
|
+
// verify required parameter 'id' is not null or undefined
|
|
5796
|
+
(0, common_1.assertParamExists)('getTagByID', 'id', id);
|
|
5797
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5798
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5800
5799
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5801
5800
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5802
5801
|
let baseOptions;
|
|
@@ -5821,10 +5820,11 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5821
5820
|
* This method returns a list of all tags in the system.
|
|
5822
5821
|
* @summary Method returns tags list.
|
|
5823
5822
|
* @param {string} [tagKey] Tag key
|
|
5823
|
+
* @param {string} [search] search string
|
|
5824
5824
|
* @param {*} [options] Override http request option.
|
|
5825
5825
|
* @throws {RequiredError}
|
|
5826
5826
|
*/
|
|
5827
|
-
listTags: (tagKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5827
|
+
listTags: (tagKey, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5828
5828
|
const localVarPath = `/admins/tags`;
|
|
5829
5829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5830
5830
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5841,6 +5841,9 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5841
5841
|
if (tagKey !== undefined) {
|
|
5842
5842
|
localVarQueryParameter['tagKey'] = tagKey;
|
|
5843
5843
|
}
|
|
5844
|
+
if (search !== undefined) {
|
|
5845
|
+
localVarQueryParameter['search'] = search;
|
|
5846
|
+
}
|
|
5844
5847
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5845
5848
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5846
5849
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5852,16 +5855,16 @@ const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5852
5855
|
/**
|
|
5853
5856
|
* This method allows updating a tag in the system.
|
|
5854
5857
|
* @summary Method allows to update tag.
|
|
5855
|
-
* @param {string}
|
|
5858
|
+
* @param {string} id Tag id
|
|
5856
5859
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5857
5860
|
* @param {*} [options] Override http request option.
|
|
5858
5861
|
* @throws {RequiredError}
|
|
5859
5862
|
*/
|
|
5860
|
-
updateTag: (
|
|
5861
|
-
// verify required parameter '
|
|
5862
|
-
(0, common_1.assertParamExists)('updateTag', '
|
|
5863
|
-
const localVarPath = `/admins/tags/{
|
|
5864
|
-
.replace(`{${"
|
|
5863
|
+
updateTag: (id, updateTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5864
|
+
// verify required parameter 'id' is not null or undefined
|
|
5865
|
+
(0, common_1.assertParamExists)('updateTag', 'id', id);
|
|
5866
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5867
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5865
5868
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5866
5869
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5867
5870
|
let baseOptions;
|
|
@@ -5912,26 +5915,26 @@ const TagApiFp = function (configuration) {
|
|
|
5912
5915
|
/**
|
|
5913
5916
|
* This method allows deleting a tag from the system.
|
|
5914
5917
|
* @summary Method allows to delete tag.
|
|
5915
|
-
* @param {string}
|
|
5918
|
+
* @param {string} id Tag id
|
|
5916
5919
|
* @param {*} [options] Override http request option.
|
|
5917
5920
|
* @throws {RequiredError}
|
|
5918
5921
|
*/
|
|
5919
|
-
deleteTag(
|
|
5922
|
+
deleteTag(id, options) {
|
|
5920
5923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5921
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(
|
|
5924
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(id, options);
|
|
5922
5925
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5923
5926
|
});
|
|
5924
5927
|
},
|
|
5925
5928
|
/**
|
|
5926
5929
|
* This method returns all information about a specific tag.
|
|
5927
5930
|
* @summary Method will return tag details.
|
|
5928
|
-
* @param {string}
|
|
5931
|
+
* @param {string} id Tag ID
|
|
5929
5932
|
* @param {*} [options] Override http request option.
|
|
5930
5933
|
* @throws {RequiredError}
|
|
5931
5934
|
*/
|
|
5932
|
-
|
|
5935
|
+
getTagByID(id, options) {
|
|
5933
5936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5934
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5937
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(id, options);
|
|
5935
5938
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5936
5939
|
});
|
|
5937
5940
|
},
|
|
@@ -5939,26 +5942,27 @@ const TagApiFp = function (configuration) {
|
|
|
5939
5942
|
* This method returns a list of all tags in the system.
|
|
5940
5943
|
* @summary Method returns tags list.
|
|
5941
5944
|
* @param {string} [tagKey] Tag key
|
|
5945
|
+
* @param {string} [search] search string
|
|
5942
5946
|
* @param {*} [options] Override http request option.
|
|
5943
5947
|
* @throws {RequiredError}
|
|
5944
5948
|
*/
|
|
5945
|
-
listTags(tagKey, options) {
|
|
5949
|
+
listTags(tagKey, search, options) {
|
|
5946
5950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5947
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, options);
|
|
5951
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, search, options);
|
|
5948
5952
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5949
5953
|
});
|
|
5950
5954
|
},
|
|
5951
5955
|
/**
|
|
5952
5956
|
* This method allows updating a tag in the system.
|
|
5953
5957
|
* @summary Method allows to update tag.
|
|
5954
|
-
* @param {string}
|
|
5958
|
+
* @param {string} id Tag id
|
|
5955
5959
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5956
5960
|
* @param {*} [options] Override http request option.
|
|
5957
5961
|
* @throws {RequiredError}
|
|
5958
5962
|
*/
|
|
5959
|
-
updateTag(
|
|
5963
|
+
updateTag(id, updateTagRequest, options) {
|
|
5960
5964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5961
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(
|
|
5965
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(id, updateTagRequest, options);
|
|
5962
5966
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5963
5967
|
});
|
|
5964
5968
|
},
|
|
@@ -5985,43 +5989,44 @@ const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5985
5989
|
/**
|
|
5986
5990
|
* This method allows deleting a tag from the system.
|
|
5987
5991
|
* @summary Method allows to delete tag.
|
|
5988
|
-
* @param {string}
|
|
5992
|
+
* @param {string} id Tag id
|
|
5989
5993
|
* @param {*} [options] Override http request option.
|
|
5990
5994
|
* @throws {RequiredError}
|
|
5991
5995
|
*/
|
|
5992
|
-
deleteTag(
|
|
5993
|
-
return localVarFp.deleteTag(
|
|
5996
|
+
deleteTag(id, options) {
|
|
5997
|
+
return localVarFp.deleteTag(id, options).then((request) => request(axios, basePath));
|
|
5994
5998
|
},
|
|
5995
5999
|
/**
|
|
5996
6000
|
* This method returns all information about a specific tag.
|
|
5997
6001
|
* @summary Method will return tag details.
|
|
5998
|
-
* @param {string}
|
|
6002
|
+
* @param {string} id Tag ID
|
|
5999
6003
|
* @param {*} [options] Override http request option.
|
|
6000
6004
|
* @throws {RequiredError}
|
|
6001
6005
|
*/
|
|
6002
|
-
|
|
6003
|
-
return localVarFp.
|
|
6006
|
+
getTagByID(id, options) {
|
|
6007
|
+
return localVarFp.getTagByID(id, options).then((request) => request(axios, basePath));
|
|
6004
6008
|
},
|
|
6005
6009
|
/**
|
|
6006
6010
|
* This method returns a list of all tags in the system.
|
|
6007
6011
|
* @summary Method returns tags list.
|
|
6008
6012
|
* @param {string} [tagKey] Tag key
|
|
6013
|
+
* @param {string} [search] search string
|
|
6009
6014
|
* @param {*} [options] Override http request option.
|
|
6010
6015
|
* @throws {RequiredError}
|
|
6011
6016
|
*/
|
|
6012
|
-
listTags(tagKey, options) {
|
|
6013
|
-
return localVarFp.listTags(tagKey, options).then((request) => request(axios, basePath));
|
|
6017
|
+
listTags(tagKey, search, options) {
|
|
6018
|
+
return localVarFp.listTags(tagKey, search, options).then((request) => request(axios, basePath));
|
|
6014
6019
|
},
|
|
6015
6020
|
/**
|
|
6016
6021
|
* This method allows updating a tag in the system.
|
|
6017
6022
|
* @summary Method allows to update tag.
|
|
6018
|
-
* @param {string}
|
|
6023
|
+
* @param {string} id Tag id
|
|
6019
6024
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6020
6025
|
* @param {*} [options] Override http request option.
|
|
6021
6026
|
* @throws {RequiredError}
|
|
6022
6027
|
*/
|
|
6023
|
-
updateTag(
|
|
6024
|
-
return localVarFp.updateTag(
|
|
6028
|
+
updateTag(id, updateTagRequest, options) {
|
|
6029
|
+
return localVarFp.updateTag(id, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
6025
6030
|
},
|
|
6026
6031
|
};
|
|
6027
6032
|
};
|
|
@@ -6047,47 +6052,48 @@ class TagApi extends base_1.BaseAPI {
|
|
|
6047
6052
|
/**
|
|
6048
6053
|
* This method allows deleting a tag from the system.
|
|
6049
6054
|
* @summary Method allows to delete tag.
|
|
6050
|
-
* @param {string}
|
|
6055
|
+
* @param {string} id Tag id
|
|
6051
6056
|
* @param {*} [options] Override http request option.
|
|
6052
6057
|
* @throws {RequiredError}
|
|
6053
6058
|
* @memberof TagApi
|
|
6054
6059
|
*/
|
|
6055
|
-
deleteTag(
|
|
6056
|
-
return (0, exports.TagApiFp)(this.configuration).deleteTag(
|
|
6060
|
+
deleteTag(id, options) {
|
|
6061
|
+
return (0, exports.TagApiFp)(this.configuration).deleteTag(id, options).then((request) => request(this.axios, this.basePath));
|
|
6057
6062
|
}
|
|
6058
6063
|
/**
|
|
6059
6064
|
* This method returns all information about a specific tag.
|
|
6060
6065
|
* @summary Method will return tag details.
|
|
6061
|
-
* @param {string}
|
|
6066
|
+
* @param {string} id Tag ID
|
|
6062
6067
|
* @param {*} [options] Override http request option.
|
|
6063
6068
|
* @throws {RequiredError}
|
|
6064
6069
|
* @memberof TagApi
|
|
6065
6070
|
*/
|
|
6066
|
-
|
|
6067
|
-
return (0, exports.TagApiFp)(this.configuration).
|
|
6071
|
+
getTagByID(id, options) {
|
|
6072
|
+
return (0, exports.TagApiFp)(this.configuration).getTagByID(id, options).then((request) => request(this.axios, this.basePath));
|
|
6068
6073
|
}
|
|
6069
6074
|
/**
|
|
6070
6075
|
* This method returns a list of all tags in the system.
|
|
6071
6076
|
* @summary Method returns tags list.
|
|
6072
6077
|
* @param {string} [tagKey] Tag key
|
|
6078
|
+
* @param {string} [search] search string
|
|
6073
6079
|
* @param {*} [options] Override http request option.
|
|
6074
6080
|
* @throws {RequiredError}
|
|
6075
6081
|
* @memberof TagApi
|
|
6076
6082
|
*/
|
|
6077
|
-
listTags(tagKey, options) {
|
|
6078
|
-
return (0, exports.TagApiFp)(this.configuration).listTags(tagKey, options).then((request) => request(this.axios, this.basePath));
|
|
6083
|
+
listTags(tagKey, search, options) {
|
|
6084
|
+
return (0, exports.TagApiFp)(this.configuration).listTags(tagKey, search, options).then((request) => request(this.axios, this.basePath));
|
|
6079
6085
|
}
|
|
6080
6086
|
/**
|
|
6081
6087
|
* This method allows updating a tag in the system.
|
|
6082
6088
|
* @summary Method allows to update tag.
|
|
6083
|
-
* @param {string}
|
|
6089
|
+
* @param {string} id Tag id
|
|
6084
6090
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6085
6091
|
* @param {*} [options] Override http request option.
|
|
6086
6092
|
* @throws {RequiredError}
|
|
6087
6093
|
* @memberof TagApi
|
|
6088
6094
|
*/
|
|
6089
|
-
updateTag(
|
|
6090
|
-
return (0, exports.TagApiFp)(this.configuration).updateTag(
|
|
6095
|
+
updateTag(id, updateTagRequest, options) {
|
|
6096
|
+
return (0, exports.TagApiFp)(this.configuration).updateTag(id, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6091
6097
|
}
|
|
6092
6098
|
}
|
|
6093
6099
|
exports.TagApi = TagApi;
|