@medusajs/types 2.0.0-rc-20241018141633 → 2.0.0-rc-20241022152047
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-key/common/api-key.d.ts +8 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/common/common.d.ts +10 -2
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +19 -0
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/http/api-key/admin/payloads.d.ts +9 -0
- package/dist/http/api-key/admin/payloads.d.ts.map +1 -1
- package/dist/http/api-key/admin/queries.d.ts +27 -2
- package/dist/http/api-key/admin/queries.d.ts.map +1 -1
- package/dist/http/api-key/admin/responses.d.ts +45 -0
- package/dist/http/api-key/admin/responses.d.ts.map +1 -1
- package/dist/http/campaign/admin/payloads.d.ts +74 -0
- package/dist/http/campaign/admin/payloads.d.ts.map +1 -1
- package/dist/http/campaign/admin/responses.d.ts +54 -0
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/store/entities.d.ts +39 -0
- package/dist/http/cart/store/entities.d.ts.map +1 -1
- package/dist/http/cart/store/payloads.d.ts +74 -0
- package/dist/http/cart/store/payloads.d.ts.map +1 -1
- package/dist/http/cart/store/responses.d.ts +28 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -1
- package/dist/http/claim/admin/entities.d.ts +9 -0
- package/dist/http/claim/admin/entities.d.ts.map +1 -1
- package/dist/http/claim/admin/payloads.d.ts +71 -0
- package/dist/http/claim/admin/payloads.d.ts.map +1 -1
- package/dist/http/claim/admin/queries.d.ts +0 -1
- package/dist/http/claim/admin/queries.d.ts.map +1 -1
- package/dist/http/claim/admin/responses.d.ts +24 -0
- package/dist/http/claim/admin/responses.d.ts.map +1 -1
- package/dist/http/claim/common.d.ts +81 -0
- package/dist/http/claim/common.d.ts.map +1 -1
- package/dist/http/collection/common.d.ts +44 -2
- package/dist/http/collection/common.d.ts.map +1 -1
- package/dist/http/collection/store/entities.d.ts +3 -0
- package/dist/http/collection/store/entities.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +0 -2
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/collection/store/responses.d.ts +6 -0
- package/dist/http/collection/store/responses.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +23 -0
- package/dist/http/common/request.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +9 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/currency/admin/queries.d.ts +6 -0
- package/dist/http/currency/admin/queries.d.ts.map +1 -1
- package/dist/http/currency/admin/responses.d.ts +6 -0
- package/dist/http/currency/admin/responses.d.ts.map +1 -1
- package/dist/http/currency/common.d.ts +36 -0
- package/dist/http/currency/common.d.ts.map +1 -1
- package/dist/http/customer/admin/entities.d.ts +9 -0
- package/dist/http/customer/admin/entities.d.ts.map +1 -1
- package/dist/http/customer/admin/queries.d.ts +6 -0
- package/dist/http/customer/admin/queries.d.ts.map +1 -1
- package/dist/http/customer/admin/responses.d.ts +6 -0
- package/dist/http/customer/admin/responses.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +285 -0
- package/dist/http/customer/common.d.ts.map +1 -1
- package/dist/http/customer/store/entities.d.ts +3 -0
- package/dist/http/customer/store/entities.d.ts.map +1 -1
- package/dist/http/customer/store/responses.d.ts +9 -0
- package/dist/http/customer/store/responses.d.ts.map +1 -1
- package/dist/http/customer-group/admin/entities.d.ts +3 -0
- package/dist/http/customer-group/admin/entities.d.ts.map +1 -1
- package/dist/http/customer-group/admin/payloads.d.ts +12 -0
- package/dist/http/customer-group/admin/payloads.d.ts.map +1 -1
- package/dist/http/customer-group/admin/queries.d.ts +59 -4
- package/dist/http/customer-group/admin/queries.d.ts.map +1 -1
- package/dist/http/customer-group/admin/responses.d.ts +6 -0
- package/dist/http/customer-group/admin/responses.d.ts.map +1 -1
- package/dist/http/customer-group/common.d.ts +18 -0
- package/dist/http/customer-group/common.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +71 -5
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/exchange/admin/queries.d.ts +3 -6
- package/dist/http/exchange/admin/queries.d.ts.map +1 -1
- package/dist/http/exchange/admin/responses.d.ts +21 -0
- package/dist/http/exchange/admin/responses.d.ts.map +1 -1
- package/dist/http/exchange/common.d.ts +109 -0
- package/dist/http/exchange/common.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +139 -0
- package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +113 -1
- package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/responses.d.ts +3 -0
- package/dist/http/fulfillment/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment/store/index.d.ts +54 -1
- package/dist/http/fulfillment/store/index.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/admin/queries.d.ts +13 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/admin/responses.d.ts +3 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/common.d.ts +6 -0
- package/dist/http/fulfillment-provider/common.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts +84 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/payloads.d.ts +66 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/responses.d.ts +6 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
- package/dist/http/inventory/admin/entities.d.ts +84 -0
- package/dist/http/inventory/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory/admin/payloads.d.ts +42 -0
- package/dist/http/inventory/admin/payloads.d.ts.map +1 -1
- package/dist/http/inventory/admin/queries.d.ts +40 -0
- package/dist/http/inventory/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory/admin/responses.d.ts +6 -0
- package/dist/http/inventory/admin/responses.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/entities.d.ts +28 -0
- package/dist/http/inventory-level/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/payloads.d.ts +30 -0
- package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/queries.d.ts +4 -0
- package/dist/http/inventory-level/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/responses.d.ts +6 -0
- package/dist/http/inventory-level/admin/responses.d.ts.map +1 -1
- package/dist/http/invite/admin/entities.d.ts +24 -0
- package/dist/http/invite/admin/entities.d.ts.map +1 -1
- package/dist/http/invite/admin/payloads.d.ts +16 -0
- package/dist/http/invite/admin/payloads.d.ts.map +1 -1
- package/dist/http/invite/admin/responses.d.ts +12 -0
- package/dist/http/invite/admin/responses.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +45 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +6 -0
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +630 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store/entities.d.ts +39 -0
- package/dist/http/order/store/entities.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +6 -0
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/order/store/responses.d.ts +6 -0
- package/dist/http/order/store/responses.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +3 -0
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store/entities.d.ts +9 -0
- package/dist/http/payment/store/entities.d.ts.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +18 -0
- package/dist/http/payment/store/payloads.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +3 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/payment/store/responses.d.ts +6 -0
- package/dist/http/payment/store/responses.d.ts.map +1 -1
- 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/common.d.ts +268 -0
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/entitites.d.ts +36 -0
- package/dist/http/product/store/entitites.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +19 -1
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product/store/responses.d.ts +6 -0
- package/dist/http/product/store/responses.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +94 -0
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store/entities.d.ts +9 -0
- package/dist/http/product-category/store/entities.d.ts.map +1 -1
- package/dist/http/product-category/store/queries.d.ts +1 -1
- package/dist/http/product-category/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/store/responses.d.ts +6 -0
- package/dist/http/product-category/store/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +3 -0
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +69 -0
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/region/store/responses.d.ts +6 -0
- package/dist/http/region/store/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/store/queries.d.ts +8 -0
- package/dist/http/shipping-option/store/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/store/responses.d.ts +2 -2
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
- package/dist/product/common.d.ts +8 -0
- package/dist/product/common.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,18 @@
|
|
1
1
|
interface AdminUpsertGeoZone {
|
2
|
+
/**
|
3
|
+
* The geo zone's type.
|
4
|
+
*/
|
2
5
|
type: string;
|
6
|
+
/**
|
7
|
+
* The geo zone's country code.
|
8
|
+
*
|
9
|
+
* @example
|
10
|
+
* us
|
11
|
+
*/
|
3
12
|
country_code: string;
|
13
|
+
/**
|
14
|
+
* Key-value pairs of custom data.
|
15
|
+
*/
|
4
16
|
metadata?: Record<string, unknown> | null;
|
5
17
|
}
|
6
18
|
interface AdminUpsertFulfillmentSetServiceZoneCountry extends AdminUpsertGeoZone {
|
@@ -8,25 +20,53 @@ interface AdminUpsertFulfillmentSetServiceZoneCountry extends AdminUpsertGeoZone
|
|
8
20
|
}
|
9
21
|
interface AdminUpsertFulfillmentSetServiceZoneProvince extends AdminUpsertGeoZone {
|
10
22
|
type: "province";
|
23
|
+
/**
|
24
|
+
* The geo zone's province code.
|
25
|
+
*/
|
11
26
|
province_code: string;
|
12
27
|
}
|
13
28
|
interface AdminUpsertFulfillmentSetServiceZoneCity extends AdminUpsertGeoZone {
|
14
29
|
type: "city";
|
30
|
+
/**
|
31
|
+
* The geo zone's province code.
|
32
|
+
*/
|
15
33
|
province_code: string;
|
34
|
+
/**
|
35
|
+
* The geo zone's city.
|
36
|
+
*/
|
16
37
|
city: string;
|
17
38
|
}
|
18
39
|
interface AdminUpsertFulfillmentSetServiceZoneZip extends AdminUpsertGeoZone {
|
19
40
|
type: "zip";
|
41
|
+
/**
|
42
|
+
* The geo zone's province code.
|
43
|
+
*/
|
20
44
|
province_code: string;
|
45
|
+
/**
|
46
|
+
* The geo zone's city.
|
47
|
+
*/
|
21
48
|
city: string;
|
49
|
+
/**
|
50
|
+
* The geo zone's postal expression or ZIP code.
|
51
|
+
*/
|
22
52
|
postal_expression: Record<string, unknown>;
|
23
53
|
}
|
24
54
|
type AdminUpsertFulfillmentSetServiceZoneGeoZone = AdminUpsertFulfillmentSetServiceZoneCountry | AdminUpsertFulfillmentSetServiceZoneProvince | AdminUpsertFulfillmentSetServiceZoneCity | AdminUpsertFulfillmentSetServiceZoneZip;
|
25
55
|
export interface AdminCreateFulfillmentSetServiceZone {
|
56
|
+
/**
|
57
|
+
* The service zone's name.
|
58
|
+
*/
|
26
59
|
name: string;
|
60
|
+
/**
|
61
|
+
* The service zone's geo zones to restrict it to
|
62
|
+
* specific geographical locations.
|
63
|
+
*/
|
27
64
|
geo_zones: AdminUpsertFulfillmentSetServiceZoneGeoZone[];
|
28
65
|
}
|
29
66
|
interface AdminUpdateGeoZone extends AdminUpsertGeoZone {
|
67
|
+
/**
|
68
|
+
* The ID of the geo zone to update.
|
69
|
+
*/
|
30
70
|
id?: string;
|
31
71
|
}
|
32
72
|
interface AdminUpdateFulfillmentSetServiceZoneCountry extends AdminUpdateGeoZone {
|
@@ -34,22 +74,48 @@ interface AdminUpdateFulfillmentSetServiceZoneCountry extends AdminUpdateGeoZone
|
|
34
74
|
}
|
35
75
|
interface AdminUpdateFulfillmentSetServiceZoneProvince extends AdminUpdateGeoZone {
|
36
76
|
type: "province";
|
77
|
+
/**
|
78
|
+
* The geo zone's province code.
|
79
|
+
*/
|
37
80
|
province_code: string;
|
38
81
|
}
|
39
82
|
interface AdminUpdateFulfillmentSetServiceZoneCity extends AdminUpdateGeoZone {
|
40
83
|
type: "city";
|
84
|
+
/**
|
85
|
+
* The geo zone's province code.
|
86
|
+
*/
|
41
87
|
province_code: string;
|
88
|
+
/**
|
89
|
+
* The geo zone's city.
|
90
|
+
*/
|
42
91
|
city: string;
|
43
92
|
}
|
44
93
|
interface AdminUpdateFulfillmentSetServiceZoneZip extends AdminUpdateGeoZone {
|
45
94
|
type: "zip";
|
95
|
+
/**
|
96
|
+
* The geo zone's province code.
|
97
|
+
*/
|
46
98
|
province_code: string;
|
99
|
+
/**
|
100
|
+
* The geo zone's city.
|
101
|
+
*/
|
47
102
|
city: string;
|
103
|
+
/**
|
104
|
+
* The geo zone's postal expression or ZIP code.
|
105
|
+
*/
|
48
106
|
postal_expression: Record<string, unknown>;
|
49
107
|
}
|
50
108
|
type AdminUpdateFulfillmentSetServiceZoneGeoZone = AdminUpdateFulfillmentSetServiceZoneCountry | AdminUpdateFulfillmentSetServiceZoneProvince | AdminUpdateFulfillmentSetServiceZoneCity | AdminUpdateFulfillmentSetServiceZoneZip;
|
51
109
|
export interface AdminUpdateFulfillmentSetServiceZone {
|
110
|
+
/**
|
111
|
+
* The service zone's name.
|
112
|
+
*/
|
52
113
|
name?: string;
|
114
|
+
/**
|
115
|
+
* The service zone's geo zones to restrict it to
|
116
|
+
* specific geographical locations. You can update
|
117
|
+
* existing ones by their IDs or add new ones.
|
118
|
+
*/
|
53
119
|
geo_zones?: AdminUpdateFulfillmentSetServiceZoneGeoZone[];
|
54
120
|
}
|
55
121
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,UAAU,2CACR,SAAQ,kBAAkB;IAC1B,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,UAAU,4CACR,SAAQ,kBAAkB;IAC1B,IAAI,EAAE,UAAU,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,UAAU,wCAAyC,SAAQ,kBAAkB;IAC3E,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,uCAAwC,SAAQ,kBAAkB;IAC1E,IAAI,EAAE,KAAK,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC3C;AAED,KAAK,2CAA2C,GAC5C,2CAA2C,GAC3C,4CAA4C,GAC5C,wCAAwC,GACxC,uCAAuC,CAAA;AAE3C,MAAM,WAAW,oCAAoC;IACnD,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,2CAA2C,EAAE,CAAA;CACzD;AAED,U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AM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC3C;AAED,KAAK,2CAA2C,GAC5C,2CAA2C,GAC3C,4CAA4C,GAC5C,wCAAwC,GACxC,uCAAuC,CAAA;AAE3C,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,2CAA2C,EAAE,CAAA;CAC1D"}
|
@@ -1,11 +1,17 @@
|
|
1
1
|
import { DeleteResponse, DeleteResponseWithParent } from "../../common";
|
2
2
|
import { AdminFulfillmentSet, AdminServiceZone } from "./entities";
|
3
3
|
export interface AdminServiceZoneResponse {
|
4
|
+
/**
|
5
|
+
* The service zone's details.
|
6
|
+
*/
|
4
7
|
service_zone: AdminServiceZone;
|
5
8
|
}
|
6
9
|
export interface AdminServiceZoneDeleteResponse extends DeleteResponseWithParent<"service_zone", AdminFulfillmentSet> {
|
7
10
|
}
|
8
11
|
export interface AdminFulfillmentSetResponse {
|
12
|
+
/**
|
13
|
+
* The fulfillment set's details.
|
14
|
+
*/
|
9
15
|
fulfillment_set: AdminFulfillmentSet;
|
10
16
|
}
|
11
17
|
export interface AdminFulfillmentSetDeleteResponse extends DeleteResponse<"fulfillment_set"> {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElE,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,WAAW,8BACf,SAAQ,wBAAwB,CAAC,cAAc,EAAE,mBAAmB,CAAC;CAAG;AAE1E,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElE,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,WAAW,8BACf,SAAQ,wBAAwB,CAAC,cAAc,EAAE,mBAAmB,CAAC;CAAG;AAE1E,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,eAAe,EAAE,mBAAmB,CAAA;CACrC;AAED,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
|
@@ -1,33 +1,117 @@
|
|
1
1
|
export interface AdminInventoryItem {
|
2
|
+
/**
|
3
|
+
* The inventory item's ID.
|
4
|
+
*/
|
2
5
|
id: string;
|
6
|
+
/**
|
7
|
+
* The inventory item's SKU.
|
8
|
+
*/
|
3
9
|
sku?: string | null;
|
10
|
+
/**
|
11
|
+
* The inventory item's origin country.
|
12
|
+
*/
|
4
13
|
origin_country?: string | null;
|
14
|
+
/**
|
15
|
+
* The inventory item's HS code.
|
16
|
+
*/
|
5
17
|
hs_code?: string | null;
|
18
|
+
/**
|
19
|
+
* Whether the item requires shipping.
|
20
|
+
*/
|
6
21
|
requires_shipping: boolean;
|
22
|
+
/**
|
23
|
+
* The inventory item's MID code.
|
24
|
+
*/
|
7
25
|
mid_code?: string | null;
|
26
|
+
/**
|
27
|
+
* The inventory item's material.
|
28
|
+
*/
|
8
29
|
material?: string | null;
|
30
|
+
/**
|
31
|
+
* The inventory item's weight.
|
32
|
+
*/
|
9
33
|
weight?: number | null;
|
34
|
+
/**
|
35
|
+
* The inventory item's length.
|
36
|
+
*/
|
10
37
|
length?: number | null;
|
38
|
+
/**
|
39
|
+
* The inventory item's height.
|
40
|
+
*/
|
11
41
|
height?: number | null;
|
42
|
+
/**
|
43
|
+
* The inventory item's width.
|
44
|
+
*/
|
12
45
|
width?: number | null;
|
46
|
+
/**
|
47
|
+
* The inventory item's title.
|
48
|
+
*/
|
13
49
|
title?: string | null;
|
50
|
+
/**
|
51
|
+
* The inventory item's description.
|
52
|
+
*/
|
14
53
|
description?: string | null;
|
54
|
+
/**
|
55
|
+
* The inventory item's thumbnail URL.
|
56
|
+
*/
|
15
57
|
thumbnail?: string | null;
|
58
|
+
/**
|
59
|
+
* Key-value pairs of custom data.
|
60
|
+
*/
|
16
61
|
metadata?: Record<string, unknown> | null;
|
62
|
+
/**
|
63
|
+
* The item's associated inventory levels.
|
64
|
+
*/
|
17
65
|
location_levels?: AdminInventoryLevel[];
|
18
66
|
}
|
19
67
|
export interface AdminInventoryLevel {
|
68
|
+
/**
|
69
|
+
* The inventory level's ID.
|
70
|
+
*/
|
20
71
|
id: string;
|
72
|
+
/**
|
73
|
+
* The date the inventory level was created.
|
74
|
+
*/
|
21
75
|
created_at: Date;
|
76
|
+
/**
|
77
|
+
* The date the inventory level was updated.
|
78
|
+
*/
|
22
79
|
updated_at: Date;
|
80
|
+
/**
|
81
|
+
* The date the inventory level was deleted.
|
82
|
+
*/
|
23
83
|
deleted_at: Date | null;
|
84
|
+
/**
|
85
|
+
* The ID of the associated inventory item.
|
86
|
+
*/
|
24
87
|
inventory_item_id: string;
|
88
|
+
/**
|
89
|
+
* The ID of the associated stock location.
|
90
|
+
*/
|
25
91
|
location_id: string;
|
92
|
+
/**
|
93
|
+
* The associated inventory item's stocked quantity in the associated location.
|
94
|
+
*/
|
26
95
|
stocked_quantity: number;
|
96
|
+
/**
|
97
|
+
* The associated inventory item's reserved quantity in the associated location.
|
98
|
+
*/
|
27
99
|
reserved_quantity: number;
|
100
|
+
/**
|
101
|
+
* The associated inventory item's incoming quantity in the associated location.
|
102
|
+
*/
|
28
103
|
incoming_quantity: number;
|
104
|
+
/**
|
105
|
+
* Key-value pairs of custom data.
|
106
|
+
*/
|
29
107
|
metadata: Record<string, unknown> | null;
|
108
|
+
/**
|
109
|
+
* The associated inventory item.
|
110
|
+
*/
|
30
111
|
inventory_item?: AdminInventoryItem;
|
112
|
+
/**
|
113
|
+
* The associated inventory item's available quantity in the associated location.
|
114
|
+
*/
|
31
115
|
available_quantity: number | null;
|
32
116
|
}
|
33
117
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;
|
1
|
+
{"version":3,"file":"entities.d.ts","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AI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAA;IACnC;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;CAClC"}
|
@@ -1,17 +1,59 @@
|
|
1
1
|
export interface AdminCreateInventoryItem {
|
2
|
+
/**
|
3
|
+
* The inventory item's SKU.
|
4
|
+
*/
|
2
5
|
sku?: string;
|
6
|
+
/**
|
7
|
+
* The inventory item's HS code.
|
8
|
+
*/
|
3
9
|
hs_code?: string;
|
10
|
+
/**
|
11
|
+
* The inventory item's weight.
|
12
|
+
*/
|
4
13
|
weight?: number;
|
14
|
+
/**
|
15
|
+
* The inventory item's length.
|
16
|
+
*/
|
5
17
|
length?: number;
|
18
|
+
/**
|
19
|
+
* The inventory item's height.
|
20
|
+
*/
|
6
21
|
height?: number;
|
22
|
+
/**
|
23
|
+
* The inventory item's width.
|
24
|
+
*/
|
7
25
|
width?: number;
|
26
|
+
/**
|
27
|
+
* The inventory item's origin country.
|
28
|
+
*/
|
8
29
|
origin_country?: string;
|
30
|
+
/**
|
31
|
+
* The inventory item's MID code.
|
32
|
+
*/
|
9
33
|
mid_code?: string;
|
34
|
+
/**
|
35
|
+
* The inventory item's material.
|
36
|
+
*/
|
10
37
|
material?: string;
|
38
|
+
/**
|
39
|
+
* The inventory item's title.
|
40
|
+
*/
|
11
41
|
title?: string;
|
42
|
+
/**
|
43
|
+
* The inventory item's description.
|
44
|
+
*/
|
12
45
|
description?: string;
|
46
|
+
/**
|
47
|
+
* Whether the inventory item requires shipping.
|
48
|
+
*/
|
13
49
|
requires_shipping?: boolean;
|
50
|
+
/**
|
51
|
+
* The inventory item's thumbnail URL.
|
52
|
+
*/
|
14
53
|
thumbnail?: string;
|
54
|
+
/**
|
55
|
+
* Key-value pairs of custom data.
|
56
|
+
*/
|
15
57
|
metadata?: Record<string, unknown>;
|
16
58
|
}
|
17
59
|
export interface AdminUpdateInventoryItem extends AdminCreateInventoryItem {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;CAAG"}
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;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,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;CAAG"}
|
@@ -1,18 +1,58 @@
|
|
1
1
|
import { FindParams } from "../../common";
|
2
2
|
import { BaseFilterable, OperatorMap } from "../../../dal";
|
3
3
|
export interface AdminInventoryItemParams extends FindParams, BaseFilterable<AdminInventoryItemParams> {
|
4
|
+
/**
|
5
|
+
* Filter by inventory item ID(s).
|
6
|
+
*/
|
4
7
|
id?: string | string[];
|
8
|
+
/**
|
9
|
+
* Query or keywords to search the inventory item's searchable fields.
|
10
|
+
*/
|
5
11
|
q?: string;
|
12
|
+
/**
|
13
|
+
* Filter by SKU(s).
|
14
|
+
*/
|
6
15
|
sku?: string | string[];
|
16
|
+
/**
|
17
|
+
* Filter by origin countries.
|
18
|
+
*/
|
7
19
|
origin_country?: string | string[];
|
20
|
+
/**
|
21
|
+
* Filter by MID code(s).
|
22
|
+
*/
|
8
23
|
mid_code?: string | string[];
|
24
|
+
/**
|
25
|
+
* Filter by HS code(s).
|
26
|
+
*/
|
9
27
|
hs_code?: string | string[];
|
28
|
+
/**
|
29
|
+
* Filter by material(s).
|
30
|
+
*/
|
10
31
|
material?: string | string[];
|
32
|
+
/**
|
33
|
+
* Filter by whether the item requires shipping.
|
34
|
+
*/
|
11
35
|
requires_shipping?: boolean;
|
36
|
+
/**
|
37
|
+
* Filter by weight(s).
|
38
|
+
*/
|
12
39
|
weight?: number | OperatorMap<number>;
|
40
|
+
/**
|
41
|
+
* Filter by length(s).
|
42
|
+
*/
|
13
43
|
length?: number | OperatorMap<number>;
|
44
|
+
/**
|
45
|
+
* Filter by height(s).
|
46
|
+
*/
|
14
47
|
height?: number | OperatorMap<number>;
|
48
|
+
/**
|
49
|
+
* Filter by width(s).
|
50
|
+
*/
|
15
51
|
width?: number | OperatorMap<number>;
|
52
|
+
/**
|
53
|
+
* Filter by stock location IDs to retrieve inventory items
|
54
|
+
* that have inventory levels associated with the locations.
|
55
|
+
*/
|
16
56
|
location_levels?: Record<"location_id", string | string[]>;
|
17
57
|
}
|
18
58
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1D,MAAM,WAAW,wBACf,SAAQ,UAAU,EAChB,cAAc,CAAC,wBAAwB,CAAC;IAC1C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,OAAO,CAA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AAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACpC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC3D"}
|
@@ -1,9 +1,15 @@
|
|
1
1
|
import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
2
2
|
import { AdminInventoryItem } from "./entities";
|
3
3
|
export interface AdminInventoryItemResponse {
|
4
|
+
/**
|
5
|
+
* The inventory item's details.
|
6
|
+
*/
|
4
7
|
inventory_item: AdminInventoryItem;
|
5
8
|
}
|
6
9
|
export type AdminInventoryItemListResponse = PaginatedResponse<{
|
10
|
+
/**
|
11
|
+
* The list of inventory items.
|
12
|
+
*/
|
7
13
|
inventory_items: AdminInventoryItem[];
|
8
14
|
}>;
|
9
15
|
export type AdminInventoryItemDeleteResponse = DeleteResponse<"inventory_item">;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CACtE,iBAAiB,EACjB,kBAAkB,CACnB,CAAA"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D;;OAEG;IACH,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CACtE,iBAAiB,EACjB,kBAAkB,CACnB,CAAA"}
|
@@ -1,11 +1,39 @@
|
|
1
1
|
export interface InventoryLevel {
|
2
|
+
/**
|
3
|
+
* The inventory level's ID.
|
4
|
+
*/
|
2
5
|
id: string;
|
6
|
+
/**
|
7
|
+
* The ID of the associated inventory item.
|
8
|
+
*/
|
3
9
|
inventory_item_id: string;
|
10
|
+
/**
|
11
|
+
* The ID of the associated stock location
|
12
|
+
*/
|
4
13
|
location_id: string;
|
14
|
+
/**
|
15
|
+
* The associated inventory item's stocked quantity in the
|
16
|
+
* associated stock location.
|
17
|
+
*/
|
5
18
|
stocked_quantity: number;
|
19
|
+
/**
|
20
|
+
* The associated inventory item's reserved quantity in the
|
21
|
+
* associated stock location.
|
22
|
+
*/
|
6
23
|
reserved_quantity: number;
|
24
|
+
/**
|
25
|
+
* The associated inventory item's available quantity in the
|
26
|
+
* associated stock location.
|
27
|
+
*/
|
7
28
|
available_quantity: number;
|
29
|
+
/**
|
30
|
+
* The associated inventory item's incoming quantity in the
|
31
|
+
* associated stock location.
|
32
|
+
*/
|
8
33
|
incoming_quantity: number;
|
34
|
+
/**
|
35
|
+
* Key-value pairs of custom data.
|
36
|
+
*/
|
9
37
|
metadata?: Record<string, unknown> | null;
|
10
38
|
}
|
11
39
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAA;IACxB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -1,15 +1,45 @@
|
|
1
1
|
export interface AdminUpdateInventoryLevel {
|
2
|
+
/**
|
3
|
+
* The associated inventory item's stocked quantity in the
|
4
|
+
* associated stock location.
|
5
|
+
*/
|
2
6
|
stocked_quantity?: number;
|
7
|
+
/**
|
8
|
+
* The associated inventory item's incoming quantity in the
|
9
|
+
* associated stock location.
|
10
|
+
*/
|
3
11
|
incoming_quantity?: number;
|
4
12
|
}
|
5
13
|
export interface AdminCreateInventoryLevel {
|
14
|
+
/**
|
15
|
+
* The ID of the associated stock location.
|
16
|
+
*/
|
6
17
|
location_id: string;
|
18
|
+
/**
|
19
|
+
* The associated inventory item's stocked quantity in the
|
20
|
+
* associated stock location.
|
21
|
+
*/
|
7
22
|
stocked_quantity?: number;
|
23
|
+
/**
|
24
|
+
* The associated inventory item's incoming quantity in the
|
25
|
+
* associated stock location.
|
26
|
+
*/
|
8
27
|
incoming_quantity?: number;
|
9
28
|
}
|
10
29
|
export interface AdminBatchUpdateInventoryLevelLocation {
|
30
|
+
/**
|
31
|
+
* A list of location IDs to
|
32
|
+
* delete their associated inventory
|
33
|
+
* levels of the inventory item.
|
34
|
+
*/
|
11
35
|
delete?: string[];
|
36
|
+
/**
|
37
|
+
* @ignore
|
38
|
+
*/
|
12
39
|
update?: never;
|
40
|
+
/**
|
41
|
+
* A list of inventory levels to create.
|
42
|
+
*/
|
13
43
|
create?: AdminCreateInventoryLevel[];
|
14
44
|
}
|
15
45
|
//# sourceMappingURL=payloads.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,sCAAsC;IACrD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;CACrC"}
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,sCAAsC;IACrD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAA;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;CACrC"}
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { FindParams } from "../../common";
|
2
2
|
export interface AdminInventoryLevelFilters extends FindParams {
|
3
|
+
/**
|
4
|
+
* Filter by stock location IDs to retrieve their
|
5
|
+
* associated inventory levels.
|
6
|
+
*/
|
3
7
|
location_id?: string | string[];
|
4
8
|
}
|
5
9
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC"}
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC"}
|
@@ -1,9 +1,15 @@
|
|
1
1
|
import { PaginatedResponse } from "../../common";
|
2
2
|
import { InventoryLevel } from "./entities";
|
3
3
|
export interface AdminInventoryLevelResponse {
|
4
|
+
/**
|
5
|
+
* The inventory level's details.
|
6
|
+
*/
|
4
7
|
inventory_level: InventoryLevel;
|
5
8
|
}
|
6
9
|
export type AdminInventoryLevelListResponse = PaginatedResponse<{
|
10
|
+
/**
|
11
|
+
* The list of inventory levels.
|
12
|
+
*/
|
7
13
|
inventory_levels: InventoryLevel[];
|
8
14
|
}>;
|
9
15
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,cAAc,CAAA;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,cAAc,EAAE,CAAA;CACnC,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,eAAe,EAAE,cAAc,CAAA;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D;;OAEG;IACH,gBAAgB,EAAE,cAAc,EAAE,CAAA;CACnC,CAAC,CAAA"}
|
@@ -1,11 +1,35 @@
|
|
1
1
|
export interface AdminInvite {
|
2
|
+
/**
|
3
|
+
* The invite's ID.
|
4
|
+
*/
|
2
5
|
id: string;
|
6
|
+
/**
|
7
|
+
* The email of the invited user.
|
8
|
+
*/
|
3
9
|
email: string;
|
10
|
+
/**
|
11
|
+
* Whether the invite was accepted.
|
12
|
+
*/
|
4
13
|
accepted: boolean;
|
14
|
+
/**
|
15
|
+
* The invite token.
|
16
|
+
*/
|
5
17
|
token: string;
|
18
|
+
/**
|
19
|
+
* The date the invite expires.
|
20
|
+
*/
|
6
21
|
expires_at?: Date;
|
22
|
+
/**
|
23
|
+
* Key-value pairs of custom data.
|
24
|
+
*/
|
7
25
|
metadata?: Record<string, unknown>;
|
26
|
+
/**
|
27
|
+
* The date that the invite was created.
|
28
|
+
*/
|
8
29
|
created_at?: Date;
|
30
|
+
/**
|
31
|
+
* The date that the invite was updated.
|
32
|
+
*/
|
9
33
|
updated_at?: Date;
|
10
34
|
}
|
11
35
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB"}
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB"}
|
@@ -1,9 +1,25 @@
|
|
1
1
|
export type AdminAcceptInvite = {
|
2
|
+
/**
|
3
|
+
* The user's email.
|
4
|
+
*/
|
5
|
+
email: string;
|
6
|
+
/**
|
7
|
+
* The user's first name.
|
8
|
+
*/
|
2
9
|
first_name: string;
|
10
|
+
/**
|
11
|
+
* The user's last name.
|
12
|
+
*/
|
3
13
|
last_name: string;
|
4
14
|
};
|
5
15
|
export type AdminCreateInvite = {
|
16
|
+
/**
|
17
|
+
* The email of the user to invite.
|
18
|
+
*/
|
6
19
|
email: string;
|
20
|
+
/**
|
21
|
+
* Key-value pairs of custom data.
|
22
|
+
*/
|
7
23
|
metadata?: Record<string, unknown>;
|
8
24
|
};
|
9
25
|
//# sourceMappingURL=payloads.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC,CAAA"}
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC,CAAA"}
|