@wix/ecom_app-extensions 1.0.22 → 1.0.23
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/build/cjs/src/extensions/dashboard-page-builders.d.ts +24 -6
- package/build/cjs/src/extensions/dashboard-page-builders.js +24 -6
- package/build/cjs/src/extensions/dashboard-page-builders.js.map +1 -1
- package/build/es/src/extensions/dashboard-page-builders.d.ts +24 -6
- package/build/es/src/extensions/dashboard-page-builders.js +24 -6
- package/build/es/src/extensions/dashboard-page-builders.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,29 +2,47 @@ export interface editOrderOptions {
|
|
|
2
2
|
/** ID of the order to edit. */
|
|
3
3
|
orderId: string;
|
|
4
4
|
}
|
|
5
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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;
|
|
23
38
|
export interface orderDetailsOptions {
|
|
24
39
|
/** The order Id to display */
|
|
25
40
|
id: string;
|
|
26
41
|
}
|
|
27
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
* @dashobardPageBuilder
|
|
45
|
+
*/
|
|
28
46
|
export declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
|
|
29
47
|
export interface PageBuilderResult {
|
|
30
48
|
pageId: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.orderDetails = exports.orderList = exports.deliveryProfile = exports.deliveryProfiles = exports.orderRefund = exports.editOrder = void 0;
|
|
4
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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,18 @@ function deliveryProfile(options) {
|
|
|
33
45
|
};
|
|
34
46
|
}
|
|
35
47
|
exports.deliveryProfile = deliveryProfile;
|
|
36
|
-
/**
|
|
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
|
-
/**
|
|
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
|
+
*/
|
|
42
60
|
function orderDetails(options) {
|
|
43
61
|
const { id } = options;
|
|
44
62
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":";;;AAKA
|
|
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;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"}
|
|
@@ -2,29 +2,47 @@ export interface editOrderOptions {
|
|
|
2
2
|
/** ID of the order to edit. */
|
|
3
3
|
orderId: string;
|
|
4
4
|
}
|
|
5
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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;
|
|
23
38
|
export interface orderDetailsOptions {
|
|
24
39
|
/** The order Id to display */
|
|
25
40
|
id: string;
|
|
26
41
|
}
|
|
27
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
* @dashobardPageBuilder
|
|
45
|
+
*/
|
|
28
46
|
export declare function orderDetails(options: orderDetailsOptions): PageBuilderResult;
|
|
29
47
|
export interface PageBuilderResult {
|
|
30
48
|
pageId: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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,17 @@ export function deliveryProfile(options) {
|
|
|
26
38
|
relativeUrl: `${deliveryProfileId}`,
|
|
27
39
|
};
|
|
28
40
|
}
|
|
29
|
-
/**
|
|
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
|
-
/**
|
|
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 Details" page in the dashboard.
|
|
50
|
+
* @dashobardPageBuilder
|
|
51
|
+
*/
|
|
34
52
|
export function orderDetails(options) {
|
|
35
53
|
const { id } = options;
|
|
36
54
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":"AAKA
|
|
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;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom_app-extensions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
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": "
|
|
46
|
+
"falconPackageHash": "f3cf44d914c6d814ba70268f604a99cd1405dbe330cad3c1286e4b46"
|
|
47
47
|
}
|