@epilot/pricing-client 3.47.7 → 3.47.9-alpha.0
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 -3
- package/dist/openapi.json +16 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1822,6 +1822,10 @@ declare namespace Components {
|
|
|
1822
1822
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
1823
1823
|
*/
|
|
1824
1824
|
on_request_approved?: boolean;
|
|
1825
|
+
/**
|
|
1826
|
+
* The flag for prices that contain price components.
|
|
1827
|
+
*/
|
|
1828
|
+
is_composite_price?: true;
|
|
1825
1829
|
/**
|
|
1826
1830
|
* Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
|
|
1827
1831
|
*/
|
|
@@ -4097,6 +4101,10 @@ declare namespace Components {
|
|
|
4097
4101
|
* One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
|
|
4098
4102
|
*/
|
|
4099
4103
|
type?: "one_time" | "recurring";
|
|
4104
|
+
/**
|
|
4105
|
+
* The flag for prices that contain price components.
|
|
4106
|
+
*/
|
|
4107
|
+
is_composite_price?: false;
|
|
4100
4108
|
/**
|
|
4101
4109
|
* The price billing period.
|
|
4102
4110
|
*/
|
|
@@ -4520,7 +4528,7 @@ declare namespace Components {
|
|
|
4520
4528
|
_tags?: string[];
|
|
4521
4529
|
};
|
|
4522
4530
|
}
|
|
4523
|
-
export type
|
|
4531
|
+
export type PriceItemDtoUnion = /* Represents a price input to the pricing library. */ PriceItemDto | /* Represents a composite price input to the pricing library. */ CompositePriceItemDto;
|
|
4524
4532
|
/**
|
|
4525
4533
|
* Tracks a set of product prices, quantities, (discounts) and taxes.
|
|
4526
4534
|
*/
|
|
@@ -4542,7 +4550,7 @@ declare namespace Components {
|
|
|
4542
4550
|
/**
|
|
4543
4551
|
* A valid set of product prices, quantities, (discounts) and taxes from a client.
|
|
4544
4552
|
*/
|
|
4545
|
-
export type PriceItemsDto =
|
|
4553
|
+
export type PriceItemsDto = PriceItemDtoUnion[];
|
|
4546
4554
|
export interface PriceTier {
|
|
4547
4555
|
up_to?: number | null;
|
|
4548
4556
|
flat_fee_amount?: number;
|
|
@@ -6293,7 +6301,7 @@ export type PriceInputMapping = Components.Schemas.PriceInputMapping;
|
|
|
6293
6301
|
export type PriceInputMappings = Components.Schemas.PriceInputMappings;
|
|
6294
6302
|
export type PriceItem = Components.Schemas.PriceItem;
|
|
6295
6303
|
export type PriceItemDto = Components.Schemas.PriceItemDto;
|
|
6296
|
-
export type
|
|
6304
|
+
export type PriceItemDtoUnion = Components.Schemas.PriceItemDtoUnion;
|
|
6297
6305
|
export type PriceItems = Components.Schemas.PriceItems;
|
|
6298
6306
|
export type PriceItemsDto = Components.Schemas.PriceItemsDto;
|
|
6299
6307
|
export type PriceTier = Components.Schemas.PriceTier;
|
package/dist/openapi.json
CHANGED
|
@@ -4387,7 +4387,7 @@
|
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
4389
4389
|
},
|
|
4390
|
-
"
|
|
4390
|
+
"PriceItemDtoUnion": {
|
|
4391
4391
|
"anyOf": [
|
|
4392
4392
|
{
|
|
4393
4393
|
"$ref": "#/components/schemas/PriceItemDto"
|
|
@@ -4408,7 +4408,7 @@
|
|
|
4408
4408
|
"description": "A valid set of product prices, quantities, (discounts) and taxes from a client.",
|
|
4409
4409
|
"type": "array",
|
|
4410
4410
|
"items": {
|
|
4411
|
-
"$ref": "#/components/schemas/
|
|
4411
|
+
"$ref": "#/components/schemas/PriceItemDtoUnion"
|
|
4412
4412
|
}
|
|
4413
4413
|
},
|
|
4414
4414
|
"BasePriceItemDto": {
|
|
@@ -4873,6 +4873,13 @@
|
|
|
4873
4873
|
"description": "Represents a composite price input to the pricing library.",
|
|
4874
4874
|
"type": "object",
|
|
4875
4875
|
"properties": {
|
|
4876
|
+
"is_composite_price": {
|
|
4877
|
+
"description": "The flag for prices that contain price components.",
|
|
4878
|
+
"type": "boolean",
|
|
4879
|
+
"enum": [
|
|
4880
|
+
true
|
|
4881
|
+
]
|
|
4882
|
+
},
|
|
4876
4883
|
"item_components": {
|
|
4877
4884
|
"type": "array",
|
|
4878
4885
|
"description": "Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).",
|
|
@@ -5170,6 +5177,13 @@
|
|
|
5170
5177
|
"recurring"
|
|
5171
5178
|
]
|
|
5172
5179
|
},
|
|
5180
|
+
"is_composite_price": {
|
|
5181
|
+
"description": "The flag for prices that contain price components.",
|
|
5182
|
+
"type": "boolean",
|
|
5183
|
+
"enum": [
|
|
5184
|
+
false
|
|
5185
|
+
]
|
|
5186
|
+
},
|
|
5173
5187
|
"billing_period": {
|
|
5174
5188
|
"type": "string",
|
|
5175
5189
|
"description": "The price billing period.",
|