@houlak/plexo-sdk 0.1.6 → 0.1.7-fx

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 (138) hide show
  1. package/lib/handler/PlexoHandler.d.ts +21 -10
  2. package/lib/handler/PlexoHandler.js +179 -29
  3. package/lib/index.d.ts +1 -0
  4. package/lib/index.js +4 -1
  5. package/lib/lib/logger.lib.js +3 -3
  6. package/lib/sdk/IPaymentGatewayClient.d.ts +8 -7
  7. package/lib/sdk/PaymentGatewayClient.d.ts +8 -7
  8. package/lib/sdk/PaymentGatewayClient.js +45 -45
  9. package/lib/sdk/PaymentGatewayMock.d.ts +2 -2
  10. package/lib/sdk/PaymentGatewayMock.js +5 -11
  11. package/lib/sdk/enums/plexo-error-enum.d.ts +1 -0
  12. package/lib/sdk/enums/plexo-error-enum.js +1 -0
  13. package/lib/sdk/helpers/signature/signatureHelper.d.ts +3 -7
  14. package/lib/sdk/helpers/signature/signatureHelper.js +74 -205
  15. package/lib/sdk/helpers/signature/signatureUtils.d.ts +10 -0
  16. package/lib/sdk/helpers/signature/signatureUtils.js +155 -0
  17. package/lib/sdk/helpers/signature/stringifyWithFloats.js +2 -0
  18. package/lib/sdk/mocks/mocks.js +24 -21
  19. package/lib/sdk/models/Authorization.d.ts +4 -5
  20. package/lib/sdk/models/Authorization.js +8 -2
  21. package/lib/sdk/models/AuthorizationInfo.d.ts +3 -2
  22. package/lib/sdk/models/AuthorizationInfo.js +24 -5
  23. package/lib/sdk/models/BuiltInPagesOptions.d.ts +5 -0
  24. package/lib/sdk/models/BuiltInPagesOptions.js +11 -0
  25. package/lib/sdk/models/CancelRequest.d.ts +1 -1
  26. package/lib/sdk/models/CancelRequest.js +2 -2
  27. package/lib/sdk/models/CodeRequest.d.ts +4 -2
  28. package/lib/sdk/models/CodeRequest.js +28 -0
  29. package/lib/sdk/models/CommerceIdRequest.d.ts +4 -2
  30. package/lib/sdk/models/CommerceIdRequest.js +27 -0
  31. package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +4 -2
  32. package/lib/sdk/models/CommerceIssuerIdRequest.js +28 -0
  33. package/lib/sdk/models/CommerceModifyRequest.d.ts +4 -2
  34. package/lib/sdk/models/CommerceModifyRequest.js +28 -0
  35. package/lib/sdk/models/CommerceRequest.d.ts +4 -2
  36. package/lib/sdk/models/CommerceRequest.js +27 -0
  37. package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +4 -2
  38. package/lib/sdk/models/CreateBankInstrumentRequest.js +29 -0
  39. package/lib/sdk/models/DeleteInstrumentRequest.d.ts +1 -1
  40. package/lib/sdk/models/DeleteInstrumentRequest.js +2 -2
  41. package/lib/sdk/models/DisplayOptions.d.ts +8 -0
  42. package/lib/sdk/models/DisplayOptions.js +14 -0
  43. package/lib/sdk/models/ExpressCheckoutSettings.d.ts +7 -0
  44. package/lib/sdk/models/ExpressCheckoutSettings.js +11 -0
  45. package/lib/sdk/models/FieldType.d.ts +6 -0
  46. package/lib/sdk/models/FieldType.js +6 -0
  47. package/lib/sdk/models/FixedCustomData.d.ts +6 -0
  48. package/lib/sdk/models/FixedCustomData.js +12 -0
  49. package/lib/sdk/models/GenericSignedObject.d.ts +3 -3
  50. package/lib/sdk/models/GenericSignedObject.js +3 -3
  51. package/lib/sdk/models/GenericStateObject.d.ts +2 -2
  52. package/lib/sdk/models/GenericStateObject.js +3 -3
  53. package/lib/sdk/models/IndexSDK.d.ts +8 -6
  54. package/lib/sdk/models/IndexSDK.js +32 -14
  55. package/lib/sdk/models/InstrumentCallback.d.ts +5 -5
  56. package/lib/sdk/models/InstrumentCallback.js +5 -5
  57. package/lib/sdk/models/InstrumentWithMetadata.d.ts +3 -3
  58. package/lib/sdk/models/InstrumentWithMetadata.js +3 -3
  59. package/lib/sdk/models/IssuerData.d.ts +6 -2
  60. package/lib/sdk/models/IssuerData.js +31 -0
  61. package/lib/sdk/models/PaymentInstrument.d.ts +11 -11
  62. package/lib/sdk/models/PaymentRequest.d.ts +3 -2
  63. package/lib/sdk/models/PaymentRequest.js +33 -14
  64. package/lib/sdk/models/Reference.d.ts +4 -2
  65. package/lib/sdk/models/Reference.js +25 -5
  66. package/lib/sdk/models/Reserve.d.ts +1 -1
  67. package/lib/sdk/models/Reserve.js +2 -2
  68. package/lib/sdk/models/ReserveRequest.d.ts +1 -1
  69. package/lib/sdk/models/ReserveRequest.js +2 -2
  70. package/lib/sdk/models/SignedObject.d.ts +3 -3
  71. package/lib/sdk/models/SignedObject.js +3 -3
  72. package/lib/sdk/models/StateObject.d.ts +2 -2
  73. package/lib/sdk/models/StateObject.js +2 -2
  74. package/lib/sdk/models/TokenizationSettings.d.ts +5 -0
  75. package/lib/sdk/models/TokenizationSettings.js +10 -0
  76. package/lib/sdk/models/TransactionCallback.d.ts +4 -4
  77. package/lib/sdk/models/TransactionCallback.js +3 -3
  78. package/lib/sdk/models/TransactionQuery.d.ts +4 -2
  79. package/lib/sdk/models/TransactionQuery.js +30 -1
  80. package/lib/sdk/models/TransactionsCSV.d.ts +3 -0
  81. package/lib/sdk/models/TransactionsCSV.js +2 -0
  82. package/lib/sdk/models/UIOptions.d.ts +8 -0
  83. package/lib/sdk/models/UIOptions.js +13 -0
  84. package/lib/sdk/models/WebFormSettings.d.ts +9 -0
  85. package/lib/sdk/models/WebFormSettings.js +12 -0
  86. package/lib/sdk/models/webhook/Address.d.ts +9 -0
  87. package/lib/sdk/models/webhook/Address.js +15 -0
  88. package/lib/sdk/models/webhook/CancellationInfo.d.ts +11 -0
  89. package/lib/sdk/models/webhook/CancellationInfo.js +17 -0
  90. package/lib/sdk/models/webhook/Client.d.ts +9 -0
  91. package/lib/sdk/models/webhook/Client.js +14 -0
  92. package/lib/sdk/models/webhook/Commerce.d.ts +6 -0
  93. package/lib/sdk/models/webhook/Commerce.js +12 -0
  94. package/lib/sdk/models/webhook/Currency.d.ts +8 -0
  95. package/lib/sdk/models/webhook/Currency.js +14 -0
  96. package/lib/sdk/models/webhook/Customer.d.ts +17 -0
  97. package/lib/sdk/models/webhook/Customer.js +22 -0
  98. package/lib/sdk/models/webhook/Document.d.ts +5 -0
  99. package/lib/sdk/models/webhook/Document.js +11 -0
  100. package/lib/sdk/models/webhook/IndexWebhook.d.ts +21 -0
  101. package/lib/sdk/models/webhook/IndexWebhook.js +45 -0
  102. package/lib/sdk/models/webhook/Instrument.d.ts +17 -0
  103. package/lib/sdk/models/webhook/Instrument.js +21 -0
  104. package/lib/sdk/models/webhook/Issuer.d.ts +8 -0
  105. package/lib/sdk/models/webhook/Issuer.js +14 -0
  106. package/lib/sdk/models/webhook/IssuerData.d.ts +8 -0
  107. package/lib/sdk/models/webhook/IssuerData.js +13 -0
  108. package/lib/sdk/models/webhook/IssuerDto.d.ts +5 -0
  109. package/lib/sdk/models/webhook/IssuerDto.js +11 -0
  110. package/lib/sdk/models/webhook/Item.d.ts +14 -0
  111. package/lib/sdk/models/webhook/Item.js +19 -0
  112. package/lib/sdk/models/webhook/PartialRefundsInfo.d.ts +12 -0
  113. package/lib/sdk/models/webhook/PartialRefundsInfo.js +18 -0
  114. package/lib/sdk/models/webhook/PaymentFacilitator.d.ts +8 -0
  115. package/lib/sdk/models/webhook/PaymentFacilitator.js +13 -0
  116. package/lib/sdk/models/webhook/PaymentProcessor.d.ts +5 -0
  117. package/lib/sdk/models/webhook/PaymentProcessor.js +11 -0
  118. package/lib/sdk/models/webhook/PurchaseInfo.d.ts +16 -0
  119. package/lib/sdk/models/webhook/PurchaseInfo.js +22 -0
  120. package/lib/sdk/models/webhook/RefundInfo.d.ts +12 -0
  121. package/lib/sdk/models/webhook/RefundInfo.js +18 -0
  122. package/lib/sdk/models/webhook/ReserveInfo.d.ts +13 -0
  123. package/lib/sdk/models/webhook/ReserveInfo.js +19 -0
  124. package/lib/sdk/models/webhook/Shipping.d.ts +7 -0
  125. package/lib/sdk/models/webhook/Shipping.js +12 -0
  126. package/lib/sdk/models/webhook/Transaction.d.ts +31 -0
  127. package/lib/sdk/models/webhook/Transaction.js +36 -0
  128. package/lib/sdk/models/webhook/TransactionResult.d.ts +5 -0
  129. package/lib/sdk/models/webhook/TransactionResult.js +10 -0
  130. package/lib/sdk/models/webhook/index.d.ts +21 -0
  131. package/lib/sdk/models/webhook/index.js +45 -0
  132. package/lib/utils/boolean.utils.d.ts +4 -0
  133. package/lib/utils/boolean.utils.js +53 -0
  134. package/lib/utils/case.util.d.ts +4 -0
  135. package/lib/utils/case.util.js +61 -0
  136. package/lib/utils/index.d.ts +1 -0
  137. package/lib/utils/index.js +5 -0
  138. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionCallback = exports.Transaction = exports.TokenizationSettingsDto = exports.StateObject = exports.SignedObject = exports.ServerSignedResponse = exports.ServerSignedRequest = exports.ServerSignedCallback = exports.ServerResponse = exports.ResultCodes = exports.ReserveRequest = exports.Reserve = exports.ReferenceType = exports.Reference = exports.PaymentRequest = exports.PaymentProcessor = exports.IssuerSignedRequest = exports.IssuerRequest = exports.IssuerProcessor = exports.InstrumentWithMetadata = exports.InstrumentCallback = exports.InclusionType = exports.IdentificationType = exports.GenericStateObject = exports.GenericSignedObject = exports.GenericServerSignedResponse = exports.GenericIssuerSignedRequest = exports.GenericIssuerRequest = exports.GenericClientSignedRequest = exports.GenericClientRequest = exports.FieldType = exports.FieldInfoPaymentProcessors = exports.ExpressCheckoutSettingsDto = exports.DisplayOptionsDto = exports.DeleteInstrumentRequest = exports.CodeAction = exports.ClientSignedResponse = exports.ClientSignedRequest = exports.ClientResponse = exports.ClientRequest = exports.CardTypes = exports.CardStatus = exports.CancelRequest = exports.BuiltInPagesOptionsDto = exports.BaseServerResponse = exports.AuthorizationType = exports.AuthorizationInfo = exports.Authorization = exports.ActionType = exports.BaseResponse = void 0;
