@grapadigital/shared-app-modules 0.0.43
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/README.md +29 -0
- package/dist/action.d.ts +516 -0
- package/dist/action.js +1 -0
- package/dist/assets/accordion.css +1 -0
- package/dist/chuncks/accordion.C3syX7hT.js +10898 -0
- package/dist/chuncks/card.BZIarLnp.js +90 -0
- package/dist/client.d.ts +66 -0
- package/dist/client.js +1 -0
- package/dist/components.d.ts +83 -0
- package/dist/components.js +700 -0
- package/dist/constants.d.ts +5 -0
- package/dist/constants.js +5 -0
- package/dist/content.d.ts +516 -0
- package/dist/content.js +1 -0
- package/dist/contract.d.ts +19 -0
- package/dist/contract.js +1 -0
- package/dist/curation.d.ts +110 -0
- package/dist/curation.js +1 -0
- package/dist/dataservices.d.ts +5 -0
- package/dist/dataservices.js +1 -0
- package/dist/hooks.d.ts +3 -0
- package/dist/hooks.js +15 -0
- package/dist/influencer.d.ts +69 -0
- package/dist/influencer.js +1 -0
- package/dist/invoice.d.ts +516 -0
- package/dist/invoice.js +1 -0
- package/dist/libs.d.ts +1 -0
- package/dist/libs.js +1 -0
- package/dist/log.d.ts +20 -0
- package/dist/log.js +1 -0
- package/dist/pages.d.ts +14 -0
- package/dist/pages.js +52 -0
- package/dist/payment.d.ts +516 -0
- package/dist/payment.js +1 -0
- package/dist/profile.d.ts +69 -0
- package/dist/profile.js +1 -0
- package/dist/project.d.ts +42 -0
- package/dist/project.js +1 -0
- package/dist/recruitment.d.ts +516 -0
- package/dist/recruitment.js +1 -0
- package/dist/sale.d.ts +516 -0
- package/dist/sale.js +1 -0
- package/dist/shadcn.d.ts +370 -0
- package/dist/shadcn.js +3447 -0
- package/dist/supplier.d.ts +38 -0
- package/dist/supplier.js +1 -0
- package/dist/user.d.ts +35 -0
- package/dist/user.js +1 -0
- package/dist/utils.d.ts +76 -0
- package/dist/utils.js +41 -0
- package/package.json +156 -0
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
declare interface ActionInterface {
|
|
2
|
+
_id?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
clientId?: string;
|
|
5
|
+
cluster?: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
startDate?: string;
|
|
8
|
+
endDate?: string;
|
|
9
|
+
recruitments?: RecruitmentInterface[];
|
|
10
|
+
sale?: SaleInterface;
|
|
11
|
+
responsibles?: {
|
|
12
|
+
comercial: {
|
|
13
|
+
name: string;
|
|
14
|
+
email: string;
|
|
15
|
+
team: string;
|
|
16
|
+
};
|
|
17
|
+
service: {
|
|
18
|
+
name: string;
|
|
19
|
+
email: string;
|
|
20
|
+
team: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
contents?: ContentInterface[];
|
|
24
|
+
hiredInfluencers?: number;
|
|
25
|
+
hiredContent?: number;
|
|
26
|
+
thumbnail?: string;
|
|
27
|
+
socialnetworks?: string[];
|
|
28
|
+
BILink?: string;
|
|
29
|
+
BISheets?: string;
|
|
30
|
+
brandUsername?: string;
|
|
31
|
+
hashtag?: string;
|
|
32
|
+
client?: ClientInterface;
|
|
33
|
+
shopping?: string;
|
|
34
|
+
project?: string;
|
|
35
|
+
type?: "partner" | "exclusive";
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare interface AgencyCommission {
|
|
39
|
+
ranges: Range_2[];
|
|
40
|
+
startDate: string;
|
|
41
|
+
endDate: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export declare interface Approval {
|
|
45
|
+
name: string;
|
|
46
|
+
approvedAt: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare interface Attachments {
|
|
50
|
+
url: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare interface Canceled {
|
|
55
|
+
reason: string;
|
|
56
|
+
notes: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare interface Canceled_2 {
|
|
60
|
+
reason: string;
|
|
61
|
+
notes: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare interface ClientInterface extends UserInterface {
|
|
65
|
+
clusters?: ClusterInterface[];
|
|
66
|
+
companies?: CompanyInterface[];
|
|
67
|
+
agencyCommission?: AgencyCommission[];
|
|
68
|
+
hasAgencyCommission?: boolean;
|
|
69
|
+
type?: "agency" | "brand";
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare interface ClusterInterface {
|
|
73
|
+
key: string;
|
|
74
|
+
label: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare interface Collab {
|
|
78
|
+
hasCollab: boolean;
|
|
79
|
+
description?: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare interface CommissionInterface {
|
|
83
|
+
marginPercentage: number;
|
|
84
|
+
commissionPercentage: number;
|
|
85
|
+
totalCommissionValue: number;
|
|
86
|
+
participants: Participant[];
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare interface CompanyInterface {
|
|
90
|
+
legalName: string;
|
|
91
|
+
document: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare interface ContentInterface {
|
|
95
|
+
_id?: string;
|
|
96
|
+
caption?: string;
|
|
97
|
+
profileId?: string;
|
|
98
|
+
profile: ProfileInterface;
|
|
99
|
+
actionId?: string;
|
|
100
|
+
action: string | ActionInterface;
|
|
101
|
+
metrics?: ContentMetric;
|
|
102
|
+
estimates?: ContentMetric;
|
|
103
|
+
thumbnailUrl?: string | null;
|
|
104
|
+
mediaUrl?: string | null;
|
|
105
|
+
type?: "reel" | "carousel" | "image" | "story" | "video";
|
|
106
|
+
tagType?: "withTag" | "withoutTag" | "brandExposure";
|
|
107
|
+
socialnetwork?: "instagram" | "tiktok" | "youtube";
|
|
108
|
+
postedAt?: string;
|
|
109
|
+
link?: string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare interface ContentMetric {
|
|
113
|
+
likeCount?: number;
|
|
114
|
+
commentCount?: number;
|
|
115
|
+
impressionCount?: number;
|
|
116
|
+
replayCount?: number;
|
|
117
|
+
playCount?: number;
|
|
118
|
+
reachCount?: number;
|
|
119
|
+
savedCount?: number;
|
|
120
|
+
sharesCount?: number;
|
|
121
|
+
engagementCount?: number;
|
|
122
|
+
engagementRate?: number;
|
|
123
|
+
tapBackCount?: number;
|
|
124
|
+
tapExit?: number;
|
|
125
|
+
tapForward?: number;
|
|
126
|
+
replyCount?: number;
|
|
127
|
+
clickCount?: number;
|
|
128
|
+
storyCount?: number;
|
|
129
|
+
emv?: number;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare interface ContractedScopeInterface {
|
|
133
|
+
email?: string;
|
|
134
|
+
delivery: DeliveryScope;
|
|
135
|
+
sendAcceptanceTerm: boolean;
|
|
136
|
+
totalAcceptanceTermSent: number;
|
|
137
|
+
exclusivity: boolean;
|
|
138
|
+
childPermit: boolean;
|
|
139
|
+
rights?: Rights;
|
|
140
|
+
payment?: Payment;
|
|
141
|
+
passThrough: boolean;
|
|
142
|
+
advisorPayment?: Payment;
|
|
143
|
+
exchange?: Exchange;
|
|
144
|
+
collab?: Collab;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
declare interface DeliveryScope {
|
|
148
|
+
reels?: number | null;
|
|
149
|
+
images?: number | null;
|
|
150
|
+
carousels?: number | null;
|
|
151
|
+
stories?: number | null;
|
|
152
|
+
tiktok?: number | null;
|
|
153
|
+
youtube?: number | null;
|
|
154
|
+
dayAllocation?: number | null;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare interface Exchange {
|
|
158
|
+
hasExchange: boolean;
|
|
159
|
+
description?: string;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare interface FormalizationInterface {
|
|
163
|
+
billingTriggerEvent: string;
|
|
164
|
+
estimatedIssueDate: string;
|
|
165
|
+
estimatedDueDate: string;
|
|
166
|
+
paymentTerms: string;
|
|
167
|
+
handlingInvoices: string;
|
|
168
|
+
finalScope: string;
|
|
169
|
+
agency: ClientInterface;
|
|
170
|
+
brand: ClientInterface;
|
|
171
|
+
totalInstallments: number;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare interface Inbox {
|
|
175
|
+
document: string;
|
|
176
|
+
legalName: string;
|
|
177
|
+
acceptanceDocument: string;
|
|
178
|
+
invoiceDescription: string;
|
|
179
|
+
influencerInvoiceDescription: string;
|
|
180
|
+
approvalDocument: string;
|
|
181
|
+
invoiceEmail: string;
|
|
182
|
+
emissionNotes: string;
|
|
183
|
+
installmentRevenue: number;
|
|
184
|
+
installmentGrossIncomeValue: number;
|
|
185
|
+
installmentInfluencerBroadcastValue: number;
|
|
186
|
+
installmentProductionAndOthersValue: number;
|
|
187
|
+
estimatedIssueDate: string;
|
|
188
|
+
estimatedDueDate: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
declare interface InfluencerInterface extends UserInterface {
|
|
192
|
+
financialManagementSheet?: string;
|
|
193
|
+
isExclusive?: boolean;
|
|
194
|
+
advisor?: {
|
|
195
|
+
firstName?: string;
|
|
196
|
+
lastName?: string;
|
|
197
|
+
email?: string;
|
|
198
|
+
legalName?: string;
|
|
199
|
+
document?: string;
|
|
200
|
+
phone?: string;
|
|
201
|
+
};
|
|
202
|
+
profiles?: ProfileInterface[];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
declare interface InstallmentInfo {
|
|
206
|
+
number: number;
|
|
207
|
+
value: number;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare type InstallmentInfoArray = Array<InstallmentInfo>;
|
|
211
|
+
|
|
212
|
+
declare interface Invoiced {
|
|
213
|
+
code: string;
|
|
214
|
+
issueDate: string;
|
|
215
|
+
dueDate: string;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare interface InvoiceInterface {
|
|
219
|
+
_id: string;
|
|
220
|
+
title: string;
|
|
221
|
+
installmentNumber: number;
|
|
222
|
+
phase: InvoicePhase;
|
|
223
|
+
sale: SaleInterface;
|
|
224
|
+
inbox?: Inbox;
|
|
225
|
+
review?: Review_2;
|
|
226
|
+
invoiced?: Invoiced;
|
|
227
|
+
received?: Received;
|
|
228
|
+
canceled?: Canceled_2;
|
|
229
|
+
notes?: Note_3[];
|
|
230
|
+
tags?: string[];
|
|
231
|
+
createdAt?: Date;
|
|
232
|
+
updatedAt?: Date;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare type InvoicePhase = "inbox" | "review" | "awaiting" | "invoiced" | "received" | "canceled";
|
|
236
|
+
|
|
237
|
+
declare interface LostInterface {
|
|
238
|
+
reason: "declined" | "other";
|
|
239
|
+
details?: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
declare interface NegotiationInterface {
|
|
243
|
+
calculatorType: "withPreDefinedBudget" | "withoutPreDefinedBudget" | "bourbon";
|
|
244
|
+
childPermit?: boolean;
|
|
245
|
+
childPermitValue?: number;
|
|
246
|
+
childPermitMethod?: SalePaymentMethod;
|
|
247
|
+
influencerBroadcastValue: number;
|
|
248
|
+
influencerBroadcastMethod: SalePaymentMethod;
|
|
249
|
+
productionAndOthersValue: number;
|
|
250
|
+
productionAndOthersMethod: SalePaymentMethod;
|
|
251
|
+
influencerBroadcastCosts: number;
|
|
252
|
+
productionAndOthersCosts: number;
|
|
253
|
+
commissionRate: number;
|
|
254
|
+
broadcastBonusRate: number;
|
|
255
|
+
taxRate: number;
|
|
256
|
+
budget: number;
|
|
257
|
+
activationValue: number;
|
|
258
|
+
revenue: number;
|
|
259
|
+
transferValue: number;
|
|
260
|
+
taxValue: number;
|
|
261
|
+
ISSQNValue: number;
|
|
262
|
+
broadcastBonusValue: number;
|
|
263
|
+
debitNoteValue: number;
|
|
264
|
+
freeValue: number;
|
|
265
|
+
grossProfitRate: number;
|
|
266
|
+
takeRate: number;
|
|
267
|
+
grossIncomeValue: number;
|
|
268
|
+
isDollarNegotiation: boolean;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export declare interface Note {
|
|
272
|
+
text: string;
|
|
273
|
+
owner: string;
|
|
274
|
+
createdAt: string;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare interface Note_2 {
|
|
278
|
+
text: string;
|
|
279
|
+
owner: string;
|
|
280
|
+
createdAt: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare interface Note_3 {
|
|
284
|
+
text: string;
|
|
285
|
+
owner: string;
|
|
286
|
+
createdAt: string;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export declare interface Paid {
|
|
290
|
+
date: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare interface Participant {
|
|
294
|
+
role: ParticipantRole;
|
|
295
|
+
email: string;
|
|
296
|
+
percentage: number;
|
|
297
|
+
value: number;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
declare type ParticipantRole = "origination" | "commercial" | "planning" | "curation";
|
|
301
|
+
|
|
302
|
+
declare interface Payment {
|
|
303
|
+
hasPayment: boolean;
|
|
304
|
+
value?: number;
|
|
305
|
+
deadline?: number;
|
|
306
|
+
hasInstallment: boolean;
|
|
307
|
+
installmentInfo?: InstallmentInfoArray;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export declare interface PaymentInterface {
|
|
311
|
+
_id: string;
|
|
312
|
+
title: string;
|
|
313
|
+
attachments: Attachments[];
|
|
314
|
+
pending?: Pending;
|
|
315
|
+
review?: Review;
|
|
316
|
+
approval?: Approval;
|
|
317
|
+
requested?: Requested;
|
|
318
|
+
queued?: Queued;
|
|
319
|
+
paid?: Paid;
|
|
320
|
+
canceled?: Canceled;
|
|
321
|
+
notes?: Note[];
|
|
322
|
+
tags?: string[];
|
|
323
|
+
phase: PaymentPhase;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export declare type PaymentPhase = "pending" | "review" | "approval" | "awaiting" | "requested" | "received" | "queued" | "paid" | "client" | "canceled";
|
|
327
|
+
|
|
328
|
+
export declare type PaymentType = "influencer" | "advisor" | "supplier" | "employee_refund" | "influencer_refund" | "influencer_extra" | "logistics_control" | "transfer_between_accounts";
|
|
329
|
+
|
|
330
|
+
export declare interface Pending {
|
|
331
|
+
requester: Requester;
|
|
332
|
+
type: PaymentType;
|
|
333
|
+
influencer?: InfluencerInterface;
|
|
334
|
+
recruitment?: RecruitmentInterface;
|
|
335
|
+
supplier?: SupplierInterface;
|
|
336
|
+
action: ActionInterface;
|
|
337
|
+
invoice: InvoiceInterface;
|
|
338
|
+
sale: SaleInterface;
|
|
339
|
+
value: number;
|
|
340
|
+
description: string;
|
|
341
|
+
installmentNumber: number;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare interface ProfileInterface {
|
|
345
|
+
_id: string;
|
|
346
|
+
username: string;
|
|
347
|
+
followers: number;
|
|
348
|
+
picture?: string;
|
|
349
|
+
socialnetwork?: string;
|
|
350
|
+
metrics?: ProfileMetric;
|
|
351
|
+
socialnetworkId?: string;
|
|
352
|
+
influencer?: InfluencerInterface | string;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
declare interface ProfileMetric {
|
|
356
|
+
medianImpressionsFeed: number;
|
|
357
|
+
medianImpressionsStories: number;
|
|
358
|
+
medianReachFeed: number;
|
|
359
|
+
medianReachStories: number;
|
|
360
|
+
medianEngagementRateFeed: number;
|
|
361
|
+
medianEngagementRateStories: number;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
declare interface ProposalInterface {
|
|
365
|
+
businessUnit: "enterprise" | "artistic";
|
|
366
|
+
type: "inbound" | "outbound";
|
|
367
|
+
contact: string;
|
|
368
|
+
initialScope: string;
|
|
369
|
+
profile: ProfileInterface;
|
|
370
|
+
responsable: {
|
|
371
|
+
team: string;
|
|
372
|
+
name: string;
|
|
373
|
+
email: string;
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export declare interface Queued {
|
|
378
|
+
issueDate: string;
|
|
379
|
+
dueDate: string;
|
|
380
|
+
code: string;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare interface Range_2 {
|
|
384
|
+
startValue: number;
|
|
385
|
+
endValue: number;
|
|
386
|
+
percent: number;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare interface Received {
|
|
390
|
+
date: string;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
declare interface RecruitmentInterface {
|
|
394
|
+
_id: string;
|
|
395
|
+
username: string;
|
|
396
|
+
status: string;
|
|
397
|
+
actionId: string;
|
|
398
|
+
profileId: string;
|
|
399
|
+
profile: ProfileInterface;
|
|
400
|
+
reel: ContentInterface[];
|
|
401
|
+
story: ContentInterface[];
|
|
402
|
+
carousel: ContentInterface[];
|
|
403
|
+
image: ContentInterface[];
|
|
404
|
+
tiktok: ContentInterface[];
|
|
405
|
+
youtube: ContentInterface[];
|
|
406
|
+
scope: ContractedScopeInterface;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export declare interface Requested {
|
|
410
|
+
date: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export declare interface Requester {
|
|
414
|
+
name: string;
|
|
415
|
+
email: string;
|
|
416
|
+
team: string;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export declare interface Review {
|
|
420
|
+
emissionNotes: string;
|
|
421
|
+
revisedDueDate: string;
|
|
422
|
+
revisedIssueDate: string;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
declare interface Review_2 {
|
|
426
|
+
revisedIssueDate: string;
|
|
427
|
+
revisedDueDate: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
declare interface Rights {
|
|
431
|
+
repost?: {
|
|
432
|
+
granted: boolean;
|
|
433
|
+
period?: string | null;
|
|
434
|
+
};
|
|
435
|
+
boost?: {
|
|
436
|
+
granted: boolean;
|
|
437
|
+
period?: string | null;
|
|
438
|
+
};
|
|
439
|
+
imageUsage?: {
|
|
440
|
+
granted: boolean;
|
|
441
|
+
period?: string | null;
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
declare interface SaleInterface {
|
|
446
|
+
phase: "screening" | "proposal" | "negotiation" | "commission" | "formalization" | "closed" | "lost";
|
|
447
|
+
_id: string;
|
|
448
|
+
title: string;
|
|
449
|
+
pipefyId: string;
|
|
450
|
+
screening?: ScreeningInterface;
|
|
451
|
+
proposal?: ProposalInterface;
|
|
452
|
+
negotiation?: NegotiationInterface;
|
|
453
|
+
formalization?: FormalizationInterface;
|
|
454
|
+
lost?: LostInterface;
|
|
455
|
+
notes?: Note_2[];
|
|
456
|
+
actions?: ActionInterface[];
|
|
457
|
+
invoices?: InvoiceInterface[];
|
|
458
|
+
payments?: PaymentInterface[];
|
|
459
|
+
commission?: CommissionInterface;
|
|
460
|
+
tags?: string[];
|
|
461
|
+
profile?: {
|
|
462
|
+
_id: string;
|
|
463
|
+
username: string;
|
|
464
|
+
};
|
|
465
|
+
closedAt?: string;
|
|
466
|
+
isDollarNegotiation: boolean;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
declare type SalePaymentMethod = "transfer" | "direct" | "debit_note" | "client";
|
|
470
|
+
|
|
471
|
+
declare interface ScreeningInterface {
|
|
472
|
+
subject: string;
|
|
473
|
+
fromName: string;
|
|
474
|
+
fromAddress: string;
|
|
475
|
+
toAddress: string;
|
|
476
|
+
text: string;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare interface SupplierInterface extends UserInterface {
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
declare interface UserInterface {
|
|
483
|
+
_id?: string;
|
|
484
|
+
name?: string;
|
|
485
|
+
document?: string;
|
|
486
|
+
email?: string;
|
|
487
|
+
phone?: string;
|
|
488
|
+
picture?: string;
|
|
489
|
+
address?: {
|
|
490
|
+
zipcode?: string;
|
|
491
|
+
city?: string;
|
|
492
|
+
state?: string;
|
|
493
|
+
street?: string;
|
|
494
|
+
number?: string;
|
|
495
|
+
complement?: string;
|
|
496
|
+
};
|
|
497
|
+
company?: {
|
|
498
|
+
legalName?: string;
|
|
499
|
+
document?: string;
|
|
500
|
+
bank?: string;
|
|
501
|
+
agency?: string;
|
|
502
|
+
account?: string;
|
|
503
|
+
digit?: string;
|
|
504
|
+
pix?: string;
|
|
505
|
+
};
|
|
506
|
+
individual?: {
|
|
507
|
+
rg?: string;
|
|
508
|
+
cpf?: string;
|
|
509
|
+
birthday?: string;
|
|
510
|
+
maritalStatus?: string;
|
|
511
|
+
nationality?: string;
|
|
512
|
+
profession?: string;
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export { }
|
package/dist/payment.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare interface InfluencerInterface extends UserInterface {
|
|
2
|
+
financialManagementSheet?: string;
|
|
3
|
+
isExclusive?: boolean;
|
|
4
|
+
advisor?: {
|
|
5
|
+
firstName?: string;
|
|
6
|
+
lastName?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
legalName?: string;
|
|
9
|
+
document?: string;
|
|
10
|
+
phone?: string;
|
|
11
|
+
};
|
|
12
|
+
profiles?: ProfileInterface[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export declare interface ProfileInterface {
|
|
16
|
+
_id: string;
|
|
17
|
+
username: string;
|
|
18
|
+
followers: number;
|
|
19
|
+
picture?: string;
|
|
20
|
+
socialnetwork?: string;
|
|
21
|
+
metrics?: ProfileMetric;
|
|
22
|
+
socialnetworkId?: string;
|
|
23
|
+
influencer?: InfluencerInterface | string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export declare interface ProfileMetric {
|
|
27
|
+
medianImpressionsFeed: number;
|
|
28
|
+
medianImpressionsStories: number;
|
|
29
|
+
medianReachFeed: number;
|
|
30
|
+
medianReachStories: number;
|
|
31
|
+
medianEngagementRateFeed: number;
|
|
32
|
+
medianEngagementRateStories: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare interface UserInterface {
|
|
36
|
+
_id?: string;
|
|
37
|
+
name?: string;
|
|
38
|
+
document?: string;
|
|
39
|
+
email?: string;
|
|
40
|
+
phone?: string;
|
|
41
|
+
picture?: string;
|
|
42
|
+
address?: {
|
|
43
|
+
zipcode?: string;
|
|
44
|
+
city?: string;
|
|
45
|
+
state?: string;
|
|
46
|
+
street?: string;
|
|
47
|
+
number?: string;
|
|
48
|
+
complement?: string;
|
|
49
|
+
};
|
|
50
|
+
company?: {
|
|
51
|
+
legalName?: string;
|
|
52
|
+
document?: string;
|
|
53
|
+
bank?: string;
|
|
54
|
+
agency?: string;
|
|
55
|
+
account?: string;
|
|
56
|
+
digit?: string;
|
|
57
|
+
pix?: string;
|
|
58
|
+
};
|
|
59
|
+
individual?: {
|
|
60
|
+
rg?: string;
|
|
61
|
+
cpf?: string;
|
|
62
|
+
birthday?: string;
|
|
63
|
+
maritalStatus?: string;
|
|
64
|
+
nationality?: string;
|
|
65
|
+
profession?: string;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { }
|
package/dist/profile.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare interface FormatItem {
|
|
2
|
+
format: "reel" | "carousel" | "image" | "story" | "video";
|
|
3
|
+
qty: number;
|
|
4
|
+
value: number;
|
|
5
|
+
impressionCount: number;
|
|
6
|
+
reachCount: number;
|
|
7
|
+
engagementRate: number;
|
|
8
|
+
engagementCount: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare interface ProjectInterface {
|
|
12
|
+
_id?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
commissionPercentage?: number;
|
|
15
|
+
influencerCostType?: string;
|
|
16
|
+
otherCostType?: string;
|
|
17
|
+
phase?: ProjectPhase;
|
|
18
|
+
profiles?: ProjectProfileInterface[];
|
|
19
|
+
productionCosts?: ProjectProductionCostInterface[];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare type ProjectPhase = "prospect" | "pending" | "planning" | "inProgress" | "inApproval" | "done" | "cold";
|
|
23
|
+
|
|
24
|
+
export declare interface ProjectProductionCostInterface {
|
|
25
|
+
category: string;
|
|
26
|
+
description: string;
|
|
27
|
+
value: number;
|
|
28
|
+
link: string;
|
|
29
|
+
expectedDate: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export declare interface ProjectProfileInterface {
|
|
33
|
+
username: string;
|
|
34
|
+
followers: number;
|
|
35
|
+
socialnetwork: "instagram" | "tiktok" | "youtube";
|
|
36
|
+
quantity: number;
|
|
37
|
+
imageUsageRight: number;
|
|
38
|
+
boostRight: number;
|
|
39
|
+
formats: FormatItem[];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { }
|
package/dist/project.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|