@merkaly/api 0.37.0 → 0.37.1
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/dashboard/client/client.d.ts +0 -22
- package/dist/finance/payment/payment.entity.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/integration/supplier/connection.d.ts +3 -0
- package/dist/integration/supplier/product.d.ts +7 -0
- package/dist/transaction.entity.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/{query.interface.d.ts → query.types.d.ts} +0 -0
- /package/dist/{transitionable.interface.d.ts → transitionable.types.d.ts} +0 -0
|
@@ -12,25 +12,3 @@ export interface DashboardClientRole {
|
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
|
-
export interface DashboardClientBillingPlan {
|
|
16
|
-
amount: number | null;
|
|
17
|
-
currency: string | null;
|
|
18
|
-
interval: string | null;
|
|
19
|
-
name: string | null;
|
|
20
|
-
}
|
|
21
|
-
export interface DashboardClientBillingSubscription {
|
|
22
|
-
cancelAtPeriodEnd: boolean;
|
|
23
|
-
currentPeriodEnd: number | null;
|
|
24
|
-
id: string;
|
|
25
|
-
plan: DashboardClientBillingPlan;
|
|
26
|
-
status: string;
|
|
27
|
-
}
|
|
28
|
-
export interface DashboardClientBilling {
|
|
29
|
-
customer: {
|
|
30
|
-
email: string | null;
|
|
31
|
-
id: string;
|
|
32
|
-
name: string | null;
|
|
33
|
-
} | null;
|
|
34
|
-
linked: boolean;
|
|
35
|
-
subscriptions: DashboardClientBillingSubscription[];
|
|
36
|
-
}
|
|
@@ -3,7 +3,7 @@ import { PaymentChargeAccountEnum } from '../../integration/payment';
|
|
|
3
3
|
import { OrderSaleEntity } from '../../order/sale';
|
|
4
4
|
import { AbstractEntity } from '../../abstract.entity.js';
|
|
5
5
|
import { StatusEntity } from '../../status.plugin.js';
|
|
6
|
-
import { ITransitionable } from '../../transitionable.
|
|
6
|
+
import { ITransitionable } from '../../transitionable.types.js';
|
|
7
7
|
import { FinancePaymentMethodEnum, FinancePaymentStatusEnum } from './payment.enum.js';
|
|
8
8
|
import type { PaymentChargeStatusEnum } from '../../integration/payment';
|
|
9
9
|
export interface FinancePaymentPixDetails {
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export * from './transform.validator';
|
|
|
8
8
|
export * from './address.entity';
|
|
9
9
|
export * from './transaction.entity';
|
|
10
10
|
export * from './contact.entity';
|
|
11
|
-
export * from './transitionable.
|
|
12
|
-
export * from './query.
|
|
11
|
+
export * from './transitionable.types';
|
|
12
|
+
export * from './query.types';
|
|
13
13
|
export * from './abstract.entity';
|
|
14
14
|
export * from './abstract.transition';
|
|
15
15
|
export * from './abstract.validator';
|
|
@@ -62,3 +62,10 @@ export interface SupplierProductSource {
|
|
|
62
62
|
product: SupplierProduct;
|
|
63
63
|
offers: SupplierProductVariant[];
|
|
64
64
|
}
|
|
65
|
+
export interface SupplierProductImportRequest {
|
|
66
|
+
url: string;
|
|
67
|
+
markup?: number;
|
|
68
|
+
}
|
|
69
|
+
export interface SupplierProductSyncRequest {
|
|
70
|
+
product: string;
|
|
71
|
+
}
|
|
@@ -2,7 +2,7 @@ import { AccountUserEntity } from './account/user';
|
|
|
2
2
|
import { FinancePaymentEntity } from './finance/payment';
|
|
3
3
|
import { AbstractEntity } from './abstract.entity.js';
|
|
4
4
|
import { StatusEntity } from './status.plugin.js';
|
|
5
|
-
import { ITransitionable } from './transitionable.
|
|
5
|
+
import { ITransitionable } from './transitionable.types.js';
|
|
6
6
|
import { ItemEntity } from './order/item';
|
|
7
7
|
export interface TransactionCapabilities {
|
|
8
8
|
addItems: boolean;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|