@emilgroup/public-api-sdk-node 1.40.1-beta.3 → 1.40.1-beta.5
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 +2 -1
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +20 -6
- package/api/documents-api.ts +10 -8
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/leads-api.ts +98 -10
- package/api/payments-setup-api.ts +113 -11
- package/api.ts +2 -2
- package/dist/api/address-completions-validations-api.d.ts +12 -3
- package/dist/api/address-completions-validations-api.js +12 -6
- package/dist/api/documents-api.d.ts +9 -8
- package/dist/api/documents-api.js +3 -3
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/leads-api.d.ts +52 -6
- package/dist/api/leads-api.js +94 -7
- package/dist/api/payments-setup-api.d.ts +62 -7
- package/dist/api/payments-setup-api.js +100 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/models/get-product-document-download-url-request-rest-dto.d.ts +29 -0
- package/dist/models/get-product-document-download-url-request-rest-dto.js +20 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/get-product-document-download-url-request-rest-dto.ts +38 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
|
@@ -35,13 +35,22 @@ export declare const PaymentsSetupApiAxiosParamCreator: (configuration?: Configu
|
|
|
35
35
|
/**
|
|
36
36
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
37
37
|
* @summary Get public key and psp
|
|
38
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
39
|
+
* @param {string} [authorization] Bearer Token
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getPublicPSPConfig: (idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
46
|
+
* @summary Retrieve the psp-settings
|
|
38
47
|
* @param {string} productSlug
|
|
39
48
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
40
49
|
* @param {string} [authorization] Bearer Token
|
|
41
50
|
* @param {*} [options] Override http request option.
|
|
42
51
|
* @throws {RequiredError}
|
|
43
52
|
*/
|
|
44
|
-
|
|
53
|
+
getPublicPSPConfigForProduct: (productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
54
|
/**
|
|
46
55
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
47
56
|
* @summary Initiate a payment setup
|
|
@@ -71,13 +80,22 @@ export declare const PaymentsSetupApiFp: (configuration?: Configuration) => {
|
|
|
71
80
|
/**
|
|
72
81
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
73
82
|
* @summary Get public key and psp
|
|
83
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
84
|
+
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>>;
|
|
89
|
+
/**
|
|
90
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
91
|
+
* @summary Retrieve the psp-settings
|
|
74
92
|
* @param {string} productSlug
|
|
75
93
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
76
94
|
* @param {string} [authorization] Bearer Token
|
|
77
95
|
* @param {*} [options] Override http request option.
|
|
78
96
|
* @throws {RequiredError}
|
|
79
97
|
*/
|
|
80
|
-
|
|
98
|
+
getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>>;
|
|
81
99
|
/**
|
|
82
100
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
83
101
|
* @summary Initiate a payment setup
|
|
@@ -107,13 +125,22 @@ export declare const PaymentsSetupApiFactory: (configuration?: Configuration, ba
|
|
|
107
125
|
/**
|
|
108
126
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
109
127
|
* @summary Get public key and psp
|
|
128
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
129
|
+
* @param {string} [authorization] Bearer Token
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass>;
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
136
|
+
* @summary Retrieve the psp-settings
|
|
110
137
|
* @param {string} productSlug
|
|
111
138
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
112
139
|
* @param {string} [authorization] Bearer Token
|
|
113
140
|
* @param {*} [options] Override http request option.
|
|
114
141
|
* @throws {RequiredError}
|
|
115
142
|
*/
|
|
116
|
-
|
|
143
|
+
getPublicPSPConfigForProduct(productSlug: string, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass>;
|
|
117
144
|
/**
|
|
118
145
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
119
146
|
* @summary Initiate a payment setup
|
|
@@ -157,21 +184,40 @@ export interface PaymentsSetupApiCompletePaymentSetupRequest {
|
|
|
157
184
|
*/
|
|
158
185
|
export interface PaymentsSetupApiGetPublicPSPConfigRequest {
|
|
159
186
|
/**
|
|
160
|
-
*
|
|
187
|
+
* An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfig
|
|
190
|
+
*/
|
|
191
|
+
readonly idempotencyKey?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Bearer Token
|
|
161
194
|
* @type {string}
|
|
162
195
|
* @memberof PaymentsSetupApiGetPublicPSPConfig
|
|
163
196
|
*/
|
|
197
|
+
readonly authorization?: string;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Request parameters for getPublicPSPConfigForProduct operation in PaymentsSetupApi.
|
|
201
|
+
* @export
|
|
202
|
+
* @interface PaymentsSetupApiGetPublicPSPConfigForProductRequest
|
|
203
|
+
*/
|
|
204
|
+
export interface PaymentsSetupApiGetPublicPSPConfigForProductRequest {
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
|
|
209
|
+
*/
|
|
164
210
|
readonly productSlug: string;
|
|
165
211
|
/**
|
|
166
212
|
* An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
167
213
|
* @type {string}
|
|
168
|
-
* @memberof
|
|
214
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
|
|
169
215
|
*/
|
|
170
216
|
readonly idempotencyKey?: string;
|
|
171
217
|
/**
|
|
172
218
|
* Bearer Token
|
|
173
219
|
* @type {string}
|
|
174
|
-
* @memberof
|
|
220
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfigForProduct
|
|
175
221
|
*/
|
|
176
222
|
readonly authorization?: string;
|
|
177
223
|
}
|
|
@@ -224,7 +270,16 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
224
270
|
* @throws {RequiredError}
|
|
225
271
|
* @memberof PaymentsSetupApi
|
|
226
272
|
*/
|
|
227
|
-
getPublicPSPConfig(requestParameters
|
|
273
|
+
getPublicPSPConfig(requestParameters?: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
|
|
274
|
+
/**
|
|
275
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
276
|
+
* @summary Retrieve the psp-settings
|
|
277
|
+
* @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
* @memberof PaymentsSetupApi
|
|
281
|
+
*/
|
|
282
|
+
getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
|
|
228
283
|
/**
|
|
229
284
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
230
285
|
* @summary Initiate a payment setup
|
|
@@ -152,13 +152,61 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
152
152
|
/**
|
|
153
153
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
154
154
|
* @summary Get public key and psp
|
|
155
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
156
|
+
* @param {string} [authorization] Bearer Token
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
164
|
+
return __generator(this, function (_a) {
|
|
165
|
+
switch (_a.label) {
|
|
166
|
+
case 0:
|
|
167
|
+
localVarPath = "/publicapi/v1/payment-setup/get-psp-config";
|
|
168
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
169
|
+
if (configuration) {
|
|
170
|
+
baseOptions = configuration.baseOptions;
|
|
171
|
+
baseAccessToken = configuration.accessToken;
|
|
172
|
+
}
|
|
173
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
174
|
+
localVarHeaderParameter = {};
|
|
175
|
+
localVarQueryParameter = {};
|
|
176
|
+
// authentication bearer required
|
|
177
|
+
// http bearer authentication required
|
|
178
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
|
+
case 1:
|
|
180
|
+
// authentication bearer required
|
|
181
|
+
// http bearer authentication required
|
|
182
|
+
_a.sent();
|
|
183
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
184
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
185
|
+
}
|
|
186
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
188
|
+
}
|
|
189
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
+
return [2 /*return*/, {
|
|
193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
}];
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
202
|
+
* @summary Retrieve the psp-settings
|
|
155
203
|
* @param {string} productSlug
|
|
156
204
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
157
205
|
* @param {string} [authorization] Bearer Token
|
|
158
206
|
* @param {*} [options] Override http request option.
|
|
159
207
|
* @throws {RequiredError}
|
|
160
208
|
*/
|
|
161
|
-
|
|
209
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
162
210
|
if (options === void 0) { options = {}; }
|
|
163
211
|
return __awaiter(_this, void 0, void 0, function () {
|
|
164
212
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -166,7 +214,7 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
166
214
|
switch (_a.label) {
|
|
167
215
|
case 0:
|
|
168
216
|
// verify required parameter 'productSlug' is not null or undefined
|
|
169
|
-
(0, common_1.assertParamExists)('
|
|
217
|
+
(0, common_1.assertParamExists)('getPublicPSPConfigForProduct', 'productSlug', productSlug);
|
|
170
218
|
localVarPath = "/publicapi/v1/payment-setup/get-psp-config/{productSlug}"
|
|
171
219
|
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
172
220
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -289,18 +337,39 @@ var PaymentsSetupApiFp = function (configuration) {
|
|
|
289
337
|
/**
|
|
290
338
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
291
339
|
* @summary Get public key and psp
|
|
340
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
341
|
+
* @param {string} [authorization] Bearer Token
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
347
|
+
var localVarAxiosArgs;
|
|
348
|
+
return __generator(this, function (_a) {
|
|
349
|
+
switch (_a.label) {
|
|
350
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options)];
|
|
351
|
+
case 1:
|
|
352
|
+
localVarAxiosArgs = _a.sent();
|
|
353
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
/**
|
|
359
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
360
|
+
* @summary Retrieve the psp-settings
|
|
292
361
|
* @param {string} productSlug
|
|
293
362
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
294
363
|
* @param {string} [authorization] Bearer Token
|
|
295
364
|
* @param {*} [options] Override http request option.
|
|
296
365
|
* @throws {RequiredError}
|
|
297
366
|
*/
|
|
298
|
-
|
|
367
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
299
368
|
return __awaiter(this, void 0, void 0, function () {
|
|
300
369
|
var localVarAxiosArgs;
|
|
301
370
|
return __generator(this, function (_a) {
|
|
302
371
|
switch (_a.label) {
|
|
303
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
372
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options)];
|
|
304
373
|
case 1:
|
|
305
374
|
localVarAxiosArgs = _a.sent();
|
|
306
375
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -355,14 +424,25 @@ var PaymentsSetupApiFactory = function (configuration, basePath, axios) {
|
|
|
355
424
|
/**
|
|
356
425
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
357
426
|
* @summary Get public key and psp
|
|
427
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
428
|
+
* @param {string} [authorization] Bearer Token
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
433
|
+
return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
437
|
+
* @summary Retrieve the psp-settings
|
|
358
438
|
* @param {string} productSlug
|
|
359
439
|
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
360
440
|
* @param {string} [authorization] Bearer Token
|
|
361
441
|
* @param {*} [options] Override http request option.
|
|
362
442
|
* @throws {RequiredError}
|
|
363
443
|
*/
|
|
364
|
-
|
|
365
|
-
return localVarFp.
|
|
444
|
+
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
445
|
+
return localVarFp.getPublicPSPConfigForProduct(productSlug, idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
366
446
|
},
|
|
367
447
|
/**
|
|
368
448
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
@@ -412,7 +492,20 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
412
492
|
*/
|
|
413
493
|
PaymentsSetupApi.prototype.getPublicPSPConfig = function (requestParameters, options) {
|
|
414
494
|
var _this = this;
|
|
415
|
-
|
|
495
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
496
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
497
|
+
};
|
|
498
|
+
/**
|
|
499
|
+
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
500
|
+
* @summary Retrieve the psp-settings
|
|
501
|
+
* @param {PaymentsSetupApiGetPublicPSPConfigForProductRequest} requestParameters Request parameters.
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @throws {RequiredError}
|
|
504
|
+
* @memberof PaymentsSetupApi
|
|
505
|
+
*/
|
|
506
|
+
PaymentsSetupApi.prototype.getPublicPSPConfigForProduct = function (requestParameters, options) {
|
|
507
|
+
var _this = this;
|
|
508
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
416
509
|
};
|
|
417
510
|
/**
|
|
418
511
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
package/dist/api.d.ts
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/address-completions-validations-api';
|
|
13
13
|
export * from './api/booking-funnels-api';
|
|
14
|
-
export * from './api/default-api';
|
|
15
14
|
export * from './api/documents-api';
|
|
15
|
+
export * from './api/health-api';
|
|
16
16
|
export * from './api/leads-api';
|
|
17
17
|
export * from './api/named-ranges-api';
|
|
18
18
|
export * from './api/notifications-api';
|
package/dist/api.js
CHANGED
|
@@ -29,8 +29,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/address-completions-validations-api"), exports);
|
|
31
31
|
__exportStar(require("./api/booking-funnels-api"), exports);
|
|
32
|
-
__exportStar(require("./api/default-api"), exports);
|
|
33
32
|
__exportStar(require("./api/documents-api"), exports);
|
|
33
|
+
__exportStar(require("./api/health-api"), exports);
|
|
34
34
|
__exportStar(require("./api/leads-api"), exports);
|
|
35
35
|
__exportStar(require("./api/named-ranges-api"), exports);
|
|
36
36
|
__exportStar(require("./api/notifications-api"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetProductDocumentDownloadUrlRequestRestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GetProductDocumentDownloadUrlRequestRestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Content disposition override. Default will be depending on the document type.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetProductDocumentDownloadUrlRequestRestDto
|
|
22
|
+
*/
|
|
23
|
+
'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum: {
|
|
26
|
+
readonly Attachment: "attachment";
|
|
27
|
+
readonly Inline: "inline";
|
|
28
|
+
};
|
|
29
|
+
export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = void 0;
|
|
17
|
+
exports.GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
|
|
18
|
+
Attachment: 'attachment',
|
|
19
|
+
Inline: 'inline'
|
|
20
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from './get-booking-funnel-response-class';
|
|
|
48
48
|
export * from './get-custom-css-response-class';
|
|
49
49
|
export * from './get-lead-response-class';
|
|
50
50
|
export * from './get-product-config-tariffs-response-class';
|
|
51
|
+
export * from './get-product-document-download-url-request-rest-dto';
|
|
51
52
|
export * from './get-product-document-download-url-response-class';
|
|
52
53
|
export * from './get-public-psp-settings-response-class';
|
|
53
54
|
export * from './initiate-adyen-payment-setup-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -64,6 +64,7 @@ __exportStar(require("./get-booking-funnel-response-class"), exports);
|
|
|
64
64
|
__exportStar(require("./get-custom-css-response-class"), exports);
|
|
65
65
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
66
66
|
__exportStar(require("./get-product-config-tariffs-response-class"), exports);
|
|
67
|
+
__exportStar(require("./get-product-document-download-url-request-rest-dto"), exports);
|
|
67
68
|
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
68
69
|
__exportStar(require("./get-public-psp-settings-response-class"), exports);
|
|
69
70
|
__exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public 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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetProductDocumentDownloadUrlRequestRestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductDocumentDownloadUrlRequestRestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Content disposition override. Default will be depending on the document type.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetProductDocumentDownloadUrlRequestRestDto
|
|
27
|
+
*/
|
|
28
|
+
'contentDisposition'?: GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = {
|
|
32
|
+
Attachment: 'attachment',
|
|
33
|
+
Inline: 'inline'
|
|
34
|
+
} as const;
|
|
35
|
+
|
|
36
|
+
export type GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum = typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum[keyof typeof GetProductDocumentDownloadUrlRequestRestDtoContentDispositionEnum];
|
|
37
|
+
|
|
38
|
+
|
package/models/index.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from './get-booking-funnel-response-class';
|
|
|
48
48
|
export * from './get-custom-css-response-class';
|
|
49
49
|
export * from './get-lead-response-class';
|
|
50
50
|
export * from './get-product-config-tariffs-response-class';
|
|
51
|
+
export * from './get-product-document-download-url-request-rest-dto';
|
|
51
52
|
export * from './get-product-document-download-url-response-class';
|
|
52
53
|
export * from './get-public-psp-settings-response-class';
|
|
53
54
|
export * from './initiate-adyen-payment-setup-request-dto';
|