flexinet-api 0.0.415-prerelease0 → 0.0.417-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 +64 -58
- package/dist/api.d.ts +40 -40
- package/dist/api.js +62 -58
- package/dist/esm/api.d.ts +40 -40
- package/dist/esm/api.js +62 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.417-prerelease0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.417-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -6561,22 +6561,21 @@ export class ProductApi extends BaseAPI {
|
|
|
6561
6561
|
export const ProgressApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6562
6562
|
return {
|
|
6563
6563
|
/**
|
|
6564
|
-
* List
|
|
6565
|
-
* @summary List
|
|
6566
|
-
* @param {string}
|
|
6564
|
+
* List progress
|
|
6565
|
+
* @summary List progress
|
|
6566
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6567
6567
|
* @param {number} [periodID] Period ID
|
|
6568
|
-
* @param {string} [
|
|
6569
|
-
* @param {string} [
|
|
6568
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
6569
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
6570
6570
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
6571
6571
|
* @param {string} [nextToken] This is the pagination token
|
|
6572
6572
|
* @param {*} [options] Override http request option.
|
|
6573
6573
|
* @throws {RequiredError}
|
|
6574
6574
|
*/
|
|
6575
|
-
listProgress: async (
|
|
6576
|
-
// verify required parameter '
|
|
6577
|
-
assertParamExists('listProgress', '
|
|
6578
|
-
const localVarPath = `/admins/
|
|
6579
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6575
|
+
listProgress: async (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6576
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
6577
|
+
assertParamExists('listProgress', 'promotionIDs', promotionIDs)
|
|
6578
|
+
const localVarPath = `/admins/progress`;
|
|
6580
6579
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6581
6580
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6582
6581
|
let baseOptions;
|
|
@@ -6592,16 +6591,20 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6592
6591
|
// http bearer authentication required
|
|
6593
6592
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6594
6593
|
|
|
6594
|
+
if (promotionIDs) {
|
|
6595
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
6596
|
+
}
|
|
6597
|
+
|
|
6595
6598
|
if (periodID !== undefined) {
|
|
6596
6599
|
localVarQueryParameter['periodID'] = periodID;
|
|
6597
6600
|
}
|
|
6598
6601
|
|
|
6599
|
-
if (
|
|
6600
|
-
localVarQueryParameter['
|
|
6602
|
+
if (userIDs) {
|
|
6603
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
6601
6604
|
}
|
|
6602
6605
|
|
|
6603
|
-
if (
|
|
6604
|
-
localVarQueryParameter['
|
|
6606
|
+
if (clientIDs) {
|
|
6607
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
6605
6608
|
}
|
|
6606
6609
|
|
|
6607
6610
|
if (interval !== undefined) {
|
|
@@ -6624,19 +6627,18 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6624
6627
|
};
|
|
6625
6628
|
},
|
|
6626
6629
|
/**
|
|
6627
|
-
* List users progress
|
|
6628
|
-
* @summary List
|
|
6629
|
-
* @param {string}
|
|
6630
|
+
* List users progress
|
|
6631
|
+
* @summary List progress
|
|
6632
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6630
6633
|
* @param {number} [periodID] Period ID
|
|
6631
6634
|
* @param {string} [nextToken] This is the pagination token
|
|
6632
6635
|
* @param {*} [options] Override http request option.
|
|
6633
6636
|
* @throws {RequiredError}
|
|
6634
6637
|
*/
|
|
6635
|
-
listUserProgress: async (
|
|
6636
|
-
// verify required parameter '
|
|
6637
|
-
assertParamExists('listUserProgress', '
|
|
6638
|
-
const localVarPath = `/users/
|
|
6639
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6638
|
+
listUserProgress: async (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6639
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
6640
|
+
assertParamExists('listUserProgress', 'promotionIDs', promotionIDs)
|
|
6641
|
+
const localVarPath = `/users/progress`;
|
|
6640
6642
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6641
6643
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6642
6644
|
let baseOptions;
|
|
@@ -6652,6 +6654,10 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6652
6654
|
// http bearer authentication required
|
|
6653
6655
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6654
6656
|
|
|
6657
|
+
if (promotionIDs) {
|
|
6658
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
6659
|
+
}
|
|
6660
|
+
|
|
6655
6661
|
if (periodID !== undefined) {
|
|
6656
6662
|
localVarQueryParameter['periodID'] = periodID;
|
|
6657
6663
|
}
|
|
@@ -6682,32 +6688,32 @@ export const ProgressApiFp = function(configuration?: Configuration) {
|
|
|
6682
6688
|
const localVarAxiosParamCreator = ProgressApiAxiosParamCreator(configuration)
|
|
6683
6689
|
return {
|
|
6684
6690
|
/**
|
|
6685
|
-
* List
|
|
6686
|
-
* @summary List
|
|
6687
|
-
* @param {string}
|
|
6691
|
+
* List progress
|
|
6692
|
+
* @summary List progress
|
|
6693
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6688
6694
|
* @param {number} [periodID] Period ID
|
|
6689
|
-
* @param {string} [
|
|
6690
|
-
* @param {string} [
|
|
6695
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
6696
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
6691
6697
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
6692
6698
|
* @param {string} [nextToken] This is the pagination token
|
|
6693
6699
|
* @param {*} [options] Override http request option.
|
|
6694
6700
|
* @throws {RequiredError}
|
|
6695
6701
|
*/
|
|
6696
|
-
async listProgress(
|
|
6697
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(
|
|
6702
|
+
async listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
|
6703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
|
|
6698
6704
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6699
6705
|
},
|
|
6700
6706
|
/**
|
|
6701
|
-
* List users progress
|
|
6702
|
-
* @summary List
|
|
6703
|
-
* @param {string}
|
|
6707
|
+
* List users progress
|
|
6708
|
+
* @summary List progress
|
|
6709
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6704
6710
|
* @param {number} [periodID] Period ID
|
|
6705
6711
|
* @param {string} [nextToken] This is the pagination token
|
|
6706
6712
|
* @param {*} [options] Override http request option.
|
|
6707
6713
|
* @throws {RequiredError}
|
|
6708
6714
|
*/
|
|
6709
|
-
async listUserProgress(
|
|
6710
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(
|
|
6715
|
+
async listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>> {
|
|
6716
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
|
|
6711
6717
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6712
6718
|
},
|
|
6713
6719
|
}
|
|
@@ -6721,31 +6727,31 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
|
|
|
6721
6727
|
const localVarFp = ProgressApiFp(configuration)
|
|
6722
6728
|
return {
|
|
6723
6729
|
/**
|
|
6724
|
-
* List
|
|
6725
|
-
* @summary List
|
|
6726
|
-
* @param {string}
|
|
6730
|
+
* List progress
|
|
6731
|
+
* @summary List progress
|
|
6732
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6727
6733
|
* @param {number} [periodID] Period ID
|
|
6728
|
-
* @param {string} [
|
|
6729
|
-
* @param {string} [
|
|
6734
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
6735
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
6730
6736
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
6731
6737
|
* @param {string} [nextToken] This is the pagination token
|
|
6732
6738
|
* @param {*} [options] Override http request option.
|
|
6733
6739
|
* @throws {RequiredError}
|
|
6734
6740
|
*/
|
|
6735
|
-
listProgress(
|
|
6736
|
-
return localVarFp.listProgress(
|
|
6741
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: any): AxiosPromise<ProgressResponse> {
|
|
6742
|
+
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
|
|
6737
6743
|
},
|
|
6738
6744
|
/**
|
|
6739
|
-
* List users progress
|
|
6740
|
-
* @summary List
|
|
6741
|
-
* @param {string}
|
|
6745
|
+
* List users progress
|
|
6746
|
+
* @summary List progress
|
|
6747
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6742
6748
|
* @param {number} [periodID] Period ID
|
|
6743
6749
|
* @param {string} [nextToken] This is the pagination token
|
|
6744
6750
|
* @param {*} [options] Override http request option.
|
|
6745
6751
|
* @throws {RequiredError}
|
|
6746
6752
|
*/
|
|
6747
|
-
listUserProgress(
|
|
6748
|
-
return localVarFp.listUserProgress(
|
|
6753
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse> {
|
|
6754
|
+
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
|
|
6749
6755
|
},
|
|
6750
6756
|
};
|
|
6751
6757
|
};
|
|
@@ -6758,34 +6764,34 @@ export const ProgressApiFactory = function (configuration?: Configuration, baseP
|
|
|
6758
6764
|
*/
|
|
6759
6765
|
export class ProgressApi extends BaseAPI {
|
|
6760
6766
|
/**
|
|
6761
|
-
* List
|
|
6762
|
-
* @summary List
|
|
6763
|
-
* @param {string}
|
|
6767
|
+
* List progress
|
|
6768
|
+
* @summary List progress
|
|
6769
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6764
6770
|
* @param {number} [periodID] Period ID
|
|
6765
|
-
* @param {string} [
|
|
6766
|
-
* @param {string} [
|
|
6771
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
6772
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
6767
6773
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
6768
6774
|
* @param {string} [nextToken] This is the pagination token
|
|
6769
6775
|
* @param {*} [options] Override http request option.
|
|
6770
6776
|
* @throws {RequiredError}
|
|
6771
6777
|
* @memberof ProgressApi
|
|
6772
6778
|
*/
|
|
6773
|
-
public listProgress(
|
|
6774
|
-
return ProgressApiFp(this.configuration).listProgress(
|
|
6779
|
+
public listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig) {
|
|
6780
|
+
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
6775
6781
|
}
|
|
6776
6782
|
|
|
6777
6783
|
/**
|
|
6778
|
-
* List users progress
|
|
6779
|
-
* @summary List
|
|
6780
|
-
* @param {string}
|
|
6784
|
+
* List users progress
|
|
6785
|
+
* @summary List progress
|
|
6786
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
6781
6787
|
* @param {number} [periodID] Period ID
|
|
6782
6788
|
* @param {string} [nextToken] This is the pagination token
|
|
6783
6789
|
* @param {*} [options] Override http request option.
|
|
6784
6790
|
* @throws {RequiredError}
|
|
6785
6791
|
* @memberof ProgressApi
|
|
6786
6792
|
*/
|
|
6787
|
-
public listUserProgress(
|
|
6788
|
-
return ProgressApiFp(this.configuration).listUserProgress(
|
|
6793
|
+
public listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) {
|
|
6794
|
+
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
6789
6795
|
}
|
|
6790
6796
|
}
|
|
6791
6797
|
|
package/dist/api.d.ts
CHANGED
|
@@ -4676,28 +4676,28 @@ export declare class ProductApi extends BaseAPI {
|
|
|
4676
4676
|
*/
|
|
4677
4677
|
export declare const ProgressApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4678
4678
|
/**
|
|
4679
|
-
* List
|
|
4680
|
-
* @summary List
|
|
4681
|
-
* @param {string}
|
|
4679
|
+
* List progress
|
|
4680
|
+
* @summary List progress
|
|
4681
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4682
4682
|
* @param {number} [periodID] Period ID
|
|
4683
|
-
* @param {string} [
|
|
4684
|
-
* @param {string} [
|
|
4683
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4684
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4685
4685
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4686
4686
|
* @param {string} [nextToken] This is the pagination token
|
|
4687
4687
|
* @param {*} [options] Override http request option.
|
|
4688
4688
|
* @throws {RequiredError}
|
|
4689
4689
|
*/
|
|
4690
|
-
listProgress: (
|
|
4690
|
+
listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4691
4691
|
/**
|
|
4692
|
-
* List users progress
|
|
4693
|
-
* @summary List
|
|
4694
|
-
* @param {string}
|
|
4692
|
+
* List users progress
|
|
4693
|
+
* @summary List progress
|
|
4694
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4695
4695
|
* @param {number} [periodID] Period ID
|
|
4696
4696
|
* @param {string} [nextToken] This is the pagination token
|
|
4697
4697
|
* @param {*} [options] Override http request option.
|
|
4698
4698
|
* @throws {RequiredError}
|
|
4699
4699
|
*/
|
|
4700
|
-
listUserProgress: (
|
|
4700
|
+
listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4701
4701
|
};
|
|
4702
4702
|
/**
|
|
4703
4703
|
* ProgressApi - functional programming interface
|
|
@@ -4705,28 +4705,28 @@ export declare const ProgressApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4705
4705
|
*/
|
|
4706
4706
|
export declare const ProgressApiFp: (configuration?: Configuration) => {
|
|
4707
4707
|
/**
|
|
4708
|
-
* List
|
|
4709
|
-
* @summary List
|
|
4710
|
-
* @param {string}
|
|
4708
|
+
* List progress
|
|
4709
|
+
* @summary List progress
|
|
4710
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4711
4711
|
* @param {number} [periodID] Period ID
|
|
4712
|
-
* @param {string} [
|
|
4713
|
-
* @param {string} [
|
|
4712
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4713
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4714
4714
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4715
4715
|
* @param {string} [nextToken] This is the pagination token
|
|
4716
4716
|
* @param {*} [options] Override http request option.
|
|
4717
4717
|
* @throws {RequiredError}
|
|
4718
4718
|
*/
|
|
4719
|
-
listProgress(
|
|
4719
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4720
4720
|
/**
|
|
4721
|
-
* List users progress
|
|
4722
|
-
* @summary List
|
|
4723
|
-
* @param {string}
|
|
4721
|
+
* List users progress
|
|
4722
|
+
* @summary List progress
|
|
4723
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4724
4724
|
* @param {number} [periodID] Period ID
|
|
4725
4725
|
* @param {string} [nextToken] This is the pagination token
|
|
4726
4726
|
* @param {*} [options] Override http request option.
|
|
4727
4727
|
* @throws {RequiredError}
|
|
4728
4728
|
*/
|
|
4729
|
-
listUserProgress(
|
|
4729
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4730
4730
|
};
|
|
4731
4731
|
/**
|
|
4732
4732
|
* ProgressApi - factory interface
|
|
@@ -4734,28 +4734,28 @@ export declare const ProgressApiFp: (configuration?: Configuration) => {
|
|
|
4734
4734
|
*/
|
|
4735
4735
|
export declare const ProgressApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4736
4736
|
/**
|
|
4737
|
-
* List
|
|
4738
|
-
* @summary List
|
|
4739
|
-
* @param {string}
|
|
4737
|
+
* List progress
|
|
4738
|
+
* @summary List progress
|
|
4739
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4740
4740
|
* @param {number} [periodID] Period ID
|
|
4741
|
-
* @param {string} [
|
|
4742
|
-
* @param {string} [
|
|
4741
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4742
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4743
4743
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4744
4744
|
* @param {string} [nextToken] This is the pagination token
|
|
4745
4745
|
* @param {*} [options] Override http request option.
|
|
4746
4746
|
* @throws {RequiredError}
|
|
4747
4747
|
*/
|
|
4748
|
-
listProgress(
|
|
4748
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4749
4749
|
/**
|
|
4750
|
-
* List users progress
|
|
4751
|
-
* @summary List
|
|
4752
|
-
* @param {string}
|
|
4750
|
+
* List users progress
|
|
4751
|
+
* @summary List progress
|
|
4752
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4753
4753
|
* @param {number} [periodID] Period ID
|
|
4754
4754
|
* @param {string} [nextToken] This is the pagination token
|
|
4755
4755
|
* @param {*} [options] Override http request option.
|
|
4756
4756
|
* @throws {RequiredError}
|
|
4757
4757
|
*/
|
|
4758
|
-
listUserProgress(
|
|
4758
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4759
4759
|
};
|
|
4760
4760
|
/**
|
|
4761
4761
|
* ProgressApi - object-oriented interface
|
|
@@ -4765,30 +4765,30 @@ export declare const ProgressApiFactory: (configuration?: Configuration, basePat
|
|
|
4765
4765
|
*/
|
|
4766
4766
|
export declare class ProgressApi extends BaseAPI {
|
|
4767
4767
|
/**
|
|
4768
|
-
* List
|
|
4769
|
-
* @summary List
|
|
4770
|
-
* @param {string}
|
|
4768
|
+
* List progress
|
|
4769
|
+
* @summary List progress
|
|
4770
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4771
4771
|
* @param {number} [periodID] Period ID
|
|
4772
|
-
* @param {string} [
|
|
4773
|
-
* @param {string} [
|
|
4772
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4773
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4774
4774
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4775
4775
|
* @param {string} [nextToken] This is the pagination token
|
|
4776
4776
|
* @param {*} [options] Override http request option.
|
|
4777
4777
|
* @throws {RequiredError}
|
|
4778
4778
|
* @memberof ProgressApi
|
|
4779
4779
|
*/
|
|
4780
|
-
listProgress(
|
|
4780
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4781
4781
|
/**
|
|
4782
|
-
* List users progress
|
|
4783
|
-
* @summary List
|
|
4784
|
-
* @param {string}
|
|
4782
|
+
* List users progress
|
|
4783
|
+
* @summary List progress
|
|
4784
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4785
4785
|
* @param {number} [periodID] Period ID
|
|
4786
4786
|
* @param {string} [nextToken] This is the pagination token
|
|
4787
4787
|
* @param {*} [options] Override http request option.
|
|
4788
4788
|
* @throws {RequiredError}
|
|
4789
4789
|
* @memberof ProgressApi
|
|
4790
4790
|
*/
|
|
4791
|
-
listUserProgress(
|
|
4791
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4792
4792
|
}
|
|
4793
4793
|
/**
|
|
4794
4794
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -3459,22 +3459,21 @@ exports.ProductApi = ProductApi;
|
|
|
3459
3459
|
const ProgressApiAxiosParamCreator = function (configuration) {
|
|
3460
3460
|
return {
|
|
3461
3461
|
/**
|
|
3462
|
-
* List
|
|
3463
|
-
* @summary List
|
|
3464
|
-
* @param {string}
|
|
3462
|
+
* List progress
|
|
3463
|
+
* @summary List progress
|
|
3464
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3465
3465
|
* @param {number} [periodID] Period ID
|
|
3466
|
-
* @param {string} [
|
|
3467
|
-
* @param {string} [
|
|
3466
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3467
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3468
3468
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3469
3469
|
* @param {string} [nextToken] This is the pagination token
|
|
3470
3470
|
* @param {*} [options] Override http request option.
|
|
3471
3471
|
* @throws {RequiredError}
|
|
3472
3472
|
*/
|
|
3473
|
-
listProgress: (
|
|
3474
|
-
// verify required parameter '
|
|
3475
|
-
(0, common_1.assertParamExists)('listProgress', '
|
|
3476
|
-
const localVarPath = `/admins/
|
|
3477
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3473
|
+
listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3474
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
3475
|
+
(0, common_1.assertParamExists)('listProgress', 'promotionIDs', promotionIDs);
|
|
3476
|
+
const localVarPath = `/admins/progress`;
|
|
3478
3477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3479
3478
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3480
3479
|
let baseOptions;
|
|
@@ -3487,14 +3486,17 @@ const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3487
3486
|
// authentication jwt required
|
|
3488
3487
|
// http bearer authentication required
|
|
3489
3488
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3489
|
+
if (promotionIDs) {
|
|
3490
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
3491
|
+
}
|
|
3490
3492
|
if (periodID !== undefined) {
|
|
3491
3493
|
localVarQueryParameter['periodID'] = periodID;
|
|
3492
3494
|
}
|
|
3493
|
-
if (
|
|
3494
|
-
localVarQueryParameter['
|
|
3495
|
+
if (userIDs) {
|
|
3496
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
3495
3497
|
}
|
|
3496
|
-
if (
|
|
3497
|
-
localVarQueryParameter['
|
|
3498
|
+
if (clientIDs) {
|
|
3499
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
3498
3500
|
}
|
|
3499
3501
|
if (interval !== undefined) {
|
|
3500
3502
|
localVarQueryParameter['interval'] = interval;
|
|
@@ -3511,19 +3513,18 @@ const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3511
3513
|
};
|
|
3512
3514
|
}),
|
|
3513
3515
|
/**
|
|
3514
|
-
* List users progress
|
|
3515
|
-
* @summary List
|
|
3516
|
-
* @param {string}
|
|
3516
|
+
* List users progress
|
|
3517
|
+
* @summary List progress
|
|
3518
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3517
3519
|
* @param {number} [periodID] Period ID
|
|
3518
3520
|
* @param {string} [nextToken] This is the pagination token
|
|
3519
3521
|
* @param {*} [options] Override http request option.
|
|
3520
3522
|
* @throws {RequiredError}
|
|
3521
3523
|
*/
|
|
3522
|
-
listUserProgress: (
|
|
3523
|
-
// verify required parameter '
|
|
3524
|
-
(0, common_1.assertParamExists)('listUserProgress', '
|
|
3525
|
-
const localVarPath = `/users/
|
|
3526
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3524
|
+
listUserProgress: (promotionIDs, periodID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3525
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
3526
|
+
(0, common_1.assertParamExists)('listUserProgress', 'promotionIDs', promotionIDs);
|
|
3527
|
+
const localVarPath = `/users/progress`;
|
|
3527
3528
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3528
3529
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3529
3530
|
let baseOptions;
|
|
@@ -3536,6 +3537,9 @@ const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3536
3537
|
// authentication jwt required
|
|
3537
3538
|
// http bearer authentication required
|
|
3538
3539
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3540
|
+
if (promotionIDs) {
|
|
3541
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
3542
|
+
}
|
|
3539
3543
|
if (periodID !== undefined) {
|
|
3540
3544
|
localVarQueryParameter['periodID'] = periodID;
|
|
3541
3545
|
}
|
|
@@ -3561,35 +3565,35 @@ const ProgressApiFp = function (configuration) {
|
|
|
3561
3565
|
const localVarAxiosParamCreator = (0, exports.ProgressApiAxiosParamCreator)(configuration);
|
|
3562
3566
|
return {
|
|
3563
3567
|
/**
|
|
3564
|
-
* List
|
|
3565
|
-
* @summary List
|
|
3566
|
-
* @param {string}
|
|
3568
|
+
* List progress
|
|
3569
|
+
* @summary List progress
|
|
3570
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3567
3571
|
* @param {number} [periodID] Period ID
|
|
3568
|
-
* @param {string} [
|
|
3569
|
-
* @param {string} [
|
|
3572
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3573
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3570
3574
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3571
3575
|
* @param {string} [nextToken] This is the pagination token
|
|
3572
3576
|
* @param {*} [options] Override http request option.
|
|
3573
3577
|
* @throws {RequiredError}
|
|
3574
3578
|
*/
|
|
3575
|
-
listProgress(
|
|
3579
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3576
3580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3577
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(
|
|
3581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
|
|
3578
3582
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3579
3583
|
});
|
|
3580
3584
|
},
|
|
3581
3585
|
/**
|
|
3582
|
-
* List users progress
|
|
3583
|
-
* @summary List
|
|
3584
|
-
* @param {string}
|
|
3586
|
+
* List users progress
|
|
3587
|
+
* @summary List progress
|
|
3588
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3585
3589
|
* @param {number} [periodID] Period ID
|
|
3586
3590
|
* @param {string} [nextToken] This is the pagination token
|
|
3587
3591
|
* @param {*} [options] Override http request option.
|
|
3588
3592
|
* @throws {RequiredError}
|
|
3589
3593
|
*/
|
|
3590
|
-
listUserProgress(
|
|
3594
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3591
3595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3592
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(
|
|
3596
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
|
|
3593
3597
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3594
3598
|
});
|
|
3595
3599
|
},
|
|
@@ -3604,31 +3608,31 @@ const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
|
3604
3608
|
const localVarFp = (0, exports.ProgressApiFp)(configuration);
|
|
3605
3609
|
return {
|
|
3606
3610
|
/**
|
|
3607
|
-
* List
|
|
3608
|
-
* @summary List
|
|
3609
|
-
* @param {string}
|
|
3611
|
+
* List progress
|
|
3612
|
+
* @summary List progress
|
|
3613
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3610
3614
|
* @param {number} [periodID] Period ID
|
|
3611
|
-
* @param {string} [
|
|
3612
|
-
* @param {string} [
|
|
3615
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3616
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3613
3617
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3614
3618
|
* @param {string} [nextToken] This is the pagination token
|
|
3615
3619
|
* @param {*} [options] Override http request option.
|
|
3616
3620
|
* @throws {RequiredError}
|
|
3617
3621
|
*/
|
|
3618
|
-
listProgress(
|
|
3619
|
-
return localVarFp.listProgress(
|
|
3622
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3623
|
+
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
|
|
3620
3624
|
},
|
|
3621
3625
|
/**
|
|
3622
|
-
* List users progress
|
|
3623
|
-
* @summary List
|
|
3624
|
-
* @param {string}
|
|
3626
|
+
* List users progress
|
|
3627
|
+
* @summary List progress
|
|
3628
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3625
3629
|
* @param {number} [periodID] Period ID
|
|
3626
3630
|
* @param {string} [nextToken] This is the pagination token
|
|
3627
3631
|
* @param {*} [options] Override http request option.
|
|
3628
3632
|
* @throws {RequiredError}
|
|
3629
3633
|
*/
|
|
3630
|
-
listUserProgress(
|
|
3631
|
-
return localVarFp.listUserProgress(
|
|
3634
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3635
|
+
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
|
|
3632
3636
|
},
|
|
3633
3637
|
};
|
|
3634
3638
|
};
|
|
@@ -3641,33 +3645,33 @@ exports.ProgressApiFactory = ProgressApiFactory;
|
|
|
3641
3645
|
*/
|
|
3642
3646
|
class ProgressApi extends base_1.BaseAPI {
|
|
3643
3647
|
/**
|
|
3644
|
-
* List
|
|
3645
|
-
* @summary List
|
|
3646
|
-
* @param {string}
|
|
3648
|
+
* List progress
|
|
3649
|
+
* @summary List progress
|
|
3650
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3647
3651
|
* @param {number} [periodID] Period ID
|
|
3648
|
-
* @param {string} [
|
|
3649
|
-
* @param {string} [
|
|
3652
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3653
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3650
3654
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3651
3655
|
* @param {string} [nextToken] This is the pagination token
|
|
3652
3656
|
* @param {*} [options] Override http request option.
|
|
3653
3657
|
* @throws {RequiredError}
|
|
3654
3658
|
* @memberof ProgressApi
|
|
3655
3659
|
*/
|
|
3656
|
-
listProgress(
|
|
3657
|
-
return (0, exports.ProgressApiFp)(this.configuration).listProgress(
|
|
3660
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3661
|
+
return (0, exports.ProgressApiFp)(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
3658
3662
|
}
|
|
3659
3663
|
/**
|
|
3660
|
-
* List users progress
|
|
3661
|
-
* @summary List
|
|
3662
|
-
* @param {string}
|
|
3664
|
+
* List users progress
|
|
3665
|
+
* @summary List progress
|
|
3666
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3663
3667
|
* @param {number} [periodID] Period ID
|
|
3664
3668
|
* @param {string} [nextToken] This is the pagination token
|
|
3665
3669
|
* @param {*} [options] Override http request option.
|
|
3666
3670
|
* @throws {RequiredError}
|
|
3667
3671
|
* @memberof ProgressApi
|
|
3668
3672
|
*/
|
|
3669
|
-
listUserProgress(
|
|
3670
|
-
return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(
|
|
3673
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3674
|
+
return (0, exports.ProgressApiFp)(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
3671
3675
|
}
|
|
3672
3676
|
}
|
|
3673
3677
|
exports.ProgressApi = ProgressApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4676,28 +4676,28 @@ export declare class ProductApi extends BaseAPI {
|
|
|
4676
4676
|
*/
|
|
4677
4677
|
export declare const ProgressApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4678
4678
|
/**
|
|
4679
|
-
* List
|
|
4680
|
-
* @summary List
|
|
4681
|
-
* @param {string}
|
|
4679
|
+
* List progress
|
|
4680
|
+
* @summary List progress
|
|
4681
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4682
4682
|
* @param {number} [periodID] Period ID
|
|
4683
|
-
* @param {string} [
|
|
4684
|
-
* @param {string} [
|
|
4683
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4684
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4685
4685
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4686
4686
|
* @param {string} [nextToken] This is the pagination token
|
|
4687
4687
|
* @param {*} [options] Override http request option.
|
|
4688
4688
|
* @throws {RequiredError}
|
|
4689
4689
|
*/
|
|
4690
|
-
listProgress: (
|
|
4690
|
+
listProgress: (promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4691
4691
|
/**
|
|
4692
|
-
* List users progress
|
|
4693
|
-
* @summary List
|
|
4694
|
-
* @param {string}
|
|
4692
|
+
* List users progress
|
|
4693
|
+
* @summary List progress
|
|
4694
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4695
4695
|
* @param {number} [periodID] Period ID
|
|
4696
4696
|
* @param {string} [nextToken] This is the pagination token
|
|
4697
4697
|
* @param {*} [options] Override http request option.
|
|
4698
4698
|
* @throws {RequiredError}
|
|
4699
4699
|
*/
|
|
4700
|
-
listUserProgress: (
|
|
4700
|
+
listUserProgress: (promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4701
4701
|
};
|
|
4702
4702
|
/**
|
|
4703
4703
|
* ProgressApi - functional programming interface
|
|
@@ -4705,28 +4705,28 @@ export declare const ProgressApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4705
4705
|
*/
|
|
4706
4706
|
export declare const ProgressApiFp: (configuration?: Configuration) => {
|
|
4707
4707
|
/**
|
|
4708
|
-
* List
|
|
4709
|
-
* @summary List
|
|
4710
|
-
* @param {string}
|
|
4708
|
+
* List progress
|
|
4709
|
+
* @summary List progress
|
|
4710
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4711
4711
|
* @param {number} [periodID] Period ID
|
|
4712
|
-
* @param {string} [
|
|
4713
|
-
* @param {string} [
|
|
4712
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4713
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4714
4714
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4715
4715
|
* @param {string} [nextToken] This is the pagination token
|
|
4716
4716
|
* @param {*} [options] Override http request option.
|
|
4717
4717
|
* @throws {RequiredError}
|
|
4718
4718
|
*/
|
|
4719
|
-
listProgress(
|
|
4719
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4720
4720
|
/**
|
|
4721
|
-
* List users progress
|
|
4722
|
-
* @summary List
|
|
4723
|
-
* @param {string}
|
|
4721
|
+
* List users progress
|
|
4722
|
+
* @summary List progress
|
|
4723
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4724
4724
|
* @param {number} [periodID] Period ID
|
|
4725
4725
|
* @param {string} [nextToken] This is the pagination token
|
|
4726
4726
|
* @param {*} [options] Override http request option.
|
|
4727
4727
|
* @throws {RequiredError}
|
|
4728
4728
|
*/
|
|
4729
|
-
listUserProgress(
|
|
4729
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgressResponse>>;
|
|
4730
4730
|
};
|
|
4731
4731
|
/**
|
|
4732
4732
|
* ProgressApi - factory interface
|
|
@@ -4734,28 +4734,28 @@ export declare const ProgressApiFp: (configuration?: Configuration) => {
|
|
|
4734
4734
|
*/
|
|
4735
4735
|
export declare const ProgressApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4736
4736
|
/**
|
|
4737
|
-
* List
|
|
4738
|
-
* @summary List
|
|
4739
|
-
* @param {string}
|
|
4737
|
+
* List progress
|
|
4738
|
+
* @summary List progress
|
|
4739
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4740
4740
|
* @param {number} [periodID] Period ID
|
|
4741
|
-
* @param {string} [
|
|
4742
|
-
* @param {string} [
|
|
4741
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4742
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4743
4743
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4744
4744
|
* @param {string} [nextToken] This is the pagination token
|
|
4745
4745
|
* @param {*} [options] Override http request option.
|
|
4746
4746
|
* @throws {RequiredError}
|
|
4747
4747
|
*/
|
|
4748
|
-
listProgress(
|
|
4748
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4749
4749
|
/**
|
|
4750
|
-
* List users progress
|
|
4751
|
-
* @summary List
|
|
4752
|
-
* @param {string}
|
|
4750
|
+
* List users progress
|
|
4751
|
+
* @summary List progress
|
|
4752
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4753
4753
|
* @param {number} [periodID] Period ID
|
|
4754
4754
|
* @param {string} [nextToken] This is the pagination token
|
|
4755
4755
|
* @param {*} [options] Override http request option.
|
|
4756
4756
|
* @throws {RequiredError}
|
|
4757
4757
|
*/
|
|
4758
|
-
listUserProgress(
|
|
4758
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: any): AxiosPromise<ProgressResponse>;
|
|
4759
4759
|
};
|
|
4760
4760
|
/**
|
|
4761
4761
|
* ProgressApi - object-oriented interface
|
|
@@ -4765,30 +4765,30 @@ export declare const ProgressApiFactory: (configuration?: Configuration, basePat
|
|
|
4765
4765
|
*/
|
|
4766
4766
|
export declare class ProgressApi extends BaseAPI {
|
|
4767
4767
|
/**
|
|
4768
|
-
* List
|
|
4769
|
-
* @summary List
|
|
4770
|
-
* @param {string}
|
|
4768
|
+
* List progress
|
|
4769
|
+
* @summary List progress
|
|
4770
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4771
4771
|
* @param {number} [periodID] Period ID
|
|
4772
|
-
* @param {string} [
|
|
4773
|
-
* @param {string} [
|
|
4772
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
4773
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
4774
4774
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
4775
4775
|
* @param {string} [nextToken] This is the pagination token
|
|
4776
4776
|
* @param {*} [options] Override http request option.
|
|
4777
4777
|
* @throws {RequiredError}
|
|
4778
4778
|
* @memberof ProgressApi
|
|
4779
4779
|
*/
|
|
4780
|
-
listProgress(
|
|
4780
|
+
listProgress(promotionIDs: Array<string>, periodID?: number, userIDs?: Array<string>, clientIDs?: Array<string>, interval?: ListProgressIntervalEnum, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4781
4781
|
/**
|
|
4782
|
-
* List users progress
|
|
4783
|
-
* @summary List
|
|
4784
|
-
* @param {string}
|
|
4782
|
+
* List users progress
|
|
4783
|
+
* @summary List progress
|
|
4784
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
4785
4785
|
* @param {number} [periodID] Period ID
|
|
4786
4786
|
* @param {string} [nextToken] This is the pagination token
|
|
4787
4787
|
* @param {*} [options] Override http request option.
|
|
4788
4788
|
* @throws {RequiredError}
|
|
4789
4789
|
* @memberof ProgressApi
|
|
4790
4790
|
*/
|
|
4791
|
-
listUserProgress(
|
|
4791
|
+
listUserProgress(promotionIDs: Array<string>, periodID?: number, nextToken?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProgressResponse, any>>;
|
|
4792
4792
|
}
|
|
4793
4793
|
/**
|
|
4794
4794
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -3411,22 +3411,21 @@ export class ProductApi extends BaseAPI {
|
|
|
3411
3411
|
export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
3412
3412
|
return {
|
|
3413
3413
|
/**
|
|
3414
|
-
* List
|
|
3415
|
-
* @summary List
|
|
3416
|
-
* @param {string}
|
|
3414
|
+
* List progress
|
|
3415
|
+
* @summary List progress
|
|
3416
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3417
3417
|
* @param {number} [periodID] Period ID
|
|
3418
|
-
* @param {string} [
|
|
3419
|
-
* @param {string} [
|
|
3418
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3419
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3420
3420
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3421
3421
|
* @param {string} [nextToken] This is the pagination token
|
|
3422
3422
|
* @param {*} [options] Override http request option.
|
|
3423
3423
|
* @throws {RequiredError}
|
|
3424
3424
|
*/
|
|
3425
|
-
listProgress: (
|
|
3426
|
-
// verify required parameter '
|
|
3427
|
-
assertParamExists('listProgress', '
|
|
3428
|
-
const localVarPath = `/admins/
|
|
3429
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3425
|
+
listProgress: (promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3426
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
3427
|
+
assertParamExists('listProgress', 'promotionIDs', promotionIDs);
|
|
3428
|
+
const localVarPath = `/admins/progress`;
|
|
3430
3429
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3431
3430
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3432
3431
|
let baseOptions;
|
|
@@ -3439,14 +3438,17 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3439
3438
|
// authentication jwt required
|
|
3440
3439
|
// http bearer authentication required
|
|
3441
3440
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3441
|
+
if (promotionIDs) {
|
|
3442
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
3443
|
+
}
|
|
3442
3444
|
if (periodID !== undefined) {
|
|
3443
3445
|
localVarQueryParameter['periodID'] = periodID;
|
|
3444
3446
|
}
|
|
3445
|
-
if (
|
|
3446
|
-
localVarQueryParameter['
|
|
3447
|
+
if (userIDs) {
|
|
3448
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
3447
3449
|
}
|
|
3448
|
-
if (
|
|
3449
|
-
localVarQueryParameter['
|
|
3450
|
+
if (clientIDs) {
|
|
3451
|
+
localVarQueryParameter['clientIDs'] = clientIDs;
|
|
3450
3452
|
}
|
|
3451
3453
|
if (interval !== undefined) {
|
|
3452
3454
|
localVarQueryParameter['interval'] = interval;
|
|
@@ -3463,19 +3465,18 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3463
3465
|
};
|
|
3464
3466
|
}),
|
|
3465
3467
|
/**
|
|
3466
|
-
* List users progress
|
|
3467
|
-
* @summary List
|
|
3468
|
-
* @param {string}
|
|
3468
|
+
* List users progress
|
|
3469
|
+
* @summary List progress
|
|
3470
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3469
3471
|
* @param {number} [periodID] Period ID
|
|
3470
3472
|
* @param {string} [nextToken] This is the pagination token
|
|
3471
3473
|
* @param {*} [options] Override http request option.
|
|
3472
3474
|
* @throws {RequiredError}
|
|
3473
3475
|
*/
|
|
3474
|
-
listUserProgress: (
|
|
3475
|
-
// verify required parameter '
|
|
3476
|
-
assertParamExists('listUserProgress', '
|
|
3477
|
-
const localVarPath = `/users/
|
|
3478
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3476
|
+
listUserProgress: (promotionIDs, periodID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3477
|
+
// verify required parameter 'promotionIDs' is not null or undefined
|
|
3478
|
+
assertParamExists('listUserProgress', 'promotionIDs', promotionIDs);
|
|
3479
|
+
const localVarPath = `/users/progress`;
|
|
3479
3480
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3480
3481
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3481
3482
|
let baseOptions;
|
|
@@ -3488,6 +3489,9 @@ export const ProgressApiAxiosParamCreator = function (configuration) {
|
|
|
3488
3489
|
// authentication jwt required
|
|
3489
3490
|
// http bearer authentication required
|
|
3490
3491
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3492
|
+
if (promotionIDs) {
|
|
3493
|
+
localVarQueryParameter['promotionIDs'] = promotionIDs;
|
|
3494
|
+
}
|
|
3491
3495
|
if (periodID !== undefined) {
|
|
3492
3496
|
localVarQueryParameter['periodID'] = periodID;
|
|
3493
3497
|
}
|
|
@@ -3512,35 +3516,35 @@ export const ProgressApiFp = function (configuration) {
|
|
|
3512
3516
|
const localVarAxiosParamCreator = ProgressApiAxiosParamCreator(configuration);
|
|
3513
3517
|
return {
|
|
3514
3518
|
/**
|
|
3515
|
-
* List
|
|
3516
|
-
* @summary List
|
|
3517
|
-
* @param {string}
|
|
3519
|
+
* List progress
|
|
3520
|
+
* @summary List progress
|
|
3521
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3518
3522
|
* @param {number} [periodID] Period ID
|
|
3519
|
-
* @param {string} [
|
|
3520
|
-
* @param {string} [
|
|
3523
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3524
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3521
3525
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3522
3526
|
* @param {string} [nextToken] This is the pagination token
|
|
3523
3527
|
* @param {*} [options] Override http request option.
|
|
3524
3528
|
* @throws {RequiredError}
|
|
3525
3529
|
*/
|
|
3526
|
-
listProgress(
|
|
3530
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3527
3531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3528
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(
|
|
3532
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options);
|
|
3529
3533
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3530
3534
|
});
|
|
3531
3535
|
},
|
|
3532
3536
|
/**
|
|
3533
|
-
* List users progress
|
|
3534
|
-
* @summary List
|
|
3535
|
-
* @param {string}
|
|
3537
|
+
* List users progress
|
|
3538
|
+
* @summary List progress
|
|
3539
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3536
3540
|
* @param {number} [periodID] Period ID
|
|
3537
3541
|
* @param {string} [nextToken] This is the pagination token
|
|
3538
3542
|
* @param {*} [options] Override http request option.
|
|
3539
3543
|
* @throws {RequiredError}
|
|
3540
3544
|
*/
|
|
3541
|
-
listUserProgress(
|
|
3545
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3542
3546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3543
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(
|
|
3547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUserProgress(promotionIDs, periodID, nextToken, options);
|
|
3544
3548
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3545
3549
|
});
|
|
3546
3550
|
},
|
|
@@ -3554,31 +3558,31 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
|
3554
3558
|
const localVarFp = ProgressApiFp(configuration);
|
|
3555
3559
|
return {
|
|
3556
3560
|
/**
|
|
3557
|
-
* List
|
|
3558
|
-
* @summary List
|
|
3559
|
-
* @param {string}
|
|
3561
|
+
* List progress
|
|
3562
|
+
* @summary List progress
|
|
3563
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3560
3564
|
* @param {number} [periodID] Period ID
|
|
3561
|
-
* @param {string} [
|
|
3562
|
-
* @param {string} [
|
|
3565
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3566
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3563
3567
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3564
3568
|
* @param {string} [nextToken] This is the pagination token
|
|
3565
3569
|
* @param {*} [options] Override http request option.
|
|
3566
3570
|
* @throws {RequiredError}
|
|
3567
3571
|
*/
|
|
3568
|
-
listProgress(
|
|
3569
|
-
return localVarFp.listProgress(
|
|
3572
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3573
|
+
return localVarFp.listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(axios, basePath));
|
|
3570
3574
|
},
|
|
3571
3575
|
/**
|
|
3572
|
-
* List users progress
|
|
3573
|
-
* @summary List
|
|
3574
|
-
* @param {string}
|
|
3576
|
+
* List users progress
|
|
3577
|
+
* @summary List progress
|
|
3578
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3575
3579
|
* @param {number} [periodID] Period ID
|
|
3576
3580
|
* @param {string} [nextToken] This is the pagination token
|
|
3577
3581
|
* @param {*} [options] Override http request option.
|
|
3578
3582
|
* @throws {RequiredError}
|
|
3579
3583
|
*/
|
|
3580
|
-
listUserProgress(
|
|
3581
|
-
return localVarFp.listUserProgress(
|
|
3584
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3585
|
+
return localVarFp.listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(axios, basePath));
|
|
3582
3586
|
},
|
|
3583
3587
|
};
|
|
3584
3588
|
};
|
|
@@ -3590,33 +3594,33 @@ export const ProgressApiFactory = function (configuration, basePath, axios) {
|
|
|
3590
3594
|
*/
|
|
3591
3595
|
export class ProgressApi extends BaseAPI {
|
|
3592
3596
|
/**
|
|
3593
|
-
* List
|
|
3594
|
-
* @summary List
|
|
3595
|
-
* @param {string}
|
|
3597
|
+
* List progress
|
|
3598
|
+
* @summary List progress
|
|
3599
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3596
3600
|
* @param {number} [periodID] Period ID
|
|
3597
|
-
* @param {string} [
|
|
3598
|
-
* @param {string} [
|
|
3601
|
+
* @param {Array<string>} [userIDs] User ID to filter by
|
|
3602
|
+
* @param {Array<string>} [clientIDs] Client ID to filter by
|
|
3599
3603
|
* @param {ListProgressIntervalEnum} [interval] Interval
|
|
3600
3604
|
* @param {string} [nextToken] This is the pagination token
|
|
3601
3605
|
* @param {*} [options] Override http request option.
|
|
3602
3606
|
* @throws {RequiredError}
|
|
3603
3607
|
* @memberof ProgressApi
|
|
3604
3608
|
*/
|
|
3605
|
-
listProgress(
|
|
3606
|
-
return ProgressApiFp(this.configuration).listProgress(
|
|
3609
|
+
listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options) {
|
|
3610
|
+
return ProgressApiFp(this.configuration).listProgress(promotionIDs, periodID, userIDs, clientIDs, interval, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
3607
3611
|
}
|
|
3608
3612
|
/**
|
|
3609
|
-
* List users progress
|
|
3610
|
-
* @summary List
|
|
3611
|
-
* @param {string}
|
|
3613
|
+
* List users progress
|
|
3614
|
+
* @summary List progress
|
|
3615
|
+
* @param {Array<string>} promotionIDs Promotion ID to filter by
|
|
3612
3616
|
* @param {number} [periodID] Period ID
|
|
3613
3617
|
* @param {string} [nextToken] This is the pagination token
|
|
3614
3618
|
* @param {*} [options] Override http request option.
|
|
3615
3619
|
* @throws {RequiredError}
|
|
3616
3620
|
* @memberof ProgressApi
|
|
3617
3621
|
*/
|
|
3618
|
-
listUserProgress(
|
|
3619
|
-
return ProgressApiFp(this.configuration).listUserProgress(
|
|
3622
|
+
listUserProgress(promotionIDs, periodID, nextToken, options) {
|
|
3623
|
+
return ProgressApiFp(this.configuration).listUserProgress(promotionIDs, periodID, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
3620
3624
|
}
|
|
3621
3625
|
}
|
|
3622
3626
|
/**
|