@creator.co/creatorco-kysely-types 1.0.58 → 1.0.60

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 +25 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -106,6 +106,19 @@ export type BrandAffiliateLink = {
106
106
  metaData: Generated<Json>;
107
107
  brandId: number;
108
108
  };
109
+ export type BrandContract = {
110
+ id: GeneratedAlways<number>;
111
+ brandId: number;
112
+ createdAt: Generated<Timestamp>;
113
+ updatedAt: Timestamp;
114
+ file: string | null;
115
+ contractType: string;
116
+ startDate: Timestamp;
117
+ endDate: Timestamp | null;
118
+ archivedAt: Timestamp | null;
119
+ createdByUserId: number;
120
+ editedByUserId: number | null;
121
+ };
109
122
  export type BrandImage = {
110
123
  id: GeneratedAlways<number>;
111
124
  url: string;
@@ -511,6 +524,16 @@ export type PaymentTransaction = {
511
524
  creatorId: number | null;
512
525
  prevTransactionId: number | null;
513
526
  };
527
+ export type PendingBrandInvoicePayment = {
528
+ id: GeneratedAlways<number>;
529
+ invoiceId: string;
530
+ type: string;
531
+ source: string;
532
+ brandId: number | null;
533
+ status: string;
534
+ createdAt: Generated<Timestamp>;
535
+ updatedAt: Timestamp;
536
+ };
514
537
  export type ProductList = {
515
538
  id: GeneratedAlways<number>;
516
539
  title: string;
@@ -864,6 +887,7 @@ export type DB = {
864
887
  AffiliateLink: AffiliateLink;
865
888
  archivedSocialPost: ArchivedSocialPost;
866
889
  brand: Brand;
890
+ brandContract: BrandContract;
867
891
  BrandAffiliateLink: BrandAffiliateLink;
868
892
  brandimage: BrandImage;
869
893
  brandtocategory: BrandToCategory;
@@ -906,6 +930,7 @@ export type DB = {
906
930
  OptInVariable: OptInVariable;
907
931
  optinview: OptInView;
908
932
  PaymentTransaction: PaymentTransaction;
933
+ PendingBrandInvoicePayment: PendingBrandInvoicePayment;
909
934
  productList: ProductList;
910
935
  productListItem: ProductListItem;
911
936
  rakutenactivity: RakutenActivity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {