@@ -155,6 +155,7 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
155155 rIssuingTransactionsCmd := resource.NewResourceCmd(nsIssuingCmd.Cmd, "transactions")
156156 rIssuingTransactionsTestHelpersCmd := resource.NewResourceCmd(rIssuingTransactionsCmd.Cmd, "test_helpers")
157157 rRadarEarlyFraudWarningsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "early_fraud_warnings")
158+ rRadarPaymentEvaluationsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "payment_evaluations")
158159 rRadarValueListItemsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "value_list_items")
159160 rRadarValueListsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "value_lists")
160161 rReportingReportRunsCmd := resource.NewResourceCmd(nsReportingCmd.Cmd, "report_runs")
@@ -1621,14 +1622,15 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
16211622 "cancellation_reason": "string",
16221623 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16231624 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "capture", "/v1/payment_intents/{intent}/capture", http.MethodPost, map[string]string{
1624- "amount_details.discount_amount": "integer",
1625- "amount_to_capture": "integer",
1626- "application_fee_amount": "integer",
1627- "final_capture": "boolean",
1628- "hooks.inputs.tax.calculation": "string",
1629- "statement_descriptor": "string",
1630- "statement_descriptor_suffix": "string",
1631- "transfer_data.amount": "integer",
1625+ "amount_details.discount_amount": "integer",
1626+ "amount_details.enforce_arithmetic_validation": "boolean",
1627+ "amount_to_capture": "integer",
1628+ "application_fee_amount": "integer",
1629+ "final_capture": "boolean",
1630+ "hooks.inputs.tax.calculation": "string",
1631+ "statement_descriptor": "string",
1632+ "statement_descriptor_suffix": "string",
1633+ "transfer_data.amount": "integer",
16321634 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16331635 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "confirm", "/v1/payment_intents/{intent}/confirm", http.MethodPost, map[string]string{
16341636 "capture_method": "string",
@@ -1687,30 +1689,31 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
16871689 "use_stripe_sdk": "boolean",
16881690 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16891691 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "create", "/v1/payment_intents", http.MethodPost, map[string]string{
1690- "amount": "integer",
1691- "amount_details.discount_amount": "integer",
1692- "application_fee_amount": "integer",
1693- "automatic_payment_methods.allow_redirects": "string",
1694- "automatic_payment_methods.enabled": "boolean",
1695- "capture_method": "string",
1696- "confirm": "boolean",
1697- "confirmation_method": "string",
1698- "confirmation_token": "string",
1699- "currency": "string",
1700- "customer": "string",
1701- "customer_account": "string",
1702- "description": "string",
1703- "error_on_requires_action": "boolean",
1704- "excluded_payment_method_types": "array",
1705- "hooks.inputs.tax.calculation": "string",
1706- "mandate": "string",
1707- "off_session": "boolean",
1708- "on_behalf_of": "string",
1709- "payment_details.customer_reference": "string",
1710- "payment_details.order_reference": "string",
1711- "payment_method": "string",
1712- "payment_method_configuration": "string",
1713- "payment_method_data.acss_debit.account_number": "string",
1692+ "amount": "integer",
1693+ "amount_details.discount_amount": "integer",
1694+ "amount_details.enforce_arithmetic_validation": "boolean",
1695+ "application_fee_amount": "integer",
1696+ "automatic_payment_methods.allow_redirects": "string",
1697+ "automatic_payment_methods.enabled": "boolean",
1698+ "capture_method": "string",
1699+ "confirm": "boolean",
1700+ "confirmation_method": "string",
1701+ "confirmation_token": "string",
1702+ "currency": "string",
1703+ "customer": "string",
1704+ "customer_account": "string",
1705+ "description": "string",
1706+ "error_on_requires_action": "boolean",
1707+ "excluded_payment_method_types": "array",
1708+ "hooks.inputs.tax.calculation": "string",
1709+ "mandate": "string",
1710+ "off_session": "boolean",
1711+ "on_behalf_of": "string",
1712+ "payment_details.customer_reference": "string",
1713+ "payment_details.order_reference": "string",
1714+ "payment_method": "string",
1715+ "payment_method_configuration": "string",
1716+ "payment_method_data.acss_debit.account_number": "string",
17141717 "payment_method_data.acss_debit.institution_number": "string",
17151718 "payment_method_data.acss_debit.transit_number": "string",
17161719 "payment_method_data.allow_redisplay": "string",
@@ -1773,15 +1776,16 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
17731776 "use_stripe_sdk": "boolean",
17741777 }, map[string][]spec.StripeEnumValue{}, &Config, false)
17751778 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "increment_authorization", "/v1/payment_intents/{intent}/increment_authorization", http.MethodPost, map[string]string{
1776- "amount": "integer",
1777- "amount_details.discount_amount": "integer",
1778- "application_fee_amount": "integer",
1779- "description": "string",
1780- "hooks.inputs.tax.calculation": "string",
1781- "payment_details.customer_reference": "string",
1782- "payment_details.order_reference": "string",
1783- "statement_descriptor": "string",
1784- "transfer_data.amount": "integer",
1779+ "amount": "integer",
1780+ "amount_details.discount_amount": "integer",
1781+ "amount_details.enforce_arithmetic_validation": "boolean",
1782+ "application_fee_amount": "integer",
1783+ "description": "string",
1784+ "hooks.inputs.tax.calculation": "string",
1785+ "payment_details.customer_reference": "string",
1786+ "payment_details.order_reference": "string",
1787+ "statement_descriptor": "string",
1788+ "transfer_data.amount": "integer",
17851789 }, map[string][]spec.StripeEnumValue{}, &Config, false)
17861790 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "list", "/v1/payment_intents", http.MethodGet, map[string]string{
17871791 "created": "integer",
@@ -4712,6 +4716,39 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
47124716 "starting_after": "string",
47134717 }, map[string][]spec.StripeEnumValue{}, &Config, false)
47144718 resource.NewOperationCmd(rRadarEarlyFraudWarningsCmd.Cmd, "retrieve", "/v1/radar/early_fraud_warnings/{early_fraud_warning}", http.MethodGet, map[string]string{}, map[string][]spec.StripeEnumValue{}, &Config, false)
4719+ resource.NewOperationCmd(rRadarPaymentEvaluationsCmd.Cmd, "create", "/v1/radar/payment_evaluations", http.MethodPost, map[string]string{
4720+ "client_device_metadata_details.radar_session": "string",
4721+ "customer_details.customer": "string",
4722+ "customer_details.customer_account": "string",
4723+ "customer_details.email": "string",
4724+ "customer_details.name": "string",
4725+ "customer_details.phone": "string",
4726+ "payment_details.amount": "integer",
4727+ "payment_details.currency": "string",
4728+ "payment_details.description": "string",
4729+ "payment_details.money_movement_details.card.customer_presence": "string",
4730+ "payment_details.money_movement_details.card.payment_type": "string",
4731+ "payment_details.money_movement_details.money_movement_type": "string",
4732+ "payment_details.payment_method_details.billing_details.address.city": "string",
4733+ "payment_details.payment_method_details.billing_details.address.country": "string",
4734+ "payment_details.payment_method_details.billing_details.address.line1": "string",
4735+ "payment_details.payment_method_details.billing_details.address.line2": "string",
4736+ "payment_details.payment_method_details.billing_details.address.postal_code": "string",
4737+ "payment_details.payment_method_details.billing_details.address.state": "string",
4738+ "payment_details.payment_method_details.billing_details.email": "string",
4739+ "payment_details.payment_method_details.billing_details.name": "string",
4740+ "payment_details.payment_method_details.billing_details.phone": "string",
4741+ "payment_details.payment_method_details.payment_method": "string",
4742+ "payment_details.shipping_details.address.city": "string",
4743+ "payment_details.shipping_details.address.country": "string",
4744+ "payment_details.shipping_details.address.line1": "string",
4745+ "payment_details.shipping_details.address.line2": "string",
4746+ "payment_details.shipping_details.address.postal_code": "string",
4747+ "payment_details.shipping_details.address.state": "string",
4748+ "payment_details.shipping_details.name": "string",
4749+ "payment_details.shipping_details.phone": "string",
4750+ "payment_details.statement_descriptor": "string",
4751+ }, map[string][]spec.StripeEnumValue{}, &Config, false)
47154752 resource.NewOperationCmd(rRadarValueListItemsCmd.Cmd, "create", "/v1/radar/value_list_items", http.MethodPost, map[string]string{
47164753 "value": "string",
47174754 "value_list": "string",
@@ -6025,6 +6062,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
60256062 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
60266063 "identity.business_details.phone": "string",
60276064 "identity.business_details.registered_name": "string",
6065+ "identity.business_details.registration_date.day": "integer",
6066+ "identity.business_details.registration_date.month": "integer",
6067+ "identity.business_details.registration_date.year": "integer",
60286068 "identity.business_details.script_addresses.kana.city": "string",
60296069 "identity.business_details.script_addresses.kana.country": "string",
60306070 "identity.business_details.script_addresses.kana.line1": "string",
@@ -6254,6 +6294,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
62546294 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
62556295 "identity.business_details.phone": "string",
62566296 "identity.business_details.registered_name": "string",
6297+ "identity.business_details.registration_date.day": "integer",
6298+ "identity.business_details.registration_date.month": "integer",
6299+ "identity.business_details.registration_date.year": "integer",
62576300 "identity.business_details.script_addresses.kana.city": "string",
62586301 "identity.business_details.script_addresses.kana.country": "string",
62596302 "identity.business_details.script_addresses.kana.line1": "string",
@@ -6501,6 +6544,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
65016544 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
65026545 "identity.business_details.phone": "string",
65036546 "identity.business_details.registered_name": "string",
6547+ "identity.business_details.registration_date.day": "integer",
6548+ "identity.business_details.registration_date.month": "integer",
6549+ "identity.business_details.registration_date.year": "integer",
65046550 "identity.business_details.script_addresses.kana.city": "string",
65056551 "identity.business_details.script_addresses.kana.country": "string",
65066552 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7075,6 +7121,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
70757121 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
70767122 "identity.business_details.phone": "string",
70777123 "identity.business_details.registered_name": "string",
7124+ "identity.business_details.registration_date.day": "integer",
7125+ "identity.business_details.registration_date.month": "integer",
7126+ "identity.business_details.registration_date.year": "integer",
70787127 "identity.business_details.script_addresses.kana.city": "string",
70797128 "identity.business_details.script_addresses.kana.country": "string",
70807129 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7321,6 +7370,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
73217370 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
73227371 "identity.business_details.phone": "string",
73237372 "identity.business_details.registered_name": "string",
7373+ "identity.business_details.registration_date.day": "integer",
7374+ "identity.business_details.registration_date.month": "integer",
7375+ "identity.business_details.registration_date.year": "integer",
73247376 "identity.business_details.script_addresses.kana.city": "string",
73257377 "identity.business_details.script_addresses.kana.country": "string",
73267378 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7584,6 +7636,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
75847636 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
75857637 "identity.business_details.phone": "string",
75867638 "identity.business_details.registered_name": "string",
7639+ "identity.business_details.registration_date.day": "integer",
7640+ "identity.business_details.registration_date.month": "integer",
7641+ "identity.business_details.registration_date.year": "integer",
75877642 "identity.business_details.script_addresses.kana.city": "string",
75887643 "identity.business_details.script_addresses.kana.country": "string",
75897644 "identity.business_details.script_addresses.kana.line1": "string",
0 commit comments