@spytecgps/nova-orm 0.0.111 → 0.0.112
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/billingHubspotPaymentLog.d.ts +50 -0
- package/dist/entities/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -0
- package/dist/repositories/billing/index.d.ts +8 -2
- package/dist/types/billing.d.ts +50 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BillingHubspotPaymentLog } from '../../entities';
|
|
2
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
+
import { CreateBillingHubspotPaymentLogParams } from '../../types/billing';
|
|
4
|
+
import { Logger } from '../../types/logger';
|
|
5
|
+
export declare const createBillingHubspotPaymentLog: (novaDataSource: NovaDataSource, params: CreateBillingHubspotPaymentLogParams, logger: Logger) => Promise<BillingHubspotPaymentLog>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Magento2Plan, User } from '../../entities';
|
|
2
|
-
import { BillingSubscriptionChurnStatus, CanceledImeiResult, CreateBillingDeviceHistoryParams, CreateBillingParams, CreateBillingStatusHistoryBraintreeParams, GetBillingCustomerBraintreeByIdParams, GetBillingsParams, GetBillingSubscriptionsBraintreeParams, GetCanceledImeisParams, GetChurnStatusByClientIdParams, GetClientIdFromBraintreeCustomerParams, GetMagentoPlanParams, GetUserByBraintreeCustomerIdParams, UpdateBillingCustomerBraintreeParams, UpdateBillingParams, UpsertBillingCustomerBraintreeParams, UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
|
|
1
|
+
import { Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Magento2Plan, User } from '../../entities';
|
|
2
|
+
import { BillingSubscriptionChurnStatus, CanceledImeiResult, CreateBillingDeviceHistoryParams, CreateBillingHubspotPaymentLogParams, CreateBillingParams, CreateBillingStatusHistoryBraintreeParams, GetBillingCustomerBraintreeByIdParams, GetBillingsParams, GetBillingSubscriptionsBraintreeParams, GetCanceledImeisParams, GetChurnStatusByClientIdParams, GetClientIdFromBraintreeCustomerParams, GetMagentoPlanParams, GetUserByBraintreeCustomerIdParams, UpdateBillingCustomerBraintreeParams, UpdateBillingParams, UpsertBillingCustomerBraintreeParams, UpsertBillingSubscriptionBraintreeParams } from '../../types/billing';
|
|
3
3
|
import { BaseRepository } from '../baseRepository';
|
|
4
4
|
export declare class BillingRepository extends BaseRepository {
|
|
5
5
|
/**
|
|
@@ -172,4 +172,10 @@ export declare class BillingRepository extends BaseRepository {
|
|
|
172
172
|
* @returns The magento plan
|
|
173
173
|
*/
|
|
174
174
|
getMagentoPlan(params: GetMagentoPlanParams): Promise<Magento2Plan>;
|
|
175
|
+
/**
|
|
176
|
+
* Create billing hubspot payment log
|
|
177
|
+
* @param {CreateBillingHubspotPaymentLogParams} params containing information to create billing hubspot payment log
|
|
178
|
+
* @returns The created billing hubspot payment log information
|
|
179
|
+
*/
|
|
180
|
+
createBillingHubspotPaymentLog(params: CreateBillingHubspotPaymentLogParams): Promise<BillingHubspotPaymentLog>;
|
|
175
181
|
}
|
package/dist/types/billing.d.ts
CHANGED
|
@@ -177,3 +177,53 @@ export interface GetMagentoPlanParams {
|
|
|
177
177
|
code: string;
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
+
export interface CreateBillingHubspotPaymentLogParams {
|
|
181
|
+
id?: number;
|
|
182
|
+
amountPaid: number;
|
|
183
|
+
owner?: string | null;
|
|
184
|
+
bankOfIssuer?: string | null;
|
|
185
|
+
billingAddress?: string | null;
|
|
186
|
+
billingAddressCity?: string | null;
|
|
187
|
+
billingAddressCountry?: string | null;
|
|
188
|
+
billingAddressLine1?: string | null;
|
|
189
|
+
billingAddressLine2?: string | null;
|
|
190
|
+
billingAddressState?: string | null;
|
|
191
|
+
billingAddressZip?: string | null;
|
|
192
|
+
createdByUserId?: string | null;
|
|
193
|
+
currencyCode?: string | null;
|
|
194
|
+
customer?: string | null;
|
|
195
|
+
grossAmount?: number | null;
|
|
196
|
+
lastFourDigits?: string | null;
|
|
197
|
+
lineItemDiscountAmount?: number | null;
|
|
198
|
+
netAmount?: number | null;
|
|
199
|
+
objectCreateDateTime?: Date | null;
|
|
200
|
+
objectId?: string | null;
|
|
201
|
+
objectLastModifiedDateTime?: Date | null;
|
|
202
|
+
orderDiscountAmount?: number | null;
|
|
203
|
+
orderDiscountCode?: string | null;
|
|
204
|
+
orderDiscountPercentage?: number | null;
|
|
205
|
+
ownerAssignedDateTime?: Date | null;
|
|
206
|
+
paymentDateTime?: Date | null;
|
|
207
|
+
paymentId?: string | null;
|
|
208
|
+
paymentMethod?: string | null;
|
|
209
|
+
paymentSourceName?: string | null;
|
|
210
|
+
paymentType?: string | null;
|
|
211
|
+
processingFees?: number | null;
|
|
212
|
+
refunded?: number | null;
|
|
213
|
+
shippingAddress?: string | null;
|
|
214
|
+
shippingAddressCity?: string | null;
|
|
215
|
+
shippingAddressCountry?: string | null;
|
|
216
|
+
shippingAddressLine1?: string | null;
|
|
217
|
+
shippingAddressLine2?: string | null;
|
|
218
|
+
shippingAddressState?: string | null;
|
|
219
|
+
shippingAddressZip?: string | null;
|
|
220
|
+
source?: string | null;
|
|
221
|
+
sourceId?: string | null;
|
|
222
|
+
sourceUrl?: string | null;
|
|
223
|
+
status?: string | null;
|
|
224
|
+
statusUpdatedOn?: Date | null;
|
|
225
|
+
totalDiscountAmount?: number | null;
|
|
226
|
+
totalFees?: number | null;
|
|
227
|
+
totalTaxes?: number | null;
|
|
228
|
+
updatedByUserId?: string | null;
|
|
229
|
+
}
|