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/esm/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/esm/api.js
CHANGED
|
@@ -300,8 +300,7 @@ export const TagRuleKind = {
|
|
|
300
300
|
*/
|
|
301
301
|
export const TagValidatorType = {
|
|
302
302
|
Pattern: 'pattern',
|
|
303
|
-
Range: 'range'
|
|
304
|
-
FixedValues: 'fixed_values'
|
|
303
|
+
Range: 'range'
|
|
305
304
|
};
|
|
306
305
|
/**
|
|
307
306
|
*
|
|
@@ -5691,15 +5690,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5691
5690
|
/**
|
|
5692
5691
|
* This method allows deleting a tag from the system.
|
|
5693
5692
|
* @summary Method allows to delete tag.
|
|
5694
|
-
* @param {string}
|
|
5693
|
+
* @param {string} id Tag id
|
|
5695
5694
|
* @param {*} [options] Override http request option.
|
|
5696
5695
|
* @throws {RequiredError}
|
|
5697
5696
|
*/
|
|
5698
|
-
deleteTag: (
|
|
5699
|
-
// verify required parameter '
|
|
5700
|
-
assertParamExists('deleteTag', '
|
|
5701
|
-
const localVarPath = `/admins/tags/{
|
|
5702
|
-
.replace(`{${"
|
|
5697
|
+
deleteTag: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5698
|
+
// verify required parameter 'id' is not null or undefined
|
|
5699
|
+
assertParamExists('deleteTag', 'id', id);
|
|
5700
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5701
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5703
5702
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5704
5703
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5705
5704
|
let baseOptions;
|
|
@@ -5723,15 +5722,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5723
5722
|
/**
|
|
5724
5723
|
* This method returns all information about a specific tag.
|
|
5725
5724
|
* @summary Method will return tag details.
|
|
5726
|
-
* @param {string}
|
|
5725
|
+
* @param {string} id Tag ID
|
|
5727
5726
|
* @param {*} [options] Override http request option.
|
|
5728
5727
|
* @throws {RequiredError}
|
|
5729
5728
|
*/
|
|
5730
|
-
|
|
5731
|
-
// verify required parameter '
|
|
5732
|
-
assertParamExists('
|
|
5733
|
-
const localVarPath = `/admins/tags/{
|
|
5734
|
-
.replace(`{${"
|
|
5729
|
+
getTagByID: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5730
|
+
// verify required parameter 'id' is not null or undefined
|
|
5731
|
+
assertParamExists('getTagByID', 'id', id);
|
|
5732
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5733
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5735
5734
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5736
5735
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5737
5736
|
let baseOptions;
|
|
@@ -5756,10 +5755,11 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5756
5755
|
* This method returns a list of all tags in the system.
|
|
5757
5756
|
* @summary Method returns tags list.
|
|
5758
5757
|
* @param {string} [tagKey] Tag key
|
|
5758
|
+
* @param {string} [search] search string
|
|
5759
5759
|
* @param {*} [options] Override http request option.
|
|
5760
5760
|
* @throws {RequiredError}
|
|
5761
5761
|
*/
|
|
5762
|
-
listTags: (tagKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5762
|
+
listTags: (tagKey, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5763
5763
|
const localVarPath = `/admins/tags`;
|
|
5764
5764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5765
5765
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5776,6 +5776,9 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5776
5776
|
if (tagKey !== undefined) {
|
|
5777
5777
|
localVarQueryParameter['tagKey'] = tagKey;
|
|
5778
5778
|
}
|
|
5779
|
+
if (search !== undefined) {
|
|
5780
|
+
localVarQueryParameter['search'] = search;
|
|
5781
|
+
}
|
|
5779
5782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5780
5783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5781
5784
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5787,16 +5790,16 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5787
5790
|
/**
|
|
5788
5791
|
* This method allows updating a tag in the system.
|
|
5789
5792
|
* @summary Method allows to update tag.
|
|
5790
|
-
* @param {string}
|
|
5793
|
+
* @param {string} id Tag id
|
|
5791
5794
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5792
5795
|
* @param {*} [options] Override http request option.
|
|
5793
5796
|
* @throws {RequiredError}
|
|
5794
5797
|
*/
|
|
5795
|
-
updateTag: (
|
|
5796
|
-
// verify required parameter '
|
|
5797
|
-
assertParamExists('updateTag', '
|
|
5798
|
-
const localVarPath = `/admins/tags/{
|
|
5799
|
-
.replace(`{${"
|
|
5798
|
+
updateTag: (id, updateTagRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5799
|
+
// verify required parameter 'id' is not null or undefined
|
|
5800
|
+
assertParamExists('updateTag', 'id', id);
|
|
5801
|
+
const localVarPath = `/admins/tags/{id}`
|
|
5802
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5800
5803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5801
5804
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5802
5805
|
let baseOptions;
|
|
@@ -5846,26 +5849,26 @@ export const TagApiFp = function (configuration) {
|
|
|
5846
5849
|
/**
|
|
5847
5850
|
* This method allows deleting a tag from the system.
|
|
5848
5851
|
* @summary Method allows to delete tag.
|
|
5849
|
-
* @param {string}
|
|
5852
|
+
* @param {string} id Tag id
|
|
5850
5853
|
* @param {*} [options] Override http request option.
|
|
5851
5854
|
* @throws {RequiredError}
|
|
5852
5855
|
*/
|
|
5853
|
-
deleteTag(
|
|
5856
|
+
deleteTag(id, options) {
|
|
5854
5857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5855
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(
|
|
5858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(id, options);
|
|
5856
5859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5857
5860
|
});
|
|
5858
5861
|
},
|
|
5859
5862
|
/**
|
|
5860
5863
|
* This method returns all information about a specific tag.
|
|
5861
5864
|
* @summary Method will return tag details.
|
|
5862
|
-
* @param {string}
|
|
5865
|
+
* @param {string} id Tag ID
|
|
5863
5866
|
* @param {*} [options] Override http request option.
|
|
5864
5867
|
* @throws {RequiredError}
|
|
5865
5868
|
*/
|
|
5866
|
-
|
|
5869
|
+
getTagByID(id, options) {
|
|
5867
5870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5868
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(id, options);
|
|
5869
5872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5870
5873
|
});
|
|
5871
5874
|
},
|
|
@@ -5873,26 +5876,27 @@ export const TagApiFp = function (configuration) {
|
|
|
5873
5876
|
* This method returns a list of all tags in the system.
|
|
5874
5877
|
* @summary Method returns tags list.
|
|
5875
5878
|
* @param {string} [tagKey] Tag key
|
|
5879
|
+
* @param {string} [search] search string
|
|
5876
5880
|
* @param {*} [options] Override http request option.
|
|
5877
5881
|
* @throws {RequiredError}
|
|
5878
5882
|
*/
|
|
5879
|
-
listTags(tagKey, options) {
|
|
5883
|
+
listTags(tagKey, search, options) {
|
|
5880
5884
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5881
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, options);
|
|
5885
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, search, options);
|
|
5882
5886
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5883
5887
|
});
|
|
5884
5888
|
},
|
|
5885
5889
|
/**
|
|
5886
5890
|
* This method allows updating a tag in the system.
|
|
5887
5891
|
* @summary Method allows to update tag.
|
|
5888
|
-
* @param {string}
|
|
5892
|
+
* @param {string} id Tag id
|
|
5889
5893
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5890
5894
|
* @param {*} [options] Override http request option.
|
|
5891
5895
|
* @throws {RequiredError}
|
|
5892
5896
|
*/
|
|
5893
|
-
updateTag(
|
|
5897
|
+
updateTag(id, updateTagRequest, options) {
|
|
5894
5898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5895
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(
|
|
5899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(id, updateTagRequest, options);
|
|
5896
5900
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5897
5901
|
});
|
|
5898
5902
|
},
|
|
@@ -5918,43 +5922,44 @@ export const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5918
5922
|
/**
|
|
5919
5923
|
* This method allows deleting a tag from the system.
|
|
5920
5924
|
* @summary Method allows to delete tag.
|
|
5921
|
-
* @param {string}
|
|
5925
|
+
* @param {string} id Tag id
|
|
5922
5926
|
* @param {*} [options] Override http request option.
|
|
5923
5927
|
* @throws {RequiredError}
|
|
5924
5928
|
*/
|
|
5925
|
-
deleteTag(
|
|
5926
|
-
return localVarFp.deleteTag(
|
|
5929
|
+
deleteTag(id, options) {
|
|
5930
|
+
return localVarFp.deleteTag(id, options).then((request) => request(axios, basePath));
|
|
5927
5931
|
},
|
|
5928
5932
|
/**
|
|
5929
5933
|
* This method returns all information about a specific tag.
|
|
5930
5934
|
* @summary Method will return tag details.
|
|
5931
|
-
* @param {string}
|
|
5935
|
+
* @param {string} id Tag ID
|
|
5932
5936
|
* @param {*} [options] Override http request option.
|
|
5933
5937
|
* @throws {RequiredError}
|
|
5934
5938
|
*/
|
|
5935
|
-
|
|
5936
|
-
return localVarFp.
|
|
5939
|
+
getTagByID(id, options) {
|
|
5940
|
+
return localVarFp.getTagByID(id, options).then((request) => request(axios, basePath));
|
|
5937
5941
|
},
|
|
5938
5942
|
/**
|
|
5939
5943
|
* This method returns a list of all tags in the system.
|
|
5940
5944
|
* @summary Method returns tags list.
|
|
5941
5945
|
* @param {string} [tagKey] Tag key
|
|
5946
|
+
* @param {string} [search] search string
|
|
5942
5947
|
* @param {*} [options] Override http request option.
|
|
5943
5948
|
* @throws {RequiredError}
|
|
5944
5949
|
*/
|
|
5945
|
-
listTags(tagKey, options) {
|
|
5946
|
-
return localVarFp.listTags(tagKey, options).then((request) => request(axios, basePath));
|
|
5950
|
+
listTags(tagKey, search, options) {
|
|
5951
|
+
return localVarFp.listTags(tagKey, search, options).then((request) => request(axios, basePath));
|
|
5947
5952
|
},
|
|
5948
5953
|
/**
|
|
5949
5954
|
* This method allows updating a tag in the system.
|
|
5950
5955
|
* @summary Method allows to update tag.
|
|
5951
|
-
* @param {string}
|
|
5956
|
+
* @param {string} id Tag id
|
|
5952
5957
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5953
5958
|
* @param {*} [options] Override http request option.
|
|
5954
5959
|
* @throws {RequiredError}
|
|
5955
5960
|
*/
|
|
5956
|
-
updateTag(
|
|
5957
|
-
return localVarFp.updateTag(
|
|
5961
|
+
updateTag(id, updateTagRequest, options) {
|
|
5962
|
+
return localVarFp.updateTag(id, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
5958
5963
|
},
|
|
5959
5964
|
};
|
|
5960
5965
|
};
|
|
@@ -5979,47 +5984,48 @@ export class TagApi extends BaseAPI {
|
|
|
5979
5984
|
/**
|
|
5980
5985
|
* This method allows deleting a tag from the system.
|
|
5981
5986
|
* @summary Method allows to delete tag.
|
|
5982
|
-
* @param {string}
|
|
5987
|
+
* @param {string} id Tag id
|
|
5983
5988
|
* @param {*} [options] Override http request option.
|
|
5984
5989
|
* @throws {RequiredError}
|
|
5985
5990
|
* @memberof TagApi
|
|
5986
5991
|
*/
|
|
5987
|
-
deleteTag(
|
|
5988
|
-
return TagApiFp(this.configuration).deleteTag(
|
|
5992
|
+
deleteTag(id, options) {
|
|
5993
|
+
return TagApiFp(this.configuration).deleteTag(id, options).then((request) => request(this.axios, this.basePath));
|
|
5989
5994
|
}
|
|
5990
5995
|
/**
|
|
5991
5996
|
* This method returns all information about a specific tag.
|
|
5992
5997
|
* @summary Method will return tag details.
|
|
5993
|
-
* @param {string}
|
|
5998
|
+
* @param {string} id Tag ID
|
|
5994
5999
|
* @param {*} [options] Override http request option.
|
|
5995
6000
|
* @throws {RequiredError}
|
|
5996
6001
|
* @memberof TagApi
|
|
5997
6002
|
*/
|
|
5998
|
-
|
|
5999
|
-
return TagApiFp(this.configuration).
|
|
6003
|
+
getTagByID(id, options) {
|
|
6004
|
+
return TagApiFp(this.configuration).getTagByID(id, options).then((request) => request(this.axios, this.basePath));
|
|
6000
6005
|
}
|
|
6001
6006
|
/**
|
|
6002
6007
|
* This method returns a list of all tags in the system.
|
|
6003
6008
|
* @summary Method returns tags list.
|
|
6004
6009
|
* @param {string} [tagKey] Tag key
|
|
6010
|
+
* @param {string} [search] search string
|
|
6005
6011
|
* @param {*} [options] Override http request option.
|
|
6006
6012
|
* @throws {RequiredError}
|
|
6007
6013
|
* @memberof TagApi
|
|
6008
6014
|
*/
|
|
6009
|
-
listTags(tagKey, options) {
|
|
6010
|
-
return TagApiFp(this.configuration).listTags(tagKey, options).then((request) => request(this.axios, this.basePath));
|
|
6015
|
+
listTags(tagKey, search, options) {
|
|
6016
|
+
return TagApiFp(this.configuration).listTags(tagKey, search, options).then((request) => request(this.axios, this.basePath));
|
|
6011
6017
|
}
|
|
6012
6018
|
/**
|
|
6013
6019
|
* This method allows updating a tag in the system.
|
|
6014
6020
|
* @summary Method allows to update tag.
|
|
6015
|
-
* @param {string}
|
|
6021
|
+
* @param {string} id Tag id
|
|
6016
6022
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6017
6023
|
* @param {*} [options] Override http request option.
|
|
6018
6024
|
* @throws {RequiredError}
|
|
6019
6025
|
* @memberof TagApi
|
|
6020
6026
|
*/
|
|
6021
|
-
updateTag(
|
|
6022
|
-
return TagApiFp(this.configuration).updateTag(
|
|
6027
|
+
updateTag(id, updateTagRequest, options) {
|
|
6028
|
+
return TagApiFp(this.configuration).updateTag(id, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6023
6029
|
}
|
|
6024
6030
|
}
|
|
6025
6031
|
/**
|