@epilot/pricing-client 3.22.1 → 3.22.3

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
@@ -1924,6 +1924,15 @@ declare namespace Components {
1924
1924
  */
1925
1925
  _tags?: string[];
1926
1926
  }
1927
+ export interface PriceGetAg {
1928
+ category: string;
1929
+ markup_amount: number;
1930
+ markup_amount_decimal: string;
1931
+ unit_amount_gross: number;
1932
+ unit_amount_gross_decimal?: string;
1933
+ unit_amount_net: number;
1934
+ unit_amount_net_decimal?: string;
1935
+ }
1927
1936
  /**
1928
1937
  * example:
1929
1938
  * {
@@ -2125,6 +2134,7 @@ declare namespace Components {
2125
2134
  */
2126
2135
  pricing_model: "per_unit" | "tiered_graduated" | "tiered_volume" | "tiered_flatfee" | "external_getag";
2127
2136
  tiers_details?: TierDetails[];
2137
+ get_ag?: PriceGetAg;
2128
2138
  }
2129
2139
  /**
2130
2140
  * Represents a price input to the pricing library.
@@ -3006,6 +3016,7 @@ declare namespace Components {
3006
3016
  amount_total: number;
3007
3017
  amount_subtotal: number;
3008
3018
  amount_tax: number;
3019
+ unit_amount_decimal: string;
3009
3020
  }
3010
3021
  /**
3011
3022
  * The total details with tax (and discount) aggregated totals.
package/dist/openapi.json CHANGED
@@ -3675,6 +3675,9 @@
3675
3675
  "items": {
3676
3676
  "$ref": "#/components/schemas/TierDetails"
3677
3677
  }
3678
+ },
3679
+ "get_ag": {
3680
+ "$ref": "#/components/schemas/PriceGetAg"
3678
3681
  }
3679
3682
  },
3680
3683
  "required": [
@@ -4395,6 +4398,39 @@
4395
4398
  "on_request"
4396
4399
  ]
4397
4400
  },
4401
+ "PriceGetAg": {
4402
+ "type": "object",
4403
+ "properties": {
4404
+ "category": {
4405
+ "type": "string"
4406
+ },
4407
+ "markup_amount": {
4408
+ "type": "number"
4409
+ },
4410
+ "markup_amount_decimal": {
4411
+ "type": "string"
4412
+ },
4413
+ "unit_amount_gross": {
4414
+ "type": "number"
4415
+ },
4416
+ "unit_amount_gross_decimal": {
4417
+ "type": "string"
4418
+ },
4419
+ "unit_amount_net": {
4420
+ "type": "number"
4421
+ },
4422
+ "unit_amount_net_decimal": {
4423
+ "type": "string"
4424
+ }
4425
+ },
4426
+ "required": [
4427
+ "category",
4428
+ "markup_amount",
4429
+ "markup_amount_decimal",
4430
+ "unit_amount_gross",
4431
+ "unit_amount_net"
4432
+ ]
4433
+ },
4398
4434
  "TierDetails": {
4399
4435
  "type": "object",
4400
4436
  "properties": {
@@ -4418,6 +4454,9 @@
4418
4454
  },
4419
4455
  "amount_tax": {
4420
4456
  "type": "number"
4457
+ },
4458
+ "unit_amount_decimal": {
4459
+ "type": "string"
4421
4460
  }
4422
4461
  },
4423
4462
  "required": [
@@ -4427,7 +4466,8 @@
4427
4466
  "unit_amount_net",
4428
4467
  "amount_total",
4429
4468
  "amount_subtotal",
4430
- "amount_tax"
4469
+ "amount_tax",
4470
+ "unit_amount_decimal"
4431
4471
  ]
4432
4472
  }
4433
4473
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.22.1",
3
+ "version": "3.22.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",