@epilot/pricing-client 3.48.2 → 3.48.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/definition.js +1 -1
- package/dist/openapi-runtime.json +20 -0
- package/dist/openapi.d.ts +56 -12
- package/dist/openapi.json +89 -6
- package/package.json +4 -4
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={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}/external-catalog":{"post":{"deprecated":true,"operationId":"$searchExternalCatalog","parameters":[{"in":"path","name":"integrationId","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"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}/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/product-recommendations":{"post":{"operationId":"$productRecommendations","parameters":[{"in":"header","name":"X-Ivy-Org-ID"}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{}}')},757: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 a=i(t(466));r.default=a.default}},r={},t=function t(i){var a=r[i];if(void 0!==a)return a.exports;var n=r[i]={exports:{}};return e[i].call(n.exports,n,n.exports,t),n.exports}(757),i=exports;for(var a in t)i[a]=t[a];t.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
@@ -225,6 +225,7 @@
|
|
|
225
225
|
},
|
|
226
226
|
"/v1/public/integration/{integrationId}/external-catalog": {
|
|
227
227
|
"post": {
|
|
228
|
+
"deprecated": true,
|
|
228
229
|
"operationId": "$searchExternalCatalog",
|
|
229
230
|
"parameters": [
|
|
230
231
|
{
|
|
@@ -242,6 +243,25 @@
|
|
|
242
243
|
"responses": {}
|
|
243
244
|
}
|
|
244
245
|
},
|
|
246
|
+
"/v1/public/integration/{integrationId}/products": {
|
|
247
|
+
"post": {
|
|
248
|
+
"operationId": "$searchExternalProducts",
|
|
249
|
+
"parameters": [
|
|
250
|
+
{
|
|
251
|
+
"in": "path",
|
|
252
|
+
"name": "integrationId",
|
|
253
|
+
"required": true
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"requestBody": {
|
|
257
|
+
"required": true,
|
|
258
|
+
"content": {
|
|
259
|
+
"application/json": {}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"responses": {}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
245
265
|
"/v1/public/integration/{integrationId}/providers:search": {
|
|
246
266
|
"post": {
|
|
247
267
|
"operationId": "$searchProviders",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ declare namespace Components {
|
|
|
392
392
|
*/
|
|
393
393
|
fixed_value?: number;
|
|
394
394
|
/**
|
|
395
|
-
* Use if type is set to fixed. The unit amount in
|
|
395
|
+
* Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.
|
|
396
396
|
*/
|
|
397
397
|
fixed_value_decimal?: string;
|
|
398
398
|
/**
|
|
@@ -650,7 +650,7 @@ declare namespace Components {
|
|
|
650
650
|
*/
|
|
651
651
|
unit_amount?: number;
|
|
652
652
|
/**
|
|
653
|
-
* The unit amount in
|
|
653
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
654
654
|
*/
|
|
655
655
|
unit_amount_decimal?: string;
|
|
656
656
|
/**
|
|
@@ -1630,7 +1630,7 @@ declare namespace Components {
|
|
|
1630
1630
|
*/
|
|
1631
1631
|
unit_amount?: number;
|
|
1632
1632
|
/**
|
|
1633
|
-
* The unit amount in
|
|
1633
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
1634
1634
|
*/
|
|
1635
1635
|
unit_amount_decimal?: string;
|
|
1636
1636
|
/**
|
|
@@ -1773,7 +1773,7 @@ declare namespace Components {
|
|
|
1773
1773
|
*/
|
|
1774
1774
|
fixed_value?: number;
|
|
1775
1775
|
/**
|
|
1776
|
-
* Use if type is set to fixed. The unit amount in
|
|
1776
|
+
* Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.
|
|
1777
1777
|
*/
|
|
1778
1778
|
fixed_value_decimal?: string;
|
|
1779
1779
|
/**
|
|
@@ -2300,7 +2300,7 @@ declare namespace Components {
|
|
|
2300
2300
|
*/
|
|
2301
2301
|
fixed_value?: number;
|
|
2302
2302
|
/**
|
|
2303
|
-
* Use if type is set to fixed. The unit amount in
|
|
2303
|
+
* Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.
|
|
2304
2304
|
*/
|
|
2305
2305
|
fixed_value_decimal?: string;
|
|
2306
2306
|
/**
|
|
@@ -2387,7 +2387,7 @@ declare namespace Components {
|
|
|
2387
2387
|
*/
|
|
2388
2388
|
fixed_value?: number;
|
|
2389
2389
|
/**
|
|
2390
|
-
* Use if type is set to fixed. The unit amount in
|
|
2390
|
+
* Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.
|
|
2391
2391
|
*/
|
|
2392
2392
|
fixed_value_decimal?: string;
|
|
2393
2393
|
/**
|
|
@@ -2452,7 +2452,7 @@ declare namespace Components {
|
|
|
2452
2452
|
*/
|
|
2453
2453
|
fixed_value?: number;
|
|
2454
2454
|
/**
|
|
2455
|
-
* Use if type is set to fixed. The unit amount in
|
|
2455
|
+
* Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.
|
|
2456
2456
|
*/
|
|
2457
2457
|
fixed_value_decimal?: string;
|
|
2458
2458
|
/**
|
|
@@ -2856,7 +2856,7 @@ declare namespace Components {
|
|
|
2856
2856
|
*/
|
|
2857
2857
|
export type IntegrationAuthCredentials = /* The auth credentials for external integrations */ BasicAuthIntegration | OAuthIntegration;
|
|
2858
2858
|
export type IntegrationCredentialsResult = /* The auth credentials for external integrations */ IntegrationAuthCredentials;
|
|
2859
|
-
export type IntegrationId = "getag" | "ikom";
|
|
2859
|
+
export type IntegrationId = "getag" | "ikom" | "external-catalog";
|
|
2860
2860
|
export interface JourneyContext {
|
|
2861
2861
|
/**
|
|
2862
2862
|
* The ID of the journey.
|
|
@@ -2864,6 +2864,12 @@ declare namespace Components {
|
|
|
2864
2864
|
* 8d0a2235-97ce-42d0-88a3-e374634ca44e
|
|
2865
2865
|
*/
|
|
2866
2866
|
journey_id: string;
|
|
2867
|
+
/**
|
|
2868
|
+
* The ID of the entity.
|
|
2869
|
+
* example:
|
|
2870
|
+
* 8d0a2235-97ce-42d0-88a3-e374634ca44e
|
|
2871
|
+
*/
|
|
2872
|
+
entity_id?: string;
|
|
2867
2873
|
/**
|
|
2868
2874
|
* The name of the journey.
|
|
2869
2875
|
* example:
|
|
@@ -3650,7 +3656,7 @@ declare namespace Components {
|
|
|
3650
3656
|
*/
|
|
3651
3657
|
unit_amount?: number;
|
|
3652
3658
|
/**
|
|
3653
|
-
* The unit amount in
|
|
3659
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
3654
3660
|
*/
|
|
3655
3661
|
unit_amount_decimal?: string;
|
|
3656
3662
|
/**
|
|
@@ -4098,7 +4104,7 @@ declare namespace Components {
|
|
|
4098
4104
|
*/
|
|
4099
4105
|
unit_amount?: number;
|
|
4100
4106
|
/**
|
|
4101
|
-
* The unit amount in
|
|
4107
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
4102
4108
|
*/
|
|
4103
4109
|
unit_amount_decimal?: string;
|
|
4104
4110
|
/**
|
|
@@ -4447,7 +4453,7 @@ declare namespace Components {
|
|
|
4447
4453
|
*/
|
|
4448
4454
|
Currency;
|
|
4449
4455
|
/**
|
|
4450
|
-
* The unit amount in
|
|
4456
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
4451
4457
|
*/
|
|
4452
4458
|
unit_amount_decimal?: string;
|
|
4453
4459
|
/**
|
|
@@ -4579,7 +4585,7 @@ declare namespace Components {
|
|
|
4579
4585
|
*/
|
|
4580
4586
|
unit_amount?: number;
|
|
4581
4587
|
/**
|
|
4582
|
-
* The unit amount in
|
|
4588
|
+
* The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.
|
|
4583
4589
|
*/
|
|
4584
4590
|
unit_amount_decimal?: string;
|
|
4585
4591
|
/**
|
|
@@ -5771,6 +5777,20 @@ declare namespace Paths {
|
|
|
5771
5777
|
export type $403 = Components.Schemas.Error;
|
|
5772
5778
|
}
|
|
5773
5779
|
}
|
|
5780
|
+
namespace $SearchExternalProducts {
|
|
5781
|
+
namespace Parameters {
|
|
5782
|
+
export type IntegrationId = Components.Schemas.IntegrationId;
|
|
5783
|
+
}
|
|
5784
|
+
export interface PathParameters {
|
|
5785
|
+
integrationId: Parameters.IntegrationId;
|
|
5786
|
+
}
|
|
5787
|
+
export type RequestBody = Components.Schemas.SearchExternalCatalogParams;
|
|
5788
|
+
namespace Responses {
|
|
5789
|
+
export type $200 = Components.Schemas.SearchExternalCatalogResult;
|
|
5790
|
+
export type $400 = Components.Schemas.Error;
|
|
5791
|
+
export type $403 = Components.Schemas.Error;
|
|
5792
|
+
}
|
|
5793
|
+
}
|
|
5774
5794
|
namespace $SearchProviders {
|
|
5775
5795
|
export interface HeaderParameters {
|
|
5776
5796
|
"X-Epilot-Org-ID": Parameters.XEpilotOrgID;
|
|
@@ -5893,6 +5913,7 @@ declare namespace Paths {
|
|
|
5893
5913
|
}
|
|
5894
5914
|
}
|
|
5895
5915
|
|
|
5916
|
+
|
|
5896
5917
|
export interface OperationMethods {
|
|
5897
5918
|
/**
|
|
5898
5919
|
* $calculatePricingDetails - calculatePricingDetails
|
|
@@ -6025,6 +6046,16 @@ export interface OperationMethods {
|
|
|
6025
6046
|
data?: Paths.$SearchExternalCatalog.RequestBody,
|
|
6026
6047
|
config?: AxiosRequestConfig
|
|
6027
6048
|
): OperationResponse<Paths.$SearchExternalCatalog.Responses.$200>
|
|
6049
|
+
/**
|
|
6050
|
+
* $searchExternalProducts - searchExternalProducts
|
|
6051
|
+
*
|
|
6052
|
+
* Returns the list of available products with computed prices based on a given context and for a given org integration.
|
|
6053
|
+
*/
|
|
6054
|
+
'$searchExternalProducts'(
|
|
6055
|
+
parameters?: Parameters<Paths.$SearchExternalProducts.PathParameters> | null,
|
|
6056
|
+
data?: Paths.$SearchExternalProducts.RequestBody,
|
|
6057
|
+
config?: AxiosRequestConfig
|
|
6058
|
+
): OperationResponse<Paths.$SearchExternalProducts.Responses.$200>
|
|
6028
6059
|
/**
|
|
6029
6060
|
* $searchProviders - searchProviders
|
|
6030
6061
|
*
|
|
@@ -6253,6 +6284,18 @@ export interface PathsDictionary {
|
|
|
6253
6284
|
config?: AxiosRequestConfig
|
|
6254
6285
|
): OperationResponse<Paths.$SearchExternalCatalog.Responses.$200>
|
|
6255
6286
|
}
|
|
6287
|
+
['/v1/public/integration/{integrationId}/products']: {
|
|
6288
|
+
/**
|
|
6289
|
+
* $searchExternalProducts - searchExternalProducts
|
|
6290
|
+
*
|
|
6291
|
+
* Returns the list of available products with computed prices based on a given context and for a given org integration.
|
|
6292
|
+
*/
|
|
6293
|
+
'post'(
|
|
6294
|
+
parameters?: Parameters<Paths.$SearchExternalProducts.PathParameters> | null,
|
|
6295
|
+
data?: Paths.$SearchExternalProducts.RequestBody,
|
|
6296
|
+
config?: AxiosRequestConfig
|
|
6297
|
+
): OperationResponse<Paths.$SearchExternalProducts.Responses.$200>
|
|
6298
|
+
}
|
|
6256
6299
|
['/v1/public/integration/{integrationId}/providers:search']: {
|
|
6257
6300
|
/**
|
|
6258
6301
|
* $searchProviders - searchProviders
|
|
@@ -6341,6 +6384,7 @@ export interface PathsDictionary {
|
|
|
6341
6384
|
|
|
6342
6385
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
6343
6386
|
|
|
6387
|
+
|
|
6344
6388
|
export type Address = Components.Schemas.Address;
|
|
6345
6389
|
export type Amounts = Components.Schemas.Amounts;
|
|
6346
6390
|
export type AvailabilityCheckParams = Components.Schemas.AvailabilityCheckParams;
|
package/dist/openapi.json
CHANGED
|
@@ -384,7 +384,8 @@
|
|
|
384
384
|
"_created_at": "2025-02-24T10:01:24.537Z",
|
|
385
385
|
"_updated_at": "2025-02-24T10:01:24.537Z",
|
|
386
386
|
"percentage_value": "0",
|
|
387
|
-
"_title": "My Custom Discount"
|
|
387
|
+
"_title": "My Custom Discount",
|
|
388
|
+
"_id": "0f8c4852-23fa-4a64-a2f3-88702335f094"
|
|
388
389
|
}
|
|
389
390
|
]
|
|
390
391
|
},
|
|
@@ -1655,6 +1656,7 @@
|
|
|
1655
1656
|
},
|
|
1656
1657
|
"/v1/public/integration/{integrationId}/external-catalog": {
|
|
1657
1658
|
"post": {
|
|
1659
|
+
"deprecated": true,
|
|
1658
1660
|
"description": "Returns the list of available products (including computed prices) based on a given context.",
|
|
1659
1661
|
"operationId": "$searchExternalCatalog",
|
|
1660
1662
|
"security": [
|
|
@@ -1728,6 +1730,81 @@
|
|
|
1728
1730
|
}
|
|
1729
1731
|
}
|
|
1730
1732
|
},
|
|
1733
|
+
"/v1/public/integration/{integrationId}/products": {
|
|
1734
|
+
"post": {
|
|
1735
|
+
"description": "Returns the list of available products with computed prices based on a given context and for a given org integration.",
|
|
1736
|
+
"operationId": "$searchExternalProducts",
|
|
1737
|
+
"security": [
|
|
1738
|
+
{},
|
|
1739
|
+
{
|
|
1740
|
+
"EpilotPublicAuth": []
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
"parameters": [
|
|
1744
|
+
{
|
|
1745
|
+
"in": "path",
|
|
1746
|
+
"name": "integrationId",
|
|
1747
|
+
"description": "The integration identifier",
|
|
1748
|
+
"schema": {
|
|
1749
|
+
"$ref": "#/components/schemas/IntegrationId"
|
|
1750
|
+
},
|
|
1751
|
+
"required": true,
|
|
1752
|
+
"example": "ikom"
|
|
1753
|
+
}
|
|
1754
|
+
],
|
|
1755
|
+
"summary": "searchExternalProducts",
|
|
1756
|
+
"tags": [
|
|
1757
|
+
"External Integrations API"
|
|
1758
|
+
],
|
|
1759
|
+
"requestBody": {
|
|
1760
|
+
"required": true,
|
|
1761
|
+
"content": {
|
|
1762
|
+
"application/json": {
|
|
1763
|
+
"schema": {
|
|
1764
|
+
"$ref": "#/components/schemas/SearchExternalCatalogParams"
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"responses": {
|
|
1770
|
+
"200": {
|
|
1771
|
+
"description": "The available products response payload",
|
|
1772
|
+
"content": {
|
|
1773
|
+
"application/json": {
|
|
1774
|
+
"schema": {
|
|
1775
|
+
"$ref": "#/components/schemas/SearchExternalCatalogResult"
|
|
1776
|
+
},
|
|
1777
|
+
"examples": {
|
|
1778
|
+
"External products": {
|
|
1779
|
+
"$ref": "#/components/examples/external-catalog-sample-1"
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
"400": {
|
|
1786
|
+
"description": "Invalid payload",
|
|
1787
|
+
"content": {
|
|
1788
|
+
"application/json": {
|
|
1789
|
+
"schema": {
|
|
1790
|
+
"$ref": "#/components/schemas/Error"
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
"403": {
|
|
1796
|
+
"description": "Forbidden, no credentials found for the given integration / organization",
|
|
1797
|
+
"content": {
|
|
1798
|
+
"application/json": {
|
|
1799
|
+
"schema": {
|
|
1800
|
+
"$ref": "#/components/schemas/Error"
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1731
1808
|
"/v1/public/integration/{integrationId}/providers:search": {
|
|
1732
1809
|
"post": {
|
|
1733
1810
|
"description": "Returns the list of providers available based on a given location",
|
|
@@ -2364,7 +2441,8 @@
|
|
|
2364
2441
|
"type": "string",
|
|
2365
2442
|
"enum": [
|
|
2366
2443
|
"getag",
|
|
2367
|
-
"ikom"
|
|
2444
|
+
"ikom",
|
|
2445
|
+
"external-catalog"
|
|
2368
2446
|
]
|
|
2369
2447
|
},
|
|
2370
2448
|
"Error": {
|
|
@@ -3061,7 +3139,7 @@
|
|
|
3061
3139
|
"type": "number"
|
|
3062
3140
|
},
|
|
3063
3141
|
"unit_amount_decimal": {
|
|
3064
|
-
"description": "The unit amount in
|
|
3142
|
+
"description": "The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
3065
3143
|
"type": "string"
|
|
3066
3144
|
},
|
|
3067
3145
|
"unit_amount_currency": {
|
|
@@ -4698,7 +4776,7 @@
|
|
|
4698
4776
|
"$ref": "#/components/schemas/Currency"
|
|
4699
4777
|
},
|
|
4700
4778
|
"unit_amount_decimal": {
|
|
4701
|
-
"description": "The unit amount in
|
|
4779
|
+
"description": "The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
4702
4780
|
"type": "string"
|
|
4703
4781
|
},
|
|
4704
4782
|
"is_composite_price": {
|
|
@@ -5119,7 +5197,7 @@
|
|
|
5119
5197
|
"readOnly": true
|
|
5120
5198
|
},
|
|
5121
5199
|
"unit_amount_decimal": {
|
|
5122
|
-
"description": "The unit amount in
|
|
5200
|
+
"description": "The unit amount in eur to be charged, represented as a decimal string with at most 12 decimal places.",
|
|
5123
5201
|
"type": "string",
|
|
5124
5202
|
"readOnly": true
|
|
5125
5203
|
},
|
|
@@ -6241,7 +6319,7 @@
|
|
|
6241
6319
|
"type": "number"
|
|
6242
6320
|
},
|
|
6243
6321
|
"fixed_value_decimal": {
|
|
6244
|
-
"description": "Use if type is set to fixed. The unit amount in
|
|
6322
|
+
"description": "Use if type is set to fixed. The unit amount in eur to be discounted, represented as a decimal string with at most 12 decimal places.",
|
|
6245
6323
|
"type": "string"
|
|
6246
6324
|
},
|
|
6247
6325
|
"fixed_value_currency": {
|
|
@@ -6685,6 +6763,11 @@
|
|
|
6685
6763
|
"description": "The ID of the journey.",
|
|
6686
6764
|
"example": "8d0a2235-97ce-42d0-88a3-e374634ca44e"
|
|
6687
6765
|
},
|
|
6766
|
+
"entity_id": {
|
|
6767
|
+
"type": "string",
|
|
6768
|
+
"description": "The ID of the entity.",
|
|
6769
|
+
"example": "8d0a2235-97ce-42d0-88a3-e374634ca44e"
|
|
6770
|
+
},
|
|
6688
6771
|
"journey_name": {
|
|
6689
6772
|
"type": "string",
|
|
6690
6773
|
"description": "The name of the journey.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "3.48.
|
|
3
|
+
"version": "3.48.4",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
32
32
|
"build:watch": "npm run build && tsc -w",
|
|
33
33
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
34
|
-
"lint": "
|
|
34
|
+
"lint": "pnpm exec eslint src"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"*.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
|
|
54
54
|
"buffer": "^6.0.3",
|
|
55
55
|
"https-browserify": "^1.0.0",
|
|
56
|
-
"openapi-client-axios": "^7.
|
|
56
|
+
"openapi-client-axios": "^7.6.0",
|
|
57
57
|
"stream-http": "^3.1.1",
|
|
58
58
|
"url": "^0.11.0",
|
|
59
59
|
"util": "^0.12.3"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"copy-webpack-plugin": "^7.0.0",
|
|
65
65
|
"jest": "^26.6.3",
|
|
66
66
|
"json-loader": "^0.5.7",
|
|
67
|
-
"openapicmd": "^2.
|
|
67
|
+
"openapicmd": "^2.7.0",
|
|
68
68
|
"ts-jest": "^26.5.0",
|
|
69
69
|
"ts-loader": "^8.0.14",
|
|
70
70
|
"ts-node": "^10.9.1",
|