flexinet-api 0.0.762-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 +166 -56
- package/dist/api.d.ts +134 -31
- package/dist/api.js +73 -57
- package/dist/esm/api.d.ts +134 -31
- package/dist/esm/api.js +70 -54
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -860,6 +860,17 @@ export interface Item {
|
|
|
860
860
|
*/
|
|
861
861
|
'product': Product;
|
|
862
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @export
|
|
866
|
+
* @enum {string}
|
|
867
|
+
*/
|
|
868
|
+
export declare const Locale: {
|
|
869
|
+
readonly EnUs: "en-us";
|
|
870
|
+
readonly RoRo: "ro-ro";
|
|
871
|
+
readonly HuHu: "hu-hu";
|
|
872
|
+
};
|
|
873
|
+
export type Locale = typeof Locale[keyof typeof Locale];
|
|
863
874
|
/**
|
|
864
875
|
*
|
|
865
876
|
* @export
|
|
@@ -1008,10 +1019,10 @@ export interface Notification {
|
|
|
1008
1019
|
'kind': NotificationKind;
|
|
1009
1020
|
/**
|
|
1010
1021
|
*
|
|
1011
|
-
* @type {Array<
|
|
1022
|
+
* @type {Array<NotificationReferencesInner>}
|
|
1012
1023
|
* @memberof Notification
|
|
1013
1024
|
*/
|
|
1014
|
-
'references'?: Array<
|
|
1025
|
+
'references'?: Array<NotificationReferencesInner>;
|
|
1015
1026
|
}
|
|
1016
1027
|
/**
|
|
1017
1028
|
*
|
|
@@ -1107,6 +1118,11 @@ export interface NotificationPreference {
|
|
|
1107
1118
|
*/
|
|
1108
1119
|
'kind': NotificationKind;
|
|
1109
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @type NotificationReferencesInner
|
|
1123
|
+
* @export
|
|
1124
|
+
*/
|
|
1125
|
+
export type NotificationReferencesInner = Order | Product | Promotion;
|
|
1110
1126
|
/**
|
|
1111
1127
|
*
|
|
1112
1128
|
* @export
|
|
@@ -1297,6 +1313,12 @@ export interface Preferences {
|
|
|
1297
1313
|
* @interface PreferencesRequest
|
|
1298
1314
|
*/
|
|
1299
1315
|
export interface PreferencesRequest {
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @type {Locale}
|
|
1319
|
+
* @memberof PreferencesRequest
|
|
1320
|
+
*/
|
|
1321
|
+
'preferredLocale'?: Locale;
|
|
1300
1322
|
/**
|
|
1301
1323
|
*
|
|
1302
1324
|
* @type {Array<NotificationPreference>}
|
|
@@ -2506,6 +2528,12 @@ export interface SystemUserDetails {
|
|
|
2506
2528
|
* @interface Tag
|
|
2507
2529
|
*/
|
|
2508
2530
|
export interface Tag {
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {string}
|
|
2534
|
+
* @memberof Tag
|
|
2535
|
+
*/
|
|
2536
|
+
'id': string;
|
|
2509
2537
|
/**
|
|
2510
2538
|
*
|
|
2511
2539
|
* @type {string}
|
|
@@ -2549,6 +2577,14 @@ export interface TagCreationRequest {
|
|
|
2549
2577
|
* @memberof TagCreationRequest
|
|
2550
2578
|
*/
|
|
2551
2579
|
'key': string;
|
|
2580
|
+
/**
|
|
2581
|
+
*
|
|
2582
|
+
* @type {{ [key: string]: string; }}
|
|
2583
|
+
* @memberof TagCreationRequest
|
|
2584
|
+
*/
|
|
2585
|
+
'translations': {
|
|
2586
|
+
[key: string]: string;
|
|
2587
|
+
};
|
|
2552
2588
|
/**
|
|
2553
2589
|
*
|
|
2554
2590
|
* @type {TagDataType}
|
|
@@ -2567,6 +2603,12 @@ export interface TagCreationRequest {
|
|
|
2567
2603
|
* @memberof TagCreationRequest
|
|
2568
2604
|
*/
|
|
2569
2605
|
'isRequired': boolean;
|
|
2606
|
+
/**
|
|
2607
|
+
*
|
|
2608
|
+
* @type {Array<TagValueCreationRequest>}
|
|
2609
|
+
* @memberof TagCreationRequest
|
|
2610
|
+
*/
|
|
2611
|
+
'values'?: Array<TagValueCreationRequest>;
|
|
2570
2612
|
}
|
|
2571
2613
|
/**
|
|
2572
2614
|
*
|
|
@@ -2586,6 +2628,12 @@ export type TagDataType = typeof TagDataType[keyof typeof TagDataType];
|
|
|
2586
2628
|
* @interface TagDetailed
|
|
2587
2629
|
*/
|
|
2588
2630
|
export interface TagDetailed {
|
|
2631
|
+
/**
|
|
2632
|
+
*
|
|
2633
|
+
* @type {string}
|
|
2634
|
+
* @memberof TagDetailed
|
|
2635
|
+
*/
|
|
2636
|
+
'id': string;
|
|
2589
2637
|
/**
|
|
2590
2638
|
*
|
|
2591
2639
|
* @type {string}
|
|
@@ -2622,6 +2670,12 @@ export interface TagDetailed {
|
|
|
2622
2670
|
* @memberof TagDetailed
|
|
2623
2671
|
*/
|
|
2624
2672
|
'validators': Array<TagValidator>;
|
|
2673
|
+
/**
|
|
2674
|
+
*
|
|
2675
|
+
* @type {Array<TagValue>}
|
|
2676
|
+
* @memberof TagDetailed
|
|
2677
|
+
*/
|
|
2678
|
+
'values'?: Array<TagValue>;
|
|
2625
2679
|
}
|
|
2626
2680
|
/**
|
|
2627
2681
|
*
|
|
@@ -2829,9 +2883,54 @@ export interface TagValidator {
|
|
|
2829
2883
|
export declare const TagValidatorType: {
|
|
2830
2884
|
readonly Pattern: "pattern";
|
|
2831
2885
|
readonly Range: "range";
|
|
2832
|
-
readonly FixedValues: "fixed_values";
|
|
2833
2886
|
};
|
|
2834
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
|
+
}
|
|
2835
2934
|
/**
|
|
2836
2935
|
*
|
|
2837
2936
|
* @export
|
|
@@ -6409,36 +6508,37 @@ export declare const TagApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
6409
6508
|
/**
|
|
6410
6509
|
* This method allows deleting a tag from the system.
|
|
6411
6510
|
* @summary Method allows to delete tag.
|
|
6412
|
-
* @param {string}
|
|
6511
|
+
* @param {string} id Tag id
|
|
6413
6512
|
* @param {*} [options] Override http request option.
|
|
6414
6513
|
* @throws {RequiredError}
|
|
6415
6514
|
*/
|
|
6416
|
-
deleteTag: (
|
|
6515
|
+
deleteTag: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6417
6516
|
/**
|
|
6418
6517
|
* This method returns all information about a specific tag.
|
|
6419
6518
|
* @summary Method will return tag details.
|
|
6420
|
-
* @param {string}
|
|
6519
|
+
* @param {string} id Tag ID
|
|
6421
6520
|
* @param {*} [options] Override http request option.
|
|
6422
6521
|
* @throws {RequiredError}
|
|
6423
6522
|
*/
|
|
6424
|
-
|
|
6523
|
+
getTagByID: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6425
6524
|
/**
|
|
6426
6525
|
* This method returns a list of all tags in the system.
|
|
6427
6526
|
* @summary Method returns tags list.
|
|
6428
6527
|
* @param {string} [tagKey] Tag key
|
|
6528
|
+
* @param {string} [search] search string
|
|
6429
6529
|
* @param {*} [options] Override http request option.
|
|
6430
6530
|
* @throws {RequiredError}
|
|
6431
6531
|
*/
|
|
6432
|
-
listTags: (tagKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6532
|
+
listTags: (tagKey?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6433
6533
|
/**
|
|
6434
6534
|
* This method allows updating a tag in the system.
|
|
6435
6535
|
* @summary Method allows to update tag.
|
|
6436
|
-
* @param {string}
|
|
6536
|
+
* @param {string} id Tag id
|
|
6437
6537
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6438
6538
|
* @param {*} [options] Override http request option.
|
|
6439
6539
|
* @throws {RequiredError}
|
|
6440
6540
|
*/
|
|
6441
|
-
updateTag: (
|
|
6541
|
+
updateTag: (id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6442
6542
|
};
|
|
6443
6543
|
/**
|
|
6444
6544
|
* TagApi - functional programming interface
|
|
@@ -6456,36 +6556,37 @@ export declare const TagApiFp: (configuration?: Configuration) => {
|
|
|
6456
6556
|
/**
|
|
6457
6557
|
* This method allows deleting a tag from the system.
|
|
6458
6558
|
* @summary Method allows to delete tag.
|
|
6459
|
-
* @param {string}
|
|
6559
|
+
* @param {string} id Tag id
|
|
6460
6560
|
* @param {*} [options] Override http request option.
|
|
6461
6561
|
* @throws {RequiredError}
|
|
6462
6562
|
*/
|
|
6463
|
-
deleteTag(
|
|
6563
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6464
6564
|
/**
|
|
6465
6565
|
* This method returns all information about a specific tag.
|
|
6466
6566
|
* @summary Method will return tag details.
|
|
6467
|
-
* @param {string}
|
|
6567
|
+
* @param {string} id Tag ID
|
|
6468
6568
|
* @param {*} [options] Override http request option.
|
|
6469
6569
|
* @throws {RequiredError}
|
|
6470
6570
|
*/
|
|
6471
|
-
|
|
6571
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6472
6572
|
/**
|
|
6473
6573
|
* This method returns a list of all tags in the system.
|
|
6474
6574
|
* @summary Method returns tags list.
|
|
6475
6575
|
* @param {string} [tagKey] Tag key
|
|
6576
|
+
* @param {string} [search] search string
|
|
6476
6577
|
* @param {*} [options] Override http request option.
|
|
6477
6578
|
* @throws {RequiredError}
|
|
6478
6579
|
*/
|
|
6479
|
-
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>>;
|
|
6480
6581
|
/**
|
|
6481
6582
|
* This method allows updating a tag in the system.
|
|
6482
6583
|
* @summary Method allows to update tag.
|
|
6483
|
-
* @param {string}
|
|
6584
|
+
* @param {string} id Tag id
|
|
6484
6585
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6485
6586
|
* @param {*} [options] Override http request option.
|
|
6486
6587
|
* @throws {RequiredError}
|
|
6487
6588
|
*/
|
|
6488
|
-
updateTag(
|
|
6589
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
|
|
6489
6590
|
};
|
|
6490
6591
|
/**
|
|
6491
6592
|
* TagApi - factory interface
|
|
@@ -6503,36 +6604,37 @@ export declare const TagApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
6503
6604
|
/**
|
|
6504
6605
|
* This method allows deleting a tag from the system.
|
|
6505
6606
|
* @summary Method allows to delete tag.
|
|
6506
|
-
* @param {string}
|
|
6607
|
+
* @param {string} id Tag id
|
|
6507
6608
|
* @param {*} [options] Override http request option.
|
|
6508
6609
|
* @throws {RequiredError}
|
|
6509
6610
|
*/
|
|
6510
|
-
deleteTag(
|
|
6611
|
+
deleteTag(id: string, options?: any): AxiosPromise<void>;
|
|
6511
6612
|
/**
|
|
6512
6613
|
* This method returns all information about a specific tag.
|
|
6513
6614
|
* @summary Method will return tag details.
|
|
6514
|
-
* @param {string}
|
|
6615
|
+
* @param {string} id Tag ID
|
|
6515
6616
|
* @param {*} [options] Override http request option.
|
|
6516
6617
|
* @throws {RequiredError}
|
|
6517
6618
|
*/
|
|
6518
|
-
|
|
6619
|
+
getTagByID(id: string, options?: any): AxiosPromise<TagDetailed>;
|
|
6519
6620
|
/**
|
|
6520
6621
|
* This method returns a list of all tags in the system.
|
|
6521
6622
|
* @summary Method returns tags list.
|
|
6522
6623
|
* @param {string} [tagKey] Tag key
|
|
6624
|
+
* @param {string} [search] search string
|
|
6523
6625
|
* @param {*} [options] Override http request option.
|
|
6524
6626
|
* @throws {RequiredError}
|
|
6525
6627
|
*/
|
|
6526
|
-
listTags(tagKey?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6628
|
+
listTags(tagKey?: string, search?: string, options?: any): AxiosPromise<TagListResponse>;
|
|
6527
6629
|
/**
|
|
6528
6630
|
* This method allows updating a tag in the system.
|
|
6529
6631
|
* @summary Method allows to update tag.
|
|
6530
|
-
* @param {string}
|
|
6632
|
+
* @param {string} id Tag id
|
|
6531
6633
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6532
6634
|
* @param {*} [options] Override http request option.
|
|
6533
6635
|
* @throws {RequiredError}
|
|
6534
6636
|
*/
|
|
6535
|
-
updateTag(
|
|
6637
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<TagDetailed>;
|
|
6536
6638
|
};
|
|
6537
6639
|
/**
|
|
6538
6640
|
* TagApi - object-oriented interface
|
|
@@ -6553,40 +6655,41 @@ export declare class TagApi extends BaseAPI {
|
|
|
6553
6655
|
/**
|
|
6554
6656
|
* This method allows deleting a tag from the system.
|
|
6555
6657
|
* @summary Method allows to delete tag.
|
|
6556
|
-
* @param {string}
|
|
6658
|
+
* @param {string} id Tag id
|
|
6557
6659
|
* @param {*} [options] Override http request option.
|
|
6558
6660
|
* @throws {RequiredError}
|
|
6559
6661
|
* @memberof TagApi
|
|
6560
6662
|
*/
|
|
6561
|
-
deleteTag(
|
|
6663
|
+
deleteTag(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
6562
6664
|
/**
|
|
6563
6665
|
* This method returns all information about a specific tag.
|
|
6564
6666
|
* @summary Method will return tag details.
|
|
6565
|
-
* @param {string}
|
|
6667
|
+
* @param {string} id Tag ID
|
|
6566
6668
|
* @param {*} [options] Override http request option.
|
|
6567
6669
|
* @throws {RequiredError}
|
|
6568
6670
|
* @memberof TagApi
|
|
6569
6671
|
*/
|
|
6570
|
-
|
|
6672
|
+
getTagByID(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6571
6673
|
/**
|
|
6572
6674
|
* This method returns a list of all tags in the system.
|
|
6573
6675
|
* @summary Method returns tags list.
|
|
6574
6676
|
* @param {string} [tagKey] Tag key
|
|
6677
|
+
* @param {string} [search] search string
|
|
6575
6678
|
* @param {*} [options] Override http request option.
|
|
6576
6679
|
* @throws {RequiredError}
|
|
6577
6680
|
* @memberof TagApi
|
|
6578
6681
|
*/
|
|
6579
|
-
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>>;
|
|
6580
6683
|
/**
|
|
6581
6684
|
* This method allows updating a tag in the system.
|
|
6582
6685
|
* @summary Method allows to update tag.
|
|
6583
|
-
* @param {string}
|
|
6686
|
+
* @param {string} id Tag id
|
|
6584
6687
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6585
6688
|
* @param {*} [options] Override http request option.
|
|
6586
6689
|
* @throws {RequiredError}
|
|
6587
6690
|
* @memberof TagApi
|
|
6588
6691
|
*/
|
|
6589
|
-
updateTag(
|
|
6692
|
+
updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
|
|
6590
6693
|
}
|
|
6591
6694
|
/**
|
|
6592
6695
|
* TenantApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -98,6 +98,16 @@ export const Feature = {
|
|
|
98
98
|
SalesBudget: 'sales_budget',
|
|
99
99
|
CustomDeals: 'custom_deals'
|
|
100
100
|
};
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @export
|
|
104
|
+
* @enum {string}
|
|
105
|
+
*/
|
|
106
|
+
export const Locale = {
|
|
107
|
+
EnUs: 'en-us',
|
|
108
|
+
RoRo: 'ro-ro',
|
|
109
|
+
HuHu: 'hu-hu'
|
|
110
|
+
};
|
|
101
111
|
/**
|
|
102
112
|
*
|
|
103
113
|
* @export
|
|
@@ -290,8 +300,7 @@ export const TagRuleKind = {
|
|
|
290
300
|
*/
|
|
291
301
|
export const TagValidatorType = {
|
|
292
302
|
Pattern: 'pattern',
|
|
293
|
-
Range: 'range'
|
|
294
|
-
FixedValues: 'fixed_values'
|
|
303
|
+
Range: 'range'
|
|
295
304
|
};
|
|
296
305
|
/**
|
|
297
306
|
*
|
|
@@ -5681,15 +5690,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5681
5690
|
/**
|
|
5682
5691
|
* This method allows deleting a tag from the system.
|
|
5683
5692
|
* @summary Method allows to delete tag.
|
|
5684
|
-
* @param {string}
|
|
5693
|
+
* @param {string} id Tag id
|
|
5685
5694
|
* @param {*} [options] Override http request option.
|
|
5686
5695
|
* @throws {RequiredError}
|
|
5687
5696
|
*/
|
|
5688
|
-
deleteTag: (
|
|
5689
|
-
// verify required parameter '
|
|
5690
|
-
assertParamExists('deleteTag', '
|
|
5691
|
-
const localVarPath = `/admins/tags/{
|
|
5692
|
-
.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)));
|
|
5693
5702
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5694
5703
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5695
5704
|
let baseOptions;
|
|
@@ -5713,15 +5722,15 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5713
5722
|
/**
|
|
5714
5723
|
* This method returns all information about a specific tag.
|
|
5715
5724
|
* @summary Method will return tag details.
|
|
5716
|
-
* @param {string}
|
|
5725
|
+
* @param {string} id Tag ID
|
|
5717
5726
|
* @param {*} [options] Override http request option.
|
|
5718
5727
|
* @throws {RequiredError}
|
|
5719
5728
|
*/
|
|
5720
|
-
|
|
5721
|
-
// verify required parameter '
|
|
5722
|
-
assertParamExists('
|
|
5723
|
-
const localVarPath = `/admins/tags/{
|
|
5724
|
-
.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)));
|
|
5725
5734
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5726
5735
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5727
5736
|
let baseOptions;
|
|
@@ -5746,10 +5755,11 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5746
5755
|
* This method returns a list of all tags in the system.
|
|
5747
5756
|
* @summary Method returns tags list.
|
|
5748
5757
|
* @param {string} [tagKey] Tag key
|
|
5758
|
+
* @param {string} [search] search string
|
|
5749
5759
|
* @param {*} [options] Override http request option.
|
|
5750
5760
|
* @throws {RequiredError}
|
|
5751
5761
|
*/
|
|
5752
|
-
listTags: (tagKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5762
|
+
listTags: (tagKey, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5753
5763
|
const localVarPath = `/admins/tags`;
|
|
5754
5764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5755
5765
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5766,6 +5776,9 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5766
5776
|
if (tagKey !== undefined) {
|
|
5767
5777
|
localVarQueryParameter['tagKey'] = tagKey;
|
|
5768
5778
|
}
|
|
5779
|
+
if (search !== undefined) {
|
|
5780
|
+
localVarQueryParameter['search'] = search;
|
|
5781
|
+
}
|
|
5769
5782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5770
5783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5771
5784
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5777,16 +5790,16 @@ export const TagApiAxiosParamCreator = function (configuration) {
|
|
|
5777
5790
|
/**
|
|
5778
5791
|
* This method allows updating a tag in the system.
|
|
5779
5792
|
* @summary Method allows to update tag.
|
|
5780
|
-
* @param {string}
|
|
5793
|
+
* @param {string} id Tag id
|
|
5781
5794
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5782
5795
|
* @param {*} [options] Override http request option.
|
|
5783
5796
|
* @throws {RequiredError}
|
|
5784
5797
|
*/
|
|
5785
|
-
updateTag: (
|
|
5786
|
-
// verify required parameter '
|
|
5787
|
-
assertParamExists('updateTag', '
|
|
5788
|
-
const localVarPath = `/admins/tags/{
|
|
5789
|
-
.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)));
|
|
5790
5803
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5791
5804
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5792
5805
|
let baseOptions;
|
|
@@ -5836,26 +5849,26 @@ export const TagApiFp = function (configuration) {
|
|
|
5836
5849
|
/**
|
|
5837
5850
|
* This method allows deleting a tag from the system.
|
|
5838
5851
|
* @summary Method allows to delete tag.
|
|
5839
|
-
* @param {string}
|
|
5852
|
+
* @param {string} id Tag id
|
|
5840
5853
|
* @param {*} [options] Override http request option.
|
|
5841
5854
|
* @throws {RequiredError}
|
|
5842
5855
|
*/
|
|
5843
|
-
deleteTag(
|
|
5856
|
+
deleteTag(id, options) {
|
|
5844
5857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5845
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(
|
|
5858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTag(id, options);
|
|
5846
5859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5847
5860
|
});
|
|
5848
5861
|
},
|
|
5849
5862
|
/**
|
|
5850
5863
|
* This method returns all information about a specific tag.
|
|
5851
5864
|
* @summary Method will return tag details.
|
|
5852
|
-
* @param {string}
|
|
5865
|
+
* @param {string} id Tag ID
|
|
5853
5866
|
* @param {*} [options] Override http request option.
|
|
5854
5867
|
* @throws {RequiredError}
|
|
5855
5868
|
*/
|
|
5856
|
-
|
|
5869
|
+
getTagByID(id, options) {
|
|
5857
5870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5858
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTagByID(id, options);
|
|
5859
5872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5860
5873
|
});
|
|
5861
5874
|
},
|
|
@@ -5863,26 +5876,27 @@ export const TagApiFp = function (configuration) {
|
|
|
5863
5876
|
* This method returns a list of all tags in the system.
|
|
5864
5877
|
* @summary Method returns tags list.
|
|
5865
5878
|
* @param {string} [tagKey] Tag key
|
|
5879
|
+
* @param {string} [search] search string
|
|
5866
5880
|
* @param {*} [options] Override http request option.
|
|
5867
5881
|
* @throws {RequiredError}
|
|
5868
5882
|
*/
|
|
5869
|
-
listTags(tagKey, options) {
|
|
5883
|
+
listTags(tagKey, search, options) {
|
|
5870
5884
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5871
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, options);
|
|
5885
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTags(tagKey, search, options);
|
|
5872
5886
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5873
5887
|
});
|
|
5874
5888
|
},
|
|
5875
5889
|
/**
|
|
5876
5890
|
* This method allows updating a tag in the system.
|
|
5877
5891
|
* @summary Method allows to update tag.
|
|
5878
|
-
* @param {string}
|
|
5892
|
+
* @param {string} id Tag id
|
|
5879
5893
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5880
5894
|
* @param {*} [options] Override http request option.
|
|
5881
5895
|
* @throws {RequiredError}
|
|
5882
5896
|
*/
|
|
5883
|
-
updateTag(
|
|
5897
|
+
updateTag(id, updateTagRequest, options) {
|
|
5884
5898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5885
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(
|
|
5899
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTag(id, updateTagRequest, options);
|
|
5886
5900
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5887
5901
|
});
|
|
5888
5902
|
},
|
|
@@ -5908,43 +5922,44 @@ export const TagApiFactory = function (configuration, basePath, axios) {
|
|
|
5908
5922
|
/**
|
|
5909
5923
|
* This method allows deleting a tag from the system.
|
|
5910
5924
|
* @summary Method allows to delete tag.
|
|
5911
|
-
* @param {string}
|
|
5925
|
+
* @param {string} id Tag id
|
|
5912
5926
|
* @param {*} [options] Override http request option.
|
|
5913
5927
|
* @throws {RequiredError}
|
|
5914
5928
|
*/
|
|
5915
|
-
deleteTag(
|
|
5916
|
-
return localVarFp.deleteTag(
|
|
5929
|
+
deleteTag(id, options) {
|
|
5930
|
+
return localVarFp.deleteTag(id, options).then((request) => request(axios, basePath));
|
|
5917
5931
|
},
|
|
5918
5932
|
/**
|
|
5919
5933
|
* This method returns all information about a specific tag.
|
|
5920
5934
|
* @summary Method will return tag details.
|
|
5921
|
-
* @param {string}
|
|
5935
|
+
* @param {string} id Tag ID
|
|
5922
5936
|
* @param {*} [options] Override http request option.
|
|
5923
5937
|
* @throws {RequiredError}
|
|
5924
5938
|
*/
|
|
5925
|
-
|
|
5926
|
-
return localVarFp.
|
|
5939
|
+
getTagByID(id, options) {
|
|
5940
|
+
return localVarFp.getTagByID(id, options).then((request) => request(axios, basePath));
|
|
5927
5941
|
},
|
|
5928
5942
|
/**
|
|
5929
5943
|
* This method returns a list of all tags in the system.
|
|
5930
5944
|
* @summary Method returns tags list.
|
|
5931
5945
|
* @param {string} [tagKey] Tag key
|
|
5946
|
+
* @param {string} [search] search string
|
|
5932
5947
|
* @param {*} [options] Override http request option.
|
|
5933
5948
|
* @throws {RequiredError}
|
|
5934
5949
|
*/
|
|
5935
|
-
listTags(tagKey, options) {
|
|
5936
|
-
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));
|
|
5937
5952
|
},
|
|
5938
5953
|
/**
|
|
5939
5954
|
* This method allows updating a tag in the system.
|
|
5940
5955
|
* @summary Method allows to update tag.
|
|
5941
|
-
* @param {string}
|
|
5956
|
+
* @param {string} id Tag id
|
|
5942
5957
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
5943
5958
|
* @param {*} [options] Override http request option.
|
|
5944
5959
|
* @throws {RequiredError}
|
|
5945
5960
|
*/
|
|
5946
|
-
updateTag(
|
|
5947
|
-
return localVarFp.updateTag(
|
|
5961
|
+
updateTag(id, updateTagRequest, options) {
|
|
5962
|
+
return localVarFp.updateTag(id, updateTagRequest, options).then((request) => request(axios, basePath));
|
|
5948
5963
|
},
|
|
5949
5964
|
};
|
|
5950
5965
|
};
|
|
@@ -5969,47 +5984,48 @@ export class TagApi extends BaseAPI {
|
|
|
5969
5984
|
/**
|
|
5970
5985
|
* This method allows deleting a tag from the system.
|
|
5971
5986
|
* @summary Method allows to delete tag.
|
|
5972
|
-
* @param {string}
|
|
5987
|
+
* @param {string} id Tag id
|
|
5973
5988
|
* @param {*} [options] Override http request option.
|
|
5974
5989
|
* @throws {RequiredError}
|
|
5975
5990
|
* @memberof TagApi
|
|
5976
5991
|
*/
|
|
5977
|
-
deleteTag(
|
|
5978
|
-
return TagApiFp(this.configuration).deleteTag(
|
|
5992
|
+
deleteTag(id, options) {
|
|
5993
|
+
return TagApiFp(this.configuration).deleteTag(id, options).then((request) => request(this.axios, this.basePath));
|
|
5979
5994
|
}
|
|
5980
5995
|
/**
|
|
5981
5996
|
* This method returns all information about a specific tag.
|
|
5982
5997
|
* @summary Method will return tag details.
|
|
5983
|
-
* @param {string}
|
|
5998
|
+
* @param {string} id Tag ID
|
|
5984
5999
|
* @param {*} [options] Override http request option.
|
|
5985
6000
|
* @throws {RequiredError}
|
|
5986
6001
|
* @memberof TagApi
|
|
5987
6002
|
*/
|
|
5988
|
-
|
|
5989
|
-
return TagApiFp(this.configuration).
|
|
6003
|
+
getTagByID(id, options) {
|
|
6004
|
+
return TagApiFp(this.configuration).getTagByID(id, options).then((request) => request(this.axios, this.basePath));
|
|
5990
6005
|
}
|
|
5991
6006
|
/**
|
|
5992
6007
|
* This method returns a list of all tags in the system.
|
|
5993
6008
|
* @summary Method returns tags list.
|
|
5994
6009
|
* @param {string} [tagKey] Tag key
|
|
6010
|
+
* @param {string} [search] search string
|
|
5995
6011
|
* @param {*} [options] Override http request option.
|
|
5996
6012
|
* @throws {RequiredError}
|
|
5997
6013
|
* @memberof TagApi
|
|
5998
6014
|
*/
|
|
5999
|
-
listTags(tagKey, options) {
|
|
6000
|
-
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));
|
|
6001
6017
|
}
|
|
6002
6018
|
/**
|
|
6003
6019
|
* This method allows updating a tag in the system.
|
|
6004
6020
|
* @summary Method allows to update tag.
|
|
6005
|
-
* @param {string}
|
|
6021
|
+
* @param {string} id Tag id
|
|
6006
6022
|
* @param {UpdateTagRequest} [updateTagRequest]
|
|
6007
6023
|
* @param {*} [options] Override http request option.
|
|
6008
6024
|
* @throws {RequiredError}
|
|
6009
6025
|
* @memberof TagApi
|
|
6010
6026
|
*/
|
|
6011
|
-
updateTag(
|
|
6012
|
-
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));
|
|
6013
6029
|
}
|
|
6014
6030
|
}
|
|
6015
6031
|
/**
|