flexinet-api 0.0.274-prerelease0 → 0.0.318-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 +794 -8
- package/dist/api.d.ts +438 -0
- package/dist/api.js +617 -6
- package/dist/esm/api.d.ts +438 -0
- package/dist/esm/api.js +612 -5
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1100,6 +1100,19 @@ export declare const ProductAvailability: {
|
|
|
1100
1100
|
readonly Unavailable: "unavailable";
|
|
1101
1101
|
};
|
|
1102
1102
|
export type ProductAvailability = typeof ProductAvailability[keyof typeof ProductAvailability];
|
|
1103
|
+
/**
|
|
1104
|
+
*
|
|
1105
|
+
* @export
|
|
1106
|
+
* @interface ProductBulkCreationRequest
|
|
1107
|
+
*/
|
|
1108
|
+
export interface ProductBulkCreationRequest {
|
|
1109
|
+
/**
|
|
1110
|
+
*
|
|
1111
|
+
* @type {Array<ProductCreationRequest>}
|
|
1112
|
+
* @memberof ProductBulkCreationRequest
|
|
1113
|
+
*/
|
|
1114
|
+
'products': Array<ProductCreationRequest>;
|
|
1115
|
+
}
|
|
1103
1116
|
/**
|
|
1104
1117
|
*
|
|
1105
1118
|
* @export
|
|
@@ -2563,6 +2576,12 @@ export interface User {
|
|
|
2563
2576
|
* @memberof User
|
|
2564
2577
|
*/
|
|
2565
2578
|
'updatedAt': string;
|
|
2579
|
+
/**
|
|
2580
|
+
*
|
|
2581
|
+
* @type {User}
|
|
2582
|
+
* @memberof User
|
|
2583
|
+
*/
|
|
2584
|
+
'manager'?: User;
|
|
2566
2585
|
/**
|
|
2567
2586
|
*
|
|
2568
2587
|
* @type {UserDetails}
|
|
@@ -2600,6 +2619,111 @@ export interface UserListResponse {
|
|
|
2600
2619
|
*/
|
|
2601
2620
|
'hasMore': boolean;
|
|
2602
2621
|
}
|
|
2622
|
+
/**
|
|
2623
|
+
*
|
|
2624
|
+
* @export
|
|
2625
|
+
* @interface UserPromotion
|
|
2626
|
+
*/
|
|
2627
|
+
export interface UserPromotion {
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @type {string}
|
|
2631
|
+
* @memberof UserPromotion
|
|
2632
|
+
*/
|
|
2633
|
+
'id': string;
|
|
2634
|
+
/**
|
|
2635
|
+
*
|
|
2636
|
+
* @type {string}
|
|
2637
|
+
* @memberof UserPromotion
|
|
2638
|
+
*/
|
|
2639
|
+
'name': string;
|
|
2640
|
+
/**
|
|
2641
|
+
*
|
|
2642
|
+
* @type {string}
|
|
2643
|
+
* @memberof UserPromotion
|
|
2644
|
+
*/
|
|
2645
|
+
'description': string;
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @type {Target}
|
|
2649
|
+
* @memberof UserPromotion
|
|
2650
|
+
*/
|
|
2651
|
+
'target': Target;
|
|
2652
|
+
/**
|
|
2653
|
+
*
|
|
2654
|
+
* @type {boolean}
|
|
2655
|
+
* @memberof UserPromotion
|
|
2656
|
+
*/
|
|
2657
|
+
'repeatable': boolean;
|
|
2658
|
+
/**
|
|
2659
|
+
*
|
|
2660
|
+
* @type {number}
|
|
2661
|
+
* @memberof UserPromotion
|
|
2662
|
+
*/
|
|
2663
|
+
'repeatCount'?: number;
|
|
2664
|
+
/**
|
|
2665
|
+
*
|
|
2666
|
+
* @type {Array<RuleGroup>}
|
|
2667
|
+
* @memberof UserPromotion
|
|
2668
|
+
*/
|
|
2669
|
+
'ruleGroups': Array<RuleGroup>;
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @type {string}
|
|
2673
|
+
* @memberof UserPromotion
|
|
2674
|
+
*/
|
|
2675
|
+
'brandLogoURL': string;
|
|
2676
|
+
/**
|
|
2677
|
+
*
|
|
2678
|
+
* @type {string}
|
|
2679
|
+
* @memberof UserPromotion
|
|
2680
|
+
*/
|
|
2681
|
+
'imageURL': string;
|
|
2682
|
+
/**
|
|
2683
|
+
*
|
|
2684
|
+
* @type {string}
|
|
2685
|
+
* @memberof UserPromotion
|
|
2686
|
+
*/
|
|
2687
|
+
'startAt': string;
|
|
2688
|
+
/**
|
|
2689
|
+
*
|
|
2690
|
+
* @type {string}
|
|
2691
|
+
* @memberof UserPromotion
|
|
2692
|
+
*/
|
|
2693
|
+
'endAt': string;
|
|
2694
|
+
/**
|
|
2695
|
+
*
|
|
2696
|
+
* @type {{ [key: string]: string; }}
|
|
2697
|
+
* @memberof UserPromotion
|
|
2698
|
+
*/
|
|
2699
|
+
'tags': {
|
|
2700
|
+
[key: string]: string;
|
|
2701
|
+
};
|
|
2702
|
+
/**
|
|
2703
|
+
*
|
|
2704
|
+
* @type {Repetition}
|
|
2705
|
+
* @memberof UserPromotion
|
|
2706
|
+
*/
|
|
2707
|
+
'repetition'?: Repetition;
|
|
2708
|
+
/**
|
|
2709
|
+
*
|
|
2710
|
+
* @type {string}
|
|
2711
|
+
* @memberof UserPromotion
|
|
2712
|
+
*/
|
|
2713
|
+
'createdAt': string;
|
|
2714
|
+
/**
|
|
2715
|
+
*
|
|
2716
|
+
* @type {string}
|
|
2717
|
+
* @memberof UserPromotion
|
|
2718
|
+
*/
|
|
2719
|
+
'updatedAt'?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
*
|
|
2722
|
+
* @type {Array<Period>}
|
|
2723
|
+
* @memberof UserPromotion
|
|
2724
|
+
*/
|
|
2725
|
+
'periods'?: Array<Period>;
|
|
2726
|
+
}
|
|
2603
2727
|
/**
|
|
2604
2728
|
*
|
|
2605
2729
|
* @export
|
|
@@ -2783,6 +2907,13 @@ export declare const BalanceApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2783
2907
|
* @throws {RequiredError}
|
|
2784
2908
|
*/
|
|
2785
2909
|
getBalance: (beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2910
|
+
/**
|
|
2911
|
+
* Get balance for the user
|
|
2912
|
+
* @summary Get balance
|
|
2913
|
+
* @param {*} [options] Override http request option.
|
|
2914
|
+
* @throws {RequiredError}
|
|
2915
|
+
*/
|
|
2916
|
+
getUserBalance: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2786
2917
|
/**
|
|
2787
2918
|
* Transfer balance
|
|
2788
2919
|
* @summary Transfer balance
|
|
@@ -2816,6 +2947,13 @@ export declare const BalanceApiFp: (configuration?: Configuration) => {
|
|
|
2816
2947
|
* @throws {RequiredError}
|
|
2817
2948
|
*/
|
|
2818
2949
|
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>>;
|
|
2950
|
+
/**
|
|
2951
|
+
* Get balance for the user
|
|
2952
|
+
* @summary Get balance
|
|
2953
|
+
* @param {*} [options] Override http request option.
|
|
2954
|
+
* @throws {RequiredError}
|
|
2955
|
+
*/
|
|
2956
|
+
getUserBalance(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Balance>>;
|
|
2819
2957
|
/**
|
|
2820
2958
|
* Transfer balance
|
|
2821
2959
|
* @summary Transfer balance
|
|
@@ -2849,6 +2987,13 @@ export declare const BalanceApiFactory: (configuration?: Configuration, basePath
|
|
|
2849
2987
|
* @throws {RequiredError}
|
|
2850
2988
|
*/
|
|
2851
2989
|
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: any): AxiosPromise<Balance>;
|
|
2990
|
+
/**
|
|
2991
|
+
* Get balance for the user
|
|
2992
|
+
* @summary Get balance
|
|
2993
|
+
* @param {*} [options] Override http request option.
|
|
2994
|
+
* @throws {RequiredError}
|
|
2995
|
+
*/
|
|
2996
|
+
getUserBalance(options?: any): AxiosPromise<Balance>;
|
|
2852
2997
|
/**
|
|
2853
2998
|
* Transfer balance
|
|
2854
2999
|
* @summary Transfer balance
|
|
@@ -2885,6 +3030,14 @@ export declare class BalanceApi extends BaseAPI {
|
|
|
2885
3030
|
* @memberof BalanceApi
|
|
2886
3031
|
*/
|
|
2887
3032
|
getBalance(beneficiaryValue: string, kind: BeneficiaryKind, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Balance, any>>;
|
|
3033
|
+
/**
|
|
3034
|
+
* Get balance for the user
|
|
3035
|
+
* @summary Get balance
|
|
3036
|
+
* @param {*} [options] Override http request option.
|
|
3037
|
+
* @throws {RequiredError}
|
|
3038
|
+
* @memberof BalanceApi
|
|
3039
|
+
*/
|
|
3040
|
+
getUserBalance(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Balance, any>>;
|
|
2888
3041
|
/**
|
|
2889
3042
|
* Transfer balance
|
|
2890
3043
|
* @summary Transfer balance
|
|
@@ -3774,6 +3927,14 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3774
3927
|
* @throws {RequiredError}
|
|
3775
3928
|
*/
|
|
3776
3929
|
approveProduct: (id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3930
|
+
/**
|
|
3931
|
+
* Get a product by id
|
|
3932
|
+
* @summary Get a product by id
|
|
3933
|
+
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
3934
|
+
* @param {*} [options] Override http request option.
|
|
3935
|
+
* @throws {RequiredError}
|
|
3936
|
+
*/
|
|
3937
|
+
bulkCreateProducts: (productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3777
3938
|
/**
|
|
3778
3939
|
* Create a new product
|
|
3779
3940
|
* @summary Create a new product
|
|
@@ -3813,6 +3974,14 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3813
3974
|
* @throws {RequiredError}
|
|
3814
3975
|
*/
|
|
3815
3976
|
getProductRequestById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3977
|
+
/**
|
|
3978
|
+
* Get a product by id, if user is allowed to see it
|
|
3979
|
+
* @summary Get a product by id
|
|
3980
|
+
* @param {string} id The product id
|
|
3981
|
+
* @param {*} [options] Override http request option.
|
|
3982
|
+
* @throws {RequiredError}
|
|
3983
|
+
*/
|
|
3984
|
+
getUserProductById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3816
3985
|
/**
|
|
3817
3986
|
* List existing product requests
|
|
3818
3987
|
* @summary List existing product requests
|
|
@@ -3862,6 +4031,14 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
3862
4031
|
* @throws {RequiredError}
|
|
3863
4032
|
*/
|
|
3864
4033
|
approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestApprovalResponse>>;
|
|
4034
|
+
/**
|
|
4035
|
+
* Get a product by id
|
|
4036
|
+
* @summary Get a product by id
|
|
4037
|
+
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
4038
|
+
* @param {*} [options] Override http request option.
|
|
4039
|
+
* @throws {RequiredError}
|
|
4040
|
+
*/
|
|
4041
|
+
bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>>;
|
|
3865
4042
|
/**
|
|
3866
4043
|
* Create a new product
|
|
3867
4044
|
* @summary Create a new product
|
|
@@ -3901,6 +4078,14 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
3901
4078
|
* @throws {RequiredError}
|
|
3902
4079
|
*/
|
|
3903
4080
|
getProductRequestById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestApprovalResponse>>;
|
|
4081
|
+
/**
|
|
4082
|
+
* Get a product by id, if user is allowed to see it
|
|
4083
|
+
* @summary Get a product by id
|
|
4084
|
+
* @param {string} id The product id
|
|
4085
|
+
* @param {*} [options] Override http request option.
|
|
4086
|
+
* @throws {RequiredError}
|
|
4087
|
+
*/
|
|
4088
|
+
getUserProductById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Product>>;
|
|
3904
4089
|
/**
|
|
3905
4090
|
* List existing product requests
|
|
3906
4091
|
* @summary List existing product requests
|
|
@@ -3950,6 +4135,14 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
3950
4135
|
* @throws {RequiredError}
|
|
3951
4136
|
*/
|
|
3952
4137
|
approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: any): AxiosPromise<ProductRequestApprovalResponse>;
|
|
4138
|
+
/**
|
|
4139
|
+
* Get a product by id
|
|
4140
|
+
* @summary Get a product by id
|
|
4141
|
+
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
4142
|
+
* @param {*} [options] Override http request option.
|
|
4143
|
+
* @throws {RequiredError}
|
|
4144
|
+
*/
|
|
4145
|
+
bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: any): AxiosPromise<Array<Product>>;
|
|
3953
4146
|
/**
|
|
3954
4147
|
* Create a new product
|
|
3955
4148
|
* @summary Create a new product
|
|
@@ -3989,6 +4182,14 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
3989
4182
|
* @throws {RequiredError}
|
|
3990
4183
|
*/
|
|
3991
4184
|
getProductRequestById(id: string, options?: any): AxiosPromise<ProductRequestApprovalResponse>;
|
|
4185
|
+
/**
|
|
4186
|
+
* Get a product by id, if user is allowed to see it
|
|
4187
|
+
* @summary Get a product by id
|
|
4188
|
+
* @param {string} id The product id
|
|
4189
|
+
* @param {*} [options] Override http request option.
|
|
4190
|
+
* @throws {RequiredError}
|
|
4191
|
+
*/
|
|
4192
|
+
getUserProductById(id: string, options?: any): AxiosPromise<Product>;
|
|
3992
4193
|
/**
|
|
3993
4194
|
* List existing product requests
|
|
3994
4195
|
* @summary List existing product requests
|
|
@@ -4041,6 +4242,15 @@ export declare class ProductApi extends BaseAPI {
|
|
|
4041
4242
|
* @memberof ProductApi
|
|
4042
4243
|
*/
|
|
4043
4244
|
approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequestApprovalResponse, any>>;
|
|
4245
|
+
/**
|
|
4246
|
+
* Get a product by id
|
|
4247
|
+
* @summary Get a product by id
|
|
4248
|
+
* @param {ProductBulkCreationRequest} [productBulkCreationRequest]
|
|
4249
|
+
* @param {*} [options] Override http request option.
|
|
4250
|
+
* @throws {RequiredError}
|
|
4251
|
+
* @memberof ProductApi
|
|
4252
|
+
*/
|
|
4253
|
+
bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
|
|
4044
4254
|
/**
|
|
4045
4255
|
* Create a new product
|
|
4046
4256
|
* @summary Create a new product
|
|
@@ -4085,6 +4295,15 @@ export declare class ProductApi extends BaseAPI {
|
|
|
4085
4295
|
* @memberof ProductApi
|
|
4086
4296
|
*/
|
|
4087
4297
|
getProductRequestById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequestApprovalResponse, any>>;
|
|
4298
|
+
/**
|
|
4299
|
+
* Get a product by id, if user is allowed to see it
|
|
4300
|
+
* @summary Get a product by id
|
|
4301
|
+
* @param {string} id The product id
|
|
4302
|
+
* @param {*} [options] Override http request option.
|
|
4303
|
+
* @throws {RequiredError}
|
|
4304
|
+
* @memberof ProductApi
|
|
4305
|
+
*/
|
|
4306
|
+
getUserProductById(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Product, any>>;
|
|
4088
4307
|
/**
|
|
4089
4308
|
* List existing product requests
|
|
4090
4309
|
* @summary List existing product requests
|
|
@@ -4141,6 +4360,16 @@ export declare const ProgressApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4141
4360
|
* @throws {RequiredError}
|
|
4142
4361
|
*/
|
|
4143
4362
|
listProgress: (id: string, periodID?: number, userID?: string, clientID?: string, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4363
|
+
/**
|
|
4364
|
+
* List users progress of a promotion
|
|
4365
|
+
* @summary List promotion\'s progress
|
|
4366
|
+
* @param {string} id Promotion ID
|
|
4367
|
+
* @param {number} [periodID] Period ID
|
|
4368
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4369
|
+
* @param {*} [options] Override http request option.
|
|
4370
|
+
* @throws {RequiredError}
|
|
4371
|
+
*/
|
|
4372
|
+
listUserProgress: (id: string, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4144
4373
|
};
|
|
4145
4374
|
/**
|
|
4146
4375
|
* ProgressApi - functional programming interface
|
|
@@ -4160,6 +4389,16 @@ export declare const ProgressApiFp: (configuration?: Configuration) => {
|
|
|
4160
4389
|
* @throws {RequiredError}
|
|
4161
4390
|
*/
|
|
4162
4391
|
listProgress(id: string, periodID?: number, userID?: string, clientID?: string, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4392
|
+
/**
|
|
4393
|
+
* List users progress of a promotion
|
|
4394
|
+
* @summary List promotion\'s progress
|
|
4395
|
+
* @param {string} id Promotion ID
|
|
4396
|
+
* @param {number} [periodID] Period ID
|
|
4397
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4398
|
+
* @param {*} [options] Override http request option.
|
|
4399
|
+
* @throws {RequiredError}
|
|
4400
|
+
*/
|
|
4401
|
+
listUserProgress(id: string, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4163
4402
|
};
|
|
4164
4403
|
/**
|
|
4165
4404
|
* ProgressApi - factory interface
|
|
@@ -4179,6 +4418,16 @@ export declare const ProgressApiFactory: (configuration?: Configuration, basePat
|
|
|
4179
4418
|
* @throws {RequiredError}
|
|
4180
4419
|
*/
|
|
4181
4420
|
listProgress(id: string, periodID?: number, userID?: string, clientID?: string, interval?: ListProgressIntervalEnum, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4421
|
+
/**
|
|
4422
|
+
* List users progress of a promotion
|
|
4423
|
+
* @summary List promotion\'s progress
|
|
4424
|
+
* @param {string} id Promotion ID
|
|
4425
|
+
* @param {number} [periodID] Period ID
|
|
4426
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4427
|
+
* @param {*} [options] Override http request option.
|
|
4428
|
+
* @throws {RequiredError}
|
|
4429
|
+
*/
|
|
4430
|
+
listUserProgress(id: string, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4182
4431
|
};
|
|
4183
4432
|
/**
|
|
4184
4433
|
* ProgressApi - object-oriented interface
|
|
@@ -4201,6 +4450,17 @@ export declare class ProgressApi extends BaseAPI {
|
|
|
4201
4450
|
* @memberof ProgressApi
|
|
4202
4451
|
*/
|
|
4203
4452
|
listProgress(id: string, periodID?: number, userID?: string, clientID?: string, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4453
|
+
/**
|
|
4454
|
+
* List users progress of a promotion
|
|
4455
|
+
* @summary List promotion\'s progress
|
|
4456
|
+
* @param {string} id Promotion ID
|
|
4457
|
+
* @param {number} [periodID] Period ID
|
|
4458
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4459
|
+
* @param {*} [options] Override http request option.
|
|
4460
|
+
* @throws {RequiredError}
|
|
4461
|
+
* @memberof ProgressApi
|
|
4462
|
+
*/
|
|
4463
|
+
listUserProgress(id: string, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4204
4464
|
}
|
|
4205
4465
|
/**
|
|
4206
4466
|
* @export
|
|
@@ -4276,6 +4536,14 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
|
4276
4536
|
* @throws {RequiredError}
|
|
4277
4537
|
*/
|
|
4278
4538
|
getPromotion: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4539
|
+
/**
|
|
4540
|
+
* Get promotion by id, if user is allowed to see it
|
|
4541
|
+
* @summary Get promotion
|
|
4542
|
+
* @param {string} id Promotion id
|
|
4543
|
+
* @param {*} [options] Override http request option.
|
|
4544
|
+
* @throws {RequiredError}
|
|
4545
|
+
*/
|
|
4546
|
+
getUserPromotion: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4279
4547
|
/**
|
|
4280
4548
|
* List all promotions
|
|
4281
4549
|
* @summary List promotions
|
|
@@ -4292,6 +4560,18 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
|
4292
4560
|
* @throws {RequiredError}
|
|
4293
4561
|
*/
|
|
4294
4562
|
listPromotions: (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, clientID?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4563
|
+
/**
|
|
4564
|
+
* List users promotions
|
|
4565
|
+
* @summary List promotions
|
|
4566
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4567
|
+
* @param {string} [tags] tags to filter by, format is key1=value1;key2=value2. Should be url encoded.
|
|
4568
|
+
* @param {string} [startAtAfter] start time after time
|
|
4569
|
+
* @param {string} [endAtBefore] end time before time
|
|
4570
|
+
* @param {string} [search] search by name or description
|
|
4571
|
+
* @param {*} [options] Override http request option.
|
|
4572
|
+
* @throws {RequiredError}
|
|
4573
|
+
*/
|
|
4574
|
+
listUserPromotions: (nextToken?: string, tags?: string, startAtAfter?: string, endAtBefore?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4295
4575
|
/**
|
|
4296
4576
|
* Update promotion by id
|
|
4297
4577
|
* @summary Update promotion
|
|
@@ -4366,6 +4646,14 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
|
4366
4646
|
* @throws {RequiredError}
|
|
4367
4647
|
*/
|
|
4368
4648
|
getPromotion(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Promotion>>;
|
|
4649
|
+
/**
|
|
4650
|
+
* Get promotion by id, if user is allowed to see it
|
|
4651
|
+
* @summary Get promotion
|
|
4652
|
+
* @param {string} id Promotion id
|
|
4653
|
+
* @param {*} [options] Override http request option.
|
|
4654
|
+
* @throws {RequiredError}
|
|
4655
|
+
*/
|
|
4656
|
+
getUserPromotion(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserPromotion>>;
|
|
4369
4657
|
/**
|
|
4370
4658
|
* List all promotions
|
|
4371
4659
|
* @summary List promotions
|
|
@@ -4382,6 +4670,18 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
|
4382
4670
|
* @throws {RequiredError}
|
|
4383
4671
|
*/
|
|
4384
4672
|
listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
|
|
4673
|
+
/**
|
|
4674
|
+
* List users promotions
|
|
4675
|
+
* @summary List promotions
|
|
4676
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4677
|
+
* @param {string} [tags] tags to filter by, format is key1=value1;key2=value2. Should be url encoded.
|
|
4678
|
+
* @param {string} [startAtAfter] start time after time
|
|
4679
|
+
* @param {string} [endAtBefore] end time before time
|
|
4680
|
+
* @param {string} [search] search by name or description
|
|
4681
|
+
* @param {*} [options] Override http request option.
|
|
4682
|
+
* @throws {RequiredError}
|
|
4683
|
+
*/
|
|
4684
|
+
listUserPromotions(nextToken?: string, tags?: string, startAtAfter?: string, endAtBefore?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionsResponse>>;
|
|
4385
4685
|
/**
|
|
4386
4686
|
* Update promotion by id
|
|
4387
4687
|
* @summary Update promotion
|
|
@@ -4456,6 +4756,14 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
|
4456
4756
|
* @throws {RequiredError}
|
|
4457
4757
|
*/
|
|
4458
4758
|
getPromotion(id: string, options?: any): AxiosPromise<Promotion>;
|
|
4759
|
+
/**
|
|
4760
|
+
* Get promotion by id, if user is allowed to see it
|
|
4761
|
+
* @summary Get promotion
|
|
4762
|
+
* @param {string} id Promotion id
|
|
4763
|
+
* @param {*} [options] Override http request option.
|
|
4764
|
+
* @throws {RequiredError}
|
|
4765
|
+
*/
|
|
4766
|
+
getUserPromotion(id: string, options?: any): AxiosPromise<UserPromotion>;
|
|
4459
4767
|
/**
|
|
4460
4768
|
* List all promotions
|
|
4461
4769
|
* @summary List promotions
|
|
@@ -4472,6 +4780,18 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
|
4472
4780
|
* @throws {RequiredError}
|
|
4473
4781
|
*/
|
|
4474
4782
|
listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, clientID?: string, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
|
|
4783
|
+
/**
|
|
4784
|
+
* List users promotions
|
|
4785
|
+
* @summary List promotions
|
|
4786
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4787
|
+
* @param {string} [tags] tags to filter by, format is key1=value1;key2=value2. Should be url encoded.
|
|
4788
|
+
* @param {string} [startAtAfter] start time after time
|
|
4789
|
+
* @param {string} [endAtBefore] end time before time
|
|
4790
|
+
* @param {string} [search] search by name or description
|
|
4791
|
+
* @param {*} [options] Override http request option.
|
|
4792
|
+
* @throws {RequiredError}
|
|
4793
|
+
*/
|
|
4794
|
+
listUserPromotions(nextToken?: string, tags?: string, startAtAfter?: string, endAtBefore?: string, search?: string, options?: any): AxiosPromise<PromotionsResponse>;
|
|
4475
4795
|
/**
|
|
4476
4796
|
* Update promotion by id
|
|
4477
4797
|
* @summary Update promotion
|
|
@@ -4555,6 +4875,15 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
4555
4875
|
* @memberof PromotionApi
|
|
4556
4876
|
*/
|
|
4557
4877
|
getPromotion(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Promotion, any>>;
|
|
4878
|
+
/**
|
|
4879
|
+
* Get promotion by id, if user is allowed to see it
|
|
4880
|
+
* @summary Get promotion
|
|
4881
|
+
* @param {string} id Promotion id
|
|
4882
|
+
* @param {*} [options] Override http request option.
|
|
4883
|
+
* @throws {RequiredError}
|
|
4884
|
+
* @memberof PromotionApi
|
|
4885
|
+
*/
|
|
4886
|
+
getUserPromotion(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserPromotion, any>>;
|
|
4558
4887
|
/**
|
|
4559
4888
|
* List all promotions
|
|
4560
4889
|
* @summary List promotions
|
|
@@ -4572,6 +4901,19 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
4572
4901
|
* @memberof PromotionApi
|
|
4573
4902
|
*/
|
|
4574
4903
|
listPromotions(nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, clientID?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
|
|
4904
|
+
/**
|
|
4905
|
+
* List users promotions
|
|
4906
|
+
* @summary List promotions
|
|
4907
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4908
|
+
* @param {string} [tags] tags to filter by, format is key1=value1;key2=value2. Should be url encoded.
|
|
4909
|
+
* @param {string} [startAtAfter] start time after time
|
|
4910
|
+
* @param {string} [endAtBefore] end time before time
|
|
4911
|
+
* @param {string} [search] search by name or description
|
|
4912
|
+
* @param {*} [options] Override http request option.
|
|
4913
|
+
* @throws {RequiredError}
|
|
4914
|
+
* @memberof PromotionApi
|
|
4915
|
+
*/
|
|
4916
|
+
listUserPromotions(nextToken?: string, tags?: string, startAtAfter?: string, endAtBefore?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionsResponse, any>>;
|
|
4575
4917
|
/**
|
|
4576
4918
|
* Update promotion by id
|
|
4577
4919
|
* @summary Update promotion
|
|
@@ -4583,6 +4925,69 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
4583
4925
|
*/
|
|
4584
4926
|
updatePromotion(id: string, updatePromotionRequest: UpdatePromotionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Promotion, any>>;
|
|
4585
4927
|
}
|
|
4928
|
+
/**
|
|
4929
|
+
* RewardApi - axios parameter creator
|
|
4930
|
+
* @export
|
|
4931
|
+
*/
|
|
4932
|
+
export declare const RewardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4933
|
+
/**
|
|
4934
|
+
* List existing products for the user
|
|
4935
|
+
* @summary List existing products
|
|
4936
|
+
* @param {ProductKind} [kind] The product kind
|
|
4937
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4938
|
+
* @param {*} [options] Override http request option.
|
|
4939
|
+
* @throws {RequiredError}
|
|
4940
|
+
*/
|
|
4941
|
+
listUserProducts: (kind?: ProductKind, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4942
|
+
};
|
|
4943
|
+
/**
|
|
4944
|
+
* RewardApi - functional programming interface
|
|
4945
|
+
* @export
|
|
4946
|
+
*/
|
|
4947
|
+
export declare const RewardApiFp: (configuration?: Configuration) => {
|
|
4948
|
+
/**
|
|
4949
|
+
* List existing products for the user
|
|
4950
|
+
* @summary List existing products
|
|
4951
|
+
* @param {ProductKind} [kind] The product kind
|
|
4952
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4953
|
+
* @param {*} [options] Override http request option.
|
|
4954
|
+
* @throws {RequiredError}
|
|
4955
|
+
*/
|
|
4956
|
+
listUserProducts(kind?: ProductKind, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
4957
|
+
};
|
|
4958
|
+
/**
|
|
4959
|
+
* RewardApi - factory interface
|
|
4960
|
+
* @export
|
|
4961
|
+
*/
|
|
4962
|
+
export declare const RewardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4963
|
+
/**
|
|
4964
|
+
* List existing products for the user
|
|
4965
|
+
* @summary List existing products
|
|
4966
|
+
* @param {ProductKind} [kind] The product kind
|
|
4967
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4968
|
+
* @param {*} [options] Override http request option.
|
|
4969
|
+
* @throws {RequiredError}
|
|
4970
|
+
*/
|
|
4971
|
+
listUserProducts(kind?: ProductKind, nextToken?: string, options?: any): AxiosPromise<ProductsResponse>;
|
|
4972
|
+
};
|
|
4973
|
+
/**
|
|
4974
|
+
* RewardApi - object-oriented interface
|
|
4975
|
+
* @export
|
|
4976
|
+
* @class RewardApi
|
|
4977
|
+
* @extends {BaseAPI}
|
|
4978
|
+
*/
|
|
4979
|
+
export declare class RewardApi extends BaseAPI {
|
|
4980
|
+
/**
|
|
4981
|
+
* List existing products for the user
|
|
4982
|
+
* @summary List existing products
|
|
4983
|
+
* @param {ProductKind} [kind] The product kind
|
|
4984
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4985
|
+
* @param {*} [options] Override http request option.
|
|
4986
|
+
* @throws {RequiredError}
|
|
4987
|
+
* @memberof RewardApi
|
|
4988
|
+
*/
|
|
4989
|
+
listUserProducts(kind?: ProductKind, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
4990
|
+
}
|
|
4586
4991
|
/**
|
|
4587
4992
|
* SegmentApi - axios parameter creator
|
|
4588
4993
|
* @export
|
|
@@ -4983,6 +5388,14 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4983
5388
|
* @throws {RequiredError}
|
|
4984
5389
|
*/
|
|
4985
5390
|
getUserByID: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5391
|
+
/**
|
|
5392
|
+
* Get subordonates of a user by ID
|
|
5393
|
+
* @summary Get user team
|
|
5394
|
+
* @param {string} id user id
|
|
5395
|
+
* @param {*} [options] Override http request option.
|
|
5396
|
+
* @throws {RequiredError}
|
|
5397
|
+
*/
|
|
5398
|
+
getUserSubordinates: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4986
5399
|
/**
|
|
4987
5400
|
* List all users
|
|
4988
5401
|
* @summary List users
|
|
@@ -5010,6 +5423,14 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
5010
5423
|
* @throws {RequiredError}
|
|
5011
5424
|
*/
|
|
5012
5425
|
getUserByID(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
|
|
5426
|
+
/**
|
|
5427
|
+
* Get subordonates of a user by ID
|
|
5428
|
+
* @summary Get user team
|
|
5429
|
+
* @param {string} id user id
|
|
5430
|
+
* @param {*} [options] Override http request option.
|
|
5431
|
+
* @throws {RequiredError}
|
|
5432
|
+
*/
|
|
5433
|
+
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<User>>>;
|
|
5013
5434
|
/**
|
|
5014
5435
|
* List all users
|
|
5015
5436
|
* @summary List users
|
|
@@ -5037,6 +5458,14 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5037
5458
|
* @throws {RequiredError}
|
|
5038
5459
|
*/
|
|
5039
5460
|
getUserByID(id: string, options?: any): AxiosPromise<User>;
|
|
5461
|
+
/**
|
|
5462
|
+
* Get subordonates of a user by ID
|
|
5463
|
+
* @summary Get user team
|
|
5464
|
+
* @param {string} id user id
|
|
5465
|
+
* @param {*} [options] Override http request option.
|
|
5466
|
+
* @throws {RequiredError}
|
|
5467
|
+
*/
|
|
5468
|
+
getUserSubordinates(id: string, options?: any): AxiosPromise<Array<User>>;
|
|
5040
5469
|
/**
|
|
5041
5470
|
* List all users
|
|
5042
5471
|
* @summary List users
|
|
@@ -5067,6 +5496,15 @@ export declare class UserApi extends BaseAPI {
|
|
|
5067
5496
|
* @memberof UserApi
|
|
5068
5497
|
*/
|
|
5069
5498
|
getUserByID(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any>>;
|
|
5499
|
+
/**
|
|
5500
|
+
* Get subordonates of a user by ID
|
|
5501
|
+
* @summary Get user team
|
|
5502
|
+
* @param {string} id user id
|
|
5503
|
+
* @param {*} [options] Override http request option.
|
|
5504
|
+
* @throws {RequiredError}
|
|
5505
|
+
* @memberof UserApi
|
|
5506
|
+
*/
|
|
5507
|
+
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<User[], any>>;
|
|
5070
5508
|
/**
|
|
5071
5509
|
* List all users
|
|
5072
5510
|
* @summary List users
|