@grapadigital/shared-schemas 2.3.1 → 2.4.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.
@@ -123,7 +123,7 @@ export declare class Sale {
123
123
  _id?: Types.ObjectId;
124
124
  title: string;
125
125
  phase: "inbox" | "strategy" | "proposal" | "negotiation" | "commission" | "formalization" | "closed" | "lost";
126
- type: "campaign" | "fee" | "production" | "press_kit" | "renewal" | "new" | "organic_expansion" | "strategic_expansion" | "comercial_winback" | "organic_winback";
126
+ type: "campaign" | "fee" | "production" | "press_kit" | "renewal";
127
127
  proposal?: Proposal;
128
128
  negotiation?: Negotiation;
129
129
  formalization?: Formalization;
@@ -409,19 +409,7 @@ __decorate([
409
409
  __decorate([
410
410
  (0, mongoose_1.Prop)({
411
411
  type: String,
412
- enum: [
413
- "campaign",
414
- "fee",
415
- "production",
416
- "press_kit",
417
- "renewal",
418
- // legado, sai depois da GD-826
419
- "new",
420
- "organic_expansion",
421
- "strategic_expansion",
422
- "comercial_winback",
423
- "organic_winback",
424
- ],
412
+ enum: ["campaign", "fee", "production", "press_kit", "renewal"],
425
413
  default: "campaign",
426
414
  }),
427
415
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",