@fiado/type-kit 3.325.0 → 3.327.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.
- package/bin/benefitCenter/enums/BenefitFlowEnum.d.ts +11 -0
- package/bin/benefitCenter/enums/BenefitFlowEnum.js +15 -0
- package/bin/identity/enums/SelfieSourceEnum.d.ts +10 -0
- package/bin/identity/enums/SelfieSourceEnum.js +14 -0
- package/bin/loanCredit/dtos/requests/UpdateActivationChecklistRequest.d.ts +11 -0
- package/bin/loanCredit/dtos/requests/UpdateActivationChecklistRequest.js +46 -0
- package/bin/loanCredit/enums/ClientLevelEnum.d.ts +11 -0
- package/bin/loanCredit/enums/ClientLevelEnum.js +15 -0
- package/bin/onboarding/enums/OnboardingStepIdEnum.d.ts +13 -0
- package/bin/onboarding/enums/OnboardingStepIdEnum.js +13 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.d.ts +6 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceRequest.js +31 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.d.ts +7 -0
- package/bin/walletFunding/dtos/CancelFundingReferenceResponse.js +6 -0
- package/bin/walletFunding/dtos/CancelFundingRequest.d.ts +11 -0
- package/bin/walletFunding/dtos/CancelFundingRequest.js +33 -0
- package/bin/walletFunding/dtos/CancelFundingResponse.d.ts +14 -0
- package/bin/walletFunding/dtos/CancelFundingResponse.js +12 -0
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.d.ts +3 -0
- package/bin/walletFunding/dtos/CancelWalletFundingRequest.js +21 -0
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.d.ts +7 -0
- package/bin/walletFunding/dtos/CancelWalletFundingResponse.js +6 -0
- package/bin/walletFunding/dtos/FundingStoreItem.d.ts +46 -0
- package/bin/walletFunding/dtos/FundingStoreItem.js +25 -0
- package/bin/walletFunding/dtos/ListFundingStoresRequest.d.ts +17 -0
- package/bin/walletFunding/dtos/ListFundingStoresRequest.js +48 -0
- package/bin/walletFunding/dtos/ListFundingStoresResponse.d.ts +5 -0
- package/bin/walletFunding/dtos/ListFundingStoresResponse.js +6 -0
- package/bin/walletFunding/dtos/index.d.ts +3 -0
- package/bin/walletFunding/dtos/index.js +3 -0
- package/bin/walletFunding/enums/FundingStoreProductEnum.d.ts +13 -0
- package/bin/walletFunding/enums/FundingStoreProductEnum.js +17 -0
- package/bin/walletFunding/enums/index.d.ts +1 -0
- package/bin/walletFunding/enums/index.js +1 -0
- package/package.json +1 -1
- package/src/onboarding/enums/OnboardingStepIdEnum.ts +13 -0
- package/src/walletFunding/dtos/FundingStoreItem.ts +48 -0
- package/src/walletFunding/dtos/ListFundingStoresRequest.ts +19 -0
- package/src/walletFunding/dtos/ListFundingStoresResponse.ts +6 -0
- package/src/walletFunding/dtos/index.ts +3 -0
- package/src/walletFunding/enums/FundingStoreProductEnum.ts +13 -0
- package/src/walletFunding/enums/index.ts +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum BenefitFlowEnum {
|
|
2
|
+
TOPUPS = "TOPUPS",
|
|
3
|
+
BILL_PAYMENT = "BILL_PAYMENT",
|
|
4
|
+
CREDIT = "CREDIT",
|
|
5
|
+
INSURANCE = "INSURANCE",
|
|
6
|
+
DONATION = "DONATION",
|
|
7
|
+
PHARMACY = "PHARMACY",
|
|
8
|
+
REMITTANCE = "REMITTANCE",
|
|
9
|
+
/** Fondeo de wallet PCF con efectivo via provider externo (Equality/Passport, OpenPay, …) — spec 13. */
|
|
10
|
+
WALLET_FUNDING = "WALLET_FUNDING"
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BenefitFlowEnum = void 0;
|
|
4
|
+
var BenefitFlowEnum;
|
|
5
|
+
(function (BenefitFlowEnum) {
|
|
6
|
+
BenefitFlowEnum["TOPUPS"] = "TOPUPS";
|
|
7
|
+
BenefitFlowEnum["BILL_PAYMENT"] = "BILL_PAYMENT";
|
|
8
|
+
BenefitFlowEnum["CREDIT"] = "CREDIT";
|
|
9
|
+
BenefitFlowEnum["INSURANCE"] = "INSURANCE";
|
|
10
|
+
BenefitFlowEnum["DONATION"] = "DONATION";
|
|
11
|
+
BenefitFlowEnum["PHARMACY"] = "PHARMACY";
|
|
12
|
+
BenefitFlowEnum["REMITTANCE"] = "REMITTANCE";
|
|
13
|
+
/** Fondeo de wallet PCF con efectivo via provider externo (Equality/Passport, OpenPay, …) — spec 13. */
|
|
14
|
+
BenefitFlowEnum["WALLET_FUNDING"] = "WALLET_FUNDING";
|
|
15
|
+
})(BenefitFlowEnum || (exports.BenefitFlowEnum = BenefitFlowEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Con qué criterio se resolvió cuál archivo de S3 es la selfie del usuario.
|
|
3
|
+
* Le dice al consumidor qué tan confiable es el match antes de mandarla a un facematch.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum SelfieSourceEnum {
|
|
6
|
+
/** Matcheó el verificationId de la verificación vigente en People. */
|
|
7
|
+
VERIFICATION = "VERIFICATION",
|
|
8
|
+
/** No hubo match por verificación: se tomó el archivo de selfie más reciente del bucket. */
|
|
9
|
+
LATEST = "LATEST"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelfieSourceEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Con qué criterio se resolvió cuál archivo de S3 es la selfie del usuario.
|
|
6
|
+
* Le dice al consumidor qué tan confiable es el match antes de mandarla a un facematch.
|
|
7
|
+
*/
|
|
8
|
+
var SelfieSourceEnum;
|
|
9
|
+
(function (SelfieSourceEnum) {
|
|
10
|
+
/** Matcheó el verificationId de la verificación vigente en People. */
|
|
11
|
+
SelfieSourceEnum["VERIFICATION"] = "VERIFICATION";
|
|
12
|
+
/** No hubo match por verificación: se tomó el archivo de selfie más reciente del bucket. */
|
|
13
|
+
SelfieSourceEnum["LATEST"] = "LATEST";
|
|
14
|
+
})(SelfieSourceEnum || (exports.SelfieSourceEnum = SelfieSourceEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Body de PUT /credits/:creditId/checklist (loan-credit-business). Marca condiciones de activación
|
|
3
|
+
* cumplidas. Solo se mandan las que cambian; en F3 las marcarán los flujos de firma de contrato
|
|
4
|
+
* (`downPayment` + `contractSigned`) y de enrolamiento MDM (`imeiEnrolled` + `lockVerified`).
|
|
5
|
+
*/
|
|
6
|
+
export declare class UpdateActivationChecklistRequest {
|
|
7
|
+
downPayment?: boolean;
|
|
8
|
+
contractSigned?: boolean;
|
|
9
|
+
imeiEnrolled?: boolean;
|
|
10
|
+
lockVerified?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.UpdateActivationChecklistRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
/**
|
|
16
|
+
* Body de PUT /credits/:creditId/checklist (loan-credit-business). Marca condiciones de activación
|
|
17
|
+
* cumplidas. Solo se mandan las que cambian; en F3 las marcarán los flujos de firma de contrato
|
|
18
|
+
* (`downPayment` + `contractSigned`) y de enrolamiento MDM (`imeiEnrolled` + `lockVerified`).
|
|
19
|
+
*/
|
|
20
|
+
class UpdateActivationChecklistRequest {
|
|
21
|
+
}
|
|
22
|
+
exports.UpdateActivationChecklistRequest = UpdateActivationChecklistRequest;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsBoolean)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], UpdateActivationChecklistRequest.prototype, "downPayment", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], UpdateActivationChecklistRequest.prototype, "contractSigned", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsBoolean)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], UpdateActivationChecklistRequest.prototype, "imeiEnrolled", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], UpdateActivationChecklistRequest.prototype, "lockVerified", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nivel del cliente según su SCI (M7/05_MOTOR §3.2): 21-60 Bronce · 61-80 Plata · 81-100 Oro.
|
|
3
|
+
* Distinto de `CreditPlanLevelEnum` de loanOfferings (que además tiene `ALL` para planes):
|
|
4
|
+
* un CLIENTE nunca es `ALL`.
|
|
5
|
+
* @enum {string}
|
|
6
|
+
*/
|
|
7
|
+
export declare enum ClientLevelEnum {
|
|
8
|
+
BRONZE = "BRONZE",
|
|
9
|
+
SILVER = "SILVER",
|
|
10
|
+
GOLD = "GOLD"
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientLevelEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Nivel del cliente según su SCI (M7/05_MOTOR §3.2): 21-60 Bronce · 61-80 Plata · 81-100 Oro.
|
|
6
|
+
* Distinto de `CreditPlanLevelEnum` de loanOfferings (que además tiene `ALL` para planes):
|
|
7
|
+
* un CLIENTE nunca es `ALL`.
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
var ClientLevelEnum;
|
|
11
|
+
(function (ClientLevelEnum) {
|
|
12
|
+
ClientLevelEnum["BRONZE"] = "BRONZE";
|
|
13
|
+
ClientLevelEnum["SILVER"] = "SILVER";
|
|
14
|
+
ClientLevelEnum["GOLD"] = "GOLD";
|
|
15
|
+
})(ClientLevelEnum || (exports.ClientLevelEnum = ClientLevelEnum = {}));
|
|
@@ -10,9 +10,22 @@
|
|
|
10
10
|
* `PROOF_OF_ADDRESS` va sin prefijo por decisión de nombrado (la regla sigue siendo la del comprobante
|
|
11
11
|
* de domicilio mexicano). `DATA_CONFIRMATION` es el paso de "revisá y confirmá tus datos"; se llama así
|
|
12
12
|
* y no `INFO_SELF_VERIFY` para no confundirlo con la verificación de Metamap de `KYC_IDENTIFICATION`.
|
|
13
|
+
*
|
|
14
|
+
* Los DOS pasos de identificación son un solo trámite partido en dos, no dos trámites:
|
|
15
|
+
* `KYC_IDENTIFICATION` pide el primer documento —el que sea— y `KYC_IDENTIFICATION_MEX` aparece
|
|
16
|
+
* SOLO si ese primero no fue mexicano, porque entonces el lado rosa sigue sin documento propio.
|
|
13
17
|
*/
|
|
14
18
|
export declare enum OnboardingStepIdEnum {
|
|
15
19
|
KYC_IDENTIFICATION = "KYC_IDENTIFICATION",
|
|
20
|
+
/**
|
|
21
|
+
* Identificación mexicana, cuando el primer documento no lo fue. Oculto en el camino normal:
|
|
22
|
+
* el documento mexicano cubre los dos lados, así que quien empieza por ahí nunca lo ve.
|
|
23
|
+
*
|
|
24
|
+
* Existe porque la cobertura NO es simétrica. El documento mexicano llena el nombre latino y
|
|
25
|
+
* el US; el de USA (o el de cualquier otro país) deja el nombre latino sin respaldo de un
|
|
26
|
+
* documento mexicano, y la cuenta rosa exige los tres campos latinos para abrir.
|
|
27
|
+
*/
|
|
28
|
+
KYC_IDENTIFICATION_MEX = "KYC_IDENTIFICATION_MEX",
|
|
16
29
|
SSN_ITIN = "SSN_ITIN",
|
|
17
30
|
INCOME_INFORMATION = "INCOME_INFORMATION",
|
|
18
31
|
US_ADDRESS = "US_ADDRESS",
|
|
@@ -13,10 +13,23 @@ exports.OnboardingStepIdEnum = void 0;
|
|
|
13
13
|
* `PROOF_OF_ADDRESS` va sin prefijo por decisión de nombrado (la regla sigue siendo la del comprobante
|
|
14
14
|
* de domicilio mexicano). `DATA_CONFIRMATION` es el paso de "revisá y confirmá tus datos"; se llama así
|
|
15
15
|
* y no `INFO_SELF_VERIFY` para no confundirlo con la verificación de Metamap de `KYC_IDENTIFICATION`.
|
|
16
|
+
*
|
|
17
|
+
* Los DOS pasos de identificación son un solo trámite partido en dos, no dos trámites:
|
|
18
|
+
* `KYC_IDENTIFICATION` pide el primer documento —el que sea— y `KYC_IDENTIFICATION_MEX` aparece
|
|
19
|
+
* SOLO si ese primero no fue mexicano, porque entonces el lado rosa sigue sin documento propio.
|
|
16
20
|
*/
|
|
17
21
|
var OnboardingStepIdEnum;
|
|
18
22
|
(function (OnboardingStepIdEnum) {
|
|
19
23
|
OnboardingStepIdEnum["KYC_IDENTIFICATION"] = "KYC_IDENTIFICATION";
|
|
24
|
+
/**
|
|
25
|
+
* Identificación mexicana, cuando el primer documento no lo fue. Oculto en el camino normal:
|
|
26
|
+
* el documento mexicano cubre los dos lados, así que quien empieza por ahí nunca lo ve.
|
|
27
|
+
*
|
|
28
|
+
* Existe porque la cobertura NO es simétrica. El documento mexicano llena el nombre latino y
|
|
29
|
+
* el US; el de USA (o el de cualquier otro país) deja el nombre latino sin respaldo de un
|
|
30
|
+
* documento mexicano, y la cuenta rosa exige los tres campos latinos para abrir.
|
|
31
|
+
*/
|
|
32
|
+
OnboardingStepIdEnum["KYC_IDENTIFICATION_MEX"] = "KYC_IDENTIFICATION_MEX";
|
|
20
33
|
OnboardingStepIdEnum["SSN_ITIN"] = "SSN_ITIN";
|
|
21
34
|
OnboardingStepIdEnum["INCOME_INFORMATION"] = "INCOME_INFORMATION";
|
|
22
35
|
OnboardingStepIdEnum["US_ADDRESS"] = "US_ADDRESS";
|
|
@@ -0,0 +1,31 @@
|
|
|
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.CancelFundingReferenceRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CancelFundingReferenceRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.CancelFundingReferenceRequest = CancelFundingReferenceRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.MaxLength)(64),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CancelFundingReferenceRequest.prototype, "reference", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.MaxLength)(64),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CancelFundingReferenceRequest.prototype, "directoryId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.MaxLength)(64),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CancelFundingReferenceRequest.prototype, "idempotencyKey", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
|
|
2
|
+
import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
|
|
3
|
+
export declare class CancelFundingReferenceResponse {
|
|
4
|
+
reference: string;
|
|
5
|
+
status: BenefitPaymentStatusEnum;
|
|
6
|
+
errorCode?: WalletFundingErrorCodeEnum;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request del cancel via Centro de Beneficios (spec 13 v2.0).
|
|
3
|
+
* `reference` viaja en el path, `directoryId` se resuelve del JWT.
|
|
4
|
+
* `providerModuleName` permite al marketplace rutear al publisher correcto
|
|
5
|
+
* sin tener que persistir el mapping (el wallet-app sabe el moduleName
|
|
6
|
+
* porque vino en la respuesta del authorize).
|
|
7
|
+
*/
|
|
8
|
+
export declare class CancelFundingRequest {
|
|
9
|
+
idempotencyKey: string;
|
|
10
|
+
providerModuleName: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.CancelFundingRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/**
|
|
15
|
+
* Request del cancel via Centro de Beneficios (spec 13 v2.0).
|
|
16
|
+
* `reference` viaja en el path, `directoryId` se resuelve del JWT.
|
|
17
|
+
* `providerModuleName` permite al marketplace rutear al publisher correcto
|
|
18
|
+
* sin tener que persistir el mapping (el wallet-app sabe el moduleName
|
|
19
|
+
* porque vino en la respuesta del authorize).
|
|
20
|
+
*/
|
|
21
|
+
class CancelFundingRequest {
|
|
22
|
+
}
|
|
23
|
+
exports.CancelFundingRequest = CancelFundingRequest;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.MaxLength)(64),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CancelFundingRequest.prototype, "idempotencyKey", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.MaxLength)(128),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CancelFundingRequest.prototype, "providerModuleName", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
|
|
2
|
+
import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
|
|
3
|
+
/**
|
|
4
|
+
* Response del cancel via Centro de Beneficios (spec 13 v2.0).
|
|
5
|
+
* `status` reusa `BenefitPaymentStatusEnum` (APPROVED = cancel aceptado;
|
|
6
|
+
* REJECTED = no se pudo) para consistencia con `CancelFundingReferenceResponse`
|
|
7
|
+
* (marketplace ↔ connector). Idempotente: re-cancelar devuelve APPROVED.
|
|
8
|
+
*/
|
|
9
|
+
export declare class CancelFundingResponse {
|
|
10
|
+
reference: string;
|
|
11
|
+
status: BenefitPaymentStatusEnum;
|
|
12
|
+
errorCode?: WalletFundingErrorCodeEnum;
|
|
13
|
+
message?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelFundingResponse = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Response del cancel via Centro de Beneficios (spec 13 v2.0).
|
|
6
|
+
* `status` reusa `BenefitPaymentStatusEnum` (APPROVED = cancel aceptado;
|
|
7
|
+
* REJECTED = no se pudo) para consistencia con `CancelFundingReferenceResponse`
|
|
8
|
+
* (marketplace ↔ connector). Idempotente: re-cancelar devuelve APPROVED.
|
|
9
|
+
*/
|
|
10
|
+
class CancelFundingResponse {
|
|
11
|
+
}
|
|
12
|
+
exports.CancelFundingResponse = CancelFundingResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
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.CancelWalletFundingRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CancelWalletFundingRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.CancelWalletFundingRequest = CancelWalletFundingRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.MaxLength)(64),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CancelWalletFundingRequest.prototype, "idempotencyKey", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BenefitPaymentStatusEnum } from "../../benefitCenter/enums/BenefitPaymentStatusEnum";
|
|
2
|
+
import { WalletFundingErrorCodeEnum } from "../enums/WalletFundingErrorCodeEnum";
|
|
3
|
+
export declare class CancelWalletFundingResponse {
|
|
4
|
+
status: BenefitPaymentStatusEnum;
|
|
5
|
+
errorCode?: WalletFundingErrorCodeEnum;
|
|
6
|
+
reference?: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Categoria comercial del comercio (gasolinera, farmacia, abarrotes…). */
|
|
2
|
+
export declare class FundingStoreCategory {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Comercio dueno de la tienda.
|
|
8
|
+
*
|
|
9
|
+
* `cashInFrontFee` es la comision que el CLIENTE paga en la caja, encima de su
|
|
10
|
+
* deposito — no la que cobra Fiado. La app la muestra antes de mandarlo a la
|
|
11
|
+
* tienda: enterarse en el mostrador es la peor forma de enterarse.
|
|
12
|
+
*/
|
|
13
|
+
export declare class FundingStoreMerchant {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
/** Logo del comercio para el mapa/carrusel. */
|
|
17
|
+
image?: string | null;
|
|
18
|
+
category?: FundingStoreCategory | null;
|
|
19
|
+
/** Horario en formato HH:mm del provider. */
|
|
20
|
+
openingTime?: string | null;
|
|
21
|
+
closingTime?: string | null;
|
|
22
|
+
/** Tope por operacion que acepta la caja. `null` = el provider no lo informa. */
|
|
23
|
+
maxDepositAmount?: number | null;
|
|
24
|
+
maxWithdrawalAmount?: number | null;
|
|
25
|
+
/** Comision que el cliente paga en caja al depositar. */
|
|
26
|
+
cashInFrontFee?: number | null;
|
|
27
|
+
cashOutFrontFee?: number | null;
|
|
28
|
+
/** Productos disponibles en la tienda (`cashin`, `cashout`, `qr`). */
|
|
29
|
+
products: string[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Forma estandar Fiado de una tienda de fondeo. Provider-agnostica, igual que
|
|
33
|
+
* `FundingReferenceItem`: cada connector traduce el shape nativo de su provider
|
|
34
|
+
* a este DTO y el wallet-app solo conoce este.
|
|
35
|
+
*/
|
|
36
|
+
export declare class FundingStoreItem {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
address: string;
|
|
40
|
+
phone?: string | null;
|
|
41
|
+
latitude: number;
|
|
42
|
+
longitude: number;
|
|
43
|
+
merchant?: FundingStoreMerchant | null;
|
|
44
|
+
/** Imagen de ejemplo del codigo que el cajero escanea. */
|
|
45
|
+
sampleQr?: string | null;
|
|
46
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FundingStoreItem = exports.FundingStoreMerchant = exports.FundingStoreCategory = void 0;
|
|
4
|
+
/** Categoria comercial del comercio (gasolinera, farmacia, abarrotes…). */
|
|
5
|
+
class FundingStoreCategory {
|
|
6
|
+
}
|
|
7
|
+
exports.FundingStoreCategory = FundingStoreCategory;
|
|
8
|
+
/**
|
|
9
|
+
* Comercio dueno de la tienda.
|
|
10
|
+
*
|
|
11
|
+
* `cashInFrontFee` es la comision que el CLIENTE paga en la caja, encima de su
|
|
12
|
+
* deposito — no la que cobra Fiado. La app la muestra antes de mandarlo a la
|
|
13
|
+
* tienda: enterarse en el mostrador es la peor forma de enterarse.
|
|
14
|
+
*/
|
|
15
|
+
class FundingStoreMerchant {
|
|
16
|
+
}
|
|
17
|
+
exports.FundingStoreMerchant = FundingStoreMerchant;
|
|
18
|
+
/**
|
|
19
|
+
* Forma estandar Fiado de una tienda de fondeo. Provider-agnostica, igual que
|
|
20
|
+
* `FundingReferenceItem`: cada connector traduce el shape nativo de su provider
|
|
21
|
+
* a este DTO y el wallet-app solo conoce este.
|
|
22
|
+
*/
|
|
23
|
+
class FundingStoreItem {
|
|
24
|
+
}
|
|
25
|
+
exports.FundingStoreItem = FundingStoreItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FundingStoreProductEnum } from "../enums/FundingStoreProductEnum";
|
|
2
|
+
/**
|
|
3
|
+
* Consulta del directorio de tiendas donde el cliente puede presentar su
|
|
4
|
+
* referencia de fondeo.
|
|
5
|
+
*
|
|
6
|
+
* Va aparte de la referencia a proposito: una referencia sirve en cualquier
|
|
7
|
+
* tienda afiliada, asi que el directorio cambia —altas, bajas, horarios,
|
|
8
|
+
* comisiones— sin tocar referencias vivas.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ListFundingStoresRequest {
|
|
11
|
+
latitude: number;
|
|
12
|
+
longitude: number;
|
|
13
|
+
/** Radio de busqueda en km. Omitido = el default del provider. */
|
|
14
|
+
radius?: number;
|
|
15
|
+
/** Default del connector: CASH_IN, lo unico que sirve para depositar. */
|
|
16
|
+
product?: FundingStoreProductEnum;
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ListFundingStoresRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const FundingStoreProductEnum_1 = require("../enums/FundingStoreProductEnum");
|
|
15
|
+
/**
|
|
16
|
+
* Consulta del directorio de tiendas donde el cliente puede presentar su
|
|
17
|
+
* referencia de fondeo.
|
|
18
|
+
*
|
|
19
|
+
* Va aparte de la referencia a proposito: una referencia sirve en cualquier
|
|
20
|
+
* tienda afiliada, asi que el directorio cambia —altas, bajas, horarios,
|
|
21
|
+
* comisiones— sin tocar referencias vivas.
|
|
22
|
+
*/
|
|
23
|
+
class ListFundingStoresRequest {
|
|
24
|
+
}
|
|
25
|
+
exports.ListFundingStoresRequest = ListFundingStoresRequest;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
(0, class_validator_1.Min)(-90),
|
|
29
|
+
(0, class_validator_1.Max)(90),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], ListFundingStoresRequest.prototype, "latitude", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNumber)(),
|
|
34
|
+
(0, class_validator_1.Min)(-180),
|
|
35
|
+
(0, class_validator_1.Max)(180),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], ListFundingStoresRequest.prototype, "longitude", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsNumber)(),
|
|
41
|
+
(0, class_validator_1.IsPositive)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], ListFundingStoresRequest.prototype, "radius", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsEnum)(FundingStoreProductEnum_1.FundingStoreProductEnum),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ListFundingStoresRequest.prototype, "product", void 0);
|
|
@@ -28,3 +28,6 @@ export * from "./ReserveExposureResponse";
|
|
|
28
28
|
export * from "./ReleaseExposureRequest";
|
|
29
29
|
export * from "./ReleaseExposureResponse";
|
|
30
30
|
export * from "./GetExposureStateResponse";
|
|
31
|
+
export * from "./FundingStoreItem";
|
|
32
|
+
export * from "./ListFundingStoresRequest";
|
|
33
|
+
export * from "./ListFundingStoresResponse";
|
|
@@ -44,3 +44,6 @@ __exportStar(require("./ReserveExposureResponse"), exports);
|
|
|
44
44
|
__exportStar(require("./ReleaseExposureRequest"), exports);
|
|
45
45
|
__exportStar(require("./ReleaseExposureResponse"), exports);
|
|
46
46
|
__exportStar(require("./GetExposureStateResponse"), exports);
|
|
47
|
+
__exportStar(require("./FundingStoreItem"), exports);
|
|
48
|
+
__exportStar(require("./ListFundingStoresRequest"), exports);
|
|
49
|
+
__exportStar(require("./ListFundingStoresResponse"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Producto que una tienda ofrece en caja. Filtra el directorio: una tienda que
|
|
3
|
+
* solo tiene QR o retiro NO sirve para depositar, y mostrarla en el mapa manda
|
|
4
|
+
* al cliente a un viaje en vano.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum FundingStoreProductEnum {
|
|
7
|
+
/** Deposito en efectivo (lo unico que usa wallet-funding). */
|
|
8
|
+
CASH_IN = "cashin",
|
|
9
|
+
/** Retiro en efectivo. */
|
|
10
|
+
CASH_OUT = "cashout",
|
|
11
|
+
/** Cobro por codigo QR. */
|
|
12
|
+
QR = "qr"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FundingStoreProductEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Producto que una tienda ofrece en caja. Filtra el directorio: una tienda que
|
|
6
|
+
* solo tiene QR o retiro NO sirve para depositar, y mostrarla en el mapa manda
|
|
7
|
+
* al cliente a un viaje en vano.
|
|
8
|
+
*/
|
|
9
|
+
var FundingStoreProductEnum;
|
|
10
|
+
(function (FundingStoreProductEnum) {
|
|
11
|
+
/** Deposito en efectivo (lo unico que usa wallet-funding). */
|
|
12
|
+
FundingStoreProductEnum["CASH_IN"] = "cashin";
|
|
13
|
+
/** Retiro en efectivo. */
|
|
14
|
+
FundingStoreProductEnum["CASH_OUT"] = "cashout";
|
|
15
|
+
/** Cobro por codigo QR. */
|
|
16
|
+
FundingStoreProductEnum["QR"] = "qr";
|
|
17
|
+
})(FundingStoreProductEnum || (exports.FundingStoreProductEnum = FundingStoreProductEnum = {}));
|
|
@@ -25,3 +25,4 @@ __exportStar(require("./FundingWebhookTypeEnum"), exports);
|
|
|
25
25
|
__exportStar(require("./SettlementErrorCodeEnum"), exports);
|
|
26
26
|
__exportStar(require("./ServiceStateEnum"), exports);
|
|
27
27
|
__exportStar(require("./FundingVerificationOutcomeEnum"), exports);
|
|
28
|
+
__exportStar(require("./FundingStoreProductEnum"), exports);
|
package/package.json
CHANGED
|
@@ -10,9 +10,22 @@
|
|
|
10
10
|
* `PROOF_OF_ADDRESS` va sin prefijo por decisión de nombrado (la regla sigue siendo la del comprobante
|
|
11
11
|
* de domicilio mexicano). `DATA_CONFIRMATION` es el paso de "revisá y confirmá tus datos"; se llama así
|
|
12
12
|
* y no `INFO_SELF_VERIFY` para no confundirlo con la verificación de Metamap de `KYC_IDENTIFICATION`.
|
|
13
|
+
*
|
|
14
|
+
* Los DOS pasos de identificación son un solo trámite partido en dos, no dos trámites:
|
|
15
|
+
* `KYC_IDENTIFICATION` pide el primer documento —el que sea— y `KYC_IDENTIFICATION_MEX` aparece
|
|
16
|
+
* SOLO si ese primero no fue mexicano, porque entonces el lado rosa sigue sin documento propio.
|
|
13
17
|
*/
|
|
14
18
|
export enum OnboardingStepIdEnum {
|
|
15
19
|
KYC_IDENTIFICATION = 'KYC_IDENTIFICATION',
|
|
20
|
+
/**
|
|
21
|
+
* Identificación mexicana, cuando el primer documento no lo fue. Oculto en el camino normal:
|
|
22
|
+
* el documento mexicano cubre los dos lados, así que quien empieza por ahí nunca lo ve.
|
|
23
|
+
*
|
|
24
|
+
* Existe porque la cobertura NO es simétrica. El documento mexicano llena el nombre latino y
|
|
25
|
+
* el US; el de USA (o el de cualquier otro país) deja el nombre latino sin respaldo de un
|
|
26
|
+
* documento mexicano, y la cuenta rosa exige los tres campos latinos para abrir.
|
|
27
|
+
*/
|
|
28
|
+
KYC_IDENTIFICATION_MEX = 'KYC_IDENTIFICATION_MEX',
|
|
16
29
|
SSN_ITIN = 'SSN_ITIN',
|
|
17
30
|
INCOME_INFORMATION = 'INCOME_INFORMATION',
|
|
18
31
|
US_ADDRESS = 'US_ADDRESS',
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/** Categoria comercial del comercio (gasolinera, farmacia, abarrotes…). */
|
|
2
|
+
export class FundingStoreCategory {
|
|
3
|
+
id!: number;
|
|
4
|
+
name!: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Comercio dueno de la tienda.
|
|
9
|
+
*
|
|
10
|
+
* `cashInFrontFee` es la comision que el CLIENTE paga en la caja, encima de su
|
|
11
|
+
* deposito — no la que cobra Fiado. La app la muestra antes de mandarlo a la
|
|
12
|
+
* tienda: enterarse en el mostrador es la peor forma de enterarse.
|
|
13
|
+
*/
|
|
14
|
+
export class FundingStoreMerchant {
|
|
15
|
+
id!: string;
|
|
16
|
+
name!: string;
|
|
17
|
+
/** Logo del comercio para el mapa/carrusel. */
|
|
18
|
+
image?: string | null;
|
|
19
|
+
category?: FundingStoreCategory | null;
|
|
20
|
+
/** Horario en formato HH:mm del provider. */
|
|
21
|
+
openingTime?: string | null;
|
|
22
|
+
closingTime?: string | null;
|
|
23
|
+
/** Tope por operacion que acepta la caja. `null` = el provider no lo informa. */
|
|
24
|
+
maxDepositAmount?: number | null;
|
|
25
|
+
maxWithdrawalAmount?: number | null;
|
|
26
|
+
/** Comision que el cliente paga en caja al depositar. */
|
|
27
|
+
cashInFrontFee?: number | null;
|
|
28
|
+
cashOutFrontFee?: number | null;
|
|
29
|
+
/** Productos disponibles en la tienda (`cashin`, `cashout`, `qr`). */
|
|
30
|
+
products!: string[];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Forma estandar Fiado de una tienda de fondeo. Provider-agnostica, igual que
|
|
35
|
+
* `FundingReferenceItem`: cada connector traduce el shape nativo de su provider
|
|
36
|
+
* a este DTO y el wallet-app solo conoce este.
|
|
37
|
+
*/
|
|
38
|
+
export class FundingStoreItem {
|
|
39
|
+
id!: string;
|
|
40
|
+
name!: string;
|
|
41
|
+
address!: string;
|
|
42
|
+
phone?: string | null;
|
|
43
|
+
latitude!: number;
|
|
44
|
+
longitude!: number;
|
|
45
|
+
merchant?: FundingStoreMerchant | null;
|
|
46
|
+
/** Imagen de ejemplo del codigo que el cajero escanea. */
|
|
47
|
+
sampleQr?: string | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IsNumber, IsOptional, IsEnum, Min, Max, IsPositive } from "class-validator";
|
|
2
|
+
import { FundingStoreProductEnum } from "../enums/FundingStoreProductEnum";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Consulta del directorio de tiendas donde el cliente puede presentar su
|
|
6
|
+
* referencia de fondeo.
|
|
7
|
+
*
|
|
8
|
+
* Va aparte de la referencia a proposito: una referencia sirve en cualquier
|
|
9
|
+
* tienda afiliada, asi que el directorio cambia —altas, bajas, horarios,
|
|
10
|
+
* comisiones— sin tocar referencias vivas.
|
|
11
|
+
*/
|
|
12
|
+
export class ListFundingStoresRequest {
|
|
13
|
+
@IsNumber() @Min(-90) @Max(90) latitude!: number;
|
|
14
|
+
@IsNumber() @Min(-180) @Max(180) longitude!: number;
|
|
15
|
+
/** Radio de busqueda en km. Omitido = el default del provider. */
|
|
16
|
+
@IsOptional() @IsNumber() @IsPositive() radius?: number;
|
|
17
|
+
/** Default del connector: CASH_IN, lo unico que sirve para depositar. */
|
|
18
|
+
@IsOptional() @IsEnum(FundingStoreProductEnum) product?: FundingStoreProductEnum;
|
|
19
|
+
}
|
|
@@ -28,3 +28,6 @@ export * from "./ReserveExposureResponse";
|
|
|
28
28
|
export * from "./ReleaseExposureRequest";
|
|
29
29
|
export * from "./ReleaseExposureResponse";
|
|
30
30
|
export * from "./GetExposureStateResponse";
|
|
31
|
+
export * from "./FundingStoreItem";
|
|
32
|
+
export * from "./ListFundingStoresRequest";
|
|
33
|
+
export * from "./ListFundingStoresResponse";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Producto que una tienda ofrece en caja. Filtra el directorio: una tienda que
|
|
3
|
+
* solo tiene QR o retiro NO sirve para depositar, y mostrarla en el mapa manda
|
|
4
|
+
* al cliente a un viaje en vano.
|
|
5
|
+
*/
|
|
6
|
+
export enum FundingStoreProductEnum {
|
|
7
|
+
/** Deposito en efectivo (lo unico que usa wallet-funding). */
|
|
8
|
+
CASH_IN = "cashin",
|
|
9
|
+
/** Retiro en efectivo. */
|
|
10
|
+
CASH_OUT = "cashout",
|
|
11
|
+
/** Cobro por codigo QR. */
|
|
12
|
+
QR = "qr",
|
|
13
|
+
}
|