evo360-types 1.3.809 → 1.3.814
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apps/evo-csq/zod-schemas.d.ts +62 -62
- package/dist/apps/evo-finops/zod-schemas.d.ts +275 -14
- package/dist/apps/evo-finops/zod-schemas.js +53 -3
- package/dist/apps/evo-finops/zod-schemas.ts +56 -1
- package/dist/apps/evo-modules/zod-schemas.d.ts +4 -4
- package/dist/types/evo-chat/search/index.d.ts +44 -2
- package/dist/types/evo-chat/search/index.js +3 -0
- package/dist/types/evo-chat/search/index.ts +47 -1
- package/dist/types/evo-finops/common/contract.d.ts +10 -0
- package/dist/types/evo-finops/common/contract.ts +13 -0
- package/dist/types/evo-finops/common/proposal.d.ts +13 -0
- package/dist/types/evo-finops/common/proposal.ts +16 -0
- package/dist/types/nex-vendas/index.d.ts +1 -0
- package/dist/types/nex-vendas/index.js +1 -0
- package/dist/types/nex-vendas/index.ts +1 -0
- package/dist/types/nex-vendas/offer-package.d.ts +165 -0
- package/dist/types/nex-vendas/offer-package.js +255 -0
- package/dist/types/nex-vendas/offer-package.ts +387 -0
- package/dist/types/nex-vendas/offer.d.ts +15 -1
- package/dist/types/nex-vendas/offer.ts +15 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
} from '../evo-finops/common/proposal';
|
|
7
7
|
import type { INexFinopsContractAllowance } from '../evo-finops/common/contract';
|
|
8
8
|
import type { NexVendasContractType } from './adhesion';
|
|
9
|
+
import type { INexVendasOfferPackage, INexVendasPackageDisplay } from './offer-package';
|
|
9
10
|
|
|
10
11
|
// ── Atribuição (feat-326 D14) ──
|
|
11
12
|
|
|
@@ -86,8 +87,16 @@ export interface INexVendasOffer extends IFireGlobalDoc {
|
|
|
86
87
|
contract_template_key: string;
|
|
87
88
|
/** Cópia DERIVADA do modelo (backend grava; valor do cliente HTTP é sobrescrito). */
|
|
88
89
|
contract_type?: NexVendasContractType | null;
|
|
89
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* D12 — `null` na v1 (sem franquia).
|
|
92
|
+
* @deprecated feat-353 — usar `package.allowances`. Sempre null (o backend força).
|
|
93
|
+
*/
|
|
90
94
|
allowances: Record<string, INexFinopsContractAllowance> | null;
|
|
95
|
+
/**
|
|
96
|
+
* feat-353 — pacote comercial (módulos, franquias aplicadas × exibidas, tabela de
|
|
97
|
+
* preço, preço "de"). Ausente/null = oferta v1 (comportamento anterior).
|
|
98
|
+
*/
|
|
99
|
+
package?: INexVendasOfferPackage | null;
|
|
91
100
|
terms?: string | null;
|
|
92
101
|
/** D13 — `valid_until` da proposta = hoje (SP) + N dias. Padrão 7. */
|
|
93
102
|
proposal_valid_days: number;
|
|
@@ -125,6 +134,11 @@ export interface INexVendasOfferPublic {
|
|
|
125
134
|
contract_type: NexVendasContractType;
|
|
126
135
|
terms: string | null;
|
|
127
136
|
site: string;
|
|
137
|
+
/**
|
|
138
|
+
* feat-353 — pacote pronto para exibir (`buildPackageDisplay`, calculado no
|
|
139
|
+
* backend). Ausente/null = oferta sem pacote ou backend anterior à feat-353.
|
|
140
|
+
*/
|
|
141
|
+
package_display?: INexVendasPackageDisplay | null;
|
|
128
142
|
}
|
|
129
143
|
|
|
130
144
|
/** Vitrine: `GET /offers?site=…` lista as ofertas `active && listed` do site. */
|