@creator.co/creatorco-kysely-types 1.0.46-alpha-cbcafab → 1.0.47-alpha-15ad3c3

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 +18 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -565,12 +565,20 @@ export type SequenceStep = {
565
565
  };
566
566
  export type ShareASaleEvent = {
567
567
  id: GeneratedAlways<number>;
568
+ transactionId: string | null;
568
569
  created: Generated<Timestamp>;
569
- saleAmount: number | null;
570
- commission: number | null;
570
+ saleAmount: string | null;
571
+ commission: string | null;
571
572
  metaData: Generated<Json>;
572
573
  optinId: number | null;
573
574
  };
575
+ export type ShopifyDiscountCode = {
576
+ id: GeneratedAlways<number>;
577
+ code: string;
578
+ discount: number;
579
+ priceRuleId: string | null;
580
+ optinId: number;
581
+ };
574
582
  export type ShopifyProduct = {
575
583
  id: GeneratedAlways<number>;
576
584
  shopifyId: string;
@@ -588,6 +596,12 @@ export type ShopifyProductVariation = {
588
596
  metaData: Generated<Json>;
589
597
  shopifyProductId: number;
590
598
  };
599
+ export type ShopifySale = {
600
+ id: GeneratedAlways<number>;
601
+ amount: number;
602
+ metaData: Json | null;
603
+ discountCodeId: number;
604
+ };
591
605
  export type ShopifyStore = {
592
606
  id: GeneratedAlways<number>;
593
607
  name: string | null;
@@ -853,8 +867,10 @@ export type DB = {
853
867
  sequenceoutboundemail: SequenceOutboundEmail;
854
868
  sequencestep: SequenceStep;
855
869
  shareasaleEvent: ShareASaleEvent;
870
+ shopifyDiscountCode: ShopifyDiscountCode;
856
871
  shopifyProduct: ShopifyProduct;
857
872
  shopifyProductVariation: ShopifyProductVariation;
873
+ shopifySale: ShopifySale;
858
874
  shopifyStore: ShopifyStore;
859
875
  sociallisteninglist: SocialListeningList;
860
876
  socialpost: SocialPost;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.46-alpha-cbcafab",
3
+ "version": "1.0.47-alpha-15ad3c3",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {