@wix/ecom_app-extensions 1.0.22 → 1.0.24

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 (19) hide show
  1. package/build/cjs/src/extensions/dashboard-page-builders.d.ts +38 -6
  2. package/build/cjs/src/extensions/dashboard-page-builders.js +45 -7
  3. package/build/cjs/src/extensions/dashboard-page-builders.js.map +1 -1
  4. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +5 -0
  5. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +3 -0
  6. package/build/cjs/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +1 -0
  7. package/build/cjs/src/extensions/dashboard-pages-plugin-props.d.ts +1 -0
  8. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js +2 -1
  9. package/build/cjs/src/extensions/dashboard-pages-plugin-props.js.map +1 -1
  10. package/build/es/src/extensions/dashboard-page-builders.d.ts +38 -6
  11. package/build/es/src/extensions/dashboard-page-builders.js +42 -6
  12. package/build/es/src/extensions/dashboard-page-builders.js.map +1 -1
  13. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.d.ts +5 -0
  14. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js +2 -0
  15. package/build/es/src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js.map +1 -0
  16. package/build/es/src/extensions/dashboard-pages-plugin-props.d.ts +1 -0
  17. package/build/es/src/extensions/dashboard-pages-plugin-props.js +1 -0
  18. package/build/es/src/extensions/dashboard-pages-plugin-props.js.map +1 -1
  19. package/package.json +2 -2
@@ -2,29 +2,61 @@ export interface editOrderOptions {
2
2
  /** ID of the order to edit. */
3
3
  orderId: string;
4
4
  }
5
- /** @dashobardPageBuilder */
5
+ /**
6
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Order" page in the dashboard.
7
+ * @dashobardPageBuilder
8
+ */
6
9
  export declare function editOrder(options: editOrderOptions): PageBuilderResult;
7
10
  export interface orderRefundOptions {
8
11
  /** ID of the order to refund. */
9
12
  orderId: string;
10
13
  }
11
- /** @dashobardPageBuilder */
14
+ /**
15
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Refund" page in the dashboard.
16
+ * @dashobardPageBuilder
17
+ */
12
18
  export declare function orderRefund(options: orderRefundOptions): PageBuilderResult;
13
- /** @dashobardPageBuilder */
19
+ /**
20
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profiles" page in the dashboard.
21
+ * @dashobardPageBuilder
22
+ */
14
23
  export declare function deliveryProfiles(): PageBuilderResult;
15
24
  export interface deliveryProfileOptions {
16
25
  /** Delivery profile to manage */
17
26
  deliveryProfileId: string;
18
27
  }
19
- /** @dashobardPageBuilder */
28
+ /**
29
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profile" page in the dashboard.
30
+ * @dashobardPageBuilder
31
+ */
20
32
  export declare function deliveryProfile(options: deliveryProfileOptions): PageBuilderResult;
21
- /** @dashobardPageBuilder */
33
+ /**
34
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order List" page in the dashboard.
35
+ * @dashobardPageBuilder
36
+ */
22
37
  export declare function orderList(): PageBuilderResult;
38
+ /**
39
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "New Order" page in the dashboard.
40
+ * @dashobardPageBuilder
41
+ */
42
+ export declare function newOrder(): PageBuilderResult;
43
+ export interface editDraftOrderOptions {
44
+ /** Draft order id */
45
+ draftOrderId: string;
46
+ }
47
+ /**
48
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Draft Order" page in the dashboard.
49
+ * @dashobardPageBuilder
50
+ */
51
+ export declare function editDraftOrder(options: editDraftOrderOptions): PageBuilderResult;
23
52
  export interface orderDetailsOptions {
24
53
  /** The order Id to display */
25
54
  id: string;
26
55
  }
27
- /** @dashobardPageBuilder */
56
+ /**
57
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Details" page in the dashboard.
58
+ * @dashobardPageBuilder
59
+ */
28
60
  export declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
29
61
  export interface PageBuilderResult {
30
62
  pageId: string;
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.orderDetails = exports.orderList = exports.deliveryProfile = exports.deliveryProfiles = exports.orderRefund = exports.editOrder = void 0;
4
- /** @dashobardPageBuilder */
3
+ exports.orderDetails = exports.editDraftOrder = exports.newOrder = exports.orderList = exports.deliveryProfile = exports.deliveryProfiles = exports.orderRefund = exports.editOrder = void 0;
4
+ /**
5
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Order" page in the dashboard.
6
+ * @dashobardPageBuilder
7
+ */
5
8
  function editOrder(options) {
6
9
  const { orderId } = options;
7
10
  return {
@@ -10,7 +13,10 @@ function editOrder(options) {
10
13
  };
11
14
  }
12
15
  exports.editOrder = editOrder;
13
- /** @dashobardPageBuilder */
16
+ /**
17
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Refund" page in the dashboard.
18
+ * @dashobardPageBuilder
19
+ */
14
20
  function orderRefund(options) {
15
21
  const { orderId } = options;
16
22
  return {
@@ -19,12 +25,18 @@ function orderRefund(options) {
19
25
  };
20
26
  }
21
27
  exports.orderRefund = orderRefund;
22
- /** @dashobardPageBuilder */
28
+ /**
29
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profiles" page in the dashboard.
30
+ * @dashobardPageBuilder
31
+ */
23
32
  function deliveryProfiles() {
24
33
  return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
25
34
  }
26
35
  exports.deliveryProfiles = deliveryProfiles;
27
- /** @dashobardPageBuilder */
36
+ /**
37
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profile" page in the dashboard.
38
+ * @dashobardPageBuilder
39
+ */
28
40
  function deliveryProfile(options) {
29
41
  const { deliveryProfileId } = options;
30
42
  return {
@@ -33,12 +45,38 @@ function deliveryProfile(options) {
33
45
  };
34
46
  }
35
47
  exports.deliveryProfile = deliveryProfile;
36
- /** @dashobardPageBuilder */
48
+ /**
49
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order List" page in the dashboard.
50
+ * @dashobardPageBuilder
51
+ */
37
52
  function orderList() {
38
53
  return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
39
54
  }
40
55
  exports.orderList = orderList;
41
- /** @dashobardPageBuilder */
56
+ /**
57
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "New Order" page in the dashboard.
58
+ * @dashobardPageBuilder
59
+ */
60
+ function newOrder() {
61
+ return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };
62
+ }
63
+ exports.newOrder = newOrder;
64
+ /**
65
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Draft Order" page in the dashboard.
66
+ * @dashobardPageBuilder
67
+ */
68
+ function editDraftOrder(options) {
69
+ const { draftOrderId } = options;
70
+ return {
71
+ pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',
72
+ relativeUrl: `${draftOrderId}`,
73
+ };
74
+ }
75
+ exports.editDraftOrder = editDraftOrder;
76
+ /**
77
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Details" page in the dashboard.
78
+ * @dashobardPageBuilder
79
+ */
42
80
  function orderDetails(options) {
43
81
  const { id } = options;
44
82
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":";;;AAKA,4BAA4B;AAC5B,SAAgB,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,8BAOC;AAOD,4BAA4B;AAC5B,SAAgB,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,kCAOC;AAED,4BAA4B;AAC5B,SAAgB,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4CAEC;AAOD,4BAA4B;AAC5B,SAAgB,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AATD,0CASC;AAED,4BAA4B;AAC5B,SAAgB,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,8BAEC;AAOD,4BAA4B;AAC5B,SAAgB,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC;AAPD,oCAOC"}
1
+ {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":";;;AAKA;;;GAGG;AACH,SAAgB,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,8BAOC;AAOD;;;GAGG;AACH,SAAgB,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAPD,kCAOC;AAED;;;GAGG;AACH,SAAgB,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4CAEC;AAOD;;;GAGG;AACH,SAAgB,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AATD,0CASC;AAED;;;GAGG;AACH,SAAgB,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,QAAQ;IACtB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4BAEC;AAOD;;;GAGG;AACH,SAAgB,cAAc,CAC5B,OAA8B;IAE9B,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,YAAY,EAAE;KAC/B,CAAC;AACJ,CAAC;AATD,wCASC;AAOD;;;GAGG;AACH,SAAgB,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC;AAPD,oCAOC"}
@@ -0,0 +1,5 @@
1
+ /** @pageName DraftOrderPage */
2
+ export declare type DraftOrderManageFeesActionParams = {
3
+ draftOrderId: string;
4
+ onDraftOrderUpdate(): Promise<void>;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=8454e8a0-5684-4331-9d4a-e4873467553a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"8454e8a0-5684-4331-9d4a-e4873467553a.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * as OrderEditPage from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
2
  export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
+ export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Orders = exports.OrderEditPage = void 0;
26
+ exports.DraftOrderPage = exports.Orders = exports.OrderEditPage = void 0;
27
27
  exports.OrderEditPage = __importStar(require("./dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js"));
28
28
  exports.Orders = __importStar(require("./dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js"));
29
+ exports.DraftOrderPage = __importStar(require("./dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js"));
29
30
  //# sourceMappingURL=dashboard-pages-plugin-props.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kHAAkG;AAClG,2GAA2F"}
1
+ {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kHAAkG;AAClG,2GAA2F;AAC3F,mHAAmG"}
@@ -2,29 +2,61 @@ export interface editOrderOptions {
2
2
  /** ID of the order to edit. */
3
3
  orderId: string;
4
4
  }
5
- /** @dashobardPageBuilder */
5
+ /**
6
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Order" page in the dashboard.
7
+ * @dashobardPageBuilder
8
+ */
6
9
  export declare function editOrder(options: editOrderOptions): PageBuilderResult;
7
10
  export interface orderRefundOptions {
8
11
  /** ID of the order to refund. */
9
12
  orderId: string;
10
13
  }
11
- /** @dashobardPageBuilder */
14
+ /**
15
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Refund" page in the dashboard.
16
+ * @dashobardPageBuilder
17
+ */
12
18
  export declare function orderRefund(options: orderRefundOptions): PageBuilderResult;
13
- /** @dashobardPageBuilder */
19
+ /**
20
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profiles" page in the dashboard.
21
+ * @dashobardPageBuilder
22
+ */
14
23
  export declare function deliveryProfiles(): PageBuilderResult;
15
24
  export interface deliveryProfileOptions {
16
25
  /** Delivery profile to manage */
17
26
  deliveryProfileId: string;
18
27
  }
19
- /** @dashobardPageBuilder */
28
+ /**
29
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profile" page in the dashboard.
30
+ * @dashobardPageBuilder
31
+ */
20
32
  export declare function deliveryProfile(options: deliveryProfileOptions): PageBuilderResult;
21
- /** @dashobardPageBuilder */
33
+ /**
34
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order List" page in the dashboard.
35
+ * @dashobardPageBuilder
36
+ */
22
37
  export declare function orderList(): PageBuilderResult;
38
+ /**
39
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "New Order" page in the dashboard.
40
+ * @dashobardPageBuilder
41
+ */
42
+ export declare function newOrder(): PageBuilderResult;
43
+ export interface editDraftOrderOptions {
44
+ /** Draft order id */
45
+ draftOrderId: string;
46
+ }
47
+ /**
48
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Draft Order" page in the dashboard.
49
+ * @dashobardPageBuilder
50
+ */
51
+ export declare function editDraftOrder(options: editDraftOrderOptions): PageBuilderResult;
23
52
  export interface orderDetailsOptions {
24
53
  /** The order Id to display */
25
54
  id: string;
26
55
  }
27
- /** @dashobardPageBuilder */
56
+ /**
57
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Details" page in the dashboard.
58
+ * @dashobardPageBuilder
59
+ */
28
60
  export declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
29
61
  export interface PageBuilderResult {
30
62
  pageId: string;
@@ -1,4 +1,7 @@
1
- /** @dashobardPageBuilder */
1
+ /**
2
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Order" page in the dashboard.
3
+ * @dashobardPageBuilder
4
+ */
2
5
  export function editOrder(options) {
3
6
  const { orderId } = options;
4
7
  return {
@@ -6,7 +9,10 @@ export function editOrder(options) {
6
9
  relativeUrl: `${orderId}`,
7
10
  };
8
11
  }
9
- /** @dashobardPageBuilder */
12
+ /**
13
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Refund" page in the dashboard.
14
+ * @dashobardPageBuilder
15
+ */
10
16
  export function orderRefund(options) {
11
17
  const { orderId } = options;
12
18
  return {
@@ -14,11 +20,17 @@ export function orderRefund(options) {
14
20
  relativeUrl: `${orderId}`,
15
21
  };
16
22
  }
17
- /** @dashobardPageBuilder */
23
+ /**
24
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profiles" page in the dashboard.
25
+ * @dashobardPageBuilder
26
+ */
18
27
  export function deliveryProfiles() {
19
28
  return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
20
29
  }
21
- /** @dashobardPageBuilder */
30
+ /**
31
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Delivery Profile" page in the dashboard.
32
+ * @dashobardPageBuilder
33
+ */
22
34
  export function deliveryProfile(options) {
23
35
  const { deliveryProfileId } = options;
24
36
  return {
@@ -26,11 +38,35 @@ export function deliveryProfile(options) {
26
38
  relativeUrl: `${deliveryProfileId}`,
27
39
  };
28
40
  }
29
- /** @dashobardPageBuilder */
41
+ /**
42
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order List" page in the dashboard.
43
+ * @dashobardPageBuilder
44
+ */
30
45
  export function orderList() {
31
46
  return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
32
47
  }
33
- /** @dashobardPageBuilder */
48
+ /**
49
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "New Order" page in the dashboard.
50
+ * @dashobardPageBuilder
51
+ */
52
+ export function newOrder() {
53
+ return { pageId: '8454e8a0-5684-4331-9d4a-e4873467553a' };
54
+ }
55
+ /**
56
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Edit Draft Order" page in the dashboard.
57
+ * @dashobardPageBuilder
58
+ */
59
+ export function editDraftOrder(options) {
60
+ const { draftOrderId } = options;
61
+ return {
62
+ pageId: '8454e8a0-5684-4331-9d4a-e4873467553a',
63
+ relativeUrl: `${draftOrderId}`,
64
+ };
65
+ }
66
+ /**
67
+ * A builder method that returns the <a href='https://dev.wix.com/docs/sdk/host-modules/dashboard/navigate#destination-object'>destination object</a> for navigating to the "Order Details" page in the dashboard.
68
+ * @dashobardPageBuilder
69
+ */
34
70
  export function orderDetails(options) {
35
71
  const { id } = options;
36
72
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":"AAKA,4BAA4B;AAC5B,MAAM,UAAU,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAOD,4BAA4B;AAC5B,MAAM,UAAU,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED,4BAA4B;AAC5B,MAAM,UAAU,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD,4BAA4B;AAC5B,MAAM,UAAU,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AAED,4BAA4B;AAC5B,MAAM,UAAU,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD,4BAA4B;AAC5B,MAAM,UAAU,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,OAAyB;IACjD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,OAA2B;IACrD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAE5B,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,eAAe,CAC7B,OAA+B;IAE/B,MAAM,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAEtC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,QAAQ;IACtB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,cAAc,CAC5B,OAA8B;IAE9B,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,YAAY,EAAE;KAC/B,CAAC;AACJ,CAAC;AAOD;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,OAA4B;IACvD,MAAM,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAEvB,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** @pageName DraftOrderPage */
2
+ export declare type DraftOrderManageFeesActionParams = {
3
+ draftOrderId: string;
4
+ onDraftOrderUpdate(): Promise<void>;
5
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=8454e8a0-5684-4331-9d4a-e4873467553a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"8454e8a0-5684-4331-9d4a-e4873467553a.js","sourceRoot":"","sources":["../../../../../src/extensions/dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * as OrderEditPage from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
2
  export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
+ export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
@@ -1,3 +1,4 @@
1
1
  export * as OrderEditPage from './dashboard-page-plugins/f2526550-194f-4c13-9298-9a6b8abda62f.js';
2
2
  export * as Orders from './dashboard-page-plugins/8107f05f-d646-4c81-be90-adf28d321398.js';
3
+ export * as DraftOrderPage from './dashboard-page-plugins/8454e8a0-5684-4331-9d4a-e4873467553a.js';
3
4
  //# sourceMappingURL=dashboard-pages-plugin-props.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,kEAAkE,CAAC;AAClG,OAAO,KAAK,MAAM,MAAM,kEAAkE,CAAC"}
1
+ {"version":3,"file":"dashboard-pages-plugin-props.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-pages-plugin-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,kEAAkE,CAAC;AAClG,OAAO,KAAK,MAAM,MAAM,kEAAkE,CAAC;AAC3F,OAAO,KAAK,cAAc,MAAM,kEAAkE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom_app-extensions",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,5 +43,5 @@
43
43
  "groupId": "com.wixpress.sdk-app-extensions-autogen"
44
44
  }
45
45
  },
46
- "falconPackageHash": "739b485b49b086b9e1f0648a0918a513c959f86381ec2b20ee5b7ee3"
46
+ "falconPackageHash": "2f35c61a8b84aebb93e6c6d8b63b82f1e0e34926289b166f4e6216c2"
47
47
  }