@grapadigital/shared-schemas 1.0.129 → 1.0.132
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.
|
@@ -70,9 +70,9 @@ export declare class Content {
|
|
|
70
70
|
_id?: Types.ObjectId;
|
|
71
71
|
caption?: string;
|
|
72
72
|
link: string;
|
|
73
|
-
type: 'reel' | 'carousel' | 'image' | 'story' | 'video';
|
|
73
|
+
type: 'reel' | 'carousel' | 'image' | 'story' | 'video' | 'post' | 'pin';
|
|
74
74
|
tagType: 'withTag' | 'withoutTag' | 'brandExposure';
|
|
75
|
-
socialnetwork: 'instagram' | 'tiktok' | 'youtube';
|
|
75
|
+
socialnetwork: 'instagram' | 'tiktok' | 'youtube' | 'pinterest' | 'linkedin';
|
|
76
76
|
status: 'approved' | 'repproved' | 'deleted';
|
|
77
77
|
profile: Types.ObjectId | Profile;
|
|
78
78
|
action: Types.ObjectId | Action;
|
|
@@ -111,7 +111,7 @@ __decorate([
|
|
|
111
111
|
__metadata("design:type", String)
|
|
112
112
|
], Content.prototype, "link", void 0);
|
|
113
113
|
__decorate([
|
|
114
|
-
(0, mongoose_1.Prop)({ type: String, enum: ['reel', 'image', 'carousel', 'story', 'video'], required: true }),
|
|
114
|
+
(0, mongoose_1.Prop)({ type: String, enum: ['reel', 'image', 'carousel', 'story', 'video', 'post', 'pin'], required: true }),
|
|
115
115
|
__metadata("design:type", String)
|
|
116
116
|
], Content.prototype, "type", void 0);
|
|
117
117
|
__decorate([
|
|
@@ -119,7 +119,7 @@ __decorate([
|
|
|
119
119
|
__metadata("design:type", String)
|
|
120
120
|
], Content.prototype, "tagType", void 0);
|
|
121
121
|
__decorate([
|
|
122
|
-
(0, mongoose_1.Prop)({ type: String, enum: ['instagram', 'tiktok', 'youtube'], required: true }),
|
|
122
|
+
(0, mongoose_1.Prop)({ type: String, enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin'], required: true }),
|
|
123
123
|
__metadata("design:type", String)
|
|
124
124
|
], Content.prototype, "socialnetwork", void 0);
|
|
125
125
|
__decorate([
|
|
@@ -50,7 +50,7 @@ export declare const ReviewSchema: MongooseSchema<Review, import("mongoose").Mod
|
|
|
50
50
|
}>;
|
|
51
51
|
export declare class Pending {
|
|
52
52
|
requester: Requester;
|
|
53
|
-
type: "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others";
|
|
53
|
+
type: "influencer" | "advisor" | "employee_refund" | "influencer_extra" | "influencer_refund" | "partlog" | "airplane_ticket" | "hotel_ticket" | "supplier" | "rumo_certo" | "correios" | "conta_simples" | "motoboy_bruno" | "motoboy_others";
|
|
54
54
|
purpose?: 'Envio SP' | 'Envio Outros' | 'Passagem' | 'Hospedagem' | 'Compras' | 'Logistica Time' | 'Outros';
|
|
55
55
|
adidasCategory?: 'Originals' | 'Running' | 'Football' | 'Training' | 'Omni';
|
|
56
56
|
influencer?: Types.ObjectId | Influencer;
|
package/package.json
CHANGED
|
@@ -79,14 +79,14 @@ export class Content {
|
|
|
79
79
|
@Prop({ types: String, required: true })
|
|
80
80
|
link: string;
|
|
81
81
|
|
|
82
|
-
@Prop({ type: String, enum: ['reel', 'image', 'carousel', 'story', 'video'], required: true })
|
|
83
|
-
type: 'reel' | 'carousel' | 'image' | 'story' | 'video';
|
|
82
|
+
@Prop({ type: String, enum: ['reel', 'image', 'carousel', 'story', 'video', 'post', 'pin'], required: true })
|
|
83
|
+
type: 'reel' | 'carousel' | 'image' | 'story' | 'video' | 'post' | 'pin';
|
|
84
84
|
|
|
85
85
|
@Prop({ type: String, enum: ['withTag', 'withoutTag', 'brandExposure'], required: true })
|
|
86
86
|
tagType: 'withTag' | 'withoutTag' | 'brandExposure';
|
|
87
87
|
|
|
88
|
-
@Prop({ type: String, enum: ['instagram', 'tiktok', 'youtube'], required: true })
|
|
89
|
-
socialnetwork: 'instagram' | 'tiktok' | 'youtube';
|
|
88
|
+
@Prop({ type: String, enum: ['instagram', 'tiktok', 'youtube', 'pinterest', 'linkedin'], required: true })
|
|
89
|
+
socialnetwork: 'instagram' | 'tiktok' | 'youtube' | 'pinterest' | 'linkedin';
|
|
90
90
|
|
|
91
91
|
@Prop({
|
|
92
92
|
type: String,
|
|
@@ -46,6 +46,8 @@ export class Pending {
|
|
|
46
46
|
@Prop({
|
|
47
47
|
type: String,
|
|
48
48
|
enum: [
|
|
49
|
+
"influencer",
|
|
50
|
+
"advisor",
|
|
49
51
|
"employee_refund",
|
|
50
52
|
"influencer_extra",
|
|
51
53
|
"influencer_refund",
|
|
@@ -61,6 +63,8 @@ export class Pending {
|
|
|
61
63
|
]
|
|
62
64
|
})
|
|
63
65
|
type:
|
|
66
|
+
"influencer" |
|
|
67
|
+
"advisor" |
|
|
64
68
|
"employee_refund" |
|
|
65
69
|
"influencer_extra" |
|
|
66
70
|
"influencer_refund" |
|