@creator.co/creatorco-kysely-types 1.0.61-alpha-b23a5b2 → 1.0.61
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/index.d.ts +17 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export type BrandContract = {
|
|
|
111
111
|
brandId: number;
|
|
112
112
|
createdAt: Generated<Timestamp>;
|
|
113
113
|
updatedAt: Timestamp;
|
|
114
|
-
|
|
114
|
+
fileId: string | null;
|
|
115
115
|
contractType: string;
|
|
116
116
|
startDate: Timestamp;
|
|
117
117
|
endDate: Timestamp | null;
|
|
@@ -349,23 +349,6 @@ export type CreatorToCategory = {
|
|
|
349
349
|
creatorProfileId: number;
|
|
350
350
|
categoryId: number;
|
|
351
351
|
};
|
|
352
|
-
export type EmailCredentials = {
|
|
353
|
-
id: GeneratedAlways<number>;
|
|
354
|
-
smtpHost: string;
|
|
355
|
-
smtpUser: string;
|
|
356
|
-
smtpPassword: string;
|
|
357
|
-
smtpSenderName: string;
|
|
358
|
-
smtpSenderEmail: string;
|
|
359
|
-
smtpReplyToEmail: string;
|
|
360
|
-
smtpPort: number;
|
|
361
|
-
imapHost: string;
|
|
362
|
-
imapUser: string;
|
|
363
|
-
imapPassword: string;
|
|
364
|
-
imapPort: number;
|
|
365
|
-
imapIsSecure: boolean;
|
|
366
|
-
metaData: Generated<Json>;
|
|
367
|
-
brandId: number;
|
|
368
|
-
};
|
|
369
352
|
export type EmailTemplate = {
|
|
370
353
|
id: GeneratedAlways<number>;
|
|
371
354
|
label: string | null;
|
|
@@ -399,6 +382,21 @@ export type FacebookProfile = {
|
|
|
399
382
|
visibility: Generated<string | null>;
|
|
400
383
|
userId: number | null;
|
|
401
384
|
};
|
|
385
|
+
export type File = {
|
|
386
|
+
id: string;
|
|
387
|
+
brandId: number;
|
|
388
|
+
name: string;
|
|
389
|
+
description: string | null;
|
|
390
|
+
status: number;
|
|
391
|
+
md5: string;
|
|
392
|
+
type: string;
|
|
393
|
+
size: number;
|
|
394
|
+
createdByUserId: number;
|
|
395
|
+
editedByUserId: number | null;
|
|
396
|
+
createdAt: Generated<Timestamp>;
|
|
397
|
+
updatedAt: Timestamp;
|
|
398
|
+
archivedAt: Timestamp | null;
|
|
399
|
+
};
|
|
402
400
|
export type Image = {
|
|
403
401
|
id: GeneratedAlways<number>;
|
|
404
402
|
url: string;
|
|
@@ -617,7 +615,6 @@ export type Sequence = {
|
|
|
617
615
|
completed: Generated<boolean>;
|
|
618
616
|
brandId: number;
|
|
619
617
|
enabled: Generated<boolean>;
|
|
620
|
-
emailCredentialsId: number;
|
|
621
618
|
};
|
|
622
619
|
export type SequenceImapCheckpoint = {
|
|
623
620
|
sequenceId: number;
|
|
@@ -932,10 +929,10 @@ export type DB = {
|
|
|
932
929
|
creatorprofile: CreatorProfile;
|
|
933
930
|
creatorsearchfilter: CreatorSearchFilter;
|
|
934
931
|
CreatorToCategory: CreatorToCategory;
|
|
935
|
-
emailCredentials: EmailCredentials;
|
|
936
932
|
EmailTemplate: EmailTemplate;
|
|
937
933
|
externalAffiliateClick: ExternalAffiliateClick;
|
|
938
934
|
facebookprofile: FacebookProfile;
|
|
935
|
+
File: File;
|
|
939
936
|
image: Image;
|
|
940
937
|
ImpactRadiusEvent: ImpactRadiusEvent;
|
|
941
938
|
instagramprofile: InstagramProfile;
|