@creator.co/creatorco-kysely-types 1.0.76 → 1.0.78
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/enums.d.ts +10 -0
- package/enums.js +9 -1
- package/enums.js.map +1 -1
- package/index.d.ts +56 -1
- package/package.json +1 -1
package/enums.d.ts
CHANGED
|
@@ -24,3 +24,13 @@ export declare const ShopifyStoreSyncStatus: {
|
|
|
24
24
|
readonly error: "error";
|
|
25
25
|
};
|
|
26
26
|
export type ShopifyStoreSyncStatus = (typeof ShopifyStoreSyncStatus)[keyof typeof ShopifyStoreSyncStatus];
|
|
27
|
+
export declare const Status: {
|
|
28
|
+
readonly connected: "connected";
|
|
29
|
+
readonly disconnected: "disconnected";
|
|
30
|
+
};
|
|
31
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
32
|
+
export declare const ConfigurationStatus: {
|
|
33
|
+
readonly configured: "configured";
|
|
34
|
+
readonly failed: "failed";
|
|
35
|
+
};
|
|
36
|
+
export type ConfigurationStatus = (typeof ConfigurationStatus)[keyof typeof ConfigurationStatus];
|
package/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShopifyStoreSyncStatus = exports.CampaignToSocialPostStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
3
|
+
exports.ConfigurationStatus = exports.Status = exports.ShopifyStoreSyncStatus = exports.CampaignToSocialPostStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
4
4
|
exports.trolleyPaymentType = {
|
|
5
5
|
optIn: "optIn",
|
|
6
6
|
tip: "tip",
|
|
@@ -23,4 +23,12 @@ exports.ShopifyStoreSyncStatus = {
|
|
|
23
23
|
synced: "synced",
|
|
24
24
|
error: "error"
|
|
25
25
|
};
|
|
26
|
+
exports.Status = {
|
|
27
|
+
connected: "connected",
|
|
28
|
+
disconnected: "disconnected"
|
|
29
|
+
};
|
|
30
|
+
exports.ConfigurationStatus = {
|
|
31
|
+
configured: "configured",
|
|
32
|
+
failed: "failed"
|
|
33
|
+
};
|
|
26
34
|
//# sourceMappingURL=enums.js.map
|
package/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;CAChB,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;CAChB,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC;AAEE,QAAA,MAAM,GAAG;IAClB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;CACtB,CAAC;AAEE,QAAA,mBAAmB,GAAG;IAC/B,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
|
|
|
5
5
|
: ColumnType<T, T | undefined, T>;
|
|
6
6
|
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
7
7
|
|
|
8
|
-
import type { trolleyPaymentType, trolleyPaymentStatus, CampaignToSocialPostStatus, ShopifyStoreSyncStatus } from "./enums";
|
|
8
|
+
import type { trolleyPaymentType, trolleyPaymentStatus, CampaignToSocialPostStatus, ShopifyStoreSyncStatus, Status, ConfigurationStatus } from "./enums";
|
|
9
9
|
|
|
10
10
|
export type AffiliateClick = {
|
|
11
11
|
id: GeneratedAlways<number>;
|
|
@@ -375,6 +375,34 @@ export type CreditRefundBatchToSocialProfile = {
|
|
|
375
375
|
A: number;
|
|
376
376
|
B: number;
|
|
377
377
|
};
|
|
378
|
+
export type EmailProvider = {
|
|
379
|
+
id: GeneratedAlways<string>;
|
|
380
|
+
providerType: string;
|
|
381
|
+
providerEmail: string;
|
|
382
|
+
status: Status;
|
|
383
|
+
senderName: string | null;
|
|
384
|
+
configurationStatus: ConfigurationStatus;
|
|
385
|
+
isDefault: Generated<boolean>;
|
|
386
|
+
accessToken: string;
|
|
387
|
+
refreshToken: string;
|
|
388
|
+
smtpServer: string | null;
|
|
389
|
+
smtpPort: string | null;
|
|
390
|
+
smtpUsername: string | null;
|
|
391
|
+
smtpPassword: string | null;
|
|
392
|
+
smtpSenderName: string | null;
|
|
393
|
+
smtpSenderEmail: string | null;
|
|
394
|
+
smtpRelyAddress: string | null;
|
|
395
|
+
imapServer: string | null;
|
|
396
|
+
imapPort: string | null;
|
|
397
|
+
imapUser: string | null;
|
|
398
|
+
imapPassword: string | null;
|
|
399
|
+
enableSSL: Generated<boolean>;
|
|
400
|
+
brandId: number;
|
|
401
|
+
createdByUserId: number;
|
|
402
|
+
editedByUserId: number | null;
|
|
403
|
+
createdAt: Generated<Timestamp>;
|
|
404
|
+
updatedAt: Timestamp;
|
|
405
|
+
};
|
|
378
406
|
export type EmailTemplate = {
|
|
379
407
|
id: GeneratedAlways<number>;
|
|
380
408
|
label: string | null;
|
|
@@ -383,6 +411,21 @@ export type EmailTemplate = {
|
|
|
383
411
|
brandId: number | null;
|
|
384
412
|
metaData: Generated<Json>;
|
|
385
413
|
};
|
|
414
|
+
export type EmailTracking = {
|
|
415
|
+
id: GeneratedAlways<string>;
|
|
416
|
+
trackingId: string;
|
|
417
|
+
brandId: number;
|
|
418
|
+
recipientEmail: string;
|
|
419
|
+
emailType: string;
|
|
420
|
+
campaignName: string | null;
|
|
421
|
+
sequenceId: number | null;
|
|
422
|
+
sequenceStepId: number | null;
|
|
423
|
+
templateId: number | null;
|
|
424
|
+
sentAt: Generated<Timestamp>;
|
|
425
|
+
opened: Generated<boolean>;
|
|
426
|
+
openedAt: Timestamp | null;
|
|
427
|
+
openCount: Generated<number>;
|
|
428
|
+
};
|
|
386
429
|
export type ExternalAffiliateClick = {
|
|
387
430
|
id: GeneratedAlways<number>;
|
|
388
431
|
program: string;
|
|
@@ -682,6 +725,15 @@ export type SequenceOutboundEmail = {
|
|
|
682
725
|
sequenceStepId: number;
|
|
683
726
|
sentAt: Generated<Timestamp>;
|
|
684
727
|
};
|
|
728
|
+
export type SequenceOutboundReplyEmail = {
|
|
729
|
+
id: GeneratedAlways<number>;
|
|
730
|
+
sequenceId: number;
|
|
731
|
+
type: number;
|
|
732
|
+
typeId: string;
|
|
733
|
+
replyCount: Generated<number>;
|
|
734
|
+
createdAt: Generated<Timestamp>;
|
|
735
|
+
updatedAt: Timestamp;
|
|
736
|
+
};
|
|
685
737
|
export type SequenceStep = {
|
|
686
738
|
id: GeneratedAlways<number>;
|
|
687
739
|
sequenceId: number;
|
|
@@ -976,7 +1028,9 @@ export type DB = {
|
|
|
976
1028
|
creatorsearchfilter: CreatorSearchFilter;
|
|
977
1029
|
CreatorToCategory: CreatorToCategory;
|
|
978
1030
|
creditRefundBatch: CreditRefundBatch;
|
|
1031
|
+
EmailProvider: EmailProvider;
|
|
979
1032
|
EmailTemplate: EmailTemplate;
|
|
1033
|
+
EmailTracking: EmailTracking;
|
|
980
1034
|
externalAffiliateClick: ExternalAffiliateClick;
|
|
981
1035
|
facebookprofile: FacebookProfile;
|
|
982
1036
|
file: File;
|
|
@@ -1005,6 +1059,7 @@ export type DB = {
|
|
|
1005
1059
|
sequenceimapcheckpoint: SequenceImapCheckpoint;
|
|
1006
1060
|
sequenceinboundemail: SequenceInboundEmail;
|
|
1007
1061
|
sequenceoutboundemail: SequenceOutboundEmail;
|
|
1062
|
+
sequenceoutboundreplyemail: SequenceOutboundReplyEmail;
|
|
1008
1063
|
sequencestep: SequenceStep;
|
|
1009
1064
|
shareasaleEvent: ShareASaleEvent;
|
|
1010
1065
|
shopifyDiscountCode: ShopifyDiscountCode;
|