From 3c0e4fae105f5635fc48324dad91473f2b715171 Mon Sep 17 00:00:00 2001 From: Recurly Integrations Date: Tue, 20 Feb 2024 19:05:22 +0000 Subject: [PATCH] Generated Latest Changes for v2021-02-25 --- lib/recurly/client.php | 4 ++++ openapi/api.yaml | 23 +++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/lib/recurly/client.php b/lib/recurly/client.php index fdff23d2..d9463404 100644 --- a/lib/recurly/client.php +++ b/lib/recurly/client.php @@ -658,6 +658,7 @@ public function listAccountExternalInvoices(string $account_id, array $options = * results correspond to your request. * * Records are returned in an arbitrary order. Since results are all * returned at once you can sort the records yourself. + * - $options['params']['state'] (string): Invoice state. * - $options['params']['limit'] (int): Limit number of records 1-200. * - $options['params']['order'] (string): Sort order. * - $options['params']['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending @@ -1826,6 +1827,7 @@ public function listExternalSubscriptionExternalInvoices(string $external_subscr * results correspond to your request. * * Records are returned in an arbitrary order. Since results are all * returned at once you can sort the records yourself. + * - $options['params']['state'] (string): Invoice state. * - $options['params']['limit'] (int): Limit number of records 1-200. * - $options['params']['order'] (string): Sort order. * - $options['params']['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending @@ -2824,6 +2826,7 @@ public function previewSubscriptionChange(string $subscription_id, array $body, * results correspond to your request. * * Records are returned in an arbitrary order. Since results are all * returned at once you can sort the records yourself. + * - $options['params']['state'] (string): Invoice state. * - $options['params']['limit'] (int): Limit number of records 1-200. * - $options['params']['order'] (string): Sort order. * - $options['params']['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending @@ -3529,6 +3532,7 @@ public function redeemGiftCard(string $redemption_code, array $body, array $opti * results correspond to your request. * * Records are returned in an arbitrary order. Since results are all * returned at once you can sort the records yourself. + * - $options['params']['state'] (string): Invoice state. * - $options['params']['limit'] (int): Limit number of records 1-200. * - $options['params']['order'] (string): Sort order. * - $options['params']['sort'] (string): Sort field. You *really* only want to sort by `updated_at` in ascending diff --git a/openapi/api.yaml b/openapi/api.yaml index 8a8a6784..6e8d8d12 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -3521,6 +3521,7 @@ paths: parameters: - "$ref": "#/components/parameters/account_id" - "$ref": "#/components/parameters/ids" + - "$ref": "#/components/parameters/invoice_state" - "$ref": "#/components/parameters/limit" - "$ref": "#/components/parameters/order" - "$ref": "#/components/parameters/sort_dates" @@ -8110,6 +8111,7 @@ paths: to learn how to use pagination in the API and Client Libraries. parameters: - "$ref": "#/components/parameters/ids" + - "$ref": "#/components/parameters/invoice_state" - "$ref": "#/components/parameters/limit" - "$ref": "#/components/parameters/order" - "$ref": "#/components/parameters/sort_dates" @@ -13909,6 +13911,7 @@ paths: parameters: - "$ref": "#/components/parameters/subscription_id" - "$ref": "#/components/parameters/ids" + - "$ref": "#/components/parameters/invoice_state" - "$ref": "#/components/parameters/limit" - "$ref": "#/components/parameters/order" - "$ref": "#/components/parameters/sort_dates" @@ -16282,6 +16285,7 @@ paths: parameters: - "$ref": "#/components/parameters/business_entity_id" - "$ref": "#/components/parameters/ids" + - "$ref": "#/components/parameters/invoice_state" - "$ref": "#/components/parameters/limit" - "$ref": "#/components/parameters/order" - "$ref": "#/components/parameters/sort_dates" @@ -16455,6 +16459,12 @@ components: required: true schema: type: string + invoice_state: + name: state + in: query + description: Invoice state. + schema: + "$ref": "#/components/schemas/InvoiceStateQueryParamEnum" measured_unit_id: name: measured_unit_id in: path @@ -21069,7 +21079,6 @@ components: title: Ending quantity minimum: 1 maximum: 999999999 - default: description: Ending quantity for the tier. This represents a unit amount for unit-priced add ons. Must be left empty if it is the final tier. usage_percentage: @@ -21106,7 +21115,6 @@ components: title: Ending amount minimum: 0.01 maximum: 9999999999999.99 - default: description: Ending amount for the tier. Allows up to 2 decimal places. Must be left empty if it is the final tier. usage_percentage: @@ -22070,7 +22078,6 @@ components: title: Ending quantity minimum: 1 maximum: 999999999 - default: description: Ending quantity for the tier. This represents a unit amount for unit-priced add ons. Must be left empty if it is the final tier. unit_amount: @@ -22103,7 +22110,6 @@ components: title: Ending amount minimum: 1 maximum: 9999999999999.99 - default: description: Ending amount for the tier. Allows up to 2 decimal places. Must be left empty if it is the final tier. usage_percentage: @@ -25193,6 +25199,7 @@ components: - write_off InvoiceStateEnum: type: string + default: all enum: - open - pending @@ -25202,6 +25209,14 @@ components: - closed - failed - voided + InvoiceStateQueryParamEnum: + type: string + default: all + enum: + - pending + - past_due + - paid + - failed CollectionMethodEnum: type: string enum: