@epilot/pricing-client 3.35.12 → 3.35.13

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 CHANGED
@@ -2075,6 +2075,13 @@ declare namespace Components {
2075
2075
  */
2076
2076
  cause?: string;
2077
2077
  }
2078
+ /**
2079
+ * An external product & price information (already computed) from an external catalog.
2080
+ */
2081
+ export interface ExternalCatalogItem {
2082
+ pricing_details: /* The result from the calculation of a set of price items. */ PricingDetails;
2083
+ _meta: /* Signature meta data payload */ SignatureMeta;
2084
+ }
2078
2085
  export interface ExternalCompositePrice {
2079
2086
  /**
2080
2087
  * Fees structure with static and variable amounts
@@ -2323,74 +2330,6 @@ declare namespace Components {
2323
2330
  }[];
2324
2331
  };
2325
2332
  }
2326
- /**
2327
- * An external product & price information (already computed) from an external catalog.
2328
- */
2329
- export interface ExternalProduct {
2330
- /**
2331
- * The ID of the product in the external catalog.
2332
- */
2333
- id: string;
2334
- /**
2335
- * The name of the product.
2336
- */
2337
- name: string;
2338
- /**
2339
- * A description of the product.
2340
- */
2341
- description?: string;
2342
- /**
2343
- * A list of features of the product.
2344
- */
2345
- features?: string[];
2346
- /**
2347
- * A list of image URLs of the product. RECOMMENDED: Store files in Epilot for advantages such as resizing, versioning, easy access, and maintenance.
2348
- *
2349
- */
2350
- product_image_urls?: string[];
2351
- /**
2352
- * A list of file/attachment URLs of the product RECOMMENDED: Store files in Epilot for advantages such as resizing, versioning, easy access, and maintenance.
2353
- *
2354
- */
2355
- product_downloads_urls?: string[];
2356
- /**
2357
- * Legal footnotes for the product.
2358
- */
2359
- legal_footnotes?: string;
2360
- /**
2361
- * Additional notes for the product.
2362
- */
2363
- additional_notes?: string[];
2364
- /**
2365
- * Recommendation settings for the product.
2366
- * example:
2367
- * {
2368
- * "is_recommended": true,
2369
- * "recommended_label": "Best Value",
2370
- * "recommended_color": "#00FF00",
2371
- * "recommended_label_color": "#FFFFFF"
2372
- * }
2373
- */
2374
- recommendation_settings?: {
2375
- /**
2376
- * Flag to enable or disable the recommendation for this product.
2377
- */
2378
- is_recommended?: boolean;
2379
- /**
2380
- * Label to display when the product is recommended.
2381
- */
2382
- recommended_label?: string;
2383
- /**
2384
- * Color to display when the product is recommended.
2385
- */
2386
- recommended_color?: string;
2387
- /**
2388
- * Color of the recommended label.
2389
- */
2390
- recommended_label_color?: string;
2391
- };
2392
- price: ExternalSimplePrice | ExternalCompositePrice;
2393
- }
2394
2333
  export interface ExternalSimplePrice {
2395
2334
  /**
2396
2335
  * Fees structure with static and variable amounts
@@ -4558,7 +4497,7 @@ declare namespace Components {
4558
4497
  * The number os results returned.
4559
4498
  */
4560
4499
  hits: number;
4561
- results: /* An external product & price information (already computed) from an external catalog. */ ExternalProduct[];
4500
+ results: /* An external product & price information (already computed) from an external catalog. */ ExternalCatalogItem[];
4562
4501
  }
4563
4502
  /**
4564
4503
  * A search providers payload
@@ -5556,13 +5495,13 @@ export type EntityId = Components.Schemas.EntityId;
5556
5495
  export type EntityItem = Components.Schemas.EntityItem;
5557
5496
  export type EntityRelation = Components.Schemas.EntityRelation;
5558
5497
  export type Error = Components.Schemas.Error;
5498
+ export type ExternalCatalogItem = Components.Schemas.ExternalCatalogItem;
5559
5499
  export type ExternalCompositePrice = Components.Schemas.ExternalCompositePrice;
5560
5500
  export type ExternalFeeMapping = Components.Schemas.ExternalFeeMapping;
5561
5501
  export type ExternalFeeMappings = Components.Schemas.ExternalFeeMappings;
5562
5502
  export type ExternalFeeMetadata = Components.Schemas.ExternalFeeMetadata;
5563
5503
  export type ExternalPriceFees = Components.Schemas.ExternalPriceFees;
5564
5504
  export type ExternalPriceTotalDetails = Components.Schemas.ExternalPriceTotalDetails;
5565
- export type ExternalProduct = Components.Schemas.ExternalProduct;
5566
5505
  export type ExternalSimplePrice = Components.Schemas.ExternalSimplePrice;
5567
5506
  export type File = Components.Schemas.File;
5568
5507
  export type GasConcessionType = Components.Schemas.GasConcessionType;
package/dist/openapi.json CHANGED
@@ -5349,7 +5349,7 @@
5349
5349
  "results": {
5350
5350
  "type": "array",
5351
5351
  "items": {
5352
- "$ref": "#/components/schemas/ExternalProduct"
5352
+ "$ref": "#/components/schemas/ExternalCatalogItem"
5353
5353
  }
5354
5354
  }
5355
5355
  },
@@ -5358,97 +5358,20 @@
5358
5358
  "hits"
5359
5359
  ]
5360
5360
  },
5361
- "ExternalProduct": {
5361
+ "ExternalCatalogItem": {
5362
5362
  "type": "object",
5363
5363
  "description": "An external product & price information (already computed) from an external catalog.",
5364
5364
  "properties": {
5365
- "id": {
5366
- "type": "string",
5367
- "description": "The ID of the product in the external catalog."
5368
- },
5369
- "name": {
5370
- "type": "string",
5371
- "description": "The name of the product."
5372
- },
5373
- "description": {
5374
- "type": "string",
5375
- "description": "A description of the product."
5376
- },
5377
- "features": {
5378
- "type": "array",
5379
- "description": "A list of features of the product.",
5380
- "items": {
5381
- "type": "string"
5382
- }
5383
- },
5384
- "product_image_urls": {
5385
- "type": "array",
5386
- "items": {
5387
- "type": "string"
5388
- },
5389
- "description": "A list of image URLs of the product. RECOMMENDED: Store files in Epilot for advantages such as resizing, versioning, easy access, and maintenance.\n"
5390
- },
5391
- "product_downloads_urls": {
5392
- "type": "array",
5393
- "items": {
5394
- "type": "string"
5395
- },
5396
- "description": "A list of file/attachment URLs of the product RECOMMENDED: Store files in Epilot for advantages such as resizing, versioning, easy access, and maintenance.\n"
5397
- },
5398
- "legal_footnotes": {
5399
- "type": "string",
5400
- "description": "Legal footnotes for the product."
5401
- },
5402
- "additional_notes": {
5403
- "type": "array",
5404
- "description": "Additional notes for the product.",
5405
- "items": {
5406
- "type": "string"
5407
- }
5408
- },
5409
- "recommendation_settings": {
5410
- "type": "object",
5411
- "description": "Recommendation settings for the product.",
5412
- "properties": {
5413
- "is_recommended": {
5414
- "type": "boolean",
5415
- "description": "Flag to enable or disable the recommendation for this product."
5416
- },
5417
- "recommended_label": {
5418
- "type": "string",
5419
- "description": "Label to display when the product is recommended."
5420
- },
5421
- "recommended_color": {
5422
- "type": "string",
5423
- "description": "Color to display when the product is recommended."
5424
- },
5425
- "recommended_label_color": {
5426
- "type": "string",
5427
- "description": "Color of the recommended label."
5428
- }
5429
- },
5430
- "example": {
5431
- "is_recommended": true,
5432
- "recommended_label": "Best Value",
5433
- "recommended_color": "#00FF00",
5434
- "recommended_label_color": "#FFFFFF"
5435
- }
5365
+ "pricing_details": {
5366
+ "$ref": "#/components/schemas/PricingDetails"
5436
5367
  },
5437
- "price": {
5438
- "oneOf": [
5439
- {
5440
- "$ref": "#/components/schemas/ExternalSimplePrice"
5441
- },
5442
- {
5443
- "$ref": "#/components/schemas/ExternalCompositePrice"
5444
- }
5445
- ]
5368
+ "_meta": {
5369
+ "$ref": "#/components/schemas/SignatureMeta"
5446
5370
  }
5447
5371
  },
5448
5372
  "required": [
5449
- "price",
5450
- "name",
5451
- "id"
5373
+ "pricing_details",
5374
+ "_meta"
5452
5375
  ]
5453
5376
  },
5454
5377
  "ExternalPriceFees": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.12",
3
+ "version": "3.35.13",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",