@fiado/type-kit 1.9.36 → 1.9.38
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/bin/transactionProcessor/dtos/AuthorizeCollectorOrderRequest.d.ts +4 -3
- package/bin/transactionProcessor/dtos/{AUthorizeCollectorOrderResponse.d.ts → AuthorizeCollectorOrderResponse.d.ts} +6 -5
- package/bin/transactionProcessor/dtos/AuthorizeCollectorOrderResponse.js +6 -0
- package/bin/transactionProcessor/dtos/CreditContractInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/CreditContractInfo.js +6 -0
- package/bin/transactionProcessor/enums/CreditContractStatusEnum.d.ts +7 -0
- package/bin/transactionProcessor/enums/CreditContractStatusEnum.js +11 -0
- package/bin/transactionProcessor/index.d.ts +3 -1
- package/bin/transactionProcessor/index.js +3 -1
- package/package.json +1 -1
- package/src/transactionProcessor/dtos/AuthorizeCollectorOrderRequest.ts +4 -3
- package/src/transactionProcessor/dtos/{AUthorizeCollectorOrderResponse.ts → AuthorizeCollectorOrderResponse.ts} +6 -5
- package/src/transactionProcessor/dtos/CreditContractInfo.ts +7 -0
- package/src/transactionProcessor/enums/CreditContractStatusEnum.ts +7 -0
- package/src/transactionProcessor/index.ts +4 -1
- package/bin/centralPayments/dtos/AchTransactionRequest.d.ts +0 -8
- package/bin/centralPayments/dtos/AchTransactionRequest.js +0 -6
- package/bin/centralPayments/dtos/AchTransactionResponse.d.ts +0 -9
- package/bin/centralPayments/dtos/AchTransactionResponse.js +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.d.ts +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.js +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.d.ts +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.js +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadResponse.d.ts +0 -10
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadResponse.js +0 -6
- package/bin/centralPayments/dtos/UploadDocumentStatusDetail.d.ts +0 -9
- package/bin/centralPayments/dtos/UploadDocumentStatusDetail.js +0 -6
- package/bin/centralPayments/enums/UploadDocumentStatusEnum.d.ts +0 -4
- package/bin/centralPayments/enums/UploadDocumentStatusEnum.js +0 -8
- package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -20
- package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.js +0 -6
- package/bin/transactionProcessor/dtos/AUthorizeCollectorOrderResponse.js +0 -6
|
@@ -2,20 +2,21 @@ import { CollectionType } from "../../collector";
|
|
|
2
2
|
import { Company } from "../../company";
|
|
3
3
|
import { DirectoryResponse } from "../../directory";
|
|
4
4
|
import { PeopleResponse } from "../../identity";
|
|
5
|
+
import { CreditContractInfo } from "./CreditContractInfo";
|
|
5
6
|
export declare class AuthorizeCollectorOrderRequest {
|
|
6
7
|
executionId: string;
|
|
7
8
|
orderId: string;
|
|
8
9
|
peopleId: string;
|
|
9
10
|
directoryId: string;
|
|
10
11
|
currencyId: string;
|
|
11
|
-
notional
|
|
12
|
+
notional?: number;
|
|
13
|
+
totalLockedAmount: number;
|
|
12
14
|
totalToCollect: number;
|
|
13
15
|
company: Company;
|
|
14
16
|
type: CollectionType;
|
|
15
17
|
servicePriceListId?: string;
|
|
16
18
|
scheduleCollectionDate: string;
|
|
17
|
-
|
|
18
|
-
creditContractIds: string[];
|
|
19
|
+
creditContractInfo: CreditContractInfo;
|
|
19
20
|
collectorTransactionId: string;
|
|
20
21
|
peopleInfo: Partial<PeopleResponse>;
|
|
21
22
|
directoryInfo: Partial<DirectoryResponse>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { CollectorOrderStatus } from "../../collector";
|
|
2
|
-
|
|
2
|
+
import { CreditContractInfo } from "./CreditContractInfo";
|
|
3
|
+
export declare class AuthorizeCollectorOrderResponse {
|
|
3
4
|
orderId: string;
|
|
4
5
|
executionId: string;
|
|
5
6
|
status: CollectorOrderStatus;
|
|
6
7
|
collectedAmount: number;
|
|
7
8
|
remainingAmount: number;
|
|
8
|
-
|
|
9
|
+
relatedChargebackId?: string;
|
|
10
|
+
relatedChargebackAmount?: number;
|
|
11
|
+
notes?: string;
|
|
9
12
|
collectorTransactionId: string;
|
|
10
13
|
timestamp: string;
|
|
11
|
-
|
|
12
|
-
relatedTransactionId: string;
|
|
13
|
-
creditContractIds: string[];
|
|
14
|
+
creditContractInfo: CreditContractInfo;
|
|
14
15
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditContractStatusEnum = void 0;
|
|
4
|
+
var CreditContractStatusEnum;
|
|
5
|
+
(function (CreditContractStatusEnum) {
|
|
6
|
+
CreditContractStatusEnum["ORIGINADO"] = "ORIGINADO";
|
|
7
|
+
CreditContractStatusEnum["COMPRADO"] = "COMPRADO";
|
|
8
|
+
CreditContractStatusEnum["COBRADO"] = "COBRADO";
|
|
9
|
+
CreditContractStatusEnum["SALDADO"] = "SALDADO";
|
|
10
|
+
CreditContractStatusEnum["ERROR"] = "ERROR";
|
|
11
|
+
})(CreditContractStatusEnum || (exports.CreditContractStatusEnum = CreditContractStatusEnum = {}));
|
|
@@ -26,10 +26,12 @@ export * from './dtos/EventTransactionInfo';
|
|
|
26
26
|
export * from './dtos/AuthorizeUsdAchTransactionRequest';
|
|
27
27
|
export * from './dtos/AuthorizeMCSendTransactionRequest';
|
|
28
28
|
export * from './dtos/AuthorizeCollectorOrderRequest';
|
|
29
|
-
export * from './dtos/
|
|
29
|
+
export * from './dtos/AuthorizeCollectorOrderResponse';
|
|
30
|
+
export * from './dtos/CreditContractInfo';
|
|
30
31
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
31
32
|
export * from './enums/AsyncTxStatusEnum';
|
|
32
33
|
export * from './enums/AppEnum';
|
|
33
34
|
export * from './enums/TransactionInfoStatusEnum';
|
|
34
35
|
export * from './enums/EventTypeEnum';
|
|
35
36
|
export * from './enums/EventChannelEnum';
|
|
37
|
+
export * from './enums/CreditContractStatusEnum';
|
|
@@ -42,10 +42,12 @@ __exportStar(require("./dtos/EventTransactionInfo"), exports);
|
|
|
42
42
|
__exportStar(require("./dtos/AuthorizeUsdAchTransactionRequest"), exports);
|
|
43
43
|
__exportStar(require("./dtos/AuthorizeMCSendTransactionRequest"), exports);
|
|
44
44
|
__exportStar(require("./dtos/AuthorizeCollectorOrderRequest"), exports);
|
|
45
|
-
__exportStar(require("./dtos/
|
|
45
|
+
__exportStar(require("./dtos/AuthorizeCollectorOrderResponse"), exports);
|
|
46
|
+
__exportStar(require("./dtos/CreditContractInfo"), exports);
|
|
46
47
|
__exportStar(require("./enums/TransactionProcessorCodesEnum"), exports);
|
|
47
48
|
__exportStar(require("./enums/AsyncTxStatusEnum"), exports);
|
|
48
49
|
__exportStar(require("./enums/AppEnum"), exports);
|
|
49
50
|
__exportStar(require("./enums/TransactionInfoStatusEnum"), exports);
|
|
50
51
|
__exportStar(require("./enums/EventTypeEnum"), exports);
|
|
51
52
|
__exportStar(require("./enums/EventChannelEnum"), exports);
|
|
53
|
+
__exportStar(require("./enums/CreditContractStatusEnum"), exports);
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import { CollectionType } from "../../collector";
|
|
|
3
3
|
import { Company } from "../../company";
|
|
4
4
|
import { DirectoryResponse } from "../../directory";
|
|
5
5
|
import { PeopleResponse } from "../../identity";
|
|
6
|
+
import { CreditContractInfo } from "./CreditContractInfo";
|
|
6
7
|
|
|
7
8
|
export class AuthorizeCollectorOrderRequest {
|
|
8
9
|
executionId: string;
|
|
@@ -10,14 +11,14 @@ export class AuthorizeCollectorOrderRequest {
|
|
|
10
11
|
peopleId: string;
|
|
11
12
|
directoryId: string;
|
|
12
13
|
currencyId: string;
|
|
13
|
-
notional
|
|
14
|
+
notional?: number;
|
|
15
|
+
totalLockedAmount: number;
|
|
14
16
|
totalToCollect: number;
|
|
15
17
|
company: Company;
|
|
16
18
|
type: CollectionType;
|
|
17
19
|
servicePriceListId?: string;
|
|
18
20
|
scheduleCollectionDate: string;
|
|
19
|
-
|
|
20
|
-
creditContractIds: string[];
|
|
21
|
+
creditContractInfo: CreditContractInfo;
|
|
21
22
|
collectorTransactionId: string;
|
|
22
23
|
peopleInfo: Partial<PeopleResponse>;
|
|
23
24
|
directoryInfo: Partial<DirectoryResponse>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { CollectorOrderStatus } from "../../collector";
|
|
2
|
+
import { CreditContractInfo } from "./CreditContractInfo";
|
|
2
3
|
|
|
3
|
-
export class
|
|
4
|
+
export class AuthorizeCollectorOrderResponse {
|
|
4
5
|
orderId: string;
|
|
5
6
|
executionId: string;
|
|
6
7
|
status: CollectorOrderStatus;
|
|
7
8
|
collectedAmount: number;
|
|
8
9
|
remainingAmount: number;
|
|
9
|
-
|
|
10
|
+
relatedChargebackId?: string;
|
|
11
|
+
relatedChargebackAmount?: number;
|
|
12
|
+
notes?: string;
|
|
10
13
|
collectorTransactionId: string;
|
|
11
14
|
timestamp: string;
|
|
12
|
-
|
|
13
|
-
relatedTransactionId: string;
|
|
14
|
-
creditContractIds: string[];
|
|
15
|
+
creditContractInfo: CreditContractInfo;
|
|
15
16
|
}
|
|
@@ -26,7 +26,8 @@ export * from './dtos/EventTransactionInfo';
|
|
|
26
26
|
export * from './dtos/AuthorizeUsdAchTransactionRequest';
|
|
27
27
|
export * from './dtos/AuthorizeMCSendTransactionRequest';
|
|
28
28
|
export * from './dtos/AuthorizeCollectorOrderRequest';
|
|
29
|
-
export * from './dtos/
|
|
29
|
+
export * from './dtos/AuthorizeCollectorOrderResponse';
|
|
30
|
+
export * from './dtos/CreditContractInfo';
|
|
30
31
|
|
|
31
32
|
export * from './enums/TransactionProcessorCodesEnum';
|
|
32
33
|
export * from './enums/AsyncTxStatusEnum';
|
|
@@ -34,4 +35,6 @@ export * from './enums/AppEnum';
|
|
|
34
35
|
export * from './enums/TransactionInfoStatusEnum';
|
|
35
36
|
export * from './enums/EventTypeEnum';
|
|
36
37
|
export * from './enums/EventChannelEnum';
|
|
38
|
+
export * from './enums/CreditContractStatusEnum';
|
|
39
|
+
|
|
37
40
|
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IdentificationDocument } from "../../identity";
|
|
2
|
-
import { CentralPaymentsDocumentImages } from "./CentralPaymentsDocumentImages";
|
|
3
|
-
export declare class CentralPaymentsDocumentUploadRequest {
|
|
4
|
-
documentInfo: IdentificationDocument;
|
|
5
|
-
documentImages: CentralPaymentsDocumentImages[];
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CentralPaymentsDocumentUploadRequest = void 0;
|
|
4
|
-
class CentralPaymentsDocumentUploadRequest {
|
|
5
|
-
}
|
|
6
|
-
exports.CentralPaymentsDocumentUploadRequest = CentralPaymentsDocumentUploadRequest;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UploadDocumentStatusEnum } from "../enums/UploadDocumentStatusEnum";
|
|
2
|
-
import { UploadDocumentStatusDetail } from "./UploadDocumentStatusDetail";
|
|
3
|
-
export declare class CentralPaymentsDocumentUploadResponse {
|
|
4
|
-
externalUserId: string;
|
|
5
|
-
documentType: string;
|
|
6
|
-
error?: string;
|
|
7
|
-
status: UploadDocumentStatusEnum;
|
|
8
|
-
executedAt?: string;
|
|
9
|
-
details?: UploadDocumentStatusDetail[];
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CentralPaymentsDocumentUploadResponse = void 0;
|
|
4
|
-
class CentralPaymentsDocumentUploadResponse {
|
|
5
|
-
}
|
|
6
|
-
exports.CentralPaymentsDocumentUploadResponse = CentralPaymentsDocumentUploadResponse;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DocumentSideEnum } from "../../identity";
|
|
2
|
-
import { UploadDocumentStatusEnum } from "../enums/UploadDocumentStatusEnum";
|
|
3
|
-
export declare class UploadDocumentStatusDetail {
|
|
4
|
-
side: DocumentSideEnum;
|
|
5
|
-
status: UploadDocumentStatusEnum;
|
|
6
|
-
documentMetadata?: any;
|
|
7
|
-
documentUrl: string;
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UploadDocumentStatusEnum = void 0;
|
|
4
|
-
var UploadDocumentStatusEnum;
|
|
5
|
-
(function (UploadDocumentStatusEnum) {
|
|
6
|
-
UploadDocumentStatusEnum["UPLOAD_SUCCESS"] = "UPLOAD_SUCCESS";
|
|
7
|
-
UploadDocumentStatusEnum["UPLOAD_FAILED"] = "UPLOAD_FAILED";
|
|
8
|
-
})(UploadDocumentStatusEnum || (exports.UploadDocumentStatusEnum = UploadDocumentStatusEnum = {}));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare class GetPriceListDirectoriesResponse {
|
|
2
|
-
serviceId: string;
|
|
3
|
-
basePrice: number;
|
|
4
|
-
currencyId: string;
|
|
5
|
-
fees: any;
|
|
6
|
-
taxes: any;
|
|
7
|
-
globalDiscounts: {
|
|
8
|
-
discountType: string;
|
|
9
|
-
discountValue: number;
|
|
10
|
-
}[];
|
|
11
|
-
directories: {
|
|
12
|
-
directoryId: string;
|
|
13
|
-
appliedDiscounts: {
|
|
14
|
-
discountType: string;
|
|
15
|
-
discountValue: number;
|
|
16
|
-
source: string;
|
|
17
|
-
referenceId: string;
|
|
18
|
-
}[];
|
|
19
|
-
}[];
|
|
20
|
-
}
|