@medusajs/types 1.12.0-snapshot-20240405154416 → 1.12.0-snapshot-20240406075900
Sign up to get free protection for your applications and to get access to all the features.
- 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/stock-locations/common.d.ts +28 -0
- package/dist/http/stock-locations/common.d.ts.map +1 -0
- package/dist/http/stock-locations/common.js +3 -0
- package/dist/http/stock-locations/common.js.map +1 -0
- package/dist/http/stock-locations/index.d.ts +2 -0
- package/dist/http/stock-locations/index.d.ts.map +1 -0
- package/dist/http/stock-locations/index.js +18 -0
- package/dist/http/stock-locations/index.js.map +1 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/product/common.d.ts +4 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product-category/repository.d.ts +2 -1
- package/dist/product-category/repository.d.ts.map +1 -1
- package/dist/region/common.d.ts +9 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +11 -3
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/region/service.d.ts +210 -85
- package/dist/region/service.d.ts.map +1 -1
- package/dist/workflows/index.d.ts +2 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +18 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/stock-locations/index.d.ts +2 -0
- package/dist/workflows/stock-locations/index.d.ts.map +1 -0
- package/dist/workflows/stock-locations/index.js +18 -0
- package/dist/workflows/stock-locations/index.js.map +1 -0
- package/dist/workflows/stock-locations/mutations.d.ts +8 -0
- package/dist/workflows/stock-locations/mutations.d.ts.map +1 -0
- package/dist/workflows/stock-locations/mutations.js +3 -0
- package/dist/workflows/stock-locations/mutations.js.map +1 -0
- package/package.json +1 -1
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,eAAe,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./stock-locations"), exports);
|
17
18
|
__exportStar(require("./fulfillment"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
package/dist/http/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,gDAA6B"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { AdminFulfillmentSetResponse } from "../fulfillment";
|
2
|
+
export type AdminStockLocationAddressResponse = {
|
3
|
+
id?: string;
|
4
|
+
address_1: string;
|
5
|
+
address_2?: string | null;
|
6
|
+
company?: string | null;
|
7
|
+
country_code: string;
|
8
|
+
city?: string | null;
|
9
|
+
phone?: string | null;
|
10
|
+
postal_code?: string | null;
|
11
|
+
province?: string | null;
|
12
|
+
metadata?: Record<string, unknown> | null;
|
13
|
+
created_at: string | Date;
|
14
|
+
updated_at: string | Date;
|
15
|
+
deleted_at: string | Date | null;
|
16
|
+
};
|
17
|
+
export interface AdminStockLocationResponse {
|
18
|
+
id: string;
|
19
|
+
name: string;
|
20
|
+
metadata: Record<string, unknown> | null;
|
21
|
+
address_id: string;
|
22
|
+
address?: AdminStockLocationAddressResponse;
|
23
|
+
created_at: string | Date;
|
24
|
+
updated_at: string | Date;
|
25
|
+
deleted_at: string | Date | null;
|
26
|
+
fulfillment_sets?: AdminFulfillmentSetResponse[];
|
27
|
+
}
|
28
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAA;AAE5D,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAA;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,iCAAiC,CAAA;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAEhC,gBAAgB,CAAC,EAAE,2BAA2B,EAAE,CAAA;CACjD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/stock-locations/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,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("./common"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/stock-locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|
package/dist/index.d.ts
CHANGED
@@ -5,12 +5,15 @@ export * from "./bundles";
|
|
5
5
|
export * from "./cache";
|
6
6
|
export * from "./cart";
|
7
7
|
export * from "./common";
|
8
|
+
export * from "./currency";
|
8
9
|
export * from "./customer";
|
9
10
|
export * from "./dal";
|
10
11
|
export * from "./event-bus";
|
11
12
|
export * from "./feature-flag";
|
13
|
+
export * from "./file";
|
12
14
|
export * from "./file-service";
|
13
15
|
export * from "./fulfillment";
|
16
|
+
export * from "./http";
|
14
17
|
export * from "./inventory";
|
15
18
|
export * from "./joiner";
|
16
19
|
export * from "./link-modules";
|
@@ -34,7 +37,5 @@ export * from "./totals";
|
|
34
37
|
export * from "./transaction-base";
|
35
38
|
export * from "./user";
|
36
39
|
export * from "./workflow";
|
37
|
-
export * from "./
|
38
|
-
export * from "./http";
|
39
|
-
export * from "./file";
|
40
|
+
export * from "./workflows";
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,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Ac,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
@@ -21,12 +21,15 @@ __exportStar(require("./bundles"), exports);
|
|
21
21
|
__exportStar(require("./cache"), exports);
|
22
22
|
__exportStar(require("./cart"), exports);
|
23
23
|
__exportStar(require("./common"), exports);
|
24
|
+
__exportStar(require("./currency"), exports);
|
24
25
|
__exportStar(require("./customer"), exports);
|
25
26
|
__exportStar(require("./dal"), exports);
|
26
27
|
__exportStar(require("./event-bus"), exports);
|
27
28
|
__exportStar(require("./feature-flag"), exports);
|
29
|
+
__exportStar(require("./file"), exports);
|
28
30
|
__exportStar(require("./file-service"), exports);
|
29
31
|
__exportStar(require("./fulfillment"), exports);
|
32
|
+
__exportStar(require("./http"), exports);
|
30
33
|
__exportStar(require("./inventory"), exports);
|
31
34
|
__exportStar(require("./joiner"), exports);
|
32
35
|
__exportStar(require("./link-modules"), exports);
|
@@ -50,7 +53,5 @@ __exportStar(require("./totals"), exports);
|
|
50
53
|
__exportStar(require("./transaction-base"), exports);
|
51
54
|
__exportStar(require("./user"), exports);
|
52
55
|
__exportStar(require("./workflow"), exports);
|
53
|
-
__exportStar(require("./
|
54
|
-
__exportStar(require("./http"), exports);
|
55
|
-
__exportStar(require("./file"), exports);
|
56
|
+
__exportStar(require("./workflows"), exports);
|
56
57
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B"}
|
package/dist/product/common.d.ts
CHANGED
@@ -887,6 +887,10 @@ export interface FilterableProductCategoryProps extends BaseFilterable<Filterabl
|
|
887
887
|
* Whether to include children of retrieved product categories.
|
888
888
|
*/
|
889
889
|
include_descendants_tree?: boolean;
|
890
|
+
/**
|
891
|
+
* Whether to include parents of retrieved product categories.
|
892
|
+
*/
|
893
|
+
include_ancestors_tree?: boolean;
|
890
894
|
}
|
891
895
|
/**
|
892
896
|
* @interface
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/product/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAA;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;OAEG;IACH,cAAc,CAAC,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,OAAO,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,uBAAuB,EAAE,CAAA;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { RepositoryTransformOptions } from
|
1
|
+
import { RepositoryTransformOptions } from "../common";
|
2
2
|
export interface ProductCategoryTransformOptions extends RepositoryTransformOptions {
|
3
3
|
includeDescendantsTree?: boolean;
|
4
|
+
includeAncestorsTree?: boolean;
|
4
5
|
}
|
5
6
|
//# sourceMappingURL=repository.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/product-category/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AAEtD,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/product-category/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AAEtD,MAAM,WAAW,+BACf,SAAQ,0BAA0B;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B"}
|
package/dist/region/common.d.ts
CHANGED
@@ -23,8 +23,17 @@ export interface RegionDTO {
|
|
23
23
|
* The countries of the region.
|
24
24
|
*/
|
25
25
|
countries: RegionCountryDTO[];
|
26
|
+
/**
|
27
|
+
* Holds custom data in key-value pairs.
|
28
|
+
*/
|
26
29
|
metadata?: Record<string, any>;
|
30
|
+
/**
|
31
|
+
* The date the region was created.
|
32
|
+
*/
|
27
33
|
created_at: string;
|
34
|
+
/**
|
35
|
+
* The date the region was updated.
|
36
|
+
*/
|
28
37
|
updated_at: string;
|
29
38
|
}
|
30
39
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,eAAe,EAAE,OAAO,C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,WAAW,CAAC,MAAM,CAAC,CAAA;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAEzE;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,4BAA4B,CAAC;IACpD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
|
@@ -23,21 +23,26 @@ export interface CreateRegionDTO {
|
|
23
23
|
*/
|
24
24
|
metadata?: Record<string, unknown>;
|
25
25
|
}
|
26
|
+
/**
|
27
|
+
* The attributes in the region to be created or updated.
|
28
|
+
*/
|
26
29
|
export interface UpsertRegionDTO {
|
27
30
|
/**
|
28
31
|
* The id of the region in the case of an update
|
29
32
|
*/
|
30
33
|
id?: string;
|
31
34
|
/**
|
32
|
-
* The target name of the region
|
35
|
+
* The target name of the region. Required when
|
36
|
+
* creating a region.
|
33
37
|
*/
|
34
38
|
name?: string;
|
35
39
|
/**
|
36
|
-
* The currency code of the region.
|
40
|
+
* The currency code of the region. Required when
|
41
|
+
* creating a region.
|
37
42
|
*/
|
38
43
|
currency_code?: string;
|
39
44
|
/**
|
40
|
-
* Setting to indicate whether taxes need to be applied automatically
|
45
|
+
* Setting to indicate whether taxes need to be applied automatically.
|
41
46
|
*/
|
42
47
|
automatic_taxes?: boolean;
|
43
48
|
/**
|
@@ -49,6 +54,9 @@ export interface UpsertRegionDTO {
|
|
49
54
|
*/
|
50
55
|
metadata?: Record<string, unknown>;
|
51
56
|
}
|
57
|
+
/**
|
58
|
+
* The attributes to update in the region.
|
59
|
+
*/
|
52
60
|
export interface UpdateRegionDTO {
|
53
61
|
/**
|
54
62
|
* The target name of the region
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/region/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/region/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
|
package/dist/region/service.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { Context } from "../shared-context";
|
|
5
5
|
import { FilterableRegionCountryProps, FilterableRegionProps, RegionCountryDTO, RegionDTO } from "./common";
|
6
6
|
import { CreateRegionDTO, UpdateRegionDTO, UpsertRegionDTO } from "./mutations";
|
7
7
|
/**
|
8
|
-
* The main service interface for the
|
8
|
+
* The main service interface for the Region Module.
|
9
9
|
*/
|
10
10
|
export interface IRegionModuleService extends IModuleService {
|
11
11
|
/**
|
@@ -16,7 +16,18 @@ export interface IRegionModuleService extends IModuleService {
|
|
16
16
|
* @returns {Promise<RegionDTO[]>} The created regions.
|
17
17
|
*
|
18
18
|
* @example
|
19
|
-
*
|
19
|
+
* const region = await regionModuleService.create([
|
20
|
+
* {
|
21
|
+
* name: "Europe",
|
22
|
+
* currency_code: "eur",
|
23
|
+
* countries: ["dk", "de", "fr"],
|
24
|
+
* },
|
25
|
+
* {
|
26
|
+
* name: "United States of America",
|
27
|
+
* currency_code: "usd",
|
28
|
+
* countries: ["us"],
|
29
|
+
* },
|
30
|
+
* ])
|
20
31
|
*/
|
21
32
|
create(data: CreateRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
|
22
33
|
/**
|
@@ -27,59 +38,89 @@ export interface IRegionModuleService extends IModuleService {
|
|
27
38
|
* @returns {Promise<RegionDTO>} The created region.
|
28
39
|
*
|
29
40
|
* @example
|
30
|
-
* {
|
41
|
+
* const region = await regionModuleService.create({
|
42
|
+
* name: "Europe",
|
43
|
+
* currency_code: "eur",
|
44
|
+
* countries: ["dk", "de", "fr"],
|
45
|
+
* })
|
31
46
|
*/
|
32
47
|
create(data: CreateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
|
33
48
|
/**
|
34
|
-
* This method updates
|
49
|
+
* This method updates or creates regions if they don't exist.
|
35
50
|
*
|
36
|
-
* @param {UpsertRegionDTO[]} data - The attributes
|
37
|
-
* @
|
51
|
+
* @param {UpsertRegionDTO[]} data - The attributes in the regions to be created or updated.
|
52
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
53
|
+
* @returns {Promise<RegionDTO[]>} The created or updated regions.
|
38
54
|
*
|
39
55
|
* @example
|
40
|
-
*
|
56
|
+
* const region = await regionModuleService.upsert([
|
57
|
+
* {
|
58
|
+
* id: "reg_123",
|
59
|
+
* automatic_taxes: false,
|
60
|
+
* },
|
61
|
+
* {
|
62
|
+
* name: "Europe",
|
63
|
+
* currency_code: "eur",
|
64
|
+
* },
|
65
|
+
* ])
|
41
66
|
*/
|
42
67
|
upsert(data: UpsertRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
|
43
68
|
/**
|
44
|
-
* This method updates
|
69
|
+
* This method updates or creates a region if it doesn't exist.
|
45
70
|
*
|
46
|
-
* @param {UpsertRegionDTO} data - The attributes
|
47
|
-
* @
|
71
|
+
* @param {UpsertRegionDTO} data - The attributes in the region to be created or updated.
|
72
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
73
|
+
* @returns {Promise<RegionDTO>} The created or updated region.
|
48
74
|
*
|
49
75
|
* @example
|
50
|
-
* {
|
76
|
+
* const region = await regionModuleService.upsert({
|
77
|
+
* id: "reg_123",
|
78
|
+
* automatic_taxes: false,
|
79
|
+
* })
|
51
80
|
*/
|
52
81
|
upsert(data: UpsertRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
|
53
82
|
/**
|
54
83
|
* This method updates an existing region.
|
55
84
|
*
|
56
|
-
* @param {string} id - The region
|
57
|
-
* @param {
|
85
|
+
* @param {string} id - The ID of the region.
|
86
|
+
* @param {UpdateRegionDTO} data - The attributes to update in the region.
|
58
87
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
59
88
|
* @returns {Promise<RegionDTO>} The updated region.
|
89
|
+
*
|
90
|
+
* @example
|
91
|
+
* const region = await regionModuleService.update("reg_123", {
|
92
|
+
* automatic_taxes: false,
|
93
|
+
* })
|
60
94
|
*/
|
61
95
|
update(id: string, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
|
62
96
|
/**
|
63
97
|
* This method updates existing regions.
|
64
98
|
*
|
65
|
-
* @param {FilterableRegionProps} selector - The filters to
|
66
|
-
* @param {UpdateRegionDTO} data - The
|
99
|
+
* @param {FilterableRegionProps} selector - The filters to apply on the retrieved regions.
|
100
|
+
* @param {UpdateRegionDTO} data - The attributes to update in the region.
|
67
101
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
68
102
|
* @returns {Promise<RegionDTO[]>} The updated regions.
|
69
103
|
*
|
70
104
|
* @example
|
71
|
-
*
|
105
|
+
* const region = await regionModuleService.update(
|
106
|
+
* {
|
107
|
+
* name: "Europe",
|
108
|
+
* },
|
109
|
+
* {
|
110
|
+
* automatic_taxes: false,
|
111
|
+
* }
|
112
|
+
* )
|
72
113
|
*/
|
73
114
|
update(selector: FilterableRegionProps, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO[]>;
|
74
115
|
/**
|
75
116
|
* This method deletes regions by their IDs.
|
76
117
|
*
|
77
|
-
* @param {string[]} ids - The
|
118
|
+
* @param {string[]} ids - The IDs of the region.
|
78
119
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
79
120
|
* @returns {Promise<void>} Resolves when the regions are deleted.
|
80
121
|
*
|
81
122
|
* @example
|
82
|
-
*
|
123
|
+
* await regionModuleService.delete(["reg_123", "reg_321"])
|
83
124
|
*/
|
84
125
|
delete(ids: string[], sharedContext?: Context): Promise<void>;
|
85
126
|
/**
|
@@ -90,209 +131,293 @@ export interface IRegionModuleService extends IModuleService {
|
|
90
131
|
* @returns {Promise<void>} Resolves when the region is deleted.
|
91
132
|
*
|
92
133
|
* @example
|
93
|
-
*
|
134
|
+
* await regionModuleService.delete("reg_123")
|
94
135
|
*/
|
95
136
|
delete(id: string, sharedContext?: Context): Promise<void>;
|
96
137
|
/**
|
97
138
|
* This method retrieves a region by its ID.
|
98
139
|
*
|
99
|
-
* @param {string} id - The ID of the
|
140
|
+
* @param {string} id - The ID of the region.
|
100
141
|
* @param {FindConfig<RegionDTO>} config - The configurations determining how the region is retrieved. Its properties, such as `select` or `relations`, accept the
|
101
142
|
* attributes or relations associated with a region.
|
102
143
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
103
144
|
* @returns {Promise<RegionDTO>} The retrieved region.
|
104
145
|
*
|
105
146
|
* @example
|
106
|
-
* A simple example that retrieves a
|
147
|
+
* A simple example that retrieves a region by its ID:
|
107
148
|
*
|
108
149
|
* ```ts
|
109
|
-
*
|
150
|
+
* const region = await regionModuleService.retrieve("reg_123")
|
110
151
|
* ```
|
111
152
|
*
|
112
153
|
* To specify relations that should be retrieved:
|
113
154
|
*
|
114
155
|
* ```ts
|
115
|
-
* {
|
156
|
+
* const region = await regionModuleService.retrieve("reg_123", {
|
157
|
+
* relations: ["countries"],
|
158
|
+
* })
|
116
159
|
* ```
|
117
|
-
*
|
118
|
-
*
|
119
160
|
*/
|
120
161
|
retrieve(id: string, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO>;
|
121
162
|
/**
|
122
163
|
* This method retrieves a paginated list of regions based on optional filters and configuration.
|
123
164
|
*
|
124
|
-
* @param {FilterableRegionProps} filters - The filters to apply on the retrieved
|
165
|
+
* @param {FilterableRegionProps} filters - The filters to apply on the retrieved regions.
|
125
166
|
* @param {FindConfig<RegionDTO>} config - The configurations determining how the region is retrieved. Its properties, such as `select` or `relations`, accept the
|
126
167
|
* attributes or relations associated with a region.
|
127
168
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
128
169
|
* @returns {Promise<RegionDTO[]>} The list of regions.
|
129
170
|
*
|
130
171
|
* @example
|
131
|
-
* To retrieve a list of
|
172
|
+
* To retrieve a list of regions using their IDs:
|
132
173
|
*
|
133
174
|
* ```ts
|
134
|
-
* {
|
175
|
+
* const regions = await regionModuleService.list({
|
176
|
+
* id: ["reg_123", "reg_321"],
|
177
|
+
* })
|
135
178
|
* ```
|
136
179
|
*
|
137
|
-
* To specify relations that should be retrieved within the
|
180
|
+
* To specify relations that should be retrieved within the regions:
|
138
181
|
*
|
139
182
|
* ```ts
|
140
|
-
*
|
183
|
+
* const regions = await regionModuleService.list(
|
184
|
+
* {
|
185
|
+
* id: ["reg_123", "reg_321"],
|
186
|
+
* },
|
187
|
+
* {
|
188
|
+
* relations: ["countries"],
|
189
|
+
* }
|
190
|
+
* )
|
141
191
|
* ```
|
142
192
|
*
|
143
|
-
* By default, only the first `
|
193
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
144
194
|
*
|
145
195
|
* ```ts
|
146
|
-
*
|
196
|
+
* const regions = await regionModuleService.list(
|
197
|
+
* {
|
198
|
+
* id: ["reg_123", "reg_321"],
|
199
|
+
* },
|
200
|
+
* {
|
201
|
+
* relations: ["countries"],
|
202
|
+
* take: 20,
|
203
|
+
* skip: 2,
|
204
|
+
* }
|
205
|
+
* )
|
147
206
|
* ```
|
148
|
-
*
|
149
|
-
*
|
150
207
|
*/
|
151
208
|
list(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO[]>;
|
152
209
|
/**
|
153
210
|
* This method retrieves a paginated list of regions along with the total count of available regions satisfying the provided filters.
|
154
211
|
*
|
155
|
-
* @param {FilterableRegionProps} filters - The filters to apply on the retrieved
|
212
|
+
* @param {FilterableRegionProps} filters - The filters to apply on the retrieved regions.
|
156
213
|
* @param {FindConfig<RegionDTO>} config - The configurations determining how the region is retrieved. Its properties, such as `select` or `relations`, accept the
|
157
214
|
* attributes or relations associated with a region.
|
158
215
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
159
216
|
* @returns {Promise<[RegionDTO[], number]>} The list of regions along with their total count.
|
160
217
|
*
|
161
218
|
* @example
|
162
|
-
* To retrieve a list of
|
219
|
+
* To retrieve a list of regions using their IDs:
|
163
220
|
*
|
164
221
|
* ```ts
|
165
|
-
*
|
222
|
+
* const [regions, count] =
|
223
|
+
* await regionModuleService.listAndCount({
|
224
|
+
* id: ["reg_123", "reg_321"],
|
225
|
+
* })
|
166
226
|
* ```
|
167
227
|
*
|
168
|
-
* To specify relations that should be retrieved within the
|
228
|
+
* To specify relations that should be retrieved within the regions:
|
169
229
|
*
|
170
230
|
* ```ts
|
171
|
-
*
|
231
|
+
* const [regions, count] =
|
232
|
+
* await regionModuleService.listAndCount(
|
233
|
+
* {
|
234
|
+
* id: ["reg_123", "reg_321"],
|
235
|
+
* },
|
236
|
+
* {
|
237
|
+
* relations: ["countries"],
|
238
|
+
* }
|
239
|
+
* )
|
172
240
|
* ```
|
173
241
|
*
|
174
|
-
* By default, only the first `
|
242
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
175
243
|
*
|
176
244
|
* ```ts
|
177
|
-
*
|
245
|
+
* const [regions, count] =
|
246
|
+
* await regionModuleService.listAndCount(
|
247
|
+
* {
|
248
|
+
* id: ["reg_123", "reg_321"],
|
249
|
+
* },
|
250
|
+
* {
|
251
|
+
* relations: ["countries"],
|
252
|
+
* take: 20,
|
253
|
+
* skip: 2,
|
254
|
+
* }
|
255
|
+
* )
|
178
256
|
* ```
|
179
|
-
*
|
180
|
-
*
|
181
257
|
*/
|
182
258
|
listAndCount(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<[RegionDTO[], number]>;
|
183
259
|
/**
|
184
|
-
* This method retrieves a country by its
|
260
|
+
* This method retrieves a country by its 2 character ISO code.
|
185
261
|
*
|
186
|
-
* @param {string} countryId - The country's ID.
|
187
|
-
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the
|
188
|
-
* attributes or relations associated with a
|
262
|
+
* @param {string} countryId - The country's ID, which is the 2 character ISO code.
|
263
|
+
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the country is retrieved. Its properties, such as `select` or `relations`, accept the
|
264
|
+
* attributes or relations associated with a country.
|
189
265
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
190
266
|
* @returns {Promise<RegionCountryDTO>} The retrieved country.
|
191
267
|
*
|
192
268
|
* @example
|
193
|
-
* A simple example that retrieves a
|
269
|
+
* A simple example that retrieves a country by its 2 character ISO code:
|
194
270
|
*
|
195
271
|
* ```ts
|
196
|
-
*
|
272
|
+
* const country =
|
273
|
+
* await regionModuleService.retrieveCountry("us")
|
197
274
|
* ```
|
198
275
|
*
|
199
276
|
* To specify relations that should be retrieved:
|
200
277
|
*
|
201
278
|
* ```ts
|
202
|
-
*
|
279
|
+
* const country = await regionModuleService.retrieveCountry(
|
280
|
+
* "us",
|
281
|
+
* {
|
282
|
+
* relations: ["region"],
|
283
|
+
* }
|
284
|
+
* )
|
203
285
|
* ```
|
204
|
-
*
|
205
|
-
*
|
206
286
|
*/
|
207
287
|
retrieveCountry(countryId: string, config?: FindConfig<RegionCountryDTO>, sharedContext?: Context): Promise<RegionCountryDTO>;
|
208
288
|
/**
|
209
289
|
* This method retrieves a paginated list of countries based on optional filters and configuration.
|
210
290
|
*
|
211
|
-
* @param {FilterableRegionCountryProps} filters - The filters to apply on the retrieved
|
212
|
-
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the
|
213
|
-
* attributes or relations associated with a
|
291
|
+
* @param {FilterableRegionCountryProps} filters - The filters to apply on the retrieved countries.
|
292
|
+
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the country is retrieved. Its properties, such as `select` or `relations`, accept the
|
293
|
+
* attributes or relations associated with a country.
|
214
294
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
215
295
|
* @returns {Promise<RegionCountryDTO[]>} The list of countries.
|
216
296
|
*
|
217
297
|
* @example
|
218
|
-
* To retrieve a list of
|
298
|
+
* To retrieve a list of countries using their IDs:
|
219
299
|
*
|
220
300
|
* ```ts
|
221
|
-
* {
|
301
|
+
* const countries = await regionModuleService.listCountries({
|
302
|
+
* iso_2: ["us", "eur"],
|
303
|
+
* })
|
222
304
|
* ```
|
223
305
|
*
|
224
|
-
* To specify relations that should be retrieved within the
|
306
|
+
* To specify relations that should be retrieved within the countries:
|
225
307
|
*
|
226
308
|
* ```ts
|
227
|
-
*
|
309
|
+
* const countries = await regionModuleService.listCountries(
|
310
|
+
* {
|
311
|
+
* iso_2: ["us", "eur"],
|
312
|
+
* },
|
313
|
+
* {
|
314
|
+
* relations: ["region"],
|
315
|
+
* }
|
316
|
+
* )
|
228
317
|
* ```
|
229
318
|
*
|
230
|
-
* By default, only the first `
|
319
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
231
320
|
*
|
232
321
|
* ```ts
|
233
|
-
*
|
322
|
+
* const countries = await regionModuleService.listCountries(
|
323
|
+
* {
|
324
|
+
* iso_2: ["us", "eur"],
|
325
|
+
* },
|
326
|
+
* {
|
327
|
+
* relations: ["region"],
|
328
|
+
* take: 20,
|
329
|
+
* skip: 2,
|
330
|
+
* }
|
331
|
+
* )
|
234
332
|
* ```
|
235
|
-
*
|
236
|
-
*
|
237
333
|
*/
|
238
334
|
listCountries(filters?: FilterableRegionCountryProps, config?: FindConfig<RegionCountryDTO>, sharedContext?: Context): Promise<RegionCountryDTO[]>;
|
239
335
|
/**
|
240
336
|
* This method retrieves a paginated list of countries along with the total count of available countries satisfying the provided filters.
|
241
337
|
*
|
242
|
-
* @param {FilterableRegionCountryProps} filters - The filters to apply on the retrieved
|
243
|
-
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the
|
244
|
-
* attributes or relations associated with a
|
338
|
+
* @param {FilterableRegionCountryProps} filters - The filters to apply on the retrieved countries.
|
339
|
+
* @param {FindConfig<RegionCountryDTO>} config - The configurations determining how the country is retrieved. Its properties, such as `select` or `relations`, accept the
|
340
|
+
* attributes or relations associated with a country.
|
245
341
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
246
342
|
* @returns {Promise<[RegionCountryDTO[], number]>} The list of countries along with their total count.
|
247
343
|
*
|
248
344
|
* @example
|
249
|
-
* To retrieve a list of
|
345
|
+
* To retrieve a list of countries using their IDs:
|
250
346
|
*
|
251
347
|
* ```ts
|
252
|
-
*
|
348
|
+
* const [countries, count] =
|
349
|
+
* await regionModuleService.listAndCountCountries({
|
350
|
+
* iso_2: ["us", "eur"],
|
351
|
+
* })
|
253
352
|
* ```
|
254
353
|
*
|
255
|
-
* To specify relations that should be retrieved within the
|
354
|
+
* To specify relations that should be retrieved within the countries:
|
256
355
|
*
|
257
356
|
* ```ts
|
258
|
-
*
|
357
|
+
* const [countries, count] =
|
358
|
+
* await regionModuleService.listAndCountCountries(
|
359
|
+
* {
|
360
|
+
* iso_2: ["us", "eur"],
|
361
|
+
* },
|
362
|
+
* {
|
363
|
+
* relations: ["region"],
|
364
|
+
* }
|
365
|
+
* )
|
259
366
|
* ```
|
260
367
|
*
|
261
|
-
* By default, only the first `
|
368
|
+
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
262
369
|
*
|
263
370
|
* ```ts
|
264
|
-
*
|
371
|
+
* const [countries, count] =
|
372
|
+
* await regionModuleService.listAndCountCountries(
|
373
|
+
* {
|
374
|
+
* iso_2: ["us", "eur"],
|
375
|
+
* },
|
376
|
+
* {
|
377
|
+
* relations: ["region"],
|
378
|
+
* take: 20,
|
379
|
+
* skip: 2,
|
380
|
+
* }
|
381
|
+
* )
|
265
382
|
* ```
|
266
|
-
*
|
267
|
-
*
|
268
383
|
*/
|
269
384
|
listAndCountCountries(filters?: FilterableRegionCountryProps, config?: FindConfig<RegionCountryDTO>, sharedContext?: Context): Promise<[RegionCountryDTO[], number]>;
|
270
385
|
/**
|
271
|
-
* This method soft deletes
|
386
|
+
* This method soft deletes a region by its IDs.
|
272
387
|
*
|
273
|
-
* @param {string[]} regionIds - The
|
388
|
+
* @param {string[]} regionIds - The regions' IDs.
|
274
389
|
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
275
390
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
276
|
-
* @returns {Promise<void | Record<string, string[]>>}
|
391
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated country.
|
392
|
+
* The object's keys are the ID attribute names of the region entity's relations, such as `country_id`, and its value is an array of strings, each being the ID of a record associated
|
393
|
+
* with the region through this relation, such as the IDs of associated countries.
|
394
|
+
*
|
395
|
+
* If there are no related records, the promise resolves to `void`.
|
277
396
|
*
|
278
397
|
* @example
|
279
|
-
* {
|
398
|
+
* await regionModuleService.softDelete(["reg_123", "reg_321"], {
|
399
|
+
* returnLinkableKeys: ["country_id"],
|
400
|
+
* })
|
280
401
|
*/
|
281
402
|
softDelete<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
282
403
|
/**
|
283
404
|
* This method restores soft deleted regions by their IDs.
|
284
405
|
*
|
285
|
-
* @param {string[]} regionIds - The
|
286
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the
|
287
|
-
* property any of the
|
406
|
+
* @param {string[]} regionIds - The regions' IDs.
|
407
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the region. You can pass to its `returnLinkableKeys`
|
408
|
+
* property any of the region's relation attribute names, such as `countries`.
|
288
409
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
289
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated
|
290
|
-
* The object's keys are the ID attribute names of the
|
410
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated countries.
|
411
|
+
* The object's keys are the ID attribute names of the region entity's relations, such as `country_id`,
|
291
412
|
* and its value is an array of strings, each being the ID of the record associated with the region through this relation,
|
292
|
-
* such as the IDs of associated
|
413
|
+
* such as the IDs of associated countries.
|
414
|
+
*
|
415
|
+
* If there are no related records restored, the promise resolves to `void`.
|
293
416
|
*
|
294
417
|
* @example
|
295
|
-
* {
|
418
|
+
* await regionModuleService.restore(["reg_123", "reg_321"], {
|
419
|
+
* returnLinkableKeys: ["country_id"],
|
420
|
+
* })
|
296
421
|
*/
|
297
422
|
restore<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
298
423
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/region/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;AAC3C,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACV,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/E;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/region/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;AAC3C,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACV,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/E;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAE9E;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO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AAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACrD,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,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("./stock-locations"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflows/stock-locations/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,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("./mutations"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflows/stock-locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/workflows/stock-locations/mutations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4CAA4C;IAC3D,WAAW,EAAE,MAAM,CAAA;IACnB,oBAAoB,EAAE;QACpB,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../../src/workflows/stock-locations/mutations.ts"],"names":[],"mappings":""}
|