@medusajs/types 1.12.0-preview-20240522180517 → 1.12.0-preview-20240522210548
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http/index.d.ts +9 -8
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +9 -8
- package/dist/http/index.js.map +1 -1
- package/dist/http/invite/admin.d.ts +19 -0
- package/dist/http/invite/admin.d.ts.map +1 -0
- package/dist/http/invite/admin.js +3 -0
- package/dist/http/invite/admin.js.map +1 -0
- package/dist/http/invite/index.d.ts +2 -0
- package/dist/http/invite/index.d.ts.map +1 -0
- package/dist/http/invite/index.js +18 -0
- package/dist/http/invite/index.js.map +1 -0
- package/dist/http/user/admin.d.ts +3 -0
- package/dist/http/user/admin.d.ts.map +1 -0
- package/dist/http/user/admin.js +3 -0
- package/dist/http/user/admin.js.map +1 -0
- package/dist/http/user/common.d.ts +12 -0
- package/dist/http/user/common.d.ts.map +1 -0
- package/dist/http/user/common.js +3 -0
- package/dist/http/user/common.js.map +1 -0
- package/dist/http/user/index.d.ts +2 -0
- package/dist/http/user/index.d.ts.map +1 -0
- package/dist/http/user/index.js +18 -0
- package/dist/http/user/index.js.map +1 -0
- package/package.json +1 -1
package/dist/http/index.d.ts
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
export * from "./api-key";
|
2
2
|
export * from "./campaign";
|
3
|
+
export * from "./cart";
|
4
|
+
export * from "./collection";
|
5
|
+
export * from "./common";
|
3
6
|
export * from "./customer";
|
4
7
|
export * from "./fulfillment";
|
5
8
|
export * from "./inventory";
|
9
|
+
export * from "./invite";
|
6
10
|
export * from "./order";
|
11
|
+
export * from "./payment";
|
7
12
|
export * from "./pricing";
|
13
|
+
export * from "./product";
|
8
14
|
export * from "./product-category";
|
9
15
|
export * from "./promotion";
|
16
|
+
export * from "./region";
|
17
|
+
export * from "./reservation";
|
10
18
|
export * from "./sales-channel";
|
11
19
|
export * from "./stock-locations";
|
12
20
|
export * from "./tax";
|
13
|
-
export * from "./
|
14
|
-
export * from "./reservation";
|
15
|
-
export * from "./region";
|
16
|
-
export * from "./product";
|
17
|
-
export * from "./cart";
|
18
|
-
export * from "./payment";
|
19
|
-
export * from "./collection";
|
20
|
-
export * from "./common";
|
21
|
+
export * from "./user";
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
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,
|
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,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,QAAQ,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -16,22 +16,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./api-key"), exports);
|
18
18
|
__exportStar(require("./campaign"), exports);
|
19
|
+
__exportStar(require("./cart"), exports);
|
20
|
+
__exportStar(require("./collection"), exports);
|
21
|
+
__exportStar(require("./common"), exports);
|
19
22
|
__exportStar(require("./customer"), exports);
|
20
23
|
__exportStar(require("./fulfillment"), exports);
|
21
24
|
__exportStar(require("./inventory"), exports);
|
25
|
+
__exportStar(require("./invite"), exports);
|
22
26
|
__exportStar(require("./order"), exports);
|
27
|
+
__exportStar(require("./payment"), exports);
|
23
28
|
__exportStar(require("./pricing"), exports);
|
29
|
+
__exportStar(require("./product"), exports);
|
24
30
|
__exportStar(require("./product-category"), exports);
|
25
31
|
__exportStar(require("./promotion"), exports);
|
32
|
+
__exportStar(require("./region"), exports);
|
33
|
+
__exportStar(require("./reservation"), exports);
|
26
34
|
__exportStar(require("./sales-channel"), exports);
|
27
35
|
__exportStar(require("./stock-locations"), exports);
|
28
36
|
__exportStar(require("./tax"), exports);
|
29
|
-
__exportStar(require("./
|
30
|
-
__exportStar(require("./reservation"), exports);
|
31
|
-
__exportStar(require("./region"), exports);
|
32
|
-
__exportStar(require("./product"), exports);
|
33
|
-
__exportStar(require("./cart"), exports);
|
34
|
-
__exportStar(require("./payment"), exports);
|
35
|
-
__exportStar(require("./collection"), exports);
|
36
|
-
__exportStar(require("./common"), exports);
|
37
|
+
__exportStar(require("./user"), exports);
|
37
38
|
//# 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,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,
|
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,gDAA6B;AAC7B,8CAA2B;AAC3B,2CAAwB;AACxB,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,yCAAsB"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export type AdminAcceptInvite = {
|
2
|
+
first_name: string;
|
3
|
+
last_name: string;
|
4
|
+
};
|
5
|
+
export type AdminCreateInvite = {
|
6
|
+
email: string;
|
7
|
+
metadata?: Record<string, unknown>;
|
8
|
+
};
|
9
|
+
export type AdminInviteResponse = {
|
10
|
+
id: string;
|
11
|
+
email: string;
|
12
|
+
accepted: boolean;
|
13
|
+
token: string;
|
14
|
+
expires_at?: Date;
|
15
|
+
metadata?: Record<string, unknown>;
|
16
|
+
created_at?: Date;
|
17
|
+
updated_at?: Date;
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=admin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/invite/admin.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;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,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,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/invite/admin.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/invite/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/invite/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/user/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/user/admin.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export type BaseUserResponse = {
|
2
|
+
id: string;
|
3
|
+
email: string;
|
4
|
+
first_name: string | null;
|
5
|
+
last_name: string | null;
|
6
|
+
avatar_url: string | null;
|
7
|
+
metadata: Record<string, unknown> | null;
|
8
|
+
created_at: Date;
|
9
|
+
updated_at: Date;
|
10
|
+
deleted_at: Date | null;
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/user/common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/user/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
@@ -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/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|