@creator.co/creatorco-kysely-types 1.0.73 → 1.0.75
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 +20 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -57,6 +57,9 @@ export type ArchivedSocialPost = {
|
|
|
57
57
|
title: string | null;
|
|
58
58
|
description: string | null;
|
|
59
59
|
url: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated This is here so we have some external identifier to quickly search by
|
|
62
|
+
*/
|
|
60
63
|
urlPath: string | null;
|
|
61
64
|
format: string | null;
|
|
62
65
|
type: string | null;
|
|
@@ -187,7 +190,13 @@ export type Campaign = {
|
|
|
187
190
|
minPaidAmount: number | null;
|
|
188
191
|
maxPaidAmount: number | null;
|
|
189
192
|
paymentType: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* @deprecated redundant
|
|
195
|
+
*/
|
|
190
196
|
monthlyActivatedGoal: number | null;
|
|
197
|
+
/**
|
|
198
|
+
* @deprecated redundant
|
|
199
|
+
*/
|
|
191
200
|
expectedOptIns: number | null;
|
|
192
201
|
goalActivations: number | null;
|
|
193
202
|
goalOptIns: number | null;
|
|
@@ -327,6 +336,9 @@ export type CreatorProfile = {
|
|
|
327
336
|
country: string | null;
|
|
328
337
|
region: string | null;
|
|
329
338
|
birthDate: Timestamp | null;
|
|
339
|
+
/**
|
|
340
|
+
* @deprecated
|
|
341
|
+
*/
|
|
330
342
|
interests: Json | null;
|
|
331
343
|
gender: string | null;
|
|
332
344
|
shippingAddress1: string | null;
|
|
@@ -397,7 +409,7 @@ export type FacebookProfile = {
|
|
|
397
409
|
userId: number | null;
|
|
398
410
|
};
|
|
399
411
|
export type File = {
|
|
400
|
-
id: string
|
|
412
|
+
id: GeneratedAlways<string>;
|
|
401
413
|
brandId: number;
|
|
402
414
|
name: string;
|
|
403
415
|
description: string | null;
|
|
@@ -455,6 +467,9 @@ export type InstagramProfile = {
|
|
|
455
467
|
hasGuides: boolean | null;
|
|
456
468
|
hasChannel: boolean | null;
|
|
457
469
|
totalIgtvVideos: number | null;
|
|
470
|
+
/**
|
|
471
|
+
* @deprecated
|
|
472
|
+
*/
|
|
458
473
|
profilePicUrlHd: string | null;
|
|
459
474
|
lastStoriesUpdate: Timestamp | null;
|
|
460
475
|
extraData: Json | null;
|
|
@@ -509,6 +524,9 @@ export type OptIn = {
|
|
|
509
524
|
seen: Generated<boolean>;
|
|
510
525
|
instructions: string | null;
|
|
511
526
|
paymentAmount: number | null;
|
|
527
|
+
/**
|
|
528
|
+
* @deprecated join with TrolleyPayment for actual status
|
|
529
|
+
*/
|
|
512
530
|
paymentStatus: Generated<string>;
|
|
513
531
|
extraData: Generated<Json>;
|
|
514
532
|
favoritedDate: Timestamp | null;
|
|
@@ -516,6 +534,7 @@ export type OptIn = {
|
|
|
516
534
|
userId: number;
|
|
517
535
|
campaignId: number;
|
|
518
536
|
currentStepId: number | null;
|
|
537
|
+
previousOptInId: number | null;
|
|
519
538
|
};
|
|
520
539
|
export type OptInStep = {
|
|
521
540
|
id: GeneratedAlways<number>;
|