flexinet-api 0.0.750-prerelease0 → 0.0.752-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 +81 -53
- package/dist/api.d.ts +62 -44
- package/dist/api.js +56 -48
- package/dist/esm/api.d.ts +62 -44
- package/dist/esm/api.js +56 -48
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -365,8 +365,7 @@ exports.UserSource = {
|
|
|
365
365
|
* @enum {string}
|
|
366
366
|
*/
|
|
367
367
|
exports.WebhookKind = {
|
|
368
|
-
Order: 'order'
|
|
369
|
-
Prod: 'prod'
|
|
368
|
+
Order: 'order'
|
|
370
369
|
};
|
|
371
370
|
/**
|
|
372
371
|
* AuditApi - axios parameter creator
|
|
@@ -2354,13 +2353,13 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2354
2353
|
};
|
|
2355
2354
|
}),
|
|
2356
2355
|
/**
|
|
2357
|
-
* Get
|
|
2358
|
-
* @summary Get
|
|
2356
|
+
* Get preferences for the authenticated user
|
|
2357
|
+
* @summary Get preferences
|
|
2359
2358
|
* @param {*} [options] Override http request option.
|
|
2360
2359
|
* @throws {RequiredError}
|
|
2361
2360
|
*/
|
|
2362
|
-
|
|
2363
|
-
const localVarPath = `/users/
|
|
2361
|
+
getPreferences: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2362
|
+
const localVarPath = `/users/preferences`;
|
|
2364
2363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2365
2364
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2366
2365
|
let baseOptions;
|
|
@@ -2450,16 +2449,16 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2450
2449
|
};
|
|
2451
2450
|
}),
|
|
2452
2451
|
/**
|
|
2453
|
-
* Update
|
|
2454
|
-
* @summary Update
|
|
2455
|
-
* @param {
|
|
2452
|
+
* Update preferences for the authenticated user
|
|
2453
|
+
* @summary Update preferences
|
|
2454
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2456
2455
|
* @param {*} [options] Override http request option.
|
|
2457
2456
|
* @throws {RequiredError}
|
|
2458
2457
|
*/
|
|
2459
|
-
|
|
2460
|
-
// verify required parameter '
|
|
2461
|
-
(0, common_1.assertParamExists)('
|
|
2462
|
-
const localVarPath = `/users/
|
|
2458
|
+
updatePreferences: (preferencesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2459
|
+
// verify required parameter 'preferencesRequest' is not null or undefined
|
|
2460
|
+
(0, common_1.assertParamExists)('updatePreferences', 'preferencesRequest', preferencesRequest);
|
|
2461
|
+
const localVarPath = `/users/preferences`;
|
|
2463
2462
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2464
2463
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2465
2464
|
let baseOptions;
|
|
@@ -2476,7 +2475,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
2476
2475
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2477
2476
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2478
2477
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2479
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
2478
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(preferencesRequest, localVarRequestOptions, configuration);
|
|
2480
2479
|
return {
|
|
2481
2480
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2482
2481
|
options: localVarRequestOptions,
|
|
@@ -2519,14 +2518,14 @@ const NotificationApiFp = function (configuration) {
|
|
|
2519
2518
|
});
|
|
2520
2519
|
},
|
|
2521
2520
|
/**
|
|
2522
|
-
* Get
|
|
2523
|
-
* @summary Get
|
|
2521
|
+
* Get preferences for the authenticated user
|
|
2522
|
+
* @summary Get preferences
|
|
2524
2523
|
* @param {*} [options] Override http request option.
|
|
2525
2524
|
* @throws {RequiredError}
|
|
2526
2525
|
*/
|
|
2527
|
-
|
|
2526
|
+
getPreferences(options) {
|
|
2528
2527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2529
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2528
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPreferences(options);
|
|
2530
2529
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2531
2530
|
});
|
|
2532
2531
|
},
|
|
@@ -2558,15 +2557,15 @@ const NotificationApiFp = function (configuration) {
|
|
|
2558
2557
|
});
|
|
2559
2558
|
},
|
|
2560
2559
|
/**
|
|
2561
|
-
* Update
|
|
2562
|
-
* @summary Update
|
|
2563
|
-
* @param {
|
|
2560
|
+
* Update preferences for the authenticated user
|
|
2561
|
+
* @summary Update preferences
|
|
2562
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2564
2563
|
* @param {*} [options] Override http request option.
|
|
2565
2564
|
* @throws {RequiredError}
|
|
2566
2565
|
*/
|
|
2567
|
-
|
|
2566
|
+
updatePreferences(preferencesRequest, options) {
|
|
2568
2567
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2569
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2568
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
|
2570
2569
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2571
2570
|
});
|
|
2572
2571
|
},
|
|
@@ -2601,13 +2600,13 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
2601
2600
|
return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
|
|
2602
2601
|
},
|
|
2603
2602
|
/**
|
|
2604
|
-
* Get
|
|
2605
|
-
* @summary Get
|
|
2603
|
+
* Get preferences for the authenticated user
|
|
2604
|
+
* @summary Get preferences
|
|
2606
2605
|
* @param {*} [options] Override http request option.
|
|
2607
2606
|
* @throws {RequiredError}
|
|
2608
2607
|
*/
|
|
2609
|
-
|
|
2610
|
-
return localVarFp.
|
|
2608
|
+
getPreferences(options) {
|
|
2609
|
+
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
|
2611
2610
|
},
|
|
2612
2611
|
/**
|
|
2613
2612
|
* List paginated notifications
|
|
@@ -2631,14 +2630,14 @@ const NotificationApiFactory = function (configuration, basePath, axios) {
|
|
|
2631
2630
|
return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
|
|
2632
2631
|
},
|
|
2633
2632
|
/**
|
|
2634
|
-
* Update
|
|
2635
|
-
* @summary Update
|
|
2636
|
-
* @param {
|
|
2633
|
+
* Update preferences for the authenticated user
|
|
2634
|
+
* @summary Update preferences
|
|
2635
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2637
2636
|
* @param {*} [options] Override http request option.
|
|
2638
2637
|
* @throws {RequiredError}
|
|
2639
2638
|
*/
|
|
2640
|
-
|
|
2641
|
-
return localVarFp.
|
|
2639
|
+
updatePreferences(preferencesRequest, options) {
|
|
2640
|
+
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
|
2642
2641
|
},
|
|
2643
2642
|
};
|
|
2644
2643
|
};
|
|
@@ -2673,14 +2672,14 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
2673
2672
|
return (0, exports.NotificationApiFp)(this.configuration).getNotification(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2674
2673
|
}
|
|
2675
2674
|
/**
|
|
2676
|
-
* Get
|
|
2677
|
-
* @summary Get
|
|
2675
|
+
* Get preferences for the authenticated user
|
|
2676
|
+
* @summary Get preferences
|
|
2678
2677
|
* @param {*} [options] Override http request option.
|
|
2679
2678
|
* @throws {RequiredError}
|
|
2680
2679
|
* @memberof NotificationApi
|
|
2681
2680
|
*/
|
|
2682
|
-
|
|
2683
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
2681
|
+
getPreferences(options) {
|
|
2682
|
+
return (0, exports.NotificationApiFp)(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
|
2684
2683
|
}
|
|
2685
2684
|
/**
|
|
2686
2685
|
* List paginated notifications
|
|
@@ -2706,15 +2705,15 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
2706
2705
|
return (0, exports.NotificationApiFp)(this.configuration).markNotificationAsRead(notificationID, options).then((request) => request(this.axios, this.basePath));
|
|
2707
2706
|
}
|
|
2708
2707
|
/**
|
|
2709
|
-
* Update
|
|
2710
|
-
* @summary Update
|
|
2711
|
-
* @param {
|
|
2708
|
+
* Update preferences for the authenticated user
|
|
2709
|
+
* @summary Update preferences
|
|
2710
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
2712
2711
|
* @param {*} [options] Override http request option.
|
|
2713
2712
|
* @throws {RequiredError}
|
|
2714
2713
|
* @memberof NotificationApi
|
|
2715
2714
|
*/
|
|
2716
|
-
|
|
2717
|
-
return (0, exports.NotificationApiFp)(this.configuration).
|
|
2715
|
+
updatePreferences(preferencesRequest, options) {
|
|
2716
|
+
return (0, exports.NotificationApiFp)(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2718
2717
|
}
|
|
2719
2718
|
}
|
|
2720
2719
|
exports.NotificationApi = NotificationApi;
|
|
@@ -6025,10 +6024,13 @@ const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
6025
6024
|
/**
|
|
6026
6025
|
* List of known tenants
|
|
6027
6026
|
* @summary List tenants
|
|
6027
|
+
* @param {string} name This is the tenant name
|
|
6028
6028
|
* @param {*} [options] Override http request option.
|
|
6029
6029
|
* @throws {RequiredError}
|
|
6030
6030
|
*/
|
|
6031
|
-
listTenants: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6031
|
+
listTenants: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6032
|
+
// verify required parameter 'name' is not null or undefined
|
|
6033
|
+
(0, common_1.assertParamExists)('listTenants', 'name', name);
|
|
6032
6034
|
const localVarPath = `/tenants`;
|
|
6033
6035
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6034
6036
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6039,6 +6041,9 @@ const TenantApiAxiosParamCreator = function (configuration) {
|
|
|
6039
6041
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6040
6042
|
const localVarHeaderParameter = {};
|
|
6041
6043
|
const localVarQueryParameter = {};
|
|
6044
|
+
if (name !== undefined) {
|
|
6045
|
+
localVarQueryParameter['name'] = name;
|
|
6046
|
+
}
|
|
6042
6047
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6043
6048
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6044
6049
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6060,12 +6065,13 @@ const TenantApiFp = function (configuration) {
|
|
|
6060
6065
|
/**
|
|
6061
6066
|
* List of known tenants
|
|
6062
6067
|
* @summary List tenants
|
|
6068
|
+
* @param {string} name This is the tenant name
|
|
6063
6069
|
* @param {*} [options] Override http request option.
|
|
6064
6070
|
* @throws {RequiredError}
|
|
6065
6071
|
*/
|
|
6066
|
-
listTenants(options) {
|
|
6072
|
+
listTenants(name, options) {
|
|
6067
6073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6068
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(options);
|
|
6074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTenants(name, options);
|
|
6069
6075
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6070
6076
|
});
|
|
6071
6077
|
},
|
|
@@ -6082,11 +6088,12 @@ const TenantApiFactory = function (configuration, basePath, axios) {
|
|
|
6082
6088
|
/**
|
|
6083
6089
|
* List of known tenants
|
|
6084
6090
|
* @summary List tenants
|
|
6091
|
+
* @param {string} name This is the tenant name
|
|
6085
6092
|
* @param {*} [options] Override http request option.
|
|
6086
6093
|
* @throws {RequiredError}
|
|
6087
6094
|
*/
|
|
6088
|
-
listTenants(options) {
|
|
6089
|
-
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
6095
|
+
listTenants(name, options) {
|
|
6096
|
+
return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
|
|
6090
6097
|
},
|
|
6091
6098
|
};
|
|
6092
6099
|
};
|
|
@@ -6101,12 +6108,13 @@ class TenantApi extends base_1.BaseAPI {
|
|
|
6101
6108
|
/**
|
|
6102
6109
|
* List of known tenants
|
|
6103
6110
|
* @summary List tenants
|
|
6111
|
+
* @param {string} name This is the tenant name
|
|
6104
6112
|
* @param {*} [options] Override http request option.
|
|
6105
6113
|
* @throws {RequiredError}
|
|
6106
6114
|
* @memberof TenantApi
|
|
6107
6115
|
*/
|
|
6108
|
-
listTenants(options) {
|
|
6109
|
-
return (0, exports.TenantApiFp)(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
6116
|
+
listTenants(name, options) {
|
|
6117
|
+
return (0, exports.TenantApiFp)(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
|
|
6110
6118
|
}
|
|
6111
6119
|
}
|
|
6112
6120
|
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
|
*
|
|
@@ -3514,7 +3535,6 @@ export interface Webhook {
|
|
|
3514
3535
|
*/
|
|
3515
3536
|
export declare const WebhookKind: {
|
|
3516
3537
|
readonly Order: "order";
|
|
3517
|
-
readonly Prod: "prod";
|
|
3518
3538
|
};
|
|
3519
3539
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
3520
3540
|
/**
|
|
@@ -4579,12 +4599,12 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4579
4599
|
*/
|
|
4580
4600
|
getNotification: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4581
4601
|
/**
|
|
4582
|
-
* Get
|
|
4583
|
-
* @summary Get
|
|
4602
|
+
* Get preferences for the authenticated user
|
|
4603
|
+
* @summary Get preferences
|
|
4584
4604
|
* @param {*} [options] Override http request option.
|
|
4585
4605
|
* @throws {RequiredError}
|
|
4586
4606
|
*/
|
|
4587
|
-
|
|
4607
|
+
getPreferences: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4588
4608
|
/**
|
|
4589
4609
|
* List paginated notifications
|
|
4590
4610
|
* @summary List notifications
|
|
@@ -4603,13 +4623,13 @@ export declare const NotificationApiAxiosParamCreator: (configuration?: Configur
|
|
|
4603
4623
|
*/
|
|
4604
4624
|
markNotificationAsRead: (notificationID: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4605
4625
|
/**
|
|
4606
|
-
* Update
|
|
4607
|
-
* @summary Update
|
|
4608
|
-
* @param {
|
|
4626
|
+
* Update preferences for the authenticated user
|
|
4627
|
+
* @summary Update preferences
|
|
4628
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4609
4629
|
* @param {*} [options] Override http request option.
|
|
4610
4630
|
* @throws {RequiredError}
|
|
4611
4631
|
*/
|
|
4612
|
-
|
|
4632
|
+
updatePreferences: (preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4613
4633
|
};
|
|
4614
4634
|
/**
|
|
4615
4635
|
* NotificationApi - functional programming interface
|
|
@@ -4633,12 +4653,12 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4633
4653
|
*/
|
|
4634
4654
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
|
|
4635
4655
|
/**
|
|
4636
|
-
* Get
|
|
4637
|
-
* @summary Get
|
|
4656
|
+
* Get preferences for the authenticated user
|
|
4657
|
+
* @summary Get preferences
|
|
4638
4658
|
* @param {*} [options] Override http request option.
|
|
4639
4659
|
* @throws {RequiredError}
|
|
4640
4660
|
*/
|
|
4641
|
-
|
|
4661
|
+
getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>>;
|
|
4642
4662
|
/**
|
|
4643
4663
|
* List paginated notifications
|
|
4644
4664
|
* @summary List notifications
|
|
@@ -4657,13 +4677,13 @@ export declare const NotificationApiFp: (configuration?: Configuration) => {
|
|
|
4657
4677
|
*/
|
|
4658
4678
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4659
4679
|
/**
|
|
4660
|
-
* Update
|
|
4661
|
-
* @summary Update
|
|
4662
|
-
* @param {
|
|
4680
|
+
* Update preferences for the authenticated user
|
|
4681
|
+
* @summary Update preferences
|
|
4682
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4663
4683
|
* @param {*} [options] Override http request option.
|
|
4664
4684
|
* @throws {RequiredError}
|
|
4665
4685
|
*/
|
|
4666
|
-
|
|
4686
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4667
4687
|
};
|
|
4668
4688
|
/**
|
|
4669
4689
|
* NotificationApi - factory interface
|
|
@@ -4687,12 +4707,12 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4687
4707
|
*/
|
|
4688
4708
|
getNotification(notificationID: string, options?: any): AxiosPromise<Notification>;
|
|
4689
4709
|
/**
|
|
4690
|
-
* Get
|
|
4691
|
-
* @summary Get
|
|
4710
|
+
* Get preferences for the authenticated user
|
|
4711
|
+
* @summary Get preferences
|
|
4692
4712
|
* @param {*} [options] Override http request option.
|
|
4693
4713
|
* @throws {RequiredError}
|
|
4694
4714
|
*/
|
|
4695
|
-
|
|
4715
|
+
getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>>;
|
|
4696
4716
|
/**
|
|
4697
4717
|
* List paginated notifications
|
|
4698
4718
|
* @summary List notifications
|
|
@@ -4711,13 +4731,13 @@ export declare const NotificationApiFactory: (configuration?: Configuration, bas
|
|
|
4711
4731
|
*/
|
|
4712
4732
|
markNotificationAsRead(notificationID: string, options?: any): AxiosPromise<void>;
|
|
4713
4733
|
/**
|
|
4714
|
-
* Update
|
|
4715
|
-
* @summary Update
|
|
4716
|
-
* @param {
|
|
4734
|
+
* Update preferences for the authenticated user
|
|
4735
|
+
* @summary Update preferences
|
|
4736
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4717
4737
|
* @param {*} [options] Override http request option.
|
|
4718
4738
|
* @throws {RequiredError}
|
|
4719
4739
|
*/
|
|
4720
|
-
|
|
4740
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void>;
|
|
4721
4741
|
};
|
|
4722
4742
|
/**
|
|
4723
4743
|
* NotificationApi - object-oriented interface
|
|
@@ -4745,13 +4765,13 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4745
4765
|
*/
|
|
4746
4766
|
getNotification(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification, any>>;
|
|
4747
4767
|
/**
|
|
4748
|
-
* Get
|
|
4749
|
-
* @summary Get
|
|
4768
|
+
* Get preferences for the authenticated user
|
|
4769
|
+
* @summary Get preferences
|
|
4750
4770
|
* @param {*} [options] Override http request option.
|
|
4751
4771
|
* @throws {RequiredError}
|
|
4752
4772
|
* @memberof NotificationApi
|
|
4753
4773
|
*/
|
|
4754
|
-
|
|
4774
|
+
getPreferences(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationPreference[], any>>;
|
|
4755
4775
|
/**
|
|
4756
4776
|
* List paginated notifications
|
|
4757
4777
|
* @summary List notifications
|
|
@@ -4772,14 +4792,14 @@ export declare class NotificationApi extends BaseAPI {
|
|
|
4772
4792
|
*/
|
|
4773
4793
|
markNotificationAsRead(notificationID: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4774
4794
|
/**
|
|
4775
|
-
* Update
|
|
4776
|
-
* @summary Update
|
|
4777
|
-
* @param {
|
|
4795
|
+
* Update preferences for the authenticated user
|
|
4796
|
+
* @summary Update preferences
|
|
4797
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
4778
4798
|
* @param {*} [options] Override http request option.
|
|
4779
4799
|
* @throws {RequiredError}
|
|
4780
4800
|
* @memberof NotificationApi
|
|
4781
4801
|
*/
|
|
4782
|
-
|
|
4802
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4783
4803
|
}
|
|
4784
4804
|
/**
|
|
4785
4805
|
* OrderApi - axios parameter creator
|
|
@@ -6500,10 +6520,11 @@ export declare const TenantApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6500
6520
|
/**
|
|
6501
6521
|
* List of known tenants
|
|
6502
6522
|
* @summary List tenants
|
|
6523
|
+
* @param {string} name This is the tenant name
|
|
6503
6524
|
* @param {*} [options] Override http request option.
|
|
6504
6525
|
* @throws {RequiredError}
|
|
6505
6526
|
*/
|
|
6506
|
-
listTenants: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6527
|
+
listTenants: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6507
6528
|
};
|
|
6508
6529
|
/**
|
|
6509
6530
|
* TenantApi - functional programming interface
|
|
@@ -6513,12 +6534,11 @@ export declare const TenantApiFp: (configuration?: Configuration) => {
|
|
|
6513
6534
|
/**
|
|
6514
6535
|
* List of known tenants
|
|
6515
6536
|
* @summary List tenants
|
|
6537
|
+
* @param {string} name This is the tenant name
|
|
6516
6538
|
* @param {*} [options] Override http request option.
|
|
6517
6539
|
* @throws {RequiredError}
|
|
6518
6540
|
*/
|
|
6519
|
-
listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6520
|
-
[key: string]: Tenant;
|
|
6521
|
-
}>>;
|
|
6541
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>>;
|
|
6522
6542
|
};
|
|
6523
6543
|
/**
|
|
6524
6544
|
* TenantApi - factory interface
|
|
@@ -6528,12 +6548,11 @@ export declare const TenantApiFactory: (configuration?: Configuration, basePath?
|
|
|
6528
6548
|
/**
|
|
6529
6549
|
* List of known tenants
|
|
6530
6550
|
* @summary List tenants
|
|
6551
|
+
* @param {string} name This is the tenant name
|
|
6531
6552
|
* @param {*} [options] Override http request option.
|
|
6532
6553
|
* @throws {RequiredError}
|
|
6533
6554
|
*/
|
|
6534
|
-
listTenants(options?: any): AxiosPromise<
|
|
6535
|
-
[key: string]: Tenant;
|
|
6536
|
-
}>;
|
|
6555
|
+
listTenants(name: string, options?: any): AxiosPromise<Tenant>;
|
|
6537
6556
|
};
|
|
6538
6557
|
/**
|
|
6539
6558
|
* TenantApi - object-oriented interface
|
|
@@ -6545,13 +6564,12 @@ export declare class TenantApi extends BaseAPI {
|
|
|
6545
6564
|
/**
|
|
6546
6565
|
* List of known tenants
|
|
6547
6566
|
* @summary List tenants
|
|
6567
|
+
* @param {string} name This is the tenant name
|
|
6548
6568
|
* @param {*} [options] Override http request option.
|
|
6549
6569
|
* @throws {RequiredError}
|
|
6550
6570
|
* @memberof TenantApi
|
|
6551
6571
|
*/
|
|
6552
|
-
listTenants(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6553
|
-
[key: string]: Tenant;
|
|
6554
|
-
}, any>>;
|
|
6572
|
+
listTenants(name: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Tenant, any>>;
|
|
6555
6573
|
}
|
|
6556
6574
|
/**
|
|
6557
6575
|
* TransactionApi - axios parameter creator
|