flexinet-api 0.0.764-prerelease0 → 0.0.779-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 +153 -54
- package/dist/api.d.ts +128 -29
- package/dist/api.js +60 -54
- package/dist/esm/api.d.ts +128 -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
|
|
@@ -2978,6 +3055,24 @@ export interface Tenant {
|
|
|
2978
3055
|
'customerOpenIDParameters'?: {
|
|
2979
3056
|
[key: string]: string;
|
|
2980
3057
|
};
|
|
3058
|
+
/**
|
|
3059
|
+
*
|
|
3060
|
+
* @type {string}
|
|
3061
|
+
* @memberof Tenant
|
|
3062
|
+
*/
|
|
3063
|
+
'ppURL': string;
|
|
3064
|
+
/**
|
|
3065
|
+
*
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof Tenant
|
|
3068
|
+
*/
|
|
3069
|
+
'tcURL': string;
|
|
3070
|
+
/**
|
|
3071
|
+
*
|
|
3072
|
+
* @type {string}
|
|
3073
|
+
* @memberof Tenant
|
|
3074
|
+
*/
|
|
3075
|
+
'cookiesURL': string;
|
|
2981
3076
|
}
|
|
2982
3077
|
/**
|
|
2983
3078
|
*
|
|
@@ -6431,36 +6526,37 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6431
6526
|
/**
|
|
6432
6527
|
* This method allows deleting a tag from the system.
|
|
6433
6528
|
* @summary Method allows to delete tag.
|
|
6434
|
-
* @param {string}
|
|
6529
|
+
* @param {string} id Tag id
|
|
6435
6530
|
* @param {*} [options] Override http request option.
|
|
6436
6531
|
* @throws {RequiredError}
|
|
6437
6532
|
*/
|
|
6438
|
-
deleteTag: (
|
|
6533
|
+
deleteTag: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6439
6534
|
/**
|
|
6440
6535
|
* This method returns all information about a specific tag.
|
|
6441
6536
|
* @summary Method will return tag details.
|
|
6442
|
-
* @param {string}
|
|
6537
|
+
* @param {string} id Tag ID
|
|
6443
6538
|
* @param {*} [options] Override http request option.
|
|
6444
6539
|
* @throws {RequiredError}
|
|
6445
6540
|
*/
|
|
6446
|
-
|
|
6541
|
+
getTagByID: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6447
6542
|
/**
|
|
6448
6543
|
* This method returns a list of all tags in the system.
|
|
6449
6544
|
* @summary Method returns tags list.
|
|
6450
6545
|
* @param {string} [tagKey] Tag key
|
|
6546
|
+
* @param {string} [search] search string
|
|
6451
6547
|
* @param {*} [options] Override http request option.
|
|
6452
6548
|
* @throws {RequiredError}
|
|
6453
6549
|
*/
|
|
6454
|
-
listTags: (tagKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6550
|
+
listTags: (tagKey?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6455
6551
|
/**
|
|
6456
6552
|
* This method allows updating a tag in the system.
|
|
6457
6553
|
* @summary Method allows to update tag.
|
|
6458
|
-
* @param {string}
|
|
6554
|
+
* @param {string} id Tag id
|
|
6459
6555
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6460
6556
|
* @param {*} [options] Override http request option.
|
|
6461
6557
|
* @throws {RequiredError}
|
|
6462
6558
|
*/
|
|
6463
|
-
updateTag: (
|
|
6559
|
+
updateTag: (id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6464
6560
|
};
|
|
6465
6561
|
/**
|
|
6466
6562
|
* TagApi - functional programming interface
|
|
@@ -6478,36 +6574,37 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6478
6574
|
/**
|
|
6479
6575
|
* This method allows deleting a tag from the system.
|
|
6480
6576
|
* @summary Method allows to delete tag.
|
|
6481
|
-
* @param {string}
|
|
6577
|
+
* @param {string} id Tag id
|
|
6482
6578
|
* @param {*} [options] Override http request option.
|
|
6483
6579
|
* @throws {RequiredError}
|
|
6484
6580
|
*/
|
|
6485
|
-
deleteTag(
|
|
6581
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6486
6582
|
/**
|
|
6487
6583
|
* This method returns all information about a specific tag.
|
|
6488
6584
|
* @summary Method will return tag details.
|
|
6489
|
-
* @param {string}
|
|
6585
|
+
* @param {string} id Tag ID
|
|
6490
6586
|
* @param {*} [options] Override http request option.
|
|
6491
6587
|
* @throws {RequiredError}
|
|
6492
6588
|
*/
|
|
6493
|
-
|
|
6589
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6494
6590
|
/**
|
|
6495
6591
|
* This method returns a list of all tags in the system.
|
|
6496
6592
|
* @summary Method returns tags list.
|
|
6497
6593
|
* @param {string} [tagKey] Tag key
|
|
6594
|
+
* @param {string} [search] search string
|
|
6498
6595
|
* @param {*} [options] Override http request option.
|
|
6499
6596
|
* @throws {RequiredError}
|
|
6500
6597
|
*/
|
|
6501
|
-
listTags(tagKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>>;
|
|
6598
|
+
listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagListResponse>>;
|
|
6502
6599
|
/**
|
|
6503
6600
|
* This method allows updating a tag in the system.
|
|
6504
6601
|
* @summary Method allows to update tag.
|
|
6505
|
-
* @param {string}
|
|
6602
|
+
* @param {string} id Tag id
|
|
6506
6603
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6507
6604
|
* @param {*} [options] Override http request option.
|
|
6508
6605
|
* @throws {RequiredError}
|
|
6509
6606
|
*/
|
|
6510
|
-
updateTag(
|
|
6607
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6511
6608
|
};
|
|
6512
6609
|
/**
|
|
6513
6610
|
* TagApi - factory interface
|
|
@@ -6525,36 +6622,37 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6525
6622
|
/**
|
|
6526
6623
|
* This method allows deleting a tag from the system.
|
|
6527
6624
|
* @summary Method allows to delete tag.
|
|
6528
|
-
* @param {string}
|
|
6625
|
+
* @param {string} id Tag id
|
|
6529
6626
|
* @param {*} [options] Override http request option.
|
|
6530
6627
|
* @throws {RequiredError}
|
|
6531
6628
|
*/
|
|
6532
|
-
deleteTag(
|
|
6629
|
+
deleteTag(id: string, options?: any): AxiosPromise<void>;
|
|
6533
6630
|
/**
|
|
6534
6631
|
* This method returns all information about a specific tag.
|
|
6535
6632
|
* @summary Method will return tag details.
|
|
6536
|
-
* @param {string}
|
|
6633
|
+
* @param {string} id Tag ID
|
|
6537
6634
|
* @param {*} [options] Override http request option.
|
|
6538
6635
|
* @throws {RequiredError}
|
|
6539
6636
|
*/
|
|
6540
|
-
|
|
6637
|
+
getTagByID(id: string, options?: any): AxiosPromise<TagDetailed>;
|
|
6541
6638
|
/**
|
|
6542
6639
|
* This method returns a list of all tags in the system.
|
|
6543
6640
|
* @summary Method returns tags list.
|
|
6544
6641
|
* @param {string} [tagKey] Tag key
|
|
6642
|
+
* @param {string} [search] search string
|
|
6545
6643
|
* @param {*} [options] Override http request option.
|
|
6546
6644
|
* @throws {RequiredError}
|
|
6547
6645
|
*/
|
|
6548
|
-
listTags(tagKey?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6646
|
+
listTags(tagKey?: string, search?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6549
6647
|
/**
|
|
6550
6648
|
* This method allows updating a tag in the system.
|
|
6551
6649
|
* @summary Method allows to update tag.
|
|
6552
|
-
* @param {string}
|
|
6650
|
+
* @param {string} id Tag id
|
|
6553
6651
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6554
6652
|
* @param {*} [options] Override http request option.
|
|
6555
6653
|
* @throws {RequiredError}
|
|
6556
6654
|
*/
|
|
6557
|
-
updateTag(
|
|
6655
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed>;
|
|
6558
6656
|
};
|
|
6559
6657
|
/**
|
|
6560
6658
|
* TagApi - object-oriented interface
|
|
@@ -6575,40 +6673,41 @@ export declare class TagApi extends BaseAPI {
|
|
|
6575
6673
|
/**
|
|
6576
6674
|
* This method allows deleting a tag from the system.
|
|
6577
6675
|
* @summary Method allows to delete tag.
|
|
6578
|
-
* @param {string}
|
|
6676
|
+
* @param {string} id Tag id
|
|
6579
6677
|
* @param {*} [options] Override http request option.
|
|
6580
6678
|
* @throws {RequiredError}
|
|
6581
6679
|
* @memberof TagApi
|
|
6582
6680
|
*/
|
|
6583
|
-
deleteTag(
|
|
6681
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
6584
6682
|
/**
|
|
6585
6683
|
* This method returns all information about a specific tag.
|
|
6586
6684
|
* @summary Method will return tag details.
|
|
6587
|
-
* @param {string}
|
|
6685
|
+
* @param {string} id Tag ID
|
|
6588
6686
|
* @param {*} [options] Override http request option.
|
|
6589
6687
|
* @throws {RequiredError}
|
|
6590
6688
|
* @memberof TagApi
|
|
6591
6689
|
*/
|
|
6592
|
-
|
|
6690
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6593
6691
|
/**
|
|
6594
6692
|
* This method returns a list of all tags in the system.
|
|
6595
6693
|
* @summary Method returns tags list.
|
|
6596
6694
|
* @param {string} [tagKey] Tag key
|
|
6695
|
+
* @param {string} [search] search string
|
|
6597
6696
|
* @param {*} [options] Override http request option.
|
|
6598
6697
|
* @throws {RequiredError}
|
|
6599
6698
|
* @memberof TagApi
|
|
6600
6699
|
*/
|
|
6601
|
-
listTags(tagKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagListResponse, any>>;
|
|
6700
|
+
listTags(tagKey?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagListResponse, any>>;
|
|
6602
6701
|
/**
|
|
6603
6702
|
* This method allows updating a tag in the system.
|
|
6604
6703
|
* @summary Method allows to update tag.
|
|
6605
|
-
* @param {string}
|
|
6704
|
+
* @param {string} id Tag id
|
|
6606
6705
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6607
6706
|
* @param {*} [options] Override http request option.
|
|
6608
6707
|
* @throws {RequiredError}
|
|
6609
6708
|
* @memberof TagApi
|
|
6610
6709
|
*/
|
|
6611
|
-
updateTag(
|
|
6710
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6612
6711
|
}
|
|
6613
6712
|
/**
|
|
6614
6713
|
* 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;
|