@creator.co/creatorco-kysely-types 1.0.18 → 1.0.20-alpha-995a7a0

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 +28 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export type AffiliateClick = {
11
11
  id: GeneratedAlways<number>;
12
12
  created: Generated<Timestamp>;
13
13
  visitorIp: string | null;
14
+ optInId: number;
14
15
  metaData: Generated<Json>;
15
16
  affiliateLinkId: number;
16
17
  };
@@ -480,6 +481,30 @@ export type SequenceStep = {
480
481
  order: number;
481
482
  stepId: number;
482
483
  };
484
+ export type ShopifyProduct = {
485
+ id: GeneratedAlways<number>;
486
+ shopifyId: string;
487
+ title: string;
488
+ handle: string;
489
+ createdAt: Timestamp | null;
490
+ updatedAt: Timestamp | null;
491
+ description: string | null;
492
+ price: number;
493
+ tags: string | null;
494
+ status: string;
495
+ metaData: Generated<Json>;
496
+ lastSynced: Generated<Timestamp>;
497
+ shopifyStoreId: number;
498
+ };
499
+ export type ShopifyStore = {
500
+ id: GeneratedAlways<number>;
501
+ shopifyId: string;
502
+ name: string;
503
+ url: string;
504
+ accessToken: string;
505
+ metaData: Generated<Json>;
506
+ brandId: number;
507
+ };
483
508
  export type SocialListeningList = {
484
509
  id: GeneratedAlways<number>;
485
510
  brandId: number;
@@ -526,12 +551,6 @@ export type SocialPost = {
526
551
  userId: number | null;
527
552
  campaignId: number | null;
528
553
  };
529
- export type SocialPostTag = {
530
- id: GeneratedAlways<number>;
531
- title: string;
532
- type: string;
533
- socialPostId: number;
534
- };
535
554
  export type SocialProfile = {
536
555
  id: GeneratedAlways<number>;
537
556
  socialId: string | null;
@@ -590,7 +609,7 @@ export type TrolleyPayment = {
590
609
  paymentId: string;
591
610
  type: trolleyPaymentType | null;
592
611
  status: trolleyPaymentStatus;
593
- optInId: number;
612
+ optInId: number | null;
594
613
  paymentAmount: number;
595
614
  metaData: Generated<Json>;
596
615
  };
@@ -729,9 +748,10 @@ export type DB = {
729
748
  sequenceinboundemail: SequenceInboundEmail;
730
749
  sequenceoutboundemail: SequenceOutboundEmail;
731
750
  sequencestep: SequenceStep;
751
+ shopify_product: ShopifyProduct;
752
+ shopify_store: ShopifyStore;
732
753
  sociallisteninglist: SocialListeningList;
733
754
  socialpost: SocialPost;
734
- socialposttag: SocialPostTag;
735
755
  socialprofile: SocialProfile;
736
756
  state: State;
737
757
  step: Step;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.18",
3
+ "version": "1.0.20-alpha-995a7a0",
4
4
  "types": "./index.d.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {