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/dist/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<string>}
1022
+ * @type {Array<NotificationReferencesInner>}
1012
1023
  * @memberof Notification
1013
1024
  */
1014
- 'references'?: Array<string>;
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} key Tag key
6511
+ * @param {string} id Tag id
6413
6512
  * @param {*} [options] Override http request option.
6414
6513
  * @throws {RequiredError}
6415
6514
  */
6416
- deleteTag: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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} key Tag key
6519
+ * @param {string} id Tag ID
6421
6520
  * @param {*} [options] Override http request option.
6422
6521
  * @throws {RequiredError}
6423
6522
  */
6424
- getTagByKey: (key: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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} key Tag key
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: (key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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} key Tag key
6559
+ * @param {string} id Tag id
6460
6560
  * @param {*} [options] Override http request option.
6461
6561
  * @throws {RequiredError}
6462
6562
  */
6463
- deleteTag(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
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} key Tag key
6567
+ * @param {string} id Tag ID
6468
6568
  * @param {*} [options] Override http request option.
6469
6569
  * @throws {RequiredError}
6470
6570
  */
6471
- getTagByKey(key: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagDetailed>>;
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} key Tag key
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(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tag>>;
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} key Tag key
6607
+ * @param {string} id Tag id
6507
6608
  * @param {*} [options] Override http request option.
6508
6609
  * @throws {RequiredError}
6509
6610
  */
6510
- deleteTag(key: string, options?: any): AxiosPromise<void>;
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} key Tag key
6615
+ * @param {string} id Tag ID
6515
6616
  * @param {*} [options] Override http request option.
6516
6617
  * @throws {RequiredError}
6517
6618
  */
6518
- getTagByKey(key: string, options?: any): AxiosPromise<TagDetailed>;
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} key Tag key
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(key: string, updateTagRequest?: UpdateTagRequest, options?: any): AxiosPromise<Tag>;
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} key Tag key
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(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
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} key Tag key
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
- getTagByKey(key: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
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} key Tag key
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(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any>>;
6692
+ updateTag(id: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed, any>>;
6590
6693
  }
6591
6694
  /**
6592
6695
  * TenantApi - axios parameter creator