@randock/nameshift-api-client 0.0.417 → 0.0.418

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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +1 -0
  4. package/dist/apis/AccountsApi.js +1 -0
  5. package/dist/apis/MolliePublicApi.d.ts +25 -0
  6. package/dist/apis/MolliePublicApi.js +118 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AccountPaymentMethodProfileDto.d.ts +1 -0
  10. package/dist/models/AccountPaymentMethodProfileDto.js +1 -0
  11. package/dist/models/CreateAccountPaymentManualTransactionInput.d.ts +84 -0
  12. package/dist/models/CreateAccountPaymentManualTransactionInput.js +76 -1
  13. package/dist/models/CreateManualTransactionInput.d.ts +84 -0
  14. package/dist/models/CreateManualTransactionInput.js +76 -1
  15. package/dist/models/CreateSubscriptionManualTransactionInput.d.ts +96 -0
  16. package/dist/models/CreateSubscriptionManualTransactionInput.js +80 -0
  17. package/dist/models/InvoiceTransactionDto.d.ts +81 -2
  18. package/dist/models/InvoiceTransactionDto.js +81 -5
  19. package/dist/models/OrderDto.d.ts +85 -1
  20. package/dist/models/OrderDto.js +80 -1
  21. package/dist/models/SubscriptionDto.d.ts +85 -1
  22. package/dist/models/SubscriptionDto.js +80 -1
  23. package/package.json +1 -1
  24. package/src/apis/AccountsApi.ts +1 -0
  25. package/src/apis/MolliePublicApi.ts +55 -0
  26. package/src/apis/index.ts +1 -0
  27. package/src/models/AccountPaymentMethodProfileDto.ts +1 -0
  28. package/src/models/CreateAccountPaymentManualTransactionInput.ts +89 -0
  29. package/src/models/CreateManualTransactionInput.ts +89 -0
  30. package/src/models/CreateSubscriptionManualTransactionInput.ts +107 -0
  31. package/src/models/InvoiceTransactionDto.ts +88 -5
  32. package/src/models/OrderDto.ts +92 -1
  33. package/src/models/SubscriptionDto.ts +92 -1
@@ -20,6 +20,7 @@ src/apis/EppApi.ts
20
20
  src/apis/InvoicesApi.ts
21
21
  src/apis/LeadsApi.ts
22
22
  src/apis/LeadsPublicApi.ts
23
+ src/apis/MolliePublicApi.ts
23
24
  src/apis/NickyPublicApi.ts
24
25
  src/apis/NotificationsApi.ts
25
26
  src/apis/OrdersPublicApi.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.417
1
+ ## @randock/nameshift-api-client@0.0.418
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.417 --save
39
+ npm install @randock/nameshift-api-client@0.0.418 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 0c8637a95d8234b5cdd9b4b3446d8695ab3b07466846a1d767206a98de4453357d128f049f7de8a5d6e2adb91ace5c5f
47
+ 642e29c8a84d0ca4b9779e7f413cbaa97268f2d7a245804e4c90bb6edbfb5baf3b34e4e354dd5a2eb1093fcf4a38f954
@@ -231,6 +231,7 @@ export declare class AccountsApi extends runtime.BaseAPI {
231
231
  */
232
232
  export declare const GetAccountPaymentMethodsGatewayEnum: {
233
233
  readonly STRIPE: "stripe";
234
+ readonly MOLLIE: "mollie";
234
235
  readonly NICKY: "nicky";
235
236
  };
236
237
  export type GetAccountPaymentMethodsGatewayEnum = typeof GetAccountPaymentMethodsGatewayEnum[keyof typeof GetAccountPaymentMethodsGatewayEnum];
@@ -1100,5 +1100,6 @@ exports.AccountsApi = AccountsApi;
1100
1100
  */
1101
1101
  exports.GetAccountPaymentMethodsGatewayEnum = {
1102
1102
  STRIPE: 'stripe',
1103
+ MOLLIE: 'mollie',
1103
1104
  NICKY: 'nicky'
1104
1105
  };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 * as runtime from '../runtime';
13
+ /**
14
+ *
15
+ */
16
+ export declare class MolliePublicApi extends runtime.BaseAPI {
17
+ /**
18
+ *
19
+ */
20
+ postMollieWebhookRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
21
+ /**
22
+ *
23
+ */
24
+ postMollieWebhook(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
25
+ }
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
41
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ 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;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.MolliePublicApi = void 0;
68
+ var runtime = require("../runtime");
69
+ /**
70
+ *
71
+ */
72
+ var MolliePublicApi = /** @class */ (function (_super) {
73
+ __extends(MolliePublicApi, _super);
74
+ function MolliePublicApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ *
79
+ */
80
+ MolliePublicApi.prototype.postMollieWebhookRaw = function (initOverrides) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, response;
83
+ return __generator(this, function (_a) {
84
+ switch (_a.label) {
85
+ case 0:
86
+ queryParameters = {};
87
+ headerParameters = {};
88
+ return [4 /*yield*/, this.request({
89
+ path: "/mollie/webhook",
90
+ method: 'POST',
91
+ headers: headerParameters,
92
+ query: queryParameters,
93
+ }, initOverrides)];
94
+ case 1:
95
+ response = _a.sent();
96
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
97
+ }
98
+ });
99
+ });
100
+ };
101
+ /**
102
+ *
103
+ */
104
+ MolliePublicApi.prototype.postMollieWebhook = function (initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function () {
106
+ return __generator(this, function (_a) {
107
+ switch (_a.label) {
108
+ case 0: return [4 /*yield*/, this.postMollieWebhookRaw(initOverrides)];
109
+ case 1:
110
+ _a.sent();
111
+ return [2 /*return*/];
112
+ }
113
+ });
114
+ });
115
+ };
116
+ return MolliePublicApi;
117
+ }(runtime.BaseAPI));
118
+ exports.MolliePublicApi = MolliePublicApi;
@@ -15,6 +15,7 @@ export * from './EppApi';
15
15
  export * from './InvoicesApi';
16
16
  export * from './LeadsApi';
17
17
  export * from './LeadsPublicApi';
18
+ export * from './MolliePublicApi';
18
19
  export * from './NickyPublicApi';
19
20
  export * from './NotificationsApi';
20
21
  export * from './OrdersPublicApi';
@@ -33,6 +33,7 @@ __exportStar(require("./EppApi"), exports);
33
33
  __exportStar(require("./InvoicesApi"), exports);
34
34
  __exportStar(require("./LeadsApi"), exports);
35
35
  __exportStar(require("./LeadsPublicApi"), exports);
36
+ __exportStar(require("./MolliePublicApi"), exports);
36
37
  __exportStar(require("./NickyPublicApi"), exports);
37
38
  __exportStar(require("./NotificationsApi"), exports);
38
39
  __exportStar(require("./OrdersPublicApi"), exports);
