ecom-documents 1.0.11 → 1.0.12
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/dist/index.d.mts +54 -1
- package/dist/index.d.ts +54 -1
- package/dist/index.js +172 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +171 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -44,6 +44,10 @@ declare const DocumentType: {
|
|
|
44
44
|
readonly INVOICES: "INVOICES";
|
|
45
45
|
readonly INVOICE_USERS: "INVOICE_USERS";
|
|
46
46
|
readonly INVOICE_BULK_INVALID: "INVOICE_BULK_INVALID";
|
|
47
|
+
readonly INTERNAL_USERS: "INTERNAL_USERS";
|
|
48
|
+
readonly MERCHANT_USERS: "MERCHANT_USERS";
|
|
49
|
+
readonly BLACKLIST_INVALID: "BLACKLIST_INVALID";
|
|
50
|
+
readonly BLACKLIST: "BLACKLIST";
|
|
47
51
|
};
|
|
48
52
|
type DocumentType = ValueOf<typeof DocumentType>;
|
|
49
53
|
|
|
@@ -107,6 +111,17 @@ declare class DocumentValidationError extends DocumentError {
|
|
|
107
111
|
getMessages(): string[];
|
|
108
112
|
}
|
|
109
113
|
|
|
114
|
+
declare class InternalUserDocument {
|
|
115
|
+
fullName: string;
|
|
116
|
+
email: string;
|
|
117
|
+
phoneNumber?: string;
|
|
118
|
+
role: string;
|
|
119
|
+
isActive: boolean;
|
|
120
|
+
}
|
|
121
|
+
declare class InternalUsersExportDto {
|
|
122
|
+
data: InternalUserDocument[];
|
|
123
|
+
}
|
|
124
|
+
|
|
110
125
|
declare class InvoiceBulkInvalidDocument {
|
|
111
126
|
customerName?: string;
|
|
112
127
|
customerPhone?: string;
|
|
@@ -365,6 +380,40 @@ declare class TransactionPOSInvalidExportDto {
|
|
|
365
380
|
data: TransactionPOSInvalidDocument[];
|
|
366
381
|
}
|
|
367
382
|
|
|
383
|
+
declare class BlackListDocument {
|
|
384
|
+
fullName: string;
|
|
385
|
+
idNumber: string;
|
|
386
|
+
nationality: string;
|
|
387
|
+
dateOfBirth: string | Date;
|
|
388
|
+
uploadedAt: string | Date;
|
|
389
|
+
uploadedBy: string;
|
|
390
|
+
status: string;
|
|
391
|
+
}
|
|
392
|
+
declare class BlackListExportDto {
|
|
393
|
+
data: BlackListDocument[];
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
declare class BlackListInvalidDocument {
|
|
397
|
+
fullName?: string;
|
|
398
|
+
idNumber?: string;
|
|
399
|
+
nationality?: string;
|
|
400
|
+
dateOfBirth?: string | Date;
|
|
401
|
+
reason?: string;
|
|
402
|
+
}
|
|
403
|
+
declare class BlackListInvalidExportDto {
|
|
404
|
+
data: BlackListInvalidDocument[];
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
declare class MerchantUserDocument {
|
|
408
|
+
fullName: string;
|
|
409
|
+
email: string;
|
|
410
|
+
phoneNumber?: string;
|
|
411
|
+
role: string;
|
|
412
|
+
}
|
|
413
|
+
declare class MerchantUsersExportDto {
|
|
414
|
+
data: MerchantUserDocument[];
|
|
415
|
+
}
|
|
416
|
+
|
|
368
417
|
declare const DocumentPayloadMap: {
|
|
369
418
|
readonly STATEMENTS: typeof StatementsExportDto;
|
|
370
419
|
readonly PAYOUTS: typeof PayoutsExportDto;
|
|
@@ -385,6 +434,10 @@ declare const DocumentPayloadMap: {
|
|
|
385
434
|
readonly INVOICES: typeof InvoiceExportDto;
|
|
386
435
|
readonly INVOICE_USERS: typeof InvoiceUserExportDto;
|
|
387
436
|
readonly INVOICE_BULK_INVALID: typeof InvoiceBulkInvalidExportDto;
|
|
437
|
+
readonly INTERNAL_USERS: typeof InternalUsersExportDto;
|
|
438
|
+
readonly MERCHANT_USERS: typeof MerchantUsersExportDto;
|
|
439
|
+
readonly BLACKLIST_INVALID: typeof BlackListInvalidExportDto;
|
|
440
|
+
readonly BLACKLIST: typeof BlackListExportDto;
|
|
388
441
|
};
|
|
389
442
|
|
|
390
443
|
interface ValidationResult<T = any> {
|
|
@@ -398,4 +451,4 @@ declare class DocumentValidator {
|
|
|
398
451
|
static formatErrors(errors: ValidationError[]): string[];
|
|
399
452
|
}
|
|
400
453
|
|
|
401
|
-
export { type ChunkedFetchConfig, DateRangeExportDto, DocumentError, DocumentExportClient, DocumentGenerationError, DocumentGenerationRequestDto, DocumentNetworkError, DocumentPathResponseDto, DocumentPayloadMap, DocumentType, DocumentValidationError, DocumentValidator, ExceptionExportDto, FileFormat, InvoiceBulkInvalidExportDto, InvoiceExportDto, InvoiceHistoryExportDto, InvoiceUserExportDto, MerchantDetailsHeaderExportDto, type PageOptionsDto, PaymentMethodsExportDto, PayoutsExportDto, ProfitFeesExportDto, RefundBaseDto, RefundsExportDto, RefundsPOSExportDto, SettlementsExportDto, StatementsExportDto, TerminalsExportDto, TransactionPOSInvalidExportDto, TransactionsExportDto, TransactionsPOSExportDto, type ValidationResult, type ValueOf, VendorListExportDto, VendorSalesExportDto, fetchDBQueryInChunks, maskAccountNumber };
|
|
454
|
+
export { BlackListExportDto, BlackListInvalidExportDto, type ChunkedFetchConfig, DateRangeExportDto, DocumentError, DocumentExportClient, DocumentGenerationError, DocumentGenerationRequestDto, DocumentNetworkError, DocumentPathResponseDto, DocumentPayloadMap, DocumentType, DocumentValidationError, DocumentValidator, ExceptionExportDto, FileFormat, InternalUsersExportDto, InvoiceBulkInvalidExportDto, InvoiceExportDto, InvoiceHistoryExportDto, InvoiceUserExportDto, MerchantDetailsHeaderExportDto, MerchantUsersExportDto, type PageOptionsDto, PaymentMethodsExportDto, PayoutsExportDto, ProfitFeesExportDto, RefundBaseDto, RefundsExportDto, RefundsPOSExportDto, SettlementsExportDto, StatementsExportDto, TerminalsExportDto, TransactionPOSInvalidExportDto, TransactionsExportDto, TransactionsPOSExportDto, type ValidationResult, type ValueOf, VendorListExportDto, VendorSalesExportDto, fetchDBQueryInChunks, maskAccountNumber };
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ declare const DocumentType: {
|
|
|
44
44
|
readonly INVOICES: "INVOICES";
|
|
45
45
|
readonly INVOICE_USERS: "INVOICE_USERS";
|
|
46
46
|
readonly INVOICE_BULK_INVALID: "INVOICE_BULK_INVALID";
|
|
47
|
+
readonly INTERNAL_USERS: "INTERNAL_USERS";
|
|
48
|
+
readonly MERCHANT_USERS: "MERCHANT_USERS";
|
|
49
|
+
readonly BLACKLIST_INVALID: "BLACKLIST_INVALID";
|
|
50
|
+
readonly BLACKLIST: "BLACKLIST";
|
|
47
51
|
};
|
|
48
52
|
type DocumentType = ValueOf<typeof DocumentType>;
|
|
49
53
|
|
|
@@ -107,6 +111,17 @@ declare class DocumentValidationError extends DocumentError {
|
|
|
107
111
|
getMessages(): string[];
|
|
108
112
|
}
|
|
109
113
|
|
|
114
|
+
declare class InternalUserDocument {
|
|
115
|
+
fullName: string;
|
|
116
|
+
email: string;
|
|
117
|
+
phoneNumber?: string;
|
|
118
|
+
role: string;
|
|
119
|
+
isActive: boolean;
|
|
120
|
+
}
|
|
121
|
+
declare class InternalUsersExportDto {
|
|
122
|
+
data: InternalUserDocument[];
|
|
123
|
+
}
|
|
124
|
+
|
|
110
125
|
declare class InvoiceBulkInvalidDocument {
|
|
111
126
|
customerName?: string;
|
|
112
127
|
customerPhone?: string;
|
|
@@ -365,6 +380,40 @@ declare class TransactionPOSInvalidExportDto {
|
|
|
365
380
|
data: TransactionPOSInvalidDocument[];
|
|
366
381
|
}
|
|
367
382
|
|
|
383
|
+
declare class BlackListDocument {
|
|
384
|
+
fullName: string;
|
|
385
|
+
idNumber: string;
|
|
386
|
+
nationality: string;
|
|
387
|
+
dateOfBirth: string | Date;
|
|
388
|
+
uploadedAt: string | Date;
|
|
389
|
+
uploadedBy: string;
|
|
390
|
+
status: string;
|
|
391
|
+
}
|
|
392
|
+
declare class BlackListExportDto {
|
|
393
|
+
data: BlackListDocument[];
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
declare class BlackListInvalidDocument {
|
|
397
|
+
fullName?: string;
|
|
398
|
+
idNumber?: string;
|
|
399
|
+
nationality?: string;
|
|
400
|
+
dateOfBirth?: string | Date;
|
|
401
|
+
reason?: string;
|
|
402
|
+
}
|
|
403
|
+
declare class BlackListInvalidExportDto {
|
|
404
|
+
data: BlackListInvalidDocument[];
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
declare class MerchantUserDocument {
|
|
408
|
+
fullName: string;
|
|
409
|
+
email: string;
|
|
410
|
+
phoneNumber?: string;
|
|
411
|
+
role: string;
|
|
412
|
+
}
|
|
413
|
+
declare class MerchantUsersExportDto {
|
|
414
|
+
data: MerchantUserDocument[];
|
|
415
|
+
}
|
|
416
|
+
|
|
368
417
|
declare const DocumentPayloadMap: {
|
|
369
418
|
readonly STATEMENTS: typeof StatementsExportDto;
|
|
370
419
|
readonly PAYOUTS: typeof PayoutsExportDto;
|
|
@@ -385,6 +434,10 @@ declare const DocumentPayloadMap: {
|
|
|
385
434
|
readonly INVOICES: typeof InvoiceExportDto;
|
|
386
435
|
readonly INVOICE_USERS: typeof InvoiceUserExportDto;
|
|
387
436
|
readonly INVOICE_BULK_INVALID: typeof InvoiceBulkInvalidExportDto;
|
|
437
|
+
readonly INTERNAL_USERS: typeof InternalUsersExportDto;
|
|
438
|
+
readonly MERCHANT_USERS: typeof MerchantUsersExportDto;
|
|
439
|
+
readonly BLACKLIST_INVALID: typeof BlackListInvalidExportDto;
|
|
440
|
+
readonly BLACKLIST: typeof BlackListExportDto;
|
|
388
441
|
};
|
|
389
442
|
|
|
390
443
|
interface ValidationResult<T = any> {
|
|
@@ -398,4 +451,4 @@ declare class DocumentValidator {
|
|
|
398
451
|
static formatErrors(errors: ValidationError[]): string[];
|
|
399
452
|
}
|
|
400
453
|
|
|
401
|
-
export { type ChunkedFetchConfig, DateRangeExportDto, DocumentError, DocumentExportClient, DocumentGenerationError, DocumentGenerationRequestDto, DocumentNetworkError, DocumentPathResponseDto, DocumentPayloadMap, DocumentType, DocumentValidationError, DocumentValidator, ExceptionExportDto, FileFormat, InvoiceBulkInvalidExportDto, InvoiceExportDto, InvoiceHistoryExportDto, InvoiceUserExportDto, MerchantDetailsHeaderExportDto, type PageOptionsDto, PaymentMethodsExportDto, PayoutsExportDto, ProfitFeesExportDto, RefundBaseDto, RefundsExportDto, RefundsPOSExportDto, SettlementsExportDto, StatementsExportDto, TerminalsExportDto, TransactionPOSInvalidExportDto, TransactionsExportDto, TransactionsPOSExportDto, type ValidationResult, type ValueOf, VendorListExportDto, VendorSalesExportDto, fetchDBQueryInChunks, maskAccountNumber };
|
|
454
|
+
export { BlackListExportDto, BlackListInvalidExportDto, type ChunkedFetchConfig, DateRangeExportDto, DocumentError, DocumentExportClient, DocumentGenerationError, DocumentGenerationRequestDto, DocumentNetworkError, DocumentPathResponseDto, DocumentPayloadMap, DocumentType, DocumentValidationError, DocumentValidator, ExceptionExportDto, FileFormat, InternalUsersExportDto, InvoiceBulkInvalidExportDto, InvoiceExportDto, InvoiceHistoryExportDto, InvoiceUserExportDto, MerchantDetailsHeaderExportDto, MerchantUsersExportDto, type PageOptionsDto, PaymentMethodsExportDto, PayoutsExportDto, ProfitFeesExportDto, RefundBaseDto, RefundsExportDto, RefundsPOSExportDto, SettlementsExportDto, StatementsExportDto, TerminalsExportDto, TransactionPOSInvalidExportDto, TransactionsExportDto, TransactionsPOSExportDto, type ValidationResult, type ValueOf, VendorListExportDto, VendorSalesExportDto, fetchDBQueryInChunks, maskAccountNumber };
|
package/dist/index.js
CHANGED
|
@@ -41,13 +41,15 @@ var DocumentType = {
|
|
|
41
41
|
// elinks
|
|
42
42
|
INVOICES: "INVOICES",
|
|
43
43
|
INVOICE_USERS: "INVOICE_USERS",
|
|
44
|
-
INVOICE_BULK_INVALID: "INVOICE_BULK_INVALID"
|
|
45
|
-
//
|
|
46
|
-
|
|
44
|
+
INVOICE_BULK_INVALID: "INVOICE_BULK_INVALID",
|
|
45
|
+
// auth
|
|
46
|
+
INTERNAL_USERS: "INTERNAL_USERS",
|
|
47
|
+
//merchant ms
|
|
48
|
+
MERCHANT_USERS: "MERCHANT_USERS",
|
|
47
49
|
// USERS_AND_AGENTS: 'USERS_AND_AGENTS',
|
|
48
|
-
//
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
// vendors to detect which
|
|
51
|
+
BLACKLIST_INVALID: "BLACKLIST_INVALID",
|
|
52
|
+
BLACKLIST: "BLACKLIST"
|
|
51
53
|
// PARTNERS: 'PARTNERS',
|
|
52
54
|
};
|
|
53
55
|
|
|
@@ -57,6 +59,43 @@ var FileFormat = {
|
|
|
57
59
|
CSV: "csv",
|
|
58
60
|
XLSX: "xlsx"
|
|
59
61
|
};
|
|
62
|
+
var InternalUserDocument = class {
|
|
63
|
+
fullName;
|
|
64
|
+
email;
|
|
65
|
+
phoneNumber;
|
|
66
|
+
role;
|
|
67
|
+
isActive;
|
|
68
|
+
};
|
|
69
|
+
__decorateClass([
|
|
70
|
+
classValidator.IsString(),
|
|
71
|
+
classValidator.IsNotEmpty()
|
|
72
|
+
], InternalUserDocument.prototype, "fullName");
|
|
73
|
+
__decorateClass([
|
|
74
|
+
classValidator.IsString(),
|
|
75
|
+
classValidator.IsNotEmpty()
|
|
76
|
+
], InternalUserDocument.prototype, "email");
|
|
77
|
+
__decorateClass([
|
|
78
|
+
classValidator.IsString(),
|
|
79
|
+
classValidator.IsOptional()
|
|
80
|
+
], InternalUserDocument.prototype, "phoneNumber");
|
|
81
|
+
__decorateClass([
|
|
82
|
+
classValidator.IsString(),
|
|
83
|
+
classValidator.IsNotEmpty()
|
|
84
|
+
], InternalUserDocument.prototype, "role");
|
|
85
|
+
__decorateClass([
|
|
86
|
+
classValidator.IsBoolean(),
|
|
87
|
+
classValidator.IsNotEmpty()
|
|
88
|
+
], InternalUserDocument.prototype, "isActive");
|
|
89
|
+
var InternalUsersExportDto = class {
|
|
90
|
+
data;
|
|
91
|
+
};
|
|
92
|
+
__decorateClass([
|
|
93
|
+
classValidator.IsArray(),
|
|
94
|
+
classValidator.ValidateNested({ each: true }),
|
|
95
|
+
classTransformer.Type(() => InternalUserDocument),
|
|
96
|
+
classValidator.IsNotEmpty(),
|
|
97
|
+
classValidator.IsDefined()
|
|
98
|
+
], InternalUsersExportDto.prototype, "data");
|
|
60
99
|
var InvoiceBulkInvalidDocument = class {
|
|
61
100
|
customerName;
|
|
62
101
|
customerPhone;
|
|
@@ -1018,6 +1057,122 @@ __decorateClass([
|
|
|
1018
1057
|
classValidator.IsNotEmpty(),
|
|
1019
1058
|
classValidator.IsDefined()
|
|
1020
1059
|
], TransactionPOSInvalidExportDto.prototype, "data");
|
|
1060
|
+
var BlackListDocument = class {
|
|
1061
|
+
fullName;
|
|
1062
|
+
idNumber;
|
|
1063
|
+
nationality;
|
|
1064
|
+
dateOfBirth;
|
|
1065
|
+
uploadedAt;
|
|
1066
|
+
uploadedBy;
|
|
1067
|
+
status;
|
|
1068
|
+
};
|
|
1069
|
+
__decorateClass([
|
|
1070
|
+
classValidator.IsString(),
|
|
1071
|
+
classValidator.IsNotEmpty()
|
|
1072
|
+
], BlackListDocument.prototype, "fullName");
|
|
1073
|
+
__decorateClass([
|
|
1074
|
+
classValidator.IsString(),
|
|
1075
|
+
classValidator.IsNotEmpty()
|
|
1076
|
+
], BlackListDocument.prototype, "idNumber");
|
|
1077
|
+
__decorateClass([
|
|
1078
|
+
classValidator.IsString(),
|
|
1079
|
+
classValidator.IsNotEmpty()
|
|
1080
|
+
], BlackListDocument.prototype, "nationality");
|
|
1081
|
+
__decorateClass([
|
|
1082
|
+
classValidator.IsString(),
|
|
1083
|
+
classValidator.IsNotEmpty()
|
|
1084
|
+
], BlackListDocument.prototype, "dateOfBirth");
|
|
1085
|
+
__decorateClass([
|
|
1086
|
+
classValidator.IsString(),
|
|
1087
|
+
classValidator.IsNotEmpty()
|
|
1088
|
+
], BlackListDocument.prototype, "uploadedAt");
|
|
1089
|
+
__decorateClass([
|
|
1090
|
+
classValidator.IsString(),
|
|
1091
|
+
classValidator.IsNotEmpty()
|
|
1092
|
+
], BlackListDocument.prototype, "uploadedBy");
|
|
1093
|
+
__decorateClass([
|
|
1094
|
+
classValidator.IsString(),
|
|
1095
|
+
classValidator.IsNotEmpty()
|
|
1096
|
+
], BlackListDocument.prototype, "status");
|
|
1097
|
+
var BlackListExportDto = class {
|
|
1098
|
+
data;
|
|
1099
|
+
};
|
|
1100
|
+
__decorateClass([
|
|
1101
|
+
classValidator.IsArray(),
|
|
1102
|
+
classValidator.ValidateNested({ each: true }),
|
|
1103
|
+
classTransformer.Type(() => BlackListDocument),
|
|
1104
|
+
classValidator.IsNotEmpty(),
|
|
1105
|
+
classValidator.IsDefined()
|
|
1106
|
+
], BlackListExportDto.prototype, "data");
|
|
1107
|
+
var BlackListInvalidDocument = class {
|
|
1108
|
+
fullName;
|
|
1109
|
+
idNumber;
|
|
1110
|
+
nationality;
|
|
1111
|
+
dateOfBirth;
|
|
1112
|
+
reason;
|
|
1113
|
+
};
|
|
1114
|
+
__decorateClass([
|
|
1115
|
+
classValidator.IsString(),
|
|
1116
|
+
classValidator.IsOptional()
|
|
1117
|
+
], BlackListInvalidDocument.prototype, "fullName");
|
|
1118
|
+
__decorateClass([
|
|
1119
|
+
classValidator.IsString(),
|
|
1120
|
+
classValidator.IsOptional()
|
|
1121
|
+
], BlackListInvalidDocument.prototype, "idNumber");
|
|
1122
|
+
__decorateClass([
|
|
1123
|
+
classValidator.IsString(),
|
|
1124
|
+
classValidator.IsOptional()
|
|
1125
|
+
], BlackListInvalidDocument.prototype, "nationality");
|
|
1126
|
+
__decorateClass([
|
|
1127
|
+
classValidator.IsString(),
|
|
1128
|
+
classValidator.IsOptional()
|
|
1129
|
+
], BlackListInvalidDocument.prototype, "dateOfBirth");
|
|
1130
|
+
__decorateClass([
|
|
1131
|
+
classValidator.IsString(),
|
|
1132
|
+
classValidator.IsOptional()
|
|
1133
|
+
], BlackListInvalidDocument.prototype, "reason");
|
|
1134
|
+
var BlackListInvalidExportDto = class {
|
|
1135
|
+
data;
|
|
1136
|
+
};
|
|
1137
|
+
__decorateClass([
|
|
1138
|
+
classValidator.IsArray(),
|
|
1139
|
+
classValidator.ValidateNested({ each: true }),
|
|
1140
|
+
classTransformer.Type(() => BlackListInvalidDocument),
|
|
1141
|
+
classValidator.IsNotEmpty(),
|
|
1142
|
+
classValidator.IsDefined()
|
|
1143
|
+
], BlackListInvalidExportDto.prototype, "data");
|
|
1144
|
+
var MerchantUserDocument = class {
|
|
1145
|
+
fullName;
|
|
1146
|
+
email;
|
|
1147
|
+
phoneNumber;
|
|
1148
|
+
role;
|
|
1149
|
+
};
|
|
1150
|
+
__decorateClass([
|
|
1151
|
+
classValidator.IsString(),
|
|
1152
|
+
classValidator.IsNotEmpty()
|
|
1153
|
+
], MerchantUserDocument.prototype, "fullName");
|
|
1154
|
+
__decorateClass([
|
|
1155
|
+
classValidator.IsString(),
|
|
1156
|
+
classValidator.IsNotEmpty()
|
|
1157
|
+
], MerchantUserDocument.prototype, "email");
|
|
1158
|
+
__decorateClass([
|
|
1159
|
+
classValidator.IsString(),
|
|
1160
|
+
classValidator.IsOptional()
|
|
1161
|
+
], MerchantUserDocument.prototype, "phoneNumber");
|
|
1162
|
+
__decorateClass([
|
|
1163
|
+
classValidator.IsString(),
|
|
1164
|
+
classValidator.IsNotEmpty()
|
|
1165
|
+
], MerchantUserDocument.prototype, "role");
|
|
1166
|
+
var MerchantUsersExportDto = class {
|
|
1167
|
+
data;
|
|
1168
|
+
};
|
|
1169
|
+
__decorateClass([
|
|
1170
|
+
classValidator.IsArray(),
|
|
1171
|
+
classValidator.ValidateNested({ each: true }),
|
|
1172
|
+
classTransformer.Type(() => MerchantUserDocument),
|
|
1173
|
+
classValidator.IsNotEmpty(),
|
|
1174
|
+
classValidator.IsDefined()
|
|
1175
|
+
], MerchantUsersExportDto.prototype, "data");
|
|
1021
1176
|
|
|
1022
1177
|
// src/dtos/dto-map.ts
|
|
1023
1178
|
var DocumentPayloadMap = {
|
|
@@ -1042,7 +1197,13 @@ var DocumentPayloadMap = {
|
|
|
1042
1197
|
// elinks microservice dtos
|
|
1043
1198
|
[DocumentType.INVOICES]: InvoiceExportDto,
|
|
1044
1199
|
[DocumentType.INVOICE_USERS]: InvoiceUserExportDto,
|
|
1045
|
-
[DocumentType.INVOICE_BULK_INVALID]: InvoiceBulkInvalidExportDto
|
|
1200
|
+
[DocumentType.INVOICE_BULK_INVALID]: InvoiceBulkInvalidExportDto,
|
|
1201
|
+
// auth microservice dtos
|
|
1202
|
+
[DocumentType.INTERNAL_USERS]: InternalUsersExportDto,
|
|
1203
|
+
// merchant microservice dtos
|
|
1204
|
+
[DocumentType.MERCHANT_USERS]: MerchantUsersExportDto,
|
|
1205
|
+
[DocumentType.BLACKLIST_INVALID]: BlackListInvalidExportDto,
|
|
1206
|
+
[DocumentType.BLACKLIST]: BlackListExportDto
|
|
1046
1207
|
};
|
|
1047
1208
|
|
|
1048
1209
|
// src/validators/document-validator.ts
|
|
@@ -1360,6 +1521,8 @@ var DocumentPathResponseDto = class {
|
|
|
1360
1521
|
}
|
|
1361
1522
|
};
|
|
1362
1523
|
|
|
1524
|
+
exports.BlackListExportDto = BlackListExportDto;
|
|
1525
|
+
exports.BlackListInvalidExportDto = BlackListInvalidExportDto;
|
|
1363
1526
|
exports.DateRangeExportDto = DateRangeExportDto;
|
|
1364
1527
|
exports.DocumentError = DocumentError;
|
|
1365
1528
|
exports.DocumentExportClient = DocumentExportClient;
|
|
@@ -1373,11 +1536,13 @@ exports.DocumentValidationError = DocumentValidationError;
|
|
|
1373
1536
|
exports.DocumentValidator = DocumentValidator;
|
|
1374
1537
|
exports.ExceptionExportDto = ExceptionExportDto;
|
|
1375
1538
|
exports.FileFormat = FileFormat;
|
|
1539
|
+
exports.InternalUsersExportDto = InternalUsersExportDto;
|
|
1376
1540
|
exports.InvoiceBulkInvalidExportDto = InvoiceBulkInvalidExportDto;
|
|
1377
1541
|
exports.InvoiceExportDto = InvoiceExportDto;
|
|
1378
1542
|
exports.InvoiceHistoryExportDto = InvoiceHistoryExportDto;
|
|
1379
1543
|
exports.InvoiceUserExportDto = InvoiceUserExportDto;
|
|
1380
1544
|
exports.MerchantDetailsHeaderExportDto = MerchantDetailsHeaderExportDto;
|
|
1545
|
+
exports.MerchantUsersExportDto = MerchantUsersExportDto;
|
|
1381
1546
|
exports.PaymentMethodsExportDto = PaymentMethodsExportDto;
|
|
1382
1547
|
exports.PayoutsExportDto = PayoutsExportDto;
|
|
1383
1548
|
exports.ProfitFeesExportDto = ProfitFeesExportDto;
|