@vulog/aima-pricing 1.0.0 → 1.0.1

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/index.d.mts CHANGED
@@ -25,8 +25,8 @@ type PricingParameters = {
25
25
  type Pricing = {
26
26
  pricingId: string;
27
27
  pricingParameters?: Partial<PricingParameters>;
28
- taxRates: PricingTaxRate[];
29
- plans: PricingPlan[];
28
+ taxRates?: PricingTaxRate[];
29
+ plans?: PricingPlan[];
30
30
  taxIncluded: boolean;
31
31
  [key: string]: any;
32
32
  };
package/dist/index.d.ts CHANGED
@@ -25,8 +25,8 @@ type PricingParameters = {
25
25
  type Pricing = {
26
26
  pricingId: string;
27
27
  pricingParameters?: Partial<PricingParameters>;
28
- taxRates: PricingTaxRate[];
29
- plans: PricingPlan[];
28
+ taxRates?: PricingTaxRate[];
29
+ plans?: PricingPlan[];
30
30
  taxIncluded: boolean;
31
31
  [key: string]: any;
32
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-pricing",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -23,8 +23,8 @@ export type PricingParameters = {
23
23
  export type Pricing = {
24
24
  pricingId: string;
25
25
  pricingParameters?: Partial<PricingParameters>;
26
- taxRates: PricingTaxRate[];
27
- plans: PricingPlan[];
26
+ taxRates?: PricingTaxRate[];
27
+ plans?: PricingPlan[];
28
28
  taxIncluded: boolean;
29
29
  [key: string]: any;
30
30
  };