@@ -58,6 +58,7 @@ export interface AccountPaymentMethodProfileDto {
58
58
  */
59
59
  export declare const AccountPaymentMethodProfileDtoGatewayEnum: {
60
60
  readonly STRIPE: "stripe";
61
+ readonly MOLLIE: "mollie";
61
62
  readonly NICKY: "nicky";
62
63
  };
63
64
  export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
@@ -25,6 +25,7 @@ var AccountPaymentMethodDto_1 = require("./AccountPaymentMethodDto");
25
25
  */
26
26
  exports.AccountPaymentMethodProfileDtoGatewayEnum = {
27
27
  STRIPE: 'stripe',
28
+ MOLLIE: 'mollie',
28
29
  NICKY: 'nicky'
29
30
  };
30
31
  /**
@@ -33,6 +33,18 @@ export interface CreateAccountPaymentManualTransactionInput {
33
33
  * @memberof CreateAccountPaymentManualTransactionInput
34
34
  */
35
35
  cancelUrl?: string;
36
+ /**
37
+ * Payment session ID used as Mollie card token
38
+ * @type {string}
39
+ * @memberof CreateAccountPaymentManualTransactionInput
40
+ */
41
+ sessionId?: string;
42
+ /**
43
+ * Selected payment method (canonical name)
44
+ * @type {string}
45
+ * @memberof CreateAccountPaymentManualTransactionInput
46
+ */
47
+ selectedPaymentMethod?: CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum;
36
48
  /**
37
49
  * Payment method string to use for this transaction
38
50
  * @type {string}
@@ -48,6 +60,78 @@ export declare const CreateAccountPaymentManualTransactionInputGatewayEnum: {
48
60
  readonly CRYPTO: "crypto";
49
61
  };
50
62
  export type CreateAccountPaymentManualTransactionInputGatewayEnum = typeof CreateAccountPaymentManualTransactionInputGatewayEnum[keyof typeof CreateAccountPaymentManualTransactionInputGatewayEnum];
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum: {
67
+ readonly ACSS_DEBIT: "acss_debit";
68
+ readonly AFFIRM: "affirm";
69
+ readonly AFTERPAY_CLEARPAY: "afterpay_clearpay";
70
+ readonly ALIPAY: "alipay";
71
+ readonly ALMA: "alma";
72
+ readonly AMAZON_PAY: "amazon_pay";
73
+ readonly APPLE_PAY: "apple_pay";
74
+ readonly AU_BECS_DEBIT: "au_becs_debit";
75
+ readonly BACS_DEBIT: "bacs_debit";
76
+ readonly BANCOMAT_PAY: "bancomat_pay";
77
+ readonly BANCONTACT: "bancontact";
78
+ readonly BELFIUS: "belfius";
79
+ readonly BILLIE: "billie";
80
+ readonly BLIK: "blik";
81
+ readonly BOLETO: "boleto";
82
+ readonly BANK_TRANSFER: "bank_transfer";
83
+ readonly CARD: "card";
84
+ readonly CARD_PRESENT: "card_present";
85
+ readonly CASHAPP: "cashapp";
86
+ readonly CUSTOMER_BALANCE: "customer_balance";
87
+ readonly EPS: "eps";
88
+ readonly FPX: "fpx";
89
+ readonly GIFTCARD: "giftcard";
90
+ readonly GIROPAY: "giropay";
91
+ readonly GOOGLE_PAY: "google_pay";
92
+ readonly GOPAY: "gopay";
93
+ readonly GRABPAY: "grabpay";
94
+ readonly ID_BANK_TRANSFER: "id_bank_transfer";
95
+ readonly IDEAL: "ideal";
96
+ readonly IN3: "in3";
97
+ readonly INTERAC_PRESENT: "interac_present";
98
+ readonly KAKAO_PAY: "kakao_pay";
99
+ readonly KBC: "kbc";
100
+ readonly KLARNA: "klarna";
101
+ readonly KONBINI: "konbini";
102
+ readonly KR_CARD: "kr_card";
103
+ readonly LINK: "link";
104
+ readonly MB_WAY: "mb_way";
105
+ readonly MOBILEPAY: "mobilepay";
106
+ readonly MULTIBANCO: "multibanco";
107
+ readonly NAVER_PAY: "naver_pay";
108
+ readonly NZ_BANK_ACCOUNT: "nz_bank_account";
109
+ readonly OXXO: "oxxo";
110
+ readonly PAY_BY_BANK: "pay_by_bank";
111
+ readonly PAYCO: "payco";
112
+ readonly PAYNOW: "paynow";
113
+ readonly PAYPAL: "paypal";
114
+ readonly PAYTO: "payto";
115
+ readonly PIX: "pix";
116
+ readonly PROMPTPAY: "promptpay";
117
+ readonly PRZELEWY24: "przelewy24";
118
+ readonly QRIS: "qris";
119
+ readonly RECHNUNG: "rechnung";
120
+ readonly REVOLUT_PAY: "revolut_pay";
121
+ readonly SAMSUNG_PAY: "samsung_pay";
122
+ readonly SATISPAY: "satispay";
123
+ readonly SEPA_DEBIT: "sepa_debit";
124
+ readonly SHOPEEPAY: "shopeepay";
125
+ readonly SOFORT: "sofort";
126
+ readonly STRIPE_BALANCE: "stripe_balance";
127
+ readonly SWISH: "swish";
128
+ readonly TWINT: "twint";
129
+ readonly US_BANK_ACCOUNT: "us_bank_account";
130
+ readonly VOUCHER: "voucher";
131
+ readonly WECHAT_PAY: "wechat_pay";
132
+ readonly ZIP: "zip";
133
+ };
134
+ export type CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum[keyof typeof CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum];
51
135
  /**
52
136
  * Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
53
137
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateAccountPaymentManualTransactionInputGatewayEnum = void 0;
16
+ exports.CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = exports.CreateAccountPaymentManualTransactionInputGatewayEnum = void 0;
17
17
  exports.instanceOfCreateAccountPaymentManualTransactionInput = instanceOfCreateAccountPaymentManualTransactionInput;
18
18
  exports.CreateAccountPaymentManualTransactionInputFromJSON = CreateAccountPaymentManualTransactionInputFromJSON;
19
19
  exports.CreateAccountPaymentManualTransactionInputFromJSONTyped = CreateAccountPaymentManualTransactionInputFromJSONTyped;
@@ -26,6 +26,77 @@ exports.CreateAccountPaymentManualTransactionInputGatewayEnum = {
26
26
  COMMON: 'common',
27
27
  CRYPTO: 'crypto'
28
28
  };
29
+ /**
30
+ * @export
31
+ */
32
+ exports.CreateAccountPaymentManualTransactionInputSelectedPaymentMethodEnum = {
33
+ ACSS_DEBIT: 'acss_debit',
34
+ AFFIRM: 'affirm',
35
+ AFTERPAY_CLEARPAY: 'afterpay_clearpay',
36
+ ALIPAY: 'alipay',
37
+ ALMA: 'alma',
38
+ AMAZON_PAY: 'amazon_pay',
39
+ APPLE_PAY: 'apple_pay',
40
+ AU_BECS_DEBIT: 'au_becs_debit',
41
+ BACS_DEBIT: 'bacs_debit',
42
+ BANCOMAT_PAY: 'bancomat_pay',
43
+ BANCONTACT: 'bancontact',
44
+ BELFIUS: 'belfius',
45
+ BILLIE: 'billie',
46
+ BLIK: 'blik',
47
+ BOLETO: 'boleto',
48
+ BANK_TRANSFER: 'bank_transfer',
49
+ CARD: 'card',
50
+ CARD_PRESENT: 'card_present',
51
+ CASHAPP: 'cashapp',
52
+ CUSTOMER_BALANCE: 'customer_balance',
53
+ EPS: 'eps',
54
+ FPX: 'fpx',
55
+ GIFTCARD: 'giftcard',
56
+ GIROPAY: 'giropay',
57
+ GOOGLE_PAY: 'google_pay',
58
+ GOPAY: 'gopay',
59
+ GRABPAY: 'grabpay',
60
+ ID_BANK_TRANSFER: 'id_bank_transfer',
61
+ IDEAL: 'ideal',
62
+ IN3: 'in3',
63
+ INTERAC_PRESENT: 'interac_present',
64
+ KAKAO_PAY: 'kakao_pay',
65
+ KBC: 'kbc',
66
+ KLARNA: 'klarna',
67
+ KONBINI: 'konbini',
68
+ KR_CARD: 'kr_card',
69
+ LINK: 'link',
70
+ MB_WAY: 'mb_way',
71
+ MOBILEPAY: 'mobilepay',
72
+ MULTIBANCO: 'multibanco',
73
+ NAVER_PAY: 'naver_pay',
74
+ NZ_BANK_ACCOUNT: 'nz_bank_account',
75
+ OXXO: 'oxxo',
76
+ PAY_BY_BANK: 'pay_by_bank',
77
+ PAYCO: 'payco',
78
+ PAYNOW: 'paynow',
79
+ PAYPAL: 'paypal',
80
+ PAYTO: 'payto',
81
+ PIX: 'pix',
82
+ PROMPTPAY: 'promptpay',
83
+ PRZELEWY24: 'przelewy24',
84
+ QRIS: 'qris',
85
+ RECHNUNG: 'rechnung',
86
+ REVOLUT_PAY: 'revolut_pay',
87
+ SAMSUNG_PAY: 'samsung_pay',
88
+ SATISPAY: 'satispay',
89
+ SEPA_DEBIT: 'sepa_debit',
90
+ SHOPEEPAY: 'shopeepay',
91
+ SOFORT: 'sofort',
92
+ STRIPE_BALANCE: 'stripe_balance',
93
+ SWISH: 'swish',
94
+ TWINT: 'twint',
95
+ US_BANK_ACCOUNT: 'us_bank_account',
96
+ VOUCHER: 'voucher',
97
+ WECHAT_PAY: 'wechat_pay',
98
+ ZIP: 'zip'
99
+ };
29
100
  /**
30
101
  * Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
31
102
  */
@@ -45,6 +116,8 @@ function CreateAccountPaymentManualTransactionInputFromJSONTyped(json, ignoreDis
45
116
  'gateway': json['gateway'] == null ? undefined : json['gateway'],
46
117
  'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
47
118
  'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
119
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
120
+ 'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
48
121
  'paymentMethodType': json['paymentMethodType'],
49
122
  };
50
123
  }
