@creator.co/creatorco-kysely-types 1.0.56 → 1.0.57-alpha-4c71c2e
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 +13 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -20,13 +20,17 @@ export type AffiliateEvent = {
|
|
|
20
20
|
id: GeneratedAlways<number>;
|
|
21
21
|
event: string;
|
|
22
22
|
created: Generated<Timestamp>;
|
|
23
|
+
updatedAt: Timestamp | null;
|
|
23
24
|
visitorIp: string | null;
|
|
24
25
|
urlPath: string | null;
|
|
25
26
|
revenue: number | null;
|
|
26
27
|
commissionAmount: number | null;
|
|
27
28
|
commissionPercent: number | null;
|
|
29
|
+
platform: string | null;
|
|
30
|
+
externalOrderId: string | null;
|
|
28
31
|
metaData: Generated<Json>;
|
|
29
32
|
affiliateClickId: number;
|
|
33
|
+
affiliatePayoutBatchId: number | null;
|
|
30
34
|
};
|
|
31
35
|
export type AffiliateLink = {
|
|
32
36
|
id: GeneratedAlways<number>;
|
|
@@ -35,6 +39,14 @@ export type AffiliateLink = {
|
|
|
35
39
|
userId: number;
|
|
36
40
|
brandAffiliateLinkId: number;
|
|
37
41
|
};
|
|
42
|
+
export type AffiliatePayoutBatch = {
|
|
43
|
+
id: GeneratedAlways<number>;
|
|
44
|
+
createdAt: Generated<Timestamp>;
|
|
45
|
+
updatedAt: Timestamp;
|
|
46
|
+
metaData: Generated<Json>;
|
|
47
|
+
trolleyBatchId: string | null;
|
|
48
|
+
userId: number;
|
|
49
|
+
};
|
|
38
50
|
export type ArchivedSocialPost = {
|
|
39
51
|
id: GeneratedAlways<number>;
|
|
40
52
|
phylloId: string | null;
|
|
@@ -844,6 +856,7 @@ export type YoutubeProfile = {
|
|
|
844
856
|
brandId: number | null;
|
|
845
857
|
};
|
|
846
858
|
export type DB = {
|
|
859
|
+
affiliatePayoutBatch: AffiliatePayoutBatch;
|
|
847
860
|
AffiliateClick: AffiliateClick;
|
|
848
861
|
AffiliateEvent: AffiliateEvent;
|
|
849
862
|
AffiliateLink: AffiliateLink;
|