@porulle/plugin-channel-connector 0.10.3 → 0.10.5

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.
@@ -21,12 +21,12 @@ export declare function mockChannelConnector(options?: MockChannelConnectorOptio
21
21
  nextCursor: null;
22
22
  }, never>>;
23
23
  fetchInventory(_store: import("@porulle/core").ChannelStore, ids: string[] | undefined): Promise<{
24
+ ok: false;
25
+ error: CommerceValidationError;
26
+ } | {
24
27
  ok: true;
25
28
  value: ChannelInventoryLevel[];
26
29
  meta?: Record<string, unknown>;
27
- } | {
28
- ok: false;
29
- error: CommerceValidationError;
30
30
  }>;
31
31
  pushOrder(_store: import("@porulle/core").ChannelStore, slice: ChannelOrderSlice): Promise<import("@porulle/core").Result<{
32
32
  remoteOrderId: string;
package/dist/schema.d.ts CHANGED
@@ -94,7 +94,7 @@ export declare const connectedStores: import("drizzle-orm/pg-core/table").PgTabl
94
94
  tableName: "connected_stores";
95
95
  dataType: "string";
96
96
  columnType: "PgText";
97
- data: "connected" | "disconnected" | "error";
97
+ data: "error" | "connected" | "disconnected";
98
98
  driverParam: string;
99
99
  notNull: true;
100
100
  hasDefault: true;
@@ -530,7 +530,7 @@ export declare const channelOrderExports: import("drizzle-orm/pg-core/table").Pg
530
530
  tableName: "channel_order_exports";
531
531
  dataType: "string";
532
532
  columnType: "PgText";
533
- data: "pending" | "exported" | "confirmed" | "failed" | "abandoned";
533
+ data: "pending" | "abandoned" | "failed" | "confirmed" | "exported";
534
534
  driverParam: string;
535
535
  notNull: true;
536
536
  hasDefault: true;
@@ -918,7 +918,7 @@ export declare const channelRefundRequests: import("drizzle-orm/pg-core/table").
918
918
  tableName: "channel_refund_requests";
919
919
  dataType: "string";
920
920
  columnType: "PgText";
921
- data: "requested" | "approved" | "rejected" | "executed";
921
+ data: "rejected" | "requested" | "approved" | "executed";
922
922
  driverParam: string;
923
923
  notNull: true;
924
924
  hasDefault: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porulle/plugin-channel-connector",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@hono/zod-openapi": "^1.2.2",
21
21
  "hono": "^4.12.5",
22
- "@porulle/core": "0.10.3"
22
+ "@porulle/core": "0.10.5"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^24.5.2",