flexinet-api 0.0.260-prerelease0 → 0.0.263-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 +180 -219
- package/dist/api.d.ts +86 -112
- package/dist/api.js +165 -203
- package/dist/esm/api.d.ts +86 -112
- package/dist/esm/api.js +164 -198
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3685,6 +3685,13 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3685
3685
|
* @throws {RequiredError}
|
|
3686
3686
|
*/
|
|
3687
3687
|
createProductRequest: (productRequestCreationRequest?: ProductRequestCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3688
|
+
/**
|
|
3689
|
+
* Create upload URL for product
|
|
3690
|
+
* @summary Create upload URL for product
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
*/
|
|
3694
|
+
createUploadURL: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3688
3695
|
/**
|
|
3689
3696
|
* Get a product by id
|
|
3690
3697
|
* @summary Get a product by id
|
|
@@ -3710,6 +3717,20 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3710
3717
|
* @throws {RequiredError}
|
|
3711
3718
|
*/
|
|
3712
3719
|
listProductRequests: (status?: ProductRequestStatus, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3720
|
+
/**
|
|
3721
|
+
* List existing products
|
|
3722
|
+
* @summary List existing products
|
|
3723
|
+
* @param {ProductKind} [kind] The product kind
|
|
3724
|
+
* @param {string} [search] search string
|
|
3725
|
+
* @param {ProductUsage} [usage] The product usage
|
|
3726
|
+
* @param {ProductStatus} [status] The product status
|
|
3727
|
+
* @param {ProductAvailability} [availability] The product availability
|
|
3728
|
+
* @param {string} [segmentID] The segment ID
|
|
3729
|
+
* @param {string} [nextToken] This is the pagination token
|
|
3730
|
+
* @param {*} [options] Override http request option.
|
|
3731
|
+
* @throws {RequiredError}
|
|
3732
|
+
*/
|
|
3733
|
+
listProducts: (kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3713
3734
|
/**
|
|
3714
3735
|
* Update a product by id
|
|
3715
3736
|
* @summary Update a product by id
|
|
@@ -3750,6 +3771,13 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
3750
3771
|
* @throws {RequiredError}
|
|
3751
3772
|
*/
|
|
3752
3773
|
createProductRequest(productRequestCreationRequest?: ProductRequestCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequest>>;
|
|
3774
|
+
/**
|
|
3775
|
+
* Create upload URL for product
|
|
3776
|
+
* @summary Create upload URL for product
|
|
3777
|
+
* @param {*} [options] Override http request option.
|
|
3778
|
+
* @throws {RequiredError}
|
|
3779
|
+
*/
|
|
3780
|
+
createUploadURL(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadURLResponse>>;
|
|
3753
3781
|
/**
|
|
3754
3782
|
* Get a product by id
|
|
3755
3783
|
* @summary Get a product by id
|
|
@@ -3775,6 +3803,20 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
3775
3803
|
* @throws {RequiredError}
|
|
3776
3804
|
*/
|
|
3777
3805
|
listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestsResponse>>;
|
|
3806
|
+
/**
|
|
3807
|
+
* List existing products
|
|
3808
|
+
* @summary List existing products
|
|
3809
|
+
* @param {ProductKind} [kind] The product kind
|
|
3810
|
+
* @param {string} [search] search string
|
|
3811
|
+
* @param {ProductUsage} [usage] The product usage
|
|
3812
|
+
* @param {ProductStatus} [status] The product status
|
|
3813
|
+
* @param {ProductAvailability} [availability] The product availability
|
|
3814
|
+
* @param {string} [segmentID] The segment ID
|
|
3815
|
+
* @param {string} [nextToken] This is the pagination token
|
|
3816
|
+
* @param {*} [options] Override http request option.
|
|
3817
|
+
* @throws {RequiredError}
|
|
3818
|
+
*/
|
|
3819
|
+
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
3778
3820
|
/**
|
|
3779
3821
|
* Update a product by id
|
|
3780
3822
|
* @summary Update a product by id
|
|
@@ -3815,6 +3857,13 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
3815
3857
|
* @throws {RequiredError}
|
|
3816
3858
|
*/
|
|
3817
3859
|
createProductRequest(productRequestCreationRequest?: ProductRequestCreationRequest, options?: any): AxiosPromise<ProductRequest>;
|
|
3860
|
+
/**
|
|
3861
|
+
* Create upload URL for product
|
|
3862
|
+
* @summary Create upload URL for product
|
|
3863
|
+
* @param {*} [options] Override http request option.
|
|
3864
|
+
* @throws {RequiredError}
|
|
3865
|
+
*/
|
|
3866
|
+
createUploadURL(options?: any): AxiosPromise<UploadURLResponse>;
|
|
3818
3867
|
/**
|
|
3819
3868
|
* Get a product by id
|
|
3820
3869
|
* @summary Get a product by id
|
|
@@ -3840,6 +3889,20 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
3840
3889
|
* @throws {RequiredError}
|
|
3841
3890
|
*/
|
|
3842
3891
|
listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: any): AxiosPromise<ProductRequestsResponse>;
|
|
3892
|
+
/**
|
|
3893
|
+
* List existing products
|
|
3894
|
+
* @summary List existing products
|
|
3895
|
+
* @param {ProductKind} [kind] The product kind
|
|
3896
|
+
* @param {string} [search] search string
|
|
3897
|
+
* @param {ProductUsage} [usage] The product usage
|
|
3898
|
+
* @param {ProductStatus} [status] The product status
|
|
3899
|
+
* @param {ProductAvailability} [availability] The product availability
|
|
3900
|
+
* @param {string} [segmentID] The segment ID
|
|
3901
|
+
* @param {string} [nextToken] This is the pagination token
|
|
3902
|
+
* @param {*} [options] Override http request option.
|
|
3903
|
+
* @throws {RequiredError}
|
|
3904
|
+
*/
|
|
3905
|
+
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: any): AxiosPromise<ProductsResponse>;
|
|
3843
3906
|
/**
|
|
3844
3907
|
* Update a product by id
|
|
3845
3908
|
* @summary Update a product by id
|
|
@@ -3885,6 +3948,14 @@ export declare class ProductApi extends BaseAPI {
|
|
|
3885
3948
|
* @memberof ProductApi
|
|
3886
3949
|
*/
|
|
3887
3950
|
createProductRequest(productRequestCreationRequest?: ProductRequestCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequest, any>>;
|
|
3951
|
+
/**
|
|
3952
|
+
* Create upload URL for product
|
|
3953
|
+
* @summary Create upload URL for product
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
* @memberof ProductApi
|
|
3957
|
+
*/
|
|
3958
|
+
createUploadURL(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadURLResponse, any>>;
|
|
3888
3959
|
/**
|
|
3889
3960
|
* Get a product by id
|
|
3890
3961
|
* @summary Get a product by id
|
|
@@ -3913,6 +3984,21 @@ export declare class ProductApi extends BaseAPI {
|
|
|
3913
3984
|
* @memberof ProductApi
|
|
3914
3985
|
*/
|
|
3915
3986
|
listProductRequests(status?: ProductRequestStatus, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequestsResponse, any>>;
|
|
3987
|
+
/**
|
|
3988
|
+
* List existing products
|
|
3989
|
+
* @summary List existing products
|
|
3990
|
+
* @param {ProductKind} [kind] The product kind
|
|
3991
|
+
* @param {string} [search] search string
|
|
3992
|
+
* @param {ProductUsage} [usage] The product usage
|
|
3993
|
+
* @param {ProductStatus} [status] The product status
|
|
3994
|
+
* @param {ProductAvailability} [availability] The product availability
|
|
3995
|
+
* @param {string} [segmentID] The segment ID
|
|
3996
|
+
* @param {string} [nextToken] This is the pagination token
|
|
3997
|
+
* @param {*} [options] Override http request option.
|
|
3998
|
+
* @throws {RequiredError}
|
|
3999
|
+
* @memberof ProductApi
|
|
4000
|
+
*/
|
|
4001
|
+
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
3916
4002
|
/**
|
|
3917
4003
|
* Update a product by id
|
|
3918
4004
|
* @summary Update a product by id
|
|
@@ -4384,118 +4470,6 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
4384
4470
|
*/
|
|
4385
4471
|
updatePromotion(id: string, updatePromotionRequest: UpdatePromotionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Promotion, any>>;
|
|
4386
4472
|
}
|
|
4387
|
-
/**
|
|
4388
|
-
* RewardApi - axios parameter creator
|
|
4389
|
-
* @export
|
|
4390
|
-
*/
|
|
4391
|
-
export declare const RewardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4392
|
-
/**
|
|
4393
|
-
* Create upload URL for reward
|
|
4394
|
-
* @summary Create upload URL for reward
|
|
4395
|
-
* @param {*} [options] Override http request option.
|
|
4396
|
-
* @throws {RequiredError}
|
|
4397
|
-
*/
|
|
4398
|
-
createUploadURL: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4399
|
-
/**
|
|
4400
|
-
* List existing products
|
|
4401
|
-
* @summary List existing products
|
|
4402
|
-
* @param {ProductKind} [kind] The product kind
|
|
4403
|
-
* @param {string} [search] search string
|
|
4404
|
-
* @param {ProductUsage} [usage] The product usage
|
|
4405
|
-
* @param {ProductStatus} [status] The product status
|
|
4406
|
-
* @param {ProductAvailability} [availability] The product availability
|
|
4407
|
-
* @param {string} [segmentID] The segment ID
|
|
4408
|
-
* @param {string} [nextToken] This is the pagination token
|
|
4409
|
-
* @param {*} [options] Override http request option.
|
|
4410
|
-
* @throws {RequiredError}
|
|
4411
|
-
*/
|
|
4412
|
-
listProducts: (kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4413
|
-
};
|
|
4414
|
-
/**
|
|
4415
|
-
* RewardApi - functional programming interface
|
|
4416
|
-
* @export
|
|
4417
|
-
*/
|
|
4418
|
-
export declare const RewardApiFp: (configuration?: Configuration) => {
|
|
4419
|
-
/**
|
|
4420
|
-
* Create upload URL for reward
|
|
4421
|
-
* @summary Create upload URL for reward
|
|
4422
|
-
* @param {*} [options] Override http request option.
|
|
4423
|
-
* @throws {RequiredError}
|
|
4424
|
-
*/
|
|
4425
|
-
createUploadURL(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadURLResponse>>;
|
|
4426
|
-
/**
|
|
4427
|
-
* List existing products
|
|
4428
|
-
* @summary List existing products
|
|
4429
|
-
* @param {ProductKind} [kind] The product kind
|
|
4430
|
-
* @param {string} [search] search string
|
|
4431
|
-
* @param {ProductUsage} [usage] The product usage
|
|
4432
|
-
* @param {ProductStatus} [status] The product status
|
|
4433
|
-
* @param {ProductAvailability} [availability] The product availability
|
|
4434
|
-
* @param {string} [segmentID] The segment ID
|
|
4435
|
-
* @param {string} [nextToken] This is the pagination token
|
|
4436
|
-
* @param {*} [options] Override http request option.
|
|
4437
|
-
* @throws {RequiredError}
|
|
4438
|
-
*/
|
|
4439
|
-
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
4440
|
-
};
|
|
4441
|
-
/**
|
|
4442
|
-
* RewardApi - factory interface
|
|
4443
|
-
* @export
|
|
4444
|
-
*/
|
|
4445
|
-
export declare const RewardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4446
|
-
/**
|
|
4447
|
-
* Create upload URL for reward
|
|
4448
|
-
* @summary Create upload URL for reward
|
|
4449
|
-
* @param {*} [options] Override http request option.
|
|
4450
|
-
* @throws {RequiredError}
|
|
4451
|
-
*/
|
|
4452
|
-
createUploadURL(options?: any): AxiosPromise<UploadURLResponse>;
|
|
4453
|
-
/**
|
|
4454
|
-
* List existing products
|
|
4455
|
-
* @summary List existing products
|
|
4456
|
-
* @param {ProductKind} [kind] The product kind
|
|
4457
|
-
* @param {string} [search] search string
|
|
4458
|
-
* @param {ProductUsage} [usage] The product usage
|
|
4459
|
-
* @param {ProductStatus} [status] The product status
|
|
4460
|
-
* @param {ProductAvailability} [availability] The product availability
|
|
4461
|
-
* @param {string} [segmentID] The segment ID
|
|
4462
|
-
* @param {string} [nextToken] This is the pagination token
|
|
4463
|
-
* @param {*} [options] Override http request option.
|
|
4464
|
-
* @throws {RequiredError}
|
|
4465
|
-
*/
|
|
4466
|
-
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: any): AxiosPromise<ProductsResponse>;
|
|
4467
|
-
};
|
|
4468
|
-
/**
|
|
4469
|
-
* RewardApi - object-oriented interface
|
|
4470
|
-
* @export
|
|
4471
|
-
* @class RewardApi
|
|
4472
|
-
* @extends {BaseAPI}
|
|
4473
|
-
*/
|
|
4474
|
-
export declare class RewardApi extends BaseAPI {
|
|
4475
|
-
/**
|
|
4476
|
-
* Create upload URL for reward
|
|
4477
|
-
* @summary Create upload URL for reward
|
|
4478
|
-
* @param {*} [options] Override http request option.
|
|
4479
|
-
* @throws {RequiredError}
|
|
4480
|
-
* @memberof RewardApi
|
|
4481
|
-
*/
|
|
4482
|
-
createUploadURL(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadURLResponse, any>>;
|
|
4483
|
-
/**
|
|
4484
|
-
* List existing products
|
|
4485
|
-
* @summary List existing products
|
|
4486
|
-
* @param {ProductKind} [kind] The product kind
|
|
4487
|
-
* @param {string} [search] search string
|
|
4488
|
-
* @param {ProductUsage} [usage] The product usage
|
|
4489
|
-
* @param {ProductStatus} [status] The product status
|
|
4490
|
-
* @param {ProductAvailability} [availability] The product availability
|
|
4491
|
-
* @param {string} [segmentID] The segment ID
|
|
4492
|
-
* @param {string} [nextToken] This is the pagination token
|
|
4493
|
-
* @param {*} [options] Override http request option.
|
|
4494
|
-
* @throws {RequiredError}
|
|
4495
|
-
* @memberof RewardApi
|
|
4496
|
-
*/
|
|
4497
|
-
listProducts(kind?: ProductKind, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
4498
|
-
}
|
|
4499
4473
|
/**
|
|
4500
4474
|
* SegmentApi - axios parameter creator
|
|
4501
4475
|
* @export
|