4
- exports.WebFormSettingsDto = exports.UIOptionsDto = exports.TransactionType = exports.TransactionResult = void 0;
3
+ exports.ServerSignedCallback = exports.ServerResponse = exports.ResultCodes = exports.ReserveRequest = exports.Reserve = exports.ReferenceType = exports.Reference = exports.PaymentRequest = exports.PaymentProcessor = exports.IssuerSignedRequest = exports.IssuerRequest = exports.IssuerProcessor = exports.IssuerData = exports.InstrumentWithMetadata = exports.InstrumentCallback = exports.InclusionType = exports.IdentificationType = exports.GenericStateObject = exports.GenericSignedObject = exports.GenericServerSignedResponse = exports.GenericIssuerSignedRequest = exports.GenericIssuerRequest = exports.GenericClientSignedRequest = exports.GenericClientRequest = exports.FieldType = exports.FieldInfoPaymentProcessors = exports.ExpressCheckoutSettingsDto = exports.DisplayOptions = exports.DeleteInstrumentRequest = exports.CreateBankInstrumentRequest = exports.CommerceRequest = exports.CommerceModifyRequest = exports.CommerceIssuerIdRequest = exports.CommerceIdRequest = exports.CodeRequest = exports.CodeAction = exports.ClientSignedResponse = exports.ClientSignedRequest = exports.ClientResponse = exports.ClientRequest = exports.CardTypes = exports.CardStatus = exports.CancelRequest = exports.BuiltInPagesOptions = exports.BaseServerResponse = exports.AuthorizationType = exports.AuthorizationInfo = exports.Authorization = exports.ActionType = exports.BaseResponse = void 0;
4
+ exports.PlexoErrorEnum = exports.WebFormSettings = exports.UIOptions = exports.TransactionType = exports.TransactionResult = exports.TransactionQuery = exports.TransactionCallback = exports.Transaction = exports.TokenizationSettings = exports.StateObject = exports.SignedObject = exports.ServerSignedResponse = exports.ServerSignedRequest = void 0;
5
5
  var BaseResponse_1 = require("../../handler/types/BaseResponse");
