@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.4
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 +0 -35
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +17 -21
- package/api/bank-transaction-api.ts +3 -205
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +38 -42
- package/api/payment-reminders-api.ts +9 -13
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +26 -28
- package/api/tenant-bank-account-api.ts +1 -1
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -3
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +13 -15
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-transaction-api.d.ts +4 -114
- package/dist/api/bank-transaction-api.js +1 -185
- 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 +28 -32
- package/dist/api/payment-methods-api.js +29 -25
- package/dist/api/payment-reminders-api.d.ts +13 -15
- package/dist/api/payment-reminders-api.js +1 -1
- 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 +22 -25
- package/dist/api/payments-api.js +17 -13
- package/dist/api/tenant-bank-account-api.d.ts +1 -1
- package/dist/api/tenant-bank-account-api.js +1 -1
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -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 +7 -1
- package/dist/models/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 +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/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-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +0 -34
- package/dist/models/index.js +0 -34
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/api/refunds-api.ts +0 -474
- package/dist/api/refunds-api.d.ts +0 -269
- package/dist/api/refunds-api.js +0 -447
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.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-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.d.ts +0 -30
- 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/create-refund-request-dto.d.ts +0 -24
- package/dist/models/create-refund-request-dto.js +0 -15
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-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.d.ts +0 -31
- 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.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-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.d.ts +0 -66
- 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/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- 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-bank-account-request-dto.ts +0 -36
- 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/create-refund-request-dto.ts +0 -30
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- 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-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/refund-class.ts +0 -114
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
package/dist/api/refunds-api.js
DELETED
|
@@ -1,447 +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.RefundsApi = exports.RefundsApiFactory = exports.RefundsApiFp = exports.RefundsApiAxiosParamCreator = 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
|
-
* RefundsApi - axios parameter creator
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
var RefundsApiAxiosParamCreator = function (configuration) {
|
|
93
|
-
var _this = this;
|
|
94
|
-
return {
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
98
|
-
* @param {string} [authorization] Bearer Token
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
createRefund: function (createRefundRequestDto, 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 'createRefundRequestDto' is not null or undefined
|
|
110
|
-
(0, common_1.assertParamExists)('createRefund', 'createRefundRequestDto', createRefundRequestDto);
|
|
111
|
-
localVarPath = "/paymentservice/v1/refunds";
|
|
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)(createRefundRequestDto, localVarRequestOptions, configuration);
|
|
135
|
-
return [2 /*return*/, {
|
|
136
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
-
options: localVarRequestOptions,
|
|
138
|
-
}];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
},
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @param {string} code
|
|
146
|
-
* @param {string} code2 Unique identifier for the object.
|
|
147
|
-
* @param {string} [authorization] Bearer Token
|
|
148
|
-
* @param {string} [expand] Fields to expand response by
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
getRefund: function (code, code2, authorization, expand, 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 'code' is not null or undefined
|
|
160
|
-
(0, common_1.assertParamExists)('getRefund', 'code', code);
|
|
161
|
-
// verify required parameter 'code2' is not null or undefined
|
|
162
|
-
(0, common_1.assertParamExists)('getRefund', 'code2', code2);
|
|
163
|
-
localVarPath = "/paymentservice/v1/refunds/{code}"
|
|
164
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
165
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
166
|
-
if (configuration) {
|
|
167
|
-
baseOptions = configuration.baseOptions;
|
|
168
|
-
baseAccessToken = configuration.accessToken;
|
|
169
|
-
}
|
|
170
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
171
|
-
localVarHeaderParameter = {};
|
|
172
|
-
localVarQueryParameter = {};
|
|
173
|
-
// authentication bearer required
|
|
174
|
-
// http bearer authentication required
|
|
175
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
176
|
-
case 1:
|
|
177
|
-
// authentication bearer required
|
|
178
|
-
// http bearer authentication required
|
|
179
|
-
_a.sent();
|
|
180
|
-
if (code2 !== undefined) {
|
|
181
|
-
localVarQueryParameter['code'] = code2;
|
|
182
|
-
}
|
|
183
|
-
if (expand !== undefined) {
|
|
184
|
-
localVarQueryParameter['expand'] = expand;
|
|
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
|
-
*
|
|
202
|
-
* @param {string} [authorization] Bearer Token
|
|
203
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
204
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
205
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
206
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
207
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
208
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
209
|
-
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
210
|
-
* @param {*} [options] Override http request option.
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
*/
|
|
213
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
214
|
-
if (options === void 0) { options = {}; }
|
|
215
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
216
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
217
|
-
return __generator(this, function (_a) {
|
|
218
|
-
switch (_a.label) {
|
|
219
|
-
case 0:
|
|
220
|
-
localVarPath = "/paymentservice/v1/refunds";
|
|
221
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
222
|
-
if (configuration) {
|
|
223
|
-
baseOptions = configuration.baseOptions;
|
|
224
|
-
baseAccessToken = configuration.accessToken;
|
|
225
|
-
}
|
|
226
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
227
|
-
localVarHeaderParameter = {};
|
|
228
|
-
localVarQueryParameter = {};
|
|
229
|
-
// authentication bearer required
|
|
230
|
-
// http bearer authentication required
|
|
231
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
232
|
-
case 1:
|
|
233
|
-
// authentication bearer required
|
|
234
|
-
// http bearer authentication required
|
|
235
|
-
_a.sent();
|
|
236
|
-
if (pageSize !== undefined) {
|
|
237
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
238
|
-
}
|
|
239
|
-
if (pageToken !== undefined) {
|
|
240
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
241
|
-
}
|
|
242
|
-
if (filter !== undefined) {
|
|
243
|
-
localVarQueryParameter['filter'] = filter;
|
|
244
|
-
}
|
|
245
|
-
if (search !== undefined) {
|
|
246
|
-
localVarQueryParameter['search'] = search;
|
|
247
|
-
}
|
|
248
|
-
if (order !== undefined) {
|
|
249
|
-
localVarQueryParameter['order'] = order;
|
|
250
|
-
}
|
|
251
|
-
if (expand !== undefined) {
|
|
252
|
-
localVarQueryParameter['expand'] = expand;
|
|
253
|
-
}
|
|
254
|
-
if (filters !== undefined) {
|
|
255
|
-
localVarQueryParameter['filters'] = filters;
|
|
256
|
-
}
|
|
257
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
258
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
259
|
-
}
|
|
260
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
261
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
262
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
263
|
-
return [2 /*return*/, {
|
|
264
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
265
|
-
options: localVarRequestOptions,
|
|
266
|
-
}];
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
});
|
|
270
|
-
},
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
exports.RefundsApiAxiosParamCreator = RefundsApiAxiosParamCreator;
|
|
274
|
-
/**
|
|
275
|
-
* RefundsApi - functional programming interface
|
|
276
|
-
* @export
|
|
277
|
-
*/
|
|
278
|
-
var RefundsApiFp = function (configuration) {
|
|
279
|
-
var localVarAxiosParamCreator = (0, exports.RefundsApiAxiosParamCreator)(configuration);
|
|
280
|
-
return {
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
284
|
-
* @param {string} [authorization] Bearer Token
|
|
285
|
-
* @param {*} [options] Override http request option.
|
|
286
|
-
* @throws {RequiredError}
|
|
287
|
-
*/
|
|
288
|
-
createRefund: function (createRefundRequestDto, authorization, options) {
|
|
289
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
290
|
-
var localVarAxiosArgs;
|
|
291
|
-
return __generator(this, function (_a) {
|
|
292
|
-
switch (_a.label) {
|
|
293
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createRefund(createRefundRequestDto, authorization, options)];
|
|
294
|
-
case 1:
|
|
295
|
-
localVarAxiosArgs = _a.sent();
|
|
296
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
},
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
* @param {string} code
|
|
304
|
-
* @param {string} code2 Unique identifier for the object.
|
|
305
|
-
* @param {string} [authorization] Bearer Token
|
|
306
|
-
* @param {string} [expand] Fields to expand response by
|
|
307
|
-
* @param {*} [options] Override http request option.
|
|
308
|
-
* @throws {RequiredError}
|
|
309
|
-
*/
|
|
310
|
-
getRefund: function (code, code2, authorization, expand, options) {
|
|
311
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
-
var localVarAxiosArgs;
|
|
313
|
-
return __generator(this, function (_a) {
|
|
314
|
-
switch (_a.label) {
|
|
315
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options)];
|
|
316
|
-
case 1:
|
|
317
|
-
localVarAxiosArgs = _a.sent();
|
|
318
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
319
|
-
}
|
|
320
|
-
});
|
|
321
|
-
});
|
|
322
|
-
},
|
|
323
|
-
/**
|
|
324
|
-
*
|
|
325
|
-
* @param {string} [authorization] Bearer Token
|
|
326
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
327
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
328
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
329
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
330
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
331
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
332
|
-
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
333
|
-
* @param {*} [options] Override http request option.
|
|
334
|
-
* @throws {RequiredError}
|
|
335
|
-
*/
|
|
336
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
337
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
338
|
-
var localVarAxiosArgs;
|
|
339
|
-
return __generator(this, function (_a) {
|
|
340
|
-
switch (_a.label) {
|
|
341
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
342
|
-
case 1:
|
|
343
|
-
localVarAxiosArgs = _a.sent();
|
|
344
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
345
|
-
}
|
|
346
|
-
});
|
|
347
|
-
});
|
|
348
|
-
},
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
exports.RefundsApiFp = RefundsApiFp;
|
|
352
|
-
/**
|
|
353
|
-
* RefundsApi - factory interface
|
|
354
|
-
* @export
|
|
355
|
-
*/
|
|
356
|
-
var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
357
|
-
var localVarFp = (0, exports.RefundsApiFp)(configuration);
|
|
358
|
-
return {
|
|
359
|
-
/**
|
|
360
|
-
*
|
|
361
|
-
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
362
|
-
* @param {string} [authorization] Bearer Token
|
|
363
|
-
* @param {*} [options] Override http request option.
|
|
364
|
-
* @throws {RequiredError}
|
|
365
|
-
*/
|
|
366
|
-
createRefund: function (createRefundRequestDto, authorization, options) {
|
|
367
|
-
return localVarFp.createRefund(createRefundRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
368
|
-
},
|
|
369
|
-
/**
|
|
370
|
-
*
|
|
371
|
-
* @param {string} code
|
|
372
|
-
* @param {string} code2 Unique identifier for the object.
|
|
373
|
-
* @param {string} [authorization] Bearer Token
|
|
374
|
-
* @param {string} [expand] Fields to expand response by
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
*/
|
|
378
|
-
getRefund: function (code, code2, authorization, expand, options) {
|
|
379
|
-
return localVarFp.getRefund(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
380
|
-
},
|
|
381
|
-
/**
|
|
382
|
-
*
|
|
383
|
-
* @param {string} [authorization] Bearer Token
|
|
384
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
385
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
386
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
387
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
388
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
389
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
390
|
-
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
391
|
-
* @param {*} [options] Override http request option.
|
|
392
|
-
* @throws {RequiredError}
|
|
393
|
-
*/
|
|
394
|
-
listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
395
|
-
return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
396
|
-
},
|
|
397
|
-
};
|
|
398
|
-
};
|
|
399
|
-
exports.RefundsApiFactory = RefundsApiFactory;
|
|
400
|
-
/**
|
|
401
|
-
* RefundsApi - object-oriented interface
|
|
402
|
-
* @export
|
|
403
|
-
* @class RefundsApi
|
|
404
|
-
* @extends {BaseAPI}
|
|
405
|
-
*/
|
|
406
|
-
var RefundsApi = /** @class */ (function (_super) {
|
|
407
|
-
__extends(RefundsApi, _super);
|
|
408
|
-
function RefundsApi() {
|
|
409
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
*
|
|
413
|
-
* @param {RefundsApiCreateRefundRequest} requestParameters Request parameters.
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
* @memberof RefundsApi
|
|
417
|
-
*/
|
|
418
|
-
RefundsApi.prototype.createRefund = function (requestParameters, options) {
|
|
419
|
-
var _this = this;
|
|
420
|
-
return (0, exports.RefundsApiFp)(this.configuration).createRefund(requestParameters.createRefundRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
421
|
-
};
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
425
|
-
* @param {*} [options] Override http request option.
|
|
426
|
-
* @throws {RequiredError}
|
|
427
|
-
* @memberof RefundsApi
|
|
428
|
-
*/
|
|
429
|
-
RefundsApi.prototype.getRefund = function (requestParameters, options) {
|
|
430
|
-
var _this = this;
|
|
431
|
-
return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
432
|
-
};
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
436
|
-
* @param {*} [options] Override http request option.
|
|
437
|
-
* @throws {RequiredError}
|
|
438
|
-
* @memberof RefundsApi
|
|
439
|
-
*/
|
|
440
|
-
RefundsApi.prototype.listRefunds = function (requestParameters, options) {
|
|
441
|
-
var _this = this;
|
|
442
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
443
|
-
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
444
|
-
};
|
|
445
|
-
return RefundsApi;
|
|
446
|
-
}(base_1.BaseAPI));
|
|
447
|
-
exports.RefundsApi = RefundsApi;
|
|
@@ -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,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,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,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,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 BillingProfileLimitedResponseDto
|
|
16
|
-
*/
|
|
17
|
-
export interface BillingProfileLimitedResponseDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
22
|
-
*/
|
|
23
|
-
'sourceCode': string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
28
|
-
*/
|
|
29
|
-
'status': string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
34
|
-
*/
|
|
35
|
-
'brand': string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
40
|
-
*/
|
|
41
|
-
'invoiceLanguage'?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
46
|
-
*/
|
|
47
|
-
'customerSegment': string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof BillingProfileLimitedResponseDto
|
|
52
|
-
*/
|
|
53
|
-
'activeSubsCnt': number;
|
|
54
|
-
}
|
|
@@ -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 });
|