Skip to content

Commit

Permalink
Update OpenAPI for b755cd0a3272eb6f3eb4c5c0b357f1dee6097284 (#1181)
Browse files Browse the repository at this point in the history
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored May 10, 2024
1 parent c6d13af commit a89eddd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 24 additions & 1 deletion api/openapi-spec/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -18445,7 +18445,7 @@
"type": "integer"
},
"attempt_count": {
"description": "Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule.",
"description": "Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained.",
"type": "integer"
},
"attempted": {
Expand Down Expand Up @@ -58170,6 +58170,7 @@
"statement_descriptor",
"status",
"status_transitions",
"tracking_details",
"transaction"
],
"title": "TreasuryOutboundPaymentsResourceOutboundPayment",
Expand Down Expand Up @@ -58510,6 +58511,7 @@
"statement_descriptor",
"status",
"status_transitions",
"tracking_details",
"transaction"
],
"title": "TreasuryOutboundTransfersResourceOutboundTransfer",
Expand Down Expand Up @@ -84073,6 +84075,16 @@
"description": "<p>Retrieve a list of features</p>",
"operationId": "GetEntitlementsFeatures",
"parameters": [
{
"description": "If set, filter results to only include features with the given archive status.",
"in": "query",
"name": "archived",
"required": false,
"schema": {
"type": "boolean"
},
"style": "form"
},
{
"description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.",
"in": "query",
Expand Down Expand Up @@ -84109,6 +84121,17 @@
},
"style": "form"
},
{
"description": "If set, filter results to only include features with the given lookup_key.",
"in": "query",
"name": "lookup_key",
"required": false,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "form"
},
{
"description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.",
"in": "query",
Expand Down
2 changes: 2 additions & 0 deletions pkg/cmd/resources_cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -3487,8 +3487,10 @@ func addAllResourcesCmds(rootCmd *cobra.Command) {
"name": "string",
}, &Config)
resource.NewOperationCmd(rEntitlementsFeaturesCmd.Cmd, "list", "/v1/entitlements/features", http.MethodGet, map[string]string{
"archived": "boolean",
"ending_before": "string",
"limit": "integer",
"lookup_key": "string",
"starting_after": "string",
}, &Config)
resource.NewOperationCmd(rEntitlementsFeaturesCmd.Cmd, "retrieve", "/v1/entitlements/features/{id}", http.MethodGet, map[string]string{}, &Config)
Expand Down

0 comments on commit a89eddd

Please sign in to comment.