6
6
  Object.defineProperty(exports, "BaseResponse", { enumerable: true, get: function () { return BaseResponse_1.BaseResponse; } });
7
7
  var ActionType_1 = require("./ActionType");
@@ -14,8 +14,8 @@ var AuthorizationType_1 = require("./AuthorizationType");
14
14
  Object.defineProperty(exports, "AuthorizationType", { enumerable: true, get: function () { return AuthorizationType_1.AuthorizationType; } });
15
15
  var BaseServerResponse_1 = require("./BaseServerResponse");
16
16
  Object.defineProperty(exports, "BaseServerResponse", { enumerable: true, get: function () { return BaseServerResponse_1.BaseServerResponse; } });
17
- var BuiltInPagesOptionsDto_1 = require("./BuiltInPagesOptionsDto");
18
- Object.defineProperty(exports, "BuiltInPagesOptionsDto", { enumerable: true, get: function () { return BuiltInPagesOptionsDto_1.BuiltInPagesOptionsDto; } });
17
+ var BuiltInPagesOptions_1 = require("./BuiltInPagesOptions");
18
+ Object.defineProperty(exports, "BuiltInPagesOptions", { enumerable: true, get: function () { return BuiltInPagesOptions_1.BuiltInPagesOptions; } });
19
19
  var CancelRequest_1 = require("./CancelRequest");
20
20
  Object.defineProperty(exports, "CancelRequest", { enumerable: true, get: function () { return CancelRequest_1.CancelRequest; } });
21
21
  var CardStatus_1 = require("./CardStatus");
@@ -32,12 +32,24 @@ var ClientSignedResponse_1 = require("./ClientSignedResponse");
32
32
  Object.defineProperty(exports, "ClientSignedResponse", { enumerable: true, get: function () { return ClientSignedResponse_1.ClientSignedResponse; } });
33
33
  var CodeAction_1 = require("./CodeAction");
34
34
  Object.defineProperty(exports, "CodeAction", { enumerable: true, get: function () { return CodeAction_1.CodeAction; } });
