@grapadigital/shared-schemas 1.0.241 → 1.1.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/dist/index.d.ts +42 -42
- package/dist/schemas/action.schema.d.ts +13 -38
- package/dist/schemas/action.schema.js +81 -64
- package/dist/schemas/assignment.schema.d.ts +6 -31
- package/dist/schemas/assignment.schema.js +44 -44
- package/dist/schemas/benchmark.schema.d.ts +5 -30
- package/dist/schemas/benchmark.schema.js +11 -6
- package/dist/schemas/campaign.schema.d.ts +4 -29
- package/dist/schemas/campaign.schema.js +4 -4
- package/dist/schemas/client.schema.d.ts +30 -91
- package/dist/schemas/client.schema.js +73 -71
- package/dist/schemas/comment.schema.d.ts +9 -34
- package/dist/schemas/comment.schema.js +42 -37
- package/dist/schemas/commission.schema.d.ts +7 -32
- package/dist/schemas/commission.schema.js +10 -10
- package/dist/schemas/content-capture-process.schema.d.ts +12 -37
- package/dist/schemas/content-capture-process.schema.js +24 -17
- package/dist/schemas/content-draft.schema.d.ts +4 -29
- package/dist/schemas/content-draft.schema.js +5 -5
- package/dist/schemas/content.schema.d.ts +20 -45
- package/dist/schemas/content.schema.js +84 -74
- package/dist/schemas/contract.schema.d.ts +5 -30
- package/dist/schemas/contract.schema.js +5 -5
- package/dist/schemas/creative.schema.d.ts +11 -36
- package/dist/schemas/creative.schema.js +22 -31
- package/dist/schemas/export-comments-job.schema.d.ts +4 -29
- package/dist/schemas/export-comments-job.schema.js +6 -6
- package/dist/schemas/group.schema.d.ts +2 -27
- package/dist/schemas/group.schema.js +5 -5
- package/dist/schemas/influencer.schema.d.ts +12 -37
- package/dist/schemas/influencer.schema.js +16 -18
- package/dist/schemas/invoice.schema.d.ts +6 -31
- package/dist/schemas/invoice.schema.js +42 -32
- package/dist/schemas/job.schema.d.ts +4 -29
- package/dist/schemas/job.schema.js +14 -14
- package/dist/schemas/lead.schema.d.ts +15 -40
- package/dist/schemas/lead.schema.js +67 -64
- package/dist/schemas/log.schema.d.ts +3 -28
- package/dist/schemas/log.schema.js +24 -24
- package/dist/schemas/note.schema.d.ts +3 -28
- package/dist/schemas/note.schema.js +9 -9
- package/dist/schemas/notifications.schema.d.ts +3 -28
- package/dist/schemas/notifications.schema.js +8 -8
- package/dist/schemas/organization.schema.d.ts +2 -27
- package/dist/schemas/organization.schema.js +4 -4
- package/dist/schemas/party.schema.d.ts +6 -31
- package/dist/schemas/party.schema.js +11 -11
- package/dist/schemas/payment.schema.d.ts +20 -45
- package/dist/schemas/payment.schema.js +63 -54
- package/dist/schemas/profile.schema.d.ts +5 -30
- package/dist/schemas/profile.schema.js +6 -6
- package/dist/schemas/project.schema.d.ts +9 -34
- package/dist/schemas/project.schema.js +13 -13
- package/dist/schemas/prospect.schema.d.ts +6 -31
- package/dist/schemas/prospect.schema.js +9 -9
- package/dist/schemas/recruitment.schema.d.ts +19 -44
- package/dist/schemas/recruitment.schema.js +36 -36
- package/dist/schemas/responsible.schema.d.ts +1 -27
- package/dist/schemas/responsible.schema.js +6 -6
- package/dist/schemas/sale.schema.d.ts +19 -44
- package/dist/schemas/sale.schema.js +43 -51
- package/dist/schemas/script.schema.d.ts +11 -36
- package/dist/schemas/script.schema.js +21 -30
- package/dist/schemas/snapshot.schema.d.ts +5 -30
- package/dist/schemas/snapshot.schema.js +6 -6
- package/dist/schemas/store-visit.schema.d.ts +3 -28
- package/dist/schemas/store-visit.schema.js +21 -17
- package/dist/schemas/store.schema.d.ts +5 -30
- package/dist/schemas/store.schema.js +8 -8
- package/dist/schemas/supplier.schema.d.ts +4 -29
- package/dist/schemas/supplier.schema.js +3 -3
- package/dist/schemas/tag.schema.d.ts +2 -27
- package/dist/schemas/tag.schema.js +5 -5
- package/dist/schemas/task.schema.d.ts +11 -36
- package/dist/schemas/task.schema.js +67 -67
- package/dist/schemas/token.schema.d.ts +3 -28
- package/dist/schemas/token.schema.js +3 -3
- package/dist/schemas/trigger.schema.d.ts +3 -28
- package/dist/schemas/trigger.schema.js +5 -5
- package/dist/schemas/user.schema.d.ts +3 -28
- package/dist/schemas/user.schema.js +7 -7
- package/dist/schemas/webhook.schema.d.ts +6 -31
- package/dist/schemas/webhook.schema.js +10 -10
- package/dist/utils/merge-metrics-breakdown.util.d.ts +1 -1
- package/dist/utils/merge-metrics-breakdown.util.js +7 -2
- package/dist/utils/normalize-content-link.util.js +7 -7
- package/package.json +29 -16
- package/.eslintrc.json +0 -28
- package/.prettierrc +0 -4
- package/dist/schemas/profile-followers-snapshot.schema.d.ts +0 -67
- package/dist/schemas/profile-followers-snapshot.schema.js +0 -65
- package/dist/schemas/schedule.schema.d.ts +0 -73
- package/dist/schemas/schedule.schema.js +0 -116
- package/dist/utils/cost-per-impact.util.d.ts +0 -37
- package/dist/utils/cost-per-impact.util.js +0 -72
- package/dist/utils/influencer-contract.util.d.ts +0 -32
- package/dist/utils/influencer-contract.util.js +0 -77
- package/docs/code-review.md +0 -27
- package/docs/constitution.md +0 -75
- package/docs/specs/GD-692.md +0 -112
- package/docs/specs/GD-761.md +0 -94
- package/index.d.ts +0 -3
- package/src/index.ts +0 -42
- package/src/schemas/action.schema.ts +0 -328
- package/src/schemas/assignment.schema.ts +0 -154
- package/src/schemas/benchmark.schema.ts +0 -39
- package/src/schemas/campaign.schema.ts +0 -38
- package/src/schemas/client.schema.ts +0 -319
- package/src/schemas/comment.schema.ts +0 -216
- package/src/schemas/commission.schema.ts +0 -108
- package/src/schemas/content-capture-process.schema.ts +0 -195
- package/src/schemas/content-draft.schema.ts +0 -49
- package/src/schemas/content.schema.ts +0 -688
- package/src/schemas/contract.schema.ts +0 -44
- package/src/schemas/creative.schema.ts +0 -256
- package/src/schemas/export-comments-job.schema.ts +0 -59
- package/src/schemas/group.schema.ts +0 -23
- package/src/schemas/influencer.schema.ts +0 -184
- package/src/schemas/invoice.schema.ts +0 -164
- package/src/schemas/job.schema.ts +0 -111
- package/src/schemas/lead.schema.ts +0 -372
- package/src/schemas/log.schema.ts +0 -91
- package/src/schemas/note.schema.ts +0 -34
- package/src/schemas/notifications.schema.ts +0 -61
- package/src/schemas/organization.schema.ts +0 -29
- package/src/schemas/party.schema.ts +0 -65
- package/src/schemas/payment.schema.ts +0 -275
- package/src/schemas/profile.schema.ts +0 -77
- package/src/schemas/project.schema.ts +0 -116
- package/src/schemas/prospect.schema.ts +0 -62
- package/src/schemas/recruitment.schema.ts +0 -277
- package/src/schemas/responsible.schema.ts +0 -27
- package/src/schemas/sale.schema.ts +0 -297
- package/src/schemas/script.schema.ts +0 -235
- package/src/schemas/snapshot.schema.ts +0 -55
- package/src/schemas/store-visit.schema.ts +0 -68
- package/src/schemas/store.schema.ts +0 -52
- package/src/schemas/supplier.schema.ts +0 -12
- package/src/schemas/tag.schema.ts +0 -26
- package/src/schemas/task.schema.ts +0 -205
- package/src/schemas/token.schema.ts +0 -42
- package/src/schemas/trigger.schema.ts +0 -48
- package/src/schemas/user.schema.ts +0 -59
- package/src/schemas/webhook.schema.ts +0 -81
- package/src/utils/merge-metrics-breakdown.util.ts +0 -51
- package/src/utils/normalize-content-link.util.ts +0 -31
- package/tsconfig.build.json +0 -5
- package/tsconfig.json +0 -29
|
@@ -17,12 +17,12 @@ const note_schema_1 = require("./note.schema");
|
|
|
17
17
|
let Recipient = class Recipient {
|
|
18
18
|
};
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
20
|
+
(0, swagger_1.ApiProperty)({ example: "nome da empresa LTDA" }),
|
|
21
21
|
(0, mongoose_1.Prop)({ required: true }),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], Recipient.prototype, "legalName", void 0);
|
|
24
24
|
__decorate([
|
|
25
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
25
|
+
(0, swagger_1.ApiProperty)({ example: "xx.xxx.xxx/xxxx-xx" }),
|
|
26
26
|
(0, mongoose_1.Prop)({ required: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], Recipient.prototype, "document", void 0);
|
|
@@ -32,32 +32,34 @@ Recipient = __decorate([
|
|
|
32
32
|
let Inbox = class Inbox {
|
|
33
33
|
};
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
35
|
+
(0, swagger_1.ApiProperty)({ example: "CNPJ da Marca que foi selecionado para o faturamento" }),
|
|
36
36
|
(0, mongoose_1.Prop)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], Inbox.prototype, "document", void 0);
|
|
39
39
|
__decorate([
|
|
40
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
40
|
+
(0, swagger_1.ApiProperty)({ example: "Razão Social da Marca que foi selecionado para o faturamento" }),
|
|
41
41
|
(0, mongoose_1.Prop)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], Inbox.prototype, "legalName", void 0);
|
|
44
44
|
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)({
|
|
45
|
+
(0, swagger_1.ApiProperty)({
|
|
46
|
+
example: "Descrição que deve contar na nota fiscal referente à prestação de serviços",
|
|
47
|
+
}),
|
|
46
48
|
(0, mongoose_1.Prop)(),
|
|
47
49
|
__metadata("design:type", String)
|
|
48
50
|
], Inbox.prototype, "invoiceDescription", void 0);
|
|
49
51
|
__decorate([
|
|
50
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
52
|
+
(0, swagger_1.ApiProperty)({ example: "Descrição que deve contar na nota fiscal referente ao influenciador" }),
|
|
51
53
|
(0, mongoose_1.Prop)(),
|
|
52
54
|
__metadata("design:type", String)
|
|
53
55
|
], Inbox.prototype, "influencerInvoiceDescription", void 0);
|
|
54
56
|
__decorate([
|
|
55
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
57
|
+
(0, swagger_1.ApiProperty)({ example: "financeiro@empresa.com" }),
|
|
56
58
|
(0, mongoose_1.Prop)(),
|
|
57
59
|
__metadata("design:type", String)
|
|
58
60
|
], Inbox.prototype, "invoiceEmail", void 0);
|
|
59
61
|
__decorate([
|
|
60
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
62
|
+
(0, swagger_1.ApiProperty)({ example: "Emitir até 5 dias úteis após a entrega" }),
|
|
61
63
|
(0, mongoose_1.Prop)(),
|
|
62
64
|
__metadata("design:type", String)
|
|
63
65
|
], Inbox.prototype, "emissionNotes", void 0);
|
|
@@ -87,12 +89,12 @@ __decorate([
|
|
|
87
89
|
__metadata("design:type", Number)
|
|
88
90
|
], Inbox.prototype, "installmentProductionAndOthersValue", void 0);
|
|
89
91
|
__decorate([
|
|
90
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
92
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-10T00:00:00.000Z" }),
|
|
91
93
|
(0, mongoose_1.Prop)({ required: true }),
|
|
92
94
|
__metadata("design:type", Date)
|
|
93
95
|
], Inbox.prototype, "estimatedIssueDate", void 0);
|
|
94
96
|
__decorate([
|
|
95
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
97
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-25T00:00:00.000Z" }),
|
|
96
98
|
(0, mongoose_1.Prop)({ required: true }),
|
|
97
99
|
__metadata("design:type", Date)
|
|
98
100
|
], Inbox.prototype, "estimatedDueDate", void 0);
|
|
@@ -102,12 +104,12 @@ Inbox = __decorate([
|
|
|
102
104
|
let Review = class Review {
|
|
103
105
|
};
|
|
104
106
|
__decorate([
|
|
105
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
107
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-12T00:00:00.000Z" }),
|
|
106
108
|
(0, mongoose_1.Prop)({ required: true }),
|
|
107
109
|
__metadata("design:type", Date)
|
|
108
110
|
], Review.prototype, "revisedIssueDate", void 0);
|
|
109
111
|
__decorate([
|
|
110
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
112
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-28T00:00:00.000Z" }),
|
|
111
113
|
(0, mongoose_1.Prop)({ required: true }),
|
|
112
114
|
__metadata("design:type", Date)
|
|
113
115
|
], Review.prototype, "revisedDueDate", void 0);
|
|
@@ -117,17 +119,17 @@ Review = __decorate([
|
|
|
117
119
|
let Invoiced = class Invoiced {
|
|
118
120
|
};
|
|
119
121
|
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
122
|
+
(0, swagger_1.ApiProperty)({ example: "NF123456" }),
|
|
121
123
|
(0, mongoose_1.Prop)({ required: true }),
|
|
122
124
|
__metadata("design:type", String)
|
|
123
125
|
], Invoiced.prototype, "code", void 0);
|
|
124
126
|
__decorate([
|
|
125
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
127
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-15T00:00:00.000Z" }),
|
|
126
128
|
(0, mongoose_1.Prop)({ required: true }),
|
|
127
129
|
__metadata("design:type", Date)
|
|
128
130
|
], Invoiced.prototype, "issueDate", void 0);
|
|
129
131
|
__decorate([
|
|
130
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
132
|
+
(0, swagger_1.ApiProperty)({ example: "2025-09-30T00:00:00.000Z" }),
|
|
131
133
|
(0, mongoose_1.Prop)({ required: true }),
|
|
132
134
|
__metadata("design:type", Date)
|
|
133
135
|
], Invoiced.prototype, "dueDate", void 0);
|
|
@@ -137,7 +139,7 @@ Invoiced = __decorate([
|
|
|
137
139
|
let Received = class Received {
|
|
138
140
|
};
|
|
139
141
|
__decorate([
|
|
140
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
142
|
+
(0, swagger_1.ApiProperty)({ example: "2025-10-05T00:00:00.000Z" }),
|
|
141
143
|
(0, mongoose_1.Prop)({ required: true }),
|
|
142
144
|
__metadata("design:type", Date)
|
|
143
145
|
], Received.prototype, "date", void 0);
|
|
@@ -147,12 +149,12 @@ Received = __decorate([
|
|
|
147
149
|
let Canceled = class Canceled {
|
|
148
150
|
};
|
|
149
151
|
__decorate([
|
|
150
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
152
|
+
(0, swagger_1.ApiProperty)({ example: "Cliente cancelou o contrato" }),
|
|
151
153
|
(0, mongoose_1.Prop)({ required: true }),
|
|
152
154
|
__metadata("design:type", String)
|
|
153
155
|
], Canceled.prototype, "reason", void 0);
|
|
154
156
|
__decorate([
|
|
155
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
157
|
+
(0, swagger_1.ApiProperty)({ example: "Cancelamento solicitado via e-mail em 25/08/2025" }),
|
|
156
158
|
(0, mongoose_1.Prop)({ required: true }),
|
|
157
159
|
__metadata("design:type", String)
|
|
158
160
|
], Canceled.prototype, "details", void 0);
|
|
@@ -161,13 +163,14 @@ Canceled = __decorate([
|
|
|
161
163
|
], Canceled);
|
|
162
164
|
let Invoice = class Invoice {
|
|
163
165
|
};
|
|
166
|
+
exports.Invoice = Invoice;
|
|
164
167
|
__decorate([
|
|
165
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
168
|
+
(0, swagger_1.ApiProperty)({ example: "64f1a5c8c7e4d5a6b2e9f123" }),
|
|
166
169
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, auto: true, required: false }),
|
|
167
170
|
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
168
171
|
], Invoice.prototype, "_id", void 0);
|
|
169
172
|
__decorate([
|
|
170
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
173
|
+
(0, swagger_1.ApiProperty)({ example: "Fatura Parcela 01/03" }),
|
|
171
174
|
(0, mongoose_1.Prop)({ required: true }),
|
|
172
175
|
__metadata("design:type", String)
|
|
173
176
|
], Invoice.prototype, "title", void 0);
|
|
@@ -177,16 +180,19 @@ __decorate([
|
|
|
177
180
|
__metadata("design:type", Number)
|
|
178
181
|
], Invoice.prototype, "installmentNumber", void 0);
|
|
179
182
|
__decorate([
|
|
180
|
-
(0, swagger_1.ApiProperty)({
|
|
183
|
+
(0, swagger_1.ApiProperty)({
|
|
184
|
+
example: "inbox",
|
|
185
|
+
enum: ["inbox", "review", "awaiting", "invoiced", "received", "canceled"],
|
|
186
|
+
}),
|
|
181
187
|
(0, mongoose_1.Prop)({
|
|
182
188
|
required: true,
|
|
183
|
-
enum: [
|
|
189
|
+
enum: ["inbox", "review", "awaiting", "invoiced", "received", "canceled"],
|
|
184
190
|
}),
|
|
185
191
|
__metadata("design:type", String)
|
|
186
192
|
], Invoice.prototype, "phase", void 0);
|
|
187
193
|
__decorate([
|
|
188
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
189
|
-
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, ref:
|
|
194
|
+
(0, swagger_1.ApiProperty)({ example: "64f1a5c8c7e4d5a6b2e9f999" }),
|
|
195
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, ref: "Sale", required: true }),
|
|
190
196
|
__metadata("design:type", Object)
|
|
191
197
|
], Invoice.prototype, "sale", void 0);
|
|
192
198
|
__decorate([
|
|
@@ -219,33 +225,37 @@ __decorate([
|
|
|
219
225
|
__metadata("design:type", Canceled)
|
|
220
226
|
], Invoice.prototype, "canceled", void 0);
|
|
221
227
|
__decorate([
|
|
222
|
-
(0, swagger_1.ApiProperty)({
|
|
228
|
+
(0, swagger_1.ApiProperty)({
|
|
229
|
+
type: [note_schema_1.Note],
|
|
230
|
+
example: [
|
|
231
|
+
{ text: "Emitir NF", owner: "maria.joaquina", createdAt: "2025-08-28T15:00:00.000Z" },
|
|
232
|
+
],
|
|
233
|
+
}),
|
|
223
234
|
(0, mongoose_1.Prop)({ type: [note_schema_1.Note], default: [] }),
|
|
224
235
|
__metadata("design:type", Array)
|
|
225
236
|
], Invoice.prototype, "notes", void 0);
|
|
226
237
|
__decorate([
|
|
227
|
-
(0, swagger_1.ApiProperty)({ example: [
|
|
238
|
+
(0, swagger_1.ApiProperty)({ example: ["Aguardando Faturamento", "Janeiro"] }),
|
|
228
239
|
(0, mongoose_1.Prop)({ type: [{ type: mongoose_2.Schema.Types.ObjectId }], default: [] }),
|
|
229
240
|
__metadata("design:type", Array)
|
|
230
241
|
], Invoice.prototype, "tags", void 0);
|
|
231
242
|
__decorate([
|
|
232
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
243
|
+
(0, swagger_1.ApiProperty)({ example: "2025-08-28T15:00:00.000Z" }),
|
|
233
244
|
(0, mongoose_1.Prop)({ default: Date.now }),
|
|
234
245
|
__metadata("design:type", Date)
|
|
235
246
|
], Invoice.prototype, "createdAt", void 0);
|
|
236
247
|
__decorate([
|
|
237
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
248
|
+
(0, swagger_1.ApiProperty)({ example: "2025-08-28T15:00:00.000Z" }),
|
|
238
249
|
(0, mongoose_1.Prop)({ default: Date.now }),
|
|
239
250
|
__metadata("design:type", Date)
|
|
240
251
|
], Invoice.prototype, "updatedAt", void 0);
|
|
241
|
-
Invoice = __decorate([
|
|
252
|
+
exports.Invoice = Invoice = __decorate([
|
|
242
253
|
(0, mongoose_1.Schema)({ timestamps: true })
|
|
243
254
|
], Invoice);
|
|
244
|
-
exports.Invoice = Invoice;
|
|
245
255
|
exports.InvoiceSchema = mongoose_1.SchemaFactory.createForClass(Invoice);
|
|
246
256
|
exports.InvoiceSchema.index({ organization: 1, phase: 1 });
|
|
247
|
-
exports.InvoiceSchema.index({ organization: 1,
|
|
257
|
+
exports.InvoiceSchema.index({ organization: 1, "invoiced.issueDate": 1 });
|
|
248
258
|
exports.InvoiceSchema.index({ sale: 1, installmentNumber: 1 });
|
|
249
259
|
exports.InvoiceSchema.index({ sale: 1, phase: 1 });
|
|
250
260
|
exports.InvoiceSchema.index({ tags: 1 });
|
|
251
|
-
exports.InvoiceModel = (0, mongoose_2.model)(
|
|
261
|
+
exports.InvoiceModel = (0, mongoose_2.model)("Invoice", exports.InvoiceSchema);
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/session" />
|
|
19
|
-
/// <reference types="mongoose/types/types" />
|
|
20
|
-
/// <reference types="mongoose/types/utility" />
|
|
21
|
-
/// <reference types="mongoose/types/validation" />
|
|
22
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
23
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
24
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
|
-
import { HydratedDocument, Schema as MongooseSchema, Types } from 'mongoose';
|
|
27
|
-
import { Action } from './action.schema';
|
|
1
|
+
import { HydratedDocument, Schema as MongooseSchema, Types } from "mongoose";
|
|
2
|
+
import { Action } from "./action.schema";
|
|
28
3
|
export type JobDocument = HydratedDocument<Job>;
|
|
29
4
|
export declare const JOB_ORIGINS: readonly ["trigger", "approval", "reclassify", "tagger"];
|
|
30
5
|
export type JobOrigin = (typeof JOB_ORIGINS)[number];
|
|
@@ -64,7 +39,7 @@ export declare const JobSchema: MongooseSchema<Job, import("mongoose").Model<Job
|
|
|
64
39
|
_id: Types.ObjectId;
|
|
65
40
|
}> & {
|
|
66
41
|
__v: number;
|
|
67
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Job, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Job>, {}, import("mongoose").
|
|
42
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Job, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Job>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Job> & Required<{
|
|
68
43
|
_id: Types.ObjectId;
|
|
69
44
|
}> & {
|
|
70
45
|
__v: number;
|
|
@@ -77,7 +52,7 @@ export declare const JobModel: import("mongoose").Model<Job, {}, {}, {}, import(
|
|
|
77
52
|
_id: Types.ObjectId;
|
|
78
53
|
}> & {
|
|
79
54
|
__v: number;
|
|
80
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Job, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Job>, {}, import("mongoose").
|
|
55
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Job, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Job>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Job> & Required<{
|
|
81
56
|
_id: Types.ObjectId;
|
|
82
57
|
}> & {
|
|
83
58
|
__v: number;
|
|
@@ -13,20 +13,20 @@ exports.JobModel = exports.JobSchema = exports.Job = exports.JOB_STATUSES = expo
|
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
15
|
// tagger: import do JSON da Tagger na tela (GD-767).
|
|
16
|
-
exports.JOB_ORIGINS = [
|
|
16
|
+
exports.JOB_ORIGINS = ["trigger", "approval", "reclassify", "tagger"];
|
|
17
17
|
exports.JOB_WORKERS = [
|
|
18
18
|
// Clique de aprovação (lote): quantos conteúdos o disparo colocou no pipeline.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
"api-campaigns",
|
|
20
|
+
"content-capture-trigger",
|
|
21
|
+
"content-capture",
|
|
22
|
+
"comment-capture",
|
|
23
|
+
"content-classification",
|
|
24
|
+
"metrics-generator",
|
|
25
|
+
"profile-sync",
|
|
26
26
|
];
|
|
27
27
|
// running: trabalho em andamento com checkpoint (ex.: job assíncrono da
|
|
28
28
|
// exportcomments em criação/polling).
|
|
29
|
-
exports.JOB_STATUSES = [
|
|
29
|
+
exports.JOB_STATUSES = ["running", "done", "skipped", "error"];
|
|
30
30
|
/**
|
|
31
31
|
* Trilha única do pipeline de captura: cada worker grava uma linha por
|
|
32
32
|
* unidade de trabalho (action ou content), e todas as linhas da mesma rodada
|
|
@@ -38,6 +38,7 @@ exports.JOB_STATUSES = ['running', 'done', 'skipped', 'error'];
|
|
|
38
38
|
*/
|
|
39
39
|
let Job = class Job {
|
|
40
40
|
};
|
|
41
|
+
exports.Job = Job;
|
|
41
42
|
__decorate([
|
|
42
43
|
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, auto: true, required: false }),
|
|
43
44
|
__metadata("design:type", mongoose_2.Types.ObjectId)
|
|
@@ -59,7 +60,7 @@ __decorate([
|
|
|
59
60
|
__metadata("design:type", String)
|
|
60
61
|
], Job.prototype, "worker", void 0);
|
|
61
62
|
__decorate([
|
|
62
|
-
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, ref:
|
|
63
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId, ref: "Action", required: true }),
|
|
63
64
|
__metadata("design:type", Object)
|
|
64
65
|
], Job.prototype, "actionId", void 0);
|
|
65
66
|
__decorate([
|
|
@@ -106,10 +107,9 @@ __decorate([
|
|
|
106
107
|
(0, mongoose_1.Prop)({ default: Date.now, required: false }),
|
|
107
108
|
__metadata("design:type", Date)
|
|
108
109
|
], Job.prototype, "updatedAt", void 0);
|
|
109
|
-
Job = __decorate([
|
|
110
|
-
(0, mongoose_1.Schema)({ collection:
|
|
110
|
+
exports.Job = Job = __decorate([
|
|
111
|
+
(0, mongoose_1.Schema)({ collection: "jobs", timestamps: true })
|
|
111
112
|
], Job);
|
|
112
|
-
exports.Job = Job;
|
|
113
113
|
exports.JobSchema = mongoose_1.SchemaFactory.createForClass(Job);
|
|
114
114
|
// Reentrega da mesma mensagem atualiza a mesma linha.
|
|
115
115
|
exports.JobSchema.index({ runId: 1, requestId: 1, worker: 1, contentId: 1, primetagId: 1 }, { unique: true });
|
|
@@ -120,4 +120,4 @@ exports.JobSchema.index({ actionId: 1, worker: 1, origin: 1, startedAt: -1 });
|
|
|
120
120
|
exports.JobSchema.index({ createdAt: 1 }, { expireAfterSeconds: 180 * 24 * 60 * 60 });
|
|
121
121
|
// Raw mais recente de uma publication (linhas do content-capture).
|
|
122
122
|
exports.JobSchema.index({ actionId: 1, worker: 1, primetagId: 1, startedAt: -1 });
|
|
123
|
-
exports.JobModel = (0, mongoose_2.model)(
|
|
123
|
+
exports.JobModel = (0, mongoose_2.model)("Job", exports.JobSchema);
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/session" />
|
|
19
|
-
/// <reference types="mongoose/types/types" />
|
|
20
|
-
/// <reference types="mongoose/types/utility" />
|
|
21
|
-
/// <reference types="mongoose/types/validation" />
|
|
22
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
23
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
24
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
|
-
import { HydratedDocument, Types } from 'mongoose';
|
|
1
|
+
import { HydratedDocument, Types } from "mongoose";
|
|
27
2
|
export declare const LEAD_STATUS_VALUES: readonly ["draft", "submitted"];
|
|
28
3
|
export type LeadStatus = (typeof LEAD_STATUS_VALUES)[number];
|
|
29
4
|
export declare const LEAD_PRESENTATION_FORMAT_VALUES: readonly ["online", "in_person", "email_only"];
|
|
@@ -61,7 +36,7 @@ export declare const LeadGeneralSchema: import("mongoose").Schema<LeadGeneral, i
|
|
|
61
36
|
_id: Types.ObjectId;
|
|
62
37
|
} & {
|
|
63
38
|
__v: number;
|
|
64
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadGeneral, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadGeneral>, {}, import("mongoose").
|
|
39
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadGeneral, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadGeneral>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadGeneral> & {
|
|
65
40
|
_id: Types.ObjectId;
|
|
66
41
|
} & {
|
|
67
42
|
__v: number;
|
|
@@ -74,7 +49,7 @@ export declare const LeadConfidentialitySchema: import("mongoose").Schema<LeadCo
|
|
|
74
49
|
_id: Types.ObjectId;
|
|
75
50
|
} & {
|
|
76
51
|
__v: number;
|
|
77
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadConfidentiality, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadConfidentiality>, {}, import("mongoose").
|
|
52
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadConfidentiality, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadConfidentiality>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadConfidentiality> & {
|
|
78
53
|
_id: Types.ObjectId;
|
|
79
54
|
} & {
|
|
80
55
|
__v: number;
|
|
@@ -90,7 +65,7 @@ export declare const LeadBudgetSchema: import("mongoose").Schema<LeadBudget, imp
|
|
|
90
65
|
_id: Types.ObjectId;
|
|
91
66
|
} & {
|
|
92
67
|
__v: number;
|
|
93
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadBudget, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadBudget>, {}, import("mongoose").
|
|
68
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadBudget, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadBudget>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadBudget> & {
|
|
94
69
|
_id: Types.ObjectId;
|
|
95
70
|
} & {
|
|
96
71
|
__v: number;
|
|
@@ -103,7 +78,7 @@ export declare const LeadCompetitionSchema: import("mongoose").Schema<LeadCompet
|
|
|
103
78
|
_id: Types.ObjectId;
|
|
104
79
|
} & {
|
|
105
80
|
__v: number;
|
|
106
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCompetition, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCompetition>, {}, import("mongoose").
|
|
81
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCompetition, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCompetition>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadCompetition> & {
|
|
107
82
|
_id: Types.ObjectId;
|
|
108
83
|
} & {
|
|
109
84
|
__v: number;
|
|
@@ -115,7 +90,7 @@ export declare const LeadDeliverablesSchema: import("mongoose").Schema<LeadDeliv
|
|
|
115
90
|
_id: Types.ObjectId;
|
|
116
91
|
} & {
|
|
117
92
|
__v: number;
|
|
118
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliverables, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliverables>, {}, import("mongoose").
|
|
93
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliverables, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliverables>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadDeliverables> & {
|
|
119
94
|
_id: Types.ObjectId;
|
|
120
95
|
} & {
|
|
121
96
|
__v: number;
|
|
@@ -134,7 +109,7 @@ export declare const LeadStrategicContextSchema: import("mongoose").Schema<LeadS
|
|
|
134
109
|
_id: Types.ObjectId;
|
|
135
110
|
} & {
|
|
136
111
|
__v: number;
|
|
137
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadStrategicContext, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadStrategicContext>, {}, import("mongoose").
|
|
112
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadStrategicContext, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadStrategicContext>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadStrategicContext> & {
|
|
138
113
|
_id: Types.ObjectId;
|
|
139
114
|
} & {
|
|
140
115
|
__v: number;
|
|
@@ -147,7 +122,7 @@ export declare const LeadObjectivesSchema: import("mongoose").Schema<LeadObjecti
|
|
|
147
122
|
_id: Types.ObjectId;
|
|
148
123
|
} & {
|
|
149
124
|
__v: number;
|
|
150
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadObjectives, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadObjectives>, {}, import("mongoose").
|
|
125
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadObjectives, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadObjectives>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadObjectives> & {
|
|
151
126
|
_id: Types.ObjectId;
|
|
152
127
|
} & {
|
|
153
128
|
__v: number;
|
|
@@ -165,7 +140,7 @@ export declare const LeadDeliveryScopeSchema: import("mongoose").Schema<LeadDeli
|
|
|
165
140
|
_id: Types.ObjectId;
|
|
166
141
|
} & {
|
|
167
142
|
__v: number;
|
|
168
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliveryScope, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliveryScope>, {}, import("mongoose").
|
|
143
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliveryScope, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliveryScope>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadDeliveryScope> & {
|
|
169
144
|
_id: Types.ObjectId;
|
|
170
145
|
} & {
|
|
171
146
|
__v: number;
|
|
@@ -180,7 +155,7 @@ export declare const LeadAudienceSchema: import("mongoose").Schema<LeadAudience,
|
|
|
180
155
|
_id: Types.ObjectId;
|
|
181
156
|
} & {
|
|
182
157
|
__v: number;
|
|
183
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadAudience, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadAudience>, {}, import("mongoose").
|
|
158
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadAudience, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadAudience>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadAudience> & {
|
|
184
159
|
_id: Types.ObjectId;
|
|
185
160
|
} & {
|
|
186
161
|
__v: number;
|
|
@@ -200,7 +175,7 @@ export declare const LeadCurationSchema: import("mongoose").Schema<LeadCuration,
|
|
|
200
175
|
_id: Types.ObjectId;
|
|
201
176
|
} & {
|
|
202
177
|
__v: number;
|
|
203
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCuration, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCuration>, {}, import("mongoose").
|
|
178
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCuration, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCuration>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadCuration> & {
|
|
204
179
|
_id: Types.ObjectId;
|
|
205
180
|
} & {
|
|
206
181
|
__v: number;
|
|
@@ -214,7 +189,7 @@ export declare const LeadLogisticsSchema: import("mongoose").Schema<LeadLogistic
|
|
|
214
189
|
_id: Types.ObjectId;
|
|
215
190
|
} & {
|
|
216
191
|
__v: number;
|
|
217
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadLogistics, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadLogistics>, {}, import("mongoose").
|
|
192
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadLogistics, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadLogistics>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadLogistics> & {
|
|
218
193
|
_id: Types.ObjectId;
|
|
219
194
|
} & {
|
|
220
195
|
__v: number;
|
|
@@ -233,7 +208,7 @@ export declare const LeadContentGuidelinesSchema: import("mongoose").Schema<Lead
|
|
|
233
208
|
_id: Types.ObjectId;
|
|
234
209
|
} & {
|
|
235
210
|
__v: number;
|
|
236
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadContentGuidelines, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadContentGuidelines>, {}, import("mongoose").
|
|
211
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadContentGuidelines, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadContentGuidelines>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<LeadContentGuidelines> & {
|
|
237
212
|
_id: Types.ObjectId;
|
|
238
213
|
} & {
|
|
239
214
|
__v: number;
|
|
@@ -270,7 +245,7 @@ export declare const LeadSchema: import("mongoose").Schema<Lead, import("mongoos
|
|
|
270
245
|
_id: Types.ObjectId;
|
|
271
246
|
} & {
|
|
272
247
|
__v: number;
|
|
273
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").
|
|
248
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Lead> & {
|
|
274
249
|
_id: Types.ObjectId;
|
|
275
250
|
} & {
|
|
276
251
|
__v: number;
|
|
@@ -283,7 +258,7 @@ export declare const LeadModel: import("mongoose").Model<Lead, {}, {}, {}, impor
|
|
|
283
258
|
_id: Types.ObjectId;
|
|
284
259
|
} & {
|
|
285
260
|
__v: number;
|
|
286
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").
|
|
261
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<Lead> & {
|
|
287
262
|
_id: Types.ObjectId;
|
|
288
263
|
} & {
|
|
289
264
|
__v: number;
|