types-magic-api 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,6 +40,8 @@ export interface CustomerCheckoutDeliveryAddress {
|
|
|
40
40
|
phone: string | null;
|
|
41
41
|
province: string | null;
|
|
42
42
|
zip: string | null;
|
|
43
|
+
provinceCode: string | null;
|
|
44
|
+
countryCode: string | null;
|
|
43
45
|
}
|
|
44
46
|
/**
|
|
45
47
|
* API Name: /api/customer/checkout/create
|
|
@@ -251,6 +253,7 @@ export interface CreateCartReq {
|
|
|
251
253
|
lines: Model.CartLineInput[];
|
|
252
254
|
note: string | null;
|
|
253
255
|
discountCodes: string[];
|
|
256
|
+
removeId: boolean | null;
|
|
254
257
|
}
|
|
255
258
|
export interface CreateCartRes {
|
|
256
259
|
id: string;
|
|
@@ -248,7 +248,7 @@ export interface MailingAddress {
|
|
|
248
248
|
city: string | null;
|
|
249
249
|
company: string | null;
|
|
250
250
|
country: string | null;
|
|
251
|
-
|
|
251
|
+
countryCode: string | null;
|
|
252
252
|
firstName: string | null;
|
|
253
253
|
formatted: string | null;
|
|
254
254
|
formattedArea: string[];
|
|
@@ -455,6 +455,7 @@ export interface ICartLine {
|
|
|
455
455
|
};
|
|
456
456
|
id: string;
|
|
457
457
|
quantity: number;
|
|
458
|
+
currencySymbol: string;
|
|
458
459
|
merchandise: {
|
|
459
460
|
availableForSale: boolean;
|
|
460
461
|
compareAtPrice: Money | null;
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "types-magic-api",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "rimraf dist && tsc",
|
|
6
|
-
"prepare": "npm run build"
|
|
7
|
-
},
|
|
8
|
-
"description": "magic API",
|
|
9
|
-
"exports": "./dist/server.js",
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"keywords": [],
|
|
12
|
-
"author": "ascent24",
|
|
13
|
-
"license": "ISC",
|
|
14
|
-
"jest": {
|
|
15
|
-
"verbose": true,
|
|
16
|
-
"transform": {
|
|
17
|
-
"^.+\\.tsx?$": "ts-jest"
|
|
18
|
-
},
|
|
19
|
-
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
20
|
-
"moduleFileExtensions": [
|
|
21
|
-
"ts",
|
|
22
|
-
"tsx",
|
|
23
|
-
"js",
|
|
24
|
-
"jsx",
|
|
25
|
-
"json",
|
|
26
|
-
"node"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"dist/**/*.model.d.ts",
|
|
31
|
-
"dist/**/*.entity.d.ts",
|
|
32
|
-
"dist/**/*.model.js",
|
|
33
|
-
"dist/**/*.model.entity.js"
|
|
34
|
-
],
|
|
35
|
-
"type": "module"
|
|
1
|
+
{
|
|
2
|
+
"name": "types-magic-api",
|
|
3
|
+
"version": "0.1.28",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "rimraf dist && tsc",
|
|
6
|
+
"prepare": "npm run build"
|
|
7
|
+
},
|
|
8
|
+
"description": "magic API",
|
|
9
|
+
"exports": "./dist/server.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"keywords": [],
|
|
12
|
+
"author": "ascent24",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"jest": {
|
|
15
|
+
"verbose": true,
|
|
16
|
+
"transform": {
|
|
17
|
+
"^.+\\.tsx?$": "ts-jest"
|
|
18
|
+
},
|
|
19
|
+
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
20
|
+
"moduleFileExtensions": [
|
|
21
|
+
"ts",
|
|
22
|
+
"tsx",
|
|
23
|
+
"js",
|
|
24
|
+
"jsx",
|
|
25
|
+
"json",
|
|
26
|
+
"node"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist/**/*.model.d.ts",
|
|
31
|
+
"dist/**/*.entity.d.ts",
|
|
32
|
+
"dist/**/*.model.js",
|
|
33
|
+
"dist/**/*.model.entity.js"
|
|
34
|
+
],
|
|
35
|
+
"type": "module"
|
|
36
36
|
}
|