@epilot/pricing-client 3.47.11 → 3.47.12
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 +22 -22
- package/dist/openapi.json +132 -132
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -5963,6 +5963,16 @@ export interface OperationMethods {
|
|
|
5963
5963
|
data?: Paths.$CheckoutCart.RequestBody,
|
|
5964
5964
|
config?: AxiosRequestConfig
|
|
5965
5965
|
): OperationResponse<Paths.$CheckoutCart.Responses.$200>
|
|
5966
|
+
/**
|
|
5967
|
+
* $productRecommendations - productRecommendations
|
|
5968
|
+
*
|
|
5969
|
+
* Get a list of product recommendations based on the search parameters.
|
|
5970
|
+
*/
|
|
5971
|
+
'$productRecommendations'(
|
|
5972
|
+
parameters?: Parameters<Paths.$ProductRecommendations.HeaderParameters> | null,
|
|
5973
|
+
data?: Paths.$ProductRecommendations.RequestBody,
|
|
5974
|
+
config?: AxiosRequestConfig
|
|
5975
|
+
): OperationResponse<Paths.$ProductRecommendations.Responses.$200>
|
|
5966
5976
|
/**
|
|
5967
5977
|
* $searchCatalog - searchCatalog
|
|
5968
5978
|
*
|
|
@@ -6103,16 +6113,6 @@ export interface OperationMethods {
|
|
|
6103
6113
|
data?: any,
|
|
6104
6114
|
config?: AxiosRequestConfig
|
|
6105
6115
|
): OperationResponse<Paths.$DeleteCredentials.Responses.$204>
|
|
6106
|
-
/**
|
|
6107
|
-
* $productRecommendations - productRecommendations
|
|
6108
|
-
*
|
|
6109
|
-
* Get a list of product recommendations based on the search parameters.
|
|
6110
|
-
*/
|
|
6111
|
-
'$productRecommendations'(
|
|
6112
|
-
parameters?: Parameters<Paths.$ProductRecommendations.HeaderParameters> | null,
|
|
6113
|
-
data?: Paths.$ProductRecommendations.RequestBody,
|
|
6114
|
-
config?: AxiosRequestConfig
|
|
6115
|
-
): OperationResponse<Paths.$ProductRecommendations.Responses.$200>
|
|
6116
6116
|
}
|
|
6117
6117
|
|
|
6118
6118
|
export interface PathsDictionary {
|
|
@@ -6175,6 +6175,18 @@ export interface PathsDictionary {
|
|
|
6175
6175
|
config?: AxiosRequestConfig
|
|
6176
6176
|
): OperationResponse<Paths.$CheckoutCart.Responses.$200>
|
|
6177
6177
|
}
|
|
6178
|
+
['/v1/public/product-recommendations']: {
|
|
6179
|
+
/**
|
|
6180
|
+
* $productRecommendations - productRecommendations
|
|
6181
|
+
*
|
|
6182
|
+
* Get a list of product recommendations based on the search parameters.
|
|
6183
|
+
*/
|
|
6184
|
+
'post'(
|
|
6185
|
+
parameters?: Parameters<Paths.$ProductRecommendations.HeaderParameters> | null,
|
|
6186
|
+
data?: Paths.$ProductRecommendations.RequestBody,
|
|
6187
|
+
config?: AxiosRequestConfig
|
|
6188
|
+
): OperationResponse<Paths.$ProductRecommendations.Responses.$200>
|
|
6189
|
+
}
|
|
6178
6190
|
['/v1/public/catalog']: {
|
|
6179
6191
|
/**
|
|
6180
6192
|
* $searchCatalog - searchCatalog
|
|
@@ -6343,18 +6355,6 @@ export interface PathsDictionary {
|
|
|
6343
6355
|
config?: AxiosRequestConfig
|
|
6344
6356
|
): OperationResponse<Paths.$DeleteCredentials.Responses.$204>
|
|
6345
6357
|
}
|
|
6346
|
-
['/v1/public/product-recommendations']: {
|
|
6347
|
-
/**
|
|
6348
|
-
* $productRecommendations - productRecommendations
|
|
6349
|
-
*
|
|
6350
|
-
* Get a list of product recommendations based on the search parameters.
|
|
6351
|
-
*/
|
|
6352
|
-
'post'(
|
|
6353
|
-
parameters?: Parameters<Paths.$ProductRecommendations.HeaderParameters> | null,
|
|
6354
|
-
data?: Paths.$ProductRecommendations.RequestBody,
|
|
6355
|
-
config?: AxiosRequestConfig
|
|
6356
|
-
): OperationResponse<Paths.$ProductRecommendations.Responses.$200>
|
|
6357
|
-
}
|
|
6358
6358
|
}
|
|
6359
6359
|
|
|
6360
6360
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
package/dist/openapi.json
CHANGED
|
@@ -1037,6 +1037,138 @@
|
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
1039
|
},
|
|
1040
|
+
"/v1/public/product-recommendations": {
|
|
1041
|
+
"post": {
|
|
1042
|
+
"description": "Get a list of product recommendations based on the search parameters.",
|
|
1043
|
+
"operationId": "$productRecommendations",
|
|
1044
|
+
"summary": "productRecommendations",
|
|
1045
|
+
"security": [
|
|
1046
|
+
{
|
|
1047
|
+
"EpilotPublicAuth": []
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"tags": [
|
|
1051
|
+
"Product Recommendations API"
|
|
1052
|
+
],
|
|
1053
|
+
"parameters": [
|
|
1054
|
+
{
|
|
1055
|
+
"in": "header",
|
|
1056
|
+
"name": "X-Ivy-Org-ID",
|
|
1057
|
+
"description": "The target Organization Id represented by the caller",
|
|
1058
|
+
"example": 739224,
|
|
1059
|
+
"schema": {
|
|
1060
|
+
"type": "string"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"requestBody": {
|
|
1065
|
+
"required": true,
|
|
1066
|
+
"content": {
|
|
1067
|
+
"application/json": {
|
|
1068
|
+
"schema": {
|
|
1069
|
+
"$ref": "#/components/schemas/ProductRecommendationSearch"
|
|
1070
|
+
},
|
|
1071
|
+
"examples": {
|
|
1072
|
+
"Search product recommendations by id": {
|
|
1073
|
+
"value": {
|
|
1074
|
+
"product_recommendation_ids": [
|
|
1075
|
+
"bae8d40a-0093-483a-b4f9-3653800b6781"
|
|
1076
|
+
]
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
"Search product recommendations by source product and price": {
|
|
1080
|
+
"value": {
|
|
1081
|
+
"catalog_item": {
|
|
1082
|
+
"product_id": "aa1ebf85-f36e-46ff-978c-ed948c646f12",
|
|
1083
|
+
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
"Search product recommendations by contract": {
|
|
1088
|
+
"value": {
|
|
1089
|
+
"contract_id": "98ffca40-46ab-4288-af10-a478893b2aa2"
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"responses": {
|
|
1097
|
+
"200": {
|
|
1098
|
+
"description": "The product recommendations result",
|
|
1099
|
+
"content": {
|
|
1100
|
+
"application/json": {
|
|
1101
|
+
"schema": {
|
|
1102
|
+
"$ref": "#/components/schemas/ProductRecommendationResponse"
|
|
1103
|
+
},
|
|
1104
|
+
"examples": {
|
|
1105
|
+
"Product recommendations": {
|
|
1106
|
+
"value": {
|
|
1107
|
+
"hits": 1,
|
|
1108
|
+
"results": [
|
|
1109
|
+
{
|
|
1110
|
+
"_title": "Tarifwechsel 2025",
|
|
1111
|
+
"_created_at": "2025-01-29T15:46:41.014Z",
|
|
1112
|
+
"_updated_at": "2025-01-29T15:46:41.014Z",
|
|
1113
|
+
"name": "Tarifwechsel 2025",
|
|
1114
|
+
"type": "change",
|
|
1115
|
+
"source_product": {
|
|
1116
|
+
"$relation": [
|
|
1117
|
+
{
|
|
1118
|
+
"entity_id": "e2b12b54-d904-42b7-ac44-802d8ebaadf4"
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
1122
|
+
"source_price": {
|
|
1123
|
+
"$relation": [
|
|
1124
|
+
{
|
|
1125
|
+
"entity_id": "255877f3-f9c2-483e-9c71-89088c142bfc"
|
|
1126
|
+
}
|
|
1127
|
+
]
|
|
1128
|
+
},
|
|
1129
|
+
"_schema": "product_recommendation",
|
|
1130
|
+
"offers": [
|
|
1131
|
+
{
|
|
1132
|
+
"target_id": "f9aa8757-505b-46bd-9310-605d64849565",
|
|
1133
|
+
"items": [
|
|
1134
|
+
{
|
|
1135
|
+
"product_id": "70ad8a08-46c2-473b-b1c5-8bccfb85e452",
|
|
1136
|
+
"price_id": "26c9c39d-db4a-4132-af2e-86ab5c7b156c"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"product_id": "dd97a2a4-e48b-43c5-8717-7ac563c67e05",
|
|
1140
|
+
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"product_id": "aa1ebf85-f36e-46ff-978c-ed948c646f12",
|
|
1144
|
+
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
1145
|
+
}
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
1149
|
+
"_id": "6d872912-ef8a-4815-b9db-01744c0828ac",
|
|
1150
|
+
"_org": "739224"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"400": {
|
|
1160
|
+
"description": "Invalid payload",
|
|
1161
|
+
"content": {
|
|
1162
|
+
"application/json": {
|
|
1163
|
+
"schema": {
|
|
1164
|
+
"$ref": "#/components/schemas/Error"
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1040
1172
|
"/v1/public/catalog": {
|
|
1041
1173
|
"post": {
|
|
1042
1174
|
"description": "Provides a querying functionalities over products and prices of the Catalog for a given organization.",
|
|
@@ -2211,138 +2343,6 @@
|
|
|
2211
2343
|
}
|
|
2212
2344
|
}
|
|
2213
2345
|
}
|
|
2214
|
-
},
|
|
2215
|
-
"/v1/public/product-recommendations": {
|
|
2216
|
-
"post": {
|
|
2217
|
-
"description": "Get a list of product recommendations based on the search parameters.",
|
|
2218
|
-
"operationId": "$productRecommendations",
|
|
2219
|
-
"summary": "productRecommendations",
|
|
2220
|
-
"security": [
|
|
2221
|
-
{
|
|
2222
|
-
"EpilotPublicAuth": []
|
|
2223
|
-
}
|
|
2224
|
-
],
|
|
2225
|
-
"tags": [
|
|
2226
|
-
"Product Recommendations API"
|
|
2227
|
-
],
|
|
2228
|
-
"parameters": [
|
|
2229
|
-
{
|
|
2230
|
-
"in": "header",
|
|
2231
|
-
"name": "X-Ivy-Org-ID",
|
|
2232
|
-
"description": "The target Organization Id represented by the caller",
|
|
2233
|
-
"example": 739224,
|
|
2234
|
-
"schema": {
|
|
2235
|
-
"type": "string"
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
],
|
|
2239
|
-
"requestBody": {
|
|
2240
|
-
"required": true,
|
|
2241
|
-
"content": {
|
|
2242
|
-
"application/json": {
|
|
2243
|
-
"schema": {
|
|
2244
|
-
"$ref": "#/components/schemas/ProductRecommendationSearch"
|
|
2245
|
-
},
|
|
2246
|
-
"examples": {
|
|
2247
|
-
"Search product recommendations by id": {
|
|
2248
|
-
"value": {
|
|
2249
|
-
"product_recommendation_ids": [
|
|
2250
|
-
"bae8d40a-0093-483a-b4f9-3653800b6781"
|
|
2251
|
-
]
|
|
2252
|
-
}
|
|
2253
|
-
},
|
|
2254
|
-
"Search product recommendations by source product and price": {
|
|
2255
|
-
"value": {
|
|
2256
|
-
"catalog_item": {
|
|
2257
|
-
"product_id": "aa1ebf85-f36e-46ff-978c-ed948c646f12",
|
|
2258
|
-
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
},
|
|
2262
|
-
"Search product recommendations by contract": {
|
|
2263
|
-
"value": {
|
|
2264
|
-
"contract_id": "98ffca40-46ab-4288-af10-a478893b2aa2"
|
|
2265
|
-
}
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
2270
|
-
},
|
|
2271
|
-
"responses": {
|
|
2272
|
-
"200": {
|
|
2273
|
-
"description": "The product recommendations result",
|
|
2274
|
-
"content": {
|
|
2275
|
-
"application/json": {
|
|
2276
|
-
"schema": {
|
|
2277
|
-
"$ref": "#/components/schemas/ProductRecommendationResponse"
|
|
2278
|
-
},
|
|
2279
|
-
"examples": {
|
|
2280
|
-
"Product recommendations": {
|
|
2281
|
-
"value": {
|
|
2282
|
-
"hits": 1,
|
|
2283
|
-
"results": [
|
|
2284
|
-
{
|
|
2285
|
-
"_title": "Tarifwechsel 2025",
|
|
2286
|
-
"_created_at": "2025-01-29T15:46:41.014Z",
|
|
2287
|
-
"_updated_at": "2025-01-29T15:46:41.014Z",
|
|
2288
|
-
"name": "Tarifwechsel 2025",
|
|
2289
|
-
"type": "change",
|
|
2290
|
-
"source_product": {
|
|
2291
|
-
"$relation": [
|
|
2292
|
-
{
|
|
2293
|
-
"entity_id": "e2b12b54-d904-42b7-ac44-802d8ebaadf4"
|
|
2294
|
-
}
|
|
2295
|
-
]
|
|
2296
|
-
},
|
|
2297
|
-
"source_price": {
|
|
2298
|
-
"$relation": [
|
|
2299
|
-
{
|
|
2300
|
-
"entity_id": "255877f3-f9c2-483e-9c71-89088c142bfc"
|
|
2301
|
-
}
|
|
2302
|
-
]
|
|
2303
|
-
},
|
|
2304
|
-
"_schema": "product_recommendation",
|
|
2305
|
-
"offers": [
|
|
2306
|
-
{
|
|
2307
|
-
"target_id": "f9aa8757-505b-46bd-9310-605d64849565",
|
|
2308
|
-
"items": [
|
|
2309
|
-
{
|
|
2310
|
-
"product_id": "70ad8a08-46c2-473b-b1c5-8bccfb85e452",
|
|
2311
|
-
"price_id": "26c9c39d-db4a-4132-af2e-86ab5c7b156c"
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"product_id": "dd97a2a4-e48b-43c5-8717-7ac563c67e05",
|
|
2315
|
-
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"product_id": "aa1ebf85-f36e-46ff-978c-ed948c646f12",
|
|
2319
|
-
"price_id": "4ecf9a61-a974-4594-bae2-bcb798f54d76"
|
|
2320
|
-
}
|
|
2321
|
-
]
|
|
2322
|
-
}
|
|
2323
|
-
],
|
|
2324
|
-
"_id": "6d872912-ef8a-4815-b9db-01744c0828ac",
|
|
2325
|
-
"_org": "739224"
|
|
2326
|
-
}
|
|
2327
|
-
]
|
|
2328
|
-
}
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
|
-
"400": {
|
|
2335
|
-
"description": "Invalid payload",
|
|
2336
|
-
"content": {
|
|
2337
|
-
"application/json": {
|
|
2338
|
-
"schema": {
|
|
2339
|
-
"$ref": "#/components/schemas/Error"
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
}
|
|
2346
2346
|
}
|
|
2347
2347
|
},
|
|
2348
2348
|
"components": {
|