@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.
- package/dist/entities/deviceCameraMedia.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/repositories/billing/index.d.ts +1 -8
- package/dist/types/billing.d.ts +0 -3
- package/dist/types/enums.d.ts +4 -0
- package/package.json +1 -1
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.d.ts +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingDeviceTypePlan, BillingHubspotPaymentLog, BillingPlans, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Magento2Plan, User } from '../../entities';
|
|
2
|
-
import { BillingSubscriptionChurnStatus,
|
|
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
|
package/dist/types/billing.d.ts
CHANGED
|
@@ -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;
|
package/dist/types/enums.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -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>;
|