@epilot/pricing-client 3.18.1 → 3.18.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 +30 -0
- package/dist/openapi.json +48 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2668,6 +2668,32 @@ declare namespace Components {
|
|
|
2668
2668
|
*/
|
|
2669
2669
|
amount_tax?: number;
|
|
2670
2670
|
}
|
|
2671
|
+
/**
|
|
2672
|
+
* An amount associated with a specific recurrence.
|
|
2673
|
+
*/
|
|
2674
|
+
export interface RecurrenceAmountWithTax {
|
|
2675
|
+
/**
|
|
2676
|
+
* The price type.
|
|
2677
|
+
*/
|
|
2678
|
+
type?: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* The price billing period.
|
|
2681
|
+
*/
|
|
2682
|
+
billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly";
|
|
2683
|
+
/**
|
|
2684
|
+
* Total amount of items with same recurrence.
|
|
2685
|
+
*/
|
|
2686
|
+
amount_total?: number;
|
|
2687
|
+
/**
|
|
2688
|
+
* Total amount of items with same recurrence, excluding taxes.
|
|
2689
|
+
*/
|
|
2690
|
+
amount_subtotal?: number;
|
|
2691
|
+
/**
|
|
2692
|
+
* Total tax amount of items with same recurrence.
|
|
2693
|
+
*/
|
|
2694
|
+
amount_tax?: number;
|
|
2695
|
+
tax?: /* A tax amount associated with a specific tax rate. */ TaxAmount;
|
|
2696
|
+
}
|
|
2671
2697
|
export type SalesTax = "nontaxable" | "reduced" | "standard";
|
|
2672
2698
|
export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
|
|
2673
2699
|
/**
|
|
@@ -2892,6 +2918,10 @@ declare namespace Components {
|
|
|
2892
2918
|
*/
|
|
2893
2919
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
2894
2920
|
};
|
|
2921
|
+
/**
|
|
2922
|
+
* The aggregated price items recurrences by tax rate
|
|
2923
|
+
*/
|
|
2924
|
+
recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
|
|
2895
2925
|
}
|
|
2896
2926
|
/**
|
|
2897
2927
|
* The availability rule error
|
package/dist/openapi.json
CHANGED
|
@@ -3654,6 +3654,43 @@
|
|
|
3654
3654
|
"amount_total_decimal"
|
|
3655
3655
|
]
|
|
3656
3656
|
},
|
|
3657
|
+
"RecurrenceAmountWithTax": {
|
|
3658
|
+
"type": "object",
|
|
3659
|
+
"description": "An amount associated with a specific recurrence.",
|
|
3660
|
+
"properties": {
|
|
3661
|
+
"type": {
|
|
3662
|
+
"type": "string",
|
|
3663
|
+
"description": "The price type."
|
|
3664
|
+
},
|
|
3665
|
+
"billing_period": {
|
|
3666
|
+
"type": "string",
|
|
3667
|
+
"description": "The price billing period.",
|
|
3668
|
+
"enum": [
|
|
3669
|
+
"weekly",
|
|
3670
|
+
"monthly",
|
|
3671
|
+
"every_quarter",
|
|
3672
|
+
"every_6_months",
|
|
3673
|
+
"yearly"
|
|
3674
|
+
]
|
|
3675
|
+
},
|
|
3676
|
+
"amount_total": {
|
|
3677
|
+
"type": "integer",
|
|
3678
|
+
"description": "Total amount of items with same recurrence."
|
|
3679
|
+
},
|
|
3680
|
+
"amount_subtotal": {
|
|
3681
|
+
"type": "integer",
|
|
3682
|
+
"description": "Total amount of items with same recurrence, excluding taxes."
|
|
3683
|
+
},
|
|
3684
|
+
"amount_tax": {
|
|
3685
|
+
"type": "integer",
|
|
3686
|
+
"description": "Total tax amount of items with same recurrence."
|
|
3687
|
+
},
|
|
3688
|
+
"tax": {
|
|
3689
|
+
"type": "array",
|
|
3690
|
+
"$ref": "#/components/schemas/TaxAmount"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
},
|
|
3657
3694
|
"TotalDetails": {
|
|
3658
3695
|
"type": "object",
|
|
3659
3696
|
"description": "The total details with tax (and discount) aggregated totals.",
|
|
@@ -3694,6 +3731,17 @@
|
|
|
3694
3731
|
}
|
|
3695
3732
|
}
|
|
3696
3733
|
}
|
|
3734
|
+
},
|
|
3735
|
+
"recurrencesByTax": {
|
|
3736
|
+
"type": "array",
|
|
3737
|
+
"description": "The aggregated price items recurrences by tax rate",
|
|
3738
|
+
"items": {
|
|
3739
|
+
"oneOf": [
|
|
3740
|
+
{
|
|
3741
|
+
"$ref": "#/components/schemas/RecurrenceAmountWithTax"
|
|
3742
|
+
}
|
|
3743
|
+
]
|
|
3744
|
+
}
|
|
3697
3745
|
}
|
|
3698
3746
|
}
|
|
3699
3747
|
},
|