@creator.co/creatorco-kysely-types 1.0.80 → 1.0.81-alpha-e54934e

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 CHANGED
@@ -2,6 +2,7 @@ export declare const trolleyPaymentType: {
2
2
  readonly optIn: "optIn";
3
3
  readonly tip: "tip";
4
4
  readonly affiliate: "affiliate";
5
+ readonly withdrawal: "withdrawal";
5
6
  };
6
7
  export type trolleyPaymentType = (typeof trolleyPaymentType)[keyof typeof trolleyPaymentType];
7
8
  export declare const trolleyPaymentStatus: {
package/enums.js CHANGED
@@ -4,7 +4,8 @@ exports.ConfigurationStatus = exports.Status = exports.ShopifyStoreSyncStatus =
4
4
  exports.trolleyPaymentType = {
5
5
  optIn: "optIn",
6
6
  tip: "tip",
7
- affiliate: "affiliate"
7
+ affiliate: "affiliate",
8
+ withdrawal: "withdrawal"
8
9
  };
9
10
  exports.trolleyPaymentStatus = {
10
11
  pending: "pending",
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;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"}
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;IACtB,UAAU,EAAE,YAAY;CAClB,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
@@ -526,6 +526,16 @@ export type InstagramProfile = {
526
526
  userId: number | null;
527
527
  brandId: number | null;
528
528
  };
529
+ export type LatestCreatorPaymentTransaction = {
530
+ id: number;
531
+ balance: number;
532
+ type: string;
533
+ date: Timestamp;
534
+ notes: string | null;
535
+ metaData: Json;
536
+ accountId: number;
537
+ creatorId: number | null;
538
+ };
529
539
  export type ListToSocialPost = {
530
540
  id: GeneratedAlways<number>;
531
541
  listId: number;
@@ -571,9 +581,6 @@ export type OptIn = {
571
581
  seen: Generated<boolean>;
572
582
  instructions: string | null;
573
583
  paymentAmount: number | null;
574
- /**
575
- * @deprecated join with TrolleyPayment for actual status
576
- */
577
584
  paymentStatus: Generated<string>;
578
585
  extraData: Generated<Json>;
579
586
  favoritedDate: Timestamp | null;
@@ -903,6 +910,7 @@ export type TrolleyPayment = {
903
910
  type: trolleyPaymentType | null;
904
911
  status: trolleyPaymentStatus;
905
912
  optInId: number | null;
913
+ paymentTransactionId: number | null;
906
914
  paymentAmount: number;
907
915
  metaData: Generated<Json>;
908
916
  };
@@ -1041,6 +1049,7 @@ export type DB = {
1041
1049
  image: Image;
1042
1050
  ImpactRadiusEvent: ImpactRadiusEvent;
1043
1051
  instagramprofile: InstagramProfile;
1052
+ latestCreatorPaymentTransaction: LatestCreatorPaymentTransaction;
1044
1053
  listtosocialpost: ListToSocialPost;
1045
1054
  Log: Log;
1046
1055
  message: Message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.80",
3
+ "version": "1.0.81-alpha-e54934e",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {