@epilot/pricing-client 3.54.3 → 3.54.4
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.
- package/dist/openapi.d.ts +21 -0
- package/dist/openapi.json +14 -0
- package/package.json +15 -14
package/dist/openapi.d.ts
CHANGED
|
@@ -1638,6 +1638,16 @@ declare namespace Components {
|
|
|
1638
1638
|
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
1639
1639
|
*/
|
|
1640
1640
|
export type CashbackPeriod = "0" | "12";
|
|
1641
|
+
/**
|
|
1642
|
+
* List of entity fields to include or exclude from the results.
|
|
1643
|
+
*
|
|
1644
|
+
* example:
|
|
1645
|
+
* [
|
|
1646
|
+
* "!_files",
|
|
1647
|
+
* "!**.versions"
|
|
1648
|
+
* ]
|
|
1649
|
+
*/
|
|
1650
|
+
export type CatalogFieldsParam = string[];
|
|
1641
1651
|
/**
|
|
1642
1652
|
* A catalog search payload
|
|
1643
1653
|
* example:
|
|
@@ -1669,6 +1679,16 @@ declare namespace Components {
|
|
|
1669
1679
|
* When true, enables entity hydration to resolve nested $relation references in-place.
|
|
1670
1680
|
*/
|
|
1671
1681
|
hydrate?: boolean;
|
|
1682
|
+
fields?: /**
|
|
1683
|
+
* List of entity fields to include or exclude from the results.
|
|
1684
|
+
*
|
|
1685
|
+
* example:
|
|
1686
|
+
* [
|
|
1687
|
+
* "!_files",
|
|
1688
|
+
* "!**.versions"
|
|
1689
|
+
* ]
|
|
1690
|
+
*/
|
|
1691
|
+
CatalogFieldsParam;
|
|
1672
1692
|
availability?: /* Availability filters dimensions */ AvailabilityFilters;
|
|
1673
1693
|
}
|
|
1674
1694
|
/**
|
|
@@ -12000,6 +12020,7 @@ export type CartDto = Components.Schemas.CartDto;
|
|
|
12000
12020
|
export type CashbackAmount = Components.Schemas.CashbackAmount;
|
|
12001
12021
|
export type CashbackAmounts = Components.Schemas.CashbackAmounts;
|
|
12002
12022
|
export type CashbackPeriod = Components.Schemas.CashbackPeriod;
|
|
12023
|
+
export type CatalogFieldsParam = Components.Schemas.CatalogFieldsParam;
|
|
12003
12024
|
export type CatalogSearch = Components.Schemas.CatalogSearch;
|
|
12004
12025
|
export type CatalogSearchResult = Components.Schemas.CatalogSearchResult;
|
|
12005
12026
|
export type CheckoutCart = Components.Schemas.CheckoutCart;
|
package/dist/openapi.json
CHANGED
|
@@ -5569,6 +5569,9 @@
|
|
|
5569
5569
|
"description": "When true, enables entity hydration to resolve nested $relation references in-place.",
|
|
5570
5570
|
"default": false
|
|
5571
5571
|
},
|
|
5572
|
+
"fields": {
|
|
5573
|
+
"$ref": "#/components/schemas/CatalogFieldsParam"
|
|
5574
|
+
},
|
|
5572
5575
|
"availability": {
|
|
5573
5576
|
"$ref": "#/components/schemas/AvailabilityFilters"
|
|
5574
5577
|
}
|
|
@@ -5583,6 +5586,17 @@
|
|
|
5583
5586
|
"q"
|
|
5584
5587
|
]
|
|
5585
5588
|
},
|
|
5589
|
+
"CatalogFieldsParam": {
|
|
5590
|
+
"type": "array",
|
|
5591
|
+
"description": "List of entity fields to include or exclude from the results.\n",
|
|
5592
|
+
"items": {
|
|
5593
|
+
"type": "string"
|
|
5594
|
+
},
|
|
5595
|
+
"example": [
|
|
5596
|
+
"!_files",
|
|
5597
|
+
"!**.versions"
|
|
5598
|
+
]
|
|
5599
|
+
},
|
|
5586
5600
|
"CatalogSearchResult": {
|
|
5587
5601
|
"description": "The query result payload",
|
|
5588
5602
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "3.54.
|
|
3
|
+
"version": "3.54.4",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,6 +24,18 @@
|
|
|
24
24
|
"cart",
|
|
25
25
|
"pricing"
|
|
26
26
|
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "vitest",
|
|
29
|
+
"bundle-definition": "webpack",
|
|
30
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/pricing-api.yaml",
|
|
31
|
+
"openapi:local": "node ../../scripts/update-openapi.js ../../../pricing-api/lambda/ApiHandlerFunction/openapi.yml",
|
|
32
|
+
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
33
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
34
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
35
|
+
"build:watch": "npm run build && tsc -w",
|
|
36
|
+
"prepublishOnly": "npm run typegen && npm run build",
|
|
37
|
+
"lint": "biome check src"
|
|
38
|
+
},
|
|
27
39
|
"files": [
|
|
28
40
|
"*.js",
|
|
29
41
|
"*.d.ts",
|
|
@@ -60,16 +72,5 @@
|
|
|
60
72
|
"webpack": "^5.18.0",
|
|
61
73
|
"webpack-cli": "^4.4.0"
|
|
62
74
|
},
|
|
63
|
-
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
64
|
-
|
|
65
|
-
"test": "vitest",
|
|
66
|
-
"bundle-definition": "webpack",
|
|
67
|
-
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/pricing-api.yaml",
|
|
68
|
-
"openapi:local": "node ../../scripts/update-openapi.js ../../../pricing-api/lambda/ApiHandlerFunction/openapi.yml",
|
|
69
|
-
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
70
|
-
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
71
|
-
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
72
|
-
"build:watch": "npm run build && tsc -w",
|
|
73
|
-
"lint": "biome check src"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
75
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
76
|
+
}
|