@houlak/plexo-sdk 0.1.52 → 0.1.54
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/lib/handler/PlexoHandler.d.ts +14 -4
- package/lib/handler/PlexoHandler.js +141 -3
- package/lib/models/Authorization.d.ts +0 -2
- package/lib/models/IssuerProcessor.d.ts +4 -4
- package/lib/models/IssuerProcessor.js +4 -4
- package/lib/sdk/models/IndexSDK.d.ts +1 -0
- package/lib/sdk/models/TransactionsCSV.d.ts +3 -0
- package/lib/sdk/models/TransactionsCSV.js +2 -0
- package/package.json +1 -1
- package/lib/models/BuiltInPagesOptionsDto.d.ts +0 -4
- package/lib/models/BuiltInPagesOptionsDto.js +0 -9
- package/lib/models/DisplayOptionsDto.d.ts +0 -7
- package/lib/models/DisplayOptionsDto.js +0 -9
- package/lib/models/ExpressCheckoutSettingsDto.d.ts +0 -6
- package/lib/models/ExpressCheckoutSettingsDto.js +0 -9
- package/lib/models/TokenizationSettingsDto.d.ts +0 -4
- package/lib/models/TokenizationSettingsDto.js +0 -9
- package/lib/models/UIOptionsDto.d.ts +0 -7
- package/lib/models/UIOptionsDto.js +0 -13
- package/lib/models/WebFormSettingsDto.d.ts +0 -8
- package/lib/models/WebFormSettingsDto.js +0 -9
- package/lib/sdk/models/webhook/IndexWebhook.d.ts +0 -21
- package/lib/sdk/models/webhook/IndexWebhook.js +0 -45
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
import { Authorization, BaseServerResponse, CancelRequest, ClientSignedResponse, Commerce, CommerceIdRequest, CommerceIssuerIdRequest, CommerceRequest, DeleteInstrumentRequest, ExpressCheckoutRequest, InstrumentCallback, IssuerData, IssuerInfo, IssuerProcessor, PaymentRequest, ServerResponse, Session, Transaction, TransactionCallback } from '../sdk/index';
|
|
1
|
+
import { Authorization, AuthorizationInfo, BaseServerResponse, CancelRequest, ClientSignedResponse, CodeRequest, Commerce, CommerceIdRequest, CommerceIssuerIdRequest, CommerceModifyRequest, CommerceRequest, CreateBankInstrumentRequest, DeleteInstrumentRequest, ExpressCheckoutRequest, InstrumentCallback, IssuerData, IssuerInfo, IssuerProcessor, PaymentInstrument, PaymentRequest, Reference, Reserve, ReserveRequest, ServerResponse, Session, Transaction, TransactionCallback, TransactionCursor, TransactionQuery, TransactionsCSV } from '../sdk/index';
|
|
2
2
|
import { BaseResponse } from './types/BaseResponse';
|
|
3
3
|
export declare const PlexoHandler: {
|
|
4
4
|
AddCommerce: (commerceRequest: CommerceRequest) => Promise<BaseResponse<Commerce>>;
|
|
5
5
|
AddIssuerCommerce: (issuerData: IssuerData) => Promise<BaseResponse<IssuerData>>;
|
|
6
|
-
GetCommerceIssuers: (commerceIdRequest: CommerceIdRequest) => Promise<BaseResponse<IssuerData[]>>;
|
|
7
|
-
GetCommerces: () => Promise<BaseResponse<Commerce[]>>;
|
|
8
6
|
DeleteCommerce: (commerceIdRequest: CommerceIdRequest) => Promise<BaseResponse<BaseServerResponse>>;
|
|
9
|
-
DeleteIssuerCommerce: (commerceIssuerIdRequest: CommerceIssuerIdRequest) => Promise<BaseResponse<BaseServerResponse>>;
|
|
10
7
|
DeleteInstrument: (instrument: DeleteInstrumentRequest) => Promise<BaseResponse<BaseServerResponse>>;
|
|
8
|
+
DeleteIssuerCommerce: (commerceIssuerIdRequest: CommerceIssuerIdRequest) => Promise<BaseResponse<BaseServerResponse>>;
|
|
9
|
+
GetCommerceIssuers: (commerceIdRequest: CommerceIdRequest) => Promise<BaseResponse<IssuerData[]>>;
|
|
10
|
+
GetCommerces: () => Promise<BaseResponse<Commerce[]>>;
|
|
11
11
|
GetSupportedIssuers: () => Promise<BaseResponse<IssuerInfo[]>>;
|
|
12
12
|
GetSupportedPaymentProcessors: () => Promise<BaseResponse<IssuerProcessor[]>>;
|
|
13
|
+
ModifyCommerce: (commerceModifyRequest: CommerceModifyRequest) => Promise<BaseResponse<Commerce>>;
|
|
14
|
+
GetInstruments: (authorizationInfo: AuthorizationInfo) => Promise<BaseResponse<PaymentInstrument[]>>;
|
|
15
|
+
SetDefaultCommerce: (commerceIdRequest: CommerceIdRequest) => Promise<BaseResponse<BaseServerResponse>>;
|
|
13
16
|
Authorize: (authorization: Authorization) => Promise<BaseResponse<Session>>;
|
|
14
17
|
Cancel: (cancellation: CancelRequest) => Promise<BaseResponse<Transaction>>;
|
|
18
|
+
CodeAction: (request: CodeRequest) => Promise<BaseResponse<Transaction>>;
|
|
19
|
+
StartReserve: (payment: ReserveRequest) => Promise<BaseResponse<Transaction>>;
|
|
20
|
+
Status: (payment: Reference) => Promise<BaseResponse<Transaction>>;
|
|
15
21
|
ExpressCheckout: (expressCheckout: ExpressCheckoutRequest) => Promise<BaseResponse<Session>>;
|
|
22
|
+
ObtainCsvTransactions: (query: TransactionQuery) => Promise<BaseResponse<TransactionsCSV>>;
|
|
23
|
+
ObtainTransactions: (query: TransactionQuery) => Promise<BaseResponse<TransactionCursor>>;
|
|
16
24
|
Purchase: (purchase: PaymentRequest) => Promise<BaseResponse<Transaction>>;
|
|
25
|
+
CreateBankInstrument: (request: CreateBankInstrumentRequest) => Promise<BaseResponse<PaymentInstrument>>;
|
|
26
|
+
EndReserve: (reserve: Reserve) => Promise<BaseResponse<Transaction>>;
|
|
17
27
|
UnwrapInstrumentCallback: (instrumentCallback: any) => Promise<BaseResponse<InstrumentCallback>>;
|
|
18
28
|
UnwrapTransactionCallback: (transactionCallback: any) => Promise<BaseResponse<TransactionCallback>>;
|
|
19
29
|
SignInstrumentCallback: (instrumentCallback: ServerResponse<InstrumentCallback>) => Promise<BaseResponse<ClientSignedResponse>>;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
14
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
15
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -157,6 +168,43 @@ var GetSupportedPaymentProcessors = function () { return __awaiter(void 0, void
|
|
|
157
168
|
}
|
|
158
169
|
});
|
|
159
170
|
}); };
|
|
171
|
+
var ModifyCommerce = function (commerceModifyRequest) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
|
+
var modifyCommerceResponse;
|
|
173
|
+
return __generator(this, function (_a) {
|
|
174
|
+
switch (_a.label) {
|
|
175
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.ModifyCommerceAsync(commerceModifyRequest)];
|
|
176
|
+
case 1:
|
|
177
|
+
modifyCommerceResponse = _a.sent();
|
|
178
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(commerceModifyRequest, modifyCommerceResponse)];
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}); };
|
|
182
|
+
var GetInstruments = function (authorizationInfo) { return __awaiter(void 0, void 0, void 0, function () {
|
|
183
|
+
var instrumentsResponse;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
switch (_a.label) {
|
|
186
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.GetInstrumentsAsync(authorizationInfo)];
|
|
187
|
+
case 1:
|
|
188
|
+
instrumentsResponse = _a.sent();
|
|
189
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(authorizationInfo, instrumentsResponse)];
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}); };
|
|
193
|
+
var SetDefaultCommerce = function (commerceIdRequest) { return __awaiter(void 0, void 0, void 0, function () {
|
|
194
|
+
var setDefaultCommerceResponse, wrappedResponse;
|
|
195
|
+
return __generator(this, function (_a) {
|
|
196
|
+
switch (_a.label) {
|
|
197
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.SetDefaultCommerceAsync(commerceIdRequest)];
|
|
198
|
+
case 1:
|
|
199
|
+
setDefaultCommerceResponse = _a.sent();
|
|
200
|
+
wrappedResponse = {
|
|
201
|
+
response: setDefaultCommerceResponse,
|
|
202
|
+
resultCode: setDefaultCommerceResponse.resultCode,
|
|
203
|
+
};
|
|
204
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(commerceIdRequest, wrappedResponse)];
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
}); };
|
|
160
208
|
var Authorize = function (authorization) { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
209
|
var authorizationResponse;
|
|
162
210
|
return __generator(this, function (_a) {
|
|
@@ -180,6 +228,39 @@ var Cancel = function (cancellation) { return __awaiter(void 0, void 0, void 0,
|
|
|
180
228
|
}
|
|
181
229
|
});
|
|
182
230
|
}); };
|
|
231
|
+
var CodeAction = function (request) { return __awaiter(void 0, void 0, void 0, function () {
|
|
232
|
+
var codeActionResponse;
|
|
233
|
+
return __generator(this, function (_a) {
|
|
234
|
+
switch (_a.label) {
|
|
235
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.CodeActionAsync(request)];
|
|
236
|
+
case 1:
|
|
237
|
+
codeActionResponse = _a.sent();
|
|
238
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(request, codeActionResponse)];
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
}); };
|
|
242
|
+
var StartReserve = function (payment) { return __awaiter(void 0, void 0, void 0, function () {
|
|
243
|
+
var reserveResponse;
|
|
244
|
+
return __generator(this, function (_a) {
|
|
245
|
+
switch (_a.label) {
|
|
246
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.StartReserveAsync(payment)];
|
|
247
|
+
case 1:
|
|
248
|
+
reserveResponse = _a.sent();
|
|
249
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.transactionEvaluator(payment, reserveResponse, 'Reserve', index_1.TransactionType.Reserve)];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}); };
|
|
253
|
+
var Status = function (payment) { return __awaiter(void 0, void 0, void 0, function () {
|
|
254
|
+
var statusResponse;
|
|
255
|
+
return __generator(this, function (_a) {
|
|
256
|
+
switch (_a.label) {
|
|
257
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.StatusAsync(payment)];
|
|
258
|
+
case 1:
|
|
259
|
+
statusResponse = _a.sent();
|
|
260
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(payment, statusResponse)];
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
}); };
|
|
183
264
|
var ExpressCheckout = function (expressCheckout) { return __awaiter(void 0, void 0, void 0, function () {
|
|
184
265
|
var expressCheckoutResponse;
|
|
185
266
|
return __generator(this, function (_a) {
|
|
@@ -191,6 +272,31 @@ var ExpressCheckout = function (expressCheckout) { return __awaiter(void 0, void
|
|
|
191
272
|
}
|
|
192
273
|
});
|
|
193
274
|
}); };
|
|
275
|
+
var ObtainCsvTransactions = function (query) { return __awaiter(void 0, void 0, void 0, function () {
|
|
276
|
+
var csvTransactionsStringResponse, csvTransactionsResponse;
|
|
277
|
+
return __generator(this, function (_a) {
|
|
278
|
+
switch (_a.label) {
|
|
279
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.ObtainCsvTransactionsAsync(query)];
|
|
280
|
+
case 1:
|
|
281
|
+
csvTransactionsStringResponse = _a.sent();
|
|
282
|
+
csvTransactionsResponse = __assign(__assign({}, csvTransactionsStringResponse), { response: {
|
|
283
|
+
csv: csvTransactionsStringResponse.response,
|
|
284
|
+
} });
|
|
285
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(query, csvTransactionsResponse)];
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
}); };
|
|
289
|
+
var ObtainTransactions = function (query) { return __awaiter(void 0, void 0, void 0, function () {
|
|
290
|
+
var transactionsResponse;
|
|
291
|
+
return __generator(this, function (_a) {
|
|
292
|
+
switch (_a.label) {
|
|
293
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.ObtainTransactionsAsync(query)];
|
|
294
|
+
case 1:
|
|
295
|
+
transactionsResponse = _a.sent();
|
|
296
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(query, transactionsResponse)];
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
}); };
|
|
194
300
|
var Purchase = function (purchase) { return __awaiter(void 0, void 0, void 0, function () {
|
|
195
301
|
var purchaseResponse;
|
|
196
302
|
return __generator(this, function (_a) {
|
|
@@ -202,6 +308,28 @@ var Purchase = function (purchase) { return __awaiter(void 0, void 0, void 0, fu
|
|
|
202
308
|
}
|
|
203
309
|
});
|
|
204
310
|
}); };
|
|
311
|
+
var CreateBankInstrument = function (request) { return __awaiter(void 0, void 0, void 0, function () {
|
|
312
|
+
var bankInstrumentResponse;
|
|
313
|
+
return __generator(this, function (_a) {
|
|
314
|
+
switch (_a.label) {
|
|
315
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.CreateBankInstrumentAsync(request)];
|
|
316
|
+
case 1:
|
|
317
|
+
bankInstrumentResponse = _a.sent();
|
|
318
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.genericEvaluator(request, bankInstrumentResponse)];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
}); };
|
|
322
|
+
var EndReserve = function (reserve) { return __awaiter(void 0, void 0, void 0, function () {
|
|
323
|
+
var endReserveResponse;
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
switch (_a.label) {
|
|
326
|
+
case 0: return [4 /*yield*/, paymentGatewayClient.EndReserveAsync(reserve)];
|
|
327
|
+
case 1:
|
|
328
|
+
endReserveResponse = _a.sent();
|
|
329
|
+
return [2 /*return*/, evaluator_service_1.Evaluator.transactionEvaluator(reserve, endReserveResponse, 'Reserve', index_1.TransactionType.Reserve)];
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
}); };
|
|
205
333
|
var UnwrapInstrumentCallback = function (instrumentCallback) { return __awaiter(void 0, void 0, void 0, function () {
|
|
206
334
|
var instrumentCallbackCamelCase, instrumentCallbackResponse;
|
|
207
335
|
return __generator(this, function (_a) {
|
|
@@ -265,17 +393,27 @@ var SignTransactionCallback = function (transactionCallback) { return __awaiter(
|
|
|
265
393
|
exports.PlexoHandler = {
|
|
266
394
|
AddCommerce: AddCommerce,
|
|
267
395
|
AddIssuerCommerce: AddIssuerCommerce,
|
|
268
|
-
GetCommerceIssuers: GetCommerceIssuers,
|
|
269
|
-
GetCommerces: GetCommerces,
|
|
270
396
|
DeleteCommerce: DeleteCommerce,
|
|
271
|
-
DeleteIssuerCommerce: DeleteIssuerCommerce,
|
|
272
397
|
DeleteInstrument: DeleteInstrument,
|
|
398
|
+
DeleteIssuerCommerce: DeleteIssuerCommerce,
|
|
399
|
+
GetCommerceIssuers: GetCommerceIssuers,
|
|
400
|
+
GetCommerces: GetCommerces,
|
|
273
401
|
GetSupportedIssuers: GetSupportedIssuers,
|
|
274
402
|
GetSupportedPaymentProcessors: GetSupportedPaymentProcessors,
|
|
403
|
+
ModifyCommerce: ModifyCommerce,
|
|
404
|
+
GetInstruments: GetInstruments,
|
|
405
|
+
SetDefaultCommerce: SetDefaultCommerce,
|
|
275
406
|
Authorize: Authorize,
|
|
276
407
|
Cancel: Cancel,
|
|
408
|
+
CodeAction: CodeAction,
|
|
409
|
+
StartReserve: StartReserve,
|
|
410
|
+
Status: Status,
|
|
277
411
|
ExpressCheckout: ExpressCheckout,
|
|
412
|
+
ObtainCsvTransactions: ObtainCsvTransactions,
|
|
413
|
+
ObtainTransactions: ObtainTransactions,
|
|
278
414
|
Purchase: Purchase,
|
|
415
|
+
CreateBankInstrument: CreateBankInstrument,
|
|
416
|
+
EndReserve: EndReserve,
|
|
279
417
|
UnwrapInstrumentCallback: UnwrapInstrumentCallback,
|
|
280
418
|
UnwrapTransactionCallback: UnwrapTransactionCallback,
|
|
281
419
|
SignInstrumentCallback: SignInstrumentCallback,
|
|
@@ -2,7 +2,6 @@ import { ESMap } from 'typescript';
|
|
|
2
2
|
import { AuthorizationType } from '..';
|
|
3
3
|
import { ActionType } from './ActionType';
|
|
4
4
|
import { AuthorizationInfo } from './AuthorizationInfo';
|
|
5
|
-
import { WebFormSettingsDto } from './WebFormSettingsDto';
|
|
6
5
|
export declare class Authorization extends AuthorizationInfo {
|
|
7
6
|
action: ActionType;
|
|
8
7
|
redirectUri: string;
|
|
@@ -13,6 +12,5 @@ export declare class Authorization extends AuthorizationInfo {
|
|
|
13
12
|
optionalMetadata?: string;
|
|
14
13
|
promotionInfoIssuers?: ESMap<string, string>;
|
|
15
14
|
extendableInstrumentToken?: string;
|
|
16
|
-
webFormSettings?: WebFormSettingsDto;
|
|
17
15
|
constructor(action: ActionType, redirectUri: string, limitIssuers: string[], optionalCommerceId: number, type: AuthorizationType, metaReference: string);
|
|
18
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaymentProcessor } from './PaymentProcessor';
|
|
2
2
|
export declare class IssuerProcessor {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
constructor(
|
|
3
|
+
IssuerId: number;
|
|
4
|
+
Name: string;
|
|
5
|
+
PaymentProcessors: PaymentProcessor[];
|
|
6
|
+
constructor(IssuerId: number, Name: string, PaymentProcessors: PaymentProcessor[]);
|
|
7
7
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IssuerProcessor = void 0;
|
|
4
4
|
var IssuerProcessor = /** @class */ (function () {
|
|
5
|
-
function IssuerProcessor(
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
8
|
-
this.
|
|
5
|
+
function IssuerProcessor(IssuerId, Name, PaymentProcessors) {
|
|
6
|
+
this.IssuerId = IssuerId;
|
|
7
|
+
this.Name = Name;
|
|
8
|
+
this.PaymentProcessors = PaymentProcessors;
|
|
9
9
|
}
|
|
10
10
|
return IssuerProcessor;
|
|
11
11
|
}());
|
|
@@ -80,6 +80,7 @@ export { TransactionOrder } from './TransactionOrder';
|
|
|
80
80
|
export { TransactionQuery } from './TransactionQuery';
|
|
81
81
|
export { TransactionResult } from './TransactionResult';
|
|
82
82
|
export { TransactionType } from './TransactionType';
|
|
83
|
+
export { TransactionsCSV } from './TransactionsCSV';
|
|
83
84
|
export { UIOptionsDto } from './UIOptionsDto';
|
|
84
85
|
export { WebFormSettingsDto } from './WebFormSettingsDto';
|
|
85
86
|
export { PlexoErrorEnum } from '../enums/plexo-error-enum';
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuiltInPagesOptionsDto = void 0;
|
|
4
|
-
var BuiltInPagesOptionsDto = /** @class */ (function () {
|
|
5
|
-
function BuiltInPagesOptionsDto() {
|
|
6
|
-
}
|
|
7
|
-
return BuiltInPagesOptionsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.BuiltInPagesOptionsDto = BuiltInPagesOptionsDto;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DisplayOptionsDto = void 0;
|
|
4
|
-
var DisplayOptionsDto = /** @class */ (function () {
|
|
5
|
-
function DisplayOptionsDto() {
|
|
6
|
-
}
|
|
7
|
-
return DisplayOptionsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.DisplayOptionsDto = DisplayOptionsDto;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExpressCheckoutSettingsDto = void 0;
|
|
4
|
-
var ExpressCheckoutSettingsDto = /** @class */ (function () {
|
|
5
|
-
function ExpressCheckoutSettingsDto() {
|
|
6
|
-
}
|
|
7
|
-
return ExpressCheckoutSettingsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.ExpressCheckoutSettingsDto = ExpressCheckoutSettingsDto;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TokenizationSettingsDto = void 0;
|
|
4
|
-
var TokenizationSettingsDto = /** @class */ (function () {
|
|
5
|
-
function TokenizationSettingsDto() {
|
|
6
|
-
}
|
|
7
|
-
return TokenizationSettingsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.TokenizationSettingsDto = TokenizationSettingsDto;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UIOptionsDto = void 0;
|
|
4
|
-
var UIOptionsDto = /** @class */ (function () {
|
|
5
|
-
function UIOptionsDto(colors, theme, autoDarkTheme, logoURL) {
|
|
6
|
-
this.colors = colors;
|
|
7
|
-
this.theme = theme;
|
|
8
|
-
this.autoDarkTheme = autoDarkTheme;
|
|
9
|
-
this.logoURL = logoURL;
|
|
10
|
-
}
|
|
11
|
-
return UIOptionsDto;
|
|
12
|
-
}());
|
|
13
|
-
exports.UIOptionsDto = UIOptionsDto;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ExpressCheckoutSettingsDto } from './ExpressCheckoutSettingsDto';
|
|
2
|
-
import { TokenizationSettingsDto } from './TokenizationSettingsDto';
|
|
3
|
-
import { UIOptionsDto } from './UIOptionsDto';
|
|
4
|
-
export declare class WebFormSettingsDto {
|
|
5
|
-
ui?: UIOptionsDto;
|
|
6
|
-
expressCheckout?: ExpressCheckoutSettingsDto;
|
|
7
|
-
tokenization?: TokenizationSettingsDto;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebFormSettingsDto = void 0;
|
|
4
|
-
var WebFormSettingsDto = /** @class */ (function () {
|
|
5
|
-
function WebFormSettingsDto() {
|
|
6
|
-
}
|
|
7
|
-
return WebFormSettingsDto;
|
|
8
|
-
}());
|
|
9
|
-
exports.WebFormSettingsDto = WebFormSettingsDto;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { Address } from './Address';
|
|
2
|
-
export { CancellationInfo } from './CancellationInfo';
|
|
3
|
-
export { Client } from './Client';
|
|
4
|
-
export { Commerce } from './Commerce';
|
|
5
|
-
export { Currency } from './Currency';
|
|
6
|
-
export { Customer } from './Customer';
|
|
7
|
-
export { Document } from './Document';
|
|
8
|
-
export { Instrument } from './Instrument';
|
|
9
|
-
export { Issuer } from './Issuer';
|
|
10
|
-
export { IssuerData } from './IssuerData';
|
|
11
|
-
export { IssuerDto } from './IssuerDto';
|
|
12
|
-
export { Item } from './Item';
|
|
13
|
-
export { PartialRefundsInfo } from './PartialRefundsInfo';
|
|
14
|
-
export { PaymentFacilitator } from './PaymentFacilitator';
|
|
15
|
-
export { PaymentProcessor } from './PaymentProcessor';
|
|
16
|
-
export { PurchaseInfo } from './PurchaseInfo';
|
|
17
|
-
export { RefundInfo } from './RefundInfo';
|
|
18
|
-
export { ReserveInfo } from './ReserveInfo';
|
|
19
|
-
export { Shipping } from './Shipping';
|
|
20
|
-
export { Transaction } from './Transaction';
|
|
21
|
-
export { TransactionResult } from './TransactionResult';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionResult = exports.Transaction = exports.Shipping = exports.ReserveInfo = exports.RefundInfo = exports.PurchaseInfo = exports.PaymentProcessor = exports.PaymentFacilitator = exports.PartialRefundsInfo = exports.Item = exports.IssuerDto = exports.IssuerData = exports.Issuer = exports.Instrument = exports.Document = exports.Customer = exports.Currency = exports.Commerce = exports.Client = exports.CancellationInfo = exports.Address = void 0;
|
|
4
|
-
var Address_1 = require("./Address");
|
|
5
|
-
Object.defineProperty(exports, "Address", { enumerable: true, get: function () { return Address_1.Address; } });
|
|
6
|
-
var CancellationInfo_1 = require("./CancellationInfo");
|
|
7
|
-
Object.defineProperty(exports, "CancellationInfo", { enumerable: true, get: function () { return CancellationInfo_1.CancellationInfo; } });
|
|
8
|
-
var Client_1 = require("./Client");
|
|
9
|
-
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_1.Client; } });
|
|
10
|
-
var Commerce_1 = require("./Commerce");
|
|
11
|
-
Object.defineProperty(exports, "Commerce", { enumerable: true, get: function () { return Commerce_1.Commerce; } });
|
|
12
|
-
var Currency_1 = require("./Currency");
|
|
13
|
-
Object.defineProperty(exports, "Currency", { enumerable: true, get: function () { return Currency_1.Currency; } });
|
|
14
|
-
var Customer_1 = require("./Customer");
|
|
15
|
-
Object.defineProperty(exports, "Customer", { enumerable: true, get: function () { return Customer_1.Customer; } });
|
|
16
|
-
var Document_1 = require("./Document");
|
|
17
|
-
Object.defineProperty(exports, "Document", { enumerable: true, get: function () { return Document_1.Document; } });
|
|
18
|
-
var Instrument_1 = require("./Instrument");
|
|
19
|
-
Object.defineProperty(exports, "Instrument", { enumerable: true, get: function () { return Instrument_1.Instrument; } });
|
|
20
|
-
var Issuer_1 = require("./Issuer");
|
|
21
|
-
Object.defineProperty(exports, "Issuer", { enumerable: true, get: function () { return Issuer_1.Issuer; } });
|
|
22
|
-
var IssuerData_1 = require("./IssuerData");
|
|
23
|
-
Object.defineProperty(exports, "IssuerData", { enumerable: true, get: function () { return IssuerData_1.IssuerData; } });
|
|
24
|
-
var IssuerDto_1 = require("./IssuerDto");
|
|
25
|
-
Object.defineProperty(exports, "IssuerDto", { enumerable: true, get: function () { return IssuerDto_1.IssuerDto; } });
|
|
26
|
-
var Item_1 = require("./Item");
|
|
27
|
-
Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return Item_1.Item; } });
|
|
28
|
-
var PartialRefundsInfo_1 = require("./PartialRefundsInfo");
|
|
29
|
-
Object.defineProperty(exports, "PartialRefundsInfo", { enumerable: true, get: function () { return PartialRefundsInfo_1.PartialRefundsInfo; } });
|
|
30
|
-
var PaymentFacilitator_1 = require("./PaymentFacilitator");
|
|
31
|
-
Object.defineProperty(exports, "PaymentFacilitator", { enumerable: true, get: function () { return PaymentFacilitator_1.PaymentFacilitator; } });
|
|
32
|
-
var PaymentProcessor_1 = require("./PaymentProcessor");
|
|
33
|
-
Object.defineProperty(exports, "PaymentProcessor", { enumerable: true, get: function () { return PaymentProcessor_1.PaymentProcessor; } });
|
|
34
|
-
var PurchaseInfo_1 = require("./PurchaseInfo");
|
|
35
|
-
Object.defineProperty(exports, "PurchaseInfo", { enumerable: true, get: function () { return PurchaseInfo_1.PurchaseInfo; } });
|
|
36
|
-
var RefundInfo_1 = require("./RefundInfo");
|
|
37
|
-
Object.defineProperty(exports, "RefundInfo", { enumerable: true, get: function () { return RefundInfo_1.RefundInfo; } });
|
|
38
|
-
var ReserveInfo_1 = require("./ReserveInfo");
|
|
39
|
-
Object.defineProperty(exports, "ReserveInfo", { enumerable: true, get: function () { return ReserveInfo_1.ReserveInfo; } });
|
|
40
|
-
var Shipping_1 = require("./Shipping");
|
|
41
|
-
Object.defineProperty(exports, "Shipping", { enumerable: true, get: function () { return Shipping_1.Shipping; } });
|
|
42
|
-
var Transaction_1 = require("./Transaction");
|
|
43
|
-
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
|
|
44
|
-
var TransactionResult_1 = require("./TransactionResult");
|
|
45
|
-
Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
|