Skip to content

Commit

Permalink
a lot of tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmazza committed Mar 26, 2024
1 parent dee8826 commit f901255
Show file tree
Hide file tree
Showing 290 changed files with 5,524 additions and 10,266 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ updates:
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "tremendous-rewards/platform"

- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "tremendous-rewards/platform"
2 changes: 2 additions & 0 deletions .github/workflows/check-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: install-yq
run: sudo apt-get install -y yq
- id: check-update
run: ./bin/check-updates

Expand Down
168 changes: 134 additions & 34 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
.gitlab-ci.yml
.travis.yml
docs/BalanceTransaction.md
docs/BalanceTransactionsApi.md
docs/Campaign.md
docs/CampaignsApi.md
docs/CreateApiKey200Response.md
docs/CreateInvoice.md
docs/CreateInvoice200Response.md
Expand Down Expand Up @@ -35,9 +33,7 @@ docs/DeliveryMethod.md
docs/DeliveryStatus.md
docs/ErrorModel.md
docs/Field.md
docs/FieldsApi.md
docs/FundingSource.md
docs/FundingSourcesApi.md
docs/GenerateRewardLink200Response.md
docs/GenerateRewardLink200ResponseReward.md
docs/GenerateRewardLink403Response.md
Expand All @@ -49,10 +45,9 @@ docs/GetMember200Response.md
docs/GetMember200ResponseMember.md
docs/GetMember200ResponseMemberEventsInner.md
docs/GetOrganization200Response.md
docs/GetProduct200Response.md
docs/GetProductResponse.md
docs/GetReward200Response.md
docs/Invoice.md
docs/InvoicesApi.md
docs/ListBalanceTransactions200Response.md
docs/ListBalanceTransactions200ResponseInvoicesInner.md
docs/ListCampaigns200Response.md
Expand All @@ -72,11 +67,11 @@ docs/ListOrders200ResponseOrdersInnerPayment.md
docs/ListOrders200ResponseOrdersInnerPaymentRefund.md
docs/ListOrganizations200Response.md
docs/ListOrganizations200ResponseOrganizationsInner.md
docs/ListProducts200Response.md
docs/ListProducts200ResponseProductsInner.md
docs/ListProducts200ResponseProductsInnerCountriesInner.md
docs/ListProducts200ResponseProductsInnerImagesInner.md
docs/ListProducts200ResponseProductsInnerSkusInner.md
docs/ListProductsResponse.md
docs/ListProductsResponseProductsInner.md
docs/ListProductsResponseProductsInnerCountriesInner.md
docs/ListProductsResponseProductsInnerImagesInner.md
docs/ListProductsResponseProductsInnerSkusInner.md
docs/ListRewards200Response.md
docs/ListRewards200ResponseRewardsInner.md
docs/ListRewards200ResponseRewardsInnerCustomFieldsInner.md
Expand All @@ -93,7 +88,6 @@ docs/Member.md
docs/MemberBase.md
docs/MemberWithEvents.md
docs/MemberWithoutEvents.md
docs/MembersApi.md
docs/Order.md
docs/OrderBase.md
docs/OrderBasePayment.md
Expand All @@ -104,13 +98,10 @@ docs/OrderWithLink.md
docs/OrderWithLinkRewardsInner.md
docs/OrderWithoutLink.md
docs/OrderWithoutLinkReward.md
docs/OrdersApi.md
docs/Organization.md
docs/OrganizationsApi.md
docs/PaymentDetails.md
docs/PaymentDetailsRefund.md
docs/Product.md
docs/ProductsApi.md
docs/Recipient.md
docs/RefundDetails.md
docs/ResendReward422Response.md
Expand All @@ -125,24 +116,13 @@ docs/RewardWithLink.md
docs/RewardWithLinkDelivery.md
docs/RewardWithoutLink.md
docs/RewardWithoutLinkDelivery.md
docs/RewardsApi.md
docs/SimulateWebhookRequest.md
docs/TremendousApi.md
docs/Webhook.md
docs/WebhookPost.md
docs/WebhooksApi.md
git_push.sh
lib/tremendous.rb
lib/tremendous/api/balance_transactions_api.rb
lib/tremendous/api/campaigns_api.rb
lib/tremendous/api/fields_api.rb
lib/tremendous/api/funding_sources_api.rb
lib/tremendous/api/invoices_api.rb
lib/tremendous/api/members_api.rb
lib/tremendous/api/orders_api.rb
lib/tremendous/api/organizations_api.rb
lib/tremendous/api/products_api.rb
lib/tremendous/api/rewards_api.rb
lib/tremendous/api/webhooks_api.rb
lib/tremendous/api/tremendous_api.rb
lib/tremendous/api_client.rb
lib/tremendous/api_error.rb
lib/tremendous/configuration.rb
Expand Down Expand Up @@ -191,7 +171,7 @@ lib/tremendous/models/get_member200_response.rb
lib/tremendous/models/get_member200_response_member.rb
lib/tremendous/models/get_member200_response_member_events_inner.rb
lib/tremendous/models/get_organization200_response.rb
lib/tremendous/models/get_product200_response.rb
lib/tremendous/models/get_product_response.rb
lib/tremendous/models/get_reward200_response.rb
lib/tremendous/models/invoice.rb
lib/tremendous/models/list_balance_transactions200_response.rb
Expand All @@ -213,11 +193,11 @@ lib/tremendous/models/list_orders200_response_orders_inner_payment.rb
lib/tremendous/models/list_orders200_response_orders_inner_payment_refund.rb
lib/tremendous/models/list_organizations200_response.rb
lib/tremendous/models/list_organizations200_response_organizations_inner.rb
lib/tremendous/models/list_products200_response.rb
lib/tremendous/models/list_products200_response_products_inner.rb
lib/tremendous/models/list_products200_response_products_inner_countries_inner.rb
lib/tremendous/models/list_products200_response_products_inner_images_inner.rb
lib/tremendous/models/list_products200_response_products_inner_skus_inner.rb
lib/tremendous/models/list_products_response.rb
lib/tremendous/models/list_products_response_products_inner.rb
lib/tremendous/models/list_products_response_products_inner_countries_inner.rb
lib/tremendous/models/list_products_response_products_inner_images_inner.rb
lib/tremendous/models/list_products_response_products_inner_skus_inner.rb
lib/tremendous/models/list_rewards200_response.rb
lib/tremendous/models/list_rewards200_response_rewards_inner.rb
lib/tremendous/models/list_rewards200_response_rewards_inner_custom_fields_inner.rb
Expand Down Expand Up @@ -265,4 +245,124 @@ lib/tremendous/models/reward_without_link_delivery.rb
lib/tremendous/models/simulate_webhook_request.rb
lib/tremendous/models/webhook.rb
lib/tremendous/models/webhook_post.rb
spec/api/tremendous_api_spec.rb
spec/models/balance_transaction_spec.rb
spec/models/campaign_spec.rb
spec/models/create_api_key200_response_spec.rb
spec/models/create_invoice200_response_spec.rb
spec/models/create_invoice_request_spec.rb
spec/models/create_invoice_spec.rb
spec/models/create_member200_response_spec.rb
spec/models/create_member_request_spec.rb
spec/models/create_member_spec.rb
spec/models/create_order200_response_order_rewards_inner_delivery_spec.rb
spec/models/create_order200_response_order_rewards_inner_spec.rb
spec/models/create_order200_response_order_spec.rb
spec/models/create_order200_response_spec.rb
spec/models/create_order201_response_spec.rb
spec/models/create_order_request_payment_spec.rb
spec/models/create_order_request_reward_delivery_spec.rb
spec/models/create_order_request_reward_spec.rb
spec/models/create_order_request_spec.rb
spec/models/create_organization200_response_organization_spec.rb
spec/models/create_organization200_response_spec.rb
spec/models/create_organization_request_copy_settings_spec.rb
spec/models/create_organization_request_spec.rb
spec/models/create_organization_spec.rb
spec/models/create_webhook200_response_spec.rb
spec/models/create_webhook_request_spec.rb
spec/models/currency_codes_spec.rb
spec/models/custom_field_spec.rb
spec/models/delivery_details_spec.rb
spec/models/delivery_details_with_link_spec.rb
spec/models/delivery_method_spec.rb
spec/models/delivery_status_spec.rb
spec/models/error_model_spec.rb
spec/models/field_spec.rb
spec/models/funding_source_spec.rb
spec/models/generate_reward_link200_response_reward_spec.rb
spec/models/generate_reward_link200_response_spec.rb
spec/models/generate_reward_link403_response_spec.rb
spec/models/generate_reward_token200_response_reward_spec.rb
spec/models/generate_reward_token200_response_spec.rb
spec/models/get_campaign200_response_spec.rb
spec/models/get_funding_source200_response_spec.rb
spec/models/get_member200_response_member_events_inner_spec.rb
spec/models/get_member200_response_member_spec.rb
spec/models/get_member200_response_spec.rb
spec/models/get_organization200_response_spec.rb
spec/models/get_product_response_spec.rb
spec/models/get_reward200_response_spec.rb
spec/models/invoice_spec.rb
spec/models/list_balance_transactions200_response_invoices_inner_spec.rb
spec/models/list_balance_transactions200_response_spec.rb
spec/models/list_campaigns200_response_campaigns_inner_spec.rb
spec/models/list_campaigns200_response_spec.rb
spec/models/list_fields200_response_fields_inner_spec.rb
spec/models/list_fields200_response_spec.rb
spec/models/list_funding_sources200_response_funding_sources_inner_meta_spec.rb
spec/models/list_funding_sources200_response_funding_sources_inner_spec.rb
spec/models/list_funding_sources200_response_spec.rb
spec/models/list_invoices200_response_invoices_inner_spec.rb
spec/models/list_invoices200_response_spec.rb
spec/models/list_members200_response_members_inner_spec.rb
spec/models/list_members200_response_spec.rb
spec/models/list_orders200_response_orders_inner_payment_refund_spec.rb
spec/models/list_orders200_response_orders_inner_payment_spec.rb
spec/models/list_orders200_response_orders_inner_spec.rb
spec/models/list_orders200_response_spec.rb
spec/models/list_organizations200_response_organizations_inner_spec.rb
spec/models/list_organizations200_response_spec.rb
spec/models/list_products_response_products_inner_countries_inner_spec.rb
spec/models/list_products_response_products_inner_images_inner_spec.rb
spec/models/list_products_response_products_inner_skus_inner_spec.rb
spec/models/list_products_response_products_inner_spec.rb
spec/models/list_products_response_spec.rb
spec/models/list_rewards200_response_rewards_inner_custom_fields_inner_spec.rb
spec/models/list_rewards200_response_rewards_inner_delivery_spec.rb
spec/models/list_rewards200_response_rewards_inner_recipient_spec.rb
spec/models/list_rewards200_response_rewards_inner_spec.rb
spec/models/list_rewards200_response_rewards_inner_value_spec.rb
spec/models/list_rewards200_response_spec.rb
spec/models/list_rewards401_response_errors_spec.rb
spec/models/list_rewards401_response_spec.rb
spec/models/list_rewards429_response_spec.rb
spec/models/list_webhook_events200_response_spec.rb
spec/models/list_webhooks200_response_spec.rb
spec/models/list_webhooks200_response_webhooks_inner_spec.rb
spec/models/member_base_spec.rb
spec/models/member_spec.rb
spec/models/member_with_events_spec.rb
spec/models/member_without_events_spec.rb
spec/models/order_base_payment_spec.rb
spec/models/order_base_spec.rb
spec/models/order_for_create_reward_spec.rb
spec/models/order_for_create_spec.rb
spec/models/order_spec.rb
spec/models/order_status_spec.rb
spec/models/order_with_link_rewards_inner_spec.rb
spec/models/order_with_link_spec.rb
spec/models/order_without_link_reward_spec.rb
spec/models/order_without_link_spec.rb
spec/models/organization_spec.rb
spec/models/payment_details_refund_spec.rb
spec/models/payment_details_spec.rb
spec/models/product_spec.rb
spec/models/recipient_spec.rb
spec/models/refund_details_spec.rb
spec/models/resend_reward422_response_spec.rb
spec/models/reward_base_custom_fields_inner_spec.rb
spec/models/reward_base_spec.rb
spec/models/reward_for_order_create_spec.rb
spec/models/reward_link_spec.rb
spec/models/reward_spec.rb
spec/models/reward_token_spec.rb
spec/models/reward_value_spec.rb
spec/models/reward_with_link_delivery_spec.rb
spec/models/reward_with_link_spec.rb
spec/models/reward_without_link_delivery_spec.rb
spec/models/reward_without_link_spec.rb
spec/models/simulate_webhook_request_spec.rb
spec/models/webhook_post_spec.rb
spec/models/webhook_spec.rb
spec/spec_helper.rb
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0-SNAPSHOT
7.3.0
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Contributing


This library cannot directly accept PRs from the public as it is generated from the OpenAPI specification
for the Tremendous API.

If you find an issue, please investigate whether it is a type problem with [our API reference][1] or a problem with the [ruby][2] generator. Then open an issue and we will investigate further.

## Running Tests

This library tests uses our [Sandbox environment][3], and depend on an API token and IDs for some seed
resources. They are executed via GitHub actions and don't need to be executed locally by contributors.

[1]: https://developers.tremendous.com/reference
[2]: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/ruby.md
[3]: https://developers.tremendous.com/docs/sandbox-environment
Loading

0 comments on commit f901255

Please sign in to comment.