@creator.co/creatorco-kysely-types 1.0.33 → 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 +27 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -180,6 +180,10 @@ export type CampaignToImage = {
|
|
|
180
180
|
campaignId: number;
|
|
181
181
|
type: string;
|
|
182
182
|
};
|
|
183
|
+
export type CampaignToProductList = {
|
|
184
|
+
campaignId: number;
|
|
185
|
+
productListId: number;
|
|
186
|
+
};
|
|
183
187
|
export type CampaignToShopifyProduct = {
|
|
184
188
|
campaignId: number;
|
|
185
189
|
shopifyProductId: number;
|
|
@@ -383,6 +387,11 @@ export type OptInStep = {
|
|
|
383
387
|
campaignStepId: number;
|
|
384
388
|
socialPostId: number | null;
|
|
385
389
|
};
|
|
390
|
+
export type OptinToProductListItem = {
|
|
391
|
+
id: GeneratedAlways<number>;
|
|
392
|
+
optInId: number;
|
|
393
|
+
productListItemId: number;
|
|
394
|
+
};
|
|
386
395
|
export type OptInVariable = {
|
|
387
396
|
id: GeneratedAlways<number>;
|
|
388
397
|
optInId: number;
|
|
@@ -408,6 +417,20 @@ export type PaymentTransaction = {
|
|
|
408
417
|
creatorId: number | null;
|
|
409
418
|
prevTransactionId: number | null;
|
|
410
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
|
+
};
|
|
411
434
|
export type RakutenActivity = {
|
|
412
435
|
id: GeneratedAlways<number>;
|
|
413
436
|
orderId: string | null;
|
|
@@ -731,6 +754,7 @@ export type DB = {
|
|
|
731
754
|
campaigntocategory: CampaignToCategory;
|
|
732
755
|
campaigntocountry: CampaignToCountry;
|
|
733
756
|
campaigntoimage: CampaignToImage;
|
|
757
|
+
campaigntoproductlist: CampaignToProductList;
|
|
734
758
|
category: Category;
|
|
735
759
|
chat: Chat;
|
|
736
760
|
country: Country;
|
|
@@ -750,9 +774,12 @@ export type DB = {
|
|
|
750
774
|
messagetemplate: MessageTemplate;
|
|
751
775
|
optin: OptIn;
|
|
752
776
|
optinstep: OptInStep;
|
|
777
|
+
OptinToProductListItem: OptinToProductListItem;
|
|
753
778
|
OptInVariable: OptInVariable;
|
|
754
779
|
optinview: OptInView;
|
|
755
780
|
PaymentTransaction: PaymentTransaction;
|
|
781
|
+
ProductList: ProductList;
|
|
782
|
+
ProductListItem: ProductListItem;
|
|
756
783
|
rakutenactivity: RakutenActivity;
|
|
757
784
|
reportcredits: ReportCredits;
|
|
758
785
|
savedfile: SavedFile;
|