diff --git a/api/openapi-spec/spec3.sdk.json b/api/openapi-spec/spec3.sdk.json index 97d08e7ec..6f04570f0 100644 --- a/api/openapi-spec/spec3.sdk.json +++ b/api/openapi-spec/spec3.sdk.json @@ -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": { @@ -58170,6 +58170,7 @@ "statement_descriptor", "status", "status_transitions", + "tracking_details", "transaction" ], "title": "TreasuryOutboundPaymentsResourceOutboundPayment", @@ -58510,6 +58511,7 @@ "statement_descriptor", "status", "status_transitions", + "tracking_details", "transaction" ], "title": "TreasuryOutboundTransfersResourceOutboundTransfer", @@ -84073,6 +84075,16 @@ "description": "

Retrieve a list of features

", "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", @@ -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", diff --git a/pkg/cmd/resources_cmds.go b/pkg/cmd/resources_cmds.go index d5799da3f..62c91a80f 100644 --- a/pkg/cmd/resources_cmds.go +++ b/pkg/cmd/resources_cmds.go @@ -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)