@houlak/plexo-sdk 0.1.9-fx → 0.1.10-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.
- package/lib/sdk/models/CancelRequest.d.ts +1 -1
- package/lib/sdk/models/CancelRequest.js +2 -2
- package/lib/sdk/models/CodeRequest.d.ts +2 -3
- package/lib/sdk/models/CodeRequest.js +5 -24
- package/lib/sdk/models/CommerceIdRequest.d.ts +2 -3
- package/lib/sdk/models/CommerceIdRequest.js +4 -23
- package/lib/sdk/models/CommerceIssuerIdRequest.d.ts +2 -3
- package/lib/sdk/models/CommerceIssuerIdRequest.js +5 -24
- package/lib/sdk/models/CommerceModifyRequest.d.ts +2 -3
- package/lib/sdk/models/CommerceModifyRequest.js +5 -24
- package/lib/sdk/models/CreateBankInstrumentRequest.d.ts +2 -3
- package/lib/sdk/models/CreateBankInstrumentRequest.js +6 -25
- package/lib/sdk/models/PaymentRequest.d.ts +2 -3
- package/lib/sdk/models/PaymentRequest.js +14 -33
- package/lib/sdk/models/Reference.d.ts +2 -4
- package/lib/sdk/models/Reference.js +5 -25
- package/lib/sdk/models/Reserve.d.ts +1 -1
- package/lib/sdk/models/Reserve.js +2 -2
- package/lib/sdk/models/ReserveRequest.d.ts +1 -1
- package/lib/sdk/models/ReserveRequest.js +2 -2
- package/lib/sdk/models/TransactionQuery.d.ts +2 -3
- package/lib/sdk/models/TransactionQuery.js +7 -26
- package/package.json +1 -1
|
@@ -2,5 +2,5 @@ import { ReferenceType } from '..';
|
|
|
2
2
|
import { Reference } from './Reference';
|
|
3
3
|
export declare class CancelRequest extends Reference {
|
|
4
4
|
clientReferenceId: string;
|
|
5
|
-
constructor(clientReferenceId: string,
|
|
5
|
+
constructor(clientReferenceId: string, type: ReferenceType, metaReference: string);
|
|
6
6
|
}
|
|
@@ -19,8 +19,8 @@ exports.CancelRequest = void 0;
|
|
|
19
19
|
var Reference_1 = require("./Reference");
|
|
20
20
|
var CancelRequest = /** @class */ (function (_super) {
|
|
21
21
|
__extends(CancelRequest, _super);
|
|
22
|
-
function CancelRequest(clientReferenceId,
|
|
23
|
-
var _this = _super.call(this, type, metaReference
|
|
22
|
+
function CancelRequest(clientReferenceId, type, metaReference) {
|
|
23
|
+
var _this = _super.call(this, type, metaReference) || this;
|
|
24
24
|
_this.clientReferenceId = clientReferenceId;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CodeAction } from './CodeAction';
|
|
2
|
-
|
|
3
|
-
export declare class CodeRequest extends FixedCustomData {
|
|
2
|
+
export declare class CodeRequest {
|
|
4
3
|
code: string;
|
|
5
4
|
action: CodeAction;
|
|
6
|
-
constructor(code: string, action: CodeAction
|
|
5
|
+
constructor(code: string, action: CodeAction);
|
|
7
6
|
}
|
|
@@ -1,30 +1,11 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CodeRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
-
_this.code = code;
|
|
25
|
-
_this.action = action;
|
|
26
|
-
return _this;
|
|
4
|
+
var CodeRequest = /** @class */ (function () {
|
|
5
|
+
function CodeRequest(code, action) {
|
|
6
|
+
this.code = code;
|
|
7
|
+
this.action = action;
|
|
27
8
|
}
|
|
28
9
|
return CodeRequest;
|
|
29
|
-
}(
|
|
10
|
+
}());
|
|
30
11
|
exports.CodeRequest = CodeRequest;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class CommerceIdRequest extends FixedCustomData {
|
|
1
|
+
export declare class CommerceIdRequest {
|
|
3
2
|
commerceId: number;
|
|
4
|
-
constructor(commerceId: number
|
|
3
|
+
constructor(commerceId: number);
|
|
5
4
|
}
|
|
@@ -1,29 +1,10 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CommerceIdRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
function CommerceIdRequest(commerceId, plexoClientName, plexoCertificatePassword, plexoCertificatePath) {
|
|
23
|
-
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
-
_this.commerceId = commerceId;
|
|
25
|
-
return _this;
|
|
4
|
+
var CommerceIdRequest = /** @class */ (function () {
|
|
5
|
+
function CommerceIdRequest(commerceId) {
|
|
6
|
+
this.commerceId = commerceId;
|
|
26
7
|
}
|
|
27
8
|
return CommerceIdRequest;
|
|
28
|
-
}(
|
|
9
|
+
}());
|
|
29
10
|
exports.CommerceIdRequest = CommerceIdRequest;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class CommerceIssuerIdRequest extends FixedCustomData {
|
|
1
|
+
export declare class CommerceIssuerIdRequest {
|
|
3
2
|
commerceId: number;
|
|
4
3
|
issuerId: number;
|
|
5
|
-
constructor(commerceId: number, issuerId: number
|
|
4
|
+
constructor(commerceId: number, issuerId: number);
|
|
6
5
|
}
|
|
@@ -1,30 +1,11 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CommerceIssuerIdRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
-
_this.commerceId = commerceId;
|
|
25
|
-
_this.issuerId = issuerId;
|
|
26
|
-
return _this;
|
|
4
|
+
var CommerceIssuerIdRequest = /** @class */ (function () {
|
|
5
|
+
function CommerceIssuerIdRequest(commerceId, issuerId) {
|
|
6
|
+
this.commerceId = commerceId;
|
|
7
|
+
this.issuerId = issuerId;
|
|
27
8
|
}
|
|
28
9
|
return CommerceIssuerIdRequest;
|
|
29
|
-
}(
|
|
10
|
+
}());
|
|
30
11
|
exports.CommerceIssuerIdRequest = CommerceIssuerIdRequest;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class CommerceModifyRequest extends FixedCustomData {
|
|
1
|
+
export declare class CommerceModifyRequest {
|
|
3
2
|
commerceId: number;
|
|
4
3
|
name: string;
|
|
5
|
-
constructor(commerceId: number, name: string
|
|
4
|
+
constructor(commerceId: number, name: string);
|
|
6
5
|
}
|
|
@@ -1,30 +1,11 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CommerceModifyRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var _this = _super.call(this, plexoClientName, plexoCertificatePassword, plexoCertificatePath) || this;
|
|
24
|
-
_this.commerceId = commerceId;
|
|
25
|
-
_this.name = name;
|
|
26
|
-
return _this;
|
|
4
|
+
var CommerceModifyRequest = /** @class */ (function () {
|
|
5
|
+
function CommerceModifyRequest(commerceId, name) {
|
|
6
|
+
this.commerceId = commerceId;
|
|
7
|
+
this.name = name;
|
|
27
8
|
}
|
|
28
9
|
return CommerceModifyRequest;
|
|
29
|
-
}(
|
|
10
|
+
}());
|
|
30
11
|
exports.CommerceModifyRequest = CommerceModifyRequest;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AuthorizationInfo } from './AuthorizationInfo';
|
|
2
|
-
|
|
3
|
-
export declare class CreateBankInstrumentRequest extends FixedCustomData {
|
|
2
|
+
export declare class CreateBankInstrumentRequest {
|
|
4
3
|
issuerId: number;
|
|
5
4
|
user: AuthorizationInfo;
|
|
6
5
|
instrumentData: any;
|
|
7
|
-
constructor(issuerId: number, user: AuthorizationInfo, instrumentData: any
|
|
6
|
+
constructor(issuerId: number, user: AuthorizationInfo, instrumentData: any);
|
|
8
7
|
}
|
|
@@ -1,31 +1,12 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.CreateBankInstrumentRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.issuerId = issuerId;
|
|
25
|
-
_this.user = user;
|
|
26
|
-
_this.instrumentData = instrumentData;
|
|
27
|
-
return _this;
|
|
4
|
+
var CreateBankInstrumentRequest = /** @class */ (function () {
|
|
5
|
+
function CreateBankInstrumentRequest(issuerId, user, instrumentData) {
|
|
6
|
+
this.issuerId = issuerId;
|
|
7
|
+
this.user = user;
|
|
8
|
+
this.instrumentData = instrumentData;
|
|
28
9
|
}
|
|
29
10
|
return CreateBankInstrumentRequest;
|
|
30
|
-
}(
|
|
11
|
+
}());
|
|
31
12
|
exports.CreateBankInstrumentRequest = CreateBankInstrumentRequest;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FinancialInclusion } from './FinancialInclusion';
|
|
2
|
-
import { FixedCustomData } from './FixedCustomData';
|
|
3
2
|
import { Item } from './Item';
|
|
4
3
|
import { PaymentInstrumentInput } from './PaymentInstrumentInput';
|
|
5
|
-
export declare class PaymentRequest
|
|
4
|
+
export declare class PaymentRequest {
|
|
6
5
|
clientReferenceId: string;
|
|
7
6
|
paymentInstrumentInput: PaymentInstrumentInput;
|
|
8
7
|
items: Item[];
|
|
@@ -14,5 +13,5 @@ export declare class PaymentRequest extends FixedCustomData {
|
|
|
14
13
|
optionalMetadata?: string;
|
|
15
14
|
optionalProvidedCode?: string;
|
|
16
15
|
optionalExternalPaymentInfo?: string;
|
|
17
|
-
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion,
|
|
16
|
+
constructor(clientReferenceId: string, paymentInstrumentInput: PaymentInstrumentInput, items: Item[], currencyId: number, installments: number, financialInclusion: FinancialInclusion, tipAmount?: number, optionalCommerceId?: number, optionalMetadata?: string, optionalProvidedCode?: string, optionalExternalPaymentInfo?: string);
|
|
18
17
|
}
|
|
@@ -1,39 +1,20 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.PaymentRequest = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
_this.optionalMetadata = optionalMetadata;
|
|
33
|
-
_this.optionalProvidedCode = optionalProvidedCode;
|
|
34
|
-
_this.optionalExternalPaymentInfo = optionalExternalPaymentInfo;
|
|
35
|
-
return _this;
|
|
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;
|
|
36
17
|
}
|
|
37
18
|
return PaymentRequest;
|
|
38
|
-
}(
|
|
19
|
+
}());
|
|
39
20
|
exports.PaymentRequest = PaymentRequest;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { FixedCustomData } from './FixedCustomData';
|
|
2
1
|
import { ReferenceType } from './ReferenceType';
|
|
3
|
-
export declare class Reference
|
|
2
|
+
export declare class Reference {
|
|
4
3
|
type: ReferenceType;
|
|
5
4
|
metaReference: string;
|
|
6
|
-
|
|
7
|
-
constructor(type: ReferenceType, metaReference: string, plexoClientName: string, plexoCertificatePassword: string, plexoCertificatePath: string);
|
|
5
|
+
constructor(type: ReferenceType, metaReference: string);
|
|
8
6
|
}
|
|
@@ -1,31 +1,11 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Reference = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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;
|
|
4
|
+
var Reference = /** @class */ (function () {
|
|
5
|
+
function Reference(type, metaReference) {
|
|
6
|
+
this.type = type;
|
|
7
|
+
this.metaReference = metaReference;
|
|
28
8
|
}
|
|
29
9
|
return Reference;
|
|
30
|
-
}(
|
|
10
|
+
}());
|
|
31
11
|
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);
|
|
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
|
|
22
|
+
function Reserve(commit, type, metaReference) {
|
|
23
|
+
var _this = _super.call(this, type, metaReference) || 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);
|
|
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
|
|
22
|
+
function ReserveRequest(expirationUTC, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) {
|
|
23
|
+
var _this = _super.call(this, clientReferenceId, paymentInstrumentInput, items, currencyId, installments, financialInclusion) || this;
|
|
24
24
|
_this.expirationUTC = expirationUTC;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { FixedCustomData } from './FixedCustomData';
|
|
2
1
|
import { TransactionOrder } from './TransactionOrder';
|
|
3
|
-
export declare class TransactionQuery
|
|
2
|
+
export declare class TransactionQuery {
|
|
4
3
|
queries: Query[];
|
|
5
4
|
order: TransactionOrder[];
|
|
6
5
|
limit: number;
|
|
7
6
|
skip: number;
|
|
8
|
-
constructor(queries: Query[], order: TransactionOrder[], limit: number, skip: number
|
|
7
|
+
constructor(queries: Query[], order: TransactionOrder[], limit: number, skip: number);
|
|
9
8
|
}
|
|
10
9
|
export declare enum TransactionOrderDirection {
|
|
11
10
|
Asc = 0,
|
|
@@ -1,34 +1,15 @@
|
|
|
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
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.TransactionField = exports.TransactionOperator = exports.QueryOperation = exports.TransactionOrderDirection = exports.TransactionQuery = void 0;
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.order = order;
|
|
26
|
-
_this.limit = limit;
|
|
27
|
-
_this.skip = skip;
|
|
28
|
-
return _this;
|
|
4
|
+
var TransactionQuery = /** @class */ (function () {
|
|
5
|
+
function TransactionQuery(queries, order, limit, skip) {
|
|
6
|
+
this.queries = queries;
|
|
7
|
+
this.order = order;
|
|
8
|
+
this.limit = limit;
|
|
9
|
+
this.skip = skip;
|
|
29
10
|
}
|
|
30
11
|
return TransactionQuery;
|
|
31
|
-
}(
|
|
12
|
+
}());
|
|
32
13
|
exports.TransactionQuery = TransactionQuery;
|
|
33
14
|
var TransactionOrderDirection;
|
|
34
15
|
(function (TransactionOrderDirection) {
|