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/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
|
|
@@ -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/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
|
/**
|