@epilot/pricing-client 3.53.1 → 3.53.3

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.
@@ -1 +1 @@
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})})();
1
+ (()=>{"use strict";var e={390:function(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}(390),i=exports;for(var n in t)i[n]=t[n];t.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
package/dist/openapi.d.ts CHANGED
@@ -118,6 +118,14 @@ declare namespace Components {
118
118
  * Total amount before discount is applied as a string with all the decimal places.
119
119
  */
120
120
  before_discount_amount_total_decimal?: string;
121
+ /**
122
+ * Total amount before discount is applied, excluding taxes.
123
+ */
124
+ before_discount_amount_subtotal?: number;
125
+ /**
126
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
127
+ */
128
+ before_discount_amount_subtotal_decimal?: string;
121
129
  }
122
130
  /**
123
131
  * Availability check request payload
@@ -649,6 +657,14 @@ declare namespace Components {
649
657
  * Total amount before discount is applied as a string with all the decimal places.
650
658
  */
651
659
  before_discount_amount_total_decimal?: string;
660
+ /**
661
+ * Total amount before discount is applied, excluding taxes.
662
+ */
663
+ before_discount_amount_subtotal?: number;
664
+ /**
665
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
666
+ */
667
+ before_discount_amount_subtotal_decimal?: string;
652
668
  metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
653
669
  /**
654
670
  * The quantity of products being purchased.
@@ -2837,6 +2853,14 @@ declare namespace Components {
2837
2853
  * Total amount before discount is applied as a string with all the decimal places.
2838
2854
  */
2839
2855
  before_discount_amount_total_decimal?: string;
2856
+ /**
2857
+ * Total amount before discount is applied, excluding taxes.
2858
+ */
2859
+ before_discount_amount_subtotal?: number;
2860
+ /**
2861
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
2862
+ */
2863
+ before_discount_amount_subtotal_decimal?: string;
2840
2864
  metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
2841
2865
  /**
2842
2866
  * The quantity of products being purchased.
@@ -4398,6 +4422,14 @@ declare namespace Components {
4398
4422
  * Total amount before discount is applied as a string with all the decimal places.
4399
4423
  */
4400
4424
  before_discount_amount_total_decimal?: string;
4425
+ /**
4426
+ * Total amount before discount is applied, excluding taxes.
4427
+ */
4428
+ before_discount_amount_subtotal?: number;
4429
+ /**
4430
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
4431
+ */
4432
+ before_discount_amount_subtotal_decimal?: string;
4401
4433
  }
4402
4434
  /**
4403
4435
  * The interval of the tariff if a spot market price is used as base.
@@ -7396,6 +7428,14 @@ declare namespace Components {
7396
7428
  * Total amount before discount is applied as a string with all the decimal places.
7397
7429
  */
7398
7430
  before_discount_amount_total_decimal?: string;
7431
+ /**
7432
+ * Total amount before discount is applied, excluding taxes.
7433
+ */
7434
+ before_discount_amount_subtotal?: number;
7435
+ /**
7436
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
7437
+ */
7438
+ before_discount_amount_subtotal_decimal?: string;
7399
7439
  metadata?: /* A set of key-value pairs used to store meta data information about an entity. */ MetaData;
7400
7440
  /**
7401
7441
  * The quantity of products being purchased.
@@ -9378,6 +9418,14 @@ declare namespace Components {
9378
9418
  * Total amount before discount is applied as a string with all the decimal places.
9379
9419
  */
9380
9420
  before_discount_amount_total_decimal?: string;
9421
+ /**
9422
+ * Total amount before discount is applied, excluding taxes.
9423
+ */
9424
+ before_discount_amount_subtotal?: number;
9425
+ /**
9426
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
9427
+ */
9428
+ before_discount_amount_subtotal_decimal?: string;
9381
9429
  /**
9382
9430
  * The price type.
9383
9431
  */
@@ -9468,6 +9516,14 @@ declare namespace Components {
9468
9516
  * Total amount before discount is applied as a string with all the decimal places.
9469
9517
  */
9470
9518
  before_discount_amount_total_decimal?: string;
9519
+ /**
9520
+ * Total amount before discount is applied, excluding taxes.
9521
+ */
9522
+ before_discount_amount_subtotal?: number;
9523
+ /**
9524
+ * Total amount before discount is applied, excluding taxes, as a string with all the decimal places.
9525
+ */
9526
+ before_discount_amount_subtotal_decimal?: string;
9471
9527
  /**
9472
9528
  * The price type.
9473
9529
  */
@@ -11618,7 +11674,7 @@ export interface OperationMethods {
11618
11674
  config?: AxiosRequestConfig
11619
11675
  ): OperationResponse<Paths.$SearchExternalProducts.Responses.$200>
11620
11676
  /**
11621
- * $searchExternalProductRecommendations - searchExternalProductsRecommendation
11677
+ * $searchExternalProductRecommendations - searchExternalProductRecommendations
11622
11678
  *
11623
11679
  * Returns the list of available product recommendations with computed prices based on a given context and for a given org integration.
11624
11680
  */
@@ -11877,7 +11933,7 @@ export interface PathsDictionary {
11877
11933
  }
11878
11934
  ['/v1/public/integration/{integrationId}/product-recommendations']: {
11879
11935
  /**
11880
- * $searchExternalProductRecommendations - searchExternalProductsRecommendation
11936
+ * $searchExternalProductRecommendations - searchExternalProductRecommendations
11881
11937
  *
11882
11938
  * Returns the list of available product recommendations with computed prices based on a given context and for a given org integration.
11883
11939
  */
package/dist/openapi.json CHANGED
@@ -1874,7 +1874,7 @@
1874
1874
  "example": "external-catalog"
1875
1875
  }
1876
1876
  ],
1877
- "summary": "searchExternalProductsRecommendation",
1877
+ "summary": "searchExternalProductRecommendations",
1878
1878
  "tags": [
1879
1879
  "External Integrations API"
1880
1880
  ],
@@ -7273,6 +7273,16 @@
7273
7273
  "type": "string",
7274
7274
  "description": "Total amount before discount is applied as a string with all the decimal places.",
7275
7275
  "readOnly": true
7276
+ },
7277
+ "before_discount_amount_subtotal": {
7278
+ "type": "integer",
7279
+ "description": "Total amount before discount is applied, excluding taxes.",
7280
+ "readOnly": true
7281
+ },
7282
+ "before_discount_amount_subtotal_decimal": {
7283
+ "type": "string",
7284
+ "description": "Total amount before discount is applied, excluding taxes, as a string with all the decimal places.",
7285
+ "readOnly": true
7276
7286
  }
7277
7287
  }
7278
7288
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.53.1",
3
+ "version": "3.53.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",