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