@epilot/pricing-client 3.35.3-alpha.0 → 3.35.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/openapi.d.ts CHANGED
@@ -1908,7 +1908,8 @@ declare namespace Components {
1908
1908
  _updated_at: string; // date-time
1909
1909
  name: string;
1910
1910
  description?: string;
1911
- type: "fixed" | "percentage";
1911
+ type?: "fixed" | "percentage";
1912
+ category?: "discount" | "bonus";
1912
1913
  /**
1913
1914
  * Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
1914
1915
  */
@@ -2379,6 +2380,10 @@ declare namespace Components {
2379
2380
  *
2380
2381
  */
2381
2382
  variable_price?: boolean;
2383
+ /**
2384
+ * The name of the price.
2385
+ */
2386
+ name?: string;
2382
2387
  /**
2383
2388
  * The unit of measurement used for display purposes and possibly for calculations when the price is variable.
2384
2389
  * example:
package/dist/openapi.json CHANGED
@@ -4858,7 +4858,6 @@
4858
4858
  "additionalProperties": true,
4859
4859
  "required": [
4860
4860
  "name",
4861
- "type",
4862
4861
  "_id",
4863
4862
  "_title",
4864
4863
  "_org",
@@ -4920,6 +4919,13 @@
4920
4919
  "percentage"
4921
4920
  ]
4922
4921
  },
4922
+ "category": {
4923
+ "type": "string",
4924
+ "enum": [
4925
+ "discount",
4926
+ "bonus"
4927
+ ]
4928
+ },
4923
4929
  "percentage_value": {
4924
4930
  "type": "string",
4925
4931
  "description": "Use if type is set to percentage. The percentage to be discounted, represented as a whole integer."
@@ -5490,6 +5496,10 @@
5490
5496
  "type": "boolean",
5491
5497
  "description": "A flag to indicate if the price is variable.\n"
5492
5498
  },
5499
+ "name": {
5500
+ "type": "string",
5501
+ "description": "The name of the price."
5502
+ },
5493
5503
  "unit": {
5494
5504
  "description": "The unit of measurement used for display purposes and possibly for calculations when the price is variable.",
5495
5505
  "type": "string",
@@ -7197,9 +7207,11 @@
7197
7207
  ],
7198
7208
  "legal_footnotes": "Installation and permitting fees may vary by location.",
7199
7209
  "price": {
7210
+ "name": "Home Energy Package",
7200
7211
  "is_composite_price": true,
7201
7212
  "price_components": [
7202
7213
  {
7214
+ "name": "Working Price",
7203
7215
  "type": "recurring",
7204
7216
  "billing_period": "monthly",
7205
7217
  "variable_price": true,
@@ -7217,6 +7229,7 @@
7217
7229
  }
7218
7230
  },
7219
7231
  {
7232
+ "name": "Base Price",
7220
7233
  "type": "one_time",
7221
7234
  "unit_amount_net_decimal": "99",
7222
7235
  "unit_amount_gross_decimal": "99",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.3-alpha.0",
3
+ "version": "3.35.4",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",