@grapadigital/shared-schemas 1.0.141 → 1.0.143
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/schemas/recruitment.schema.d.ts +1 -1
- package/dist/schemas/recruitment.schema.js +2 -2
- package/dist/schemas/sale.schema.d.ts +1 -1
- package/dist/schemas/sale.schema.js +1 -1
- package/package.json +1 -1
- package/src/schemas/recruitment.schema.ts +1 -1
- package/src/schemas/sale.schema.ts +2 -2
|
@@ -96,7 +96,7 @@ declare class Payment {
|
|
|
96
96
|
}
|
|
97
97
|
export declare class Exchange {
|
|
98
98
|
hasExchange: boolean;
|
|
99
|
-
|
|
99
|
+
description: string;
|
|
100
100
|
}
|
|
101
101
|
export declare const ExchangeSchema: MongooseSchema<Exchange, import("mongoose").Model<Exchange, any, any, any, import("mongoose").Document<unknown, any, Exchange, any, {}> & Exchange & {
|
|
102
102
|
_id: Types.ObjectId;
|
|
@@ -138,8 +138,8 @@ __decorate([
|
|
|
138
138
|
], Exchange.prototype, "hasExchange", void 0);
|
|
139
139
|
__decorate([
|
|
140
140
|
(0, mongoose_1.Prop)(),
|
|
141
|
-
__metadata("design:type",
|
|
142
|
-
], Exchange.prototype, "
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], Exchange.prototype, "description", void 0);
|
|
143
143
|
Exchange = __decorate([
|
|
144
144
|
(0, mongoose_1.Schema)({ _id: false })
|
|
145
145
|
], Exchange);
|
|
@@ -114,7 +114,7 @@ export declare class Sale {
|
|
|
114
114
|
_id?: Types.ObjectId;
|
|
115
115
|
title: string;
|
|
116
116
|
phase: 'screening' | 'proposal' | 'negotiation' | 'commission' | 'formalization' | 'closed' | 'lost';
|
|
117
|
-
type:
|
|
117
|
+
type: "new" | "organic_expansion" | "strategic_expansion" | "renewal" | "comercial_winback" | "organic_winback";
|
|
118
118
|
screening?: Screening;
|
|
119
119
|
proposal?: Proposal;
|
|
120
120
|
negotiation?: Negotiation;
|
|
@@ -353,7 +353,7 @@ __decorate([
|
|
|
353
353
|
__decorate([
|
|
354
354
|
(0, mongoose_1.Prop)({
|
|
355
355
|
type: String,
|
|
356
|
-
enum: ['new', 'renewal', '
|
|
356
|
+
enum: ['new', 'organic_expansion', 'strategic_expansion', 'renewal', 'comercial_winback', 'organic_winback'],
|
|
357
357
|
default: 'new',
|
|
358
358
|
}),
|
|
359
359
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -184,10 +184,10 @@ export class Sale {
|
|
|
184
184
|
|
|
185
185
|
@Prop({
|
|
186
186
|
type: String,
|
|
187
|
-
enum: ['new', 'renewal', '
|
|
187
|
+
enum: ['new', 'organic_expansion', 'strategic_expansion', 'renewal', 'comercial_winback', 'organic_winback'],
|
|
188
188
|
default: 'new',
|
|
189
189
|
})
|
|
190
|
-
type:
|
|
190
|
+
type: "new" | "organic_expansion" | "strategic_expansion" | "renewal" | "comercial_winback" | "organic_winback";
|
|
191
191
|
|
|
192
192
|
@Prop({ type: Screening }) screening?: Screening;
|
|
193
193
|
@Prop({ type: Proposal }) proposal?: Proposal;
|