@mercurjs/admin 2.0.0-canary.91 → 2.0.0-canary.92

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.
@@ -9323,7 +9323,7 @@ var require_common39 = __commonJS({
9323
9323
  "../types/dist/payout/common.js"(exports) {
9324
9324
  "use strict";
9325
9325
  Object.defineProperty(exports, "__esModule", { value: true });
9326
- exports.PayoutStatus = exports.PayoutAccountStatus = void 0;
9326
+ exports.PAYOUT_MODULE_OPTION_DEFAULTS = exports.PayoutEvents = exports.PayoutStatus = exports.PayoutAccountStatus = void 0;
9327
9327
  var PayoutAccountStatus;
9328
9328
  (function(PayoutAccountStatus2) {
9329
9329
  PayoutAccountStatus2["PENDING"] = "pending";
@@ -9339,6 +9339,19 @@ var require_common39 = __commonJS({
9339
9339
  PayoutStatus2["FAILED"] = "failed";
9340
9340
  PayoutStatus2["CANCELED"] = "canceled";
9341
9341
  })(PayoutStatus || (exports.PayoutStatus = PayoutStatus = {}));
9342
+ var PayoutEvents;
9343
+ (function(PayoutEvents2) {
9344
+ PayoutEvents2["OrderCaptureRequested"] = "order.capture_requested";
9345
+ PayoutEvents2["OrderAuthorizationExpired"] = "order.authorization_expired";
9346
+ PayoutEvents2["PayoutRequested"] = "payout.requested";
9347
+ })(PayoutEvents || (exports.PayoutEvents = PayoutEvents = {}));
9348
+ exports.PAYOUT_MODULE_OPTION_DEFAULTS = {
9349
+ disabled: false,
9350
+ authorizationWindowMs: 7 * 24 * 60 * 60 * 1e3,
9351
+ sellerActionWindowMs: 72 * 60 * 60 * 1e3,
9352
+ captureSafetyBufferMs: 24 * 60 * 60 * 1e3,
9353
+ requiredFulfillmentStatus: "fulfilled"
9354
+ };
9342
9355
  }
9343
9356
  });
9344
9357
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-D32IV5XP.js";
3
+ } from "./chunk-BPTVQM72.js";
4
4
  import {
5
5
  useOrderTableColumns
6
6
  } from "./chunk-DBYUB2YI.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-D32IV5XP.js";
3
+ } from "./chunk-BPTVQM72.js";
4
4
  import {
5
5
  DateCell
6
6
  } from "./chunk-25LYVP3C.js";
