@creator.co/creatorco-kysely-types 1.0.76 → 1.0.77
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 +55 -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,14 @@ 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
|
+
createdAt: Generated<Timestamp>;
|
|
734
|
+
updatedAt: Timestamp;
|
|
735
|
+
};
|
|
685
736
|
export type SequenceStep = {
|
|
686
737
|
id: GeneratedAlways<number>;
|
|
687
738
|
sequenceId: number;
|
|
@@ -976,7 +1027,9 @@ export type DB = {
|
|
|
976
1027
|
creatorsearchfilter: CreatorSearchFilter;
|
|
977
1028
|
CreatorToCategory: CreatorToCategory;
|
|
978
1029
|
creditRefundBatch: CreditRefundBatch;
|
|
1030
|
+
EmailProvider: EmailProvider;
|
|
979
1031
|
EmailTemplate: EmailTemplate;
|
|
1032
|
+
EmailTracking: EmailTracking;
|
|
980
1033
|
externalAffiliateClick: ExternalAffiliateClick;
|
|
981
1034
|
facebookprofile: FacebookProfile;
|
|
982
1035
|
file: File;
|
|
@@ -1005,6 +1058,7 @@ export type DB = {
|
|
|
1005
1058
|
sequenceimapcheckpoint: SequenceImapCheckpoint;
|
|
1006
1059
|
sequenceinboundemail: SequenceInboundEmail;
|
|
1007
1060
|
sequenceoutboundemail: SequenceOutboundEmail;
|
|
1061
|
+
sequenceoutboundreplyemail: SequenceOutboundReplyEmail;
|
|
1008
1062
|
sequencestep: SequenceStep;
|
|
1009
1063
|
shareasaleEvent: ShareASaleEvent;
|
|
1010
1064
|
shopifyDiscountCode: ShopifyDiscountCode;
|