Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add invoice state param for v2021-02-25 #322

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7117,6 +7117,7 @@ export declare class Client {
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -8460,6 +8461,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -9887,6 +9889,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -10577,6 +10580,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down
4 changes: 4 additions & 0 deletions lib/recurly/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,7 @@ class Client extends BaseClient {
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -2564,6 +2565,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -4243,6 +4245,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down Expand Up @@ -5113,6 +5116,7 @@ endpoint to obtain only the newly generated `UniqueCouponCodes`.
* * Records are returned in an arbitrary order. Since results are all
* returned at once you can sort the records yourself.
*
* @param {string} options.params.state - Invoice state.
* @param {number} options.params.limit - Limit number of records 1-200.
* @param {string} options.params.order - Sort order.
* @param {string} options.params.sort - Sort field. You *really* only want to sort by `updated_at` in ascending
Expand Down
23 changes: 19 additions & 4 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -25193,6 +25199,7 @@ components:
- write_off
InvoiceStateEnum:
type: string
default: all
enum:
- open
- pending
Expand All @@ -25202,6 +25209,14 @@ components:
- closed
- failed
- voided
InvoiceStateQueryParamEnum:
type: string
default: all
enum:
- pending
- past_due
- paid
- failed
CollectionMethodEnum:
type: string
enum:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading