Skip to content

Commit

Permalink
Merge pull request #39 from tremendous-rewards/lm/regen
Browse files Browse the repository at this point in the history
fix: Rename `SingleRewardOrder1*` related schemas to just `SingleRewardOrder*`
  • Loading branch information
lucasmazza authored Sep 25, 2024
2 parents d136711 + 1ecfea4 commit bc7da41
Show file tree
Hide file tree
Showing 25 changed files with 87 additions and 1,772 deletions.
12 changes: 3 additions & 9 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ lib/tremendous/models/channel.rb
lib/tremendous/models/create_api_key200_response.rb
lib/tremendous/models/create_campaign201_response.rb
lib/tremendous/models/create_campaign_request.rb
lib/tremendous/models/create_invoice.rb
lib/tremendous/models/create_invoice200_response.rb
lib/tremendous/models/create_invoice_request.rb
lib/tremendous/models/create_member.rb
Expand All @@ -28,7 +27,6 @@ lib/tremendous/models/create_organization200_response.rb
lib/tremendous/models/create_organization200_response_organization.rb
lib/tremendous/models/create_organization_request.rb
lib/tremendous/models/create_organization_request_copy_settings.rb
lib/tremendous/models/create_public_key.rb
lib/tremendous/models/create_webhook200_response.rb
lib/tremendous/models/create_webhook_request.rb
lib/tremendous/models/currency_codes.rb
Expand Down Expand Up @@ -138,7 +136,6 @@ lib/tremendous/models/organization.rb
lib/tremendous/models/payment_details.rb
lib/tremendous/models/payment_details_refund.rb
lib/tremendous/models/product.rb
lib/tremendous/models/public_key.rb
lib/tremendous/models/recipient.rb
lib/tremendous/models/refund_details.rb
lib/tremendous/models/resend_reward422_response.rb
Expand All @@ -162,15 +159,12 @@ lib/tremendous/models/reward_without_link_delivery.rb
lib/tremendous/models/role.rb
lib/tremendous/models/simulate_webhook_request.rb
lib/tremendous/models/single_reward_order.rb
lib/tremendous/models/single_reward_order1.rb
lib/tremendous/models/single_reward_order1_payment.rb
lib/tremendous/models/single_reward_order1_reward.rb
lib/tremendous/models/single_reward_order1_reward_custom_fields_inner.rb
lib/tremendous/models/single_reward_order1_reward_delivery.rb
lib/tremendous/models/single_reward_order_payment.rb
lib/tremendous/models/single_reward_order_reward.rb
lib/tremendous/models/single_reward_order_reward_custom_fields_inner.rb
lib/tremendous/models/single_reward_order_reward_delivery.rb
lib/tremendous/models/single_reward_order_without_link.rb
lib/tremendous/models/single_reward_order_without_link_order.rb
lib/tremendous/models/test_public_key.rb
lib/tremendous/models/update_campaign.rb
lib/tremendous/models/update_campaign_request.rb
lib/tremendous/models/update_fraud_rule_list200_response.rb
Expand Down
12 changes: 3 additions & 9 deletions lib/tremendous.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
require 'tremendous/models/create_api_key200_response'
require 'tremendous/models/create_campaign201_response'
require 'tremendous/models/create_campaign_request'
require 'tremendous/models/create_invoice'
require 'tremendous/models/create_invoice200_response'
require 'tremendous/models/create_invoice_request'
require 'tremendous/models/create_member'
Expand All @@ -42,7 +41,6 @@
require 'tremendous/models/create_organization200_response_organization'
require 'tremendous/models/create_organization_request'
require 'tremendous/models/create_organization_request_copy_settings'
require 'tremendous/models/create_public_key'
require 'tremendous/models/create_webhook200_response'
require 'tremendous/models/create_webhook_request'
require 'tremendous/models/currency_codes'
Expand Down Expand Up @@ -152,7 +150,6 @@
require 'tremendous/models/payment_details'
require 'tremendous/models/payment_details_refund'
require 'tremendous/models/product'
require 'tremendous/models/public_key'
require 'tremendous/models/recipient'
require 'tremendous/models/refund_details'
require 'tremendous/models/resend_reward422_response'
Expand All @@ -176,15 +173,12 @@
require 'tremendous/models/role'
require 'tremendous/models/simulate_webhook_request'
require 'tremendous/models/single_reward_order'
require 'tremendous/models/single_reward_order1'
require 'tremendous/models/single_reward_order1_payment'
require 'tremendous/models/single_reward_order1_reward'
require 'tremendous/models/single_reward_order1_reward_custom_fields_inner'
require 'tremendous/models/single_reward_order1_reward_delivery'
require 'tremendous/models/single_reward_order_payment'
require 'tremendous/models/single_reward_order_reward'
require 'tremendous/models/single_reward_order_reward_custom_fields_inner'
require 'tremendous/models/single_reward_order_reward_delivery'
require 'tremendous/models/single_reward_order_without_link'
require 'tremendous/models/single_reward_order_without_link_order'
require 'tremendous/models/test_public_key'
require 'tremendous/models/update_campaign'
require 'tremendous/models/update_campaign_request'
require 'tremendous/models/update_fraud_rule_list200_response'
Expand Down
2 changes: 1 addition & 1 deletion lib/tremendous/models/base_order_for_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def self.acceptable_attributes
def self.openapi_types
{
:'external_id' => :'String',
:'payment' => :'SingleRewardOrder1Payment'
:'payment' => :'SingleRewardOrderPayment'
}
end

Expand Down
244 changes: 0 additions & 244 deletions lib/tremendous/models/create_invoice.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/tremendous/models/create_order_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class << self
# List of class defined in oneOf (OpenAPI v3)
def openapi_one_of
[
:'SingleRewardOrder1'
:'SingleRewardOrder'
]
end

Expand Down
Loading

0 comments on commit bc7da41

Please sign in to comment.