@@ -60,6 +133,8 @@ function CreateAccountPaymentManualTransactionInputToJSONTyped(value, ignoreDisc
60
133
  'gateway': value['gateway'],
61
134
  'successUrl': value['successUrl'],
62
135
  'cancelUrl': value['cancelUrl'],
136
+ 'sessionId': value['sessionId'],
137
+ 'selectedPaymentMethod': value['selectedPaymentMethod'],
63
138
  'paymentMethodType': value['paymentMethodType'],
64
139
  };
65
140
  }
@@ -33,6 +33,18 @@ export interface CreateManualTransactionInput {
33
33
  * @memberof CreateManualTransactionInput
34
34
  */
35
35
  cancelUrl?: string;
36
+ /**
37
+ * Payment session ID used as Mollie card token
38
+ * @type {string}
39
+ * @memberof CreateManualTransactionInput
40
+ */
41
+ sessionId?: string;
42
+ /**
43
+ * Selected payment method (canonical name)
44
+ * @type {string}
45
+ * @memberof CreateManualTransactionInput
46
+ */
47
+ selectedPaymentMethod?: CreateManualTransactionInputSelectedPaymentMethodEnum;
36
48
  }
37
49
  /**
38
50
  * @export
@@ -42,6 +54,78 @@ export declare const CreateManualTransactionInputGatewayEnum: {
42
54
  readonly CRYPTO: "crypto";
43
55
  };
44
56
  export type CreateManualTransactionInputGatewayEnum = typeof CreateManualTransactionInputGatewayEnum[keyof typeof CreateManualTransactionInputGatewayEnum];
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const CreateManualTransactionInputSelectedPaymentMethodEnum: {
61
+ readonly ACSS_DEBIT: "acss_debit";
62
+ readonly AFFIRM: "affirm";
63
+ readonly AFTERPAY_CLEARPAY: "afterpay_clearpay";
64
+ readonly ALIPAY: "alipay";
65
+ readonly ALMA: "alma";
66
+ readonly AMAZON_PAY: "amazon_pay";
67
+ readonly APPLE_PAY: "apple_pay";
68
+ readonly AU_BECS_DEBIT: "au_becs_debit";
69
+ readonly BACS_DEBIT: "bacs_debit";
70
+ readonly BANCOMAT_PAY: "bancomat_pay";
71
+ readonly BANCONTACT: "bancontact";
72
+ readonly BELFIUS: "belfius";
73
+ readonly BILLIE: "billie";
74
+ readonly BLIK: "blik";
75
+ readonly BOLETO: "boleto";
76
+ readonly BANK_TRANSFER: "bank_transfer";
77
+ readonly CARD: "card";
78
+ readonly CARD_PRESENT: "card_present";
79
+ readonly CASHAPP: "cashapp";
80
+ readonly CUSTOMER_BALANCE: "customer_balance";
81
+ readonly EPS: "eps";
82
+ readonly FPX: "fpx";
83
+ readonly GIFTCARD: "giftcard";
84
+ readonly GIROPAY: "giropay";
85
+ readonly GOOGLE_PAY: "google_pay";
86
+ readonly GOPAY: "gopay";
87
+ readonly GRABPAY: "grabpay";
88
+ readonly ID_BANK_TRANSFER: "id_bank_transfer";
89
+ readonly IDEAL: "ideal";
90
+ readonly IN3: "in3";
91
+ readonly INTERAC_PRESENT: "interac_present";
92
+ readonly KAKAO_PAY: "kakao_pay";
93
+ readonly KBC: "kbc";
94
+ readonly KLARNA: "klarna";
95
+ readonly KONBINI: "konbini";
96
+ readonly KR_CARD: "kr_card";
97
+ readonly LINK: "link";
98
+ readonly MB_WAY: "mb_way";
99
+ readonly MOBILEPAY: "mobilepay";
100
+ readonly MULTIBANCO: "multibanco";
101
+ readonly NAVER_PAY: "naver_pay";
102
+ readonly NZ_BANK_ACCOUNT: "nz_bank_account";
103
+ readonly OXXO: "oxxo";
104
+ readonly PAY_BY_BANK: "pay_by_bank";
105
+ readonly PAYCO: "payco";
106
+ readonly PAYNOW: "paynow";
107
+ readonly PAYPAL: "paypal";
108
+ readonly PAYTO: "payto";
109
+ readonly PIX: "pix";
110
+ readonly PROMPTPAY: "promptpay";
111
+ readonly PRZELEWY24: "przelewy24";
112
+ readonly QRIS: "qris";
113
+ readonly RECHNUNG: "rechnung";
114
+ readonly REVOLUT_PAY: "revolut_pay";
115
+ readonly SAMSUNG_PAY: "samsung_pay";
116
+ readonly SATISPAY: "satispay";
117
+ readonly SEPA_DEBIT: "sepa_debit";
118
+ readonly SHOPEEPAY: "shopeepay";
119
+ readonly SOFORT: "sofort";
120
+ readonly STRIPE_BALANCE: "stripe_balance";
121
+ readonly SWISH: "swish";
122
+ readonly TWINT: "twint";
123
+ readonly US_BANK_ACCOUNT: "us_bank_account";
124
+ readonly VOUCHER: "voucher";
125
+ readonly WECHAT_PAY: "wechat_pay";
126
+ readonly ZIP: "zip";
127
+ };
128
+ export type CreateManualTransactionInputSelectedPaymentMethodEnum = typeof CreateManualTransactionInputSelectedPaymentMethodEnum[keyof typeof CreateManualTransactionInputSelectedPaymentMethodEnum];
45
129
  /**
46
130
  * Check if a given object implements the CreateManualTransactionInput interface.
47
131
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateManualTransactionInputGatewayEnum = void 0;
16
+ exports.CreateManualTransactionInputSelectedPaymentMethodEnum = exports.CreateManualTransactionInputGatewayEnum = void 0;
17
17
  exports.instanceOfCreateManualTransactionInput = instanceOfCreateManualTransactionInput;
18
18
  exports.CreateManualTransactionInputFromJSON = CreateManualTransactionInputFromJSON;
19
19
  exports.CreateManualTransactionInputFromJSONTyped = CreateManualTransactionInputFromJSONTyped;
@@ -26,6 +26,77 @@ exports.CreateManualTransactionInputGatewayEnum = {
26
26
  COMMON: 'common',
27
27
  CRYPTO: 'crypto'
28
28
  };
29
+ /**
30
+ * @export
31
+ */
32
+ exports.CreateManualTransactionInputSelectedPaymentMethodEnum = {
33
+ ACSS_DEBIT: 'acss_debit',
34
+ AFFIRM: 'affirm',
35
+ AFTERPAY_CLEARPAY: 'afterpay_clearpay',
36
+ ALIPAY: 'alipay',
37
+ ALMA: 'alma',
38
+ AMAZON_PAY: 'amazon_pay',
39
+ APPLE_PAY: 'apple_pay',
40
+ AU_BECS_DEBIT: 'au_becs_debit',
41
+ BACS_DEBIT: 'bacs_debit',
42
+ BANCOMAT_PAY: 'bancomat_pay',
43
+ BANCONTACT: 'bancontact',
44
+ BELFIUS: 'belfius',
45
+ BILLIE: 'billie',
46
+ BLIK: 'blik',
47
+ BOLETO: 'boleto',
48
+ BANK_TRANSFER: 'bank_transfer',
49
+ CARD: 'card',
50
+ CARD_PRESENT: 'card_present',
51
+ CASHAPP: 'cashapp',
52
+ CUSTOMER_BALANCE: 'customer_balance',
53
+ EPS: 'eps',
54
+ FPX: 'fpx',
55
+ GIFTCARD: 'giftcard',
56
+ GIROPAY: 'giropay',
57
+ GOOGLE_PAY: 'google_pay',
58
+ GOPAY: 'gopay',
59
+ GRABPAY: 'grabpay',
60
+ ID_BANK_TRANSFER: 'id_bank_transfer',
61
+ IDEAL: 'ideal',
62
+ IN3: 'in3',
63
+ INTERAC_PRESENT: 'interac_present',
64
+ KAKAO_PAY: 'kakao_pay',
65
+ KBC: 'kbc',
66
+ KLARNA: 'klarna',
67
+ KONBINI: 'konbini',
68
+ KR_CARD: 'kr_card',
69
+ LINK: 'link',
70
+ MB_WAY: 'mb_way',
71
+ MOBILEPAY: 'mobilepay',
72
+ MULTIBANCO: 'multibanco',
73
+ NAVER_PAY: 'naver_pay',
74
+ NZ_BANK_ACCOUNT: 'nz_bank_account',
75
+ OXXO: 'oxxo',
76
+ PAY_BY_BANK: 'pay_by_bank',
77
+ PAYCO: 'payco',
78
+ PAYNOW: 'paynow',
79
+ PAYPAL: 'paypal',
80
+ PAYTO: 'payto',
81
+ PIX: 'pix',
82
+ PROMPTPAY: 'promptpay',
83
+ PRZELEWY24: 'przelewy24',
84
+ QRIS: 'qris',
85
+ RECHNUNG: 'rechnung',
86
+ REVOLUT_PAY: 'revolut_pay',
87
+ SAMSUNG_PAY: 'samsung_pay',
88
+ SATISPAY: 'satispay',
89
+ SEPA_DEBIT: 'sepa_debit',
90
+ SHOPEEPAY: 'shopeepay',
91
+ SOFORT: 'sofort',
92
+ STRIPE_BALANCE: 'stripe_balance',
93
+ SWISH: 'swish',
94
+ TWINT: 'twint',
95
+ US_BANK_ACCOUNT: 'us_bank_account',
96
+ VOUCHER: 'voucher',
97
+ WECHAT_PAY: 'wechat_pay',
98
+ ZIP: 'zip'
99
+ };
29
100
  /**
30
101
  * Check if a given object implements the CreateManualTransactionInput interface.
31
102
  */
@@ -43,6 +114,8 @@ function CreateManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
43
114
  'gateway': json['gateway'] == null ? undefined : json['gateway'],
44
115
  'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
45
116
  'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
117
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
118
+ 'selectedPaymentMethod': json['selectedPaymentMethod'] == null ? undefined : json['selectedPaymentMethod'],
46
119
  };
47
120
  }
48
121
  function CreateManualTransactionInputToJSON(json) {
@@ -57,5 +130,7 @@ function CreateManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
57
130
  'gateway': value['gateway'],
58
131
  'successUrl': value['successUrl'],
59
132
  'cancelUrl': value['cancelUrl'],
133
+ 'sessionId': value['sessionId'],
134
+ 'selectedPaymentMethod': value['selectedPaymentMethod'],
60
135
  };
61
136
  }