package/dist/index.js CHANGED
@@ -3916,12 +3916,12 @@ function getRouteMap({
3916
3916
  children: [
3917
3917
  {
3918
3918
  path: "",
3919
- lazy: () => import("./seller-list-R2XLVH4X.js")
3919
+ lazy: () => import("./seller-list-CYNCPXYT.js")
3920
3920
  },
3921
3921
  {
3922
3922
  path: ":id",
3923
3923
  lazy: async () => {
3924
- const { Breadcrumb } = await import("./seller-details-Y74W4N7V.js");
3924
+ const { Breadcrumb } = await import("./seller-details-52PG56BK.js");
3925
3925
  return {
3926
3926
  Component: Outlet4,
3927
3927
  handle: {
@@ -3932,7 +3932,7 @@ function getRouteMap({
3932
3932
  children: [
3933
3933
  {
3934
3934
  path: "",
3935
- lazy: () => import("./seller-details-Y74W4N7V.js"),
3935
+ lazy: () => import("./seller-details-52PG56BK.js"),
3936
3936
  children: [
3937
3937
  {
3938
3938
  path: "edit",
@@ -2364,7 +2364,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2364
2364
  value: string | number;
2365
2365
  type: "fixed" | "percentage";
2366
2366
  target_type: "order" | "items" | "shipping_methods";
2367
- allocation: "once" | "each" | "across";
2367
+ allocation: "each" | "across" | "once";
2368
2368
  target_rules: {
2369
2369
  values: string | number | string[];
2370
2370
  operator: string;
@@ -2389,7 +2389,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2389
2389
  value: string | number;
2390
2390
  type: "fixed" | "percentage";
2391
2391
  target_type: "order" | "items" | "shipping_methods";
2392
- allocation: "once" | "each" | "across";
2392
+ allocation: "each" | "across" | "once";
2393
2393
  target_rules: {
2394
2394
  values: string | number | string[];
2395
2395
  operator: string;
@@ -2476,7 +2476,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2476
2476
  value: string | number;
2477
2477
  type: "fixed" | "percentage";
2478
2478
  target_type: "order" | "items" | "shipping_methods";
2479
- allocation: "once" | "each" | "across";
2479
+ allocation: "each" | "across" | "once";
2480
2480
  target_rules: {
2481
2481
  values: string | number | string[];
2482
2482
  operator: string;
@@ -2533,7 +2533,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2533
2533
  value: string | number;
2534
2534
  type: "fixed" | "percentage";
2535
2535
  target_type: "order" | "items" | "shipping_methods";
2536
- allocation: "once" | "each" | "across";
2536
+ allocation: "each" | "across" | "once";
2537
2537
  target_rules: {
2538
2538
  values: string | number | string[];
2539
2539
  operator: string;
@@ -2590,7 +2590,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2590
2590
  value: string | number;
2591
2591
  type: "fixed" | "percentage";
2592
2592
  target_type: "order" | "items" | "shipping_methods";
2593
- allocation: "once" | "each" | "across";
2593
+ allocation: "each" | "across" | "once";
2594
2594
  target_rules: {
2595
2595
  values: string | number | string[];
2596
2596
  operator: string;
@@ -2647,7 +2647,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
2647
2647
  value: string | number;
2648
2648
  type: "fixed" | "percentage";
2649
2649
  target_type: "order" | "items" | "shipping_methods";
2650
- allocation: "once" | "each" | "across";
2650
+ allocation: "each" | "across" | "once";
2651
2651
  target_rules: {
2652
2652
  values: string | number | string[];
2653
2653
  operator: string;
@@ -2720,7 +2720,7 @@ declare const PromotionCreatePage: (({ children }: {
2720
2720
  value: string | number;
2721
2721
  type: "fixed" | "percentage";
2722
2722
  target_type: "order" | "items" | "shipping_methods";
2723
- allocation: "once" | "each" | "across";
2723
+ allocation: "each" | "across" | "once";
2724
2724
  target_rules: {
2725
2725
  values: string | number | string[];
2726
2726
  operator: string;
@@ -2787,7 +2787,7 @@ declare const PromotionCreatePage: (({ children }: {
2787
2787
  value: string | number;
2788
2788
  type: "fixed" | "percentage";
2789
2789
  target_type: "order" | "items" | "shipping_methods";
2790
- allocation: "once" | "each" | "across";
2790
+ allocation: "each" | "across" | "once";
2791
2791
  target_rules: {
2792
2792
  values: string | number | string[];
2793
2793
  operator: string;
@@ -2848,7 +2848,7 @@ declare const PromotionCreatePage: (({ children }: {
2848
2848
  value: string | number;
2849
2849
  type: "fixed" | "percentage";
2850
2850
  target_type: "order" | "items" | "shipping_methods";
2851
- allocation: "once" | "each" | "across";
2851
+ allocation: "each" | "across" | "once";
2852
2852
  target_rules: {
2853
2853
  values: string | number | string[];
2854
2854
  operator: string;
@@ -111,7 +111,7 @@ import {
111
111
  } from "../chunk-FIYO3KTR.js";
112
112
  import {
113
113
  SellerDetailPage
114
- } from "../chunk-OQKLVMHC.js";
114
+ } from "../chunk-N5XVXV47.js";
115
115
  import {
116
116
  PayoutListPage
117
117
  } from "../chunk-G4MIA23Y.js";
@@ -134,8 +134,8 @@ import {
134
134
  } from "../chunk-FD7OJEGQ.js";
135
135
  import {
136
136
  SellerListPage
137
- } from "../chunk-SA5OGO5Y.js";
138
- import "../chunk-D32IV5XP.js";
137
+ } from "../chunk-NHGR2OFE.js";
138
+ import "../chunk-BPTVQM72.js";
139
139
  import {
140
140
  PriceListPricesAddPage,
141
141
  PriceListPricesAddSchema
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SellerDetailPage
3
- } from "./chunk-OQKLVMHC.js";
4
- import "./chunk-D32IV5XP.js";
3
+ } from "./chunk-N5XVXV47.js";
4
+ import "./chunk-BPTVQM72.js";
5
5
  import "./chunk-DBYUB2YI.js";
6
6
  import "./chunk-NOWUEJ74.js";
7
7
  import "./chunk-TZSOL34K.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SellerListPage
3
- } from "./chunk-SA5OGO5Y.js";
4
- import "./chunk-D32IV5XP.js";
3
+ } from "./chunk-NHGR2OFE.js";
4
+ import "./chunk-BPTVQM72.js";
5
5
  import "./chunk-25LYVP3C.js";
6
6
  import "./chunk-DB6ANJBO.js";
7
7
  import "./chunk-PHOCVOZ5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/admin",
3
- "version": "2.0.0-canary.91",
3
+ "version": "2.0.0-canary.92",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",
@@ -29,8 +29,8 @@
29
29
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
30
30
  },
31
31
  "dependencies": {
32
- "@mercurjs/dashboard-shared": "2.0.0-canary.91",
33
- "@mercurjs/client": "2.0.0-canary.91",
32
+ "@mercurjs/dashboard-shared": "2.0.0-canary.92",
33
+ "@mercurjs/client": "2.0.0-canary.92",
34
34
  "@ariakit/react": "^0.4.15",
35
35
  "@babel/runtime": "^7.26.10",
36
36
  "@dnd-kit/core": "^6.1.0",