@fiado/type-kit 3.616.0 → 3.618.0

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 (256) hide show
  1. package/_test_/unit/account/BankAccountMCSendTransfer.test.ts +43 -0
  2. package/_test_/unit/loanRetailAudit/m8AuditCatalog.test.ts +58 -0
  3. package/_test_/unit/reconciliation/reconciliationCatalogs.test.ts +126 -0
  4. package/_test_/unit/reconciliation/reconciliationRequests.test.ts +208 -0
  5. package/_test_/unit/reconciliation/reconciliationShapes.test.ts +74 -0
  6. package/_test_/unit/retailWizard/privateGetSale.test.ts +59 -0
  7. package/_test_/unit/transaction/transactionCreateRequestM8.test.ts +27 -0
  8. package/_test_/unit/transactionProcessor/reconciliationAdjustment.test.ts +63 -0
  9. package/_test_/unit/transferNote/transferNoteConfigAndPrivate.test.ts +202 -0
  10. package/_test_/unit/transferNote/transferNoteEventsAndFeeds.test.ts +112 -0
  11. package/_test_/unit/transferNote/transferNoteRequests.test.ts +138 -0
  12. package/bin/account/dtos/BankAccountMCSendTransferRequest.d.ts +8 -2
  13. package/bin/account/dtos/BankAccountMCSendTransferResponse.d.ts +3 -0
  14. package/bin/index.d.ts +2 -0
  15. package/bin/index.js +7 -1
  16. package/bin/loanRetailAudit/enums/AuditTrailActionEnum.d.ts +12 -1
  17. package/bin/loanRetailAudit/enums/AuditTrailActionEnum.js +12 -0
  18. package/bin/loanRetailAudit/enums/LoanAuditEntityTypeEnum.d.ts +5 -1
  19. package/bin/loanRetailAudit/enums/LoanAuditEntityTypeEnum.js +4 -0
  20. package/bin/reconciliation/constants/reconciliationErrorHttpStatus.d.ts +6 -0
  21. package/bin/reconciliation/constants/reconciliationErrorHttpStatus.js +23 -0
  22. package/bin/reconciliation/constants/reconciliationValidation.d.ts +8 -0
  23. package/bin/reconciliation/constants/reconciliationValidation.js +11 -0
  24. package/bin/reconciliation/dtos/ReconciliationDefinition.d.ts +42 -0
  25. package/bin/reconciliation/dtos/ReconciliationDefinition.js +2 -0
  26. package/bin/reconciliation/dtos/ReconciliationFeedRecord.d.ts +42 -0
  27. package/bin/reconciliation/dtos/ReconciliationFeedRecord.js +2 -0
  28. package/bin/reconciliation/dtos/ReconciliationItem.d.ts +77 -0
  29. package/bin/reconciliation/dtos/ReconciliationItem.js +2 -0
  30. package/bin/reconciliation/dtos/ReconciliationRun.d.ts +28 -0
  31. package/bin/reconciliation/dtos/ReconciliationRun.js +2 -0
  32. package/bin/reconciliation/dtos/requests/PrivateReconciliationRequests.d.ts +80 -0
  33. package/bin/reconciliation/dtos/requests/PrivateReconciliationRequests.js +215 -0
  34. package/bin/reconciliation/dtos/requests/ReconciliationActionRequests.d.ts +30 -0
  35. package/bin/reconciliation/dtos/requests/ReconciliationActionRequests.js +105 -0
  36. package/bin/reconciliation/dtos/requests/ReconciliationFeedRequests.d.ts +23 -0
  37. package/bin/reconciliation/dtos/requests/ReconciliationFeedRequests.js +71 -0
  38. package/bin/reconciliation/dtos/requests/ReconciliationQueries.d.ts +54 -0
  39. package/bin/reconciliation/dtos/requests/ReconciliationQueries.js +192 -0
  40. package/bin/reconciliation/dtos/requests/reconciliationRequestDecorators.d.ts +7 -0
  41. package/bin/reconciliation/dtos/requests/reconciliationRequestDecorators.js +39 -0
  42. package/bin/reconciliation/dtos/responses/PrivateReconciliationResponses.d.ts +13 -0
  43. package/bin/reconciliation/dtos/responses/PrivateReconciliationResponses.js +2 -0
  44. package/bin/reconciliation/dtos/responses/ReconciliationFeedResponses.d.ts +7 -0
  45. package/bin/reconciliation/dtos/responses/ReconciliationFeedResponses.js +2 -0
  46. package/bin/reconciliation/dtos/responses/ReconciliationResponses.d.ts +81 -0
  47. package/bin/reconciliation/dtos/responses/ReconciliationResponses.js +2 -0
  48. package/bin/reconciliation/enums/ReconciliationDefinitionStatusEnum.d.ts +6 -0
  49. package/bin/reconciliation/enums/ReconciliationDefinitionStatusEnum.js +10 -0
  50. package/bin/reconciliation/enums/ReconciliationErrorCodeEnum.d.ts +24 -0
  51. package/bin/reconciliation/enums/ReconciliationErrorCodeEnum.js +28 -0
  52. package/bin/reconciliation/enums/ReconciliationExportFormatEnum.d.ts +5 -0
  53. package/bin/reconciliation/enums/ReconciliationExportFormatEnum.js +9 -0
  54. package/bin/reconciliation/enums/ReconciliationFeedConceptEnum.d.ts +16 -0
  55. package/bin/reconciliation/enums/ReconciliationFeedConceptEnum.js +20 -0
  56. package/bin/reconciliation/enums/ReconciliationFeedErrorCodeEnum.d.ts +4 -0
  57. package/bin/reconciliation/enums/ReconciliationFeedErrorCodeEnum.js +8 -0
  58. package/bin/reconciliation/enums/ReconciliationFeedOwnerEnum.d.ts +9 -0
  59. package/bin/reconciliation/enums/ReconciliationFeedOwnerEnum.js +13 -0
  60. package/bin/reconciliation/enums/ReconciliationItemStateEnum.d.ts +23 -0
  61. package/bin/reconciliation/enums/ReconciliationItemStateEnum.js +27 -0
  62. package/bin/reconciliation/enums/ReconciliationLayerEnum.d.ts +8 -0
  63. package/bin/reconciliation/enums/ReconciliationLayerEnum.js +12 -0
  64. package/bin/reconciliation/enums/ReconciliationPeriodEnum.d.ts +6 -0
  65. package/bin/reconciliation/enums/ReconciliationPeriodEnum.js +10 -0
  66. package/bin/reconciliation/enums/ReconciliationResolutionArchiveReasonEnum.d.ts +6 -0
  67. package/bin/reconciliation/enums/ReconciliationResolutionArchiveReasonEnum.js +10 -0
  68. package/bin/reconciliation/enums/ReconciliationResolutionStatusEnum.d.ts +9 -0
  69. package/bin/reconciliation/enums/ReconciliationResolutionStatusEnum.js +13 -0
  70. package/bin/reconciliation/enums/ReconciliationResolutionTypeEnum.d.ts +7 -0
  71. package/bin/reconciliation/enums/ReconciliationResolutionTypeEnum.js +11 -0
  72. package/bin/reconciliation/enums/ReconciliationRuleTypeEnum.d.ts +7 -0
  73. package/bin/reconciliation/enums/ReconciliationRuleTypeEnum.js +11 -0
  74. package/bin/reconciliation/enums/ReconciliationRunStatusEnum.d.ts +6 -0
  75. package/bin/reconciliation/enums/ReconciliationRunStatusEnum.js +10 -0
  76. package/bin/reconciliation/enums/ReconciliationSourceRoleEnum.d.ts +6 -0
  77. package/bin/reconciliation/enums/ReconciliationSourceRoleEnum.js +10 -0
  78. package/bin/reconciliation/events/ReconciliationItemMatchedEventDetail.d.ts +22 -0
  79. package/bin/reconciliation/events/ReconciliationItemMatchedEventDetail.js +14 -0
  80. package/bin/reconciliation/index.d.ts +29 -0
  81. package/bin/reconciliation/index.js +51 -0
  82. package/bin/retailWizard/catalog/privateSaleDetailFields.d.ts +3 -0
  83. package/bin/retailWizard/catalog/privateSaleDetailFields.js +16 -0
  84. package/bin/retailWizard/constants/retailWizardValidation.d.ts +2 -0
  85. package/bin/retailWizard/constants/retailWizardValidation.js +5 -0
  86. package/bin/retailWizard/dtos/requests/PrivateGetSaleRequest.d.ts +8 -0
  87. package/bin/retailWizard/dtos/requests/PrivateGetSaleRequest.js +42 -0
  88. package/bin/retailWizard/dtos/responses/PrivateGetSaleResponse.d.ts +16 -0
  89. package/bin/retailWizard/dtos/responses/PrivateGetSaleResponse.js +2 -0
  90. package/bin/retailWizard/index.d.ts +4 -0
  91. package/bin/retailWizard/index.js +5 -0
  92. package/bin/transaction/dtos/TransactionCreateRequest.d.ts +4 -0
  93. package/bin/transaction/dtos/TransactionCreateRequest.js +12 -0
  94. package/bin/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentRequest.d.ts +30 -0
  95. package/bin/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentRequest.js +107 -0
  96. package/bin/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentResponse.d.ts +7 -0
  97. package/bin/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentResponse.js +2 -0
  98. package/bin/transactionProcessor/dtos/ReconciliationAdjustmentReference.d.ts +5 -0
  99. package/bin/transactionProcessor/dtos/ReconciliationAdjustmentReference.js +30 -0
  100. package/bin/transactionProcessor/index.d.ts +3 -0
  101. package/bin/transactionProcessor/index.js +3 -0
  102. package/bin/transferNote/constants/transferNoteDefaultFees.d.ts +5 -0
  103. package/bin/transferNote/constants/transferNoteDefaultFees.js +9 -0
  104. package/bin/transferNote/constants/transferNoteErrorHttpStatus.d.ts +3 -0
  105. package/bin/transferNote/constants/transferNoteErrorHttpStatus.js +30 -0
  106. package/bin/transferNote/constants/transferNoteValidation.d.ts +7 -0
  107. package/bin/transferNote/constants/transferNoteValidation.js +10 -0
  108. package/bin/transferNote/dtos/TransferNote.d.ts +81 -0
  109. package/bin/transferNote/dtos/TransferNote.js +2 -0
  110. package/bin/transferNote/dtos/TransferNoteConfigRecords.d.ts +50 -0
  111. package/bin/transferNote/dtos/TransferNoteConfigRecords.js +2 -0
  112. package/bin/transferNote/dtos/TransferNoteFeedRecords.d.ts +38 -0
  113. package/bin/transferNote/dtos/TransferNoteFeedRecords.js +2 -0
  114. package/bin/transferNote/dtos/TransferNoteHistoryEntry.d.ts +16 -0
  115. package/bin/transferNote/dtos/TransferNoteHistoryEntry.js +2 -0
  116. package/bin/transferNote/dtos/TransferNoteItem.d.ts +36 -0
  117. package/bin/transferNote/dtos/TransferNoteItem.js +2 -0
  118. package/bin/transferNote/dtos/TransferNoteSignedUrl.d.ts +5 -0
  119. package/bin/transferNote/dtos/TransferNoteSignedUrl.js +2 -0
  120. package/bin/transferNote/dtos/requests/PrivateTransferNoteRequests.d.ts +105 -0
  121. package/bin/transferNote/dtos/requests/PrivateTransferNoteRequests.js +256 -0
  122. package/bin/transferNote/dtos/requests/RetailerTransferNoteRequests.d.ts +20 -0
  123. package/bin/transferNote/dtos/requests/RetailerTransferNoteRequests.js +47 -0
  124. package/bin/transferNote/dtos/requests/TransferNoteActionRequests.d.ts +33 -0
  125. package/bin/transferNote/dtos/requests/TransferNoteActionRequests.js +104 -0
  126. package/bin/transferNote/dtos/requests/TransferNoteConfigRequests.d.ts +38 -0
  127. package/bin/transferNote/dtos/requests/TransferNoteConfigRequests.js +152 -0
  128. package/bin/transferNote/dtos/requests/TransferNoteQueries.d.ts +29 -0
  129. package/bin/transferNote/dtos/requests/TransferNoteQueries.js +107 -0
  130. package/bin/transferNote/dtos/requests/transferNoteRequestDecorators.d.ts +14 -0
  131. package/bin/transferNote/dtos/requests/transferNoteRequestDecorators.js +73 -0
  132. package/bin/transferNote/dtos/responses/PrivateTransferNoteResponses.d.ts +26 -0
  133. package/bin/transferNote/dtos/responses/PrivateTransferNoteResponses.js +2 -0
  134. package/bin/transferNote/dtos/responses/RetailerTransferNoteResponses.d.ts +13 -0
  135. package/bin/transferNote/dtos/responses/RetailerTransferNoteResponses.js +2 -0
  136. package/bin/transferNote/dtos/responses/TransferNoteConfigResponses.d.ts +6 -0
  137. package/bin/transferNote/dtos/responses/TransferNoteConfigResponses.js +2 -0
  138. package/bin/transferNote/dtos/responses/TransferNoteResponses.d.ts +44 -0
  139. package/bin/transferNote/dtos/responses/TransferNoteResponses.js +2 -0
  140. package/bin/transferNote/enums/TransferNoteConceptEnum.d.ts +16 -0
  141. package/bin/transferNote/enums/TransferNoteConceptEnum.js +20 -0
  142. package/bin/transferNote/enums/TransferNoteConceptSignEnum.d.ts +5 -0
  143. package/bin/transferNote/enums/TransferNoteConceptSignEnum.js +9 -0
  144. package/bin/transferNote/enums/TransferNoteConfigRecordTypeEnum.d.ts +7 -0
  145. package/bin/transferNote/enums/TransferNoteConfigRecordTypeEnum.js +11 -0
  146. package/bin/transferNote/enums/TransferNoteConfirmationSourceEnum.d.ts +5 -0
  147. package/bin/transferNote/enums/TransferNoteConfirmationSourceEnum.js +9 -0
  148. package/bin/transferNote/enums/TransferNoteConfirmationTypeEnum.d.ts +5 -0
  149. package/bin/transferNote/enums/TransferNoteConfirmationTypeEnum.js +9 -0
  150. package/bin/transferNote/enums/TransferNoteDisputeCategoryEnum.d.ts +7 -0
  151. package/bin/transferNote/enums/TransferNoteDisputeCategoryEnum.js +11 -0
  152. package/bin/transferNote/enums/TransferNoteDisputeDecisionEnum.d.ts +5 -0
  153. package/bin/transferNote/enums/TransferNoteDisputeDecisionEnum.js +9 -0
  154. package/bin/transferNote/enums/TransferNoteErrorCodeEnum.d.ts +32 -0
  155. package/bin/transferNote/enums/TransferNoteErrorCodeEnum.js +36 -0
  156. package/bin/transferNote/enums/TransferNoteFeedConceptEnum.d.ts +5 -0
  157. package/bin/transferNote/enums/TransferNoteFeedConceptEnum.js +9 -0
  158. package/bin/transferNote/enums/TransferNoteHistoryActionEnum.d.ts +13 -0
  159. package/bin/transferNote/enums/TransferNoteHistoryActionEnum.js +17 -0
  160. package/bin/transferNote/enums/TransferNoteIssueOriginEnum.d.ts +6 -0
  161. package/bin/transferNote/enums/TransferNoteIssueOriginEnum.js +10 -0
  162. package/bin/transferNote/enums/TransferNoteItemStatusEnum.d.ts +5 -0
  163. package/bin/transferNote/enums/TransferNoteItemStatusEnum.js +9 -0
  164. package/bin/transferNote/enums/TransferNotePartyTypeEnum.d.ts +6 -0
  165. package/bin/transferNote/enums/TransferNotePartyTypeEnum.js +10 -0
  166. package/bin/transferNote/enums/TransferNoteStatusEnum.d.ts +9 -0
  167. package/bin/transferNote/enums/TransferNoteStatusEnum.js +13 -0
  168. package/bin/transferNote/events/TransferNoteReconciledEventDetail.d.ts +17 -0
  169. package/bin/transferNote/events/TransferNoteReconciledEventDetail.js +13 -0
  170. package/bin/transferNote/index.d.ts +34 -0
  171. package/bin/transferNote/index.js +56 -0
  172. package/bin/transferNote/validators/IsTransferNoteSelectionConstraint.d.ts +6 -0
  173. package/bin/transferNote/validators/IsTransferNoteSelectionConstraint.js +28 -0
  174. package/package.json +1 -1
  175. package/src/account/dtos/BankAccountMCSendTransferRequest.ts +8 -2
  176. package/src/account/dtos/BankAccountMCSendTransferResponse.ts +3 -0
  177. package/src/index.ts +8 -0
  178. package/src/loanRetailAudit/enums/AuditTrailActionEnum.ts +12 -0
  179. package/src/loanRetailAudit/enums/LoanAuditEntityTypeEnum.ts +4 -0
  180. package/src/reconciliation/constants/reconciliationErrorHttpStatus.ts +22 -0
  181. package/src/reconciliation/constants/reconciliationValidation.ts +11 -0
  182. package/src/reconciliation/dtos/ReconciliationDefinition.ts +44 -0
  183. package/src/reconciliation/dtos/ReconciliationFeedRecord.ts +44 -0
  184. package/src/reconciliation/dtos/ReconciliationItem.ts +84 -0
  185. package/src/reconciliation/dtos/ReconciliationRun.ts +31 -0
  186. package/src/reconciliation/dtos/requests/PrivateReconciliationRequests.ts +166 -0
  187. package/src/reconciliation/dtos/requests/ReconciliationActionRequests.ts +77 -0
  188. package/src/reconciliation/dtos/requests/ReconciliationFeedRequests.ts +47 -0
  189. package/src/reconciliation/dtos/requests/ReconciliationQueries.ts +148 -0
  190. package/src/reconciliation/dtos/requests/reconciliationRequestDecorators.ts +32 -0
  191. package/src/reconciliation/dtos/responses/PrivateReconciliationResponses.ts +27 -0
  192. package/src/reconciliation/dtos/responses/ReconciliationFeedResponses.ts +9 -0
  193. package/src/reconciliation/dtos/responses/ReconciliationResponses.ts +101 -0
  194. package/src/reconciliation/enums/ReconciliationDefinitionStatusEnum.ts +6 -0
  195. package/src/reconciliation/enums/ReconciliationErrorCodeEnum.ts +24 -0
  196. package/src/reconciliation/enums/ReconciliationExportFormatEnum.ts +5 -0
  197. package/src/reconciliation/enums/ReconciliationFeedConceptEnum.ts +19 -0
  198. package/src/reconciliation/enums/ReconciliationFeedErrorCodeEnum.ts +4 -0
  199. package/src/reconciliation/enums/ReconciliationFeedOwnerEnum.ts +9 -0
  200. package/src/reconciliation/enums/ReconciliationItemStateEnum.ts +23 -0
  201. package/src/reconciliation/enums/ReconciliationLayerEnum.ts +8 -0
  202. package/src/reconciliation/enums/ReconciliationPeriodEnum.ts +6 -0
  203. package/src/reconciliation/enums/ReconciliationResolutionArchiveReasonEnum.ts +6 -0
  204. package/src/reconciliation/enums/ReconciliationResolutionStatusEnum.ts +9 -0
  205. package/src/reconciliation/enums/ReconciliationResolutionTypeEnum.ts +7 -0
  206. package/src/reconciliation/enums/ReconciliationRuleTypeEnum.ts +7 -0
  207. package/src/reconciliation/enums/ReconciliationRunStatusEnum.ts +6 -0
  208. package/src/reconciliation/enums/ReconciliationSourceRoleEnum.ts +6 -0
  209. package/src/reconciliation/events/ReconciliationItemMatchedEventDetail.ts +25 -0
  210. package/src/reconciliation/index.ts +40 -0
  211. package/src/retailWizard/catalog/privateSaleDetailFields.ts +15 -0
  212. package/src/retailWizard/constants/retailWizardValidation.ts +2 -0
  213. package/src/retailWizard/dtos/requests/PrivateGetSaleRequest.ts +26 -0
  214. package/src/retailWizard/dtos/responses/PrivateGetSaleResponse.ts +16 -0
  215. package/src/retailWizard/index.ts +6 -0
  216. package/src/transaction/dtos/TransactionCreateRequest.ts +12 -0
  217. package/src/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentRequest.ts +101 -0
  218. package/src/transactionProcessor/dtos/PrivateAuthorizeReconciliationAdjustmentResponse.ts +7 -0
  219. package/src/transactionProcessor/dtos/ReconciliationAdjustmentReference.ts +15 -0
  220. package/src/transactionProcessor/index.ts +3 -0
  221. package/src/transferNote/constants/transferNoteDefaultFees.ts +7 -0
  222. package/src/transferNote/constants/transferNoteErrorHttpStatus.ts +28 -0
  223. package/src/transferNote/constants/transferNoteValidation.ts +10 -0
  224. package/src/transferNote/dtos/TransferNote.ts +89 -0
  225. package/src/transferNote/dtos/TransferNoteConfigRecords.ts +55 -0
  226. package/src/transferNote/dtos/TransferNoteFeedRecords.ts +35 -0
  227. package/src/transferNote/dtos/TransferNoteHistoryEntry.ts +17 -0
  228. package/src/transferNote/dtos/TransferNoteItem.ts +38 -0
  229. package/src/transferNote/dtos/TransferNoteSignedUrl.ts +5 -0
  230. package/src/transferNote/dtos/requests/PrivateTransferNoteRequests.ts +195 -0
  231. package/src/transferNote/dtos/requests/RetailerTransferNoteRequests.ts +28 -0
  232. package/src/transferNote/dtos/requests/TransferNoteActionRequests.ts +72 -0
  233. package/src/transferNote/dtos/requests/TransferNoteConfigRequests.ts +115 -0
  234. package/src/transferNote/dtos/requests/TransferNoteQueries.ts +78 -0
  235. package/src/transferNote/dtos/requests/transferNoteRequestDecorators.ts +72 -0
  236. package/src/transferNote/dtos/responses/PrivateTransferNoteResponses.ts +36 -0
  237. package/src/transferNote/dtos/responses/RetailerTransferNoteResponses.ts +19 -0
  238. package/src/transferNote/dtos/responses/TransferNoteConfigResponses.ts +8 -0
  239. package/src/transferNote/dtos/responses/TransferNoteResponses.ts +51 -0
  240. package/src/transferNote/enums/TransferNoteConceptEnum.ts +16 -0
  241. package/src/transferNote/enums/TransferNoteConceptSignEnum.ts +5 -0
  242. package/src/transferNote/enums/TransferNoteConfigRecordTypeEnum.ts +7 -0
  243. package/src/transferNote/enums/TransferNoteConfirmationSourceEnum.ts +5 -0
  244. package/src/transferNote/enums/TransferNoteConfirmationTypeEnum.ts +5 -0
  245. package/src/transferNote/enums/TransferNoteDisputeCategoryEnum.ts +7 -0
  246. package/src/transferNote/enums/TransferNoteDisputeDecisionEnum.ts +5 -0
  247. package/src/transferNote/enums/TransferNoteErrorCodeEnum.ts +34 -0
  248. package/src/transferNote/enums/TransferNoteFeedConceptEnum.ts +5 -0
  249. package/src/transferNote/enums/TransferNoteHistoryActionEnum.ts +13 -0
  250. package/src/transferNote/enums/TransferNoteIssueOriginEnum.ts +6 -0
  251. package/src/transferNote/enums/TransferNoteItemStatusEnum.ts +5 -0
  252. package/src/transferNote/enums/TransferNotePartyTypeEnum.ts +6 -0
  253. package/src/transferNote/enums/TransferNoteStatusEnum.ts +9 -0
  254. package/src/transferNote/events/TransferNoteReconciledEventDetail.ts +22 -0
  255. package/src/transferNote/index.ts +45 -0
  256. package/src/transferNote/validators/IsTransferNoteSelectionConstraint.ts +16 -0
