medusa-plugin-veeqo 0.1.3 → 0.2.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.
Files changed (57) hide show
  1. package/.medusa/server/medusa-config.d.ts +1 -0
  2. package/.medusa/server/src/api/admin/veeqo/customers/[customerId]/sync/route.d.ts +2 -0
  3. package/.medusa/server/src/api/admin/veeqo/customers/sync/route.d.ts +3 -0
  4. package/.medusa/server/src/api/admin/veeqo/orders/[orderId]/sync/route.d.ts +2 -0
  5. package/.medusa/server/src/api/admin/veeqo/orders/shipment-sync/route.d.ts +9 -0
  6. package/.medusa/server/src/api/admin/veeqo/orders/sync/route.d.ts +3 -0
  7. package/.medusa/server/src/api/admin/veeqo/products/[productId]/sync/route.d.ts +2 -0
  8. package/.medusa/server/src/api/admin/veeqo/products/sync/route.d.ts +3 -0
  9. package/.medusa/server/src/api/admin/veeqo/sales-channels/[salesChannelId]/sync/route.d.ts +2 -0
  10. package/.medusa/server/src/api/admin/veeqo/sales-channels/sync/route.d.ts +3 -0
  11. package/.medusa/server/src/api/admin/veeqo/shipments/[id]/tracking-events/route.d.ts +2 -0
  12. package/.medusa/server/src/api/admin/veeqo/shipping-options/[shippingOptionId]/sync/route.d.ts +2 -0
  13. package/.medusa/server/src/api/admin/veeqo/shipping-options/sync/route.d.ts +3 -0
  14. package/.medusa/server/src/api/admin/veeqo/stock-locations/[stockLocationId]/sync/route.d.ts +2 -0
  15. package/.medusa/server/src/api/admin/veeqo/stock-locations/sync/route.d.ts +3 -0
  16. package/.medusa/server/src/api/middlewares.d.ts +2 -0
  17. package/.medusa/server/src/api/validators.d.ts +25 -0
  18. package/.medusa/server/src/jobs/veeqo-order-sync.d.ts +6 -0
  19. package/.medusa/server/src/links/customer-veeqo-customer.d.ts +2 -0
  20. package/.medusa/server/src/links/fulfillment-veeqo-shipment.d.ts +2 -0
  21. package/.medusa/server/src/links/order-veeqo-order.d.ts +2 -0
  22. package/.medusa/server/src/links/product-variant-veeqo-sellable.d.ts +2 -0
  23. package/.medusa/server/src/links/product-veeqo-product.d.ts +2 -0
  24. package/.medusa/server/src/links/sales-channel-veeqo-channel.d.ts +2 -0
  25. package/.medusa/server/src/links/shipping-option-veeqo-delivery-method.d.ts +2 -0
  26. package/.medusa/server/src/links/stock-location-veeqo-warehouse.d.ts +2 -0
  27. package/.medusa/server/src/links/veeqo-channel-sales-channel.d.ts +2 -0
  28. package/.medusa/server/src/links/veeqo-customer-customer.d.ts +2 -0
  29. package/.medusa/server/src/links/veeqo-delivery-method.d.ts +2 -0
  30. package/.medusa/server/src/links/veeqo-order-order.d.ts +2 -0
  31. package/.medusa/server/src/links/veeqo-product-product.d.ts +2 -0
  32. package/.medusa/server/src/links/veeqo-sellable-product-variant.d.ts +2 -0
  33. package/.medusa/server/src/links/veeqo-shipment-fulfillment.d.ts +2 -0
  34. package/.medusa/server/src/links/veeqo-warehouse-stock-location.d.ts +2 -0
  35. package/.medusa/server/src/modules/veeqo/index.d.ts +120 -0
  36. package/.medusa/server/src/modules/veeqo/index.js +16 -1
  37. package/.medusa/server/src/modules/veeqo/migrations/Migration20260411222036.d.ts +5 -0
  38. package/.medusa/server/src/modules/veeqo/models/veeqo-channel.d.ts +5 -0
  39. package/.medusa/server/src/modules/veeqo/models/veeqo-customer.d.ts +26 -0
  40. package/.medusa/server/src/modules/veeqo/models/veeqo-delivery-method.d.ts +5 -0
  41. package/.medusa/server/src/modules/veeqo/models/veeqo-order.d.ts +30 -0
  42. package/.medusa/server/src/modules/veeqo/models/veeqo-product.d.ts +5 -0
  43. package/.medusa/server/src/modules/veeqo/models/veeqo-sellable.d.ts +5 -0
  44. package/.medusa/server/src/modules/veeqo/models/veeqo-shipment.d.ts +26 -0
  45. package/.medusa/server/src/modules/veeqo/models/veeqo-warehouse.d.ts +5 -0
  46. package/.medusa/server/src/modules/veeqo/service.d.ts +222 -0
  47. package/.medusa/server/src/modules/veeqo/types.d.ts +303 -0
  48. package/.medusa/server/src/subscribers/veeqo-dispatcher.d.ts +5 -0
  49. package/.medusa/server/src/workflows/channel.d.ts +12 -0
  50. package/.medusa/server/src/workflows/customer.d.ts +12 -0
  51. package/.medusa/server/src/workflows/delivery-method.d.ts +12 -0
  52. package/.medusa/server/src/workflows/order.d.ts +21 -0
  53. package/.medusa/server/src/workflows/product.d.ts +10 -0
  54. package/.medusa/server/src/workflows/shipments.d.ts +5 -0
  55. package/.medusa/server/src/workflows/shipments.js +5 -4
  56. package/.medusa/server/src/workflows/warehouse.d.ts +16 -0
  57. package/package.json +47 -38
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncCustomerToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncCustomerToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,9 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ /**
3
+ * POST /admin/veeqo/orders/shipment-sync
4
+ *
5
+ * Manually trigger shipment-status polling for all open VeeqoOrders.
6
+ * Mirrors what the veeqo-order-sync scheduled job does — useful for testing
7
+ * without waiting for the 15-minute cron.
8
+ */
9
+ export declare const GET: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncOrderToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncOrderToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncProductToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncProductToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncSalesChannelsToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncSalesChannelsToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const GET: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncShippingOptionsToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncShippingOptionsToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework/http';
2
+ import { AdminSyncStockLocationsToVeeqoType } from '../../../../validators';
3
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminSyncStockLocationsToVeeqoType>, res: MedusaResponse) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/http").MiddlewaresConfig;
2
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { z } from '@medusajs/framework/zod';
2
+ export declare const AdminSyncCustomerToVeeqo: z.ZodObject<{
3
+ customer_ids: z.ZodArray<z.ZodString>;
4
+ }, z.core.$strip>;
5
+ export type AdminSyncCustomerToVeeqoType = z.infer<typeof AdminSyncCustomerToVeeqo>;
6
+ export declare const AdminSyncShippingOptionsToVeeqo: z.ZodObject<{
7
+ shipping_option_ids: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ export type AdminSyncShippingOptionsToVeeqoType = z.infer<typeof AdminSyncShippingOptionsToVeeqo>;
10
+ export declare const AdminSyncOrderToVeeqo: z.ZodObject<{
11
+ order_ids: z.ZodArray<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ export type AdminSyncOrderToVeeqoType = z.infer<typeof AdminSyncOrderToVeeqo>;
14
+ export declare const AdminSyncProductToVeeqo: z.ZodObject<{
15
+ product_ids: z.ZodArray<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ export type AdminSyncProductToVeeqoType = z.infer<typeof AdminSyncProductToVeeqo>;
18
+ export declare const AdminSyncSalesChannelsToVeeqo: z.ZodObject<{
19
+ sales_channel_ids: z.ZodArray<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ export type AdminSyncSalesChannelsToVeeqoType = z.infer<typeof AdminSyncSalesChannelsToVeeqo>;
22
+ export declare const AdminSyncStockLocationsToVeeqo: z.ZodObject<{
23
+ stock_location_ids: z.ZodArray<z.ZodString>;
24
+ }, z.core.$strip>;
25
+ export type AdminSyncStockLocationsToVeeqoType = z.infer<typeof AdminSyncStockLocationsToVeeqo>;
@@ -0,0 +1,6 @@
1
+ import { MedusaContainer } from '@medusajs/framework/types';
2
+ export default function veeqoOrderSyncJob(container: MedusaContainer): Promise<void>;
3
+ export declare const config: {
4
+ name: string;
5
+ schedule: string;
6
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("@medusajs/framework/utils").DefineLinkExport;
2
+ export default _default;
@@ -0,0 +1,120 @@
1
+ import { VeeqoService } from './service';
2
+ export declare const VEEQO_MODULE = "veeqo";
3
+ declare const _default: import("@medusajs/types").ModuleExports<typeof VeeqoService> & {
4
+ linkable: {
5
+ readonly veeqoChannel: {
6
+ id: {
7
+ serviceName: "veeqo";
8
+ field: "veeqoChannel";
9
+ linkable: "veeqo_channel_id";
10
+ primaryKey: "id";
11
+ };
12
+ toJSON: () => {
13
+ serviceName: "veeqo";
14
+ field: "veeqoChannel";
15
+ linkable: "veeqo_channel_id";
16
+ primaryKey: "id";
17
+ };
18
+ };
19
+ readonly veeqoCustomer: {
20
+ id: {
21
+ serviceName: "veeqo";
22
+ field: "veeqoCustomer";
23
+ linkable: "veeqo_customer_id";
24
+ primaryKey: "id";
25
+ };
26
+ toJSON: () => {
27
+ serviceName: "veeqo";
28
+ field: "veeqoCustomer";
29
+ linkable: "veeqo_customer_id";
30
+ primaryKey: "id";
31
+ };
32
+ };
33
+ readonly veeqoDeliveryMethod: {
34
+ id: {
35
+ serviceName: "veeqo";
36
+ field: "veeqoDeliveryMethod";
37
+ linkable: "veeqo_delivery_method_id";
38
+ primaryKey: "id";
39
+ };
40
+ toJSON: () => {
41
+ serviceName: "veeqo";
42
+ field: "veeqoDeliveryMethod";
43
+ linkable: "veeqo_delivery_method_id";
44
+ primaryKey: "id";
45
+ };
46
+ };
47
+ readonly veeqoOrder: {
48
+ id: {
49
+ serviceName: "veeqo";
50
+ field: "veeqoOrder";
51
+ linkable: "veeqo_order_id";
52
+ primaryKey: "id";
53
+ };
54
+ toJSON: () => {
55
+ serviceName: "veeqo";
56
+ field: "veeqoOrder";
57
+ linkable: "veeqo_order_id";
58
+ primaryKey: "id";
59
+ };
60
+ };
61
+ readonly veeqoProduct: {
62
+ id: {
63
+ serviceName: "veeqo";
64
+ field: "veeqoProduct";
65
+ linkable: "veeqo_product_id";
66
+ primaryKey: "id";
67
+ };
68
+ toJSON: () => {
69
+ serviceName: "veeqo";
70
+ field: "veeqoProduct";
71
+ linkable: "veeqo_product_id";
72
+ primaryKey: "id";
73
+ };
74
+ };
75
+ readonly veeqoSellable: {
76
+ id: {
77
+ serviceName: "veeqo";
78
+ field: "veeqoSellable";
79
+ linkable: "veeqo_sellable_id";
80
+ primaryKey: "id";
81
+ };
82
+ toJSON: () => {
83
+ serviceName: "veeqo";
84
+ field: "veeqoSellable";
85
+ linkable: "veeqo_sellable_id";
86
+ primaryKey: "id";
87
+ };
88
+ };
89
+ readonly veeqoShipment: {
90
+ id: {
91
+ serviceName: "veeqo";
92
+ field: "veeqoShipment";
93
+ linkable: "veeqo_shipment_id";
94
+ primaryKey: "id";
95
+ };
96
+ toJSON: () => {
97
+ serviceName: "veeqo";
98
+ field: "veeqoShipment";
99
+ linkable: "veeqo_shipment_id";
100
+ primaryKey: "id";
101
+ };
102
+ };
103
+ readonly veeqoWarehouse: {
104
+ id: {
105
+ serviceName: "veeqo";
106
+ field: "veeqoWarehouse";
107
+ linkable: "veeqo_warehouse_id";
108
+ primaryKey: "id";
109
+ };
110
+ toJSON: () => {
111
+ serviceName: "veeqo";
112
+ field: "veeqoWarehouse";
113
+ linkable: "veeqo_warehouse_id";
114
+ primaryKey: "id";
115
+ };
116
+ };
117
+ };
118
+ };
119
+ export default _default;
120
+ export * from './service';
@@ -1,4 +1,18 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
17
  exports.VEEQO_MODULE = void 0;
4
18
  const utils_1 = require("@medusajs/framework/utils");
@@ -7,4 +21,5 @@ exports.VEEQO_MODULE = 'veeqo';
7
21
  exports.default = (0, utils_1.Module)(exports.VEEQO_MODULE, {
8
22
  service: service_1.VeeqoService
9
23
  });
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy92ZWVxby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxxREFBa0Q7QUFDbEQsdUNBQXdDO0FBRTNCLFFBQUEsWUFBWSxHQUFHLE9BQU8sQ0FBQTtBQUVuQyxrQkFBZSxJQUFBLGNBQU0sRUFBQyxvQkFBWSxFQUFFO0lBQ25DLE9BQU8sRUFBRSxzQkFBWTtDQUNyQixDQUFDLENBQUEifQ==
24
+ __exportStar(require("./service"), exports);
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy92ZWVxby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHFEQUFrRDtBQUNsRCx1Q0FBd0M7QUFFM0IsUUFBQSxZQUFZLEdBQUcsT0FBTyxDQUFBO0FBRW5DLGtCQUFlLElBQUEsY0FBTSxFQUFDLG9CQUFZLEVBQUU7SUFDbkMsT0FBTyxFQUFFLHNCQUFZO0NBQ3JCLENBQUMsQ0FBQTtBQUVGLDRDQUF5QiJ9
@@ -0,0 +1,5 @@
1
+ import { Migration } from "@medusajs/framework/mikro-orm/migrations";
2
+ export declare class Migration20260411222036 extends Migration {
3
+ up(): Promise<void>;
4
+ down(): Promise<void>;
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare const VeeqoChannel: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ sales_channel_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_channel_id: import("@medusajs/framework/utils").NumberProperty;
5
+ }>, "veeqo_channel">;
@@ -0,0 +1,26 @@
1
+ export declare const VeeqoCustomer: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ customer_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_customer_id: import("@medusajs/framework/utils").NumberProperty;
5
+ veeqo_orders: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
6
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
7
+ status: import("@medusajs/framework/utils").EnumProperty<typeof import("./veeqo-order").Status>;
8
+ last_synced_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
9
+ order_id: import("@medusajs/framework/utils").TextProperty;
10
+ veeqo_order_id: import("@medusajs/framework/utils").NumberProperty;
11
+ veeqo_status: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
12
+ veeqo_customer: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_customer">, undefined>;
13
+ veeqo_shipments: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
14
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
15
+ fulfillment_id: import("@medusajs/framework/utils").TextProperty;
16
+ veeqo_allocation_id: import("@medusajs/framework/utils").NumberProperty;
17
+ veeqo_shipment_id: import("@medusajs/framework/utils").NumberProperty;
18
+ carrier: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
19
+ tracking_number: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
20
+ shipped_by: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
21
+ shipped_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
22
+ veeqo_tracking_events: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
23
+ veeqo_order: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_order">, undefined>;
24
+ }>, "veeqo_shipment">>;
25
+ }>, "veeqo_order">>;
26
+ }>, "veeqo_customer">;
@@ -0,0 +1,5 @@
1
+ export declare const VeeqoDeliveryMethod: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ shipping_option_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_delivery_method_id: import("@medusajs/framework/utils").NumberProperty;
5
+ }>, "veeqo_delivery_method">;
@@ -0,0 +1,30 @@
1
+ export declare enum Status {
2
+ OPEN = "open",
3
+ CLOSED = "closed"
4
+ }
5
+ export declare const VeeqoOrder: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
6
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
7
+ status: import("@medusajs/framework/utils").EnumProperty<typeof Status>;
8
+ last_synced_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
9
+ order_id: import("@medusajs/framework/utils").TextProperty;
10
+ veeqo_order_id: import("@medusajs/framework/utils").NumberProperty;
11
+ veeqo_status: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
12
+ veeqo_customer: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
13
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
14
+ customer_id: import("@medusajs/framework/utils").TextProperty;
15
+ veeqo_customer_id: import("@medusajs/framework/utils").NumberProperty;
16
+ veeqo_orders: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_order">>;
17
+ }>, "veeqo_customer">, undefined>;
18
+ veeqo_shipments: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
19
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
20
+ fulfillment_id: import("@medusajs/framework/utils").TextProperty;
21
+ veeqo_allocation_id: import("@medusajs/framework/utils").NumberProperty;
22
+ veeqo_shipment_id: import("@medusajs/framework/utils").NumberProperty;
23
+ carrier: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
24
+ tracking_number: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
25
+ shipped_by: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
26
+ shipped_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
27
+ veeqo_tracking_events: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
28
+ veeqo_order: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_order">, undefined>;
29
+ }>, "veeqo_shipment">>;
30
+ }>, "veeqo_order">;
@@ -0,0 +1,5 @@
1
+ export declare const VeeqoProduct: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ product_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_product_id: import("@medusajs/framework/utils").NumberProperty;
5
+ }>, "veeqo_product">;
@@ -0,0 +1,5 @@
1
+ export declare const VeeqoSellable: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ product_variant_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_sellable_id: import("@medusajs/framework/utils").NumberProperty;
5
+ }>, "veeqo_sellable">;
@@ -0,0 +1,26 @@
1
+ export declare const VeeqoShipment: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ fulfillment_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_allocation_id: import("@medusajs/framework/utils").NumberProperty;
5
+ veeqo_shipment_id: import("@medusajs/framework/utils").NumberProperty;
6
+ carrier: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
7
+ tracking_number: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
8
+ shipped_by: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
9
+ shipped_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
10
+ veeqo_tracking_events: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
11
+ veeqo_order: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
12
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
13
+ status: import("@medusajs/framework/utils").EnumProperty<typeof import("./veeqo-order").Status>;
14
+ last_synced_at: import("@medusajs/framework/utils").NullableModifier<Date, import("@medusajs/framework/utils").DateTimeProperty>;
15
+ order_id: import("@medusajs/framework/utils").TextProperty;
16
+ veeqo_order_id: import("@medusajs/framework/utils").NumberProperty;
17
+ veeqo_status: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
18
+ veeqo_customer: import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
19
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
20
+ customer_id: import("@medusajs/framework/utils").TextProperty;
21
+ veeqo_customer_id: import("@medusajs/framework/utils").NumberProperty;
22
+ veeqo_orders: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_order">>;
23
+ }>, "veeqo_customer">, undefined>;
24
+ veeqo_shipments: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "veeqo_shipment">>;
25
+ }>, "veeqo_order">, undefined>;
26
+ }>, "veeqo_shipment">;
@@ -0,0 +1,5 @@
1
+ export declare const VeeqoWarehouse: import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
2
+ id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
3
+ stock_location_id: import("@medusajs/framework/utils").TextProperty;
4
+ veeqo_warehouse_id: import("@medusajs/framework/utils").NumberProperty;
5
+ }>, "veeqo_warehouse">;