Skip to content

Commit 0c7929a

Browse files
authored
Releasing v4.19.0 (#130)
1 parent a8532e4 commit 0c7929a

50 files changed

Lines changed: 2175 additions & 668 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
### v4.19.0 (2026-03-27)
2+
* * *
3+
### New Resources:
4+
- [`Alert`](https://apidocs.chargebee.com/docs/api/alerts) has been added.
5+
- [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses) has been added.
6+
- [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures) has been added.
7+
8+
9+
### New Actions:
10+
- [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
11+
- [`update_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
12+
- [`retrieve_a_quote_signature_signed_pdf`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature-signed-pdf) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
13+
- [`retrieve_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
14+
- [`create_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
15+
- [`refresh_a_quote_signature_link`](https://apidocs.chargebee.com/docs/api/quotes/refresh-a-quote-signature-link) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
16+
17+
18+
### New Attributes:
19+
- [`reference_id`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#reference_id) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
20+
- [`provider_references`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#provider_references) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
21+
- [`created_at`](https://apidocs.chargebee.com/docs/api/unbilled_charges/unbilled-charge-object#created_at) has been added to [`UnbilledCharge`](https://apidocs.chargebee.com/docs/api/unbilled_charges).
22+
23+
24+
### New Parameters:
25+
- [`include_usage_charges`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate#include_usage_charges) has been added as query parameter to [`upcoming_invoices_estimate`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
26+
- [`business_entity_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources#business_entity_id) has been added as request body parameter to [`manage_payment_sources`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
27+
- [`cpq_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status#cpq_quote_signature) has been added as request body parameter to [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
28+
- [`gateway_account_id`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account#gateway_account_id) has been added as request body parameter to [`create_a_virtual_bank_account`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account) in [`VirtualBankAccount`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts).
29+
- [`gateway_account_id`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token#gateway_account_id) has been added as request body parameter to [`create_a_virtual_bank_account_using_permanent_token`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token) in [`VirtualBankAccount`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts).
30+
31+
32+
### New Events:
33+
- [`alert_status_changed`](https://apidocs.chargebee.com/docs/api/events/webhook/alert_status_changed) has been added.
34+
35+
36+
### New Enums:
37+
- `alert_status` has been added as a new value enum `EntityType`.
38+
- `alert_status_changed` has been added as a new value enum `EventType`.
39+
- `pix` has been added as a new value enum `PaymentMethod`.
40+
- `pix` has been added as a new value enum `PaymentMethodType`.
41+
- `pix` and `usage_exceeded` have been added as new values enum `Type`.
42+
- `enabled` and `disabled` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#status) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
43+
- `global` and `subscription` have been added as new values to enum attribute [`scope`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#scope) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
44+
- `draft`, `active`, `signed`, `expired`, `cancelled`, and `declined` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#status) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
45+
- `esign_and_pay`, `esign`, and `pay` have been added as new values to enum attribute [`customer_acceptance_method`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#customer_acceptance_method) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
46+
- `consolidated` and `detailed` have been added as new values to enum attribute [`quote_type`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#quote_type) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
47+
- `pix` has been added as a new value to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
48+
- `pix` has been added as a new value to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
49+
- `pix` has been added as a new value to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
50+
- `pix` has been added as a new value to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
51+
- `expired`, `declined`, `draft`, `active`, `signed`, and `cancelled` have been added as new values to enum request body parameter `cpq_quote_signature.status` in [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) of [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
52+
53+
54+
155
### v4.18.0 (2025-03-03)
256
* * *
357
### PSR-18 / PSR-17 HTTP client injection (backward compatible):

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.18.0
1+
4.19.0

src/Actions/Contracts/CouponActionsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
* not_in?: mixed,
8787
* },
8888
* applicable_item_price_ids?: array{
89-
* in?: mixed,
9089
* is?: mixed,
90+
* in?: mixed,
9191
* },
9292
* } $params Description of the parameters
9393
*

src/Actions/Contracts/EntitlementActionsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
* limit?: int,
1919
* offset?: string,
2020
* feature_id?: array{
21-
* in?: mixed,
2221
* is?: mixed,
22+
* in?: mixed,
2323
* },
2424
* entity_type?: array{
25-
* in?: mixed,
2625
* is?: mixed,
26+
* in?: mixed,
2727
* },
2828
* entity_id?: array{
29-
* in?: mixed,
3029
* is?: mixed,
30+
* in?: mixed,
3131
* },
3232
* include_drafts?: bool,
3333
* embed?: string,

src/Actions/Contracts/EstimateActionsInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ public function updateSubscriptionForItems(array $params, array $headers = []):
531531

532532
/**
533533
* @see https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate?lang=php-v4
534-
*
534+
* @param array{
535+
* include_usage_charges?: bool,
536+
* } $params Description of the parameters
535537
* @param string $id
536538
* @param array<string, string> $headers
537539
* @return UpcomingInvoicesEstimateEstimateResponse
@@ -541,7 +543,7 @@ public function updateSubscriptionForItems(array $params, array $headers = []):
541543
* @throws InvalidRequestException
542544
* @throws Exception
543545
*/
544-
public function upcomingInvoicesEstimate(string $id, array $headers = []): UpcomingInvoicesEstimateEstimateResponse;
546+
public function upcomingInvoicesEstimate(string $id, array $params = [], array $headers = []): UpcomingInvoicesEstimateEstimateResponse;
545547

546548
/**
547549
* @see https://apidocs.chargebee.com/docs/api/estimates/regenerate-invoice-estimate?lang=php-v4

src/Actions/Contracts/ExportActionsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1602,8 +1602,8 @@ public function creditNotes(array $params = [], array $headers = []): CreditNote
16021602
* not_in?: mixed,
16031603
* },
16041604
* applicable_item_price_ids?: array{
1605-
* in?: mixed,
16061605
* is?: mixed,
1606+
* in?: mixed,
16071607
* },
16081608
* } $params Description of the parameters
16091609
*

src/Actions/Contracts/HostedPageActionsInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,8 @@ public function retrieve(string $id, array $headers = []): RetrieveHostedPageRes
742742
* gateway?: string,
743743
* gateway_account_id?: string,
744744
* },
745-
* redirect_url?: string,
745+
* business_entity_id?: string,
746+
* redirect_url?: string,
746747
* } $params Description of the parameters
747748
*
748749
* @param array<string, string> $headers

src/Actions/Contracts/InvoiceActionsInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,13 +1238,13 @@ public function removeTaxWithheld(string $id, array $params, array $headers = []
12381238
* offset?: string,
12391239
* payment_reference_number?: array{
12401240
* number?: array{
1241-
* in?: string,
1242-
* is?: string,
1241+
* is?: string,
1242+
* in?: string,
12431243
* },
12441244
* },
12451245
* id?: array{
1246-
* in?: mixed,
12471246
* is?: mixed,
1247+
* in?: mixed,
12481248
* },
12491249
* } $params Description of the parameters
12501250
*

0 commit comments

Comments
 (0)