@epilot/pricing-client 3.35.11 → 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 +11 -72
- package/dist/openapi.json +10 -104
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1259,7 +1259,7 @@ declare namespace Components {
|
|
|
1259
1259
|
/**
|
|
1260
1260
|
* The flag for prices that contain price components.
|
|
1261
1261
|
*/
|
|
1262
|
-
is_composite_price
|
|
1262
|
+
is_composite_price?: boolean;
|
|
1263
1263
|
/**
|
|
1264
1264
|
* An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
|
|
1265
1265
|
*/
|
|
@@ -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
|
|
@@ -3444,7 +3383,7 @@ declare namespace Components {
|
|
|
3444
3383
|
/**
|
|
3445
3384
|
* The flag for prices that contain price components.
|
|
3446
3385
|
*/
|
|
3447
|
-
is_composite_price?:
|
|
3386
|
+
is_composite_price?: boolean;
|
|
3448
3387
|
/**
|
|
3449
3388
|
* An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
|
|
3450
3389
|
*/
|
|
@@ -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. */
|
|
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
|
@@ -3914,17 +3914,8 @@
|
|
|
3914
3914
|
},
|
|
3915
3915
|
"total_details": {
|
|
3916
3916
|
"$ref": "#/components/schemas/TotalDetails"
|
|
3917
|
-
},
|
|
3918
|
-
"is_composite_price": {
|
|
3919
|
-
"type": "boolean",
|
|
3920
|
-
"enum": [
|
|
3921
|
-
true
|
|
3922
|
-
]
|
|
3923
3917
|
}
|
|
3924
|
-
}
|
|
3925
|
-
"required": [
|
|
3926
|
-
"is_composite_price"
|
|
3927
|
-
]
|
|
3918
|
+
}
|
|
3928
3919
|
},
|
|
3929
3920
|
"BasePriceItem": {
|
|
3930
3921
|
"description": "Represents a price item",
|
|
@@ -4167,14 +4158,6 @@
|
|
|
4167
4158
|
},
|
|
4168
4159
|
"get_ag": {
|
|
4169
4160
|
"$ref": "#/components/schemas/PriceGetAg"
|
|
4170
|
-
},
|
|
4171
|
-
"is_composite_price": {
|
|
4172
|
-
"nullable": true,
|
|
4173
|
-
"type": "boolean",
|
|
4174
|
-
"enum": [
|
|
4175
|
-
false,
|
|
4176
|
-
null
|
|
4177
|
-
]
|
|
4178
4161
|
}
|
|
4179
4162
|
},
|
|
4180
4163
|
"required": [
|
|
@@ -4393,7 +4376,7 @@
|
|
|
4393
4376
|
"items": {
|
|
4394
4377
|
"type": "array",
|
|
4395
4378
|
"items": {
|
|
4396
|
-
"
|
|
4379
|
+
"anyOf": [
|
|
4397
4380
|
{
|
|
4398
4381
|
"$ref": "#/components/schemas/PriceItem"
|
|
4399
4382
|
},
|
|
@@ -5366,7 +5349,7 @@
|
|
|
5366
5349
|
"results": {
|
|
5367
5350
|
"type": "array",
|
|
5368
5351
|
"items": {
|
|
5369
|
-
"$ref": "#/components/schemas/
|
|
5352
|
+
"$ref": "#/components/schemas/ExternalCatalogItem"
|
|
5370
5353
|
}
|
|
5371
5354
|
}
|
|
5372
5355
|
},
|
|
@@ -5375,97 +5358,20 @@
|
|
|
5375
5358
|
"hits"
|
|
5376
5359
|
]
|
|
5377
5360
|
},
|
|
5378
|
-
"
|
|
5361
|
+
"ExternalCatalogItem": {
|
|
5379
5362
|
"type": "object",
|
|
5380
5363
|
"description": "An external product & price information (already computed) from an external catalog.",
|
|
5381
5364
|
"properties": {
|
|
5382
|
-
"
|
|
5383
|
-
"
|
|
5384
|
-
"description": "The ID of the product in the external catalog."
|
|
5385
|
-
},
|
|
5386
|
-
"name": {
|
|
5387
|
-
"type": "string",
|
|
5388
|
-
"description": "The name of the product."
|
|
5389
|
-
},
|
|
5390
|
-
"description": {
|
|
5391
|
-
"type": "string",
|
|
5392
|
-
"description": "A description of the product."
|
|
5393
|
-
},
|
|
5394
|
-
"features": {
|
|
5395
|
-
"type": "array",
|
|
5396
|
-
"description": "A list of features of the product.",
|
|
5397
|
-
"items": {
|
|
5398
|
-
"type": "string"
|
|
5399
|
-
}
|
|
5400
|
-
},
|
|
5401
|
-
"product_image_urls": {
|
|
5402
|
-
"type": "array",
|
|
5403
|
-
"items": {
|
|
5404
|
-
"type": "string"
|
|
5405
|
-
},
|
|
5406
|
-
"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"
|
|
5407
|
-
},
|
|
5408
|
-
"product_downloads_urls": {
|
|
5409
|
-
"type": "array",
|
|
5410
|
-
"items": {
|
|
5411
|
-
"type": "string"
|
|
5412
|
-
},
|
|
5413
|
-
"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"
|
|
5414
|
-
},
|
|
5415
|
-
"legal_footnotes": {
|
|
5416
|
-
"type": "string",
|
|
5417
|
-
"description": "Legal footnotes for the product."
|
|
5418
|
-
},
|
|
5419
|
-
"additional_notes": {
|
|
5420
|
-
"type": "array",
|
|
5421
|
-
"description": "Additional notes for the product.",
|
|
5422
|
-
"items": {
|
|
5423
|
-
"type": "string"
|
|
5424
|
-
}
|
|
5425
|
-
},
|
|
5426
|
-
"recommendation_settings": {
|
|
5427
|
-
"type": "object",
|
|
5428
|
-
"description": "Recommendation settings for the product.",
|
|
5429
|
-
"properties": {
|
|
5430
|
-
"is_recommended": {
|
|
5431
|
-
"type": "boolean",
|
|
5432
|
-
"description": "Flag to enable or disable the recommendation for this product."
|
|
5433
|
-
},
|
|
5434
|
-
"recommended_label": {
|
|
5435
|
-
"type": "string",
|
|
5436
|
-
"description": "Label to display when the product is recommended."
|
|
5437
|
-
},
|
|
5438
|
-
"recommended_color": {
|
|
5439
|
-
"type": "string",
|
|
5440
|
-
"description": "Color to display when the product is recommended."
|
|
5441
|
-
},
|
|
5442
|
-
"recommended_label_color": {
|
|
5443
|
-
"type": "string",
|
|
5444
|
-
"description": "Color of the recommended label."
|
|
5445
|
-
}
|
|
5446
|
-
},
|
|
5447
|
-
"example": {
|
|
5448
|
-
"is_recommended": true,
|
|
5449
|
-
"recommended_label": "Best Value",
|
|
5450
|
-
"recommended_color": "#00FF00",
|
|
5451
|
-
"recommended_label_color": "#FFFFFF"
|
|
5452
|
-
}
|
|
5365
|
+
"pricing_details": {
|
|
5366
|
+
"$ref": "#/components/schemas/PricingDetails"
|
|
5453
5367
|
},
|
|
5454
|
-
"
|
|
5455
|
-
"
|
|
5456
|
-
{
|
|
5457
|
-
"$ref": "#/components/schemas/ExternalSimplePrice"
|
|
5458
|
-
},
|
|
5459
|
-
{
|
|
5460
|
-
"$ref": "#/components/schemas/ExternalCompositePrice"
|
|
5461
|
-
}
|
|
5462
|
-
]
|
|
5368
|
+
"_meta": {
|
|
5369
|
+
"$ref": "#/components/schemas/SignatureMeta"
|
|
5463
5370
|
}
|
|
5464
5371
|
},
|
|
5465
5372
|
"required": [
|
|
5466
|
-
"
|
|
5467
|
-
"
|
|
5468
|
-
"id"
|
|
5373
|
+
"pricing_details",
|
|
5374
|
+
"_meta"
|
|
5469
5375
|
]
|
|
5470
5376
|
},
|
|
5471
5377
|
"ExternalPriceFees": {
|