@@ -0,0 +1,29 @@
1
+ import { TransferNoteConceptEnum } from '../../enums/TransferNoteConceptEnum';
2
+ import { TransferNoteIssueOriginEnum } from '../../enums/TransferNoteIssueOriginEnum';
3
+ import { TransferNoteItemStatusEnum } from '../../enums/TransferNoteItemStatusEnum';
4
+ import { TransferNoteStatusEnum } from '../../enums/TransferNoteStatusEnum';
5
+ /** Query de publicListTransferNotes. */
6
+ export declare class ListTransferNotesQuery {
7
+ status?: TransferNoteStatusEnum;
8
+ pairKey?: string;
9
+ isoWeek?: string;
10
+ issueOrigin?: TransferNoteIssueOriginEnum;
11
+ limit?: number;
12
+ nextToken?: string;
13
+ }
14
+ /** Query de publicListTransferNotePool: items por par, estado, concepto y fecha. */
15
+ export declare class ListTransferNotePoolQuery {
16
+ pairKey?: string;
17
+ status?: TransferNoteItemStatusEnum;
18
+ concept?: TransferNoteConceptEnum;
19
+ /** Rango de `occurredAt`, fechas ISO 8601. */
20
+ from?: string;
21
+ to?: string;
22
+ limit?: number;
23
+ nextToken?: string;
24
+ }
25
+ /** Query de publicListTransferNoteItems. */
26
+ export declare class ListTransferNoteItemsQuery {
27
+ limit?: number;
28
+ nextToken?: string;
29
+ }
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ListTransferNoteItemsQuery = exports.ListTransferNotePoolQuery = exports.ListTransferNotesQuery = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const TransferNoteConceptEnum_1 = require("../../enums/TransferNoteConceptEnum");
16
+ const TransferNoteIssueOriginEnum_1 = require("../../enums/TransferNoteIssueOriginEnum");
17
+ const TransferNoteItemStatusEnum_1 = require("../../enums/TransferNoteItemStatusEnum");
18
+ const TransferNoteStatusEnum_1 = require("../../enums/TransferNoteStatusEnum");
19
+ const transferNoteRequestDecorators_1 = require("./transferNoteRequestDecorators");
20
+ /** Query de publicListTransferNotes. */
21
+ class ListTransferNotesQuery {
22
+ }
23
+ exports.ListTransferNotesQuery = ListTransferNotesQuery;
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_validator_1.IsEnum)(TransferNoteStatusEnum_1.TransferNoteStatusEnum),
28
+ __metadata("design:type", String)
29
+ ], ListTransferNotesQuery.prototype, "status", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Expose)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], ListTransferNotesQuery.prototype, "pairKey", void 0);
36
+ __decorate([
37
+ (0, transferNoteRequestDecorators_1.OptionalIsoWeek)(),
38
+ __metadata("design:type", String)
39
+ ], ListTransferNotesQuery.prototype, "isoWeek", void 0);
40
+ __decorate([
41
+ (0, class_transformer_1.Expose)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.IsEnum)(TransferNoteIssueOriginEnum_1.TransferNoteIssueOriginEnum),
44
+ __metadata("design:type", String)
45
+ ], ListTransferNotesQuery.prototype, "issueOrigin", void 0);
46
+ __decorate([
47
+ (0, transferNoteRequestDecorators_1.PageLimit)(),
48
+ __metadata("design:type", Number)
49
+ ], ListTransferNotesQuery.prototype, "limit", void 0);
50
+ __decorate([
51
+ (0, transferNoteRequestDecorators_1.PageToken)(),
52
+ __metadata("design:type", String)
53
+ ], ListTransferNotesQuery.prototype, "nextToken", void 0);
54
+ /** Query de publicListTransferNotePool: items por par, estado, concepto y fecha. */
55
+ class ListTransferNotePoolQuery {
56
+ }
57
+ exports.ListTransferNotePoolQuery = ListTransferNotePoolQuery;
58
+ __decorate([
59
+ (0, class_transformer_1.Expose)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ (0, class_validator_1.IsString)(),
62
+ __metadata("design:type", String)
63
+ ], ListTransferNotePoolQuery.prototype, "pairKey", void 0);
64
+ __decorate([
65
+ (0, class_transformer_1.Expose)(),
66
+ (0, class_validator_1.IsOptional)(),
67
+ (0, class_validator_1.IsEnum)(TransferNoteItemStatusEnum_1.TransferNoteItemStatusEnum),
68
+ __metadata("design:type", String)
69
+ ], ListTransferNotePoolQuery.prototype, "status", void 0);
70
+ __decorate([
71
+ (0, class_transformer_1.Expose)(),
72
+ (0, class_validator_1.IsOptional)(),
73
+ (0, class_validator_1.IsEnum)(TransferNoteConceptEnum_1.TransferNoteConceptEnum),
74
+ __metadata("design:type", String)
75
+ ], ListTransferNotePoolQuery.prototype, "concept", void 0);
76
+ __decorate([
77
+ (0, class_transformer_1.Expose)(),
78
+ (0, class_validator_1.IsOptional)(),
79
+ (0, class_validator_1.IsISO8601)(),
80
+ __metadata("design:type", String)
81
+ ], ListTransferNotePoolQuery.prototype, "from", void 0);
82
+ __decorate([
83
+ (0, class_transformer_1.Expose)(),
84
+ (0, class_validator_1.IsOptional)(),
85
+ (0, class_validator_1.IsISO8601)(),
86
+ __metadata("design:type", String)
87
+ ], ListTransferNotePoolQuery.prototype, "to", void 0);
88
+ __decorate([
89
+ (0, transferNoteRequestDecorators_1.PageLimit)(),
90
+ __metadata("design:type", Number)
91
+ ], ListTransferNotePoolQuery.prototype, "limit", void 0);
92
+ __decorate([
93
+ (0, transferNoteRequestDecorators_1.PageToken)(),
94
+ __metadata("design:type", String)
95
+ ], ListTransferNotePoolQuery.prototype, "nextToken", void 0);
96
+ /** Query de publicListTransferNoteItems. */
97
+ class ListTransferNoteItemsQuery {
98
+ }
99
+ exports.ListTransferNoteItemsQuery = ListTransferNoteItemsQuery;
100
+ __decorate([
101
+ (0, transferNoteRequestDecorators_1.PageLimit)(),
102
+ __metadata("design:type", Number)
103
+ ], ListTransferNoteItemsQuery.prototype, "limit", void 0);
104
+ __decorate([
105
+ (0, transferNoteRequestDecorators_1.PageToken)(),
106
+ __metadata("design:type", String)
107
+ ], ListTransferNoteItemsQuery.prototype, "nextToken", void 0);
@@ -0,0 +1,14 @@
1
+ /** Razón obligatoria de 20+ caracteres sin contar espacios de relleno. */
2
+ export declare function LongReason(): PropertyDecorator;
3
+ /** Razón obligatoria no vacía sin contar espacios. */
4
+ export declare function RequiredReason(): PropertyDecorator;
5
+ /** String obligatorio no vacío. */
6
+ export declare function RequiredId(): PropertyDecorator;
7
+ /** Email obligatorio. */
8
+ export declare function RequiredEmail(): PropertyDecorator;
9
+ /** Semana ISO opcional `YYYY-Www`. */
10
+ export declare function OptionalIsoWeek(): PropertyDecorator;
11
+ /** Tamaño de página opcional, 1 a 100, llega como string en el query. */
12
+ export declare function PageLimit(): PropertyDecorator;
13
+ /** Cursor opcional de paginación. */
14
+ export declare function PageToken(): PropertyDecorator;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LongReason = LongReason;
4
+ exports.RequiredReason = RequiredReason;
5
+ exports.RequiredId = RequiredId;
6
+ exports.RequiredEmail = RequiredEmail;
7
+ exports.OptionalIsoWeek = OptionalIsoWeek;
8
+ exports.PageLimit = PageLimit;
9
+ exports.PageToken = PageToken;
10
+ const class_transformer_1 = require("class-transformer");
11
+ const class_validator_1 = require("class-validator");
12
+ const transferNoteValidation_1 = require("../../constants/transferNoteValidation");
13
+ const trim = (0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? value.trim() : value));
14
+ /** Razón obligatoria de 20+ caracteres sin contar espacios de relleno. */
15
+ function LongReason() {
16
+ return (target, key) => {
17
+ (0, class_transformer_1.Expose)()(target, key);
18
+ trim(target, key);
19
+ (0, class_validator_1.IsString)()(target, key);
20
+ (0, class_validator_1.MinLength)(transferNoteValidation_1.TRANSFER_NOTE_MIN_REASON_LENGTH)(target, key);
21
+ };
22
+ }
23
+ /** Razón obligatoria no vacía sin contar espacios. */
24
+ function RequiredReason() {
25
+ return (target, key) => {
26
+ (0, class_transformer_1.Expose)()(target, key);
27
+ trim(target, key);
28
+ (0, class_validator_1.IsString)()(target, key);
29
+ (0, class_validator_1.IsNotEmpty)()(target, key);
30
+ };
31
+ }
32
+ /** String obligatorio no vacío. */
33
+ function RequiredId() {
34
+ return (target, key) => {
35
+ (0, class_transformer_1.Expose)()(target, key);
36
+ (0, class_validator_1.IsString)()(target, key);
37
+ (0, class_validator_1.IsNotEmpty)()(target, key);
38
+ };
39
+ }
40
+ /** Email obligatorio. */
41
+ function RequiredEmail() {
42
+ return (target, key) => {
43
+ (0, class_transformer_1.Expose)()(target, key);
44
+ (0, class_validator_1.IsEmail)()(target, key);
45
+ };
46
+ }
47
+ /** Semana ISO opcional `YYYY-Www`. */
48
+ function OptionalIsoWeek() {
49
+ return (target, key) => {
50
+ (0, class_transformer_1.Expose)()(target, key);
51
+ (0, class_validator_1.IsOptional)()(target, key);
52
+ (0, class_validator_1.Matches)(transferNoteValidation_1.TRANSFER_NOTE_ISO_WEEK_PATTERN)(target, key);
53
+ };
54
+ }
55
+ /** Tamaño de página opcional, 1 a 100, llega como string en el query. */
56
+ function PageLimit() {
57
+ return (target, key) => {
58
+ (0, class_transformer_1.Expose)()(target, key);
59
+ (0, class_validator_1.IsOptional)()(target, key);
60
+ (0, class_transformer_1.Type)(() => Number)(target, key);
61
+ (0, class_validator_1.IsInt)()(target, key);
62
+ (0, class_validator_1.Min)(1)(target, key);
63
+ (0, class_validator_1.Max)(transferNoteValidation_1.TRANSFER_NOTE_MAX_PAGE_SIZE)(target, key);
64
+ };
65
+ }
66
+ /** Cursor opcional de paginación. */
67
+ function PageToken() {
68
+ return (target, key) => {
69
+ (0, class_transformer_1.Expose)()(target, key);
70
+ (0, class_validator_1.IsOptional)()(target, key);
71
+ (0, class_validator_1.IsString)()(target, key);
72
+ };
73
+ }
@@ -0,0 +1,26 @@
1
+ import { TransferNote } from '../TransferNote';
2
+ import { TransferNoteItem } from '../TransferNoteItem';
3
+ import { TransferNoteSignedUrl } from '../TransferNoteSignedUrl';
4
+ import { GetTransferNoteHistoryResponse, ListTransferNoteItemsResponse, ListTransferNotePoolResponse, ListTransferNotesResponse, PreviewTransferNoteResponse, ResolveTransferNoteDisputeResponse } from './TransferNoteResponses';
5
+ export type PrivateListTransferNotesResponse = ListTransferNotesResponse;
6
+ export type PrivateListTransferNotePoolResponse = ListTransferNotePoolResponse;
7
+ export type PrivateListTransferNoteItemsResponse = ListTransferNoteItemsResponse;
8
+ export type PrivateGetTransferNoteHistoryResponse = GetTransferNoteHistoryResponse;
9
+ export type PrivatePreviewTransferNoteResponse = PreviewTransferNoteResponse;
10
+ export type PrivateResolveTransferNoteDisputeResponse = ResolveTransferNoteDisputeResponse;
11
+ export type PrivateGetTransferNoteResponse = TransferNote;
12
+ export type PrivateIssueTransferNoteResponse = TransferNote;
13
+ export type PrivateCaptureTransferNoteSpeiResponse = TransferNote;
14
+ export type PrivateRevertTransferNoteSpeiResponse = TransferNote;
15
+ export type PrivateConfirmTransferNoteReceptionResponse = TransferNote;
16
+ export type PrivateCancelTransferNoteResponse = TransferNote;
17
+ export type PrivateConfirmTransferNoteSettlementResponse = TransferNote;
18
+ export type PrivateCreateSpeiReceiptUploadUrlResponse = TransferNoteSignedUrl;
19
+ export type PrivateGetTransferNotePdfResponse = TransferNoteSignedUrl;
20
+ /** Respuesta 202 del corte manual. */
21
+ export interface PrivateRunTransferNoteCutoffResponse {
22
+ runId: string;
23
+ }
24
+ /** El item de ajuste; un `adjustmentKey` repetido devuelve el primero. */
25
+ export type PrivateCreateTransferNoteAdjustmentResponse = TransferNoteItem;
26
+ export type PrivateGetTransferNoteItemBySourceResponse = TransferNoteItem;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { TransferNote } from '../TransferNote';
2
+ import { TransferNoteSignedUrl } from '../TransferNoteSignedUrl';
3
+ import { GetTransferNoteHistoryResponse, ListTransferNoteItemsResponse, ListTransferNotePoolResponse, ListTransferNotesResponse } from './TransferNoteResponses';
4
+ export type ListRetailerTransferNotesResponse = ListTransferNotesResponse;
5
+ export type ListRetailerTransferNotePoolResponse = ListTransferNotePoolResponse;
6
+ export type ListRetailerTransferNoteItemsResponse = ListTransferNoteItemsResponse;
7
+ export type GetRetailerTransferNoteHistoryResponse = GetTransferNoteHistoryResponse;
8
+ export type GetRetailerTransferNoteResponse = TransferNote;
9
+ export type DisputeTransferNoteResponse = TransferNote;
10
+ export type CaptureRetailerTransferNoteSpeiResponse = TransferNote;
11
+ export type ConfirmRetailerTransferNoteReceptionResponse = TransferNote;
12
+ export type CreateRetailerSpeiReceiptUploadUrlResponse = TransferNoteSignedUrl;
13
+ export type GetRetailerTransferNotePdfResponse = TransferNoteSignedUrl;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { TransferNoteConfigRecord } from '../TransferNoteConfigRecords';
2
+ /** Toda la configuración del tenant, un registro por TENANT, PARTY#, CONCEPT# y PAIR#. */
3
+ export interface GetTransferNoteConfigResponse {
4
+ records: TransferNoteConfigRecord[];
5
+ }
6
+ export type UpdateTransferNoteConfigResponse = TransferNoteConfigRecord;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,44 @@
1
+ import { CurrencyId } from '../../../currency/enums/CurrencyId';
2
+ import { TransferNote, TransferNoteStatusCount, TransferNoteSubtotal, TransferNoteSummary } from '../TransferNote';
3
+ import { TransferNoteHistoryEntry } from '../TransferNoteHistoryEntry';
4
+ import { TransferNoteItem } from '../TransferNoteItem';
5
+ import { TransferNoteSignedUrl } from '../TransferNoteSignedUrl';
6
+ export interface ListTransferNotesResponse {
7
+ items: TransferNoteSummary[];
8
+ statusCounts: TransferNoteStatusCount[];
9
+ nextToken?: string;
10
+ }
11
+ export interface ListTransferNotePoolResponse {
12
+ items: TransferNoteItem[];
13
+ nextToken?: string;
14
+ }
15
+ export interface ListTransferNoteItemsResponse {
16
+ items: TransferNoteItem[];
17
+ nextToken?: string;
18
+ }
19
+ export interface GetTransferNoteHistoryResponse {
20
+ items: TransferNoteHistoryEntry[];
21
+ }
22
+ /** Neto y subtotales de una selección, sin emitir. */
23
+ export interface PreviewTransferNoteResponse {
24
+ pairKey: string;
25
+ netAmountCents: number;
26
+ currency: CurrencyId;
27
+ itemCount: number;
28
+ subtotals: TransferNoteSubtotal[];
29
+ }
30
+ /** Al aceptar, trae la regenerada si el neto quedó positivo. */
31
+ export interface ResolveTransferNoteDisputeResponse {
32
+ note: TransferNote;
33
+ regeneratedNote?: TransferNote;
34
+ }
35
+ export type GetTransferNoteResponse = TransferNote;
36
+ export type IssueTransferNoteResponse = TransferNote;
37
+ export type CaptureTransferNoteSpeiResponse = TransferNote;
38
+ export type RevertTransferNoteSpeiResponse = TransferNote;
39
+ export type ConfirmTransferNoteReceptionResponse = TransferNote;
40
+ export type CancelTransferNoteResponse = TransferNote;
41
+ /** URL firmada de PUT para subir el comprobante en PDF. */
42
+ export type CreateSpeiReceiptUploadUrlResponse = TransferNoteSignedUrl;
43
+ /** URL firmada de GET del PDF de la nota. */
44
+ export type GetTransferNotePdfResponse = TransferNoteSignedUrl;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /** Concepto de un item de nota; el par y el signo de cada uno salen de la configuración del tenant. */
2
+ export declare enum TransferNoteConceptEnum {
3
+ INSTALLMENT_COLLECTION = "INSTALLMENT_COLLECTION",
4
+ CREDIT_PROMOTION_REIMBURSEMENT = "CREDIT_PROMOTION_REIMBURSEMENT",
5
+ /** Cubre los bonos WELCOME, SALE_PROMOTION y REFERRAL de retail-customer. */
6
+ SALE_PROMOTION_REIMBURSEMENT = "SALE_PROMOTION_REIMBURSEMENT",
7
+ SALE_COMMISSION = "SALE_COMMISSION",
8
+ DEVICE_PAYMENT = "DEVICE_PAYMENT",
9
+ DOWN_PAYMENT = "DOWN_PAYMENT",
10
+ /** Derivado de cada crédito firmado con la tarifa del tenant. */
11
+ ORIGINATION_BONUS = "ORIGINATION_BONUS",
12
+ /** Derivado de cada crédito firmado con la tarifa del tenant. */
13
+ ACCOUNT_OPENING = "ACCOUNT_OPENING",
14
+ /** Ajuste entre empresas; viaja en el par de su item original. */
15
+ ADJUSTMENT = "ADJUSTMENT"
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteConceptEnum = void 0;
4
+ /** Concepto de un item de nota; el par y el signo de cada uno salen de la configuración del tenant. */
5
+ var TransferNoteConceptEnum;
6
+ (function (TransferNoteConceptEnum) {
7
+ TransferNoteConceptEnum["INSTALLMENT_COLLECTION"] = "INSTALLMENT_COLLECTION";
8
+ TransferNoteConceptEnum["CREDIT_PROMOTION_REIMBURSEMENT"] = "CREDIT_PROMOTION_REIMBURSEMENT";
9
+ /** Cubre los bonos WELCOME, SALE_PROMOTION y REFERRAL de retail-customer. */
10
+ TransferNoteConceptEnum["SALE_PROMOTION_REIMBURSEMENT"] = "SALE_PROMOTION_REIMBURSEMENT";
11
+ TransferNoteConceptEnum["SALE_COMMISSION"] = "SALE_COMMISSION";
12
+ TransferNoteConceptEnum["DEVICE_PAYMENT"] = "DEVICE_PAYMENT";
13
+ TransferNoteConceptEnum["DOWN_PAYMENT"] = "DOWN_PAYMENT";
14
+ /** Derivado de cada crédito firmado con la tarifa del tenant. */
15
+ TransferNoteConceptEnum["ORIGINATION_BONUS"] = "ORIGINATION_BONUS";
16
+ /** Derivado de cada crédito firmado con la tarifa del tenant. */
17
+ TransferNoteConceptEnum["ACCOUNT_OPENING"] = "ACCOUNT_OPENING";
18
+ /** Ajuste entre empresas; viaja en el par de su item original. */
19
+ TransferNoteConceptEnum["ADJUSTMENT"] = "ADJUSTMENT";
20
+ })(TransferNoteConceptEnum || (exports.TransferNoteConceptEnum = TransferNoteConceptEnum = {}));
@@ -0,0 +1,5 @@
1
+ /** Signo con que un concepto suma al neto que el pagador le debe al receptor. */
2
+ export declare enum TransferNoteConceptSignEnum {
3
+ POSITIVE = "POSITIVE",
4
+ NEGATIVE = "NEGATIVE"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteConceptSignEnum = void 0;
4
+ /** Signo con que un concepto suma al neto que el pagador le debe al receptor. */
5
+ var TransferNoteConceptSignEnum;
6
+ (function (TransferNoteConceptSignEnum) {
7
+ TransferNoteConceptSignEnum["POSITIVE"] = "POSITIVE";
8
+ TransferNoteConceptSignEnum["NEGATIVE"] = "NEGATIVE";
9
+ })(TransferNoteConceptSignEnum || (exports.TransferNoteConceptSignEnum = TransferNoteConceptSignEnum = {}));
@@ -0,0 +1,7 @@
1
+ /** Tipo de registro de la configuración del tenant; es el prefijo de su `recordKey`. */
2
+ export declare enum TransferNoteConfigRecordTypeEnum {
3
+ TENANT = "TENANT",
4
+ PARTY = "PARTY",
5
+ CONCEPT = "CONCEPT",
6
+ PAIR = "PAIR"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteConfigRecordTypeEnum = void 0;
4
+ /** Tipo de registro de la configuración del tenant; es el prefijo de su `recordKey`. */
5
+ var TransferNoteConfigRecordTypeEnum;
6
+ (function (TransferNoteConfigRecordTypeEnum) {
7
+ TransferNoteConfigRecordTypeEnum["TENANT"] = "TENANT";
8
+ TransferNoteConfigRecordTypeEnum["PARTY"] = "PARTY";
9
+ TransferNoteConfigRecordTypeEnum["CONCEPT"] = "CONCEPT";
10
+ TransferNoteConfigRecordTypeEnum["PAIR"] = "PAIR";
11
+ })(TransferNoteConfigRecordTypeEnum || (exports.TransferNoteConfigRecordTypeEnum = TransferNoteConfigRecordTypeEnum = {}));
@@ -0,0 +1,5 @@
1
+ /** Origen de una confirmación: la dio una persona o la llenó la conciliación bancaria. */
2
+ export declare enum TransferNoteConfirmationSourceEnum {
3
+ MANUAL = "MANUAL",
4
+ LAYER_4_AUTO = "LAYER_4_AUTO"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteConfirmationSourceEnum = void 0;
4
+ /** Origen de una confirmación: la dio una persona o la llenó la conciliación bancaria. */
5
+ var TransferNoteConfirmationSourceEnum;
6
+ (function (TransferNoteConfirmationSourceEnum) {
7
+ TransferNoteConfirmationSourceEnum["MANUAL"] = "MANUAL";
8
+ TransferNoteConfirmationSourceEnum["LAYER_4_AUTO"] = "LAYER_4_AUTO";
9
+ })(TransferNoteConfirmationSourceEnum || (exports.TransferNoteConfirmationSourceEnum = TransferNoteConfirmationSourceEnum = {}));
@@ -0,0 +1,5 @@
1
+ /** Confirmación que puede exigir una nota: la recepción del receptor o la de FSA en su estado de cuenta. */
2
+ export declare enum TransferNoteConfirmationTypeEnum {
3
+ PAYEE_RECEPTION = "PAYEE_RECEPTION",
4
+ GATEWAY_SETTLEMENT = "GATEWAY_SETTLEMENT"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteConfirmationTypeEnum = void 0;
4
+ /** Confirmación que puede exigir una nota: la recepción del receptor o la de FSA en su estado de cuenta. */
5
+ var TransferNoteConfirmationTypeEnum;
6
+ (function (TransferNoteConfirmationTypeEnum) {
7
+ TransferNoteConfirmationTypeEnum["PAYEE_RECEPTION"] = "PAYEE_RECEPTION";
8
+ TransferNoteConfirmationTypeEnum["GATEWAY_SETTLEMENT"] = "GATEWAY_SETTLEMENT";
9
+ })(TransferNoteConfirmationTypeEnum || (exports.TransferNoteConfirmationTypeEnum = TransferNoteConfirmationTypeEnum = {}));
@@ -0,0 +1,7 @@
1
+ /** Categoría de la objeción de un retailer a una nota. */
2
+ export declare enum TransferNoteDisputeCategoryEnum {
3
+ INCORRECT_AMOUNT = "INCORRECT_AMOUNT",
4
+ MISSING_ITEMS = "MISSING_ITEMS",
5
+ EXTRA_ITEMS = "EXTRA_ITEMS",
6
+ OTHER = "OTHER"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteDisputeCategoryEnum = void 0;
4
+ /** Categoría de la objeción de un retailer a una nota. */
5
+ var TransferNoteDisputeCategoryEnum;
6
+ (function (TransferNoteDisputeCategoryEnum) {
7
+ TransferNoteDisputeCategoryEnum["INCORRECT_AMOUNT"] = "INCORRECT_AMOUNT";
8
+ TransferNoteDisputeCategoryEnum["MISSING_ITEMS"] = "MISSING_ITEMS";
9
+ TransferNoteDisputeCategoryEnum["EXTRA_ITEMS"] = "EXTRA_ITEMS";
10
+ TransferNoteDisputeCategoryEnum["OTHER"] = "OTHER";
11
+ })(TransferNoteDisputeCategoryEnum || (exports.TransferNoteDisputeCategoryEnum = TransferNoteDisputeCategoryEnum = {}));
@@ -0,0 +1,5 @@
1
+ /** ACCEPT cancela y regenera la nota; REJECT la regresa a su estado previo. */
2
+ export declare enum TransferNoteDisputeDecisionEnum {
3
+ ACCEPT = "ACCEPT",
4
+ REJECT = "REJECT"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteDisputeDecisionEnum = void 0;
4
+ /** ACCEPT cancela y regenera la nota; REJECT la regresa a su estado previo. */
5
+ var TransferNoteDisputeDecisionEnum;
6
+ (function (TransferNoteDisputeDecisionEnum) {
7
+ TransferNoteDisputeDecisionEnum["ACCEPT"] = "ACCEPT";
8
+ TransferNoteDisputeDecisionEnum["REJECT"] = "REJECT";
9
+ })(TransferNoteDisputeDecisionEnum || (exports.TransferNoteDisputeDecisionEnum = TransferNoteDisputeDecisionEnum = {}));
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Codes de error de transfer-note-business; el status de cada uno está en
3
+ * `TRANSFER_NOTE_ERROR_HTTP_STATUS`. Las clases `DomainError` viven en el lambda.
4
+ */
5
+ export declare enum TransferNoteErrorCodeEnum {
6
+ TRANSFER_NOTE_NOT_FOUND = "TRANSFER_NOTE_NOT_FOUND",
7
+ NOTE_NOT_DISPUTABLE = "NOTE_NOT_DISPUTABLE",
8
+ NET_NOT_POSITIVE = "NET_NOT_POSITIVE",
9
+ NOT_NOTE_CONTROLLER = "NOT_NOTE_CONTROLLER",
10
+ PAYEE_ACCOUNT_NOT_REGISTERED = "PAYEE_ACCOUNT_NOT_REGISTERED",
11
+ ITEM_ALREADY_INCLUDED = "ITEM_ALREADY_INCLUDED",
12
+ /** La semana del par ya tiene nota de corte. */
13
+ WEEK_ALREADY_CUT = "WEEK_ALREADY_CUT",
14
+ NOTE_NOT_ISSUED = "NOTE_NOT_ISSUED",
15
+ NOTE_DISPUTED = "NOTE_DISPUTED",
16
+ NOT_NOTE_PAYER = "NOT_NOTE_PAYER",
17
+ NOTE_NOT_SENT = "NOTE_NOT_SENT",
18
+ NOT_NOTE_PAYEE = "NOT_NOTE_PAYEE",
19
+ NOTE_NOT_DISPUTED = "NOTE_NOT_DISPUTED",
20
+ CONTACT_EMAIL_MISSING = "CONTACT_EMAIL_MISSING",
21
+ INVALID_CONFIG_RECORD_TYPE = "INVALID_CONFIG_RECORD_TYPE",
22
+ /** El `author` del espejo privado no está en la lista permitida del lambda. */
23
+ AUTHOR_NOT_ALLOWED = "AUTHOR_NOT_ALLOWED",
24
+ /** La nota no exige confirmación de FSA en su estado de cuenta. */
25
+ SETTLEMENT_NOT_REQUIRED = "SETTLEMENT_NOT_REQUIRED",
26
+ RUN_IN_PROGRESS = "RUN_IN_PROGRESS",
27
+ SOURCE_ITEM_NOT_FOUND = "SOURCE_ITEM_NOT_FOUND",
28
+ /** No hay item para el concepto y registro de origen pedidos en by-source. */
29
+ TRANSFER_NOTE_ITEM_NOT_FOUND = "TRANSFER_NOTE_ITEM_NOT_FOUND",
30
+ /** Mismo code del feed genérico que implementa cada dueño. */
31
+ FEED_RECORD_NOT_FOUND = "FEED_RECORD_NOT_FOUND"
32
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteErrorCodeEnum = void 0;
4
+ /**
5
+ * Codes de error de transfer-note-business; el status de cada uno está en
6
+ * `TRANSFER_NOTE_ERROR_HTTP_STATUS`. Las clases `DomainError` viven en el lambda.
7
+ */
8
+ var TransferNoteErrorCodeEnum;
9
+ (function (TransferNoteErrorCodeEnum) {
10
+ TransferNoteErrorCodeEnum["TRANSFER_NOTE_NOT_FOUND"] = "TRANSFER_NOTE_NOT_FOUND";
11
+ TransferNoteErrorCodeEnum["NOTE_NOT_DISPUTABLE"] = "NOTE_NOT_DISPUTABLE";
12
+ TransferNoteErrorCodeEnum["NET_NOT_POSITIVE"] = "NET_NOT_POSITIVE";
13
+ TransferNoteErrorCodeEnum["NOT_NOTE_CONTROLLER"] = "NOT_NOTE_CONTROLLER";
14
+ TransferNoteErrorCodeEnum["PAYEE_ACCOUNT_NOT_REGISTERED"] = "PAYEE_ACCOUNT_NOT_REGISTERED";
15
+ TransferNoteErrorCodeEnum["ITEM_ALREADY_INCLUDED"] = "ITEM_ALREADY_INCLUDED";
16
+ /** La semana del par ya tiene nota de corte. */
17
+ TransferNoteErrorCodeEnum["WEEK_ALREADY_CUT"] = "WEEK_ALREADY_CUT";
18
+ TransferNoteErrorCodeEnum["NOTE_NOT_ISSUED"] = "NOTE_NOT_ISSUED";
19
+ TransferNoteErrorCodeEnum["NOTE_DISPUTED"] = "NOTE_DISPUTED";
20
+ TransferNoteErrorCodeEnum["NOT_NOTE_PAYER"] = "NOT_NOTE_PAYER";
21
+ TransferNoteErrorCodeEnum["NOTE_NOT_SENT"] = "NOTE_NOT_SENT";
22
+ TransferNoteErrorCodeEnum["NOT_NOTE_PAYEE"] = "NOT_NOTE_PAYEE";
23
+ TransferNoteErrorCodeEnum["NOTE_NOT_DISPUTED"] = "NOTE_NOT_DISPUTED";
24
+ TransferNoteErrorCodeEnum["CONTACT_EMAIL_MISSING"] = "CONTACT_EMAIL_MISSING";
25
+ TransferNoteErrorCodeEnum["INVALID_CONFIG_RECORD_TYPE"] = "INVALID_CONFIG_RECORD_TYPE";
26
+ /** El `author` del espejo privado no está en la lista permitida del lambda. */
27
+ TransferNoteErrorCodeEnum["AUTHOR_NOT_ALLOWED"] = "AUTHOR_NOT_ALLOWED";
28
+ /** La nota no exige confirmación de FSA en su estado de cuenta. */
29
+ TransferNoteErrorCodeEnum["SETTLEMENT_NOT_REQUIRED"] = "SETTLEMENT_NOT_REQUIRED";
30
+ TransferNoteErrorCodeEnum["RUN_IN_PROGRESS"] = "RUN_IN_PROGRESS";
31
+ TransferNoteErrorCodeEnum["SOURCE_ITEM_NOT_FOUND"] = "SOURCE_ITEM_NOT_FOUND";
32
+ /** No hay item para el concepto y registro de origen pedidos en by-source. */
33
+ TransferNoteErrorCodeEnum["TRANSFER_NOTE_ITEM_NOT_FOUND"] = "TRANSFER_NOTE_ITEM_NOT_FOUND";
34
+ /** Mismo code del feed genérico que implementa cada dueño. */
35
+ TransferNoteErrorCodeEnum["FEED_RECORD_NOT_FOUND"] = "FEED_RECORD_NOT_FOUND";
36
+ })(TransferNoteErrorCodeEnum || (exports.TransferNoteErrorCodeEnum = TransferNoteErrorCodeEnum = {}));
@@ -0,0 +1,5 @@
1
+ /** Conceptos que transfer-note-business expone en `GET /private/reconciliation-feeds/{concept}`. */
2
+ export declare enum TransferNoteFeedConceptEnum {
3
+ TRANSFER_NOTE_ITEM = "TRANSFER_NOTE_ITEM",
4
+ TRANSFER_NOTE_SETTLEMENT = "TRANSFER_NOTE_SETTLEMENT"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteFeedConceptEnum = void 0;
4
+ /** Conceptos que transfer-note-business expone en `GET /private/reconciliation-feeds/{concept}`. */
5
+ var TransferNoteFeedConceptEnum;
6
+ (function (TransferNoteFeedConceptEnum) {
7
+ TransferNoteFeedConceptEnum["TRANSFER_NOTE_ITEM"] = "TRANSFER_NOTE_ITEM";
8
+ TransferNoteFeedConceptEnum["TRANSFER_NOTE_SETTLEMENT"] = "TRANSFER_NOTE_SETTLEMENT";
9
+ })(TransferNoteFeedConceptEnum || (exports.TransferNoteFeedConceptEnum = TransferNoteFeedConceptEnum = {}));
@@ -0,0 +1,13 @@
1
+ /** Acción registrada en el historial de una nota. */
2
+ export declare enum TransferNoteHistoryActionEnum {
3
+ ISSUE = "ISSUE",
4
+ CAPTURE_SPEI = "CAPTURE_SPEI",
5
+ REVERT_SPEI = "REVERT_SPEI",
6
+ CONFIRM_RECEPTION = "CONFIRM_RECEPTION",
7
+ CONFIRM_SETTLEMENT = "CONFIRM_SETTLEMENT",
8
+ RECONCILE = "RECONCILE",
9
+ CANCEL = "CANCEL",
10
+ DISPUTE = "DISPUTE",
11
+ RESOLVE_DISPUTE = "RESOLVE_DISPUTE",
12
+ SEND_NOTICE = "SEND_NOTICE"
13
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteHistoryActionEnum = void 0;
4
+ /** Acción registrada en el historial de una nota. */
5
+ var TransferNoteHistoryActionEnum;
6
+ (function (TransferNoteHistoryActionEnum) {
7
+ TransferNoteHistoryActionEnum["ISSUE"] = "ISSUE";
8
+ TransferNoteHistoryActionEnum["CAPTURE_SPEI"] = "CAPTURE_SPEI";
9
+ TransferNoteHistoryActionEnum["REVERT_SPEI"] = "REVERT_SPEI";
10
+ TransferNoteHistoryActionEnum["CONFIRM_RECEPTION"] = "CONFIRM_RECEPTION";
11
+ TransferNoteHistoryActionEnum["CONFIRM_SETTLEMENT"] = "CONFIRM_SETTLEMENT";
12
+ TransferNoteHistoryActionEnum["RECONCILE"] = "RECONCILE";
13
+ TransferNoteHistoryActionEnum["CANCEL"] = "CANCEL";
14
+ TransferNoteHistoryActionEnum["DISPUTE"] = "DISPUTE";
15
+ TransferNoteHistoryActionEnum["RESOLVE_DISPUTE"] = "RESOLVE_DISPUTE";
16
+ TransferNoteHistoryActionEnum["SEND_NOTICE"] = "SEND_NOTICE";
17
+ })(TransferNoteHistoryActionEnum || (exports.TransferNoteHistoryActionEnum = TransferNoteHistoryActionEnum = {}));
@@ -0,0 +1,6 @@
1
+ /** Cómo nació la nota: corte semanal, emisión manual o regenerada tras aceptar una objeción. */
2
+ export declare enum TransferNoteIssueOriginEnum {
3
+ CUTOFF = "CUTOFF",
4
+ MANUAL = "MANUAL",
5
+ REGENERATED = "REGENERATED"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransferNoteIssueOriginEnum = void 0;
4
+ /** Cómo nació la nota: corte semanal, emisión manual o regenerada tras aceptar una objeción. */
5
+ var TransferNoteIssueOriginEnum;
6
+ (function (TransferNoteIssueOriginEnum) {
7
+ TransferNoteIssueOriginEnum["CUTOFF"] = "CUTOFF";
8
+ TransferNoteIssueOriginEnum["MANUAL"] = "MANUAL";
9
+ TransferNoteIssueOriginEnum["REGENERATED"] = "REGENERATED";
10
+ })(TransferNoteIssueOriginEnum || (exports.TransferNoteIssueOriginEnum = TransferNoteIssueOriginEnum = {}));