vr-models 1.0.38 → 1.0.39

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.
@@ -3,6 +3,7 @@ import type { Device } from "./device.models";
3
3
  import type { User } from "./user.models";
4
4
  import type { Installment } from "./installment.models";
5
5
  export type PaymentPlanStatus = "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED";
6
+ export declare const PAYMENT_STATUS: readonly ["ACTIVE", "COMPLETED", "DEFAULTED", "CANCELLED"];
6
7
  export interface DevicePaymentPlanAttributes {
7
8
  id: string;
8
9
  userId: string;
@@ -1,8 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DevicePaymentPlan = void 0;
3
+ exports.DevicePaymentPlan = exports.PAYMENT_STATUS = void 0;
4
4
  // src/models/devicePaymentPlan.models.ts
5
5
  const vr_migrations_1 = require("vr-migrations");
6
+ exports.PAYMENT_STATUS = [
7
+ "ACTIVE",
8
+ "COMPLETED",
9
+ "DEFAULTED",
10
+ "CANCELLED",
11
+ ];
6
12
  class DevicePaymentPlan extends vr_migrations_1.Model {
7
13
  // Static initialization method
8
14
  static initialize(sequelize) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-models",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "Shared database models package for VR applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",