35
+ var CodeRequest_1 = require("./CodeRequest");
36
+ Object.defineProperty(exports, "CodeRequest", { enumerable: true, get: function () { return CodeRequest_1.CodeRequest; } });
37
+ var CommerceIdRequest_1 = require("./CommerceIdRequest");
38
+ Object.defineProperty(exports, "CommerceIdRequest", { enumerable: true, get: function () { return CommerceIdRequest_1.CommerceIdRequest; } });
39
+ var CommerceIssuerIdRequest_1 = require("./CommerceIssuerIdRequest");
40
+ Object.defineProperty(exports, "CommerceIssuerIdRequest", { enumerable: true, get: function () { return CommerceIssuerIdRequest_1.CommerceIssuerIdRequest; } });
41
+ var CommerceModifyRequest_1 = require("./CommerceModifyRequest");
42
+ Object.defineProperty(exports, "CommerceModifyRequest", { enumerable: true, get: function () { return CommerceModifyRequest_1.CommerceModifyRequest; } });
43
+ var CommerceRequest_1 = require("./CommerceRequest");
44
+ Object.defineProperty(exports, "CommerceRequest", { enumerable: true, get: function () { return CommerceRequest_1.CommerceRequest; } });
45
+ var CreateBankInstrumentRequest_1 = require("./CreateBankInstrumentRequest");
46
+ Object.defineProperty(exports, "CreateBankInstrumentRequest", { enumerable: true, get: function () { return CreateBankInstrumentRequest_1.CreateBankInstrumentRequest; } });
35
47
  var DeleteInstrumentRequest_1 = require("./DeleteInstrumentRequest");
36
48
  Object.defineProperty(exports, "DeleteInstrumentRequest", { enumerable: true, get: function () { return DeleteInstrumentRequest_1.DeleteInstrumentRequest; } });
37
- var DisplayOptionsDto_1 = require("./DisplayOptionsDto");
38
- Object.defineProperty(exports, "DisplayOptionsDto", { enumerable: true, get: function () { return DisplayOptionsDto_1.DisplayOptionsDto; } });
39
- var ExpressCheckoutSettingsDto_1 = require("./ExpressCheckoutSettingsDto");
40
- Object.defineProperty(exports, "ExpressCheckoutSettingsDto", { enumerable: true, get: function () { return ExpressCheckoutSettingsDto_1.ExpressCheckoutSettingsDto; } });
49
+ var DisplayOptions_1 = require("./DisplayOptions");
50
+ Object.defineProperty(exports, "DisplayOptions", { enumerable: true, get: function () { return DisplayOptions_1.DisplayOptions; } });
51
+ var ExpressCheckoutSettings_1 = require("./ExpressCheckoutSettings");
52
+ Object.defineProperty(exports, "ExpressCheckoutSettingsDto", { enumerable: true, get: function () { return ExpressCheckoutSettings_1.ExpressCheckoutSettingsDto; } });
41
53
  var FieldInfoPaymentProcessors_1 = require("./FieldInfoPaymentProcessors");
42
54
  Object.defineProperty(exports, "FieldInfoPaymentProcessors", { enumerable: true, get: function () { return FieldInfoPaymentProcessors_1.FieldInfoPaymentProcessors; } });
43
55
  var FieldType_1 = require("./FieldType");
@@ -64,6 +76,8 @@ var InstrumentCallback_1 = require("./InstrumentCallback");
64
76
  Object.defineProperty(exports, "InstrumentCallback", { enumerable: true, get: function () { return InstrumentCallback_1.InstrumentCallback; } });
65
77
  var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
66
78
  Object.defineProperty(exports, "InstrumentWithMetadata", { enumerable: true, get: function () { return InstrumentWithMetadata_1.InstrumentWithMetadata; } });
79
+ var IssuerData_1 = require("./IssuerData");
80
+ Object.defineProperty(exports, "IssuerData", { enumerable: true, get: function () { return IssuerData_1.IssuerData; } });
67
81
  var IssuerProcessor_1 = require("./IssuerProcessor");
68
82
  Object.defineProperty(exports, "IssuerProcessor", { enumerable: true, get: function () { return IssuerProcessor_1.IssuerProcessor; } });
69
83
  var IssuerRequest_1 = require("./IssuerRequest");
@@ -96,17 +110,21 @@ var SignedObject_1 = require("./SignedObject");
96
110
  Object.defineProperty(exports, "SignedObject", { enumerable: true, get: function () { return SignedObject_1.SignedObject; } });
97
111
  var StateObject_1 = require("./StateObject");
98
112
  Object.defineProperty(exports, "StateObject", { enumerable: true, get: function () { return StateObject_1.StateObject; } });
99
- var TokenizationSettingsDto_1 = require("./TokenizationSettingsDto");
100
- Object.defineProperty(exports, "TokenizationSettingsDto", { enumerable: true, get: function () { return TokenizationSettingsDto_1.TokenizationSettingsDto; } });
113
+ var TokenizationSettings_1 = require("./TokenizationSettings");
114
+ Object.defineProperty(exports, "TokenizationSettings", { enumerable: true, get: function () { return TokenizationSettings_1.TokenizationSettings; } });
101
115
  var Transaction_1 = require("./Transaction");
102
116
  Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return Transaction_1.Transaction; } });
103
117
  var TransactionCallback_1 = require("./TransactionCallback");
104
118
  Object.defineProperty(exports, "TransactionCallback", { enumerable: true, get: function () { return TransactionCallback_1.TransactionCallback; } });
119
+ var TransactionQuery_1 = require("./TransactionQuery");
120
+ Object.defineProperty(exports, "TransactionQuery", { enumerable: true, get: function () { return TransactionQuery_1.TransactionQuery; } });
105
121
  var TransactionResult_1 = require("./TransactionResult");
106
122
  Object.defineProperty(exports, "TransactionResult", { enumerable: true, get: function () { return TransactionResult_1.TransactionResult; } });
107
123
  var TransactionType_1 = require("./TransactionType");
