@medusajs/types 1.12.0-snapshot-20240719133408 → 1.12.0-snapshot-20240724143042
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/workflows.d.ts +6 -0
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +1 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/notification/admin/entities.d.ts +16 -0
- package/dist/http/notification/admin/entities.d.ts.map +1 -0
- package/dist/http/notification/admin/entities.js +3 -0
- package/dist/http/notification/admin/entities.js.map +1 -0
- package/dist/http/notification/admin/index.d.ts +4 -0
- package/dist/http/notification/admin/index.d.ts.map +1 -0
- package/dist/http/notification/admin/index.js +20 -0
- package/dist/http/notification/admin/index.js.map +1 -0
- package/dist/http/notification/admin/queries.d.ts +10 -0
- package/dist/http/notification/admin/queries.d.ts.map +1 -0
- package/dist/http/notification/admin/queries.js +3 -0
- package/dist/http/notification/admin/queries.js.map +1 -0
- package/dist/http/notification/admin/responses.d.ts +10 -0
- package/dist/http/notification/admin/responses.d.ts.map +1 -0
- package/dist/http/notification/admin/responses.js +3 -0
- package/dist/http/notification/admin/responses.js.map +1 -0
- package/dist/http/notification/index.d.ts +2 -0
- package/dist/http/notification/index.d.ts.map +1 -0
- package/dist/http/notification/index.js +18 -0
- package/dist/http/notification/index.js.map +1 -0
- package/dist/http/product/admin/payloads.d.ts +2 -0
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +3 -0
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/inventory/common/reservation-item.d.ts +2 -1
- package/dist/inventory/common/reservation-item.d.ts.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +2 -1
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +3 -2
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/inventory/service.d.ts +10 -9
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/link-modules/index.d.ts +2 -13
- package/dist/link-modules/index.d.ts.map +1 -1
- package/dist/link-modules/index.js +16 -0
- package/dist/link-modules/index.js.map +1 -1
- package/dist/link-modules/migrations.d.ts +33 -0
- package/dist/link-modules/migrations.d.ts.map +1 -0
- package/dist/link-modules/migrations.js +3 -0
- package/dist/link-modules/migrations.js.map +1 -0
- package/dist/link-modules/service.d.ts +14 -0
- package/dist/link-modules/service.d.ts.map +1 -0
- package/dist/link-modules/service.js +3 -0
- package/dist/link-modules/service.js.map +1 -0
- package/dist/order/common.d.ts +14 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +10 -0
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +27 -52
- package/dist/order/service.d.ts.map +1 -1
- package/dist/pricing/common/money-amount.d.ts +9 -0
- package/dist/pricing/common/money-amount.d.ts.map +1 -1
- package/dist/totals/big-number.d.ts +9 -2
- package/dist/totals/big-number.d.ts.map +1 -1
- package/dist/workflow/order/begin-return-order.d.ts +1 -0
- package/dist/workflow/order/begin-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-fulfillment.d.ts +2 -0
- package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/create-return-order.d.ts +2 -0
- package/dist/workflow/order/create-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-shipment.d.ts +1 -1
- package/dist/workflow/order/create-shipment.d.ts.map +1 -1
- package/dist/workflow/product/import-products.d.ts +5 -0
- package/dist/workflow/product/import-products.d.ts.map +1 -0
- package/dist/workflow/product/import-products.js +3 -0
- package/dist/workflow/product/import-products.js.map +1 -0
- package/dist/workflow/product/index.d.ts +1 -0
- package/dist/workflow/product/index.d.ts.map +1 -1
- package/dist/workflow/product/index.js +1 -0
- package/dist/workflow/product/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cart/workflows.d.ts
CHANGED
@@ -130,6 +130,12 @@ export interface ConfirmVariantInventoryWorkflowInputDTO {
|
|
130
130
|
variant_id?: string;
|
131
131
|
quantity: BigNumberInput;
|
132
132
|
}[];
|
133
|
+
itemsToUpdate?: {
|
134
|
+
data: {
|
135
|
+
variant_id?: string;
|
136
|
+
quantity?: BigNumberInput;
|
137
|
+
};
|
138
|
+
}[];
|
133
139
|
}
|
134
140
|
export interface CartWorkflowDTO {
|
135
141
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/cart/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,WAAW,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AAE,cAAc,CAAA;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,uCAAuC;IACtD,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE;QACR,EAAE,EAAE,MAAM,CAAA;QACV,gBAAgB,EAAE,OAAO,CAAA;QACzB,eAAe,EAAE;YACf,iBAAiB,EAAE,MAAM,CAAA;YACzB,UAAU,EAAE,MAAM,CAAA;YAClB,iBAAiB,EAAE,cAAc,CAAA;YACjC,SAAS,EAAE;gBACT,eAAe,EAAE;oBACf,eAAe,EAAE;wBACf,EAAE,EAAE,MAAM,CAAA;wBACV,cAAc,EAAE;4BACd,EAAE,EAAE,MAAM,CAAA;yBACX,EAAE,CAAA;qBACJ,EAAE,CAAA;iBACJ,CAAA;aACF,EAAE,CAAA;SACJ,EAAE,CAAA;KACJ,EAAE,CAAA;IACH,KAAK,EAAE;QACL,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,QAAQ,EAAE,cAAc,CAAA;KACzB,EAAE,CAAA;IACH,aAAa,CAAC,EAAE;QACd,IAAI,EAAE;YACJ,UAAU,CAAC,EAAE,MAAM,CAAA;YACnB,QAAQ,CAAC,EAAE,cAAc,CAAA;SAC1B,CAAA;KACF,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,kBAAkB,EAAE,oBAAoB,CAAA;CACzC"}
|
package/dist/http/index.d.ts
CHANGED
package/dist/http/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;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AW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -28,6 +28,7 @@ __exportStar(require("./fulfillment-set"), exports);
|
|
28
28
|
__exportStar(require("./inventory"), exports);
|
29
29
|
__exportStar(require("./inventory-level"), exports);
|
30
30
|
__exportStar(require("./invite"), exports);
|
31
|
+
__exportStar(require("./notification"), exports);
|
31
32
|
__exportStar(require("./order"), exports);
|
32
33
|
__exportStar(require("./payment"), exports);
|
33
34
|
__exportStar(require("./price-list"), exports);
|
package/dist/http/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export interface AdminNotification {
|
2
|
+
id: string;
|
3
|
+
to: string;
|
4
|
+
channel: string;
|
5
|
+
template: string;
|
6
|
+
data?: Record<string, unknown> | null;
|
7
|
+
trigger_type?: string | null;
|
8
|
+
resource_id?: string | null;
|
9
|
+
resource_type?: string | null;
|
10
|
+
receiver_id?: string | null;
|
11
|
+
original_notification_id?: string | null;
|
12
|
+
external_id?: string | null;
|
13
|
+
provider_id: string;
|
14
|
+
created_at: Date;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/notification/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,IAAI,CAAA;CACjB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/notification/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/notification/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./queries"), exports);
|
19
|
+
__exportStar(require("./responses"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/notification/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BaseFilterable } from "../../../dal";
|
2
|
+
import { FindParams, SelectParams } from "../../common";
|
3
|
+
export interface AdminNotificationListParams extends BaseFilterable<AdminNotificationListParams>, FindParams {
|
4
|
+
q?: string;
|
5
|
+
id?: string | string[];
|
6
|
+
channel?: string | string[];
|
7
|
+
}
|
8
|
+
export interface AdminNotificationParams extends SelectParams {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/notification/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,2BAA2B,CAAC,EACjD,UAAU;IACZ,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC5B;AAED,MAAM,WAAW,uBAAwB,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/notification/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { AdminNotification } from "./entities";
|
3
|
+
export interface AdminNotificationResponse {
|
4
|
+
notification: AdminNotification;
|
5
|
+
}
|
6
|
+
export interface AdminNotificationListResponse extends PaginatedResponse<{
|
7
|
+
notifications: AdminNotification[];
|
8
|
+
}> {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/notification/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,iBAAiB,CAAA;CAChC;AAED,MAAM,WAAW,6BACf,SAAQ,iBAAiB,CAAC;IACxB,aAAa,EAAE,iBAAiB,EAAE,CAAA;CACnC,CAAC;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/notification/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/notification/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./admin"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/notification/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -2,6 +2,8 @@ import { BatchMethodRequest } from "../../../common";
|
|
2
2
|
import { ProductStatus } from "../common";
|
3
3
|
export interface AdminExportProductRequest {
|
4
4
|
}
|
5
|
+
export interface AdminImportProductRequest {
|
6
|
+
}
|
5
7
|
export interface AdminBatchProductRequest extends BatchMethodRequest<AdminCreateProduct, AdminUpdateProduct> {
|
6
8
|
}
|
7
9
|
export interface AdminBatchProductVariantRequest extends BatchMethodRequest<AdminCreateProductVariant, AdminUpdateProductVariant> {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,MAAM,WAAW,yBAAyB;CAAG;AAC7C,MAAM,WAAW,wBACf,SAAQ,kBAAkB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;CAAG;AAEvE,MAAM,WAAW,+BACf,SAAQ,kBAAkB,C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,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
@@ -23,6 +23,9 @@ export interface AdminProductVariantDeleteResponse extends DeleteResponse<"varia
|
|
23
23
|
export interface AdminExportProductResponse {
|
24
24
|
workflow_id: string;
|
25
25
|
}
|
26
|
+
export interface AdminImportProductResponse {
|
27
|
+
workflow_id: string;
|
28
|
+
}
|
26
29
|
export interface AdminBatchProductVariantResponse extends BatchMethodResponse<AdminProductVariant> {
|
27
30
|
}
|
28
31
|
export interface AdminBatchProductVariantInventoryItemResponse extends BatchMethodResponse<AdminInventoryItem> {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,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,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,gCACf,SAAQ,cAAc,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { NumericalComparisonOperator, StringComparisonOperator } from "../../common";
|
2
|
+
import { BigNumberInput } from "../../totals/big-number";
|
2
3
|
/**
|
3
4
|
* The reservation item details.
|
4
5
|
*/
|
@@ -18,7 +19,7 @@ export interface ReservationItemDTO {
|
|
18
19
|
/**
|
19
20
|
* The quantity of the reservation item.
|
20
21
|
*/
|
21
|
-
quantity:
|
22
|
+
quantity: BigNumberInput;
|
22
23
|
/**
|
23
24
|
* The associated line item's ID.
|
24
25
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/reservation-item.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/reservation-item.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAErC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,wBAAwB,CAAA;IAE/C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,2BAA2B,CAAA;CAChD"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BigNumberInput } from "../../totals/big-number";
|
1
2
|
export interface CreateInventoryLevelInput {
|
2
3
|
/**
|
3
4
|
* The ID of the associated inventory item.
|
@@ -62,6 +63,6 @@ export type BulkAdjustInventoryLevelInput = {
|
|
62
63
|
/**
|
63
64
|
* The quantity to adjust the inventory level by.
|
64
65
|
*/
|
65
|
-
adjustment:
|
66
|
+
adjustment: BigNumberInput;
|
66
67
|
} & UpdateInventoryLevelInput;
|
67
68
|
//# sourceMappingURL=inventory-level.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB,GAAG,yBAAyB,CAAA;AAE7B,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,UAAU,EAAE,
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB,GAAG,yBAAyB,CAAA;AAE7B,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,UAAU,EAAE,cAAc,CAAA;CAC3B,GAAG,yBAAyB,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BigNumberInput } from "../../totals";
|
1
2
|
/**
|
2
3
|
* @interface
|
3
4
|
*
|
@@ -8,7 +9,7 @@ export interface UpdateReservationItemInput {
|
|
8
9
|
/**
|
9
10
|
* The reserved quantity.
|
10
11
|
*/
|
11
|
-
quantity?:
|
12
|
+
quantity?: BigNumberInput;
|
12
13
|
/**
|
13
14
|
* The ID of the associated location.
|
14
15
|
*/
|
@@ -47,7 +48,7 @@ export interface CreateReservationItemInput {
|
|
47
48
|
/**
|
48
49
|
* The reserved quantity.
|
49
50
|
*/
|
50
|
-
quantity:
|
51
|
+
quantity: BigNumberInput;
|
51
52
|
/**
|
52
53
|
* Allow backorder of the item. If true, it won't check inventory levels before reserving it.
|
53
54
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/reservation-item.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/reservation-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAA;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B"}
|
@@ -2,6 +2,7 @@ import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
|
2
2
|
import { FindConfig } from "../common";
|
3
3
|
import { IModuleService } from "../modules-sdk";
|
4
4
|
import { Context } from "../shared-context";
|
5
|
+
import { BigNumberInput, IBigNumber } from "../totals";
|
5
6
|
import { FilterableInventoryItemProps, FilterableInventoryLevelProps, FilterableReservationItemProps, InventoryItemDTO, InventoryLevelDTO, ReservationItemDTO } from "./common";
|
6
7
|
import { BulkUpdateInventoryLevelInput, CreateInventoryItemInput, CreateInventoryLevelInput, CreateReservationItemInput, UpdateInventoryItemInput, UpdateReservationItemInput } from "./mutations";
|
7
8
|
/**
|
@@ -865,9 +866,9 @@ export interface IInventoryService extends IModuleService {
|
|
865
866
|
adjustInventory(data: {
|
866
867
|
inventoryItemId: string;
|
867
868
|
locationId: string;
|
868
|
-
adjustment:
|
869
|
+
adjustment: BigNumberInput;
|
869
870
|
}[], context?: Context): Promise<InventoryLevelDTO[]>;
|
870
|
-
adjustInventory(inventoryItemId: string, locationId: string, adjustment:
|
871
|
+
adjustInventory(inventoryItemId: string, locationId: string, adjustment: BigNumberInput, context?: Context): Promise<InventoryLevelDTO>;
|
871
872
|
/**
|
872
873
|
* This method confirms that a quantity is available of an inventory item in the specified locations.
|
873
874
|
*
|
@@ -885,14 +886,14 @@ export interface IInventoryService extends IModuleService {
|
|
885
886
|
* 10
|
886
887
|
* )
|
887
888
|
*/
|
888
|
-
confirmInventory(inventoryItemId: string, locationIds: string[], quantity:
|
889
|
+
confirmInventory(inventoryItemId: string, locationIds: string[], quantity: BigNumberInput, context?: Context): Promise<boolean>;
|
889
890
|
/**
|
890
891
|
* This method retrieves the available quantity of an inventory item in the specified locations.
|
891
892
|
*
|
892
893
|
* @param {string} inventoryItemId - The inventory item's ID.
|
893
894
|
* @param {string[]} locationIds - The locations' IDs.
|
894
895
|
* @param {Context} context - A context used to share resources, such as transaction manager, between the application and the module.
|
895
|
-
* @returns {Promise<
|
896
|
+
* @returns {Promise<BigNumber>} The available quantity of the item.
|
896
897
|
*
|
897
898
|
* @example
|
898
899
|
* const availableQuantity =
|
@@ -901,14 +902,14 @@ export interface IInventoryService extends IModuleService {
|
|
901
902
|
* ["loc_123", "loc_321"]
|
902
903
|
* )
|
903
904
|
*/
|
904
|
-
retrieveAvailableQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<
|
905
|
+
retrieveAvailableQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<IBigNumber>;
|
905
906
|
/**
|
906
907
|
* This method retrieves the stocked quantity of an inventory item in the specified location.
|
907
908
|
*
|
908
909
|
* @param {string} inventoryItemId - The inventory item's ID.
|
909
910
|
* @param {string[]} locationIds - The locations' IDs.
|
910
911
|
* @param {Context} context - A context used to share resources, such as transaction manager, between the application and the module.
|
911
|
-
* @returns {Promise<
|
912
|
+
* @returns {Promise<BigNumber>} The stocked quantity of the item.
|
912
913
|
*
|
913
914
|
* @example
|
914
915
|
* const stockedQuantity =
|
@@ -917,14 +918,14 @@ export interface IInventoryService extends IModuleService {
|
|
917
918
|
* ["loc_123", "loc_321"]
|
918
919
|
* )
|
919
920
|
*/
|
920
|
-
retrieveStockedQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<
|
921
|
+
retrieveStockedQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<IBigNumber>;
|
921
922
|
/**
|
922
923
|
* This method retrieves the reserved quantity of an inventory item in the specified location.
|
923
924
|
*
|
924
925
|
* @param {string} inventoryItemId - The inventory item's ID.
|
925
926
|
* @param {string[]} locationIds - The locations' IDs.
|
926
927
|
* @param {Context} context - A context used to share resources, such as transaction manager, between the application and the module.
|
927
|
-
* @returns {Promise<
|
928
|
+
* @returns {Promise<BigNumber>} The reserved quantity of the item.
|
928
929
|
*
|
929
930
|
* @example
|
930
931
|
* const reservedQuantity =
|
@@ -933,6 +934,6 @@ export interface IInventoryService extends IModuleService {
|
|
933
934
|
* ["loc_123", "loc_321"]
|
934
935
|
* )
|
935
936
|
*/
|
936
|
-
retrieveReservedQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<
|
937
|
+
retrieveReservedQuantity(inventoryItemId: string, locationIds: string[], context?: Context): Promise<IBigNumber>;
|
937
938
|
}
|
938
939
|
//# sourceMappingURL=service.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/inventory/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,kBAAkB,CAChB,QAAQ,EAAE,4BAA4B,EACtC,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACrC,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;IAC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1B,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,iBAAiB,CAAC,CAAA;IAE7B;;;;;;;;;;;;;;;;OAgBG;IACH,gBAAgB,CACd,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,QAAQ,EAAE,cAAc,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;OAcG;IACH,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,UAAU,CAAC,CAAA;IAEtB;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CACrB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,UAAU,CAAC,CAAA;IAEtB;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,UAAU,CAAC,CAAA;CACvB"}
|
@@ -1,14 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { IModuleService } from "../modules-sdk";
|
4
|
-
import { Context } from "../shared-context";
|
5
|
-
export interface ILinkModule extends IModuleService {
|
6
|
-
list(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<unknown[]>;
|
7
|
-
listAndCount(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<[unknown[], number]>;
|
8
|
-
create(primaryKeyOrBulkData: string | string[] | [string | string[], string, Record<string, unknown>?][], foreignKeyData?: string, sharedContext?: Context): Promise<unknown[]>;
|
9
|
-
dismiss(primaryKeyOrBulkData: string | string[] | [string | string[], string][], foreignKeyData?: string, sharedContext?: Context): Promise<unknown[]>;
|
10
|
-
delete(data: unknown | unknown[], sharedContext?: Context): Promise<void>;
|
11
|
-
softDelete(data: unknown | unknown[], config?: SoftDeleteReturn, sharedContext?: Context): Promise<Record<string, unknown[]> | void>;
|
12
|
-
restore(data: unknown | unknown[], config?: RestoreReturn, sharedContext?: Context): Promise<Record<string, unknown[]> | void>;
|
13
|
-
}
|
1
|
+
export * from "./service";
|
2
|
+
export * from "./migrations";
|
14
3
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/link-modules/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/link-modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA"}
|
@@ -1,3 +1,19 @@
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./service"), exports);
|
18
|
+
__exportStar(require("./migrations"), exports);
|
3
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/link-modules/index.ts"],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/link-modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* Link descriptor containing metadata about the link's
|
3
|
+
* modules and models.
|
4
|
+
*/
|
5
|
+
export type PlannerActionLinkDescriptor = {
|
6
|
+
fromModule: string;
|
7
|
+
toModule: string;
|
8
|
+
fromModel: string;
|
9
|
+
toModel: string;
|
10
|
+
};
|
11
|
+
/**
|
12
|
+
* A list of actions prepared and executed by
|
13
|
+
* the "ILinkMigrationsPlanner".
|
14
|
+
*/
|
15
|
+
export type LinkMigrationsPlannerAction = {
|
16
|
+
action: "create" | "update" | "notify";
|
17
|
+
linkDescriptor: PlannerActionLinkDescriptor;
|
18
|
+
sql: string;
|
19
|
+
tableName: string;
|
20
|
+
} | {
|
21
|
+
action: "noop";
|
22
|
+
tableName: string;
|
23
|
+
linkDescriptor: PlannerActionLinkDescriptor;
|
24
|
+
} | {
|
25
|
+
action: "delete";
|
26
|
+
linkDescriptor: PlannerActionLinkDescriptor;
|
27
|
+
tableName: string;
|
28
|
+
};
|
29
|
+
export interface ILinkMigrationsPlanner {
|
30
|
+
createPlan(): Promise<LinkMigrationsPlannerAction[]>;
|
31
|
+
executePlan(actions: LinkMigrationsPlannerAction[]): Promise<void>;
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=migrations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../src/link-modules/migrations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GACnC;IACE,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACtC,cAAc,EAAE,2BAA2B,CAAA;IAC3C,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;CAClB,GACD;IACE,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,2BAA2B,CAAA;CAC5C,GACD;IACE,MAAM,EAAE,QAAQ,CAAA;IAChB,cAAc,EAAE,2BAA2B,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAEL,MAAM,WAAW,sBAAsB;IACrC,UAAU,IAAI,OAAO,CAAC,2BAA2B,EAAE,CAAC,CAAA;IACpD,WAAW,CAAC,OAAO,EAAE,2BAA2B,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACnE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../src/link-modules/migrations.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { FindConfig } from "../common";
|
2
|
+
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
3
|
+
import { IModuleService } from "../modules-sdk";
|
4
|
+
import { Context } from "../shared-context";
|
5
|
+
export interface ILinkModule extends IModuleService {
|
6
|
+
list(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<unknown[]>;
|
7
|
+
listAndCount(filters?: Record<string, unknown>, config?: FindConfig<unknown>, sharedContext?: Context): Promise<[unknown[], number]>;
|
8
|
+
create(primaryKeyOrBulkData: string | string[] | [string | string[], string, Record<string, unknown>?][], foreignKeyData?: string, sharedContext?: Context): Promise<unknown[]>;
|
9
|
+
dismiss(primaryKeyOrBulkData: string | string[] | [string | string[], string][], foreignKeyData?: string, sharedContext?: Context): Promise<unknown[]>;
|
10
|
+
delete(data: unknown | unknown[], sharedContext?: Context): Promise<void>;
|
11
|
+
softDelete(data: unknown | unknown[], config?: SoftDeleteReturn, sharedContext?: Context): Promise<Record<string, unknown[]> | void>;
|
12
|
+
restore(data: unknown | unknown[], config?: RestoreReturn, sharedContext?: Context): Promise<Record<string, unknown[]> | void>;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=service.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/link-modules/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,IAAI,CACF,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAErB,YAAY,CACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAE/B,MAAM,CACJ,oBAAoB,EAChB,MAAM,GACN,MAAM,EAAE,GACR,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAC3D,cAAc,CAAC,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,OAA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