@creator.co/creatorco-kysely-types 1.0.34-alpha-925d6bb → 1.0.34-alpha-6895cd0
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 +28 -6
- 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
|
|
183
|
+
export type CampaignToProductList = {
|
|
184
184
|
campaignId: number;
|
|
185
|
-
|
|
185
|
+
productListId: number;
|
|
186
186
|
};
|
|
187
|
-
export type
|
|
187
|
+
export type CampaignToShopifyProduct = {
|
|
188
188
|
campaignId: number;
|
|
189
|
-
|
|
189
|
+
shopifyProductId: number;
|
|
190
190
|
};
|
|
191
191
|
export type Category = {
|
|
192
192
|
id: GeneratedAlways<number>;
|
|
@@ -387,6 +387,11 @@ export type OptInStep = {
|
|
|
387
387
|
campaignStepId: number;
|
|
388
388
|
socialPostId: number | null;
|
|
389
389
|
};
|
|
390
|
+
export type OptinToProductListItem = {
|
|
391
|
+
id: GeneratedAlways<number>;
|
|
392
|
+
optInId: number;
|
|
393
|
+
productListItemId: number;
|
|
394
|
+
};
|
|
390
395
|
export type OptInVariable = {
|
|
391
396
|
id: GeneratedAlways<number>;
|
|
392
397
|
optInId: number;
|
|
@@ -412,6 +417,20 @@ export type PaymentTransaction = {
|
|
|
412
417
|
creatorId: number | null;
|
|
413
418
|
prevTransactionId: number | null;
|
|
414
419
|
};
|
|
420
|
+
export type ProductList = {
|
|
421
|
+
id: GeneratedAlways<number>;
|
|
422
|
+
title: string;
|
|
423
|
+
description: string | null;
|
|
424
|
+
metaData: Generated<Json>;
|
|
425
|
+
brandId: number;
|
|
426
|
+
};
|
|
427
|
+
export type ProductListItem = {
|
|
428
|
+
id: GeneratedAlways<number>;
|
|
429
|
+
title: string;
|
|
430
|
+
description: string | null;
|
|
431
|
+
metaData: Generated<Json>;
|
|
432
|
+
productListId: number;
|
|
433
|
+
};
|
|
415
434
|
export type RakutenActivity = {
|
|
416
435
|
id: GeneratedAlways<number>;
|
|
417
436
|
orderId: string | null;
|
|
@@ -684,7 +703,7 @@ export type Variable = {
|
|
|
684
703
|
title: string;
|
|
685
704
|
description: string | null;
|
|
686
705
|
metaData: Generated<Json>;
|
|
687
|
-
|
|
706
|
+
campaignId: number;
|
|
688
707
|
};
|
|
689
708
|
export type VariableOption = {
|
|
690
709
|
id: GeneratedAlways<number>;
|
|
@@ -735,7 +754,7 @@ export type DB = {
|
|
|
735
754
|
campaigntocategory: CampaignToCategory;
|
|
736
755
|
campaigntocountry: CampaignToCountry;
|
|
737
756
|
campaigntoimage: CampaignToImage;
|
|
738
|
-
|
|
757
|
+
campaigntoproductlist: CampaignToProductList;
|
|
739
758
|
category: Category;
|
|
740
759
|
chat: Chat;
|
|
741
760
|
country: Country;
|
|
@@ -755,9 +774,12 @@ export type DB = {
|
|
|
755
774
|
messagetemplate: MessageTemplate;
|
|
756
775
|
optin: OptIn;
|
|
757
776
|
optinstep: OptInStep;
|
|
777
|
+
OptinToProductListItem: OptinToProductListItem;
|
|
758
778
|
OptInVariable: OptInVariable;
|
|
759
779
|
optinview: OptInView;
|
|
760
780
|
PaymentTransaction: PaymentTransaction;
|
|
781
|
+
ProductList: ProductList;
|
|
782
|
+
ProductListItem: ProductListItem;
|
|
761
783
|
rakutenactivity: RakutenActivity;
|
|
762
784
|
reportcredits: ReportCredits;
|
|
763
785
|
savedfile: SavedFile;
|