108
124
  Object.defineProperty(exports, "TransactionType", { enumerable: true, get: function () { return TransactionType_1.TransactionType; } });
109
- var UIOptionsDto_1 = require("./UIOptionsDto");
110
- Object.defineProperty(exports, "UIOptionsDto", { enumerable: true, get: function () { return UIOptionsDto_1.UIOptionsDto; } });
111
- var WebFormSettingsDto_1 = require("./WebFormSettingsDto");
112
- Object.defineProperty(exports, "WebFormSettingsDto", { enumerable: true, get: function () { return WebFormSettingsDto_1.WebFormSettingsDto; } });
125
+ var UIOptions_1 = require("./UIOptions");
126
+ Object.defineProperty(exports, "UIOptions", { enumerable: true, get: function () { return UIOptions_1.UIOptions; } });
127
+ var WebFormSettings_1 = require("./WebFormSettings");
128
+ Object.defineProperty(exports, "WebFormSettings", { enumerable: true, get: function () { return WebFormSettings_1.WebFormSettings; } });
129
+ var plexo_error_enum_1 = require("../enums/plexo-error-enum");
130
+ Object.defineProperty(exports, "PlexoErrorEnum", { enumerable: true, get: function () { return plexo_error_enum_1.PlexoErrorEnum; } });
@@ -1,9 +1,9 @@
1
- import { PaymentInstrument as PaymentInstrumentModel } from '..';
1
+ import { PaymentInstrument } from '..';
2
2
  import { ActionType } from './ActionType';
3
3
  import { InstrumentWithMetadata } from './InstrumentWithMetadata';
4
4
  export declare class InstrumentCallback extends InstrumentWithMetadata {
5
- SessionId: string;
6
- Client: string;
7
- Action: ActionType;
8
- constructor(SessionId: string, Client: string, Action: ActionType, PaymentInstrument: PaymentInstrumentModel, OptionalMetadata: string);
5
+ sessionId: string;
6
+ client: string;
7
+ action: ActionType;
8
+ constructor(sessionId: string, client: string, action: ActionType, paymentInstrument: PaymentInstrument, optionalMetadata: string);
9
9
  }
@@ -19,11 +19,11 @@ exports.InstrumentCallback = void 0;
19
19
  var InstrumentWithMetadata_1 = require("./InstrumentWithMetadata");
20
20
  var InstrumentCallback = /** @class */ (function (_super) {
21
21
  __extends(InstrumentCallback, _super);
22
- function InstrumentCallback(SessionId, Client, Action, PaymentInstrument, OptionalMetadata) {
23
- var _this = _super.call(this, PaymentInstrument, OptionalMetadata) || this;
24
- _this.SessionId = SessionId;
25
- _this.Client = Client;
26
- _this.Action = Action;
22
+ function InstrumentCallback(sessionId, client, action, paymentInstrument, optionalMetadata) {
23
+ var _this = _super.call(this, paymentInstrument, optionalMetadata) || this;
24
+ _this.sessionId = sessionId;
25
+ _this.client = client;
26
+ _this.action = action;
27
27
  return _this;
28
28
  }
29
29
  return InstrumentCallback;
@@ -1,6 +1,6 @@
1
1
  import { PaymentInstrument } from './PaymentInstrument';
2
2
  export declare class InstrumentWithMetadata {
3
- PaymentInstrument: PaymentInstrument;
4
- OptionalMetadata: string;
5
- constructor(InstrumentPayment: PaymentInstrument, OptionalMetadata: string);
3
+ paymentInstrument: PaymentInstrument;
4
+ optionalMetadata: string;
5
+ constructor(paymentInstrument: PaymentInstrument, optionalMetadata: string);
6
6
  }
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InstrumentWithMetadata = void 0;
4
4
  var InstrumentWithMetadata = /** @class */ (function () {
5
- function InstrumentWithMetadata(InstrumentPayment, OptionalMetadata) {
6
- this.PaymentInstrument = InstrumentPayment;
7
- this.OptionalMetadata = OptionalMetadata;
5
+ function InstrumentWithMetadata(paymentInstrument, optionalMetadata) {
6
+ this.paymentInstrument = paymentInstrument;
7
+ this.optionalMetadata = optionalMetadata;
8
8
  }
9
9
  return InstrumentWithMetadata;
10
10
  }());
@@ -1,5 +1,9 @@
1
- export declare type IssuerData = {
1
+ import { FixedCustomData } from './FixedCustomData';
2
+ export declare class IssuerData extends FixedCustomData {
2
3
  issuerId: number;
3
4
  commerceId: number;
5
+ paymentFacilitatorCommerceId?: number;
6
+ paymentFacilitatorId?: number;
4
7
  metadata: any;
5
- };
8
+ constructor(issuerId: number, commerceId: number, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string, paymentFacilitatorCommerceId: number, paymentFacilitatorId: number, metadata: any);
9
+ }
@@ -1,2 +1,33 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
2
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.IssuerData = void 0;
19
+ var FixedCustomData_1 = require("./FixedCustomData");
20
+ var IssuerData = /** @class */ (function (_super) {
21
+ __extends(IssuerData, _super);
22
+ function IssuerData(issuerId, commerceId, plexoClientName, plexoCertificatePassword, plexoCertificatePath, paymentFacilitatorCommerceId, paymentFacilitatorId, metadata) {
23
+ var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
+ _this.issuerId = issuerId;
25
+ _this.commerceId = commerceId;
26
+ _this.paymentFacilitatorCommerceId = paymentFacilitatorCommerceId;
27
+ _this.paymentFacilitatorId = paymentFacilitatorId;
28
+ _this.metadata = metadata;
29
+ return _this;
30
+ }
31
+ return IssuerData;
32
+ }(FixedCustomData_1.FixedCustomData));
33
+ exports.IssuerData = IssuerData;
@@ -4,15 +4,15 @@ import { Currency } from './Currency';
4
4
  import { IssuerInfo } from './IssuerInfo';
5
5
  import { TimeLimit } from './TimeLimit';
6
6
  export declare type PaymentInstrument = {
7
- InstrumentToken: string;
8
- Name: string;
9
- Issuer: IssuerInfo;
10
- SupportedCurrencies: Currency[];
11
- Status: CardStatus;
12
- InstrumentExpirationUTC: number;
13
- AnonInstrumentUsageTimeLimit?: number;
14
- CreditLimits: AmountLimit[];
15
- AdditionalRequirements: TimeLimit[];
16
- InstrumentInformation: any;
17
- SessionCreationId: string;
7
+ instrumentToken: string;
8
+ name: string;
9
+ issuer: IssuerInfo;
10
+ supportedCurrencies: Currency[];
11
+ status: CardStatus;
12
+ instrumentExpirationUTC: number;
13
+ anonInstrumentUsageTimeLimit?: number;
14
+ creditLimits: AmountLimit[];
15
+ additionalRequirements: TimeLimit[];
16
+ instrumentInformation: any;
17
+ sessionCreationId: string;
18
18
  };
@@ -1,7 +1,8 @@
1
1
  import { FinancialInclusion } from './FinancialInclusion';
2
+ import { FixedCustomData } from './FixedCustomData';
2
3
  import { Item } from './Item';
3
4
  import { PaymentInstrumentInput } from './PaymentInstrumentInput';
4
- export declare class PaymentRequest {
5
+ export declare class PaymentRequest extends FixedCustomData {
5
6
  clientReferenceId: string;
6
7
  paymentInstrumentInput: PaymentInstrumentInput;
7
8
  items: Item[];
@@ -13,5 +14,5 @@ export declare class PaymentRequest {
13
14
  optionalMetadata?: string;
14
15
  optionalProvidedCode?: string;
15
16
  optionalExternalPaymentInfo?: string;
16
- constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
17
+ constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
17
18
  }
@@ -1,20 +1,39 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
2
17
  Object.defineProperty(exports, "__esModule", { value: true });
3
18
  exports.PaymentRequest = void 0;
4
- var PaymentRequest = /** @class */ (function () {
5
- function PaymentRequest(clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, tipAmount, optionalCommerceId, optionalMetadata, optionalProvidedCode, optionalExternalPaymentInfo) {
6
- this.clientReferenceId = clientReferenceId;
7
- this.paymentInstrumentInput = paymentInstrumentInput;
8
- this.items = items;
9
- this.currencyId = currencyId;
10
- this.installments = installments;
11
- this.financialInclusion = financialInclusion;
12
- this.tipAmount = tipAmount;
13
- this.optionalCommerceId = optionalCommerceId;
14
- this.optionalMetadata = optionalMetadata;
15
- this.optionalProvidedCode = optionalProvidedCode;
16
- this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
19
+ var FixedCustomData_1 = require("./FixedCustomData");
20
+ var PaymentRequest = /** @class */ (function (_super) {
21
+ __extends(PaymentRequest, _super);
22
+ function PaymentRequest(clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath, tipAmount, optionalCommerceId, optionalMetadata, optionalProvidedCode, optionalExternalPaymentInfo) {
23
+ var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
+ _this.clientReferenceId = clientReferenceId;
25
+ _this.paymentInstrumentInput = paymentInstrumentInput;
26
+ _this.items = items;
27
+ _this.currencyId = currencyId;
28
+ _this.installments = installments;
29
+ _this.financialInclusion = financialInclusion;
30
+ _this.tipAmount = tipAmount;
31
+ _this.optionalCommerceId = optionalCommerceId;
32
+ _this.optionalMetadata = optionalMetadata;
33
+ _this.optionalProvidedCode = optionalProvidedCode;
34
+ _this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
35
+ return _this;
17
36
  }
18
37
  return PaymentRequest;
19
- }());
38
+ }(FixedCustomData_1.FixedCustomData));
20
39
  exports.PaymentRequest = PaymentRequest;
@@ -1,6 +1,8 @@
1
+ import { FixedCustomData } from './FixedCustomData';
1
2
  import { ReferenceType } from './ReferenceType';
2
- export declare class Reference {
3
+ export declare class Reference extends FixedCustomData {
3
4
  type: ReferenceType;
4
5
  metaReference: string;
5
- constructor(type: ReferenceType, metaReference: string);
6
+ plexoClientName: string;
7
+ constructor(type: ReferenceType, metaReference: string, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
6
8
  }
@@ -1,11 +1,31 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
2
17
  Object.defineProperty(exports, "__esModule", { value: true });
3
18
  exports.Reference = void 0;
4
- var Reference = /** @class */ (function () {
5
- function Reference(type, metaReference) {
6
- this.type = type;
7
- this.metaReference = metaReference;
19
+ var FixedCustomData_1 = require("./FixedCustomData");
20
+ var Reference = /** @class */ (function (_super) {
21
+ __extends(Reference, _super);
22
+ function Reference(type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
23
+ var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
+ _this.type = type;
25
+ _this.metaReference = metaReference;
26
+ _this.plexoClientName = plexoClientName;
27
+ return _this;
8
28
  }
9
29
  return Reference;
10
- }());
30
+ }(FixedCustomData_1.FixedCustomData));
11
31
  exports.Reference = Reference;
@@ -2,5 +2,5 @@ import { ReferenceType } from '..';
2
2
  import { Reference } from './Reference';
3
3
  export declare class Reserve extends Reference {
4
4
  commit: boolean;
5
- constructor(commit: boolean, type: ReferenceType, metaReference: string);
5
+ constructor(commit: boolean, type: ReferenceType, metaReference: string, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
6
6
  }
@@ -19,8 +19,8 @@ exports.Reserve = void 0;
19
19
  var Reference_1 = require("./Reference");
20
20
  var Reserve = /** @class */ (function (_super) {
21
21
  __extends(Reserve, _super);
22
- function Reserve(commit, type, metaReference) {
23
- var _this = _super.call(this, type, metaReference) || this;
22
+ function Reserve(commit, type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
23
+ var _this = _super.call(this, type, metaReference, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
24
  _this.commit = commit;
25
25
  return _this;
26
26
  }
@@ -2,5 +2,5 @@ import { FinancialInclusion, Item, PaymentInstrumentInput } from '..';
2
2
  import { PaymentRequest } from './PaymentRequest';
3
3
  export declare class ReserveRequest extends PaymentRequest {
4
4
  expirationUTC: number;
5
- constructor(expirationUTC: number, clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion);
5
+ constructor(expirationUTC: number, clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
6
6
  }
@@ -19,8 +19,8 @@ exports.ReserveRequest = void 0;
19
19
  var PaymentRequest_1 = require("./PaymentRequest");
20
20
  var ReserveRequest = /** @class */ (function (_super) {
21
21
  __extends(ReserveRequest, _super);
22
- function ReserveRequest(expirationUTC, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) {
23
- var _this = _super.call(this, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) || this;
22
+ function ReserveRequest(expirationUTC, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
23
+ var _this = _super.call(this, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
24
  _this.expirationUTC = expirationUTC;
25
25
  return _this;
26
26
  }
@@ -1,6 +1,6 @@
1
1
  import { StateObject } from './StateObject';
2
2
  export declare class SignedObject {
3
- Object: StateObject;
4
- Signature: string;
5
- constructor(Object: StateObject, Signature: string);
3
+ object: StateObject;
4
+ signature: string;
5
+ constructor(object: StateObject, signature: string);
6
6
  }
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SignedObject = void 0;
4
4
  var SignedObject = /** @class */ (function () {
5
- function SignedObject(Object, Signature) {
6
- this.Object = Object;
7
- this.Signature = Signature;
5
+ function SignedObject(object, signature) {
6
+ this.object = object;
7
+ this.signature = signature;
8
8
  }
9
9
  return SignedObject;
10
10
  }());
@@ -1,5 +1,5 @@
1
1
  export declare class StateObject {
2
- Fingerprint: string;
3
- UtcUnixTimeExpiration: number;
2
+ fingerprint: string;
3
+ utcUnixTimeExpiration: number;
4
4
  constructor(fingerprint: string, utcUnixTimeExpiration: number);
5
5
  }
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StateObject = void 0;
4
4
  var StateObject = /** @class */ (function () {
5
5
  function StateObject(fingerprint, utcUnixTimeExpiration) {
6
- this.Fingerprint = fingerprint;
7
- this.UtcUnixTimeExpiration = utcUnixTimeExpiration;
6
+ this.fingerprint = fingerprint;
7
+ this.utcUnixTimeExpiration = utcUnixTimeExpiration;
8
8
  }
9
9
  return StateObject;
10
10
  }());
@@ -0,0 +1,5 @@
1
+ import { DisplayOptions } from './DisplayOptions';
2
+ export declare class TokenizationSettings {
3
+ display: DisplayOptions;
4
+ constructor(display: DisplayOptions);
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenizationSettings = void 0;
4
+ var TokenizationSettings = /** @class */ (function () {
5
+ function TokenizationSettings(display) {
6
+ this.display = display;
7
+ }
8
+ return TokenizationSettings;
9
+ }());
10
+ exports.TokenizationSettings = TokenizationSettings;
@@ -1,7 +1,7 @@
1
- import { Commerce as CommerceModel, Currency as CurrencyModel, FinancialInclusionResult as FinancialInclusionResultModel, IssuerInfo as IssuerInfoModel, TransactionType as TransactionTypeModel } from '..';
2
- import { PaymentCode as PaymentCodeModel } from './CodeAction';
1
+ import { Commerce, Currency, FinancialInclusionResult, IssuerInfo, TransactionType } from '..';
2
+ import { PaymentCode } from './CodeAction';
3
3
  import { Transaction } from './Transaction';
4
4
  export declare class TransactionCallback extends Transaction {
5
- Client: string;
6
- constructor(Client: string, TransactionId: string, Commerce: CommerceModel, InstrumentToken: string, InstrumentName: string, Issuer: IssuerInfoModel, Amount: number, Installments: number, Currency: CurrencyModel, IsAnonymous: boolean, CurrentState: TransactionTypeModel, InvoiceNumber: string, FinancialInclusion: FinancialInclusionResultModel, Transactions: any, FieldInformation: any, IsAsyncPayment: boolean, PaymentCode: PaymentCodeModel, UTCUnixTimeExpiration: number);
5
+ client: string;
6
+ constructor(client: string, transactionId: string, commerce: Commerce, instrumentToken: string, instrumentName: string, issuer: IssuerInfo, amount: number, installments: number, currency: Currency, isAnonymous: boolean, currentState: TransactionType, invoiceNumber: string, financialInclusion: FinancialInclusionResult, transactions: any, fieldInformation: any, isAsyncPayment: boolean, paymentCode: PaymentCode, utcUnixTimeExpiration: number);
7
7
  }
@@ -19,9 +19,9 @@ exports.TransactionCallback = void 0;
19
19
  var Transaction_1 = require("./Transaction");
20
20
  var TransactionCallback = /** @class */ (function (_super) {
21
21
  __extends(TransactionCallback, _super);
22
- function TransactionCallback(Client, TransactionId, Commerce, InstrumentToken, InstrumentName, Issuer, Amount, Installments, Currency, IsAnonymous, CurrentState, InvoiceNumber, FinancialInclusion, Transactions, FieldInformation, IsAsyncPayment, PaymentCode, UTCUnixTimeExpiration) {
23
- var _this = _super.call(this, TransactionId, Commerce, InstrumentToken, InstrumentName, Issuer, Amount, Installments, Currency, IsAnonymous, CurrentState, InvoiceNumber, FinancialInclusion, Transactions, FieldInformation, IsAsyncPayment, PaymentCode, UTCUnixTimeExpiration) || this;
24
- _this.Client = Client;
22
+ function TransactionCallback(client, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) {
23
+ var _this = _super.call(this, transactionId, commerce, instrumentToken, instrumentName, issuer, amount, installments, currency, isAnonymous, currentState, invoiceNumber, financialInclusion, transactions, fieldInformation, isAsyncPayment, paymentCode, utcUnixTimeExpiration) || this;
24
+ _this.client = client;
25
25
  return _this;
26
26
  }
27
27
  return TransactionCallback;
@@ -1,10 +1,12 @@
1
+ import { FixedCustomData } from './FixedCustomData';
1
2
  import { TransactionOrder } from './TransactionOrder';
2
- export declare type TransactionQuery = {
3
+ export declare class TransactionQuery extends FixedCustomData {
3
4
  queries: Query[];
4
5
  order: TransactionOrder[];
5
6
  limit: number;
6
7
  skip: number;
7
- };
8
+ constructor(queries: Query[], order: TransactionOrder[], limit: number, skip: number, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
9
+ }
8
10
  export declare enum TransactionOrderDirection {
9
11
  Asc = 0,
10
12
  Desc = 1
@@ -1,6 +1,35 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
2
17
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = void 0;
18
+ exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = exports.TransactionQuery = void 0;
19
+ var FixedCustomData_1 = require("./FixedCustomData");
20
+ var TransactionQuery = /** @class */ (function (_super) {
21
+ __extends(TransactionQuery, _super);
22
+ function TransactionQuery(queries, order, limit, skip, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
23
+ var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
24
+ _this.queries = queries;
25
+ _this.order = order;
26
+ _this.limit = limit;
27
+ _this.skip = skip;
28
+ return _this;
29
+ }
30
+ return TransactionQuery;
31
+ }(FixedCustomData_1.FixedCustomData));
32
+ exports.TransactionQuery = TransactionQuery;
4
33
  var TransactionOrderDirection;
5
34
  (function (TransactionOrderDirection) {
6
35
  TransactionOrderDirection[TransactionOrderDirection["Asc"] = 0] = "Asc";
@@ -0,0 +1,3 @@
1
+ export declare type TransactionsCSV = {
2
+ csv: string;
3
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Colors } from '../types/ui_options_dto.type';
2
+ export declare class UIOptions {
3
+ colors: Colors;
4
+ theme?: string;
5
+ autoDarkTheme?: boolean;
6
+ logoURL?: string;
7
+ constructor(colors: Colors, theme: string, autoDarkTheme: boolean, logoURL: string);
8
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UIOptions = void 0;
4
+ var UIOptions = /** @class */ (function () {
5
+ function UIOptions(colors, theme, autoDarkTheme, logoURL) {
6
+ this.colors = colors;
7
+ this.theme = theme;
8
+ this.autoDarkTheme = autoDarkTheme;
9
+ this.logoURL = logoURL;
10
+ }
11
+ return UIOptions;
12
+ }());
13
+ exports.UIOptions = UIOptions;
@@ -0,0 +1,9 @@
1
+ import { ExpressCheckoutSettingsDto } from './ExpressCheckoutSettings';
2
+ import { TokenizationSettings } from './TokenizationSettings';
3
+ import { UIOptions } from './UIOptions';
4
+ export declare class WebFormSettings {
5
+ ui: UIOptions;
6
+ expressCheckout?: ExpressCheckoutSettingsDto;
7
+ tokenization: TokenizationSettings;
8
+ constructor(ui: UIOptions, expressCheckout: ExpressCheckoutSettingsDto, tokenization: TokenizationSettings);
9
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebFormSettings = void 0;
4
+ var WebFormSettings = /** @class */ (function () {
5
+ function WebFormSettings(ui, expressCheckout, tokenization) {
6
+ this.ui = ui;
7
+ this.expressCheckout = expressCheckout;
8
+ this.tokenization = tokenization;
9
+ }
10
+ return WebFormSettings;
11
+ }());
12
+ exports.WebFormSettings = WebFormSettings;
@@ -0,0 +1,9 @@
1
+ export declare class Address {
2
+ city: string;
3
+ country: string;
4
+ line1: string;
5
+ line2: string;
6
+ postalCode: string;
7
+ state: string;
8
+ constructor(city: string, country: string, line1: string, line2: string, postalCode: string, state: string);
9
+ }