@emilgroup/notification-sdk 0.8.1-beta.40 → 0.8.1-beta.42
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/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/email-subscriptions-api.ts +559 -0
- package/api/email-tracking-api.ts +16 -16
- package/api.ts +2 -0
- package/base.ts +36 -15
- package/configuration.ts +11 -0
- package/dist/api/email-subscriptions-api.d.ts +319 -0
- package/dist/api/email-subscriptions-api.js +537 -0
- package/dist/api/email-tracking-api.d.ts +16 -16
- package/dist/api/email-tracking-api.js +13 -13
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +36 -16
- package/dist/configuration.d.ts +9 -0
- package/dist/configuration.js +1 -0
- package/dist/models/email-message-class.d.ts +7 -2
- package/dist/models/email-message-class.js +0 -1
- package/dist/models/email-message-summary-class.d.ts +85 -0
- package/dist/models/email-message-summary-class.js +27 -0
- package/dist/models/email-subscription-class.d.ts +104 -0
- package/dist/models/email-subscription-class.js +23 -0
- package/dist/models/email-thread-class.d.ts +25 -0
- package/dist/models/get-email-subscription-response-class.d.ts +25 -0
- package/dist/models/get-email-subscription-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
- package/dist/models/list-email-subscriptions-response-class.js +15 -0
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
- package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
- package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
- package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
- package/dist/models/renew-email-subscription-response-class.js +15 -0
- package/models/email-message-class.ts +7 -2
- package/models/email-message-summary-class.ts +95 -0
- package/models/email-subscription-class.ts +113 -0
- package/models/email-thread-class.ts +25 -0
- package/models/get-email-subscription-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/list-email-subscriptions-response-class.ts +49 -0
- package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
- package/models/reconcile-email-subscriptions-response-class.ts +54 -0
- package/models/renew-email-subscription-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
6
|
api/email-messages-api.ts
|
|
7
|
+
api/email-subscriptions-api.ts
|
|
7
8
|
api/email-tracking-api.ts
|
|
8
9
|
api/email-verifications-api.ts
|
|
9
10
|
api/health-api.ts
|
|
@@ -29,9 +30,12 @@ models/delete-notification-template-request-dto.ts
|
|
|
29
30
|
models/download-attachment-response-class.ts
|
|
30
31
|
models/email-attachment-class.ts
|
|
31
32
|
models/email-message-class.ts
|
|
33
|
+
models/email-message-summary-class.ts
|
|
34
|
+
models/email-subscription-class.ts
|
|
32
35
|
models/email-thread-class.ts
|
|
33
36
|
models/entity-ref-class.ts
|
|
34
37
|
models/get-email-message-response-class.ts
|
|
38
|
+
models/get-email-subscription-response-class.ts
|
|
35
39
|
models/get-email-thread-response-class.ts
|
|
36
40
|
models/get-layout-request-dto.ts
|
|
37
41
|
models/get-layout-response-class.ts
|
|
@@ -48,10 +52,14 @@ models/inline-response503.ts
|
|
|
48
52
|
models/layout-class.ts
|
|
49
53
|
models/list-email-attachments-response-class.ts
|
|
50
54
|
models/list-email-messages-response-class.ts
|
|
55
|
+
models/list-email-subscriptions-response-class.ts
|
|
51
56
|
models/list-email-threads-response-class.ts
|
|
52
57
|
models/list-layouts-response-class.ts
|
|
53
58
|
models/list-notification-templates-response-class.ts
|
|
54
59
|
models/notification-template-class.ts
|
|
60
|
+
models/reconcile-email-subscriptions-request-dto.ts
|
|
61
|
+
models/reconcile-email-subscriptions-response-class.ts
|
|
62
|
+
models/renew-email-subscription-response-class.ts
|
|
55
63
|
models/s3-document-dto.ts
|
|
56
64
|
models/send-email-request-dto.ts
|
|
57
65
|
models/send-email-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.42 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.42
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL NotificationService
|
|
5
|
+
* The EMIL NotificationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { GetEmailSubscriptionResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ListEmailSubscriptionsResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ReconcileEmailSubscriptionsRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ReconcileEmailSubscriptionsResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { RenewEmailSubscriptionResponseClass } from '../models';
|
|
33
|
+
/**
|
|
34
|
+
* EmailSubscriptionsApi - axios parameter creator
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
|
+
return {
|
|
39
|
+
/**
|
|
40
|
+
* Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
|
|
41
|
+
* @summary Retrieve the email subscription
|
|
42
|
+
* @param {number} id
|
|
43
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getEmailSubscription: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
|
+
// verify required parameter 'id' is not null or undefined
|
|
49
|
+
assertParamExists('getEmailSubscription', 'id', id)
|
|
50
|
+
const localVarPath = `/notificationservice/v1/email-subscriptions/{id}`
|
|
51
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
let baseAccessToken;
|
|
56
|
+
if (configuration) {
|
|
57
|
+
baseOptions = configuration.baseOptions;
|
|
58
|
+
baseAccessToken = configuration.accessToken;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62
|
+
const localVarHeaderParameter = {} as any;
|
|
63
|
+
const localVarQueryParameter = {} as any;
|
|
64
|
+
|
|
65
|
+
// authentication bearer required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
url: toPathString(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
|
|
86
|
+
* @summary List email subscriptions
|
|
87
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
89
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
90
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
91
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
92
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
93
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
94
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
listEmailSubscriptions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
const localVarPath = `/notificationservice/v1/email-subscriptions`;
|
|
100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
|
+
let baseOptions;
|
|
103
|
+
let baseAccessToken;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
baseAccessToken = configuration.accessToken;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
// authentication bearer required
|
|
114
|
+
// http bearer authentication required
|
|
115
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
|
+
|
|
117
|
+
if (pageSize !== undefined) {
|
|
118
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (pageToken !== undefined) {
|
|
122
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (filter !== undefined) {
|
|
126
|
+
localVarQueryParameter['filter'] = filter;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (search !== undefined) {
|
|
130
|
+
localVarQueryParameter['search'] = search;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
if (order !== undefined) {
|
|
134
|
+
localVarQueryParameter['order'] = order;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
if (expand !== undefined) {
|
|
138
|
+
localVarQueryParameter['expand'] = expand;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
if (filters !== undefined) {
|
|
142
|
+
localVarQueryParameter['filters'] = filters;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
146
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
|
|
162
|
+
* @summary Reconcile the email subscriptions
|
|
163
|
+
* @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
reconcileEmailSubscriptions: async (reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
169
|
+
// verify required parameter 'reconcileEmailSubscriptionsRequestDto' is not null or undefined
|
|
170
|
+
assertParamExists('reconcileEmailSubscriptions', 'reconcileEmailSubscriptionsRequestDto', reconcileEmailSubscriptionsRequestDto)
|
|
171
|
+
const localVarPath = `/notificationservice/v1/email-subscriptions/reconcile`;
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
|
+
let baseOptions;
|
|
175
|
+
let baseAccessToken;
|
|
176
|
+
if (configuration) {
|
|
177
|
+
baseOptions = configuration.baseOptions;
|
|
178
|
+
baseAccessToken = configuration.accessToken;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
182
|
+
const localVarHeaderParameter = {} as any;
|
|
183
|
+
const localVarQueryParameter = {} as any;
|
|
184
|
+
|
|
185
|
+
// authentication bearer required
|
|
186
|
+
// http bearer authentication required
|
|
187
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
188
|
+
|
|
189
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
190
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
196
|
+
|
|
197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
200
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reconcileEmailSubscriptionsRequestDto, localVarRequestOptions, configuration)
|
|
201
|
+
|
|
202
|
+
return {
|
|
203
|
+
url: toPathString(localVarUrlObj),
|
|
204
|
+
options: localVarRequestOptions,
|
|
205
|
+
};
|
|
206
|
+
},
|
|
207
|
+
/**
|
|
208
|
+
* Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
|
|
209
|
+
* @summary Renew the email subscription
|
|
210
|
+
* @param {number} id
|
|
211
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
renewEmailSubscription: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
|
+
// verify required parameter 'id' is not null or undefined
|
|
217
|
+
assertParamExists('renewEmailSubscription', 'id', id)
|
|
218
|
+
const localVarPath = `/notificationservice/v1/email-subscriptions/{id}/renew`
|
|
219
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
|
+
let baseOptions;
|
|
223
|
+
let baseAccessToken;
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
baseAccessToken = configuration.accessToken;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
230
|
+
const localVarHeaderParameter = {} as any;
|
|
231
|
+
const localVarQueryParameter = {} as any;
|
|
232
|
+
|
|
233
|
+
// authentication bearer required
|
|
234
|
+
// http bearer authentication required
|
|
235
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
236
|
+
|
|
237
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
238
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
246
|
+
|
|
247
|
+
return {
|
|
248
|
+
url: toPathString(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
},
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* EmailSubscriptionsApi - functional programming interface
|
|
257
|
+
* @export
|
|
258
|
+
*/
|
|
259
|
+
export const EmailSubscriptionsApiFp = function(configuration?: Configuration) {
|
|
260
|
+
const localVarAxiosParamCreator = EmailSubscriptionsApiAxiosParamCreator(configuration)
|
|
261
|
+
return {
|
|
262
|
+
/**
|
|
263
|
+
* Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
|
|
264
|
+
* @summary Retrieve the email subscription
|
|
265
|
+
* @param {number} id
|
|
266
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
async getEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmailSubscriptionResponseClass>> {
|
|
271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEmailSubscription(id, authorization, options);
|
|
272
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
|
|
276
|
+
* @summary List email subscriptions
|
|
277
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
278
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
279
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
280
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
281
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
282
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
283
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
284
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
async listEmailSubscriptions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailSubscriptionsResponseClass>> {
|
|
289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEmailSubscriptions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
290
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
|
|
294
|
+
* @summary Reconcile the email subscriptions
|
|
295
|
+
* @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
|
|
296
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
async reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReconcileEmailSubscriptionsResponseClass>> {
|
|
301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto, authorization, options);
|
|
302
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
|
+
},
|
|
304
|
+
/**
|
|
305
|
+
* Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
|
|
306
|
+
* @summary Renew the email subscription
|
|
307
|
+
* @param {number} id
|
|
308
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
async renewEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RenewEmailSubscriptionResponseClass>> {
|
|
313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.renewEmailSubscription(id, authorization, options);
|
|
314
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
315
|
+
},
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* EmailSubscriptionsApi - factory interface
|
|
321
|
+
* @export
|
|
322
|
+
*/
|
|
323
|
+
export const EmailSubscriptionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
324
|
+
const localVarFp = EmailSubscriptionsApiFp(configuration)
|
|
325
|
+
return {
|
|
326
|
+
/**
|
|
327
|
+
* Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
|
|
328
|
+
* @summary Retrieve the email subscription
|
|
329
|
+
* @param {number} id
|
|
330
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
getEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<GetEmailSubscriptionResponseClass> {
|
|
335
|
+
return localVarFp.getEmailSubscription(id, authorization, options).then((request) => request(axios, basePath));
|
|
336
|
+
},
|
|
337
|
+
/**
|
|
338
|
+
* Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
|
|
339
|
+
* @summary List email subscriptions
|
|
340
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
341
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
342
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
343
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
344
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
345
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
346
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
347
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
listEmailSubscriptions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailSubscriptionsResponseClass> {
|
|
352
|
+
return localVarFp.listEmailSubscriptions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
|
|
356
|
+
* @summary Reconcile the email subscriptions
|
|
357
|
+
* @param {ReconcileEmailSubscriptionsRequestDto} reconcileEmailSubscriptionsRequestDto
|
|
358
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto, authorization?: string, options?: any): AxiosPromise<ReconcileEmailSubscriptionsResponseClass> {
|
|
363
|
+
return localVarFp.reconcileEmailSubscriptions(reconcileEmailSubscriptionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
|
|
367
|
+
* @summary Renew the email subscription
|
|
368
|
+
* @param {number} id
|
|
369
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
renewEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<RenewEmailSubscriptionResponseClass> {
|
|
374
|
+
return localVarFp.renewEmailSubscription(id, authorization, options).then((request) => request(axios, basePath));
|
|
375
|
+
},
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Request parameters for getEmailSubscription operation in EmailSubscriptionsApi.
|
|
381
|
+
* @export
|
|
382
|
+
* @interface EmailSubscriptionsApiGetEmailSubscriptionRequest
|
|
383
|
+
*/
|
|
384
|
+
export interface EmailSubscriptionsApiGetEmailSubscriptionRequest {
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {number}
|
|
388
|
+
* @memberof EmailSubscriptionsApiGetEmailSubscription
|
|
389
|
+
*/
|
|
390
|
+
readonly id: number
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
+
* @type {string}
|
|
395
|
+
* @memberof EmailSubscriptionsApiGetEmailSubscription
|
|
396
|
+
*/
|
|
397
|
+
readonly authorization?: string
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Request parameters for listEmailSubscriptions operation in EmailSubscriptionsApi.
|
|
402
|
+
* @export
|
|
403
|
+
* @interface EmailSubscriptionsApiListEmailSubscriptionsRequest
|
|
404
|
+
*/
|
|
405
|
+
export interface EmailSubscriptionsApiListEmailSubscriptionsRequest {
|
|
406
|
+
/**
|
|
407
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
408
|
+
* @type {string}
|
|
409
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
410
|
+
*/
|
|
411
|
+
readonly authorization?: string
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
415
|
+
* @type {number}
|
|
416
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
417
|
+
*/
|
|
418
|
+
readonly pageSize?: number
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
424
|
+
*/
|
|
425
|
+
readonly pageToken?: string
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
431
|
+
*/
|
|
432
|
+
readonly filter?: string
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
438
|
+
*/
|
|
439
|
+
readonly search?: string
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, mailbox, folder, status, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
443
|
+
* @type {string}
|
|
444
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
445
|
+
*/
|
|
446
|
+
readonly order?: string
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
452
|
+
*/
|
|
453
|
+
readonly expand?: string
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, productSlug, mailbox, folder, status, subscriptionId, expiresAt, lastRenewedAt, lastNotificationAt, createdAt, updatedAt</i>
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof EmailSubscriptionsApiListEmailSubscriptions
|
|
459
|
+
*/
|
|
460
|
+
readonly filters?: string
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Request parameters for reconcileEmailSubscriptions operation in EmailSubscriptionsApi.
|
|
465
|
+
* @export
|
|
466
|
+
* @interface EmailSubscriptionsApiReconcileEmailSubscriptionsRequest
|
|
467
|
+
*/
|
|
468
|
+
export interface EmailSubscriptionsApiReconcileEmailSubscriptionsRequest {
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @type {ReconcileEmailSubscriptionsRequestDto}
|
|
472
|
+
* @memberof EmailSubscriptionsApiReconcileEmailSubscriptions
|
|
473
|
+
*/
|
|
474
|
+
readonly reconcileEmailSubscriptionsRequestDto: ReconcileEmailSubscriptionsRequestDto
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
478
|
+
* @type {string}
|
|
479
|
+
* @memberof EmailSubscriptionsApiReconcileEmailSubscriptions
|
|
480
|
+
*/
|
|
481
|
+
readonly authorization?: string
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Request parameters for renewEmailSubscription operation in EmailSubscriptionsApi.
|
|
486
|
+
* @export
|
|
487
|
+
* @interface EmailSubscriptionsApiRenewEmailSubscriptionRequest
|
|
488
|
+
*/
|
|
489
|
+
export interface EmailSubscriptionsApiRenewEmailSubscriptionRequest {
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {number}
|
|
493
|
+
* @memberof EmailSubscriptionsApiRenewEmailSubscription
|
|
494
|
+
*/
|
|
495
|
+
readonly id: number
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof EmailSubscriptionsApiRenewEmailSubscription
|
|
501
|
+
*/
|
|
502
|
+
readonly authorization?: string
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* EmailSubscriptionsApi - object-oriented interface
|
|
507
|
+
* @export
|
|
508
|
+
* @class EmailSubscriptionsApi
|
|
509
|
+
* @extends {BaseAPI}
|
|
510
|
+
*/
|
|
511
|
+
export class EmailSubscriptionsApi extends BaseAPI {
|
|
512
|
+
/**
|
|
513
|
+
* Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
|
|
514
|
+
* @summary Retrieve the email subscription
|
|
515
|
+
* @param {EmailSubscriptionsApiGetEmailSubscriptionRequest} requestParameters Request parameters.
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
* @memberof EmailSubscriptionsApi
|
|
519
|
+
*/
|
|
520
|
+
public getEmailSubscription(requestParameters: EmailSubscriptionsApiGetEmailSubscriptionRequest, options?: AxiosRequestConfig) {
|
|
521
|
+
return EmailSubscriptionsApiFp(this.configuration).getEmailSubscription(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Returns the Microsoft Graph mail subscriptions of the tenant, one per mailbox and folder of the email channel, with their status, expiry and last error. For more information about pagination, read the Pagination documentation. **Required Permissions** \"tenant-management.settings.view\"
|
|
526
|
+
* @summary List email subscriptions
|
|
527
|
+
* @param {EmailSubscriptionsApiListEmailSubscriptionsRequest} requestParameters Request parameters.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
* @memberof EmailSubscriptionsApi
|
|
531
|
+
*/
|
|
532
|
+
public listEmailSubscriptions(requestParameters: EmailSubscriptionsApiListEmailSubscriptionsRequest = {}, options?: AxiosRequestConfig) {
|
|
533
|
+
return EmailSubscriptionsApiFp(this.configuration).listEmailSubscriptions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Brings the subscriptions in line with the mailboxes and folders of the email channel: creates the missing ones, deletes the ones no longer configured and recreates expired or failed ones. Returns how many subscriptions each step touched. **Required Permissions** \"tenant-management.settings.update\"
|
|
538
|
+
* @summary Reconcile the email subscriptions
|
|
539
|
+
* @param {EmailSubscriptionsApiReconcileEmailSubscriptionsRequest} requestParameters Request parameters.
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
* @memberof EmailSubscriptionsApi
|
|
543
|
+
*/
|
|
544
|
+
public reconcileEmailSubscriptions(requestParameters: EmailSubscriptionsApiReconcileEmailSubscriptionsRequest, options?: AxiosRequestConfig) {
|
|
545
|
+
return EmailSubscriptionsApiFp(this.configuration).reconcileEmailSubscriptions(requestParameters.reconcileEmailSubscriptionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Renews the subscription in Microsoft Graph right away and returns it with its new expiry. A pending or failed subscription, or one Graph no longer knows, is created again. Fails with 503 when Graph rejects the call; the error is kept on the subscription. **Required Permissions** \"tenant-management.settings.update\"
|
|
550
|
+
* @summary Renew the email subscription
|
|
551
|
+
* @param {EmailSubscriptionsApiRenewEmailSubscriptionRequest} requestParameters Request parameters.
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
* @memberof EmailSubscriptionsApi
|
|
555
|
+
*/
|
|
556
|
+
public renewEmailSubscription(requestParameters: EmailSubscriptionsApiRenewEmailSubscriptionRequest, options?: AxiosRequestConfig) {
|
|
557
|
+
return EmailSubscriptionsApiFp(this.configuration).renewEmailSubscription(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
558
|
+
}
|
|
559
|
+
}
|