@emilgroup/payment-sdk 1.0.0 → 1.4.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 +15 -30
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -25
- package/api/bank-transaction-api.ts +657 -0
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +42 -46
- package/api/payment-reminders-api.ts +17 -19
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +30 -32
- package/api/refunds-api.ts +462 -0
- package/api/tenant-bank-account-api.ts +651 -0
- package/api/webhooks-api.ts +1 -1
- package/api.ts +7 -3
- package/base.ts +2 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +17 -19
- package/dist/api/bank-accounts-api.js +16 -16
- package/dist/api/bank-transaction-api.d.ts +371 -0
- package/dist/api/bank-transaction-api.js +632 -0
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +32 -36
- package/dist/api/payment-methods-api.js +32 -28
- package/dist/api/payment-reminders-api.d.ts +21 -22
- package/dist/api/payment-reminders-api.js +8 -8
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +26 -29
- package/dist/api/payments-api.js +20 -16
- package/dist/api/refunds-api.d.ts +260 -0
- package/dist/api/refunds-api.js +443 -0
- package/dist/api/tenant-bank-account-api.d.ts +361 -0
- package/dist/api/tenant-bank-account-api.js +616 -0
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +122 -0
- package/dist/models/{bank-account-class.js → bank-transaction-response-class.js} +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
- package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
- package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
- package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
- package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
- package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
- package/dist/models/get-bank-transactions-response-class.js +15 -0
- package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
- package/dist/models/get-tenant-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +12 -29
- package/dist/models/index.js +12 -29
- package/dist/models/inline-response200.d.ts +7 -7
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +7 -7
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
- package/dist/models/list-bank-transactions-response-class.js +15 -0
- package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +104 -0
- package/dist/models/refund-class.js +28 -0
- package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
- package/dist/models/tenant-bank-account-response-class.js +15 -0
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/git_push.sh +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +128 -0
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +3 -3
- package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
- package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
- package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
- package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
- package/models/get-request-dto.ts +2 -2
- package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
- package/models/index.ts +12 -29
- package/models/inline-response200.ts +7 -7
- package/models/inline-response503.ts +7 -7
- package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
- package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
- package/models/refund-class.ts +114 -0
- package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
- package/models/transaction-class.ts +1 -1
- package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -2
- package/api/payment-service-providers-api.ts +0 -161
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -220
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- 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-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.js +0 -15
- 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-payment-setup-request-dto.d.ts +0 -44
- 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/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/validate-pspconfig-response-class.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-reminder-class.ts +0 -122
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { ValidatePSPConfigRequestDto } from '../models';
|
|
16
|
-
import { ValidatePSPConfigResponseClass } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* PaymentServiceProvidersApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export declare const PaymentServiceProvidersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
25
|
-
* @param {string} [authorization] Bearer Token
|
|
26
|
-
* @param {*} [options] Override http request option.
|
|
27
|
-
* @throws {RequiredError}
|
|
28
|
-
*/
|
|
29
|
-
validateConfiguration: (validatePSPConfigRequestDto: ValidatePSPConfigRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* PaymentServiceProvidersApi - functional programming interface
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export declare const PaymentServiceProvidersApiFp: (configuration?: Configuration) => {
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
39
|
-
* @param {string} [authorization] Bearer Token
|
|
40
|
-
* @param {*} [options] Override http request option.
|
|
41
|
-
* @throws {RequiredError}
|
|
42
|
-
*/
|
|
43
|
-
validateConfiguration(validatePSPConfigRequestDto: ValidatePSPConfigRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidatePSPConfigResponseClass>>;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* PaymentServiceProvidersApi - factory interface
|
|
47
|
-
* @export
|
|
48
|
-
*/
|
|
49
|
-
export declare const PaymentServiceProvidersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
53
|
-
* @param {string} [authorization] Bearer Token
|
|
54
|
-
* @param {*} [options] Override http request option.
|
|
55
|
-
* @throws {RequiredError}
|
|
56
|
-
*/
|
|
57
|
-
validateConfiguration(validatePSPConfigRequestDto: ValidatePSPConfigRequestDto, authorization?: string, options?: any): AxiosPromise<ValidatePSPConfigResponseClass>;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Request parameters for validateConfiguration operation in PaymentServiceProvidersApi.
|
|
61
|
-
* @export
|
|
62
|
-
* @interface PaymentServiceProvidersApiValidateConfigurationRequest
|
|
63
|
-
*/
|
|
64
|
-
export interface PaymentServiceProvidersApiValidateConfigurationRequest {
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {ValidatePSPConfigRequestDto}
|
|
68
|
-
* @memberof PaymentServiceProvidersApiValidateConfiguration
|
|
69
|
-
*/
|
|
70
|
-
readonly validatePSPConfigRequestDto: ValidatePSPConfigRequestDto;
|
|
71
|
-
/**
|
|
72
|
-
* Bearer Token
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof PaymentServiceProvidersApiValidateConfiguration
|
|
75
|
-
*/
|
|
76
|
-
readonly authorization?: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* PaymentServiceProvidersApi - object-oriented interface
|
|
80
|
-
* @export
|
|
81
|
-
* @class PaymentServiceProvidersApi
|
|
82
|
-
* @extends {BaseAPI}
|
|
83
|
-
*/
|
|
84
|
-
export declare class PaymentServiceProvidersApi extends BaseAPI {
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @param {PaymentServiceProvidersApiValidateConfigurationRequest} requestParameters Request parameters.
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
* @memberof PaymentServiceProvidersApi
|
|
91
|
-
*/
|
|
92
|
-
validateConfiguration(requestParameters: PaymentServiceProvidersApiValidateConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidatePSPConfigResponseClass, any>>;
|
|
93
|
-
}
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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.PaymentServiceProvidersApi = exports.PaymentServiceProvidersApiFactory = exports.PaymentServiceProvidersApiFp = exports.PaymentServiceProvidersApiAxiosParamCreator = 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
|
-
* PaymentServiceProvidersApi - axios parameter creator
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
var PaymentServiceProvidersApiAxiosParamCreator = function (configuration) {
|
|
93
|
-
var _this = this;
|
|
94
|
-
return {
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
98
|
-
* @param {string} [authorization] Bearer Token
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
validateConfiguration: function (validatePSPConfigRequestDto, authorization, options) {
|
|
103
|
-
if (options === void 0) { options = {}; }
|
|
104
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
-
return __generator(this, function (_a) {
|
|
107
|
-
switch (_a.label) {
|
|
108
|
-
case 0:
|
|
109
|
-
// verify required parameter 'validatePSPConfigRequestDto' is not null or undefined
|
|
110
|
-
(0, common_1.assertParamExists)('validateConfiguration', 'validatePSPConfigRequestDto', validatePSPConfigRequestDto);
|
|
111
|
-
localVarPath = "/paymentservice/v1/psps/validate";
|
|
112
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
113
|
-
if (configuration) {
|
|
114
|
-
baseOptions = configuration.baseOptions;
|
|
115
|
-
baseAccessToken = configuration.accessToken;
|
|
116
|
-
}
|
|
117
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
118
|
-
localVarHeaderParameter = {};
|
|
119
|
-
localVarQueryParameter = {};
|
|
120
|
-
// authentication bearer required
|
|
121
|
-
// http bearer authentication required
|
|
122
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
123
|
-
case 1:
|
|
124
|
-
// authentication bearer required
|
|
125
|
-
// http bearer authentication required
|
|
126
|
-
_a.sent();
|
|
127
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
128
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
129
|
-
}
|
|
130
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(validatePSPConfigRequestDto, localVarRequestOptions, configuration);
|
|
135
|
-
return [2 /*return*/, {
|
|
136
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
-
options: localVarRequestOptions,
|
|
138
|
-
}];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
exports.PaymentServiceProvidersApiAxiosParamCreator = PaymentServiceProvidersApiAxiosParamCreator;
|
|
146
|
-
/**
|
|
147
|
-
* PaymentServiceProvidersApi - functional programming interface
|
|
148
|
-
* @export
|
|
149
|
-
*/
|
|
150
|
-
var PaymentServiceProvidersApiFp = function (configuration) {
|
|
151
|
-
var localVarAxiosParamCreator = (0, exports.PaymentServiceProvidersApiAxiosParamCreator)(configuration);
|
|
152
|
-
return {
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
156
|
-
* @param {string} [authorization] Bearer Token
|
|
157
|
-
* @param {*} [options] Override http request option.
|
|
158
|
-
* @throws {RequiredError}
|
|
159
|
-
*/
|
|
160
|
-
validateConfiguration: function (validatePSPConfigRequestDto, authorization, options) {
|
|
161
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
162
|
-
var localVarAxiosArgs;
|
|
163
|
-
return __generator(this, function (_a) {
|
|
164
|
-
switch (_a.label) {
|
|
165
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.validateConfiguration(validatePSPConfigRequestDto, authorization, options)];
|
|
166
|
-
case 1:
|
|
167
|
-
localVarAxiosArgs = _a.sent();
|
|
168
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
exports.PaymentServiceProvidersApiFp = PaymentServiceProvidersApiFp;
|
|
176
|
-
/**
|
|
177
|
-
* PaymentServiceProvidersApi - factory interface
|
|
178
|
-
* @export
|
|
179
|
-
*/
|
|
180
|
-
var PaymentServiceProvidersApiFactory = function (configuration, basePath, axios) {
|
|
181
|
-
var localVarFp = (0, exports.PaymentServiceProvidersApiFp)(configuration);
|
|
182
|
-
return {
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @param {ValidatePSPConfigRequestDto} validatePSPConfigRequestDto
|
|
186
|
-
* @param {string} [authorization] Bearer Token
|
|
187
|
-
* @param {*} [options] Override http request option.
|
|
188
|
-
* @throws {RequiredError}
|
|
189
|
-
*/
|
|
190
|
-
validateConfiguration: function (validatePSPConfigRequestDto, authorization, options) {
|
|
191
|
-
return localVarFp.validateConfiguration(validatePSPConfigRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
192
|
-
},
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
exports.PaymentServiceProvidersApiFactory = PaymentServiceProvidersApiFactory;
|
|
196
|
-
/**
|
|
197
|
-
* PaymentServiceProvidersApi - object-oriented interface
|
|
198
|
-
* @export
|
|
199
|
-
* @class PaymentServiceProvidersApi
|
|
200
|
-
* @extends {BaseAPI}
|
|
201
|
-
*/
|
|
202
|
-
var PaymentServiceProvidersApi = /** @class */ (function (_super) {
|
|
203
|
-
__extends(PaymentServiceProvidersApi, _super);
|
|
204
|
-
function PaymentServiceProvidersApi() {
|
|
205
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* @param {PaymentServiceProvidersApiValidateConfigurationRequest} requestParameters Request parameters.
|
|
210
|
-
* @param {*} [options] Override http request option.
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
* @memberof PaymentServiceProvidersApi
|
|
213
|
-
*/
|
|
214
|
-
PaymentServiceProvidersApi.prototype.validateConfiguration = function (requestParameters, options) {
|
|
215
|
-
var _this = this;
|
|
216
|
-
return (0, exports.PaymentServiceProvidersApiFp)(this.configuration).validateConfiguration(requestParameters.validatePSPConfigRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
217
|
-
};
|
|
218
|
-
return PaymentServiceProvidersApi;
|
|
219
|
-
}(base_1.BaseAPI));
|
|
220
|
-
exports.PaymentServiceProvidersApi = PaymentServiceProvidersApi;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 BankAccountClass
|
|
16
|
-
*/
|
|
17
|
-
export interface BankAccountClass {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier for bank account.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BankAccountClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier for the object.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BankAccountClass
|
|
28
|
-
*/
|
|
29
|
-
'code': string;
|
|
30
|
-
/**
|
|
31
|
-
* User account code associated to bank account.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BankAccountClass
|
|
34
|
-
*/
|
|
35
|
-
'accountCode': string;
|
|
36
|
-
/**
|
|
37
|
-
* International bank account number with witch the bank account is created
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof BankAccountClass
|
|
40
|
-
*/
|
|
41
|
-
'iban': string;
|
|
42
|
-
/**
|
|
43
|
-
* Time at which the object was created.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof BankAccountClass
|
|
46
|
-
*/
|
|
47
|
-
'createdAt': string;
|
|
48
|
-
/**
|
|
49
|
-
* Time at which the object was updated.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof BankAccountClass
|
|
52
|
-
*/
|
|
53
|
-
'updatedAt': string;
|
|
54
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { BillingProfileLimitedResponseDto } from './billing-profile-limited-response-dto';
|
|
13
|
-
import { SymphonyProfileLimitedResponseDto } from './symphony-profile-limited-response-dto';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BillingProfileDto
|
|
18
|
-
*/
|
|
19
|
-
export interface BillingProfileDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BillingProfileDto
|
|
24
|
-
*/
|
|
25
|
-
'billProfileId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {SymphonyProfileLimitedResponseDto}
|
|
29
|
-
* @memberof BillingProfileDto
|
|
30
|
-
*/
|
|
31
|
-
'symphonyProfileLimitedResponse': SymphonyProfileLimitedResponseDto;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {BillingProfileLimitedResponseDto}
|
|
35
|
-
* @memberof BillingProfileDto
|
|
36
|
-
*/
|
|
37
|
-
'billingProfileLimitedResponse': BillingProfileLimitedResponseDto;
|
|
38
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CompleteBraintreePaymentSetupRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface CompleteBraintreePaymentSetupRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Account email address
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'email': string;
|
|
24
|
-
/**
|
|
25
|
-
* Account first name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'firstName': string;
|
|
30
|
-
/**
|
|
31
|
-
* Account last name
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'lastName': string;
|
|
36
|
-
/**
|
|
37
|
-
* Lead code
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'leadCode': string;
|
|
42
|
-
/**
|
|
43
|
-
* Braintree nonce generated by the client through the frontend component.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'nonce': string;
|
|
48
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
13
|
-
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CompletePaymentSetupRequestDto
|
|
18
|
-
*/
|
|
19
|
-
export interface CompletePaymentSetupRequestDto {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {CompleteStripePaymentSetupRequestDto}
|
|
23
|
-
* @memberof CompletePaymentSetupRequestDto
|
|
24
|
-
*/
|
|
25
|
-
'stripe'?: CompleteStripePaymentSetupRequestDto;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {CompleteBraintreePaymentSetupRequestDto}
|
|
29
|
-
* @memberof CompletePaymentSetupRequestDto
|
|
30
|
-
*/
|
|
31
|
-
'braintree'?: CompleteBraintreePaymentSetupRequestDto;
|
|
32
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentMethodClass } from './payment-method-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CompletePaymentSetupResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface CompletePaymentSetupResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The payment method resulting of the completion of the setup.
|
|
21
|
-
* @type {PaymentMethodClass}
|
|
22
|
-
* @memberof CompletePaymentSetupResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'paymentMethod': PaymentMethodClass;
|
|
25
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 CompleteStripePaymentSetupRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface CompleteStripePaymentSetupRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Account email address
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'email': string;
|
|
24
|
-
/**
|
|
25
|
-
* Account first name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'firstName': string;
|
|
30
|
-
/**
|
|
31
|
-
* Account last name
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'lastName': string;
|
|
36
|
-
/**
|
|
37
|
-
* Lead code
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'leadCode'?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Unique identifier for the customer on Stripe.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'pspCustomerId': string;
|
|
48
|
-
/**
|
|
49
|
-
* Unique identifier for payment method on Stripe.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'pspPaymentMethodId'?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The payment method type on Stripe.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof CompleteStripePaymentSetupRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'paymentMethodType'?: string;
|
|
60
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 { PaymentMethodClass } from './payment-method-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreatePaymentMethodResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface CreatePaymentMethodResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* The created payment method.
|
|
21
|
-
* @type {PaymentMethodClass}
|
|
22
|
-
* @memberof CreatePaymentMethodResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'paymentMethod': PaymentMethodClass;
|
|
25
|
-
}
|