@creator.co/creatorco-kysely-types 1.0.96 → 1.0.98

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
@@ -78,6 +78,15 @@ export type AffiliateResolver = {
78
78
  campaignId: number;
79
79
  optInId: number | null;
80
80
  };
81
+ export type Approach = {
82
+ id: GeneratedAlways<number>;
83
+ approachName: string;
84
+ uri: string;
85
+ isDefault: Generated<boolean>;
86
+ metaInformation: Generated<Json>;
87
+ createdById: number | null;
88
+ updatedById: number | null;
89
+ };
81
90
  export type ArchivedSocialPost = {
82
91
  id: GeneratedAlways<number>;
83
92
  phylloId: string | null;
@@ -177,6 +186,7 @@ export type BrandUserProfile = {
177
186
  userId: number;
178
187
  brandId: number;
179
188
  agencyPrivileges: Generated<boolean>;
189
+ pinnedCampaigns: Generated<number[]>;
180
190
  };
181
191
  export type Campaign = {
182
192
  id: GeneratedAlways<number>;
@@ -487,6 +497,17 @@ export type FacebookProfile = {
487
497
  visibility: Generated<string | null>;
488
498
  userId: number | null;
489
499
  };
500
+ export type FailureLog = {
501
+ id: GeneratedAlways<number>;
502
+ failureDate: Timestamp;
503
+ step: string;
504
+ requestPayload: Generated<Json>;
505
+ summary: string;
506
+ attempt: number;
507
+ failureData: Generated<Json>;
508
+ approachId: number;
509
+ createdAt: Generated<Timestamp>;
510
+ };
490
511
  export type File = {
491
512
  id: GeneratedAlways<string>;
492
513
  brandId: number;
@@ -798,6 +819,8 @@ export type SequenceStep = {
798
819
  daysAfterPrevious: number;
799
820
  order: number;
800
821
  stepId: number;
822
+ isSequenceCompleted: Generated<boolean | null>;
823
+ sequenceCompletedOn: Timestamp | null;
801
824
  };
802
825
  export type ShareASaleEvent = {
803
826
  id: GeneratedAlways<number>;
@@ -1094,6 +1117,7 @@ export type DB = {
1094
1117
  AffiliateLink: AffiliateLink;
1095
1118
  AffiliatePricingGroup: AffiliatePricingGroup;
1096
1119
  AffiliateResolver: AffiliateResolver;
1120
+ approach: Approach;
1097
1121
  archivedSocialPost: ArchivedSocialPost;
1098
1122
  brand: Brand;
1099
1123
  brandContract: BrandContract;
@@ -1129,6 +1153,7 @@ export type DB = {
1129
1153
  EmailTracking: EmailTracking;
1130
1154
  externalAffiliateClick: ExternalAffiliateClick;
1131
1155
  facebookprofile: FacebookProfile;
1156
+ failureLog: FailureLog;
1132
1157
  file: File;
1133
1158
  image: Image;
1134
1159
  ImpactRadiusEvent: ImpactRadiusEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {