flexinet-api 0.0.693-prerelease0 → 0.0.700-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 +173 -0
- package/dist/api.d.ts +135 -0
- package/dist/api.js +96 -2
- package/dist/esm/api.d.ts +135 -0
- package/dist/esm/api.js +90 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.700-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.700-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
|
*
|
|
@@ -2125,6 +2131,25 @@ export interface PromotionClientBeneficiaries {
|
|
|
2125
2131
|
}
|
|
2126
2132
|
|
|
2127
2133
|
|
|
2134
|
+
/**
|
|
2135
|
+
*
|
|
2136
|
+
* @export
|
|
2137
|
+
* @interface PromotionConfig
|
|
2138
|
+
*/
|
|
2139
|
+
export interface PromotionConfig {
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @type {number}
|
|
2143
|
+
* @memberof PromotionConfig
|
|
2144
|
+
*/
|
|
2145
|
+
'adminClainGracePeriod'?: number;
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {number}
|
|
2149
|
+
* @memberof PromotionConfig
|
|
2150
|
+
*/
|
|
2151
|
+
'userClaimGracePeriod'?: number;
|
|
2152
|
+
}
|
|
2128
2153
|
/**
|
|
2129
2154
|
*
|
|
2130
2155
|
* @export
|
|
@@ -2945,6 +2970,55 @@ export const TargetMu = {
|
|
|
2945
2970
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2946
2971
|
|
|
2947
2972
|
|
|
2973
|
+
/**
|
|
2974
|
+
*
|
|
2975
|
+
* @export
|
|
2976
|
+
* @interface Tenant
|
|
2977
|
+
*/
|
|
2978
|
+
export interface Tenant {
|
|
2979
|
+
/**
|
|
2980
|
+
*
|
|
2981
|
+
* @type {string}
|
|
2982
|
+
* @memberof Tenant
|
|
2983
|
+
*/
|
|
2984
|
+
'id': string;
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @type {string}
|
|
2988
|
+
* @memberof Tenant
|
|
2989
|
+
*/
|
|
2990
|
+
'adminKeyConfig': string;
|
|
2991
|
+
/**
|
|
2992
|
+
*
|
|
2993
|
+
* @type {string}
|
|
2994
|
+
* @memberof Tenant
|
|
2995
|
+
*/
|
|
2996
|
+
'adminIssuer': string;
|
|
2997
|
+
/**
|
|
2998
|
+
*
|
|
2999
|
+
* @type {string}
|
|
3000
|
+
* @memberof Tenant
|
|
3001
|
+
*/
|
|
3002
|
+
'customerKeyConfig': string;
|
|
3003
|
+
/**
|
|
3004
|
+
*
|
|
3005
|
+
* @type {string}
|
|
3006
|
+
* @memberof Tenant
|
|
3007
|
+
*/
|
|
3008
|
+
'customerIssuer': string;
|
|
3009
|
+
/**
|
|
3010
|
+
*
|
|
3011
|
+
* @type {string}
|
|
3012
|
+
* @memberof Tenant
|
|
3013
|
+
*/
|
|
3014
|
+
'customerLoginURL': string;
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
* @type {string}
|
|
3018
|
+
* @memberof Tenant
|
|
3019
|
+
*/
|
|
3020
|
+
'customerClientID': string;
|
|
3021
|
+
}
|
|
2948
3022
|
/**
|
|
2949
3023
|
*
|
|
2950
3024
|
* @export
|
|
@@ -9654,6 +9728,105 @@ export class TagApi extends BaseAPI {
|
|
|
9654
9728
|
|
|
9655
9729
|
|
|
9656
9730
|
|
|
9731
|
+
/**
|
|
9732
|
+
* TenantApi - axios parameter creator
|
|
9733
|
+
* @export
|
|
9734
|
+
*/
|
|
9735
|
+
export const TenantApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9736
|
+
return {
|
|
9737
|
+
/**
|
|
9738
|
+
* List of known tenants
|
|
9739
|
+
* @summary List tenants
|
|
9740
|
+
* @param {*} [options] Override http request option.
|
|
9741
|
+
* @throws {RequiredError}
|
|
9742
|
+
*/
|
|
9743
|
+
listTenants: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9744
|
+
const localVarPath = `/tenants`;
|
|
9745
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9746
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9747
|
+
let baseOptions;
|
|
9748
|
+
if (configuration) {
|
|
9749
|
+
baseOptions = configuration.baseOptions;
|
|
9750
|
+
}
|
|
9751
|
+
|
|
9752
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9753
|
+
const localVarHeaderParameter = {} as any;
|
|
9754
|
+
const localVarQueryParameter = {} as any;
|
|
9755
|
+
|
|
9756
|
+
|
|
9757
|
+
|
|
9758
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9760
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9761
|
+
|
|
9762
|
+
return {
|
|
9763
|
+
url: toPathString(localVarUrlObj),
|
|
9764
|
+
options: localVarRequestOptions,
|
|
9765
|
+
};
|
|
9766
|
+
},
|
|
9767
|
+
}
|
|
9768
|
+
};
|
|
9769
|
+
|
|
9770
|
+
/**
|
|
9771
|
+
* TenantApi - functional programming interface
|
|
9772
|
+
* @export
|
|
9773
|
+
*/
|
|
9774
|
+
export const TenantApiFp = function(configuration?: Configuration) {
|
|
9775
|
+
const localVarAxiosParamCreator = TenantApiAxiosParamCreator(configuration)
|
|
9776
|
+
return {
|
|
9777
|
+
/**
|
|
9778
|
+
* List of known tenants
|
|
9779
|
+
* @summary List tenants
|
|
9780
|
+
* @param {*} [options] Override http request option.
|
|
9781
|
+
* @throws {RequiredError}
|
|
9782
|
+
*/
|
|
9783
|
+
async listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Tenant; }>> {
|
|
9784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(options);
|
|
9785
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9786
|
+
},
|
|
9787
|
+
}
|
|
9788
|
+
};
|
|
9789
|
+
|
|
9790
|
+
/**
|
|
9791
|
+
* TenantApi - factory interface
|
|
9792
|
+
* @export
|
|
9793
|
+
*/
|
|
9794
|
+
export const TenantApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9795
|
+
const localVarFp = TenantApiFp(configuration)
|
|
9796
|
+
return {
|
|
9797
|
+
/**
|
|
9798
|
+
* List of known tenants
|
|
9799
|
+
* @summary List tenants
|
|
9800
|
+
* @param {*} [options] Override http request option.
|
|
9801
|
+
* @throws {RequiredError}
|
|
9802
|
+
*/
|
|
9803
|
+
listTenants(options?: any): AxiosPromise<{ [key: string]: Tenant; }> {
|
|
9804
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
9805
|
+
},
|
|
9806
|
+
};
|
|
9807
|
+
};
|
|
9808
|
+
|
|
9809
|
+
/**
|
|
9810
|
+
* TenantApi - object-oriented interface
|
|
9811
|
+
* @export
|
|
9812
|
+
* @class TenantApi
|
|
9813
|
+
* @extends {BaseAPI}
|
|
9814
|
+
*/
|
|
9815
|
+
export class TenantApi extends BaseAPI {
|
|
9816
|
+
/**
|
|
9817
|
+
* List of known tenants
|
|
9818
|
+
* @summary List tenants
|
|
9819
|
+
* @param {*} [options] Override http request option.
|
|
9820
|
+
* @throws {RequiredError}
|
|
9821
|
+
* @memberof TenantApi
|
|
9822
|
+
*/
|
|
9823
|
+
public listTenants(options?: AxiosRequestConfig) {
|
|
9824
|
+
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
9825
|
+
}
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9828
|
+
|
|
9829
|
+
|
|
9657
9830
|
/**
|
|
9658
9831
|
* TransactionApi - axios parameter creator
|
|
9659
9832
|
* @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
|
*
|
|
@@ -2025,6 +2031,25 @@ export interface PromotionClientBeneficiaries {
|
|
|
2025
2031
|
*/
|
|
2026
2032
|
'beneficiaries': Array<Client>;
|
|
2027
2033
|
}
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @export
|
|
2037
|
+
* @interface PromotionConfig
|
|
2038
|
+
*/
|
|
2039
|
+
export interface PromotionConfig {
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {number}
|
|
2043
|
+
* @memberof PromotionConfig
|
|
2044
|
+
*/
|
|
2045
|
+
'adminClainGracePeriod'?: number;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {number}
|
|
2049
|
+
* @memberof PromotionConfig
|
|
2050
|
+
*/
|
|
2051
|
+
'userClaimGracePeriod'?: number;
|
|
2052
|
+
}
|
|
2028
2053
|
/**
|
|
2029
2054
|
*
|
|
2030
2055
|
* @export
|
|
@@ -2791,6 +2816,55 @@ export declare const TargetMu: {
|
|
|
2791
2816
|
readonly Additional: "additional";
|
|
2792
2817
|
};
|
|
2793
2818
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2819
|
+
/**
|
|
2820
|
+
*
|
|
2821
|
+
* @export
|
|
2822
|
+
* @interface Tenant
|
|
2823
|
+
*/
|
|
2824
|
+
export interface Tenant {
|
|
2825
|
+
/**
|
|
2826
|
+
*
|
|
2827
|
+
* @type {string}
|
|
2828
|
+
* @memberof Tenant
|
|
2829
|
+
*/
|
|
2830
|
+
'id': string;
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @type {string}
|
|
2834
|
+
* @memberof Tenant
|
|
2835
|
+
*/
|
|
2836
|
+
'adminKeyConfig': string;
|
|
2837
|
+
/**
|
|
2838
|
+
*
|
|
2839
|
+
* @type {string}
|
|
2840
|
+
* @memberof Tenant
|
|
2841
|
+
*/
|
|
2842
|
+
'adminIssuer': string;
|
|
2843
|
+
/**
|
|
2844
|
+
*
|
|
2845
|
+
* @type {string}
|
|
2846
|
+
* @memberof Tenant
|
|
2847
|
+
*/
|
|
2848
|
+
'customerKeyConfig': string;
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @type {string}
|
|
2852
|
+
* @memberof Tenant
|
|
2853
|
+
*/
|
|
2854
|
+
'customerIssuer': string;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof Tenant
|
|
2859
|
+
*/
|
|
2860
|
+
'customerLoginURL': string;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof Tenant
|
|
2865
|
+
*/
|
|
2866
|
+
'customerClientID': string;
|
|
2867
|
+
}
|
|
2794
2868
|
/**
|
|
2795
2869
|
*
|
|
2796
2870
|
* @export
|
|
@@ -6338,6 +6412,67 @@ export declare class TagApi extends BaseAPI {
|
|
|
6338
6412
|
*/
|
|
6339
6413
|
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any>>;
|
|
6340
6414
|
}
|
|
6415
|
+
/**
|
|
6416
|
+
* TenantApi - axios parameter creator
|
|
6417
|
+
* @export
|
|
6418
|
+
*/
|
|
6419
|
+
export declare const TenantApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6420
|
+
/**
|
|
6421
|
+
* List of known tenants
|
|
6422
|
+
* @summary List tenants
|
|
6423
|
+
* @param {*} [options] Override http request option.
|
|
6424
|
+
* @throws {RequiredError}
|
|
6425
|
+
*/
|
|
6426
|
+
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6427
|
+
};
|
|
6428
|
+
/**
|
|
6429
|
+
* TenantApi - functional programming interface
|
|
6430
|
+
* @export
|
|
6431
|
+
*/
|
|
6432
|
+
export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
6433
|
+
/**
|
|
6434
|
+
* List of known tenants
|
|
6435
|
+
* @summary List tenants
|
|
6436
|
+
* @param {*} [options] Override http request option.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
*/
|
|
6439
|
+
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
6440
|
+
[key: string]: Tenant;
|
|
6441
|
+
}>>;
|
|
6442
|
+
};
|
|
6443
|
+
/**
|
|
6444
|
+
* TenantApi - factory interface
|
|
6445
|
+
* @export
|
|
6446
|
+
*/
|
|
6447
|
+
export declare const TenantApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6448
|
+
/**
|
|
6449
|
+
* List of known tenants
|
|
6450
|
+
* @summary List tenants
|
|
6451
|
+
* @param {*} [options] Override http request option.
|
|
6452
|
+
* @throws {RequiredError}
|
|
6453
|
+
*/
|
|
6454
|
+
listTenants(options?: any): AxiosPromise<{
|
|
6455
|
+
[key: string]: Tenant;
|
|
6456
|
+
}>;
|
|
6457
|
+
};
|
|
6458
|
+
/**
|
|
6459
|
+
* TenantApi - object-oriented interface
|
|
6460
|
+
* @export
|
|
6461
|
+
* @class TenantApi
|
|
6462
|
+
* @extends {BaseAPI}
|
|
6463
|
+
*/
|
|
6464
|
+
export declare class TenantApi extends BaseAPI {
|
|
6465
|
+
/**
|
|
6466
|
+
* List of known tenants
|
|
6467
|
+
* @summary List tenants
|
|
6468
|
+
* @param {*} [options] Override http request option.
|
|
6469
|
+
* @throws {RequiredError}
|
|
6470
|
+
* @memberof TenantApi
|
|
6471
|
+
*/
|
|
6472
|
+
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
6473
|
+
[key: string]: Tenant;
|
|
6474
|
+
}, any>>;
|
|
6475
|
+
}
|
|
6341
6476
|
/**
|
|
6342
6477
|
* TransactionApi - axios parameter creator
|
|
6343
6478
|
* @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
|
|
@@ -5934,6 +5934,100 @@ class TagApi extends base_1.BaseAPI {
|
|
|
5934
5934
|
}
|
|
5935
5935
|
}
|
|
5936
5936
|
exports.TagApi = TagApi;
|
|
5937
|
+
/**
|
|
5938
|
+
* TenantApi - axios parameter creator
|
|
5939
|
+
* @export
|
|
5940
|
+
*/
|
|
5941
|
+
const TenantApiAxiosParamCreator = function (configuration) {
|
|
5942
|
+
return {
|
|
5943
|
+
/**
|
|
5944
|
+
* List of known tenants
|
|
5945
|
+
* @summary List tenants
|
|
5946
|
+
* @param {*} [options] Override http request option.
|
|
5947
|
+
* @throws {RequiredError}
|
|
5948
|
+
*/
|
|
5949
|
+
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5950
|
+
const localVarPath = `/tenants`;
|
|
5951
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5952
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5953
|
+
let baseOptions;
|
|
5954
|
+
if (configuration) {
|
|
5955
|
+
baseOptions = configuration.baseOptions;
|
|
5956
|
+
}
|
|
5957
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5958
|
+
const localVarHeaderParameter = {};
|
|
5959
|
+
const localVarQueryParameter = {};
|
|
5960
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5961
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5962
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5963
|
+
return {
|
|
5964
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5965
|
+
options: localVarRequestOptions,
|
|
5966
|
+
};
|
|
5967
|
+
}),
|
|
5968
|
+
};
|
|
5969
|
+
};
|
|
5970
|
+
exports.TenantApiAxiosParamCreator = TenantApiAxiosParamCreator;
|
|
5971
|
+
/**
|
|
5972
|
+
* TenantApi - functional programming interface
|
|
5973
|
+
* @export
|
|
5974
|
+
*/
|
|
5975
|
+
const TenantApiFp = function (configuration) {
|
|
5976
|
+
const localVarAxiosParamCreator = (0, exports.TenantApiAxiosParamCreator)(configuration);
|
|
5977
|
+
return {
|
|
5978
|
+
/**
|
|
5979
|
+
* List of known tenants
|
|
5980
|
+
* @summary List tenants
|
|
5981
|
+
* @param {*} [options] Override http request option.
|
|
5982
|
+
* @throws {RequiredError}
|
|
5983
|
+
*/
|
|
5984
|
+
listTenants(options) {
|
|
5985
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5986
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
5987
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5988
|
+
});
|
|
5989
|
+
},
|
|
5990
|
+
};
|
|
5991
|
+
};
|
|
5992
|
+
exports.TenantApiFp = TenantApiFp;
|
|
5993
|
+
/**
|
|
5994
|
+
* TenantApi - factory interface
|
|
5995
|
+
* @export
|
|
5996
|
+
*/
|
|
5997
|
+
const TenantApiFactory = function (configuration, basePath, axios) {
|
|
5998
|
+
const localVarFp = (0, exports.TenantApiFp)(configuration);
|
|
5999
|
+
return {
|
|
6000
|
+
/**
|
|
6001
|
+
* List of known tenants
|
|
6002
|
+
* @summary List tenants
|
|
6003
|
+
* @param {*} [options] Override http request option.
|
|
6004
|
+
* @throws {RequiredError}
|
|
6005
|
+
*/
|
|
6006
|
+
listTenants(options) {
|
|
6007
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
6008
|
+
},
|
|
6009
|
+
};
|
|
6010
|
+
};
|
|
6011
|
+
exports.TenantApiFactory = TenantApiFactory;
|
|
6012
|
+
/**
|
|
6013
|
+
* TenantApi - object-oriented interface
|
|
6014
|
+
* @export
|
|
6015
|
+
* @class TenantApi
|
|
6016
|
+
* @extends {BaseAPI}
|
|
6017
|
+
*/
|
|
6018
|
+
class TenantApi extends base_1.BaseAPI {
|
|
6019
|
+
/**
|
|
6020
|
+
* List of known tenants
|
|
6021
|
+
* @summary List tenants
|
|
6022
|
+
* @param {*} [options] Override http request option.
|
|
6023
|
+
* @throws {RequiredError}
|
|
6024
|
+
* @memberof TenantApi
|
|
6025
|
+
*/
|
|
6026
|
+
listTenants(options) {
|
|
6027
|
+
return (0, exports.TenantApiFp)(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
6028
|
+
}
|
|
6029
|
+
}
|
|
6030
|
+
exports.TenantApi = TenantApi;
|
|
5937
6031
|
/**
|
|
5938
6032
|
* TransactionApi - axios parameter creator
|
|
5939
6033
|
* @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
|
*
|
|
@@ -2025,6 +2031,25 @@ export interface PromotionClientBeneficiaries {
|
|
|
2025
2031
|
*/
|
|
2026
2032
|
'beneficiaries': Array<Client>;
|
|
2027
2033
|
}
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @export
|
|
2037
|
+
* @interface PromotionConfig
|
|
2038
|
+
*/
|
|
2039
|
+
export interface PromotionConfig {
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {number}
|
|
2043
|
+
* @memberof PromotionConfig
|
|
2044
|
+
*/
|
|
2045
|
+
'adminClainGracePeriod'?: number;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {number}
|
|
2049
|
+
* @memberof PromotionConfig
|
|
2050
|
+
*/
|
|
2051
|
+
'userClaimGracePeriod'?: number;
|
|
2052
|
+
}
|
|
2028
2053
|
/**
|
|
2029
2054
|
*
|
|
2030
2055
|
* @export
|
|
@@ -2791,6 +2816,55 @@ export declare const TargetMu: {
|
|
|
2791
2816
|
readonly Additional: "additional";
|
|
2792
2817
|
};
|
|
2793
2818
|
export type TargetMu = typeof TargetMu[keyof typeof TargetMu];
|
|
2819
|
+
/**
|
|
2820
|
+
*
|
|
2821
|
+
* @export
|
|
2822
|
+
* @interface Tenant
|
|
2823
|
+
*/
|
|
2824
|
+
export interface Tenant {
|
|
2825
|
+
/**
|
|
2826
|
+
*
|
|
2827
|
+
* @type {string}
|
|
2828
|
+
* @memberof Tenant
|
|
2829
|
+
*/
|
|
2830
|
+
'id': string;
|
|
2831
|
+
/**
|
|
2832
|
+
*
|
|
2833
|
+
* @type {string}
|
|
2834
|
+
* @memberof Tenant
|
|
2835
|
+
*/
|
|
2836
|
+
'adminKeyConfig': string;
|
|
2837
|
+
/**
|
|
2838
|
+
*
|
|
2839
|
+
* @type {string}
|
|
2840
|
+
* @memberof Tenant
|
|
2841
|
+
*/
|
|
2842
|
+
'adminIssuer': string;
|
|
2843
|
+
/**
|
|
2844
|
+
*
|
|
2845
|
+
* @type {string}
|
|
2846
|
+
* @memberof Tenant
|
|
2847
|
+
*/
|
|
2848
|
+
'customerKeyConfig': string;
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @type {string}
|
|
2852
|
+
* @memberof Tenant
|
|
2853
|
+
*/
|
|
2854
|
+
'customerIssuer': string;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @type {string}
|
|
2858
|
+
* @memberof Tenant
|
|
2859
|
+
*/
|
|
2860
|
+
'customerLoginURL': string;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @type {string}
|
|
2864
|
+
* @memberof Tenant
|
|
2865
|
+
*/
|
|
2866
|
+
'customerClientID': string;
|
|
2867
|
+
}
|
|
2794
2868
|
/**
|
|
2795
2869
|
*
|
|
2796
2870
|
* @export
|
|
@@ -6338,6 +6412,67 @@ export declare class TagApi extends BaseAPI {
|
|
|
6338
6412
|
*/
|
|
6339
6413
|
updateTag(key: string, updateTagRequest?: UpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag, any>>;
|
|
6340
6414
|
}
|
|
6415
|
+
/**
|
|
6416
|
+
* TenantApi - axios parameter creator
|
|
6417
|
+
* @export
|
|
6418
|
+
*/
|
|
6419
|
+
export declare const TenantApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6420
|
+
/**
|
|
6421
|
+
* List of known tenants
|
|
6422
|
+
* @summary List tenants
|
|
6423
|
+
* @param {*} [options] Override http request option.
|
|
6424
|
+
* @throws {RequiredError}
|
|
6425
|
+
*/
|
|
6426
|
+
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6427
|
+
};
|
|
6428
|
+
/**
|
|
6429
|
+
* TenantApi - functional programming interface
|
|
6430
|
+
* @export
|
|
6431
|
+
*/
|
|
6432
|
+
export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
6433
|
+
/**
|
|
6434
|
+
* List of known tenants
|
|
6435
|
+
* @summary List tenants
|
|
6436
|
+
* @param {*} [options] Override http request option.
|
|
6437
|
+
* @throws {RequiredError}
|
|
6438
|
+
*/
|
|
6439
|
+
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
6440
|
+
[key: string]: Tenant;
|
|
6441
|
+
}>>;
|
|
6442
|
+
};
|
|
6443
|
+
/**
|
|
6444
|
+
* TenantApi - factory interface
|
|
6445
|
+
* @export
|
|
6446
|
+
*/
|
|
6447
|
+
export declare const TenantApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6448
|
+
/**
|
|
6449
|
+
* List of known tenants
|
|
6450
|
+
* @summary List tenants
|
|
6451
|
+
* @param {*} [options] Override http request option.
|
|
6452
|
+
* @throws {RequiredError}
|
|
6453
|
+
*/
|
|
6454
|
+
listTenants(options?: any): AxiosPromise<{
|
|
6455
|
+
[key: string]: Tenant;
|
|
6456
|
+
}>;
|
|
6457
|
+
};
|
|
6458
|
+
/**
|
|
6459
|
+
* TenantApi - object-oriented interface
|
|
6460
|
+
* @export
|
|
6461
|
+
* @class TenantApi
|
|
6462
|
+
* @extends {BaseAPI}
|
|
6463
|
+
*/
|
|
6464
|
+
export declare class TenantApi extends BaseAPI {
|
|
6465
|
+
/**
|
|
6466
|
+
* List of known tenants
|
|
6467
|
+
* @summary List tenants
|
|
6468
|
+
* @param {*} [options] Override http request option.
|
|
6469
|
+
* @throws {RequiredError}
|
|
6470
|
+
* @memberof TenantApi
|
|
6471
|
+
*/
|
|
6472
|
+
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
6473
|
+
[key: string]: Tenant;
|
|
6474
|
+
}, any>>;
|
|
6475
|
+
}
|
|
6341
6476
|
/**
|
|
6342
6477
|
* TransactionApi - axios parameter creator
|
|
6343
6478
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -5869,6 +5869,96 @@ export class TagApi extends BaseAPI {
|
|
|
5869
5869
|
return TagApiFp(this.configuration).updateTag(key, updateTagRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5870
5870
|
}
|
|
5871
5871
|
}
|
|
5872
|
+
/**
|
|
5873
|
+
* TenantApi - axios parameter creator
|
|
5874
|
+
* @export
|
|
5875
|
+
*/
|
|
5876
|
+
export const TenantApiAxiosParamCreator = function (configuration) {
|
|
5877
|
+
return {
|
|
5878
|
+
/**
|
|
5879
|
+
* List of known tenants
|
|
5880
|
+
* @summary List tenants
|
|
5881
|
+
* @param {*} [options] Override http request option.
|
|
5882
|
+
* @throws {RequiredError}
|
|
5883
|
+
*/
|
|
5884
|
+
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5885
|
+
const localVarPath = `/tenants`;
|
|
5886
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5887
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5888
|
+
let baseOptions;
|
|
5889
|
+
if (configuration) {
|
|
5890
|
+
baseOptions = configuration.baseOptions;
|
|
5891
|
+
}
|
|
5892
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5893
|
+
const localVarHeaderParameter = {};
|
|
5894
|
+
const localVarQueryParameter = {};
|
|
5895
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5897
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5898
|
+
return {
|
|
5899
|
+
url: toPathString(localVarUrlObj),
|
|
5900
|
+
options: localVarRequestOptions,
|
|
5901
|
+
};
|
|
5902
|
+
}),
|
|
5903
|
+
};
|
|
5904
|
+
};
|
|
5905
|
+
/**
|
|
5906
|
+
* TenantApi - functional programming interface
|
|
5907
|
+
* @export
|
|
5908
|
+
*/
|
|
5909
|
+
export const TenantApiFp = function (configuration) {
|
|
5910
|
+
const localVarAxiosParamCreator = TenantApiAxiosParamCreator(configuration);
|
|
5911
|
+
return {
|
|
5912
|
+
/**
|
|
5913
|
+
* List of known tenants
|
|
5914
|
+
* @summary List tenants
|
|
5915
|
+
* @param {*} [options] Override http request option.
|
|
5916
|
+
* @throws {RequiredError}
|
|
5917
|
+
*/
|
|
5918
|
+
listTenants(options) {
|
|
5919
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5920
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
5921
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5922
|
+
});
|
|
5923
|
+
},
|
|
5924
|
+
};
|
|
5925
|
+
};
|
|
5926
|
+
/**
|
|
5927
|
+
* TenantApi - factory interface
|
|
5928
|
+
* @export
|
|
5929
|
+
*/
|
|
5930
|
+
export const TenantApiFactory = function (configuration, basePath, axios) {
|
|
5931
|
+
const localVarFp = TenantApiFp(configuration);
|
|
5932
|
+
return {
|
|
5933
|
+
/**
|
|
5934
|
+
* List of known tenants
|
|
5935
|
+
* @summary List tenants
|
|
5936
|
+
* @param {*} [options] Override http request option.
|
|
5937
|
+
* @throws {RequiredError}
|
|
5938
|
+
*/
|
|
5939
|
+
listTenants(options) {
|
|
5940
|
+
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
5941
|
+
},
|
|
5942
|
+
};
|
|
5943
|
+
};
|
|
5944
|
+
/**
|
|
5945
|
+
* TenantApi - object-oriented interface
|
|
5946
|
+
* @export
|
|
5947
|
+
* @class TenantApi
|
|
5948
|
+
* @extends {BaseAPI}
|
|
5949
|
+
*/
|
|
5950
|
+
export class TenantApi extends BaseAPI {
|
|
5951
|
+
/**
|
|
5952
|
+
* List of known tenants
|
|
5953
|
+
* @summary List tenants
|
|
5954
|
+
* @param {*} [options] Override http request option.
|
|
5955
|
+
* @throws {RequiredError}
|
|
5956
|
+
* @memberof TenantApi
|
|
5957
|
+
*/
|
|
5958
|
+
listTenants(options) {
|
|
5959
|
+
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
5960
|
+
}
|
|
5961
|
+
}
|
|
5872
5962
|
/**
|
|
5873
5963
|
* TransactionApi - axios parameter creator
|
|
5874
5964
|
* @export
|