flexinet-api 0.0.750-prerelease0 → 0.0.751-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 +80 -51
- package/dist/api.d.ts +62 -43
- package/dist/api.js +55 -46
- package/dist/esm/api.d.ts +62 -43
- package/dist/esm/api.js +55 -46
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -2354,13 +2354,13 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2354
2354
|
};
|
|
2355
2355
|
}),
|
|
2356
2356
|
/**
|
|
2357
|
-
* Get
|
|
2358
|
-
* @summary Get
|
|
2357
|
+
* Get preferences for the authenticated user
|
|
2358
|
+
* @summary Get preferences
|
|
2359
2359
|
* @param {*} [options] Override http request option.
|
|
2360
2360
|
* @throws {RequiredError}
|
|
2361
2361
|
*/
|
|
2362
|
-
|
|
2363
|
-
const localVarPath = `/users/
|
|
2362
|
+
getPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2363
|
+
const localVarPath = `/users/preferences`;
|
|
2364
2364
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2365
2365
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2366
2366
|
let baseOptions;
|
|
@@ -2450,16 +2450,16 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2450
2450
|
};
|
|
2451
2451
|
}),
|
|
2452
2452
|
/**
|
|
2453
|
-
* Update
|
|
2454
|
-
* @summary Update
|
|
2455
|
-
* @param {
|
|
2453
|
+
* Update preferences for the authenticated user
|
|
2454
|
+
* @summary Update preferences
|
|
2455
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2456
2456
|
* @param {*} [options] Override http request option.
|
|
2457
2457
|
* @throws {RequiredError}
|
|
2458
2458
|
*/
|
|
2459
|
-
|
|
2460
|
-
// verify required parameter '
|
|
2461
|
-
(0, common_1.assertParamExists)('
|
|
2462
|
-
const localVarPath = `/users/
|
|
2459
|
+
updatePreferences: (preferencesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2460
|
+
// verify required parameter 'preferencesRequest' is not null or undefined
|
|
2461
|
+
(0, common_1.assertParamExists)('updatePreferences', 'preferencesRequest', preferencesRequest);
|
|
2462
|
+
const localVarPath = `/users/preferences`;
|
|
2463
2463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2464
2464
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2465
2465
|
let baseOptions;
|
|
@@ -2476,7 +2476,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2476
2476
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2477
2477
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2478
2478
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2479
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
2479
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(preferencesRequest, localVarRequestOptions, configuration);
|
|
2480
2480
|
return {
|
|
2481
2481
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2482
2482
|
options: localVarRequestOptions,
|
|
@@ -2519,14 +2519,14 @@ const NotificationApiFp = function (configuration) {
|
|
|
2519
2519
|
});
|
|
2520
2520
|
},
|
|
2521
2521
|
/**
|
|
2522
|
-
* Get
|
|
2523
|
-
* @summary Get
|
|
2522
|
+
* Get preferences for the authenticated user
|
|
2523
|
+
* @summary Get preferences
|
|
2524
2524
|
* @param {*} [options] Override http request option.
|
|
2525
2525
|
* @throws {RequiredError}
|
|
2526
2526
|
*/
|
|
2527
|
-
|
|
2527
|
+
getPreferences(options) {
|
|
2528
2528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2529
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferences(options);
|
|
2530
2530
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2531
2531
|
});
|
|
2532
2532
|
},
|
|
@@ -2558,15 +2558,15 @@ const NotificationApiFp = function (configuration) {
|
|
|
2558
2558
|
});
|
|
2559
2559
|
},
|
|
2560
2560
|
/**
|
|
2561
|
-
* Update
|
|
2562
|
-
* @summary Update
|
|
2563
|
-
* @param {
|
|
2561
|
+
* Update preferences for the authenticated user
|
|
2562
|
+
* @summary Update preferences
|
|
2563
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2564
2564
|
* @param {*} [options] Override http request option.
|
|
2565
2565
|
* @throws {RequiredError}
|
|
2566
2566
|
*/
|
|
2567
|
-
|
|
2567
|
+
updatePreferences(preferencesRequest, options) {
|
|
2568
2568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2569
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2569
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
|
2570
2570
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2571
2571
|
});
|
|
2572
2572
|
},
|
|
@@ -2601,13 +2601,13 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
2601
2601
|
return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
|
|
2602
2602
|
},
|
|
2603
2603
|
/**
|
|
2604
|
-
* Get
|
|
2605
|
-
* @summary Get
|
|
2604
|
+
* Get preferences for the authenticated user
|
|
2605
|
+
* @summary Get preferences
|
|
2606
2606
|
* @param {*} [options] Override http request option.
|
|
2607
2607
|
* @throws {RequiredError}
|
|
2608
2608
|
*/
|
|
2609
|
-
|
|
2610
|
-
return localVarFp.
|
|
2609
|
+
getPreferences(options) {
|
|
2610
|
+
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
|
2611
2611
|
},
|
|
2612
2612
|
/**
|
|
2613
2613
|
* List paginated notifications
|
|
@@ -2631,14 +2631,14 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
2631
2631
|
return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
|
|
2632
2632
|
},
|
|
2633
2633
|
/**
|
|
2634
|
-
* Update
|
|
2635
|
-
* @summary Update
|
|
2636
|
-
* @param {
|
|
2634
|
+
* Update preferences for the authenticated user
|
|
2635
|
+
* @summary Update preferences
|
|
2636
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2637
2637
|
* @param {*} [options] Override http request option.
|
|
2638
2638
|
* @throws {RequiredError}
|
|
2639
2639
|
*/
|
|
2640
|
-
|
|
2641
|
-
return localVarFp.
|
|
2640
|
+
updatePreferences(preferencesRequest, options) {
|
|
2641
|
+
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
|
2642
2642
|
},
|
|
2643
2643
|
};
|
|
2644
2644
|
};
|
|
@@ -2673,14 +2673,14 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
2673
2673
|
return (0, exports.NotificationApiFp)(this.configuration).getNotification(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2674
2674
|
}
|
|
2675
2675
|
/**
|
|
2676
|
-
* Get
|
|
2677
|
-
* @summary Get
|
|
2676
|
+
* Get preferences for the authenticated user
|
|
2677
|
+
* @summary Get preferences
|
|
2678
2678
|
* @param {*} [options] Override http request option.
|
|
2679
2679
|
* @throws {RequiredError}
|
|
2680
2680
|
* @memberof NotificationApi
|
|
2681
2681
|
*/
|
|
2682
|
-
|
|
2683
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
2682
|
+
getPreferences(options) {
|
|
2683
|
+
return (0, exports.NotificationApiFp)(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
|
2684
2684
|
}
|
|
2685
2685
|
/**
|
|
2686
2686
|
* List paginated notifications
|
|
@@ -2706,15 +2706,15 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
2706
2706
|
return (0, exports.NotificationApiFp)(this.configuration).markNotificationAsRead(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2707
2707
|
}
|
|
2708
2708
|
/**
|
|
2709
|
-
* Update
|
|
2710
|
-
* @summary Update
|
|
2711
|
-
* @param {
|
|
2709
|
+
* Update preferences for the authenticated user
|
|
2710
|
+
* @summary Update preferences
|
|
2711
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2712
2712
|
* @param {*} [options] Override http request option.
|
|
2713
2713
|
* @throws {RequiredError}
|
|
2714
2714
|
* @memberof NotificationApi
|
|
2715
2715
|
*/
|
|
2716
|
-
|
|
2717
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
2716
|
+
updatePreferences(preferencesRequest, options) {
|
|
2717
|
+
return (0, exports.NotificationApiFp)(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
2720
|
exports.NotificationApi = NotificationApi;
|
|
@@ -6025,10 +6025,13 @@ const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
6025
6025
|
/**
|
|
6026
6026
|
* List of known tenants
|
|
6027
6027
|
* @summary List tenants
|
|
6028
|
+
* @param {string} name This is the tenant name
|
|
6028
6029
|
* @param {*} [options] Override http request option.
|
|
6029
6030
|
* @throws {RequiredError}
|
|
6030
6031
|
*/
|
|
6031
|
-
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6032
|
+
listTenants: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6033
|
+
// verify required parameter 'name' is not null or undefined
|
|
6034
|
+
(0, common_1.assertParamExists)('listTenants', 'name', name);
|
|
6032
6035
|
const localVarPath = `/tenants`;
|
|
6033
6036
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6034
6037
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6039,6 +6042,9 @@ const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
6039
6042
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6040
6043
|
const localVarHeaderParameter = {};
|
|
6041
6044
|
const localVarQueryParameter = {};
|
|
6045
|
+
if (name !== undefined) {
|
|
6046
|
+
localVarQueryParameter['name'] = name;
|
|
6047
|
+
}
|
|
6042
6048
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6043
6049
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6044
6050
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6060,12 +6066,13 @@ const TenantApiFp = function (configuration) {
|
|
|
6060
6066
|
/**
|
|
6061
6067
|
* List of known tenants
|
|
6062
6068
|
* @summary List tenants
|
|
6069
|
+
* @param {string} name This is the tenant name
|
|
6063
6070
|
* @param {*} [options] Override http request option.
|
|
6064
6071
|
* @throws {RequiredError}
|
|
6065
6072
|
*/
|
|
6066
|
-
listTenants(options) {
|
|
6073
|
+
listTenants(name, options) {
|
|
6067
6074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6068
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
6075
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(name, options);
|
|
6069
6076
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6070
6077
|
});
|
|
6071
6078
|
},
|
|
@@ -6082,11 +6089,12 @@ const TenantApiFactory = function (configuration, basePath, axios) {
|
|
|
6082
6089
|
/**
|
|
6083
6090
|
* List of known tenants
|
|
6084
6091
|
* @summary List tenants
|
|
6092
|
+
* @param {string} name This is the tenant name
|
|
6085
6093
|
* @param {*} [options] Override http request option.
|
|
6086
6094
|
* @throws {RequiredError}
|
|
6087
6095
|
*/
|
|
6088
|
-
listTenants(options) {
|
|
6089
|
-
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
6096
|
+
listTenants(name, options) {
|
|
6097
|
+
return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
|
|
6090
6098
|
},
|
|
6091
6099
|
};
|
|
6092
6100
|
};
|
|
@@ -6101,12 +6109,13 @@ class TenantApi extends base_1.BaseAPI {
|
|
|
6101
6109
|
/**
|
|
6102
6110
|
* List of known tenants
|
|
6103
6111
|
* @summary List tenants
|
|
6112
|
+
* @param {string} name This is the tenant name
|
|
6104
6113
|
* @param {*} [options] Override http request option.
|
|
6105
6114
|
* @throws {RequiredError}
|
|
6106
6115
|
* @memberof TenantApi
|
|
6107
6116
|
*/
|
|
6108
|
-
listTenants(options) {
|
|
6109
|
-
return (0, exports.TenantApiFp)(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
6117
|
+
listTenants(name, options) {
|
|
6118
|
+
return (0, exports.TenantApiFp)(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
|
|
6110
6119
|
}
|
|
6111
6120
|
}
|
|
6112
6121
|
exports.TenantApi = TenantApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1272,6 +1272,19 @@ export interface PeriodPromotion {
|
|
|
1272
1272
|
*/
|
|
1273
1273
|
'period': Period;
|
|
1274
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @export
|
|
1278
|
+
* @interface PreferencesRequest
|
|
1279
|
+
*/
|
|
1280
|
+
export interface PreferencesRequest {
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @type {Array<NotificationPreference>}
|
|
1284
|
+
* @memberof PreferencesRequest
|
|
1285
|
+
*/
|
|
1286
|
+
'notificationPreferences': Array<NotificationPreference>;
|
|
1287
|
+
}
|
|
1275
1288
|
/**
|
|
1276
1289
|
*
|
|
1277
1290
|
* @export
|
|
@@ -2057,7 +2070,7 @@ export interface PromotionConfig {
|
|
|
2057
2070
|
* @type {number}
|
|
2058
2071
|
* @memberof PromotionConfig
|
|
2059
2072
|
*/
|
|
2060
|
-
'
|
|
2073
|
+
'adminClaimGracePeriod'?: number;
|
|
2061
2074
|
/**
|
|
2062
2075
|
*
|
|
2063
2076
|
* @type {number}
|
|
@@ -2885,25 +2898,33 @@ export interface Tenant {
|
|
|
2885
2898
|
* @type {string}
|
|
2886
2899
|
* @memberof Tenant
|
|
2887
2900
|
*/
|
|
2888
|
-
'
|
|
2901
|
+
'customerOpenIDKeyConfig': string;
|
|
2889
2902
|
/**
|
|
2890
2903
|
*
|
|
2891
2904
|
* @type {string}
|
|
2892
2905
|
* @memberof Tenant
|
|
2893
2906
|
*/
|
|
2894
|
-
'
|
|
2907
|
+
'customerOpenIDIssuer': string;
|
|
2895
2908
|
/**
|
|
2896
2909
|
*
|
|
2897
2910
|
* @type {string}
|
|
2898
2911
|
* @memberof Tenant
|
|
2899
2912
|
*/
|
|
2900
|
-
'
|
|
2913
|
+
'customerOpenIDClientID': string;
|
|
2901
2914
|
/**
|
|
2902
2915
|
*
|
|
2903
2916
|
* @type {string}
|
|
2904
2917
|
* @memberof Tenant
|
|
2905
2918
|
*/
|
|
2906
|
-
'
|
|
2919
|
+
'customerOpenIDMetadataURL': string;
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @type {{ [key: string]: string; }}
|
|
2923
|
+
* @memberof Tenant
|
|
2924
|
+
*/
|
|
2925
|
+
'customerOpenIDParameters'?: {
|
|
2926
|
+
[key: string]: string;
|
|
2927
|
+
};
|
|
2907
2928
|
}
|
|
2908
2929
|
/**
|
|
2909
2930
|
*
|
|
@@ -4579,12 +4600,12 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4579
4600
|
*/
|
|
4580
4601
|
getNotification: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4581
4602
|
/**
|
|
4582
|
-
* Get
|
|
4583
|
-
* @summary Get
|
|
4603
|
+
* Get preferences for the authenticated user
|
|
4604
|
+
* @summary Get preferences
|
|
4584
4605
|
* @param {*} [options] Override http request option.
|
|
4585
4606
|
* @throws {RequiredError}
|
|
4586
4607
|
*/
|
|
4587
|
-
|
|
4608
|
+
getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4588
4609
|
/**
|
|
4589
4610
|
* List paginated notifications
|
|
4590
4611
|
* @summary List notifications
|
|
@@ -4603,13 +4624,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4603
4624
|
*/
|
|
4604
4625
|
markNotificationAsRead: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4605
4626
|
/**
|
|
4606
|
-
* Update
|
|
4607
|
-
* @summary Update
|
|
4608
|
-
* @param {
|
|
4627
|
+
* Update preferences for the authenticated user
|
|
4628
|
+
* @summary Update preferences
|
|
4629
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4609
4630
|
* @param {*} [options] Override http request option.
|
|
4610
4631
|
* @throws {RequiredError}
|
|
4611
4632
|
*/
|
|
4612
|
-
|
|
4633
|
+
updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4613
4634
|
};
|
|
4614
4635
|
/**
|
|
4615
4636
|
* NotificationApi - functional programming interface
|
|
@@ -4633,12 +4654,12 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4633
4654
|
*/
|
|
4634
4655
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
|
|
4635
4656
|
/**
|
|
4636
|
-
* Get
|
|
4637
|
-
* @summary Get
|
|
4657
|
+
* Get preferences for the authenticated user
|
|
4658
|
+
* @summary Get preferences
|
|
4638
4659
|
* @param {*} [options] Override http request option.
|
|
4639
4660
|
* @throws {RequiredError}
|
|
4640
4661
|
*/
|
|
4641
|
-
|
|
4662
|
+
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
|
|
4642
4663
|
/**
|
|
4643
4664
|
* List paginated notifications
|
|
4644
4665
|
* @summary List notifications
|
|
@@ -4657,13 +4678,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4657
4678
|
*/
|
|
4658
4679
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4659
4680
|
/**
|
|
4660
|
-
* Update
|
|
4661
|
-
* @summary Update
|
|
4662
|
-
* @param {
|
|
4681
|
+
* Update preferences for the authenticated user
|
|
4682
|
+
* @summary Update preferences
|
|
4683
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4663
4684
|
* @param {*} [options] Override http request option.
|
|
4664
4685
|
* @throws {RequiredError}
|
|
4665
4686
|
*/
|
|
4666
|
-
|
|
4687
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4667
4688
|
};
|
|
4668
4689
|
/**
|
|
4669
4690
|
* NotificationApi - factory interface
|
|
@@ -4687,12 +4708,12 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4687
4708
|
*/
|
|
4688
4709
|
getNotification(notificationID: string, options?: any): AxiosPromise<Notification>;
|
|
4689
4710
|
/**
|
|
4690
|
-
* Get
|
|
4691
|
-
* @summary Get
|
|
4711
|
+
* Get preferences for the authenticated user
|
|
4712
|
+
* @summary Get preferences
|
|
4692
4713
|
* @param {*} [options] Override http request option.
|
|
4693
4714
|
* @throws {RequiredError}
|
|
4694
4715
|
*/
|
|
4695
|
-
|
|
4716
|
+
getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
|
|
4696
4717
|
/**
|
|
4697
4718
|
* List paginated notifications
|
|
4698
4719
|
* @summary List notifications
|
|
@@ -4711,13 +4732,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4711
4732
|
*/
|
|
4712
4733
|
markNotificationAsRead(notificationID: string, options?: any): AxiosPromise<void>;
|
|
4713
4734
|
/**
|
|
4714
|
-
* Update
|
|
4715
|
-
* @summary Update
|
|
4716
|
-
* @param {
|
|
4735
|
+
* Update preferences for the authenticated user
|
|
4736
|
+
* @summary Update preferences
|
|
4737
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4717
4738
|
* @param {*} [options] Override http request option.
|
|
4718
4739
|
* @throws {RequiredError}
|
|
4719
4740
|
*/
|
|
4720
|
-
|
|
4741
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
|
|
4721
4742
|
};
|
|
4722
4743
|
/**
|
|
4723
4744
|
* NotificationApi - object-oriented interface
|
|
@@ -4745,13 +4766,13 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4745
4766
|
*/
|
|
4746
4767
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification, any>>;
|
|
4747
4768
|
/**
|
|
4748
|
-
* Get
|
|
4749
|
-
* @summary Get
|
|
4769
|
+
* Get preferences for the authenticated user
|
|
4770
|
+
* @summary Get preferences
|
|
4750
4771
|
* @param {*} [options] Override http request option.
|
|
4751
4772
|
* @throws {RequiredError}
|
|
4752
4773
|
* @memberof NotificationApi
|
|
4753
4774
|
*/
|
|
4754
|
-
|
|
4775
|
+
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
|
|
4755
4776
|
/**
|
|
4756
4777
|
* List paginated notifications
|
|
4757
4778
|
* @summary List notifications
|
|
@@ -4772,14 +4793,14 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4772
4793
|
*/
|
|
4773
4794
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4774
4795
|
/**
|
|
4775
|
-
* Update
|
|
4776
|
-
* @summary Update
|
|
4777
|
-
* @param {
|
|
4796
|
+
* Update preferences for the authenticated user
|
|
4797
|
+
* @summary Update preferences
|
|
4798
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4778
4799
|
* @param {*} [options] Override http request option.
|
|
4779
4800
|
* @throws {RequiredError}
|
|
4780
4801
|
* @memberof NotificationApi
|
|
4781
4802
|
*/
|
|
4782
|
-
|
|
4803
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4783
4804
|
}
|
|
4784
4805
|
/**
|
|
4785
4806
|
* OrderApi - axios parameter creator
|
|
@@ -6500,10 +6521,11 @@ export declare const TenantApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6500
6521
|
/**
|
|
6501
6522
|
* List of known tenants
|
|
6502
6523
|
* @summary List tenants
|
|
6524
|
+
* @param {string} name This is the tenant name
|
|
6503
6525
|
* @param {*} [options] Override http request option.
|
|
6504
6526
|
* @throws {RequiredError}
|
|
6505
6527
|
*/
|
|
6506
|
-
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6528
|
+
listTenants: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6507
6529
|
};
|
|
6508
6530
|
/**
|
|
6509
6531
|
* TenantApi - functional programming interface
|
|
@@ -6513,12 +6535,11 @@ export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
|
6513
6535
|
/**
|
|
6514
6536
|
* List of known tenants
|
|
6515
6537
|
* @summary List tenants
|
|
6538
|
+
* @param {string} name This is the tenant name
|
|
6516
6539
|
* @param {*} [options] Override http request option.
|
|
6517
6540
|
* @throws {RequiredError}
|
|
6518
6541
|
*/
|
|
6519
|
-
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6520
|
-
[key: string]: Tenant;
|
|
6521
|
-
}>>;
|
|
6542
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>>;
|
|
6522
6543
|
};
|
|
6523
6544
|
/**
|
|
6524
6545
|
* TenantApi - factory interface
|
|
@@ -6528,12 +6549,11 @@ export declare const TenantApiFactory: (configuration?: Configuration, basePath?
|
|
|
6528
6549
|
/**
|
|
6529
6550
|
* List of known tenants
|
|
6530
6551
|
* @summary List tenants
|
|
6552
|
+
* @param {string} name This is the tenant name
|
|
6531
6553
|
* @param {*} [options] Override http request option.
|
|
6532
6554
|
* @throws {RequiredError}
|
|
6533
6555
|
*/
|
|
6534
|
-
listTenants(options?: any): AxiosPromise<
|
|
6535
|
-
[key: string]: Tenant;
|
|
6536
|
-
}>;
|
|
6556
|
+
listTenants(name: string, options?: any): AxiosPromise<Tenant>;
|
|
6537
6557
|
};
|
|
6538
6558
|
/**
|
|
6539
6559
|
* TenantApi - object-oriented interface
|
|
@@ -6545,13 +6565,12 @@ export declare class TenantApi extends BaseAPI {
|
|
|
6545
6565
|
/**
|
|
6546
6566
|
* List of known tenants
|
|
6547
6567
|
* @summary List tenants
|
|
6568
|
+
* @param {string} name This is the tenant name
|
|
6548
6569
|
* @param {*} [options] Override http request option.
|
|
6549
6570
|
* @throws {RequiredError}
|
|
6550
6571
|
* @memberof TenantApi
|
|
6551
6572
|
*/
|
|
6552
|
-
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6553
|
-
[key: string]: Tenant;
|
|
6554
|
-
}, any>>;
|
|
6573
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tenant, any>>;
|
|
6555
6574
|
}
|
|
6556
6575
|
/**
|
|
6557
6576
|
* TransactionApi - axios parameter creator
|