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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.752-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.752-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -1348,6 +1348,19 @@ export interface PeriodPromotion {
|
|
|
1348
1348
|
*/
|
|
1349
1349
|
'period': Period;
|
|
1350
1350
|
}
|
|
1351
|
+
/**
|
|
1352
|
+
*
|
|
1353
|
+
* @export
|
|
1354
|
+
* @interface PreferencesRequest
|
|
1355
|
+
*/
|
|
1356
|
+
export interface PreferencesRequest {
|
|
1357
|
+
/**
|
|
1358
|
+
*
|
|
1359
|
+
* @type {Array<NotificationPreference>}
|
|
1360
|
+
* @memberof PreferencesRequest
|
|
1361
|
+
*/
|
|
1362
|
+
'notificationPreferences': Array<NotificationPreference>;
|
|
1363
|
+
}
|
|
1351
1364
|
/**
|
|
1352
1365
|
*
|
|
1353
1366
|
* @export
|
|
@@ -2169,7 +2182,7 @@ export interface PromotionConfig {
|
|
|
2169
2182
|
* @type {number}
|
|
2170
2183
|
* @memberof PromotionConfig
|
|
2171
2184
|
*/
|
|
2172
|
-
'
|
|
2185
|
+
'adminClaimGracePeriod'?: number;
|
|
2173
2186
|
/**
|
|
2174
2187
|
*
|
|
2175
2188
|
* @type {number}
|
|
@@ -3051,25 +3064,31 @@ export interface Tenant {
|
|
|
3051
3064
|
* @type {string}
|
|
3052
3065
|
* @memberof Tenant
|
|
3053
3066
|
*/
|
|
3054
|
-
'
|
|
3067
|
+
'customerOpenIDKeyConfig': string;
|
|
3055
3068
|
/**
|
|
3056
3069
|
*
|
|
3057
3070
|
* @type {string}
|
|
3058
3071
|
* @memberof Tenant
|
|
3059
3072
|
*/
|
|
3060
|
-
'
|
|
3073
|
+
'customerOpenIDIssuer': string;
|
|
3061
3074
|
/**
|
|
3062
3075
|
*
|
|
3063
3076
|
* @type {string}
|
|
3064
3077
|
* @memberof Tenant
|
|
3065
3078
|
*/
|
|
3066
|
-
'
|
|
3079
|
+
'customerOpenIDClientID': string;
|
|
3067
3080
|
/**
|
|
3068
3081
|
*
|
|
3069
3082
|
* @type {string}
|
|
3070
3083
|
* @memberof Tenant
|
|
3071
3084
|
*/
|
|
3072
|
-
'
|
|
3085
|
+
'customerOpenIDMetadataURL': string;
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @type {{ [key: string]: string; }}
|
|
3089
|
+
* @memberof Tenant
|
|
3090
|
+
*/
|
|
3091
|
+
'customerOpenIDParameters'?: { [key: string]: string; };
|
|
3073
3092
|
}
|
|
3074
3093
|
/**
|
|
3075
3094
|
*
|
|
@@ -3700,8 +3719,7 @@ export interface Webhook {
|
|
|
3700
3719
|
*/
|
|
3701
3720
|
|
|
3702
3721
|
export const WebhookKind = {
|
|
3703
|
-
Order: 'order'
|
|
3704
|
-
Prod: 'prod'
|
|
3722
|
+
Order: 'order'
|
|
3705
3723
|
} as const;
|
|
3706
3724
|
|
|
3707
3725
|
export type WebhookKind = typeof WebhookKind[keyof typeof WebhookKind];
|
|
@@ -5875,13 +5893,13 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
5875
5893
|
};
|
|
5876
5894
|
},
|
|
5877
5895
|
/**
|
|
5878
|
-
* Get
|
|
5879
|
-
* @summary Get
|
|
5896
|
+
* Get preferences for the authenticated user
|
|
5897
|
+
* @summary Get preferences
|
|
5880
5898
|
* @param {*} [options] Override http request option.
|
|
5881
5899
|
* @throws {RequiredError}
|
|
5882
5900
|
*/
|
|
5883
|
-
|
|
5884
|
-
const localVarPath = `/users/
|
|
5901
|
+
getPreferences: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5902
|
+
const localVarPath = `/users/preferences`;
|
|
5885
5903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5886
5904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5887
5905
|
let baseOptions;
|
|
@@ -5991,16 +6009,16 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
5991
6009
|
};
|
|
5992
6010
|
},
|
|
5993
6011
|
/**
|
|
5994
|
-
* Update
|
|
5995
|
-
* @summary Update
|
|
5996
|
-
* @param {
|
|
6012
|
+
* Update preferences for the authenticated user
|
|
6013
|
+
* @summary Update preferences
|
|
6014
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
5997
6015
|
* @param {*} [options] Override http request option.
|
|
5998
6016
|
* @throws {RequiredError}
|
|
5999
6017
|
*/
|
|
6000
|
-
|
|
6001
|
-
// verify required parameter '
|
|
6002
|
-
assertParamExists('
|
|
6003
|
-
const localVarPath = `/users/
|
|
6018
|
+
updatePreferences: async (preferencesRequest: PreferencesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6019
|
+
// verify required parameter 'preferencesRequest' is not null or undefined
|
|
6020
|
+
assertParamExists('updatePreferences', 'preferencesRequest', preferencesRequest)
|
|
6021
|
+
const localVarPath = `/users/preferences`;
|
|
6004
6022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6005
6023
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6006
6024
|
let baseOptions;
|
|
@@ -6023,7 +6041,7 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
|
|
|
6023
6041
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6024
6042
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6025
6043
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6026
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6044
|
+
localVarRequestOptions.data = serializeDataIfNeeded(preferencesRequest, localVarRequestOptions, configuration)
|
|
6027
6045
|
|
|
6028
6046
|
return {
|
|
6029
6047
|
url: toPathString(localVarUrlObj),
|
|
@@ -6063,13 +6081,13 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
6063
6081
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6064
6082
|
},
|
|
6065
6083
|
/**
|
|
6066
|
-
* Get
|
|
6067
|
-
* @summary Get
|
|
6084
|
+
* Get preferences for the authenticated user
|
|
6085
|
+
* @summary Get preferences
|
|
6068
6086
|
* @param {*} [options] Override http request option.
|
|
6069
6087
|
* @throws {RequiredError}
|
|
6070
6088
|
*/
|
|
6071
|
-
async
|
|
6072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6089
|
+
async getPreferences(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationPreference>>> {
|
|
6090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPreferences(options);
|
|
6073
6091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6074
6092
|
},
|
|
6075
6093
|
/**
|
|
@@ -6096,14 +6114,14 @@ export const NotificationApiFp = function(configuration?: Configuration) {
|
|
|
6096
6114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6097
6115
|
},
|
|
6098
6116
|
/**
|
|
6099
|
-
* Update
|
|
6100
|
-
* @summary Update
|
|
6101
|
-
* @param {
|
|
6117
|
+
* Update preferences for the authenticated user
|
|
6118
|
+
* @summary Update preferences
|
|
6119
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
6102
6120
|
* @param {*} [options] Override http request option.
|
|
6103
6121
|
* @throws {RequiredError}
|
|
6104
6122
|
*/
|
|
6105
|
-
async
|
|
6106
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6123
|
+
async updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
6124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePreferences(preferencesRequest, options);
|
|
6107
6125
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6108
6126
|
},
|
|
6109
6127
|
}
|
|
@@ -6137,13 +6155,13 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
6137
6155
|
return localVarFp.getNotification(notificationID, options).then((request) => request(axios, basePath));
|
|
6138
6156
|
},
|
|
6139
6157
|
/**
|
|
6140
|
-
* Get
|
|
6141
|
-
* @summary Get
|
|
6158
|
+
* Get preferences for the authenticated user
|
|
6159
|
+
* @summary Get preferences
|
|
6142
6160
|
* @param {*} [options] Override http request option.
|
|
6143
6161
|
* @throws {RequiredError}
|
|
6144
6162
|
*/
|
|
6145
|
-
|
|
6146
|
-
return localVarFp.
|
|
6163
|
+
getPreferences(options?: any): AxiosPromise<Array<NotificationPreference>> {
|
|
6164
|
+
return localVarFp.getPreferences(options).then((request) => request(axios, basePath));
|
|
6147
6165
|
},
|
|
6148
6166
|
/**
|
|
6149
6167
|
* List paginated notifications
|
|
@@ -6167,14 +6185,14 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
|
|
|
6167
6185
|
return localVarFp.markNotificationAsRead(notificationID, options).then((request) => request(axios, basePath));
|
|
6168
6186
|
},
|
|
6169
6187
|
/**
|
|
6170
|
-
* Update
|
|
6171
|
-
* @summary Update
|
|
6172
|
-
* @param {
|
|
6188
|
+
* Update preferences for the authenticated user
|
|
6189
|
+
* @summary Update preferences
|
|
6190
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
6173
6191
|
* @param {*} [options] Override http request option.
|
|
6174
6192
|
* @throws {RequiredError}
|
|
6175
6193
|
*/
|
|
6176
|
-
|
|
6177
|
-
return localVarFp.
|
|
6194
|
+
updatePreferences(preferencesRequest: PreferencesRequest, options?: any): AxiosPromise<void> {
|
|
6195
|
+
return localVarFp.updatePreferences(preferencesRequest, options).then((request) => request(axios, basePath));
|
|
6178
6196
|
},
|
|
6179
6197
|
};
|
|
6180
6198
|
};
|
|
@@ -6211,14 +6229,14 @@ export class NotificationApi extends BaseAPI {
|
|
|
6211
6229
|
}
|
|
6212
6230
|
|
|
6213
6231
|
/**
|
|
6214
|
-
* Get
|
|
6215
|
-
* @summary Get
|
|
6232
|
+
* Get preferences for the authenticated user
|
|
6233
|
+
* @summary Get preferences
|
|
6216
6234
|
* @param {*} [options] Override http request option.
|
|
6217
6235
|
* @throws {RequiredError}
|
|
6218
6236
|
* @memberof NotificationApi
|
|
6219
6237
|
*/
|
|
6220
|
-
public
|
|
6221
|
-
return NotificationApiFp(this.configuration).
|
|
6238
|
+
public getPreferences(options?: AxiosRequestConfig) {
|
|
6239
|
+
return NotificationApiFp(this.configuration).getPreferences(options).then((request) => request(this.axios, this.basePath));
|
|
6222
6240
|
}
|
|
6223
6241
|
|
|
6224
6242
|
/**
|
|
@@ -6247,15 +6265,15 @@ export class NotificationApi extends BaseAPI {
|
|
|
6247
6265
|
}
|
|
6248
6266
|
|
|
6249
6267
|
/**
|
|
6250
|
-
* Update
|
|
6251
|
-
* @summary Update
|
|
6252
|
-
* @param {
|
|
6268
|
+
* Update preferences for the authenticated user
|
|
6269
|
+
* @summary Update preferences
|
|
6270
|
+
* @param {PreferencesRequest} preferencesRequest notification preferences
|
|
6253
6271
|
* @param {*} [options] Override http request option.
|
|
6254
6272
|
* @throws {RequiredError}
|
|
6255
6273
|
* @memberof NotificationApi
|
|
6256
6274
|
*/
|
|
6257
|
-
public
|
|
6258
|
-
return NotificationApiFp(this.configuration).
|
|
6275
|
+
public updatePreferences(preferencesRequest: PreferencesRequest, options?: AxiosRequestConfig) {
|
|
6276
|
+
return NotificationApiFp(this.configuration).updatePreferences(preferencesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6259
6277
|
}
|
|
6260
6278
|
}
|
|
6261
6279
|
|
|
@@ -9856,10 +9874,13 @@ export const TenantApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9856
9874
|
/**
|
|
9857
9875
|
* List of known tenants
|
|
9858
9876
|
* @summary List tenants
|
|
9877
|
+
* @param {string} name This is the tenant name
|
|
9859
9878
|
* @param {*} [options] Override http request option.
|
|
9860
9879
|
* @throws {RequiredError}
|
|
9861
9880
|
*/
|
|
9862
|
-
listTenants: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9881
|
+
listTenants: async (name: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9882
|
+
// verify required parameter 'name' is not null or undefined
|
|
9883
|
+
assertParamExists('listTenants', 'name', name)
|
|
9863
9884
|
const localVarPath = `/tenants`;
|
|
9864
9885
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9865
9886
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9872,6 +9893,10 @@ export const TenantApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9872
9893
|
const localVarHeaderParameter = {} as any;
|
|
9873
9894
|
const localVarQueryParameter = {} as any;
|
|
9874
9895
|
|
|
9896
|
+
if (name !== undefined) {
|
|
9897
|
+
localVarQueryParameter['name'] = name;
|
|
9898
|
+
}
|
|
9899
|
+
|
|
9875
9900
|
|
|
9876
9901
|
|
|
9877
9902
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -9896,11 +9921,12 @@ export const TenantApiFp = function(configuration?: Configuration) {
|
|
|
9896
9921
|
/**
|
|
9897
9922
|
* List of known tenants
|
|
9898
9923
|
* @summary List tenants
|
|
9924
|
+
* @param {string} name This is the tenant name
|
|
9899
9925
|
* @param {*} [options] Override http request option.
|
|
9900
9926
|
* @throws {RequiredError}
|
|
9901
9927
|
*/
|
|
9902
|
-
async listTenants(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9903
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(options);
|
|
9928
|
+
async listTenants(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tenant>> {
|
|
9929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenants(name, options);
|
|
9904
9930
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9905
9931
|
},
|
|
9906
9932
|
}
|
|
@@ -9916,11 +9942,12 @@ export const TenantApiFactory = function (configuration?: Configuration, basePat
|
|
|
9916
9942
|
/**
|
|
9917
9943
|
* List of known tenants
|
|
9918
9944
|
* @summary List tenants
|
|
9945
|
+
* @param {string} name This is the tenant name
|
|
9919
9946
|
* @param {*} [options] Override http request option.
|
|
9920
9947
|
* @throws {RequiredError}
|
|
9921
9948
|
*/
|
|
9922
|
-
listTenants(options?: any): AxiosPromise<
|
|
9923
|
-
return localVarFp.listTenants(options).then((request) => request(axios, basePath));
|
|
9949
|
+
listTenants(name: string, options?: any): AxiosPromise<Tenant> {
|
|
9950
|
+
return localVarFp.listTenants(name, options).then((request) => request(axios, basePath));
|
|
9924
9951
|
},
|
|
9925
9952
|
};
|
|
9926
9953
|
};
|
|
@@ -9935,12 +9962,13 @@ export class TenantApi extends BaseAPI {
|
|
|
9935
9962
|
/**
|
|
9936
9963
|
* List of known tenants
|
|
9937
9964
|
* @summary List tenants
|
|
9965
|
+
* @param {string} name This is the tenant name
|
|
9938
9966
|
* @param {*} [options] Override http request option.
|
|
9939
9967
|
* @throws {RequiredError}
|
|
9940
9968
|
* @memberof TenantApi
|
|
9941
9969
|
*/
|
|
9942
|
-
public listTenants(options?: AxiosRequestConfig) {
|
|
9943
|
-
return TenantApiFp(this.configuration).listTenants(options).then((request) => request(this.axios, this.basePath));
|
|
9970
|
+
public listTenants(name: string, options?: AxiosRequestConfig) {
|
|
9971
|
+
return TenantApiFp(this.configuration).listTenants(name, options).then((request) => request(this.axios, this.basePath));
|
|
9944
9972
|
}
|
|
9945
9973
|
}
|
|
9946
9974
|
|
package/dist/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
|