@emilgroup/notification-sdk 0.1.1-beta.0
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 +58 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/default-api.ts +124 -0
- package/api/email-messages-api.ts +368 -0
- package/api/email-tracking-api.ts +537 -0
- package/api/email-verifications-api.ts +264 -0
- package/api/layouts-api.ts +673 -0
- package/api/notification-templates-api.ts +687 -0
- package/api/notifications-api.ts +161 -0
- package/api.ts +39 -0
- package/base.ts +331 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/email-messages-api.d.ts +205 -0
- package/dist/api/email-messages-api.js +401 -0
- package/dist/api/email-tracking-api.d.ts +301 -0
- package/dist/api/email-tracking-api.js +520 -0
- package/dist/api/email-verifications-api.d.ts +146 -0
- package/dist/api/email-verifications-api.js +309 -0
- package/dist/api/layouts-api.d.ts +373 -0
- package/dist/api/layouts-api.js +624 -0
- package/dist/api/notification-templates-api.d.ts +382 -0
- package/dist/api/notification-templates-api.js +630 -0
- package/dist/api/notifications-api.d.ts +93 -0
- package/dist/api/notifications-api.js +220 -0
- package/dist/api.d.ts +18 -0
- package/dist/api.js +36 -0
- package/dist/base.d.ts +86 -0
- package/dist/base.js +367 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/complete-email-verification-dto.d.ts +30 -0
- package/dist/models/complete-email-verification-dto.js +15 -0
- package/dist/models/complete-email-verification-response-class.d.ts +24 -0
- package/dist/models/complete-email-verification-response-class.js +15 -0
- package/dist/models/create-layout-request-dto.d.ts +48 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-notification-template-request-dto.d.ts +66 -0
- package/dist/models/create-notification-template-request-dto.js +15 -0
- package/dist/models/create-notification-template-response-class.d.ts +25 -0
- package/dist/models/create-notification-template-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-notification-template-request-dto.d.ts +24 -0
- package/dist/models/delete-notification-template-request-dto.js +15 -0
- package/dist/models/download-attachment-response-class.d.ts +36 -0
- package/dist/models/download-attachment-response-class.js +15 -0
- package/dist/models/email-attachment-class.d.ts +84 -0
- package/dist/models/email-attachment-class.js +15 -0
- package/dist/models/email-message-class.d.ts +140 -0
- package/dist/models/email-message-class.js +27 -0
- package/dist/models/email-thread-class.d.ts +83 -0
- package/dist/models/email-thread-class.js +20 -0
- package/dist/models/get-email-message-response-class.d.ts +25 -0
- package/dist/models/get-email-message-response-class.js +15 -0
- package/dist/models/get-email-thread-response-class.d.ts +25 -0
- package/dist/models/get-email-thread-response-class.js +15 -0
- package/dist/models/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-response-class.js +15 -0
- package/dist/models/get-notification-template-request-dto.d.ts +30 -0
- package/dist/models/get-notification-template-request-dto.js +15 -0
- package/dist/models/get-notification-template-response-class.d.ts +25 -0
- package/dist/models/get-notification-template-response-class.js +15 -0
- package/dist/models/html-template-class.d.ts +54 -0
- package/dist/models/html-template-class.js +15 -0
- package/dist/models/index.d.ts +38 -0
- package/dist/models/index.js +54 -0
- package/dist/models/initiate-email-verification-dto.d.ts +30 -0
- package/dist/models/initiate-email-verification-dto.js +15 -0
- package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
- package/dist/models/initiate-email-verification-response-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/layout-class.d.ts +73 -0
- package/dist/models/layout-class.js +15 -0
- package/dist/models/list-email-attachments-response-class.d.ts +25 -0
- package/dist/models/list-email-attachments-response-class.js +15 -0
- package/dist/models/list-email-messages-response-class.d.ts +43 -0
- package/dist/models/list-email-messages-response-class.js +15 -0
- package/dist/models/list-email-threads-response-class.d.ts +43 -0
- package/dist/models/list-email-threads-response-class.js +15 -0
- package/dist/models/list-layouts-response-class.d.ts +30 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-notification-templates-response-class.d.ts +30 -0
- package/dist/models/list-notification-templates-response-class.js +15 -0
- package/dist/models/notification-template-class.d.ts +98 -0
- package/dist/models/notification-template-class.js +15 -0
- package/dist/models/s3-document-dto.d.ts +36 -0
- package/dist/models/s3-document-dto.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +115 -0
- package/dist/models/send-notification-request-dto.js +21 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-html-template-request-dto.d.ts +42 -0
- package/dist/models/update-html-template-request-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/dist/models/update-notification-template-request-dto.d.ts +73 -0
- package/dist/models/update-notification-template-request-dto.js +15 -0
- package/dist/models/update-notification-template-response-class.d.ts +25 -0
- package/dist/models/update-notification-template-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/complete-email-verification-dto.ts +36 -0
- package/models/complete-email-verification-response-class.ts +30 -0
- package/models/create-layout-request-dto.ts +54 -0
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-notification-template-request-dto.ts +72 -0
- package/models/create-notification-template-response-class.ts +31 -0
- package/models/delete-layout-request-dto.ts +30 -0
- package/models/delete-notification-template-request-dto.ts +30 -0
- package/models/download-attachment-response-class.ts +42 -0
- package/models/email-attachment-class.ts +90 -0
- package/models/email-message-class.ts +150 -0
- package/models/email-thread-class.ts +92 -0
- package/models/get-email-message-response-class.ts +31 -0
- package/models/get-email-thread-response-class.ts +31 -0
- package/models/get-layout-request-dto.ts +30 -0
- package/models/get-layout-response-class.ts +31 -0
- package/models/get-notification-template-request-dto.ts +36 -0
- package/models/get-notification-template-response-class.ts +31 -0
- package/models/html-template-class.ts +60 -0
- package/models/index.ts +38 -0
- package/models/initiate-email-verification-dto.ts +36 -0
- package/models/initiate-email-verification-response-class.ts +30 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/layout-class.ts +79 -0
- package/models/list-email-attachments-response-class.ts +31 -0
- package/models/list-email-messages-response-class.ts +49 -0
- package/models/list-email-threads-response-class.ts +49 -0
- package/models/list-layouts-response-class.ts +36 -0
- package/models/list-notification-templates-response-class.ts +36 -0
- package/models/notification-template-class.ts +104 -0
- package/models/s3-document-dto.ts +42 -0
- package/models/send-notification-request-dto.ts +124 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-html-template-request-dto.ts +51 -0
- package/models/update-layout-request-dto.ts +61 -0
- package/models/update-layout-response-class.ts +31 -0
- package/models/update-notification-template-request-dto.ts +79 -0
- package/models/update-notification-template-response-class.ts +31 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,264 @@
|
|
|
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 { CompleteEmailVerificationDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CompleteEmailVerificationResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { InitiateEmailVerificationDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { InitiateEmailVerificationResponseClass } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* EmailVerificationsApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const EmailVerificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* undefined **Required Permissions** none
|
|
39
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
40
|
+
* @param {string} [authorization] Bearer Token
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
completeEmailVerification: async (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
// verify required parameter 'completeEmailVerificationDto' is not null or undefined
|
|
46
|
+
assertParamExists('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto)
|
|
47
|
+
const localVarPath = `/notificationservice/v1/email-verification/complete`;
|
|
48
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50
|
+
let baseOptions;
|
|
51
|
+
let baseAccessToken;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
baseAccessToken = configuration.accessToken;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
// authentication bearer required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
+
|
|
65
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
66
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72
|
+
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
+
localVarRequestOptions.data = serializeDataIfNeeded(completeEmailVerificationDto, localVarRequestOptions, configuration)
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
url: toPathString(localVarUrlObj),
|
|
80
|
+
options: localVarRequestOptions,
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* undefined **Required Permissions** none
|
|
85
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
initiateEmailVerification: async (initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91
|
+
// verify required parameter 'initiateEmailVerificationDto' is not null or undefined
|
|
92
|
+
assertParamExists('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto)
|
|
93
|
+
const localVarPath = `/notificationservice/v1/email-verification/initiate`;
|
|
94
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
96
|
+
let baseOptions;
|
|
97
|
+
let baseAccessToken;
|
|
98
|
+
if (configuration) {
|
|
99
|
+
baseOptions = configuration.baseOptions;
|
|
100
|
+
baseAccessToken = configuration.accessToken;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
104
|
+
const localVarHeaderParameter = {} as any;
|
|
105
|
+
const localVarQueryParameter = {} as any;
|
|
106
|
+
|
|
107
|
+
// authentication bearer required
|
|
108
|
+
// http bearer authentication required
|
|
109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
110
|
+
|
|
111
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
112
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
118
|
+
|
|
119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
122
|
+
localVarRequestOptions.data = serializeDataIfNeeded(initiateEmailVerificationDto, localVarRequestOptions, configuration)
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
url: toPathString(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* EmailVerificationsApi - functional programming interface
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
export const EmailVerificationsApiFp = function(configuration?: Configuration) {
|
|
137
|
+
const localVarAxiosParamCreator = EmailVerificationsApiAxiosParamCreator(configuration)
|
|
138
|
+
return {
|
|
139
|
+
/**
|
|
140
|
+
* undefined **Required Permissions** none
|
|
141
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
142
|
+
* @param {string} [authorization] Bearer Token
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
async completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>> {
|
|
147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeEmailVerification(completeEmailVerificationDto, authorization, options);
|
|
148
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* undefined **Required Permissions** none
|
|
152
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
async initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateEmailVerificationResponseClass>> {
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateEmailVerification(initiateEmailVerificationDto, authorization, options);
|
|
159
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
160
|
+
},
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* EmailVerificationsApi - factory interface
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export const EmailVerificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
169
|
+
const localVarFp = EmailVerificationsApiFp(configuration)
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
* undefined **Required Permissions** none
|
|
173
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
174
|
+
* @param {string} [authorization] Bearer Token
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass> {
|
|
179
|
+
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then((request) => request(axios, basePath));
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* undefined **Required Permissions** none
|
|
183
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
184
|
+
* @param {string} [authorization] Bearer Token
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<InitiateEmailVerificationResponseClass> {
|
|
189
|
+
return localVarFp.initiateEmailVerification(initiateEmailVerificationDto, authorization, options).then((request) => request(axios, basePath));
|
|
190
|
+
},
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Request parameters for completeEmailVerification operation in EmailVerificationsApi.
|
|
196
|
+
* @export
|
|
197
|
+
* @interface EmailVerificationsApiCompleteEmailVerificationRequest
|
|
198
|
+
*/
|
|
199
|
+
export interface EmailVerificationsApiCompleteEmailVerificationRequest {
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {CompleteEmailVerificationDto}
|
|
203
|
+
* @memberof EmailVerificationsApiCompleteEmailVerification
|
|
204
|
+
*/
|
|
205
|
+
readonly completeEmailVerificationDto: CompleteEmailVerificationDto
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Bearer Token
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof EmailVerificationsApiCompleteEmailVerification
|
|
211
|
+
*/
|
|
212
|
+
readonly authorization?: string
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Request parameters for initiateEmailVerification operation in EmailVerificationsApi.
|
|
217
|
+
* @export
|
|
218
|
+
* @interface EmailVerificationsApiInitiateEmailVerificationRequest
|
|
219
|
+
*/
|
|
220
|
+
export interface EmailVerificationsApiInitiateEmailVerificationRequest {
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {InitiateEmailVerificationDto}
|
|
224
|
+
* @memberof EmailVerificationsApiInitiateEmailVerification
|
|
225
|
+
*/
|
|
226
|
+
readonly initiateEmailVerificationDto: InitiateEmailVerificationDto
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Bearer Token
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof EmailVerificationsApiInitiateEmailVerification
|
|
232
|
+
*/
|
|
233
|
+
readonly authorization?: string
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* EmailVerificationsApi - object-oriented interface
|
|
238
|
+
* @export
|
|
239
|
+
* @class EmailVerificationsApi
|
|
240
|
+
* @extends {BaseAPI}
|
|
241
|
+
*/
|
|
242
|
+
export class EmailVerificationsApi extends BaseAPI {
|
|
243
|
+
/**
|
|
244
|
+
* undefined **Required Permissions** none
|
|
245
|
+
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
* @memberof EmailVerificationsApi
|
|
249
|
+
*/
|
|
250
|
+
public completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig) {
|
|
251
|
+
return EmailVerificationsApiFp(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* undefined **Required Permissions** none
|
|
256
|
+
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
* @memberof EmailVerificationsApi
|
|
260
|
+
*/
|
|
261
|
+
public initiateEmailVerification(requestParameters: EmailVerificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig) {
|
|
262
|
+
return EmailVerificationsApiFp(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
263
|
+
}
|
|
264
|
+
}
|