flexinet-api 0.0.694-prerelease0 → 0.0.703-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 +208 -7
- package/dist/api.d.ts +159 -4
- package/dist/api.js +117 -9
- package/dist/esm/api.d.ts +159 -4
- package/dist/esm/api.js +111 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.703-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.703-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -137,6 +137,12 @@ export interface BackofficeConfig {
|
|
|
137
137
|
* @memberof BackofficeConfig
|
|
138
138
|
*/
|
|
139
139
|
'notificationPreferences'?: Array<NotificationPreference>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {PromotionConfig}
|
|
143
|
+
* @memberof BackofficeConfig
|
|
144
|
+
*/
|
|
145
|
+
'promotionConfig'?: PromotionConfig;
|
|
140
146
|
}
|
|
141
147
|
/**
|
|
142
148
|
*
|
|
@@ -2122,9 +2128,34 @@ export interface PromotionClientBeneficiaries {
|
|
|
2122
2128
|
* @memberof PromotionClientBeneficiaries
|
|
2123
2129
|
*/
|
|
2124
2130
|
'beneficiaries': Array<Client>;
|
|
2131
|
+
/**
|
|
2132
|
+
* This is the pagination token
|
|
2133
|
+
* @type {string}
|
|
2134
|
+
* @memberof PromotionClientBeneficiaries
|
|
2135
|
+
*/
|
|
2136
|
+
'nextToken'?: string;
|
|
2125
2137
|
}
|
|
2126
2138
|
|
|
2127
2139
|
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @export
|
|
2143
|
+
* @interface PromotionConfig
|
|
2144
|
+
*/
|
|
2145
|
+
export interface PromotionConfig {
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {number}
|
|
2149
|
+
* @memberof PromotionConfig
|
|
2150
|
+
*/
|
|
2151
|
+
'adminClainGracePeriod'?: number;
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @type {number}
|
|
2155
|
+
* @memberof PromotionConfig
|
|
2156
|
+
*/
|
|
2157
|
+
'userClaimGracePeriod'?: number;
|
|
2158
|
+
}
|
|
2128
2159
|
/**
|
|
2129
2160
|
*
|
|
2130
2161
|
* @export
|
|
@@ -2302,6 +2333,12 @@ export interface PromotionUserBeneficiaries {
|
|
|
2302
2333
|
* @memberof PromotionUserBeneficiaries
|
|
2303
2334
|
*/
|
|
2304
2335
|
'beneficiaries': Array<User>;
|
|
2336
|
+
/**
|
|
2337
|
+
* This is the pagination token
|
|
2338
|
+
* @type {string}
|
|
2339
|
+
* @memberof PromotionUserBeneficiaries
|
|
2340
|
+
*/
|
|
2341
|
+
'nextToken'?: string;
|
|
2305
2342
|
}
|
|
2306
2343
|
|
|
2307
2344
|
|
|
@@ -2945,6 +2982,55 @@ export const TargetMu = {
|
|
|
2945
2982
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2946
2983
|
|
|
2947
2984
|
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @export
|
|
2988
|
+
* @interface Tenant
|
|
2989
|
+
*/
|
|
2990
|
+
export interface Tenant {
|
|
2991
|
+
/**
|
|
2992
|
+
*
|
|
2993
|
+
* @type {string}
|
|
2994
|
+
* @memberof Tenant
|
|
2995
|
+
*/
|
|
2996
|
+
'id': string;
|
|
2997
|
+
/**
|
|
2998
|
+
*
|
|
2999
|
+
* @type {string}
|
|
3000
|
+
* @memberof Tenant
|
|
3001
|
+
*/
|
|
3002
|
+
'adminKeyConfig': string;
|
|
3003
|
+
/**
|
|
3004
|
+
*
|
|
3005
|
+
* @type {string}
|
|
3006
|
+
* @memberof Tenant
|
|
3007
|
+
*/
|
|
3008
|
+
'adminIssuer': string;
|
|
3009
|
+
/**
|
|
3010
|
+
*
|
|
3011
|
+
* @type {string}
|
|
3012
|
+
* @memberof Tenant
|
|
3013
|
+
*/
|
|
3014
|
+
'customerKeyConfig': string;
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
* @type {string}
|
|
3018
|
+
* @memberof Tenant
|
|
3019
|
+
*/
|
|
3020
|
+
'customerIssuer': string;
|
|
3021
|
+
/**
|
|
3022
|
+
*
|
|
3023
|
+
* @type {string}
|
|
3024
|
+
* @memberof Tenant
|
|
3025
|
+
*/
|
|
3026
|
+
'customerLoginURL': string;
|
|
3027
|
+
/**
|
|
3028
|
+
*
|
|
3029
|
+
* @type {string}
|
|
3030
|
+
* @memberof Tenant
|
|
3031
|
+
*/
|
|
3032
|
+
'customerClientID': string;
|
|
3033
|
+
}
|
|
2948
3034
|
/**
|
|
2949
3035
|
*
|
|
2950
3036
|
* @export
|
|
@@ -8149,10 +8235,12 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
8149
8235
|
* @param {string} id Promotion ID
|
|
8150
8236
|
* @param {number} [periodID] Period ID
|
|
8151
8237
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
8238
|
+
* @param {string} [nextToken] This is the pagination token
|
|
8239
|
+
* @param {string} [search] search string
|
|
8152
8240
|
* @param {*} [options] Override http request option.
|
|
8153
8241
|
* @throws {RequiredError}
|
|
8154
8242
|
*/
|
|
8155
|
-
listPromotionBeneficiaries: async (id: string, periodID?: number, hasProgress?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8243
|
+
listPromotionBeneficiaries: async (id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8156
8244
|
// verify required parameter 'id' is not null or undefined
|
|
8157
8245
|
assertParamExists('listPromotionBeneficiaries', 'id', id)
|
|
8158
8246
|
const localVarPath = `/admins/promotions/{id}/beneficiaries`
|
|
@@ -8180,6 +8268,14 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
|
|
|
8180
8268
|
localVarQueryParameter['hasProgress'] = hasProgress;
|
|
8181
8269
|
}
|
|
8182
8270
|
|
|
8271
|
+
if (nextToken !== undefined) {
|
|
8272
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
8273
|
+
}
|
|
8274
|
+
|
|
8275
|
+
if (search !== undefined) {
|
|
8276
|
+
localVarQueryParameter['search'] = search;
|
|
8277
|
+
}
|
|
8278
|
+
|
|
8183
8279
|
|
|
8184
8280
|
|
|
8185
8281
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8556,11 +8652,13 @@ export const PromotionApiFp = function(configuration?: Configuration) {
|
|
|
8556
8652
|
* @param {string} id Promotion ID
|
|
8557
8653
|
* @param {number} [periodID] Period ID
|
|
8558
8654
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
8655
|
+
* @param {string} [nextToken] This is the pagination token
|
|
8656
|
+
* @param {string} [search] search string
|
|
8559
8657
|
* @param {*} [options] Override http request option.
|
|
8560
8658
|
* @throws {RequiredError}
|
|
8561
8659
|
*/
|
|
8562
|
-
async listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>> {
|
|
8563
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, options);
|
|
8660
|
+
async listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>> {
|
|
8661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options);
|
|
8564
8662
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8565
8663
|
},
|
|
8566
8664
|
/**
|
|
@@ -8727,11 +8825,13 @@ export const PromotionApiFactory = function (configuration?: Configuration, base
|
|
|
8727
8825
|
* @param {string} id Promotion ID
|
|
8728
8826
|
* @param {number} [periodID] Period ID
|
|
8729
8827
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
8828
|
+
* @param {string} [nextToken] This is the pagination token
|
|
8829
|
+
* @param {string} [search] search string
|
|
8730
8830
|
* @param {*} [options] Override http request option.
|
|
8731
8831
|
* @throws {RequiredError}
|
|
8732
8832
|
*/
|
|
8733
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: any): AxiosPromise<PromotionBeneficiariesResponse> {
|
|
8734
|
-
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(axios, basePath));
|
|
8833
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: any): AxiosPromise<PromotionBeneficiariesResponse> {
|
|
8834
|
+
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(axios, basePath));
|
|
8735
8835
|
},
|
|
8736
8836
|
/**
|
|
8737
8837
|
* List all promotions
|
|
@@ -8912,12 +9012,14 @@ export class PromotionApi extends BaseAPI {
|
|
|
8912
9012
|
* @param {string} id Promotion ID
|
|
8913
9013
|
* @param {number} [periodID] Period ID
|
|
8914
9014
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
9015
|
+
* @param {string} [nextToken] This is the pagination token
|
|
9016
|
+
* @param {string} [search] search string
|
|
8915
9017
|
* @param {*} [options] Override http request option.
|
|
8916
9018
|
* @throws {RequiredError}
|
|
8917
9019
|
* @memberof PromotionApi
|
|
8918
9020
|
*/
|
|
8919
|
-
public listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig) {
|
|
8920
|
-
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(this.axios, this.basePath));
|
|
9021
|
+
public listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig) {
|
|
9022
|
+
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
|
8921
9023
|
}
|
|
8922
9024
|
|
|
8923
9025
|
/**
|
|
@@ -9654,6 +9756,105 @@ export class TagApi extends BaseAPI {
|
|
|
9654
9756
|
|
|
9655
9757
|
|
|
9656
9758
|
|
|
9759
|
+
/**
|
|
9760
|
+
* TenantApi - axios parameter creator
|
|
9761
|
+
* @export
|
|
9762
|
+
*/
|
|
9763
|
+
export const TenantApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9764
|
+
return {
|
|
9765
|
+
/**
|
|
9766
|
+
* List of known tenants
|
|
9767
|
+
* @summary List tenants
|
|
9768
|
+
* @param {*} [options] Override http request option.
|
|
9769
|
+
* @throws {RequiredError}
|
|
9770
|
+
*/
|
|
9771
|
+
listTenants: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9772
|
+
const localVarPath = `/tenants`;
|
|
9773
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9774
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9775
|
+
let baseOptions;
|
|
9776
|
+
if (configuration) {
|
|
9777
|
+
baseOptions = configuration.baseOptions;
|
|
9778
|
+
}
|
|
9779
|
+
|
|
9780
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9781
|
+
const localVarHeaderParameter = {} as any;
|
|
9782
|
+
const localVarQueryParameter = {} as any;
|
|
9783
|
+
|
|
9784
|
+
|
|
9785
|
+
|
|
9786
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9787
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9788
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9789
|
+
|
|
9790
|
+
return {
|
|
9791
|
+
url: toPathString(localVarUrlObj),
|
|
9792
|
+
options: localVarRequestOptions,
|
|
9793
|
+
};
|
|
9794
|
+
},
|
|
9795
|
+
}
|
|
9796
|
+
};
|
|
9797
|
+
|
|
9798
|
+
/**
|
|
9799
|
+
* TenantApi - functional programming interface
|
|
9800
|
+
* @export
|
|
9801
|
+
*/
|
|
9802
|
+
export const TenantApiFp = function(configuration?: Configuration) {
|
|
9803
|
+
const localVarAxiosParamCreator = TenantApiAxiosParamCreator(configuration)
|
|
9804
|
+
return {
|
|
9805
|
+
/**
|
|
9806
|
+
* List of known tenants
|
|
9807
|
+
* @summary List tenants
|
|
9808
|
+
* @param {*} [options] Override http request option.
|
|
9809
|
+
* @throws {RequiredError}
|
|
9810
|
+
*/
|
|
9811
|
+
async listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Tenant; }>> {
|
|
9812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(options);
|
|
9813
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9814
|
+
},
|
|
9815
|
+
}
|
|
9816
|
+
};
|
|
9817
|
+
|
|
9818
|
+
/**
|
|
9819
|
+
* TenantApi - factory interface
|
|
9820
|
+
* @export
|
|
9821
|
+
*/
|
|
9822
|
+
export const TenantApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9823
|
+
const localVarFp = TenantApiFp(configuration)
|
|
9824
|
+
return {
|
|
9825
|
+
/**
|
|
9826
|
+
* List of known tenants
|
|
9827
|
+
* @summary List tenants
|
|
9828
|
+
* @param {*} [options] Override http request option.
|
|
9829
|
+
* @throws {RequiredError}
|
|
9830
|
+
*/
|
|
9831
|
+
listTenants(options?: any): AxiosPromise<{ [key: string]: Tenant; }> {
|
|
9832
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
9833
|
+
},
|
|
9834
|
+
};
|
|
9835
|
+
};
|
|
9836
|
+
|
|
9837
|
+
/**
|
|
9838
|
+
* TenantApi - object-oriented interface
|
|
9839
|
+
* @export
|
|
9840
|
+
* @class TenantApi
|
|
9841
|
+
* @extends {BaseAPI}
|
|
9842
|
+
*/
|
|
9843
|
+
export class TenantApi extends BaseAPI {
|
|
9844
|
+
/**
|
|
9845
|
+
* List of known tenants
|
|
9846
|
+
* @summary List tenants
|
|
9847
|
+
* @param {*} [options] Override http request option.
|
|
9848
|
+
* @throws {RequiredError}
|
|
9849
|
+
* @memberof TenantApi
|
|
9850
|
+
*/
|
|
9851
|
+
public listTenants(options?: AxiosRequestConfig) {
|
|
9852
|
+
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
9853
|
+
}
|
|
9854
|
+
}
|
|
9855
|
+
|
|
9856
|
+
|
|
9857
|
+
|
|
9657
9858
|
/**
|
|
9658
9859
|
* TransactionApi - axios parameter creator
|
|
9659
9860
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -120,6 +120,12 @@ export interface BackofficeConfig {
|
|
|
120
120
|
* @memberof BackofficeConfig
|
|
121
121
|
*/
|
|
122
122
|
'notificationPreferences'?: Array<NotificationPreference>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {PromotionConfig}
|
|
126
|
+
* @memberof BackofficeConfig
|
|
127
|
+
*/
|
|
128
|
+
'promotionConfig'?: PromotionConfig;
|
|
123
129
|
}
|
|
124
130
|
/**
|
|
125
131
|
*
|
|
@@ -2024,6 +2030,31 @@ export interface PromotionClientBeneficiaries {
|
|
|
2024
2030
|
* @memberof PromotionClientBeneficiaries
|
|
2025
2031
|
*/
|
|
2026
2032
|
'beneficiaries': Array<Client>;
|
|
2033
|
+
/**
|
|
2034
|
+
* This is the pagination token
|
|
2035
|
+
* @type {string}
|
|
2036
|
+
* @memberof PromotionClientBeneficiaries
|
|
2037
|
+
*/
|
|
2038
|
+
'nextToken'?: string;
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @export
|
|
2043
|
+
* @interface PromotionConfig
|
|
2044
|
+
*/
|
|
2045
|
+
export interface PromotionConfig {
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {number}
|
|
2049
|
+
* @memberof PromotionConfig
|
|
2050
|
+
*/
|
|
2051
|
+
'adminClainGracePeriod'?: number;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {number}
|
|
2055
|
+
* @memberof PromotionConfig
|
|
2056
|
+
*/
|
|
2057
|
+
'userClaimGracePeriod'?: number;
|
|
2027
2058
|
}
|
|
2028
2059
|
/**
|
|
2029
2060
|
*
|
|
@@ -2194,6 +2225,12 @@ export interface PromotionUserBeneficiaries {
|
|
|
2194
2225
|
* @memberof PromotionUserBeneficiaries
|
|
2195
2226
|
*/
|
|
2196
2227
|
'beneficiaries': Array<User>;
|
|
2228
|
+
/**
|
|
2229
|
+
* This is the pagination token
|
|
2230
|
+
* @type {string}
|
|
2231
|
+
* @memberof PromotionUserBeneficiaries
|
|
2232
|
+
*/
|
|
2233
|
+
'nextToken'?: string;
|
|
2197
2234
|
}
|
|
2198
2235
|
/**
|
|
2199
2236
|
*
|
|
@@ -2791,6 +2828,55 @@ export declare const TargetMu: {
|
|
|
2791
2828
|
readonly Additional: "additional";
|
|
2792
2829
|
};
|
|
2793
2830
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @export
|
|
2834
|
+
* @interface Tenant
|
|
2835
|
+
*/
|
|
2836
|
+
export interface Tenant {
|
|
2837
|
+
/**
|
|
2838
|
+
*
|
|
2839
|
+
* @type {string}
|
|
2840
|
+
* @memberof Tenant
|
|
2841
|
+
*/
|
|
2842
|
+
'id': string;
|
|
2843
|
+
/**
|
|
2844
|
+
*
|
|
2845
|
+
* @type {string}
|
|
2846
|
+
* @memberof Tenant
|
|
2847
|
+
*/
|
|
2848
|
+
'adminKeyConfig': string;
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @type {string}
|
|
2852
|
+
* @memberof Tenant
|
|
2853
|
+
*/
|
|
2854
|
+
'adminIssuer': string;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof Tenant
|
|
2859
|
+
*/
|
|
2860
|
+
'customerKeyConfig': string;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof Tenant
|
|
2865
|
+
*/
|
|
2866
|
+
'customerIssuer': string;
|
|
2867
|
+
/**
|
|
2868
|
+
*
|
|
2869
|
+
* @type {string}
|
|
2870
|
+
* @memberof Tenant
|
|
2871
|
+
*/
|
|
2872
|
+
'customerLoginURL': string;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* @type {string}
|
|
2876
|
+
* @memberof Tenant
|
|
2877
|
+
*/
|
|
2878
|
+
'customerClientID': string;
|
|
2879
|
+
}
|
|
2794
2880
|
/**
|
|
2795
2881
|
*
|
|
2796
2882
|
* @export
|
|
@@ -5536,10 +5622,12 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5536
5622
|
* @param {string} id Promotion ID
|
|
5537
5623
|
* @param {number} [periodID] Period ID
|
|
5538
5624
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5625
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5626
|
+
* @param {string} [search] search string
|
|
5539
5627
|
* @param {*} [options] Override http request option.
|
|
5540
5628
|
* @throws {RequiredError}
|
|
5541
5629
|
*/
|
|
5542
|
-
listPromotionBeneficiaries: (id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5630
|
+
listPromotionBeneficiaries: (id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5543
5631
|
/**
|
|
5544
5632
|
* List all promotions
|
|
5545
5633
|
* @summary List promotions
|
|
@@ -5673,10 +5761,12 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
|
5673
5761
|
* @param {string} id Promotion ID
|
|
5674
5762
|
* @param {number} [periodID] Period ID
|
|
5675
5763
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5764
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5765
|
+
* @param {string} [search] search string
|
|
5676
5766
|
* @param {*} [options] Override http request option.
|
|
5677
5767
|
* @throws {RequiredError}
|
|
5678
5768
|
*/
|
|
5679
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>>;
|
|
5769
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>>;
|
|
5680
5770
|
/**
|
|
5681
5771
|
* List all promotions
|
|
5682
5772
|
* @summary List promotions
|
|
@@ -5810,10 +5900,12 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
|
5810
5900
|
* @param {string} id Promotion ID
|
|
5811
5901
|
* @param {number} [periodID] Period ID
|
|
5812
5902
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5903
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5904
|
+
* @param {string} [search] search string
|
|
5813
5905
|
* @param {*} [options] Override http request option.
|
|
5814
5906
|
* @throws {RequiredError}
|
|
5815
5907
|
*/
|
|
5816
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: any): AxiosPromise<PromotionBeneficiariesResponse>;
|
|
5908
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: any): AxiosPromise<PromotionBeneficiariesResponse>;
|
|
5817
5909
|
/**
|
|
5818
5910
|
* List all promotions
|
|
5819
5911
|
* @summary List promotions
|
|
@@ -5958,11 +6050,13 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
5958
6050
|
* @param {string} id Promotion ID
|
|
5959
6051
|
* @param {number} [periodID] Period ID
|
|
5960
6052
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
6053
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6054
|
+
* @param {string} [search] search string
|
|
5961
6055
|
* @param {*} [options] Override http request option.
|
|
5962
6056
|
* @throws {RequiredError}
|
|
5963
6057
|
* @memberof PromotionApi
|
|
5964
6058
|
*/
|
|
5965
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionBeneficiariesResponse, any>>;
|
|
6059
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionBeneficiariesResponse, any>>;
|
|
5966
6060
|
/**
|
|
5967
6061
|
* List all promotions
|
|
5968
6062
|
* @summary List promotions
|
|
@@ -6338,6 +6432,67 @@ export declare class TagApi extends BaseAPI {
|
|
|
6338
6432
|
*/
|
|
6339
6433
|
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any>>;
|
|
6340
6434
|
}
|
|
6435
|
+
/**
|
|
6436
|
+
* TenantApi - axios parameter creator
|
|
6437
|
+
* @export
|
|
6438
|
+
*/
|
|
6439
|
+
export declare const TenantApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6440
|
+
/**
|
|
6441
|
+
* List of known tenants
|
|
6442
|
+
* @summary List tenants
|
|
6443
|
+
* @param {*} [options] Override http request option.
|
|
6444
|
+
* @throws {RequiredError}
|
|
6445
|
+
*/
|
|
6446
|
+
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6447
|
+
};
|
|
6448
|
+
/**
|
|
6449
|
+
* TenantApi - functional programming interface
|
|
6450
|
+
* @export
|
|
6451
|
+
*/
|
|
6452
|
+
export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
6453
|
+
/**
|
|
6454
|
+
* List of known tenants
|
|
6455
|
+
* @summary List tenants
|
|
6456
|
+
* @param {*} [options] Override http request option.
|
|
6457
|
+
* @throws {RequiredError}
|
|
6458
|
+
*/
|
|
6459
|
+
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
6460
|
+
[key: string]: Tenant;
|
|
6461
|
+
}>>;
|
|
6462
|
+
};
|
|
6463
|
+
/**
|
|
6464
|
+
* TenantApi - factory interface
|
|
6465
|
+
* @export
|
|
6466
|
+
*/
|
|
6467
|
+
export declare const TenantApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6468
|
+
/**
|
|
6469
|
+
* List of known tenants
|
|
6470
|
+
* @summary List tenants
|
|
6471
|
+
* @param {*} [options] Override http request option.
|
|
6472
|
+
* @throws {RequiredError}
|
|
6473
|
+
*/
|
|
6474
|
+
listTenants(options?: any): AxiosPromise<{
|
|
6475
|
+
[key: string]: Tenant;
|
|
6476
|
+
}>;
|
|
6477
|
+
};
|
|
6478
|
+
/**
|
|
6479
|
+
* TenantApi - object-oriented interface
|
|
6480
|
+
* @export
|
|
6481
|
+
* @class TenantApi
|
|
6482
|
+
* @extends {BaseAPI}
|
|
6483
|
+
*/
|
|
6484
|
+
export declare class TenantApi extends BaseAPI {
|
|
6485
|
+
/**
|
|
6486
|
+
* List of known tenants
|
|
6487
|
+
* @summary List tenants
|
|
6488
|
+
* @param {*} [options] Override http request option.
|
|
6489
|
+
* @throws {RequiredError}
|
|
6490
|
+
* @memberof TenantApi
|
|
6491
|
+
*/
|
|
6492
|
+
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
6493
|
+
[key: string]: Tenant;
|
|
6494
|
+
}, any>>;
|
|
6495
|
+
}
|
|
6341
6496
|
/**
|
|
6342
6497
|
* TransactionApi - axios parameter creator
|
|
6343
6498
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = exports.WebhookKind = exports.UserSource = exports.UserRole = exports.TransactionSource = exports.TransactionKind = exports.TransactionEventKind = exports.TargetMu = exports.TagValidatorType = exports.TagRuleKind = exports.TagDataType = exports.SortDirection = exports.RuleKind = exports.RuleGroupState = exports.Repetition = exports.PromotionType = exports.PromotionSortByField = exports.ProgressState = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = exports.OrderKindEnum = exports.NotificationStatus = exports.NotificationKind = exports.NotificationChannel = exports.Feature = exports.EventCreationRequestKindEnum = exports.CustomDealRestrictionPriority = exports.Condition = exports.BonusMu = exports.BeneficiaryKind = exports.AuditLogObjectType = exports.AuditLogActionEnum = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
26
|
+
exports.TenantApi = exports.TenantApiFactory = exports.TenantApiFp = exports.TenantApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ListProgressIntervalEnum = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.IntegrationApi = exports.IntegrationApiFactory = exports.IntegrationApiFp = exports.IntegrationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomDealsApi = exports.CustomDealsApiFactory = exports.CustomDealsApiFp = exports.CustomDealsApiAxiosParamCreator = exports.ConfigurationApi = exports.ConfigurationApiFactory = exports.ConfigurationApiFp = exports.ConfigurationApiAxiosParamCreator = exports.ClientApi = void 0;
|
|
27
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -4519,10 +4519,12 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4519
4519
|
* @param {string} id Promotion ID
|
|
4520
4520
|
* @param {number} [periodID] Period ID
|
|
4521
4521
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
4522
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4523
|
+
* @param {string} [search] search string
|
|
4522
4524
|
* @param {*} [options] Override http request option.
|
|
4523
4525
|
* @throws {RequiredError}
|
|
4524
4526
|
*/
|
|
4525
|
-
listPromotionBeneficiaries: (id, periodID, hasProgress, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4527
|
+
listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4526
4528
|
// verify required parameter 'id' is not null or undefined
|
|
4527
4529
|
(0, common_1.assertParamExists)('listPromotionBeneficiaries', 'id', id);
|
|
4528
4530
|
const localVarPath = `/admins/promotions/{id}/beneficiaries`
|
|
@@ -4545,6 +4547,12 @@ const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4545
4547
|
if (hasProgress !== undefined) {
|
|
4546
4548
|
localVarQueryParameter['hasProgress'] = hasProgress;
|
|
4547
4549
|
}
|
|
4550
|
+
if (nextToken !== undefined) {
|
|
4551
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
4552
|
+
}
|
|
4553
|
+
if (search !== undefined) {
|
|
4554
|
+
localVarQueryParameter['search'] = search;
|
|
4555
|
+
}
|
|
4548
4556
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4549
4557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4550
4558
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4893,12 +4901,14 @@ const PromotionApiFp = function (configuration) {
|
|
|
4893
4901
|
* @param {string} id Promotion ID
|
|
4894
4902
|
* @param {number} [periodID] Period ID
|
|
4895
4903
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
4904
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4905
|
+
* @param {string} [search] search string
|
|
4896
4906
|
* @param {*} [options] Override http request option.
|
|
4897
4907
|
* @throws {RequiredError}
|
|
4898
4908
|
*/
|
|
4899
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
4909
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
4900
4910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4901
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, options);
|
|
4911
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options);
|
|
4902
4912
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4903
4913
|
});
|
|
4904
4914
|
},
|
|
@@ -5072,11 +5082,13 @@ const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
5072
5082
|
* @param {string} id Promotion ID
|
|
5073
5083
|
* @param {number} [periodID] Period ID
|
|
5074
5084
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5085
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5086
|
+
* @param {string} [search] search string
|
|
5075
5087
|
* @param {*} [options] Override http request option.
|
|
5076
5088
|
* @throws {RequiredError}
|
|
5077
5089
|
*/
|
|
5078
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
5079
|
-
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(axios, basePath));
|
|
5090
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
5091
|
+
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(axios, basePath));
|
|
5080
5092
|
},
|
|
5081
5093
|
/**
|
|
5082
5094
|
* List all promotions
|
|
@@ -5248,12 +5260,14 @@ class PromotionApi extends base_1.BaseAPI {
|
|
|
5248
5260
|
* @param {string} id Promotion ID
|
|
5249
5261
|
* @param {number} [periodID] Period ID
|
|
5250
5262
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5263
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5264
|
+
* @param {string} [search] search string
|
|
5251
5265
|
* @param {*} [options] Override http request option.
|
|
5252
5266
|
* @throws {RequiredError}
|
|
5253
5267
|
* @memberof PromotionApi
|
|
5254
5268
|
*/
|
|
5255
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
5256
|
-
return (0, exports.PromotionApiFp)(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(this.axios, this.basePath));
|
|
5269
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
5270
|
+
return (0, exports.PromotionApiFp)(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
|
5257
5271
|
}
|
|
5258
5272
|
/**
|
|
5259
5273
|
* List all promotions
|
|
@@ -5934,6 +5948,100 @@ class TagApi extends base_1.BaseAPI {
|
|
|
5934
5948
|
}
|
|
5935
5949
|
}
|
|
5936
5950
|
exports.TagApi = TagApi;
|
|
5951
|
+
/**
|
|
5952
|
+
* TenantApi - axios parameter creator
|
|
5953
|
+
* @export
|
|
5954
|
+
*/
|
|
5955
|
+
const TenantApiAxiosParamCreator = function (configuration) {
|
|
5956
|
+
return {
|
|
5957
|
+
/**
|
|
5958
|
+
* List of known tenants
|
|
5959
|
+
* @summary List tenants
|
|
5960
|
+
* @param {*} [options] Override http request option.
|
|
5961
|
+
* @throws {RequiredError}
|
|
5962
|
+
*/
|
|
5963
|
+
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5964
|
+
const localVarPath = `/tenants`;
|
|
5965
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5966
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5967
|
+
let baseOptions;
|
|
5968
|
+
if (configuration) {
|
|
5969
|
+
baseOptions = configuration.baseOptions;
|
|
5970
|
+
}
|
|
5971
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5972
|
+
const localVarHeaderParameter = {};
|
|
5973
|
+
const localVarQueryParameter = {};
|
|
5974
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5975
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5976
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5977
|
+
return {
|
|
5978
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5979
|
+
options: localVarRequestOptions,
|
|
5980
|
+
};
|
|
5981
|
+
}),
|
|
5982
|
+
};
|
|
5983
|
+
};
|
|
5984
|
+
exports.TenantApiAxiosParamCreator = TenantApiAxiosParamCreator;
|
|
5985
|
+
/**
|
|
5986
|
+
* TenantApi - functional programming interface
|
|
5987
|
+
* @export
|
|
5988
|
+
*/
|
|
5989
|
+
const TenantApiFp = function (configuration) {
|
|
5990
|
+
const localVarAxiosParamCreator = (0, exports.TenantApiAxiosParamCreator)(configuration);
|
|
5991
|
+
return {
|
|
5992
|
+
/**
|
|
5993
|
+
* List of known tenants
|
|
5994
|
+
* @summary List tenants
|
|
5995
|
+
* @param {*} [options] Override http request option.
|
|
5996
|
+
* @throws {RequiredError}
|
|
5997
|
+
*/
|
|
5998
|
+
listTenants(options) {
|
|
5999
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6000
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
6001
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6002
|
+
});
|
|
6003
|
+
},
|
|
6004
|
+
};
|
|
6005
|
+
};
|
|
6006
|
+
exports.TenantApiFp = TenantApiFp;
|
|
6007
|
+
/**
|
|
6008
|
+
* TenantApi - factory interface
|
|
6009
|
+
* @export
|
|
6010
|
+
*/
|
|
6011
|
+
const TenantApiFactory = function (configuration, basePath, axios) {
|
|
6012
|
+
const localVarFp = (0, exports.TenantApiFp)(configuration);
|
|
6013
|
+
return {
|
|
6014
|
+
/**
|
|
6015
|
+
* List of known tenants
|
|
6016
|
+
* @summary List tenants
|
|
6017
|
+
* @param {*} [options] Override http request option.
|
|
6018
|
+
* @throws {RequiredError}
|
|
6019
|
+
*/
|
|
6020
|
+
listTenants(options) {
|
|
6021
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
6022
|
+
},
|
|
6023
|
+
};
|
|
6024
|
+
};
|
|
6025
|
+
exports.TenantApiFactory = TenantApiFactory;
|
|
6026
|
+
/**
|
|
6027
|
+
* TenantApi - object-oriented interface
|
|
6028
|
+
* @export
|
|
6029
|
+
* @class TenantApi
|
|
6030
|
+
* @extends {BaseAPI}
|
|
6031
|
+
*/
|
|
6032
|
+
class TenantApi extends base_1.BaseAPI {
|
|
6033
|
+
/**
|
|
6034
|
+
* List of known tenants
|
|
6035
|
+
* @summary List tenants
|
|
6036
|
+
* @param {*} [options] Override http request option.
|
|
6037
|
+
* @throws {RequiredError}
|
|
6038
|
+
* @memberof TenantApi
|
|
6039
|
+
*/
|
|
6040
|
+
listTenants(options) {
|
|
6041
|
+
return (0, exports.TenantApiFp)(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
6042
|
+
}
|
|
6043
|
+
}
|
|
6044
|
+
exports.TenantApi = TenantApi;
|
|
5937
6045
|
/**
|
|
5938
6046
|
* TransactionApi - axios parameter creator
|
|
5939
6047
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -120,6 +120,12 @@ export interface BackofficeConfig {
|
|
|
120
120
|
* @memberof BackofficeConfig
|
|
121
121
|
*/
|
|
122
122
|
'notificationPreferences'?: Array<NotificationPreference>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {PromotionConfig}
|
|
126
|
+
* @memberof BackofficeConfig
|
|
127
|
+
*/
|
|
128
|
+
'promotionConfig'?: PromotionConfig;
|
|
123
129
|
}
|
|
124
130
|
/**
|
|
125
131
|
*
|
|
@@ -2024,6 +2030,31 @@ export interface PromotionClientBeneficiaries {
|
|
|
2024
2030
|
* @memberof PromotionClientBeneficiaries
|
|
2025
2031
|
*/
|
|
2026
2032
|
'beneficiaries': Array<Client>;
|
|
2033
|
+
/**
|
|
2034
|
+
* This is the pagination token
|
|
2035
|
+
* @type {string}
|
|
2036
|
+
* @memberof PromotionClientBeneficiaries
|
|
2037
|
+
*/
|
|
2038
|
+
'nextToken'?: string;
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @export
|
|
2043
|
+
* @interface PromotionConfig
|
|
2044
|
+
*/
|
|
2045
|
+
export interface PromotionConfig {
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {number}
|
|
2049
|
+
* @memberof PromotionConfig
|
|
2050
|
+
*/
|
|
2051
|
+
'adminClainGracePeriod'?: number;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {number}
|
|
2055
|
+
* @memberof PromotionConfig
|
|
2056
|
+
*/
|
|
2057
|
+
'userClaimGracePeriod'?: number;
|
|
2027
2058
|
}
|
|
2028
2059
|
/**
|
|
2029
2060
|
*
|
|
@@ -2194,6 +2225,12 @@ export interface PromotionUserBeneficiaries {
|
|
|
2194
2225
|
* @memberof PromotionUserBeneficiaries
|
|
2195
2226
|
*/
|
|
2196
2227
|
'beneficiaries': Array<User>;
|
|
2228
|
+
/**
|
|
2229
|
+
* This is the pagination token
|
|
2230
|
+
* @type {string}
|
|
2231
|
+
* @memberof PromotionUserBeneficiaries
|
|
2232
|
+
*/
|
|
2233
|
+
'nextToken'?: string;
|
|
2197
2234
|
}
|
|
2198
2235
|
/**
|
|
2199
2236
|
*
|
|
@@ -2791,6 +2828,55 @@ export declare const TargetMu: {
|
|
|
2791
2828
|
readonly Additional: "additional";
|
|
2792
2829
|
};
|
|
2793
2830
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @export
|
|
2834
|
+
* @interface Tenant
|
|
2835
|
+
*/
|
|
2836
|
+
export interface Tenant {
|
|
2837
|
+
/**
|
|
2838
|
+
*
|
|
2839
|
+
* @type {string}
|
|
2840
|
+
* @memberof Tenant
|
|
2841
|
+
*/
|
|
2842
|
+
'id': string;
|
|
2843
|
+
/**
|
|
2844
|
+
*
|
|
2845
|
+
* @type {string}
|
|
2846
|
+
* @memberof Tenant
|
|
2847
|
+
*/
|
|
2848
|
+
'adminKeyConfig': string;
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @type {string}
|
|
2852
|
+
* @memberof Tenant
|
|
2853
|
+
*/
|
|
2854
|
+
'adminIssuer': string;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof Tenant
|
|
2859
|
+
*/
|
|
2860
|
+
'customerKeyConfig': string;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof Tenant
|
|
2865
|
+
*/
|
|
2866
|
+
'customerIssuer': string;
|
|
2867
|
+
/**
|
|
2868
|
+
*
|
|
2869
|
+
* @type {string}
|
|
2870
|
+
* @memberof Tenant
|
|
2871
|
+
*/
|
|
2872
|
+
'customerLoginURL': string;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* @type {string}
|
|
2876
|
+
* @memberof Tenant
|
|
2877
|
+
*/
|
|
2878
|
+
'customerClientID': string;
|
|
2879
|
+
}
|
|
2794
2880
|
/**
|
|
2795
2881
|
*
|
|
2796
2882
|
* @export
|
|
@@ -5536,10 +5622,12 @@ export declare const PromotionApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5536
5622
|
* @param {string} id Promotion ID
|
|
5537
5623
|
* @param {number} [periodID] Period ID
|
|
5538
5624
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5625
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5626
|
+
* @param {string} [search] search string
|
|
5539
5627
|
* @param {*} [options] Override http request option.
|
|
5540
5628
|
* @throws {RequiredError}
|
|
5541
5629
|
*/
|
|
5542
|
-
listPromotionBeneficiaries: (id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5630
|
+
listPromotionBeneficiaries: (id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5543
5631
|
/**
|
|
5544
5632
|
* List all promotions
|
|
5545
5633
|
* @summary List promotions
|
|
@@ -5673,10 +5761,12 @@ export declare const PromotionApiFp: (configuration?: Configuration) => {
|
|
|
5673
5761
|
* @param {string} id Promotion ID
|
|
5674
5762
|
* @param {number} [periodID] Period ID
|
|
5675
5763
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5764
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5765
|
+
* @param {string} [search] search string
|
|
5676
5766
|
* @param {*} [options] Override http request option.
|
|
5677
5767
|
* @throws {RequiredError}
|
|
5678
5768
|
*/
|
|
5679
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>>;
|
|
5769
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromotionBeneficiariesResponse>>;
|
|
5680
5770
|
/**
|
|
5681
5771
|
* List all promotions
|
|
5682
5772
|
* @summary List promotions
|
|
@@ -5810,10 +5900,12 @@ export declare const PromotionApiFactory: (configuration?: Configuration, basePa
|
|
|
5810
5900
|
* @param {string} id Promotion ID
|
|
5811
5901
|
* @param {number} [periodID] Period ID
|
|
5812
5902
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5903
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5904
|
+
* @param {string} [search] search string
|
|
5813
5905
|
* @param {*} [options] Override http request option.
|
|
5814
5906
|
* @throws {RequiredError}
|
|
5815
5907
|
*/
|
|
5816
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: any): AxiosPromise<PromotionBeneficiariesResponse>;
|
|
5908
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: any): AxiosPromise<PromotionBeneficiariesResponse>;
|
|
5817
5909
|
/**
|
|
5818
5910
|
* List all promotions
|
|
5819
5911
|
* @summary List promotions
|
|
@@ -5958,11 +6050,13 @@ export declare class PromotionApi extends BaseAPI {
|
|
|
5958
6050
|
* @param {string} id Promotion ID
|
|
5959
6051
|
* @param {number} [periodID] Period ID
|
|
5960
6052
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
6053
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6054
|
+
* @param {string} [search] search string
|
|
5961
6055
|
* @param {*} [options] Override http request option.
|
|
5962
6056
|
* @throws {RequiredError}
|
|
5963
6057
|
* @memberof PromotionApi
|
|
5964
6058
|
*/
|
|
5965
|
-
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionBeneficiariesResponse, any>>;
|
|
6059
|
+
listPromotionBeneficiaries(id: string, periodID?: number, hasProgress?: boolean, nextToken?: string, search?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PromotionBeneficiariesResponse, any>>;
|
|
5966
6060
|
/**
|
|
5967
6061
|
* List all promotions
|
|
5968
6062
|
* @summary List promotions
|
|
@@ -6338,6 +6432,67 @@ export declare class TagApi extends BaseAPI {
|
|
|
6338
6432
|
*/
|
|
6339
6433
|
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any>>;
|
|
6340
6434
|
}
|
|
6435
|
+
/**
|
|
6436
|
+
* TenantApi - axios parameter creator
|
|
6437
|
+
* @export
|
|
6438
|
+
*/
|
|
6439
|
+
export declare const TenantApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6440
|
+
/**
|
|
6441
|
+
* List of known tenants
|
|
6442
|
+
* @summary List tenants
|
|
6443
|
+
* @param {*} [options] Override http request option.
|
|
6444
|
+
* @throws {RequiredError}
|
|
6445
|
+
*/
|
|
6446
|
+
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6447
|
+
};
|
|
6448
|
+
/**
|
|
6449
|
+
* TenantApi - functional programming interface
|
|
6450
|
+
* @export
|
|
6451
|
+
*/
|
|
6452
|
+
export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
6453
|
+
/**
|
|
6454
|
+
* List of known tenants
|
|
6455
|
+
* @summary List tenants
|
|
6456
|
+
* @param {*} [options] Override http request option.
|
|
6457
|
+
* @throws {RequiredError}
|
|
6458
|
+
*/
|
|
6459
|
+
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
6460
|
+
[key: string]: Tenant;
|
|
6461
|
+
}>>;
|
|
6462
|
+
};
|
|
6463
|
+
/**
|
|
6464
|
+
* TenantApi - factory interface
|
|
6465
|
+
* @export
|
|
6466
|
+
*/
|
|
6467
|
+
export declare const TenantApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6468
|
+
/**
|
|
6469
|
+
* List of known tenants
|
|
6470
|
+
* @summary List tenants
|
|
6471
|
+
* @param {*} [options] Override http request option.
|
|
6472
|
+
* @throws {RequiredError}
|
|
6473
|
+
*/
|
|
6474
|
+
listTenants(options?: any): AxiosPromise<{
|
|
6475
|
+
[key: string]: Tenant;
|
|
6476
|
+
}>;
|
|
6477
|
+
};
|
|
6478
|
+
/**
|
|
6479
|
+
* TenantApi - object-oriented interface
|
|
6480
|
+
* @export
|
|
6481
|
+
* @class TenantApi
|
|
6482
|
+
* @extends {BaseAPI}
|
|
6483
|
+
*/
|
|
6484
|
+
export declare class TenantApi extends BaseAPI {
|
|
6485
|
+
/**
|
|
6486
|
+
* List of known tenants
|
|
6487
|
+
* @summary List tenants
|
|
6488
|
+
* @param {*} [options] Override http request option.
|
|
6489
|
+
* @throws {RequiredError}
|
|
6490
|
+
* @memberof TenantApi
|
|
6491
|
+
*/
|
|
6492
|
+
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
6493
|
+
[key: string]: Tenant;
|
|
6494
|
+
}, any>>;
|
|
6495
|
+
}
|
|
6341
6496
|
/**
|
|
6342
6497
|
* TransactionApi - axios parameter creator
|
|
6343
6498
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -4466,10 +4466,12 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4466
4466
|
* @param {string} id Promotion ID
|
|
4467
4467
|
* @param {number} [periodID] Period ID
|
|
4468
4468
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
4469
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4470
|
+
* @param {string} [search] search string
|
|
4469
4471
|
* @param {*} [options] Override http request option.
|
|
4470
4472
|
* @throws {RequiredError}
|
|
4471
4473
|
*/
|
|
4472
|
-
listPromotionBeneficiaries: (id, periodID, hasProgress, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4474
|
+
listPromotionBeneficiaries: (id, periodID, hasProgress, nextToken, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4473
4475
|
// verify required parameter 'id' is not null or undefined
|
|
4474
4476
|
assertParamExists('listPromotionBeneficiaries', 'id', id);
|
|
4475
4477
|
const localVarPath = `/admins/promotions/{id}/beneficiaries`
|
|
@@ -4492,6 +4494,12 @@ export const PromotionApiAxiosParamCreator = function (configuration) {
|
|
|
4492
4494
|
if (hasProgress !== undefined) {
|
|
4493
4495
|
localVarQueryParameter['hasProgress'] = hasProgress;
|
|
4494
4496
|
}
|
|
4497
|
+
if (nextToken !== undefined) {
|
|
4498
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
4499
|
+
}
|
|
4500
|
+
if (search !== undefined) {
|
|
4501
|
+
localVarQueryParameter['search'] = search;
|
|
4502
|
+
}
|
|
4495
4503
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4496
4504
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4497
4505
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4839,12 +4847,14 @@ export const PromotionApiFp = function (configuration) {
|
|
|
4839
4847
|
* @param {string} id Promotion ID
|
|
4840
4848
|
* @param {number} [periodID] Period ID
|
|
4841
4849
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
4850
|
+
* @param {string} [nextToken] This is the pagination token
|
|
4851
|
+
* @param {string} [search] search string
|
|
4842
4852
|
* @param {*} [options] Override http request option.
|
|
4843
4853
|
* @throws {RequiredError}
|
|
4844
4854
|
*/
|
|
4845
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
4855
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
4846
4856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4847
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, options);
|
|
4857
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options);
|
|
4848
4858
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4849
4859
|
});
|
|
4850
4860
|
},
|
|
@@ -5017,11 +5027,13 @@ export const PromotionApiFactory = function (configuration, basePath, axios) {
|
|
|
5017
5027
|
* @param {string} id Promotion ID
|
|
5018
5028
|
* @param {number} [periodID] Period ID
|
|
5019
5029
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5030
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5031
|
+
* @param {string} [search] search string
|
|
5020
5032
|
* @param {*} [options] Override http request option.
|
|
5021
5033
|
* @throws {RequiredError}
|
|
5022
5034
|
*/
|
|
5023
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
5024
|
-
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(axios, basePath));
|
|
5035
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
5036
|
+
return localVarFp.listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(axios, basePath));
|
|
5025
5037
|
},
|
|
5026
5038
|
/**
|
|
5027
5039
|
* List all promotions
|
|
@@ -5192,12 +5204,14 @@ export class PromotionApi extends BaseAPI {
|
|
|
5192
5204
|
* @param {string} id Promotion ID
|
|
5193
5205
|
* @param {number} [periodID] Period ID
|
|
5194
5206
|
* @param {boolean} [hasProgress] Beneficiary has progress
|
|
5207
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5208
|
+
* @param {string} [search] search string
|
|
5195
5209
|
* @param {*} [options] Override http request option.
|
|
5196
5210
|
* @throws {RequiredError}
|
|
5197
5211
|
* @memberof PromotionApi
|
|
5198
5212
|
*/
|
|
5199
|
-
listPromotionBeneficiaries(id, periodID, hasProgress, options) {
|
|
5200
|
-
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, options).then((request) => request(this.axios, this.basePath));
|
|
5213
|
+
listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options) {
|
|
5214
|
+
return PromotionApiFp(this.configuration).listPromotionBeneficiaries(id, periodID, hasProgress, nextToken, search, options).then((request) => request(this.axios, this.basePath));
|
|
5201
5215
|
}
|
|
5202
5216
|
/**
|
|
5203
5217
|
* List all promotions
|
|
@@ -5869,6 +5883,96 @@ export class TagApi extends BaseAPI {
|
|
|
5869
5883
|
return TagApiFp(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5870
5884
|
}
|
|
5871
5885
|
}
|
|
5886
|
+
/**
|
|
5887
|
+
* TenantApi - axios parameter creator
|
|
5888
|
+
* @export
|
|
5889
|
+
*/
|
|
5890
|
+
export const TenantApiAxiosParamCreator = function (configuration) {
|
|
5891
|
+
return {
|
|
5892
|
+
/**
|
|
5893
|
+
* List of known tenants
|
|
5894
|
+
* @summary List tenants
|
|
5895
|
+
* @param {*} [options] Override http request option.
|
|
5896
|
+
* @throws {RequiredError}
|
|
5897
|
+
*/
|
|
5898
|
+
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5899
|
+
const localVarPath = `/tenants`;
|
|
5900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5902
|
+
let baseOptions;
|
|
5903
|
+
if (configuration) {
|
|
5904
|
+
baseOptions = configuration.baseOptions;
|
|
5905
|
+
}
|
|
5906
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5907
|
+
const localVarHeaderParameter = {};
|
|
5908
|
+
const localVarQueryParameter = {};
|
|
5909
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5910
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5911
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5912
|
+
return {
|
|
5913
|
+
url: toPathString(localVarUrlObj),
|
|
5914
|
+
options: localVarRequestOptions,
|
|
5915
|
+
};
|
|
5916
|
+
}),
|
|
5917
|
+
};
|
|
5918
|
+
};
|
|
5919
|
+
/**
|
|
5920
|
+
* TenantApi - functional programming interface
|
|
5921
|
+
* @export
|
|
5922
|
+
*/
|
|
5923
|
+
export const TenantApiFp = function (configuration) {
|
|
5924
|
+
const localVarAxiosParamCreator = TenantApiAxiosParamCreator(configuration);
|
|
5925
|
+
return {
|
|
5926
|
+
/**
|
|
5927
|
+
* List of known tenants
|
|
5928
|
+
* @summary List tenants
|
|
5929
|
+
* @param {*} [options] Override http request option.
|
|
5930
|
+
* @throws {RequiredError}
|
|
5931
|
+
*/
|
|
5932
|
+
listTenants(options) {
|
|
5933
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5934
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
5935
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5936
|
+
});
|
|
5937
|
+
},
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
/**
|
|
5941
|
+
* TenantApi - factory interface
|
|
5942
|
+
* @export
|
|
5943
|
+
*/
|
|
5944
|
+
export const TenantApiFactory = function (configuration, basePath, axios) {
|
|
5945
|
+
const localVarFp = TenantApiFp(configuration);
|
|
5946
|
+
return {
|
|
5947
|
+
/**
|
|
5948
|
+
* List of known tenants
|
|
5949
|
+
* @summary List tenants
|
|
5950
|
+
* @param {*} [options] Override http request option.
|
|
5951
|
+
* @throws {RequiredError}
|
|
5952
|
+
*/
|
|
5953
|
+
listTenants(options) {
|
|
5954
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
5955
|
+
},
|
|
5956
|
+
};
|
|
5957
|
+
};
|
|
5958
|
+
/**
|
|
5959
|
+
* TenantApi - object-oriented interface
|
|
5960
|
+
* @export
|
|
5961
|
+
* @class TenantApi
|
|
5962
|
+
* @extends {BaseAPI}
|
|
5963
|
+
*/
|
|
5964
|
+
export class TenantApi extends BaseAPI {
|
|
5965
|
+
/**
|
|
5966
|
+
* List of known tenants
|
|
5967
|
+
* @summary List tenants
|
|
5968
|
+
* @param {*} [options] Override http request option.
|
|
5969
|
+
* @throws {RequiredError}
|
|
5970
|
+
* @memberof TenantApi
|
|
5971
|
+
*/
|
|
5972
|
+
listTenants(options) {
|
|
5973
|
+
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
5974
|
+
}
|
|
5975
|
+
}
|
|
5872
5976
|
/**
|
|
5873
5977
|
* TransactionApi - axios parameter creator
|
|
5874
5978
|
* @export
|