@creator.co/creatorco-kysely-types 1.0.34-alpha-925d6bb → 1.0.34

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 +27 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -180,13 +180,13 @@ export type CampaignToImage = {
180
180
  campaignId: number;
181
181
  type: string;
182
182
  };
183
- export type CampaignToShopifyProduct = {
183
+ export type CampaignToProductList = {
184
184
  campaignId: number;
185
- shopifyProductId: number;
185
+ productListId: number;
186
186
  };
187
- export type CampaignToVariable = {
187
+ export type CampaignToShopifyProduct = {
188
188
  campaignId: number;
189
- variableId: number;
189
+ shopifyProductId: number;
190
190
  };
191
191
  export type Category = {
192
192
  id: GeneratedAlways<number>;
@@ -387,6 +387,10 @@ export type OptInStep = {
387
387
  campaignStepId: number;
388
388
  socialPostId: number | null;
389
389
  };
390
+ export type OptinToProductListItem = {
391
+ optInId: number;
392
+ productListItemId: number;
393
+ };
390
394
  export type OptInVariable = {
391
395
  id: GeneratedAlways<number>;
392
396
  optInId: number;
@@ -412,6 +416,20 @@ export type PaymentTransaction = {
412
416
  creatorId: number | null;
413
417
  prevTransactionId: number | null;
414
418
  };
419
+ export type ProductList = {
420
+ id: GeneratedAlways<number>;
421
+ title: string;
422
+ description: string | null;
423
+ metaData: Generated<Json>;
424
+ brandId: number;
425
+ };
426
+ export type ProductListItem = {
427
+ id: GeneratedAlways<number>;
428
+ title: string;
429
+ description: string | null;
430
+ metaData: Generated<Json>;
431
+ productListId: number;
432
+ };
415
433
  export type RakutenActivity = {
416
434
  id: GeneratedAlways<number>;
417
435
  orderId: string | null;
@@ -684,7 +702,7 @@ export type Variable = {
684
702
  title: string;
685
703
  description: string | null;
686
704
  metaData: Generated<Json>;
687
- brandId: number;
705
+ campaignId: number;
688
706
  };
689
707
  export type VariableOption = {
690
708
  id: GeneratedAlways<number>;
@@ -728,6 +746,7 @@ export type DB = {
728
746
  brandtoimage: BrandToImage;
729
747
  branduserprofile: BrandUserProfile;
730
748
  campaign: Campaign;
749
+ campaignToProductList: CampaignToProductList;
731
750
  campaignToShopifyProduct: CampaignToShopifyProduct;
732
751
  CampaignInvite: CampaignInvite;
733
752
  campaignpin: CampaignPin;
@@ -735,7 +754,6 @@ export type DB = {
735
754
  campaigntocategory: CampaignToCategory;
736
755
  campaigntocountry: CampaignToCountry;
737
756
  campaigntoimage: CampaignToImage;
738
- campaigntovariable: CampaignToVariable;
739
757
  category: Category;
740
758
  chat: Chat;
741
759
  country: Country;
@@ -754,10 +772,13 @@ export type DB = {
754
772
  message: Message;
755
773
  messagetemplate: MessageTemplate;
756
774
  optin: OptIn;
775
+ optinToProductListItem: OptinToProductListItem;
757
776
  optinstep: OptInStep;
758
777
  OptInVariable: OptInVariable;
759
778
  optinview: OptInView;
760
779
  PaymentTransaction: PaymentTransaction;
780
+ productList: ProductList;
781
+ productListItem: ProductListItem;
761
782
  rakutenactivity: RakutenActivity;
762
783
  reportcredits: ReportCredits;
763
784
  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-925d6bb",
3
+ "version": "1.0.34",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {