@wix/ecom_app-extensions 1.0.0 → 1.0.2

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.
@@ -0,0 +1 @@
1
+ export * as dashboardPages from './src/extensions/dashboard-page-builders.js';
@@ -1,2 +1,28 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.dashboardPages = void 0;
27
+ exports.dashboardPages = __importStar(require("./src/extensions/dashboard-page-builders.js"));
2
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA8E"}
@@ -0,0 +1,34 @@
1
+ export declare function orderList(): {
2
+ pageId: string;
3
+ };
4
+ /** @param orderId - ID of the order to edit. */
5
+ export declare function editOrder({ orderId }: {
6
+ orderId: string;
7
+ }): {
8
+ pageId: string;
9
+ relativeUrl: string;
10
+ };
11
+ /** @param orderId - ID of the order to refund. */
12
+ export declare function orderRefund({ orderId }: {
13
+ orderId: string;
14
+ }): {
15
+ pageId: string;
16
+ relativeUrl: string;
17
+ };
18
+ /** @param id - The order Id to display */
19
+ export declare function orderDetails({ id }: {
20
+ id: string;
21
+ }): {
22
+ pageId: string;
23
+ relativeUrl: string;
24
+ };
25
+ export declare function deliveryProfiles(): {
26
+ pageId: string;
27
+ };
28
+ /** @param deliveryProfileId - Delivery profile to manage */
29
+ export declare function deliveryProfile({ deliveryProfileId, }: {
30
+ deliveryProfileId: string;
31
+ }): {
32
+ pageId: string;
33
+ relativeUrl: string;
34
+ };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deliveryProfile = exports.deliveryProfiles = exports.orderDetails = exports.orderRefund = exports.editOrder = exports.orderList = void 0;
4
+ function orderList() {
5
+ return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
6
+ }
7
+ exports.orderList = orderList;
8
+ /** @param orderId - ID of the order to edit. */
9
+ function editOrder({ orderId }) {
10
+ return {
11
+ pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',
12
+ relativeUrl: `${orderId}`,
13
+ };
14
+ }
15
+ exports.editOrder = editOrder;
16
+ /** @param orderId - ID of the order to refund. */
17
+ function orderRefund({ orderId }) {
18
+ return {
19
+ pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',
20
+ relativeUrl: `${orderId}`,
21
+ };
22
+ }
23
+ exports.orderRefund = orderRefund;
24
+ /** @param id - The order Id to display */
25
+ function orderDetails({ id }) {
26
+ return {
27
+ pageId: '3b96985e-a459-4972-94c3-63f038a73af2',
28
+ relativeUrl: `${id}`,
29
+ };
30
+ }
31
+ exports.orderDetails = orderDetails;
32
+ function deliveryProfiles() {
33
+ return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
34
+ }
35
+ exports.deliveryProfiles = deliveryProfiles;
36
+ /** @param deliveryProfileId - Delivery profile to manage */
37
+ function deliveryProfile({ deliveryProfileId, }) {
38
+ return {
39
+ pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',
40
+ relativeUrl: `${deliveryProfileId}`,
41
+ };
42
+ }
43
+ exports.deliveryProfile = deliveryProfile;
44
+ //# sourceMappingURL=dashboard-page-builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":";;;AAAA,SAAgB,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,8BAEC;AAED,gDAAgD;AAChD,SAAgB,SAAS,CAAC,EAAE,OAAO,EAAuB;IACxD,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AALD,8BAKC;AAED,kDAAkD;AAClD,SAAgB,WAAW,CAAC,EAAE,OAAO,EAAuB;IAC1D,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AALD,kCAKC;AAED,0CAA0C;AAC1C,SAAgB,YAAY,CAAC,EAAE,EAAE,EAAkB;IACjD,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC;AALD,oCAKC;AAED,SAAgB,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAFD,4CAEC;AAED,4DAA4D;AAC5D,SAAgB,eAAe,CAAC,EAC9B,iBAAiB,GAGlB;IACC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC;AATD,0CASC"}
@@ -0,0 +1 @@
1
+ export * as dashboardPages from './src/extensions/dashboard-page-builders.js';
package/build/es/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";
1
+ export * as dashboardPages from './src/extensions/dashboard-page-builders.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,6CAA6C,CAAC"}
@@ -0,0 +1,34 @@
1
+ export declare function orderList(): {
2
+ pageId: string;
3
+ };
4
+ /** @param orderId - ID of the order to edit. */
5
+ export declare function editOrder({ orderId }: {
6
+ orderId: string;
7
+ }): {
8
+ pageId: string;
9
+ relativeUrl: string;
10
+ };
11
+ /** @param orderId - ID of the order to refund. */
12
+ export declare function orderRefund({ orderId }: {
13
+ orderId: string;
14
+ }): {
15
+ pageId: string;
16
+ relativeUrl: string;
17
+ };
18
+ /** @param id - The order Id to display */
19
+ export declare function orderDetails({ id }: {
20
+ id: string;
21
+ }): {
22
+ pageId: string;
23
+ relativeUrl: string;
24
+ };
25
+ export declare function deliveryProfiles(): {
26
+ pageId: string;
27
+ };
28
+ /** @param deliveryProfileId - Delivery profile to manage */
29
+ export declare function deliveryProfile({ deliveryProfileId, }: {
30
+ deliveryProfileId: string;
31
+ }): {
32
+ pageId: string;
33
+ relativeUrl: string;
34
+ };
@@ -0,0 +1,35 @@
1
+ export function orderList() {
2
+ return { pageId: '8107f05f-d646-4c81-be90-adf28d321398' };
3
+ }
4
+ /** @param orderId - ID of the order to edit. */
5
+ export function editOrder({ orderId }) {
6
+ return {
7
+ pageId: 'f2526550-194f-4c13-9298-9a6b8abda62f',
8
+ relativeUrl: `${orderId}`,
9
+ };
10
+ }
11
+ /** @param orderId - ID of the order to refund. */
12
+ export function orderRefund({ orderId }) {
13
+ return {
14
+ pageId: 'c4898867-69a5-4e05-92b7-c276f9424641',
15
+ relativeUrl: `${orderId}`,
16
+ };
17
+ }
18
+ /** @param id - The order Id to display */
19
+ export function orderDetails({ id }) {
20
+ return {
21
+ pageId: '3b96985e-a459-4972-94c3-63f038a73af2',
22
+ relativeUrl: `${id}`,
23
+ };
24
+ }
25
+ export function deliveryProfiles() {
26
+ return { pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8' };
27
+ }
28
+ /** @param deliveryProfileId - Delivery profile to manage */
29
+ export function deliveryProfile({ deliveryProfileId, }) {
30
+ return {
31
+ pageId: '841919b4-9e96-43f4-87ea-fa382bc9d0e8',
32
+ relativeUrl: `${deliveryProfileId}`,
33
+ };
34
+ }
35
+ //# sourceMappingURL=dashboard-page-builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard-page-builders.js","sourceRoot":"","sources":["../../../../src/extensions/dashboard-page-builders.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,SAAS;IACvB,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAED,gDAAgD;AAChD,MAAM,UAAU,SAAS,CAAC,EAAE,OAAO,EAAuB;IACxD,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED,kDAAkD;AAClD,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAuB;IAC1D,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,OAAO,EAAE;KAC1B,CAAC;AACJ,CAAC;AAED,0CAA0C;AAC1C,MAAM,UAAU,YAAY,CAAC,EAAE,EAAE,EAAkB;IACjD,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,EAAE,EAAE;KACrB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,CAAC;AAC5D,CAAC;AAED,4DAA4D;AAC5D,MAAM,UAAU,eAAe,CAAC,EAC9B,iBAAiB,GAGlB;IACC,OAAO;QACL,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,GAAG,iBAAiB,EAAE;KACpC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom_app-extensions",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -44,5 +44,5 @@
44
44
  "groupId": "com.wixpress.public-sdk-autogen"
45
45
  }
46
46
  },
47
- "falconPackageHash": "99a240d588e837805acf9e806b41e4745d85fcf6226a8c124018b2f4"
47
+ "falconPackageHash": "3ba15f0812ba78aae542de59ed124ac3ddf8c094e5fcbdc067f235e2"
48
48
  }