@spytecgps/nova-orm 1.3.30 → 1.3.32

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.
@@ -1,5 +1,5 @@
1
1
  import { Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingDeviceTypePlan, BillingHubspotPaymentLog, BillingPlans, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Magento2Plan, User } from '../../entities';
2
- import { BillingSubscriptionChurnStatus, BillingSubscriptionParams, BraintreePastDueSubscription, CanceledImeiResult, CreateBillingDeviceHistoryParams, CreateBillingHubspotPaymentLogParams, CreateBillingParams, CreateBillingStatusHistoryBraintreeParams, GetBillingCustomerBraintreeByIdParams, GetBillingDeviceTypePlansParams, GetBillingPlanResult, GetBillingPlansParams, GetBillingsParams, GetBillingSubscriptionsBraintreeParams, GetBraintreePastDueSubscriptionParams, GetCanceledImeisParams, GetChurnStatusByClientIdParams, GetClientIdFromBraintreeCustomerParams, GetMagentoPlanParams, GetUserByBraintreeCustomerIdParams, UpdateBillingCustomerBraintreeParams, UpdateBillingParams, UpsertBillingCustomerBraintreeParams, UpsertBillingDeviceTypePlanParams, UpsertBillingPlanParams, UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
2
+ import { BillingSubscriptionChurnStatus, BraintreePastDueSubscription, CanceledImeiResult, CreateBillingDeviceHistoryParams, CreateBillingHubspotPaymentLogParams, CreateBillingParams, CreateBillingStatusHistoryBraintreeParams, GetBillingCustomerBraintreeByIdParams, GetBillingDeviceTypePlansParams, GetBillingPlanResult, GetBillingPlansParams, GetBillingsParams, GetBillingSubscriptionsBraintreeParams, GetBraintreePastDueSubscriptionParams, GetCanceledImeisParams, GetChurnStatusByClientIdParams, GetClientIdFromBraintreeCustomerParams, GetMagentoPlanParams, GetUserByBraintreeCustomerIdParams, UpdateBillingCustomerBraintreeParams, UpdateBillingParams, UpsertBillingCustomerBraintreeParams, UpsertBillingDeviceTypePlanParams, UpsertBillingPlanParams, UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
3
3
  import { BaseRepository } from '../baseRepository';
4
4
  export declare class BillingRepository extends BaseRepository {
5
5
  /**
@@ -178,13 +178,6 @@ export declare class BillingRepository extends BaseRepository {
178
178
  * @returns The created billing hubspot payment log information
179
179
  */
180
180
  createBillingHubspotPaymentLog(params: CreateBillingHubspotPaymentLogParams): Promise<BillingHubspotPaymentLog>;
181
- /**
182
- * Get billing subscription braintree by imei
183
- * @param {BillingSubscriptionParams} params
184
- * - imei: The imei of the device
185
- * @returns {Promise<BillingSubscriptionBraintree>} The billing subscription braintree information
186
- */
187
- getBillingSubscriptionsBraintreeByImei(params: BillingSubscriptionParams): Promise<BillingSubscriptionBraintree>;
188
181
  /**
189
182
  * Upsert billing plan
190
183
  * @param {UpsertBillingPlanParams} params containing information to upsert billing plan
@@ -104,9 +104,6 @@ export interface GetBillingSubscriptionsBraintreeParams extends BaseSelectQueryP
104
104
  clientId?: number;
105
105
  };
106
106
  }
107
- export interface BillingSubscriptionParams extends BaseSelectQueryParams {
108
- imei: string;
109
- }
110
107
  export interface GetChurnStatusByClientIdParams extends BaseSelectQueryParams {
111
108
  filters: {
112
109
  clientId: number;
@@ -99,3 +99,7 @@ export declare enum M2SyncType {
99
99
  REMOVE_DEVICE = "REMOVE_DEVICE",
100
100
  UPDATE_DEVICE = "UPDATE_DEVICE"
101
101
  }
102
+ export declare enum MediaType {
103
+ Image = "image",
104
+ Video = "video"
105
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.3.30",
3
+ "version": "1.3.32",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- import { BillingSubscriptionBraintree } from '../../entities';
2
- import { NovaDataSource } from '../../novaDataSource';
3
- import { BillingSubscriptionParams } from '../../types/billing';
4
- import { Logger } from '../../types/logger';
5
- export declare const getBillingSubscriptionsBraintreeByImei: (novaDataSource: NovaDataSource, params: BillingSubscriptionParams, logger: Logger) => Promise<BillingSubscriptionBraintree>;