@epilot/pricing-client 3.53.0 → 3.53.1
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/definition.js +1 -1
- package/dist/openapi-runtime.json +4 -4
- package/dist/openapi.d.ts +28 -28
- package/dist/openapi.json +6 -6
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={330
|
|
1
|
+
(()=>{"use strict";var e={330(e,r,t){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=i(t(466));r.default=n.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://pricing-api.sls.epilot.io"}],"paths":{"/v1/pricing:compute":{"post":{"operationId":"$calculatePricingDetails","requestBody":{"required":false,"content":{"application/json":{}}},"responses":{}}},"/v1/order":{"post":{"operationId":"createOrder","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/order/{id}":{"put":{"operationId":"putOrder","parameters":[{"in":"path","name":"id","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/cart:checkout":{"post":{"operationId":"$checkoutCart","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/catalog":{"post":{"operationId":"$searchCatalog","parameters":[{"in":"header","name":"X-Ivy-Org-ID"},{"in":"header","name":"Authorization"}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/catalog":{"post":{"operationId":"$privateSearchCatalog","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/validate-promo-codes":{"post":{"operationId":"$validatePromoCodes","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/availability:check":{"post":{"operationId":"$availabilityCheck","parameters":[{"in":"header","name":"X-Ivy-Org-ID","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/validate-availability/{id}":{"get":{"operationId":"$validateAvailabilityFile","parameters":[{"in":"path","name":"id","required":true},{"in":"header","name":"X-Epilot-Org-ID","required":true}],"responses":{}}},"/v1/public/historicMarketPrices":{"get":{"operationId":"$historicMarketPrices","parameters":[{"in":"query","name":"market","required":true},{"in":"query","name":"bidding_zone","required":true},{"in":"query","name":"frequency","required":true},{"in":"query","name":"from","required":true},{"in":"query","name":"to","required":true}],"responses":{}}},"/v1/public/averageMarketPrice":{"get":{"operationId":"$averageMarketPrice","parameters":[{"in":"query","name":"market","required":true},{"in":"query","name":"bidding_zone","required":true},{"in":"query","name":"from","required":true},{"in":"query","name":"to","required":true}],"responses":{}}},"/v1/public/integration/{integrationId}/products":{"post":{"operationId":"$searchExternalProducts","parameters":[{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/integration/{integrationId}/product-recommendations":{"post":{"operationId":"$searchExternalProductRecommendations","parameters":[{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/integration/{integrationId}/providers:search":{"post":{"operationId":"$searchProviders","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/integration/{integrationId}/streets:search":{"post":{"operationId":"$searchStreets","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/integration/{integrationId}/compute-price":{"post":{"operationId":"$computePrice","parameters":[{"in":"header","name":"X-Epilot-Org-ID","required":true},{"in":"path","name":"integrationId","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/integration/{integrationId}/credentials":{"get":{"operationId":"$getCredentials","parameters":[{"in":"path","name":"integrationId","required":true}],"responses":{}}},"/v1/integration/{integrationId}/credentials:save":{"put":{"operationId":"$saveCredentials","parameters":[{"in":"path","name":"integrationId","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/integration/{integrationId}/credentials:delete":{"delete":{"operationId":"$deleteCredentials","parameters":[{"in":"path","name":"integrationId","required":true}],"responses":{}}},"/v1/public/external-catalog/products":{"post":{"operationId":"$getExternalCatalogProducts","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/external-catalog/product-recommendations":{"post":{"operationId":"$getExternalCatalogProductRecommendations","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/public/product-recommendations":{"post":{"operationId":"$productRecommendations","parameters":[{"in":"header","name":"X-Ivy-Org-ID"}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{}}')}},r={},t=function t(i){var n=r[i];if(void 0!==n)return n.exports;var a=r[i]={exports:{}};return e[i].call(a.exports,a,a.exports,t),a.exports}(330),i=exports;for(var n in t)i[n]=t[n];t.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
"responses": {}
|
|
243
243
|
}
|
|
244
244
|
},
|
|
245
|
-
"/v1/public/integration/{integrationId}/
|
|
245
|
+
"/v1/public/integration/{integrationId}/product-recommendations": {
|
|
246
246
|
"post": {
|
|
247
|
-
"operationId": "$
|
|
247
|
+
"operationId": "$searchExternalProductRecommendations",
|
|
248
248
|
"parameters": [
|
|
249
249
|
{
|
|
250
250
|
"in": "path",
|
|
@@ -388,9 +388,9 @@
|
|
|
388
388
|
"responses": {}
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
|
-
"/v1/public/external-catalog/
|
|
391
|
+
"/v1/public/external-catalog/product-recommendations": {
|
|
392
392
|
"post": {
|
|
393
|
-
"operationId": "$
|
|
393
|
+
"operationId": "$getExternalCatalogProductRecommendations",
|
|
394
394
|
"requestBody": {
|
|
395
395
|
"required": true,
|
|
396
396
|
"content": {
|
package/dist/openapi.d.ts
CHANGED
|
@@ -10005,7 +10005,7 @@ declare namespace Paths {
|
|
|
10005
10005
|
export type $404 = Components.Schemas.Error;
|
|
10006
10006
|
}
|
|
10007
10007
|
}
|
|
10008
|
-
namespace $
|
|
10008
|
+
namespace $GetExternalCatalogProductRecommendations {
|
|
10009
10009
|
export type RequestBody = /**
|
|
10010
10010
|
* The request payload for the external catalog service.
|
|
10011
10011
|
* example:
|
|
@@ -10050,12 +10050,12 @@ declare namespace Paths {
|
|
|
10050
10050
|
*/
|
|
10051
10051
|
Components.Schemas.ExternalCatalogRequest;
|
|
10052
10052
|
namespace Responses {
|
|
10053
|
-
export type $200 = Components.Schemas.
|
|
10053
|
+
export type $200 = Components.Schemas.SearchExternalCatalogRecommendationsResult;
|
|
10054
10054
|
export type $400 = Components.Schemas.Error;
|
|
10055
10055
|
export type $403 = Components.Schemas.Error;
|
|
10056
10056
|
}
|
|
10057
10057
|
}
|
|
10058
|
-
namespace $
|
|
10058
|
+
namespace $GetExternalCatalogProducts {
|
|
10059
10059
|
export type RequestBody = /**
|
|
10060
10060
|
* The request payload for the external catalog service.
|
|
10061
10061
|
* example:
|
|
@@ -10100,7 +10100,7 @@ declare namespace Paths {
|
|
|
10100
10100
|
*/
|
|
10101
10101
|
Components.Schemas.ExternalCatalogRequest;
|
|
10102
10102
|
namespace Responses {
|
|
10103
|
-
export type $200 = Components.Schemas.
|
|
10103
|
+
export type $200 = Components.Schemas.SearchExternalCatalogResult;
|
|
10104
10104
|
export type $400 = Components.Schemas.Error;
|
|
10105
10105
|
export type $403 = Components.Schemas.Error;
|
|
10106
10106
|
}
|
|
@@ -10229,7 +10229,7 @@ declare namespace Paths {
|
|
|
10229
10229
|
export type $400 = Components.Schemas.Error;
|
|
10230
10230
|
}
|
|
10231
10231
|
}
|
|
10232
|
-
namespace $
|
|
10232
|
+
namespace $SearchExternalProductRecommendations {
|
|
10233
10233
|
namespace Parameters {
|
|
10234
10234
|
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
10235
10235
|
}
|
|
@@ -10238,12 +10238,12 @@ declare namespace Paths {
|
|
|
10238
10238
|
}
|
|
10239
10239
|
export type RequestBody = Components.Schemas.SearchExternalCatalogParams;
|
|
10240
10240
|
namespace Responses {
|
|
10241
|
-
export type $200 = Components.Schemas.
|
|
10241
|
+
export type $200 = Components.Schemas.SearchExternalCatalogRecommendationsResult;
|
|
10242
10242
|
export type $400 = Components.Schemas.Error;
|
|
10243
10243
|
export type $403 = Components.Schemas.Error;
|
|
10244
10244
|
}
|
|
10245
10245
|
}
|
|
10246
|
-
namespace $
|
|
10246
|
+
namespace $SearchExternalProducts {
|
|
10247
10247
|
namespace Parameters {
|
|
10248
10248
|
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
10249
10249
|
}
|
|
@@ -10252,7 +10252,7 @@ declare namespace Paths {
|
|
|
10252
10252
|
}
|
|
10253
10253
|
export type RequestBody = Components.Schemas.SearchExternalCatalogParams;
|
|
10254
10254
|
namespace Responses {
|
|
10255
|
-
export type $200 = Components.Schemas.
|
|
10255
|
+
export type $200 = Components.Schemas.SearchExternalCatalogResult;
|
|
10256
10256
|
export type $400 = Components.Schemas.Error;
|
|
10257
10257
|
export type $403 = Components.Schemas.Error;
|
|
10258
10258
|
}
|
|
@@ -11618,15 +11618,15 @@ export interface OperationMethods {
|
|
|
11618
11618
|
config?: AxiosRequestConfig
|
|
11619
11619
|
): OperationResponse<Paths.$SearchExternalProducts.Responses.$200>
|
|
11620
11620
|
/**
|
|
11621
|
-
* $
|
|
11621
|
+
* $searchExternalProductRecommendations - searchExternalProductsRecommendation
|
|
11622
11622
|
*
|
|
11623
|
-
* Returns the list of available
|
|
11623
|
+
* Returns the list of available product recommendations with computed prices based on a given context and for a given org integration.
|
|
11624
11624
|
*/
|
|
11625
|
-
'$
|
|
11626
|
-
parameters?: Parameters<Paths.$
|
|
11627
|
-
data?: Paths.$
|
|
11625
|
+
'$searchExternalProductRecommendations'(
|
|
11626
|
+
parameters?: Parameters<Paths.$SearchExternalProductRecommendations.PathParameters> | null,
|
|
11627
|
+
data?: Paths.$SearchExternalProductRecommendations.RequestBody,
|
|
11628
11628
|
config?: AxiosRequestConfig
|
|
11629
|
-
): OperationResponse<Paths.$
|
|
11629
|
+
): OperationResponse<Paths.$SearchExternalProductRecommendations.Responses.$200>
|
|
11630
11630
|
/**
|
|
11631
11631
|
* $searchProviders - searchProviders
|
|
11632
11632
|
*
|
|
@@ -11698,15 +11698,15 @@ export interface OperationMethods {
|
|
|
11698
11698
|
config?: AxiosRequestConfig
|
|
11699
11699
|
): OperationResponse<Paths.$GetExternalCatalogProducts.Responses.$200>
|
|
11700
11700
|
/**
|
|
11701
|
-
* $
|
|
11701
|
+
* $getExternalCatalogProductRecommendations - getExternalCatalogProductRecommendations
|
|
11702
11702
|
*
|
|
11703
11703
|
* Returns the list of available external catalog products recommendations based on a given context
|
|
11704
11704
|
*/
|
|
11705
|
-
'$
|
|
11705
|
+
'$getExternalCatalogProductRecommendations'(
|
|
11706
11706
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
11707
|
-
data?: Paths.$
|
|
11707
|
+
data?: Paths.$GetExternalCatalogProductRecommendations.RequestBody,
|
|
11708
11708
|
config?: AxiosRequestConfig
|
|
11709
|
-
): OperationResponse<Paths.$
|
|
11709
|
+
): OperationResponse<Paths.$GetExternalCatalogProductRecommendations.Responses.$200>
|
|
11710
11710
|
/**
|
|
11711
11711
|
* $productRecommendations - productRecommendations
|
|
11712
11712
|
*
|
|
@@ -11875,17 +11875,17 @@ export interface PathsDictionary {
|
|
|
11875
11875
|
config?: AxiosRequestConfig
|
|
11876
11876
|
): OperationResponse<Paths.$SearchExternalProducts.Responses.$200>
|
|
11877
11877
|
}
|
|
11878
|
-
['/v1/public/integration/{integrationId}/
|
|
11878
|
+
['/v1/public/integration/{integrationId}/product-recommendations']: {
|
|
11879
11879
|
/**
|
|
11880
|
-
* $
|
|
11880
|
+
* $searchExternalProductRecommendations - searchExternalProductsRecommendation
|
|
11881
11881
|
*
|
|
11882
|
-
* Returns the list of available
|
|
11882
|
+
* Returns the list of available product recommendations with computed prices based on a given context and for a given org integration.
|
|
11883
11883
|
*/
|
|
11884
11884
|
'post'(
|
|
11885
|
-
parameters?: Parameters<Paths.$
|
|
11886
|
-
data?: Paths.$
|
|
11885
|
+
parameters?: Parameters<Paths.$SearchExternalProductRecommendations.PathParameters> | null,
|
|
11886
|
+
data?: Paths.$SearchExternalProductRecommendations.RequestBody,
|
|
11887
11887
|
config?: AxiosRequestConfig
|
|
11888
|
-
): OperationResponse<Paths.$
|
|
11888
|
+
): OperationResponse<Paths.$SearchExternalProductRecommendations.Responses.$200>
|
|
11889
11889
|
}
|
|
11890
11890
|
['/v1/public/integration/{integrationId}/providers:search']: {
|
|
11891
11891
|
/**
|
|
@@ -11971,17 +11971,17 @@ export interface PathsDictionary {
|
|
|
11971
11971
|
config?: AxiosRequestConfig
|
|
11972
11972
|
): OperationResponse<Paths.$GetExternalCatalogProducts.Responses.$200>
|
|
11973
11973
|
}
|
|
11974
|
-
['/v1/public/external-catalog/
|
|
11974
|
+
['/v1/public/external-catalog/product-recommendations']: {
|
|
11975
11975
|
/**
|
|
11976
|
-
* $
|
|
11976
|
+
* $getExternalCatalogProductRecommendations - getExternalCatalogProductRecommendations
|
|
11977
11977
|
*
|
|
11978
11978
|
* Returns the list of available external catalog products recommendations based on a given context
|
|
11979
11979
|
*/
|
|
11980
11980
|
'post'(
|
|
11981
11981
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
11982
|
-
data?: Paths.$
|
|
11982
|
+
data?: Paths.$GetExternalCatalogProductRecommendations.RequestBody,
|
|
11983
11983
|
config?: AxiosRequestConfig
|
|
11984
|
-
): OperationResponse<Paths.$
|
|
11984
|
+
): OperationResponse<Paths.$GetExternalCatalogProductRecommendations.Responses.$200>
|
|
11985
11985
|
}
|
|
11986
11986
|
['/v1/public/product-recommendations']: {
|
|
11987
11987
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -1852,10 +1852,10 @@
|
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
1854
|
},
|
|
1855
|
-
"/v1/public/integration/{integrationId}/
|
|
1855
|
+
"/v1/public/integration/{integrationId}/product-recommendations": {
|
|
1856
1856
|
"post": {
|
|
1857
|
-
"description": "Returns the list of available
|
|
1858
|
-
"operationId": "$
|
|
1857
|
+
"description": "Returns the list of available product recommendations with computed prices based on a given context and for a given org integration.",
|
|
1858
|
+
"operationId": "$searchExternalProductRecommendations",
|
|
1859
1859
|
"security": [
|
|
1860
1860
|
{},
|
|
1861
1861
|
{
|
|
@@ -2858,17 +2858,17 @@
|
|
|
2858
2858
|
}
|
|
2859
2859
|
}
|
|
2860
2860
|
},
|
|
2861
|
-
"/v1/public/external-catalog/
|
|
2861
|
+
"/v1/public/external-catalog/product-recommendations": {
|
|
2862
2862
|
"post": {
|
|
2863
2863
|
"description": "Returns the list of available external catalog products recommendations based on a given context",
|
|
2864
|
-
"operationId": "$
|
|
2864
|
+
"operationId": "$getExternalCatalogProductRecommendations",
|
|
2865
2865
|
"security": [
|
|
2866
2866
|
{},
|
|
2867
2867
|
{
|
|
2868
2868
|
"EpilotPublicAuth": []
|
|
2869
2869
|
}
|
|
2870
2870
|
],
|
|
2871
|
-
"summary": "
|
|
2871
|
+
"summary": "getExternalCatalogProductRecommendations",
|
|
2872
2872
|
"tags": [
|
|
2873
2873
|
"External Catalog API"
|
|
2874
2874
|
],
|