@emilgroup/public-api-sdk 1.20.0 → 1.25.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 +3 -0
- package/README.md +2 -2
- package/api/documents-api.ts +114 -0
- package/api/products-api.ts +120 -0
- package/models/calculate-product-fields-request-dto.ts +37 -0
- package/models/calculate-product-fields-response-class.ts +31 -0
- package/models/create-estimated-invoice-response-class.ts +8 -1
- package/models/create-lead-request-dto.ts +7 -7
- package/models/document-class.ts +6 -0
- package/models/index.ts +3 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/policy-object-request-dto.ts +1 -1
- package/{dist/models/policy-object-request-dto.d.ts → models/policy-object-response-class.ts} +16 -16
- package/models/product-document-class.ts +7 -7
- package/models/update-lead-request-dto.ts +5 -5
- package/package.json +1 -2
- package/dist/api/address-completions-validations-api.d.ts +0 -215
- package/dist/api/address-completions-validations-api.js +0 -369
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -196
- package/dist/api/documents-api.d.ts +0 -475
- package/dist/api/documents-api.js +0 -753
- package/dist/api/leads-api.d.ts +0 -441
- package/dist/api/leads-api.js +0 -787
- package/dist/api/notifications-api.d.ts +0 -211
- package/dist/api/notifications-api.js +0 -410
- package/dist/api/payments-setup-api.d.ts +0 -228
- package/dist/api/payments-setup-api.js +0 -422
- package/dist/api/products-api.d.ts +0 -497
- package/dist/api/products-api.js +0 -823
- package/dist/api.d.ts +0 -18
- package/dist/api.js +0 -36
- package/dist/base.d.ts +0 -74
- package/dist/base.js +0 -298
- package/dist/common.d.ts +0 -91
- package/dist/common.js +0 -276
- package/dist/configuration.d.ts +0 -83
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/address-completion-item-class.d.ts +0 -49
- package/dist/models/address-completion-item-class.js +0 -15
- package/dist/models/address-completion-response-class.d.ts +0 -25
- package/dist/models/address-completion-response-class.js +0 -15
- package/dist/models/address-field-score-class.d.ts +0 -48
- package/dist/models/address-field-score-class.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-email-verification-dto.d.ts +0 -30
- package/dist/models/complete-email-verification-dto.js +0 -15
- package/dist/models/complete-email-verification-response-class.d.ts +0 -24
- package/dist/models/complete-email-verification-response-class.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-account-request-dto.d.ts +0 -132
- package/dist/models/create-account-request-dto.js +0 -31
- package/dist/models/create-bank-account-request-dto.d.ts +0 -30
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-custom-application-request-dto.d.ts +0 -35
- package/dist/models/create-custom-application-request-dto.js +0 -20
- package/dist/models/create-custom-application-response-class.d.ts +0 -24
- package/dist/models/create-custom-application-response-class.js +0 -15
- package/dist/models/create-document-request-dto.d.ts +0 -132
- package/dist/models/create-document-request-dto.js +0 -43
- package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -55
- package/dist/models/create-estimated-invoice-request-dto.js +0 -20
- package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
- package/dist/models/create-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-lead-async-response-class.d.ts +0 -24
- package/dist/models/create-lead-async-response-class.js +0 -15
- package/dist/models/create-lead-request-dto.d.ts +0 -108
- package/dist/models/create-lead-request-dto.js +0 -15
- package/dist/models/create-lead-response-class.d.ts +0 -25
- package/dist/models/create-lead-response-class.js +0 -15
- package/dist/models/create-payment-method-request-dto.d.ts +0 -36
- package/dist/models/create-payment-method-request-dto.js +0 -20
- package/dist/models/create-presigned-post-request-dto.d.ts +0 -128
- package/dist/models/create-presigned-post-request-dto.js +0 -52
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/document-class.d.ts +0 -138
- package/dist/models/document-class.js +0 -49
- package/dist/models/get-custom-css-response-class.d.ts +0 -24
- package/dist/models/get-custom-css-response-class.js +0 -15
- package/dist/models/get-lead-response-class.d.ts +0 -25
- package/dist/models/get-lead-response-class.js +0 -15
- package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-product-document-download-url-response-class.js +0 -15
- package/dist/models/get-public-psp-settings-response-class.d.ts +0 -30
- package/dist/models/get-public-psp-settings-response-class.js +0 -15
- package/dist/models/index.d.ts +0 -69
- package/dist/models/index.js +0 -85
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-email-verification-dto.d.ts +0 -30
- package/dist/models/initiate-email-verification-dto.js +0 -15
- package/dist/models/initiate-email-verification-response-class.d.ts +0 -24
- package/dist/models/initiate-email-verification-response-class.js +0 -15
- package/dist/models/initiate-lead-response-class.d.ts +0 -24
- package/dist/models/initiate-lead-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/insured-object-class.d.ts +0 -85
- package/dist/models/insured-object-class.js +0 -15
- package/dist/models/insured-object-type-class.d.ts +0 -48
- package/dist/models/insured-object-type-class.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -134
- package/dist/models/invoice-class.js +0 -15
- package/dist/models/invoice-item-class.d.ts +0 -120
- package/dist/models/invoice-item-class.js +0 -15
- package/dist/models/invoice-status-class.d.ts +0 -42
- package/dist/models/invoice-status-class.js +0 -15
- package/dist/models/lead-account-class.d.ts +0 -109
- package/dist/models/lead-account-class.js +0 -22
- package/dist/models/lead-bank-account-class.d.ts +0 -30
- package/dist/models/lead-bank-account-class.js +0 -15
- package/dist/models/lead-class.d.ts +0 -109
- package/dist/models/lead-class.js +0 -15
- package/dist/models/lead-policy-class.d.ts +0 -43
- package/dist/models/lead-policy-class.js +0 -15
- package/dist/models/lead-policy-object-class.d.ts +0 -36
- package/dist/models/lead-policy-object-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-product-documents-response-class.d.ts +0 -31
- package/dist/models/list-product-documents-response-class.js +0 -15
- package/dist/models/list-products-response-class.d.ts +0 -31
- package/dist/models/list-products-response-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -60
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/policy-object-request-dto.js +0 -15
- package/dist/models/premium-override-dto.d.ts +0 -55
- package/dist/models/premium-override-dto.js +0 -27
- package/dist/models/premium-override-request-dto.d.ts +0 -25
- package/dist/models/premium-override-request-dto.js +0 -15
- package/dist/models/product-class.d.ts +0 -80
- package/dist/models/product-class.js +0 -15
- package/dist/models/product-document-class.d.ts +0 -111
- package/dist/models/product-document-class.js +0 -36
- package/dist/models/product-factor-for-version-class.d.ts +0 -60
- package/dist/models/product-factor-for-version-class.js +0 -15
- package/dist/models/product-field-class.d.ts +0 -132
- package/dist/models/product-field-class.js +0 -15
- package/dist/models/product-version-class.d.ts +0 -61
- package/dist/models/product-version-class.js +0 -22
- package/dist/models/send-notification-request-dto.d.ts +0 -36
- package/dist/models/send-notification-request-dto.js +0 -15
- package/dist/models/send-notification-response-class.d.ts +0 -24
- package/dist/models/send-notification-response-class.js +0 -15
- package/dist/models/sepa-dto.d.ts +0 -30
- package/dist/models/sepa-dto.js +0 -15
- package/dist/models/structured-address-class.d.ts +0 -54
- package/dist/models/structured-address-class.js +0 -15
- package/dist/models/suggested-address-details-class.d.ts +0 -90
- package/dist/models/suggested-address-details-class.js +0 -15
- package/dist/models/update-lead-request-dto.d.ts +0 -95
- package/dist/models/update-lead-request-dto.js +0 -15
- package/dist/models/update-lead-response-class.d.ts +0 -25
- package/dist/models/update-lead-response-class.js +0 -15
- package/dist/models/uploaded-document-dto.d.ts +0 -24
- package/dist/models/uploaded-document-dto.js +0 -15
- package/dist/models/validate-address-response-class.d.ts +0 -50
- package/dist/models/validate-address-response-class.js +0 -15
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil PublicAPI
|
|
3
|
-
* The Emil Public API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CompleteEmailVerificationDto } from '../models';
|
|
16
|
-
import { CompleteEmailVerificationResponseClass } from '../models';
|
|
17
|
-
import { InitiateEmailVerificationDto } from '../models';
|
|
18
|
-
import { InitiateEmailVerificationResponseClass } from '../models';
|
|
19
|
-
import { SendNotificationRequestDto } from '../models';
|
|
20
|
-
import { SendNotificationResponseClass } from '../models';
|
|
21
|
-
/**
|
|
22
|
-
* NotificationsApi - axios parameter creator
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
-
/**
|
|
27
|
-
* This validates a token provided by customer.
|
|
28
|
-
* @summary Complete Email Verification.
|
|
29
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
30
|
-
* @param {string} [authorization] Bearer Token
|
|
31
|
-
* @param {*} [options] Override http request option.
|
|
32
|
-
* @throws {RequiredError}
|
|
33
|
-
*/
|
|
34
|
-
completeEmailVerification: (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
-
/**
|
|
36
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
37
|
-
* @summary Initiate Email Verification.
|
|
38
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
39
|
-
* @param {string} [authorization] Bearer Token
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
initiateEmailVerification: (initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
-
/**
|
|
45
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
46
|
-
* @summary Send an email.
|
|
47
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
48
|
-
* @param {string} [authorization] Bearer Token
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
*/
|
|
52
|
-
sendNotification: (sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* NotificationsApi - functional programming interface
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
59
|
-
/**
|
|
60
|
-
* This validates a token provided by customer.
|
|
61
|
-
* @summary Complete Email Verification.
|
|
62
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
63
|
-
* @param {string} [authorization] Bearer Token
|
|
64
|
-
* @param {*} [options] Override http request option.
|
|
65
|
-
* @throws {RequiredError}
|
|
66
|
-
*/
|
|
67
|
-
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>>;
|
|
68
|
-
/**
|
|
69
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
70
|
-
* @summary Initiate Email Verification.
|
|
71
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
72
|
-
* @param {string} [authorization] Bearer Token
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateEmailVerificationResponseClass>>;
|
|
77
|
-
/**
|
|
78
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
79
|
-
* @summary Send an email.
|
|
80
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
81
|
-
* @param {string} [authorization] Bearer Token
|
|
82
|
-
* @param {*} [options] Override http request option.
|
|
83
|
-
* @throws {RequiredError}
|
|
84
|
-
*/
|
|
85
|
-
sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendNotificationResponseClass>>;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* NotificationsApi - factory interface
|
|
89
|
-
* @export
|
|
90
|
-
*/
|
|
91
|
-
export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
|
-
/**
|
|
93
|
-
* This validates a token provided by customer.
|
|
94
|
-
* @summary Complete Email Verification.
|
|
95
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
96
|
-
* @param {string} [authorization] Bearer Token
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass>;
|
|
101
|
-
/**
|
|
102
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
103
|
-
* @summary Initiate Email Verification.
|
|
104
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
105
|
-
* @param {string} [authorization] Bearer Token
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<InitiateEmailVerificationResponseClass>;
|
|
110
|
-
/**
|
|
111
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
112
|
-
* @summary Send an email.
|
|
113
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
114
|
-
* @param {string} [authorization] Bearer Token
|
|
115
|
-
* @param {*} [options] Override http request option.
|
|
116
|
-
* @throws {RequiredError}
|
|
117
|
-
*/
|
|
118
|
-
sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: any): AxiosPromise<SendNotificationResponseClass>;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Request parameters for completeEmailVerification operation in NotificationsApi.
|
|
122
|
-
* @export
|
|
123
|
-
* @interface NotificationsApiCompleteEmailVerificationRequest
|
|
124
|
-
*/
|
|
125
|
-
export interface NotificationsApiCompleteEmailVerificationRequest {
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {CompleteEmailVerificationDto}
|
|
129
|
-
* @memberof NotificationsApiCompleteEmailVerification
|
|
130
|
-
*/
|
|
131
|
-
readonly completeEmailVerificationDto: CompleteEmailVerificationDto;
|
|
132
|
-
/**
|
|
133
|
-
* Bearer Token
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof NotificationsApiCompleteEmailVerification
|
|
136
|
-
*/
|
|
137
|
-
readonly authorization?: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Request parameters for initiateEmailVerification operation in NotificationsApi.
|
|
141
|
-
* @export
|
|
142
|
-
* @interface NotificationsApiInitiateEmailVerificationRequest
|
|
143
|
-
*/
|
|
144
|
-
export interface NotificationsApiInitiateEmailVerificationRequest {
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* @type {InitiateEmailVerificationDto}
|
|
148
|
-
* @memberof NotificationsApiInitiateEmailVerification
|
|
149
|
-
*/
|
|
150
|
-
readonly initiateEmailVerificationDto: InitiateEmailVerificationDto;
|
|
151
|
-
/**
|
|
152
|
-
* Bearer Token
|
|
153
|
-
* @type {string}
|
|
154
|
-
* @memberof NotificationsApiInitiateEmailVerification
|
|
155
|
-
*/
|
|
156
|
-
readonly authorization?: string;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Request parameters for sendNotification operation in NotificationsApi.
|
|
160
|
-
* @export
|
|
161
|
-
* @interface NotificationsApiSendNotificationRequest
|
|
162
|
-
*/
|
|
163
|
-
export interface NotificationsApiSendNotificationRequest {
|
|
164
|
-
/**
|
|
165
|
-
*
|
|
166
|
-
* @type {SendNotificationRequestDto}
|
|
167
|
-
* @memberof NotificationsApiSendNotification
|
|
168
|
-
*/
|
|
169
|
-
readonly sendNotificationRequestDto: SendNotificationRequestDto;
|
|
170
|
-
/**
|
|
171
|
-
* Bearer Token
|
|
172
|
-
* @type {string}
|
|
173
|
-
* @memberof NotificationsApiSendNotification
|
|
174
|
-
*/
|
|
175
|
-
readonly authorization?: string;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* NotificationsApi - object-oriented interface
|
|
179
|
-
* @export
|
|
180
|
-
* @class NotificationsApi
|
|
181
|
-
* @extends {BaseAPI}
|
|
182
|
-
*/
|
|
183
|
-
export declare class NotificationsApi extends BaseAPI {
|
|
184
|
-
/**
|
|
185
|
-
* This validates a token provided by customer.
|
|
186
|
-
* @summary Complete Email Verification.
|
|
187
|
-
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
188
|
-
* @param {*} [options] Override http request option.
|
|
189
|
-
* @throws {RequiredError}
|
|
190
|
-
* @memberof NotificationsApi
|
|
191
|
-
*/
|
|
192
|
-
completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
|
|
193
|
-
/**
|
|
194
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
195
|
-
* @summary Initiate Email Verification.
|
|
196
|
-
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
197
|
-
* @param {*} [options] Override http request option.
|
|
198
|
-
* @throws {RequiredError}
|
|
199
|
-
* @memberof NotificationsApi
|
|
200
|
-
*/
|
|
201
|
-
initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
|
|
202
|
-
/**
|
|
203
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
204
|
-
* @summary Send an email.
|
|
205
|
-
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
206
|
-
* @param {*} [options] Override http request option.
|
|
207
|
-
* @throws {RequiredError}
|
|
208
|
-
* @memberof NotificationsApi
|
|
209
|
-
*/
|
|
210
|
-
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any>>;
|
|
211
|
-
}
|
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil PublicAPI
|
|
6
|
-
* The Emil Public API description
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: kontakt@emil.de
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __assign = (this && this.__assign) || function () {
|
|
31
|
-
__assign = Object.assign || function(t) {
|
|
32
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
-
s = arguments[i];
|
|
34
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
-
t[p] = s[p];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
};
|
|
39
|
-
return __assign.apply(this, arguments);
|
|
40
|
-
};
|
|
41
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
-
function step(op) {
|
|
55
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
-
switch (op[0]) {
|
|
60
|
-
case 0: case 1: t = op; break;
|
|
61
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
-
default:
|
|
65
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
-
if (t[2]) _.ops.pop();
|
|
70
|
-
_.trys.pop(); continue;
|
|
71
|
-
}
|
|
72
|
-
op = body.call(thisArg, _);
|
|
73
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
-
};
|
|
80
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = void 0;
|
|
82
|
-
var axios_1 = __importDefault(require("axios"));
|
|
83
|
-
// Some imports not used depending on template conditions
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
var common_1 = require("../common");
|
|
86
|
-
// @ts-ignore
|
|
87
|
-
var base_1 = require("../base");
|
|
88
|
-
/**
|
|
89
|
-
* NotificationsApi - axios parameter creator
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
var NotificationsApiAxiosParamCreator = function (configuration) {
|
|
93
|
-
var _this = this;
|
|
94
|
-
return {
|
|
95
|
-
/**
|
|
96
|
-
* This validates a token provided by customer.
|
|
97
|
-
* @summary Complete Email Verification.
|
|
98
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
99
|
-
* @param {string} [authorization] Bearer Token
|
|
100
|
-
* @param {*} [options] Override http request option.
|
|
101
|
-
* @throws {RequiredError}
|
|
102
|
-
*/
|
|
103
|
-
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
104
|
-
if (options === void 0) { options = {}; }
|
|
105
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
-
return __generator(this, function (_a) {
|
|
108
|
-
switch (_a.label) {
|
|
109
|
-
case 0:
|
|
110
|
-
// verify required parameter 'completeEmailVerificationDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto);
|
|
112
|
-
localVarPath = "/publicapi/v1/email-verification/complete";
|
|
113
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
-
if (configuration) {
|
|
115
|
-
baseOptions = configuration.baseOptions;
|
|
116
|
-
baseAccessToken = configuration.accessToken;
|
|
117
|
-
}
|
|
118
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
-
localVarHeaderParameter = {};
|
|
120
|
-
localVarQueryParameter = {};
|
|
121
|
-
// authentication bearer required
|
|
122
|
-
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
-
case 1:
|
|
125
|
-
// authentication bearer required
|
|
126
|
-
// http bearer authentication required
|
|
127
|
-
_a.sent();
|
|
128
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
-
}
|
|
131
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeEmailVerificationDto, localVarRequestOptions, configuration);
|
|
136
|
-
return [2 /*return*/, {
|
|
137
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
-
options: localVarRequestOptions,
|
|
139
|
-
}];
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
},
|
|
144
|
-
/**
|
|
145
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
146
|
-
* @summary Initiate Email Verification.
|
|
147
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
148
|
-
* @param {string} [authorization] Bearer Token
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
153
|
-
if (options === void 0) { options = {}; }
|
|
154
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
-
return __generator(this, function (_a) {
|
|
157
|
-
switch (_a.label) {
|
|
158
|
-
case 0:
|
|
159
|
-
// verify required parameter 'initiateEmailVerificationDto' is not null or undefined
|
|
160
|
-
(0, common_1.assertParamExists)('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto);
|
|
161
|
-
localVarPath = "/publicapi/v1/email-verification/initiate";
|
|
162
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
-
if (configuration) {
|
|
164
|
-
baseOptions = configuration.baseOptions;
|
|
165
|
-
baseAccessToken = configuration.accessToken;
|
|
166
|
-
}
|
|
167
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
-
localVarHeaderParameter = {};
|
|
169
|
-
localVarQueryParameter = {};
|
|
170
|
-
// authentication bearer required
|
|
171
|
-
// http bearer authentication required
|
|
172
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
173
|
-
case 1:
|
|
174
|
-
// authentication bearer required
|
|
175
|
-
// http bearer authentication required
|
|
176
|
-
_a.sent();
|
|
177
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
179
|
-
}
|
|
180
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiateEmailVerificationDto, localVarRequestOptions, configuration);
|
|
185
|
-
return [2 /*return*/, {
|
|
186
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
-
options: localVarRequestOptions,
|
|
188
|
-
}];
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
|
-
/**
|
|
194
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
195
|
-
* @summary Send an email.
|
|
196
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
197
|
-
* @param {string} [authorization] Bearer Token
|
|
198
|
-
* @param {*} [options] Override http request option.
|
|
199
|
-
* @throws {RequiredError}
|
|
200
|
-
*/
|
|
201
|
-
sendNotification: function (sendNotificationRequestDto, authorization, options) {
|
|
202
|
-
if (options === void 0) { options = {}; }
|
|
203
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
-
return __generator(this, function (_a) {
|
|
206
|
-
switch (_a.label) {
|
|
207
|
-
case 0:
|
|
208
|
-
// verify required parameter 'sendNotificationRequestDto' is not null or undefined
|
|
209
|
-
(0, common_1.assertParamExists)('sendNotification', 'sendNotificationRequestDto', sendNotificationRequestDto);
|
|
210
|
-
localVarPath = "/publicapi/v1/emails/send";
|
|
211
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
|
-
if (configuration) {
|
|
213
|
-
baseOptions = configuration.baseOptions;
|
|
214
|
-
baseAccessToken = configuration.accessToken;
|
|
215
|
-
}
|
|
216
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
217
|
-
localVarHeaderParameter = {};
|
|
218
|
-
localVarQueryParameter = {};
|
|
219
|
-
// authentication bearer required
|
|
220
|
-
// http bearer authentication required
|
|
221
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
222
|
-
case 1:
|
|
223
|
-
// authentication bearer required
|
|
224
|
-
// http bearer authentication required
|
|
225
|
-
_a.sent();
|
|
226
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
|
-
}
|
|
229
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
230
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
231
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
233
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendNotificationRequestDto, localVarRequestOptions, configuration);
|
|
234
|
-
return [2 /*return*/, {
|
|
235
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
|
-
options: localVarRequestOptions,
|
|
237
|
-
}];
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
});
|
|
241
|
-
},
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
exports.NotificationsApiAxiosParamCreator = NotificationsApiAxiosParamCreator;
|
|
245
|
-
/**
|
|
246
|
-
* NotificationsApi - functional programming interface
|
|
247
|
-
* @export
|
|
248
|
-
*/
|
|
249
|
-
var NotificationsApiFp = function (configuration) {
|
|
250
|
-
var localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
251
|
-
return {
|
|
252
|
-
/**
|
|
253
|
-
* This validates a token provided by customer.
|
|
254
|
-
* @summary Complete Email Verification.
|
|
255
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
256
|
-
* @param {string} [authorization] Bearer Token
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
*/
|
|
260
|
-
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
261
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
262
|
-
var localVarAxiosArgs;
|
|
263
|
-
return __generator(this, function (_a) {
|
|
264
|
-
switch (_a.label) {
|
|
265
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completeEmailVerification(completeEmailVerificationDto, authorization, options)];
|
|
266
|
-
case 1:
|
|
267
|
-
localVarAxiosArgs = _a.sent();
|
|
268
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
});
|
|
272
|
-
},
|
|
273
|
-
/**
|
|
274
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
275
|
-
* @summary Initiate Email Verification.
|
|
276
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
277
|
-
* @param {string} [authorization] Bearer Token
|
|
278
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
*/
|
|
281
|
-
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
282
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
283
|
-
var localVarAxiosArgs;
|
|
284
|
-
return __generator(this, function (_a) {
|
|
285
|
-
switch (_a.label) {
|
|
286
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiateEmailVerification(initiateEmailVerificationDto, authorization, options)];
|
|
287
|
-
case 1:
|
|
288
|
-
localVarAxiosArgs = _a.sent();
|
|
289
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
});
|
|
293
|
-
},
|
|
294
|
-
/**
|
|
295
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
296
|
-
* @summary Send an email.
|
|
297
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
298
|
-
* @param {string} [authorization] Bearer Token
|
|
299
|
-
* @param {*} [options] Override http request option.
|
|
300
|
-
* @throws {RequiredError}
|
|
301
|
-
*/
|
|
302
|
-
sendNotification: function (sendNotificationRequestDto, authorization, options) {
|
|
303
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
304
|
-
var localVarAxiosArgs;
|
|
305
|
-
return __generator(this, function (_a) {
|
|
306
|
-
switch (_a.label) {
|
|
307
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendNotification(sendNotificationRequestDto, authorization, options)];
|
|
308
|
-
case 1:
|
|
309
|
-
localVarAxiosArgs = _a.sent();
|
|
310
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
},
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
exports.NotificationsApiFp = NotificationsApiFp;
|
|
318
|
-
/**
|
|
319
|
-
* NotificationsApi - factory interface
|
|
320
|
-
* @export
|
|
321
|
-
*/
|
|
322
|
-
var NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
323
|
-
var localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
324
|
-
return {
|
|
325
|
-
/**
|
|
326
|
-
* This validates a token provided by customer.
|
|
327
|
-
* @summary Complete Email Verification.
|
|
328
|
-
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
329
|
-
* @param {string} [authorization] Bearer Token
|
|
330
|
-
* @param {*} [options] Override http request option.
|
|
331
|
-
* @throws {RequiredError}
|
|
332
|
-
*/
|
|
333
|
-
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
334
|
-
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
335
|
-
},
|
|
336
|
-
/**
|
|
337
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
338
|
-
* @summary Initiate Email Verification.
|
|
339
|
-
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
340
|
-
* @param {string} [authorization] Bearer Token
|
|
341
|
-
* @param {*} [options] Override http request option.
|
|
342
|
-
* @throws {RequiredError}
|
|
343
|
-
*/
|
|
344
|
-
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
345
|
-
return localVarFp.initiateEmailVerification(initiateEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
346
|
-
},
|
|
347
|
-
/**
|
|
348
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
349
|
-
* @summary Send an email.
|
|
350
|
-
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
351
|
-
* @param {string} [authorization] Bearer Token
|
|
352
|
-
* @param {*} [options] Override http request option.
|
|
353
|
-
* @throws {RequiredError}
|
|
354
|
-
*/
|
|
355
|
-
sendNotification: function (sendNotificationRequestDto, authorization, options) {
|
|
356
|
-
return localVarFp.sendNotification(sendNotificationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
357
|
-
},
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
exports.NotificationsApiFactory = NotificationsApiFactory;
|
|
361
|
-
/**
|
|
362
|
-
* NotificationsApi - object-oriented interface
|
|
363
|
-
* @export
|
|
364
|
-
* @class NotificationsApi
|
|
365
|
-
* @extends {BaseAPI}
|
|
366
|
-
*/
|
|
367
|
-
var NotificationsApi = /** @class */ (function (_super) {
|
|
368
|
-
__extends(NotificationsApi, _super);
|
|
369
|
-
function NotificationsApi() {
|
|
370
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* This validates a token provided by customer.
|
|
374
|
-
* @summary Complete Email Verification.
|
|
375
|
-
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
* @memberof NotificationsApi
|
|
379
|
-
*/
|
|
380
|
-
NotificationsApi.prototype.completeEmailVerification = function (requestParameters, options) {
|
|
381
|
-
var _this = this;
|
|
382
|
-
return (0, exports.NotificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* This sends an email to the specific recipient set to receive verification code.
|
|
386
|
-
* @summary Initiate Email Verification.
|
|
387
|
-
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
388
|
-
* @param {*} [options] Override http request option.
|
|
389
|
-
* @throws {RequiredError}
|
|
390
|
-
* @memberof NotificationsApi
|
|
391
|
-
*/
|
|
392
|
-
NotificationsApi.prototype.initiateEmailVerification = function (requestParameters, options) {
|
|
393
|
-
var _this = this;
|
|
394
|
-
return (0, exports.NotificationsApiFp)(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
395
|
-
};
|
|
396
|
-
/**
|
|
397
|
-
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
398
|
-
* @summary Send an email.
|
|
399
|
-
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
400
|
-
* @param {*} [options] Override http request option.
|
|
401
|
-
* @throws {RequiredError}
|
|
402
|
-
* @memberof NotificationsApi
|
|
403
|
-
*/
|
|
404
|
-
NotificationsApi.prototype.sendNotification = function (requestParameters, options) {
|
|
405
|
-
var _this = this;
|
|
406
|
-
return (0, exports.NotificationsApiFp)(this.configuration).sendNotification(requestParameters.sendNotificationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
407
|
-
};
|
|
408
|
-
return NotificationsApi;
|
|
409
|
-
}(base_1.BaseAPI));
|
|
410
|
-
exports.NotificationsApi = NotificationsApi;
|