@creator.co/creatorco-kysely-types 1.0.34-alpha-6895cd0 → 1.0.35

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.
Files changed (2) hide show
  1. package/index.d.ts +39 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -35,6 +35,40 @@ export type AffiliateLink = {
35
35
  userId: number;
36
36
  brandAffiliateLinkId: number;
37
37
  };
38
+ export type ArchivedSocialPost = {
39
+ id: GeneratedAlways<number>;
40
+ phylloId: string | null;
41
+ metaData: Generated<Json>;
42
+ lastFetched: Timestamp | null;
43
+ lastWebhook: Timestamp | null;
44
+ posted: Timestamp | null;
45
+ title: string | null;
46
+ description: string | null;
47
+ url: string | null;
48
+ urlPath: string | null;
49
+ format: string | null;
50
+ type: string | null;
51
+ platform: string | null;
52
+ visibility: string | null;
53
+ isSponsored: boolean | null;
54
+ hasCollaborators: boolean | null;
55
+ isOwnedByUser: boolean | null;
56
+ views: number | null;
57
+ impressions: number | null;
58
+ impressionsOrganic: number | null;
59
+ impressionsPaid: number | null;
60
+ reach: number | null;
61
+ reachOrganic: number | null;
62
+ reachPaid: number | null;
63
+ watchHours: number | null;
64
+ likes: number | null;
65
+ dislikes: number | null;
66
+ comments: number | null;
67
+ saves: number | null;
68
+ shares: number | null;
69
+ userId: number | null;
70
+ campaignId: number | null;
71
+ };
38
72
  export type Brand = {
39
73
  id: GeneratedAlways<number>;
40
74
  name: string;
@@ -388,7 +422,6 @@ export type OptInStep = {
388
422
  socialPostId: number | null;
389
423
  };
390
424
  export type OptinToProductListItem = {
391
- id: GeneratedAlways<number>;
392
425
  optInId: number;
393
426
  productListItemId: number;
394
427
  };
@@ -740,6 +773,7 @@ export type DB = {
740
773
  AffiliateClick: AffiliateClick;
741
774
  AffiliateEvent: AffiliateEvent;
742
775
  AffiliateLink: AffiliateLink;
776
+ archivedSocialPost: ArchivedSocialPost;
743
777
  brand: Brand;
744
778
  BrandAffiliateLink: BrandAffiliateLink;
745
779
  brandimage: BrandImage;
@@ -747,6 +781,7 @@ export type DB = {
747
781
  brandtoimage: BrandToImage;
748
782
  branduserprofile: BrandUserProfile;
749
783
  campaign: Campaign;
784
+ campaignToProductList: CampaignToProductList;
750
785
  campaignToShopifyProduct: CampaignToShopifyProduct;
751
786
  CampaignInvite: CampaignInvite;
752
787
  campaignpin: CampaignPin;
@@ -754,7 +789,6 @@ export type DB = {
754
789
  campaigntocategory: CampaignToCategory;
755
790
  campaigntocountry: CampaignToCountry;
756
791
  campaigntoimage: CampaignToImage;
757
- campaigntoproductlist: CampaignToProductList;
758
792
  category: Category;
759
793
  chat: Chat;
760
794
  country: Country;
@@ -773,13 +807,13 @@ export type DB = {
773
807
  message: Message;
774
808
  messagetemplate: MessageTemplate;
775
809
  optin: OptIn;
810
+ optinToProductListItem: OptinToProductListItem;
776
811
  optinstep: OptInStep;
777
- OptinToProductListItem: OptinToProductListItem;
778
812
  OptInVariable: OptInVariable;
779
813
  optinview: OptInView;
780
814
  PaymentTransaction: PaymentTransaction;
781
- ProductList: ProductList;
782
- ProductListItem: ProductListItem;
815
+ productList: ProductList;
816
+ productListItem: ProductListItem;
783
817
  rakutenactivity: RakutenActivity;
784
818
  reportcredits: ReportCredits;
785
819
  savedfile: SavedFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.34-alpha-6895cd0",
3
+ "version": "1.0.35",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {