rapida-partner 8.13.0 → 8.15.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/package.json +1 -1
- package/src/interfaces/project-backend.interface.ts +4 -0
- package/src/interfaces/store-loyalty.interface.ts +34 -0
- package/src/interfaces/store-order.interface.ts +24 -0
- package/src/interfaces/store-settings.interface.ts +11 -1
- package/src/schemas/backend.ref.json +2 -0
- package/src/schemas/project-store.ref.json +1 -1
- package/src/schemas/store-settings.ref.json +12 -0
- package/src/utils/store-loyalty.ts +2 -0
- package/src/utils/store-payment.test.ts +72 -0
- package/src/utils/store-payment.ts +49 -0
- package/src/utils/store-references.test.ts +11 -0
- package/src/utils/store-references.ts +1 -0
package/package.json
CHANGED
|
@@ -121,6 +121,10 @@ interface IMarketplace {
|
|
|
121
121
|
// Coleções da home (módulo de rapida-projects getStoreCollectionsModule,
|
|
122
122
|
// funcionalidade "collections"): o cadastro IStoreCollection.
|
|
123
123
|
collectionsEndpoint?: string;
|
|
124
|
+
// Fidelidade (módulo de rapida-projects getStoreLoyaltyModule, funcionalidade
|
|
125
|
+
// "loyalty"): níveis (IStoreLoyaltyTier) e vantagens (IStoreLoyaltyBenefit).
|
|
126
|
+
loyaltyTiersEndpoint?: string;
|
|
127
|
+
loyaltyBenefitsEndpoint?: string;
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
export interface IMarketplaceProductFieldMap {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { TStoreWeekday } from "./store-settings.interface";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Nível de fidelidade da loja (funcionalidade "loyalty"), o mesmo cadastro do
|
|
5
|
+
* loyaltyTier do rapida-projects: na loja, minVisits conta os pedidos pagos do
|
|
6
|
+
* cliente nos últimos periodDays dias. O nível do cliente é o de maior
|
|
7
|
+
* minVisits que ele atinge; não é gravado, é calculado a cada consulta.
|
|
8
|
+
* Lido pela loja por IMarketplace.loyaltyTiersEndpoint.
|
|
9
|
+
*/
|
|
10
|
+
export interface IStoreLoyaltyTier {
|
|
11
|
+
name: string;
|
|
12
|
+
minVisits: number;
|
|
13
|
+
periodDays: number;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Vantagem de um nível (o mesmo cadastro do loyaltyBenefit): na loja, vira um
|
|
19
|
+
* desconto automático em % no fechamento, calculado no servidor. Fidelidade e
|
|
20
|
+
* cupom não somam: vale o maior. Sem loyaltyTierIds, vale para qualquer nível
|
|
21
|
+
* atingido. Lida pela loja por IMarketplace.loyaltyBenefitsEndpoint.
|
|
22
|
+
*/
|
|
23
|
+
export interface IStoreLoyaltyBenefit {
|
|
24
|
+
name: string;
|
|
25
|
+
discountPercentage?: number;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
loyaltyTierIds?: string[];
|
|
28
|
+
// Sem dias, vale todos os dias (no fuso STORE_LOYALTY_TIME_ZONE).
|
|
29
|
+
weekDays?: TStoreWeekday[];
|
|
30
|
+
// A loja não conhece o aniversário do cliente: vantagem só no mês de aniversário não vale na loja.
|
|
31
|
+
isBirthdayMonthOnly?: boolean;
|
|
32
|
+
validFrom?: string;
|
|
33
|
+
validUntil?: string;
|
|
34
|
+
}
|
|
@@ -13,6 +13,22 @@ export type TStoreDeliveryMethod = "delivery" | "pickup";
|
|
|
13
13
|
/** Como o cliente paga: online (Mercado Pago) ou na entrega/retirada. */
|
|
14
14
|
export type TStorePaymentMethod = "online" | "onDelivery";
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Forma de pagamento detalhada escolhida no pedido (balcão, mesa ou checkout).
|
|
18
|
+
* Só aparecem as formas que o cliente ligou em IStoreSettings.paymentChoices.
|
|
19
|
+
* - "debitCard" e "creditCard": na maquininha.
|
|
20
|
+
* - "pixTerminal": Pix na maquininha (com taxa e prazo D+0).
|
|
21
|
+
* - "pixDirect": Pix direto para a chave da loja (IStoreSettings.pixKey), sem taxa.
|
|
22
|
+
* - "cash": dinheiro, com troco em changeFor.
|
|
23
|
+
*/
|
|
24
|
+
export type TStorePaymentChoice = "debitCard" | "creditCard" | "pixTerminal" | "pixDirect" | "cash";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Destino do pedido na mesa: comer no local ou levar para casa. Obrigatório
|
|
28
|
+
* no checkout da mesa; sem ele o pedido não é confirmado.
|
|
29
|
+
*/
|
|
30
|
+
export type TStoreConsumptionMode = "dineIn" | "takeaway";
|
|
31
|
+
|
|
16
32
|
/**
|
|
17
33
|
* Meio do pagamento online, informado pelo Mercado Pago (Fase 8.1), para o
|
|
18
34
|
* vendedor ver "Pago no Pix" ou "Pago no cartão". Veja storeOnlinePaymentTypeOf.
|
|
@@ -101,6 +117,10 @@ export interface IStoreOrder {
|
|
|
101
117
|
// Telefone do cliente, só dígitos com DDD (Fase 8.1), para o WhatsApp do pedido.
|
|
102
118
|
customerPhone?: string;
|
|
103
119
|
items: IStoreOrderItem[];
|
|
120
|
+
// Fidelidade (funcionalidade "loyalty", Fase 7.3): nível do cliente no
|
|
121
|
+
// fechamento e o desconto que ele deu (já somado em discount).
|
|
122
|
+
loyaltyTierName?: string;
|
|
123
|
+
loyaltyDiscount?: number;
|
|
104
124
|
// Endereço de entrega, em campos próprios (os forms não aninham objetos).
|
|
105
125
|
addressZipCode?: string;
|
|
106
126
|
addressStreet?: string;
|
|
@@ -125,6 +145,10 @@ export interface IStoreOrder {
|
|
|
125
145
|
// pagamento: changeFor é o valor para o troco, e o vendedor marca
|
|
126
146
|
// paymentReceived quando receber.
|
|
127
147
|
paymentMethod?: TStorePaymentMethod;
|
|
148
|
+
// Forma detalhada escolhida (Pagamentos por pedido, fase 1); vazio em pedidos anteriores.
|
|
149
|
+
paymentChoice?: TStorePaymentChoice;
|
|
150
|
+
// Destino na mesa (fase 1): vazio fora da mesa.
|
|
151
|
+
consumptionMode?: TStoreConsumptionMode;
|
|
128
152
|
changeFor?: number;
|
|
129
153
|
paymentReceived?: boolean;
|
|
130
154
|
// Meio do pagamento online (Fase 8.1); vazio no pagamento na entrega.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { TStorePaymentChoice } from "./store-order.interface";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Funcionalidades opcionais da loja (`skeleton` "ecommerce" ou "marketplace").
|
|
3
5
|
* Cada uma tem duas camadas: `IProjectStore.features` decide se o código dela é
|
|
@@ -28,7 +30,8 @@ export type TStoreFeature =
|
|
|
28
30
|
| "productBadges"
|
|
29
31
|
| "couponShowcase"
|
|
30
32
|
| "collections"
|
|
31
|
-
| "crossSell"
|
|
33
|
+
| "crossSell"
|
|
34
|
+
| "loyalty";
|
|
32
35
|
|
|
33
36
|
export type TStoreFeatureToggle = `${TStoreFeature}Enabled`;
|
|
34
37
|
|
|
@@ -154,6 +157,13 @@ export interface IStoreSettings extends Partial<Record<TStoreFeatureToggle, bool
|
|
|
154
157
|
// a loja deixa de oferecer o pagamento online. Só vale com payOnDeliveryEnabled ligado,
|
|
155
158
|
// para a loja nunca ficar sem forma de pagamento.
|
|
156
159
|
payOnDeliveryOnly?: boolean;
|
|
160
|
+
// Formas de pagamento detalhadas que o cliente liga para o balcão, a mesa e o checkout
|
|
161
|
+
// (Pagamentos por pedido, fase 1). Sem a lista, nenhuma forma detalhada aparece.
|
|
162
|
+
paymentChoices?: TStorePaymentChoice[];
|
|
163
|
+
// Formas da entrega que a loja liga (maquininha e dinheiro). Obrigatória quando o pagamento na entrega está ligado.
|
|
164
|
+
deliveryPaymentChoices?: TStorePaymentChoice[];
|
|
165
|
+
// Chave Pix da loja, usada pela forma "pixDirect" (sem taxa, com confirmação manual pelo vendedor).
|
|
166
|
+
pixKey?: string;
|
|
157
167
|
// Funcionalidade "stockReservation": por quantos minutos o pedido aguardando
|
|
158
168
|
// pagamento segura o estoque (de 5 a 60). Vencido o prazo, o pedido é
|
|
159
169
|
// cancelado, o link de pagamento expira e a quantidade volta. Sem o campo,
|
|
@@ -162,6 +162,8 @@
|
|
|
162
162
|
"optionsEndpoint": { "type": "string" },
|
|
163
163
|
"badgesEndpoint": { "type": "string" },
|
|
164
164
|
"collectionsEndpoint": { "type": "string" },
|
|
165
|
+
"loyaltyTiersEndpoint": { "type": "string" },
|
|
166
|
+
"loyaltyBenefitsEndpoint": { "type": "string" },
|
|
165
167
|
"productFieldMap": {
|
|
166
168
|
"type": "object",
|
|
167
169
|
"properties": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "array",
|
|
12
12
|
"items": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"enum": ["whatsappButton", "stockAvailability", "cashDiscount", "installments", "favorites", "blog", "shipping", "coupons", "reviews", "returns", "openingHours", "pickup", "districtDelivery", "payOnDelivery", "itemNotes", "productOptions", "productVariants", "stockReservation", "attendees", "tickets", "productBadges", "couponShowcase", "collections", "crossSell"]
|
|
14
|
+
"enum": ["whatsappButton", "stockAvailability", "cashDiscount", "installments", "favorites", "blog", "shipping", "coupons", "reviews", "returns", "openingHours", "pickup", "districtDelivery", "payOnDelivery", "itemNotes", "productOptions", "productVariants", "stockReservation", "attendees", "tickets", "productBadges", "couponShowcase", "collections", "crossSell", "loyalty"]
|
|
15
15
|
},
|
|
16
16
|
"uniqueItems": true
|
|
17
17
|
},
|
|
@@ -80,6 +80,17 @@
|
|
|
80
80
|
},
|
|
81
81
|
"minimumOrderValue": { "type": "number", "minimum": 0 },
|
|
82
82
|
"payOnDeliveryOnly": { "type": "boolean" },
|
|
83
|
+
"paymentChoices": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"uniqueItems": true,
|
|
86
|
+
"items": { "enum": ["debitCard", "creditCard", "pixTerminal", "pixDirect", "cash"] }
|
|
87
|
+
},
|
|
88
|
+
"deliveryPaymentChoices": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"uniqueItems": true,
|
|
91
|
+
"items": { "enum": ["debitCard", "creditCard", "pixTerminal", "cash"] }
|
|
92
|
+
},
|
|
93
|
+
"pixKey": { "type": "string" },
|
|
83
94
|
"reservationMinutes": { "type": "integer", "minimum": 5, "maximum": 60 },
|
|
84
95
|
"ordersPaused": { "type": "boolean" },
|
|
85
96
|
"aboutText": { "type": "string" },
|
|
@@ -139,6 +150,7 @@
|
|
|
139
150
|
"couponShowcaseEnabled": { "type": "boolean" },
|
|
140
151
|
"collectionsEnabled": { "type": "boolean" },
|
|
141
152
|
"crossSellEnabled": { "type": "boolean" },
|
|
153
|
+
"loyaltyEnabled": { "type": "boolean" },
|
|
142
154
|
"returnsEnabled": { "type": "boolean" }
|
|
143
155
|
},
|
|
144
156
|
"additionalProperties": false
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { describe, expect, test } from "bun:test";
|
|
2
|
+
import settingsSchema from "../schemas/store-settings.ref.json";
|
|
3
|
+
import {
|
|
4
|
+
isStorePaymentChoiceAllowed,
|
|
5
|
+
STORE_DELIVERY_PAYMENT_CHOICES,
|
|
6
|
+
STORE_PAYMENT_CHOICES,
|
|
7
|
+
storeDeliveryPaymentChoicesOf,
|
|
8
|
+
storePaymentChoicesOf,
|
|
9
|
+
} from "./store-payment";
|
|
10
|
+
|
|
11
|
+
describe("storePaymentChoicesOf", () => {
|
|
12
|
+
test("mostra só as formas ligadas, na ordem do balcão", () => {
|
|
13
|
+
expect(storePaymentChoicesOf({ paymentChoices: ["creditCard", "cash"], pixKey: "chave" })).toEqual(["cash", "creditCard"]);
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
test("sem lista, nenhuma forma detalhada aparece", () => {
|
|
17
|
+
expect(storePaymentChoicesOf({})).toEqual([]);
|
|
18
|
+
expect(storePaymentChoicesOf({ paymentChoices: [] })).toEqual([]);
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
test("Pix direto some sem chave da loja, mesmo ligado", () => {
|
|
22
|
+
expect(storePaymentChoicesOf({ paymentChoices: ["pixDirect", "debitCard"] })).toEqual(["debitCard"]);
|
|
23
|
+
expect(storePaymentChoicesOf({ paymentChoices: ["pixDirect"], pixKey: " " })).toEqual([]);
|
|
24
|
+
expect(storePaymentChoicesOf({ paymentChoices: ["pixDirect"], pixKey: "11999999999" })).toEqual(["pixDirect"]);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
test("repetição na lista não duplica a forma", () => {
|
|
28
|
+
expect(storePaymentChoicesOf({ paymentChoices: ["cash", "cash"] })).toEqual(["cash"]);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
describe("storeDeliveryPaymentChoicesOf", () => {
|
|
33
|
+
test("só as formas da entrega, na ordem do checkout; Pix direto nunca entra", () => {
|
|
34
|
+
expect(storeDeliveryPaymentChoicesOf({ deliveryPaymentChoices: ["cash", "debitCard"] })).toEqual(["debitCard", "cash"]);
|
|
35
|
+
expect(storeDeliveryPaymentChoicesOf({ deliveryPaymentChoices: ["pixDirect" as never] })).toEqual([]);
|
|
36
|
+
expect(storeDeliveryPaymentChoicesOf({})).toEqual([]);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
describe("isStorePaymentChoiceAllowed", () => {
|
|
41
|
+
test("no balcão e na mesa, aceita só forma ligada e com destino", () => {
|
|
42
|
+
const settings = { paymentChoices: ["pixTerminal" as const, "pixDirect" as const] };
|
|
43
|
+
expect(isStorePaymentChoiceAllowed("pixTerminal", settings, "counter")).toBe(true);
|
|
44
|
+
expect(isStorePaymentChoiceAllowed("pixDirect", settings, "counter")).toBe(false);
|
|
45
|
+
expect(isStorePaymentChoiceAllowed("cash", settings, "counter")).toBe(false);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
test("na entrega, vale deliveryPaymentChoices, não paymentChoices", () => {
|
|
49
|
+
const settings = { paymentChoices: ["debitCard" as const], deliveryPaymentChoices: ["cash" as const] };
|
|
50
|
+
expect(isStorePaymentChoiceAllowed("cash", settings, "delivery")).toBe(true);
|
|
51
|
+
expect(isStorePaymentChoiceAllowed("cash", settings, "counter")).toBe(false);
|
|
52
|
+
expect(isStorePaymentChoiceAllowed("debitCard", settings, "delivery")).toBe(false);
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
test("na entrega, Pix direto nunca vale, mesmo com chave da loja", () => {
|
|
56
|
+
const settings = { deliveryPaymentChoices: ["pixDirect" as never], pixKey: "11999999999" };
|
|
57
|
+
expect(isStorePaymentChoiceAllowed("pixDirect", settings, "delivery")).toBe(false);
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
describe("store-settings.ref.json", () => {
|
|
62
|
+
const enumOf = (property: "paymentChoices" | "deliveryPaymentChoices"): string[] =>
|
|
63
|
+
[...settingsSchema.properties[property].items.enum].sort();
|
|
64
|
+
|
|
65
|
+
test("o enum de paymentChoices tem as mesmas formas de STORE_PAYMENT_CHOICES", () => {
|
|
66
|
+
expect(enumOf("paymentChoices")).toEqual([...STORE_PAYMENT_CHOICES].sort());
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
test("o enum de deliveryPaymentChoices tem as mesmas formas de STORE_DELIVERY_PAYMENT_CHOICES", () => {
|
|
70
|
+
expect(enumOf("deliveryPaymentChoices")).toEqual([...STORE_DELIVERY_PAYMENT_CHOICES].sort());
|
|
71
|
+
});
|
|
72
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { TStoreConsumptionMode, TStorePaymentChoice } from "../interfaces/store-order.interface";
|
|
2
|
+
import type { IStoreSettings } from "../interfaces/store-settings.interface";
|
|
3
|
+
|
|
4
|
+
/** Formas detalhadas de pagamento, na ordem em que aparecem no balcão e no checkout. */
|
|
5
|
+
export const STORE_PAYMENT_CHOICES: TStorePaymentChoice[] = ["cash", "debitCard", "creditCard", "pixTerminal", "pixDirect"];
|
|
6
|
+
|
|
7
|
+
/** Formas que existem na entrega (maquininha e dinheiro), na ordem do checkout. Pix direto não entra. */
|
|
8
|
+
export const STORE_DELIVERY_PAYMENT_CHOICES: TStorePaymentChoice[] = ["debitCard", "creditCard", "pixTerminal", "cash"];
|
|
9
|
+
|
|
10
|
+
/** Destinos do pedido na mesa, na ordem do checkout. */
|
|
11
|
+
export const STORE_CONSUMPTION_MODES: TStoreConsumptionMode[] = ["dineIn", "takeaway"];
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Formas que a loja aceita de fato: só as ligadas em paymentChoices, sem repetição
|
|
15
|
+
* e na ordem de STORE_PAYMENT_CHOICES. "pixDirect" só entra com pixKey preenchida,
|
|
16
|
+
* para a loja nunca mostrar um Pix sem destino.
|
|
17
|
+
*/
|
|
18
|
+
export const storePaymentChoicesOf = (settings: Pick<IStoreSettings, "paymentChoices" | "pixKey">): TStorePaymentChoice[] => {
|
|
19
|
+
const enabled = new Set(settings.paymentChoices ?? []);
|
|
20
|
+
const hasPixKey = (settings.pixKey ?? "").trim().length > 0;
|
|
21
|
+
return STORE_PAYMENT_CHOICES.filter((choice) => enabled.has(choice) && (choice !== "pixDirect" || hasPixKey));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Formas da entrega que a loja liga (deliveryPaymentChoices), sem repetição e na ordem do checkout.
|
|
26
|
+
* Pix direto nunca entra: a entrega só aceita maquininha e dinheiro.
|
|
27
|
+
*/
|
|
28
|
+
export const storeDeliveryPaymentChoicesOf = (settings: Pick<IStoreSettings, "deliveryPaymentChoices">): TStorePaymentChoice[] => {
|
|
29
|
+
const enabled = new Set(settings.deliveryPaymentChoices ?? []);
|
|
30
|
+
return STORE_DELIVERY_PAYMENT_CHOICES.filter((choice) => enabled.has(choice));
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Onde o pedido é pago: "counter" no balcão e na mesa (paymentChoices) e
|
|
35
|
+
* "delivery" na entrega (deliveryPaymentChoices).
|
|
36
|
+
*/
|
|
37
|
+
export type TStorePaymentContext = "counter" | "delivery";
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Vale gravar a forma no pedido: ela precisa estar entre as formas que a loja aceita
|
|
41
|
+
* onde o pedido é pago. No balcão e na mesa valem as de paymentChoices; na entrega,
|
|
42
|
+
* as de deliveryPaymentChoices.
|
|
43
|
+
*/
|
|
44
|
+
export const isStorePaymentChoiceAllowed = (
|
|
45
|
+
choice: TStorePaymentChoice,
|
|
46
|
+
settings: Pick<IStoreSettings, "paymentChoices" | "deliveryPaymentChoices" | "pixKey">,
|
|
47
|
+
context: TStorePaymentContext,
|
|
48
|
+
): boolean =>
|
|
49
|
+
(context === "delivery" ? storeDeliveryPaymentChoicesOf(settings) : storePaymentChoicesOf(settings)).includes(choice);
|
|
@@ -90,3 +90,14 @@ describe("oferta ao adicionar", () => {
|
|
|
90
90
|
]);
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
|
+
|
|
94
|
+
describe("fidelidade", () => {
|
|
95
|
+
test("loyalty sem os dois endereços avisa", () => {
|
|
96
|
+
const store = (marketplace: Record<string, string>): IProject =>
|
|
97
|
+
({ id: "p", title: "p", skeleton: "ecommerce", store: { features: ["loyalty"] }, backend: [{ marketplace }] }) as unknown as IProject;
|
|
98
|
+
expect(checkStoreReferences(store({ loyaltyTiersEndpoint: "/loyalty-tiers", loyaltyBenefitsEndpoint: "/loyalty-benefits" }))).toEqual([]);
|
|
99
|
+
expect(checkStoreReferences(store({ loyaltyTiersEndpoint: "/loyalty-tiers" }))).toEqual([
|
|
100
|
+
"store.features \"loyalty\" precisa de backend.marketplace.loyaltyTiersEndpoint e backend.marketplace.loyaltyBenefitsEndpoint; sem eles a funcionalidade não é gerada",
|
|
101
|
+
]);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
@@ -16,6 +16,7 @@ const FEATURE_ENDPOINTS: Partial<Record<TStoreFeature, TMarketplaceEndpoint[]>>
|
|
|
16
16
|
couponShowcase: ["couponsEndpoint"],
|
|
17
17
|
collections: ["collectionsEndpoint"],
|
|
18
18
|
crossSell: ["productSellingSettingsEndpoint"],
|
|
19
|
+
loyalty: ["loyaltyTiersEndpoint", "loyaltyBenefitsEndpoint"],
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
/** Funcionalidades que só existem junto com outra. */
|