@spytecgps/nova-orm 1.4.290 → 1.4.291
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.
|
@@ -57,8 +57,9 @@ export declare class BillingCampaignExpansionOrder {
|
|
|
57
57
|
*
|
|
58
58
|
* Never both, and never twice. A row with `deviceFeeChargedAt` set has paid for its hardware
|
|
59
59
|
* whichever arm it is in, which is also what makes "unpaid" a single condition to query.
|
|
60
|
+
*
|
|
61
|
+
* Collected as a single off-session PaymentIntent, so there is no invoice id to keep alongside it.
|
|
60
62
|
*/
|
|
61
|
-
deviceFeeInvoiceId: string | null;
|
|
62
63
|
deviceFeePaymentIntentId: string | null;
|
|
63
64
|
deviceFeeChargedAt: Date | null;
|
|
64
65
|
/** So CS can see *why* a charge declined rather than only that it did not land. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),a=require("typeorm");exports.BillingCampaignExpansionOrder=class BillingCampaignExpansionOrder{id;expansionId;addressId;selectedModelFamily;selectedDeviceTypeId;devicePriceCents;planId;monthlyPriceCents;shopifyDraftOrderId;draftOrderCompletedAt;shopifyOrderId;shippedAt;deliveredAt;trackingNumber;carrier;
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),a=require("typeorm");exports.BillingCampaignExpansionOrder=class BillingCampaignExpansionOrder{id;expansionId;addressId;selectedModelFamily;selectedDeviceTypeId;devicePriceCents;planId;monthlyPriceCents;shopifyDraftOrderId;draftOrderCompletedAt;shopifyOrderId;shippedAt;deliveredAt;trackingNumber;carrier;deviceFeePaymentIntentId;deviceFeeChargedAt;deviceFeeFailureReason;deviceFeeReminderSentAt;deviceFeeReminderCount;csNotes;createdAt;updatedAt},e.__decorate([a.PrimaryGeneratedColumn({type:"int",name:"id"}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"id",void 0),e.__decorate([a.Column("int",{name:"expansionId"}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"expansionId",void 0),e.__decorate([a.Column("int",{name:"addressId",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"addressId",void 0),e.__decorate([a.Column("varchar",{name:"selectedModelFamily",nullable:!0,length:50}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"selectedModelFamily",void 0),e.__decorate([a.Column("smallint",{name:"selectedDeviceTypeId",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"selectedDeviceTypeId",void 0),e.__decorate([a.Column("int",{name:"devicePriceCents",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"devicePriceCents",void 0),e.__decorate([a.Column("varchar",{name:"planId",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"planId",void 0),e.__decorate([a.Column("int",{name:"monthlyPriceCents",nullable:!0}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"monthlyPriceCents",void 0),e.__decorate([a.Column("varchar",{name:"shopifyDraftOrderId",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"shopifyDraftOrderId",void 0),e.__decorate([a.Column("datetime",{name:"draftOrderCompletedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"draftOrderCompletedAt",void 0),e.__decorate([a.Column("varchar",{name:"shopifyOrderId",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"shopifyOrderId",void 0),e.__decorate([a.Column("datetime",{name:"shippedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"shippedAt",void 0),e.__decorate([a.Column("datetime",{name:"deliveredAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"deliveredAt",void 0),e.__decorate([a.Column("varchar",{name:"trackingNumber",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"trackingNumber",void 0),e.__decorate([a.Column("varchar",{name:"carrier",nullable:!0,length:128}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"carrier",void 0),e.__decorate([a.Column("varchar",{name:"deviceFeePaymentIntentId",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"deviceFeePaymentIntentId",void 0),e.__decorate([a.Column("datetime",{name:"deviceFeeChargedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"deviceFeeChargedAt",void 0),e.__decorate([a.Column("varchar",{name:"deviceFeeFailureReason",nullable:!0,length:512}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"deviceFeeFailureReason",void 0),e.__decorate([a.Column("datetime",{name:"deviceFeeReminderSentAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"deviceFeeReminderSentAt",void 0),e.__decorate([a.Column("int",{name:"deviceFeeReminderCount",default:()=>"'0'"}),e.__metadata("design:type",Number)],exports.BillingCampaignExpansionOrder.prototype,"deviceFeeReminderCount",void 0),e.__decorate([a.Column("text",{name:"csNotes",nullable:!0}),e.__metadata("design:type",String)],exports.BillingCampaignExpansionOrder.prototype,"csNotes",void 0),e.__decorate([a.Column("datetime",{name:"createdAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"createdAt",void 0),e.__decorate([a.Column("datetime",{name:"updatedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.BillingCampaignExpansionOrder.prototype,"updatedAt",void 0),exports.BillingCampaignExpansionOrder=e.__decorate([a.Index("ixuBillingCampaignExpansionOrderExpansionId",["expansionId"],{unique:!0}),a.Index("ixBillingCampaignExpansionOrderDraftOrderId",["shopifyDraftOrderId"],{}),a.Index("ixBillingCampaignExpansionOrderShopifyOrderId",["shopifyOrderId"],{}),a.Index("ixBillingCampaignExpansionOrderShippedAt",["shippedAt"],{}),a.Index("ixBillingCampaignExpansionOrderAwaitingPayment",["deviceFeeChargedAt","createdAt"],{}),a.Entity("billingCampaignExpansionOrder",{schema:"nova"})],exports.BillingCampaignExpansionOrder);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
|
|
4
|
+
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
4
5
|
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
5
6
|
var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
|
|
6
|
-
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
|
|
11
|
+
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
11
12
|
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
12
13
|
exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
|
|
13
|
-
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
package/package.json
CHANGED
package/schema.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
-- nova-orm-schema-checksum:
|
|
1
|
+
-- nova-orm-schema-checksum: 8e16a2e1f56a8044bc2ab69e96e66ff3
|
|
2
2
|
-- Nova ORM Schema Dump
|
|
3
|
-
-- Generated at: 2026-08-
|
|
3
|
+
-- Generated at: 2026-08-18T07:39:02.940Z
|
|
4
4
|
|
|
5
5
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
6
6
|
|
|
@@ -568,7 +568,6 @@ CREATE TABLE `billingCampaignExpansionOrder` (
|
|
|
568
568
|
`deliveredAt` datetime DEFAULT NULL,
|
|
569
569
|
`trackingNumber` varchar(255) DEFAULT NULL,
|
|
570
570
|
`carrier` varchar(128) DEFAULT NULL,
|
|
571
|
-
`deviceFeeInvoiceId` varchar(255) DEFAULT NULL,
|
|
572
571
|
`deviceFeePaymentIntentId` varchar(255) DEFAULT NULL,
|
|
573
572
|
`deviceFeeChargedAt` datetime DEFAULT NULL,
|
|
574
573
|
`deviceFeeFailureReason` varchar(512) DEFAULT NULL,
|