@porulle/plugin-marketplace 0.44.0 → 0.45.0
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/schemas/sub-orders.d.ts +2 -2
- package/dist/services/commission.d.ts +3 -3
- package/dist/services/payout.d.ts +2 -2
- package/dist/services/review.d.ts +1 -1
- package/dist/services/rfq.d.ts +3 -3
- package/dist/services/vendor.d.ts +7 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
export declare const UpdateSubOrderStatusBodySchema: z.ZodObject<{
|
|
3
3
|
status: z.ZodEnum<{
|
|
4
|
+
cancelled: "cancelled";
|
|
4
5
|
pending: "pending";
|
|
5
6
|
processing: "processing";
|
|
6
|
-
cancelled: "cancelled";
|
|
7
7
|
confirmed: "confirmed";
|
|
8
8
|
shipped: "shipped";
|
|
9
9
|
delivered: "delivered";
|
|
@@ -24,9 +24,9 @@ export declare const updateSubOrderStatusRoute: {
|
|
|
24
24
|
"application/json": {
|
|
25
25
|
schema: z.ZodObject<{
|
|
26
26
|
status: z.ZodEnum<{
|
|
27
|
+
cancelled: "cancelled";
|
|
27
28
|
pending: "pending";
|
|
28
29
|
processing: "processing";
|
|
29
|
-
cancelled: "cancelled";
|
|
30
30
|
confirmed: "confirmed";
|
|
31
31
|
shipped: "shipped";
|
|
32
32
|
delivered: "delivered";
|
|
@@ -16,12 +16,12 @@ export declare class CommissionService {
|
|
|
16
16
|
validUntil?: Date | undefined;
|
|
17
17
|
priority?: number;
|
|
18
18
|
}): Promise<{
|
|
19
|
-
id: string;
|
|
20
19
|
name: string;
|
|
21
|
-
|
|
20
|
+
id: string;
|
|
22
21
|
type: string;
|
|
23
|
-
isActive: boolean;
|
|
24
22
|
priority: number;
|
|
23
|
+
vendorId: string | null;
|
|
24
|
+
isActive: boolean;
|
|
25
25
|
validFrom: Date | null;
|
|
26
26
|
validUntil: Date | null;
|
|
27
27
|
rateBps: number;
|
|
@@ -12,11 +12,11 @@ export declare class PayoutService {
|
|
|
12
12
|
description?: string;
|
|
13
13
|
}): Promise<{
|
|
14
14
|
id: string;
|
|
15
|
+
type: string;
|
|
15
16
|
createdAt: Date;
|
|
17
|
+
description: string | null;
|
|
16
18
|
vendorId: string;
|
|
17
19
|
referenceId: string | null;
|
|
18
|
-
type: string;
|
|
19
|
-
description: string | null;
|
|
20
20
|
referenceType: string | null;
|
|
21
21
|
amountCents: number;
|
|
22
22
|
runningBalanceCents: number;
|
package/dist/services/rfq.d.ts
CHANGED
|
@@ -15,10 +15,10 @@ export declare class RFQService {
|
|
|
15
15
|
}): Promise<{
|
|
16
16
|
id: string;
|
|
17
17
|
createdAt: Date;
|
|
18
|
-
metadata: Record<string, unknown> | null;
|
|
19
18
|
status: string;
|
|
20
|
-
|
|
19
|
+
metadata: Record<string, unknown> | null;
|
|
21
20
|
description: string | null;
|
|
21
|
+
title: string;
|
|
22
22
|
quantity: number | null;
|
|
23
23
|
currency: string;
|
|
24
24
|
categorySlug: string | null;
|
|
@@ -69,8 +69,8 @@ export declare class RFQService {
|
|
|
69
69
|
}): Promise<{
|
|
70
70
|
id: string;
|
|
71
71
|
createdAt: Date;
|
|
72
|
-
vendorId: string;
|
|
73
72
|
status: string;
|
|
73
|
+
vendorId: string;
|
|
74
74
|
notes: string | null;
|
|
75
75
|
rfqId: string;
|
|
76
76
|
unitPriceCents: number;
|
|
@@ -10,16 +10,16 @@ export declare class VendorService {
|
|
|
10
10
|
commissionRateBps?: number;
|
|
11
11
|
metadata?: Record<string, unknown>;
|
|
12
12
|
}): Promise<{
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
13
|
email: string | null;
|
|
14
|
+
name: string;
|
|
15
|
+
id: string;
|
|
16
16
|
createdAt: Date;
|
|
17
17
|
updatedAt: Date;
|
|
18
|
-
slug: string | null;
|
|
19
|
-
metadata: Record<string, unknown> | null;
|
|
20
|
-
organizationId: string;
|
|
21
18
|
status: string;
|
|
19
|
+
metadata: Record<string, unknown> | null;
|
|
22
20
|
description: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
organizationId: string;
|
|
23
23
|
bankAccount: {
|
|
24
24
|
accountHolder?: string;
|
|
25
25
|
bankName?: string;
|
|
@@ -486,9 +486,9 @@ export declare class VendorService {
|
|
|
486
486
|
fileUrl: string;
|
|
487
487
|
}): Promise<{
|
|
488
488
|
id: string;
|
|
489
|
-
vendorId: string;
|
|
490
|
-
status: string;
|
|
491
489
|
type: string;
|
|
490
|
+
status: string;
|
|
491
|
+
vendorId: string;
|
|
492
492
|
uploadedAt: Date;
|
|
493
493
|
fileUrl: string;
|
|
494
494
|
reviewerNotes: string | null;
|