@spytecgps/nova-orm 1.4.325 → 1.4.326

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.
@@ -18,6 +18,7 @@ export declare class BillingSubscriptionShopify {
18
18
  isMarkedForCancellation: boolean;
19
19
  lines: object | null;
20
20
  pausedAt: Date | null;
21
+ pausedRemainingSec: number | null;
21
22
  canceledAt: Date | null;
22
23
  activatedAt: Date | null;
23
24
  createdAt: Date | null;
@@ -1 +1 @@
1
- "use strict";var t=require("../node_modules/tslib/tslib.es6.js"),e=require("typeorm"),i=require("../utils/boolToNumberTransformer.js");exports.BillingSubscriptionShopify=class BillingSubscriptionShopify{subscriptionId;shopifySubscriptionId;provider;customerId;customerEmail;status;shopifyOrderId;nextBillingAt;lastPaymentStatus;totalLineItemPrice;billingIntervalUnit;billingIntervalCount;paymentMethodId;paymentMethodType;paymentMethodDetails;isPrepaid;isMarkedForCancellation;lines;pausedAt;canceledAt;activatedAt;createdAt;updatedAt},t.__decorate([e.PrimaryColumn("bigint",{name:"subscriptionId"}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"subscriptionId",void 0),t.__decorate([e.Column("bigint",{name:"shopifySubscriptionId"}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"shopifySubscriptionId",void 0),t.__decorate([e.Column("varchar",{name:"provider",length:20,default:()=>"'loop'"}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"provider",void 0),t.__decorate([e.Column("bigint",{name:"customerId"}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"customerId",void 0),t.__decorate([e.Column("varchar",{name:"customerEmail",nullable:!0,length:255}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"customerEmail",void 0),t.__decorate([e.Column("varchar",{name:"status",length:20}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"status",void 0),t.__decorate([e.Column("bigint",{name:"shopifyOrderId",nullable:!0}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"shopifyOrderId",void 0),t.__decorate([e.Column("datetime",{name:"nextBillingAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"nextBillingAt",void 0),t.__decorate([e.Column("varchar",{name:"lastPaymentStatus",nullable:!0,length:20}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"lastPaymentStatus",void 0),t.__decorate([e.Column("decimal",{name:"totalLineItemPrice",nullable:!0,precision:19,scale:4}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"totalLineItemPrice",void 0),t.__decorate([e.Column("varchar",{name:"billingIntervalUnit",nullable:!0,length:10}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"billingIntervalUnit",void 0),t.__decorate([e.Column("smallint",{name:"billingIntervalCount",nullable:!0}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"billingIntervalCount",void 0),t.__decorate([e.Column("bigint",{name:"paymentMethodId",nullable:!0}),t.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"paymentMethodId",void 0),t.__decorate([e.Column("varchar",{name:"paymentMethodType",nullable:!0,length:50}),t.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"paymentMethodType",void 0),t.__decorate([e.Column("json",{name:"paymentMethodDetails",nullable:!0}),t.__metadata("design:type",Object)],exports.BillingSubscriptionShopify.prototype,"paymentMethodDetails",void 0),t.__decorate([e.Column("tinyint",{name:"isPrepaid",width:1,default:()=>"'0'",transformer:new i.BoolToNumberTransformer}),t.__metadata("design:type",Boolean)],exports.BillingSubscriptionShopify.prototype,"isPrepaid",void 0),t.__decorate([e.Column("tinyint",{name:"isMarkedForCancellation",width:1,default:()=>"'0'",transformer:new i.BoolToNumberTransformer}),t.__metadata("design:type",Boolean)],exports.BillingSubscriptionShopify.prototype,"isMarkedForCancellation",void 0),t.__decorate([e.Column("json",{name:"lines",nullable:!0}),t.__metadata("design:type",Object)],exports.BillingSubscriptionShopify.prototype,"lines",void 0),t.__decorate([e.Column("datetime",{name:"pausedAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"pausedAt",void 0),t.__decorate([e.Column("datetime",{name:"canceledAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"canceledAt",void 0),t.__decorate([e.Column("datetime",{name:"activatedAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"activatedAt",void 0),t.__decorate([e.Column("datetime",{name:"createdAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"createdAt",void 0),t.__decorate([e.Column("datetime",{name:"updatedAt",nullable:!0,precision:0}),t.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"updatedAt",void 0),exports.BillingSubscriptionShopify=t.__decorate([e.Index("uxBillingSubscriptionShopifyShopifyId",["shopifySubscriptionId"],{unique:!0}),e.Index("ixBillingSubscriptionShopifyCustomerId",["customerId"],{}),e.Index("ixBillingSubscriptionShopifyStatusUpdatedAt",["status","updatedAt"],{}),e.Index("ixBillingSubscriptionShopifyNextBillingAt",["nextBillingAt"],{}),e.Entity("billingSubscriptionShopify",{schema:"nova"})],exports.BillingSubscriptionShopify);
1
+ "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),i=require("../utils/boolToNumberTransformer.js");exports.BillingSubscriptionShopify=class BillingSubscriptionShopify{subscriptionId;shopifySubscriptionId;provider;customerId;customerEmail;status;shopifyOrderId;nextBillingAt;lastPaymentStatus;totalLineItemPrice;billingIntervalUnit;billingIntervalCount;paymentMethodId;paymentMethodType;paymentMethodDetails;isPrepaid;isMarkedForCancellation;lines;pausedAt;pausedRemainingSec;canceledAt;activatedAt;createdAt;updatedAt},e.__decorate([t.PrimaryColumn("bigint",{name:"subscriptionId"}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"subscriptionId",void 0),e.__decorate([t.Column("bigint",{name:"shopifySubscriptionId"}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"shopifySubscriptionId",void 0),e.__decorate([t.Column("varchar",{name:"provider",length:20,default:()=>"'loop'"}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"provider",void 0),e.__decorate([t.Column("bigint",{name:"customerId"}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"customerId",void 0),e.__decorate([t.Column("varchar",{name:"customerEmail",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"customerEmail",void 0),e.__decorate([t.Column("varchar",{name:"status",length:20}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"status",void 0),e.__decorate([t.Column("bigint",{name:"shopifyOrderId",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"shopifyOrderId",void 0),e.__decorate([t.Column("datetime",{name:"nextBillingAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"nextBillingAt",void 0),e.__decorate([t.Column("varchar",{name:"lastPaymentStatus",nullable:!0,length:20}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"lastPaymentStatus",void 0),e.__decorate([t.Column("decimal",{name:"totalLineItemPrice",nullable:!0,precision:19,scale:4}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"totalLineItemPrice",void 0),e.__decorate([t.Column("varchar",{name:"billingIntervalUnit",nullable:!0,length:10}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"billingIntervalUnit",void 0),e.__decorate([t.Column("smallint",{name:"billingIntervalCount",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"billingIntervalCount",void 0),e.__decorate([t.Column("bigint",{name:"paymentMethodId",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"paymentMethodId",void 0),e.__decorate([t.Column("varchar",{name:"paymentMethodType",nullable:!0,length:50}),e.__metadata("design:type",String)],exports.BillingSubscriptionShopify.prototype,"paymentMethodType",void 0),e.__decorate([t.Column("json",{name:"paymentMethodDetails",nullable:!0}),e.__metadata("design:type",Object)],exports.BillingSubscriptionShopify.prototype,"paymentMethodDetails",void 0),e.__decorate([t.Column("tinyint",{name:"isPrepaid",width:1,default:()=>"'0'",transformer:new i.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.BillingSubscriptionShopify.prototype,"isPrepaid",void 0),e.__decorate([t.Column("tinyint",{name:"isMarkedForCancellation",width:1,default:()=>"'0'",transformer:new i.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.BillingSubscriptionShopify.prototype,"isMarkedForCancellation",void 0),e.__decorate([t.Column("json",{name:"lines",nullable:!0}),e.__metadata("design:type",Object)],exports.BillingSubscriptionShopify.prototype,"lines",void 0),e.__decorate([t.Column("datetime",{name:"pausedAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"pausedAt",void 0),e.__decorate([t.Column("int",{name:"pausedRemainingSec",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingSubscriptionShopify.prototype,"pausedRemainingSec",void 0),e.__decorate([t.Column("datetime",{name:"canceledAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"canceledAt",void 0),e.__decorate([t.Column("datetime",{name:"activatedAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"activatedAt",void 0),e.__decorate([t.Column("datetime",{name:"createdAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"createdAt",void 0),e.__decorate([t.Column("datetime",{name:"updatedAt",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.BillingSubscriptionShopify.prototype,"updatedAt",void 0),exports.BillingSubscriptionShopify=e.__decorate([t.Index("uxBillingSubscriptionShopifyShopifyId",["shopifySubscriptionId"],{unique:!0}),t.Index("ixBillingSubscriptionShopifyCustomerId",["customerId"],{}),t.Index("ixBillingSubscriptionShopifyStatusUpdatedAt",["status","updatedAt"],{}),t.Index("ixBillingSubscriptionShopifyNextBillingAt",["nextBillingAt"],{}),t.Entity("billingSubscriptionShopify",{schema:"nova"})],exports.BillingSubscriptionShopify);
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
4
+ var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
4
5
  var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
5
6
  var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
6
- var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
7
7
 
8
8
 
9
9
 
10
10
  exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
11
+ exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
11
12
  exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
12
13
  exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
13
- exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.4.325",
3
+ "version": "1.4.326",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/schema.sql CHANGED
@@ -1,6 +1,6 @@
1
- -- nova-orm-schema-checksum: 284d50328e7bd5d5afc9e58a8d4fc417
1
+ -- nova-orm-schema-checksum: 2b86b1b175000218b5efbe221941045d
2
2
  -- Nova ORM Schema Dump
3
- -- Generated at: 2026-10-14T10:09:01.248Z
3
+ -- Generated at: 2026-10-15T11:50:35.764Z
4
4
 
5
5
  SET FOREIGN_KEY_CHECKS = 0;
6
6
 
@@ -1078,6 +1078,7 @@ CREATE TABLE `billingSubscriptionShopify` (
1078
1078
  `isMarkedForCancellation` tinyint(1) NOT NULL DEFAULT '0',
1079
1079
  `lines` json DEFAULT NULL,
1080
1080
  `pausedAt` datetime DEFAULT NULL,
1081
+ `pausedRemainingSec` int DEFAULT NULL,
1081
1082
  `canceledAt` datetime DEFAULT NULL,
1082
1083
  `activatedAt` datetime DEFAULT NULL,
1083
1084
  `createdAt` datetime DEFAULT NULL,