@epilot/pricing-client 3.18.1 → 3.18.2
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 +33 -0
- package/dist/openapi.json +56 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2668,6 +2668,35 @@ 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
|
+
/**
|
|
2696
|
+
* The taxes applied to the price item.
|
|
2697
|
+
*/
|
|
2698
|
+
tax?: (/* A tax amount associated with a specific tax rate. */ TaxAmount)[];
|
|
2699
|
+
}
|
|
2671
2700
|
export type SalesTax = "nontaxable" | "reduced" | "standard";
|
|
2672
2701
|
export type SaveIntegrationCredentialsParams = /* The basic auth credentials */ BasicAuthCredentials;
|
|
2673
2702
|
/**
|
|
@@ -2892,6 +2921,10 @@ declare namespace Components {
|
|
|
2892
2921
|
*/
|
|
2893
2922
|
recurrences?: (/* An amount associated with a specific recurrence. */ RecurrenceAmount)[];
|
|
2894
2923
|
};
|
|
2924
|
+
/**
|
|
2925
|
+
* The aggregated price items recurrences by tax rate
|
|
2926
|
+
*/
|
|
2927
|
+
recurrencesByTax?: (/* An amount associated with a specific recurrence. */ RecurrenceAmountWithTax)[];
|
|
2895
2928
|
}
|
|
2896
2929
|
/**
|
|
2897
2930
|
* The availability rule error
|
package/dist/openapi.json
CHANGED
|
@@ -3654,6 +3654,51 @@
|
|
|
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
|
+
"description": "The taxes applied to the price item.",
|
|
3691
|
+
"readOnly": true,
|
|
3692
|
+
"items": {
|
|
3693
|
+
"oneOf": [
|
|
3694
|
+
{
|
|
3695
|
+
"$ref": "#/components/schemas/TaxAmount"
|
|
3696
|
+
}
|
|
3697
|
+
]
|
|
3698
|
+
}
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3701
|
+
},
|
|
3657
3702
|
"TotalDetails": {
|
|
3658
3703
|
"type": "object",
|
|
3659
3704
|
"description": "The total details with tax (and discount) aggregated totals.",
|
|
@@ -3694,6 +3739,17 @@
|
|
|
3694
3739
|
}
|
|
3695
3740
|
}
|
|
3696
3741
|
}
|
|
3742
|
+
},
|
|
3743
|
+
"recurrencesByTax": {
|
|
3744
|
+
"type": "array",
|
|
3745
|
+
"description": "The aggregated price items recurrences by tax rate",
|
|
3746
|
+
"items": {
|
|
3747
|
+
"oneOf": [
|
|
3748
|
+
{
|
|
3749
|
+
"$ref": "#/components/schemas/RecurrenceAmountWithTax"
|
|
3750
|
+
}
|
|
3751
|
+
]
|
|
3752
|
+
}
|
|
3697
3753
|
}
|
|
3698
3754
|
}
|
|
3699
3755
|
},
|