From 037290f94a6c25ce797cbad7c1af01c7aac0c64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Semp=C3=A9?= Date: Wed, 25 Sep 2024 09:37:27 +0200 Subject: [PATCH] misc: Revert graphql schemas split --- Rakefile | 13 - app/controllers/graphql/api_controller.rb | 36 - app/controllers/graphql/base_controller.rb | 67 - .../graphql/customer_portal_controller.rb | 30 - app/controllers/graphql_controller.rb | 1 - app/graphql/lago_api_schema.rb | 1 - app/graphql/schemas/api_schema.rb | 53 - app/graphql/schemas/customer_portal_schema.rb | 53 - app/graphql/types/api/mutation_type.rb | 149 - app/graphql/types/api/query_type.rb | 66 - .../types/customer_portal/mutation_type.rb | 9 - .../types/customer_portal/query_type.rb | 17 - app/graphql/types/mutation_type.rb | 1 - app/graphql/types/query_type.rb | 1 - config/routes.rb | 17 +- graphql_schemas/api.graphql | 8077 --- graphql_schemas/api.json | 41483 ---------------- graphql_schemas/customer_portal.graphql | 3723 -- graphql_schemas/customer_portal.json | 15432 ------ .../concerns/authenticable_api_user_spec.rb | 2 +- ...authenticable_customer_portal_user_spec.rb | 2 +- .../concerns/can_require_permissions_spec.rb | 2 +- .../concerns/required_organization_spec.rb | 2 +- .../customer_portal/download_invoice_spec.rb | 4 +- .../invoice_collections_resolver_spec.rb | 2 +- .../overdue_balances_resolver_spec.rb | 2 +- .../customer_portal/customer_resolver_spec.rb | 4 +- .../customer_portal/invoices_resolver_spec.rb | 6 +- .../organization_resolver_spec.rb | 2 +- spec/graphql/schemas/api_schema_spec.rb | 12 - .../schemas/customer_portal_schema_spec.rb | 12 - spec/rails_helper.rb | 3 +- spec/requests/graphql/api_controller_spec.rb | 128 - .../customer_portal_controller_spec.rb | 34 - spec/support/graphql/api_helper.rb | 67 - .../support/graphql/customer_portal_helper.rb | 51 - spec/support/graphql_helper.rb | 78 + 37 files changed, 94 insertions(+), 69548 deletions(-) delete mode 100644 app/controllers/graphql/api_controller.rb delete mode 100644 app/controllers/graphql/base_controller.rb delete mode 100644 app/controllers/graphql/customer_portal_controller.rb delete mode 100644 app/graphql/schemas/api_schema.rb delete mode 100644 app/graphql/schemas/customer_portal_schema.rb delete mode 100644 app/graphql/types/api/mutation_type.rb delete mode 100644 app/graphql/types/api/query_type.rb delete mode 100644 app/graphql/types/customer_portal/mutation_type.rb delete mode 100644 app/graphql/types/customer_portal/query_type.rb delete mode 100644 graphql_schemas/api.graphql delete mode 100644 graphql_schemas/api.json delete mode 100644 graphql_schemas/customer_portal.graphql delete mode 100644 graphql_schemas/customer_portal.json delete mode 100644 spec/graphql/schemas/api_schema_spec.rb delete mode 100644 spec/graphql/schemas/customer_portal_schema_spec.rb delete mode 100644 spec/requests/graphql/api_controller_spec.rb delete mode 100644 spec/requests/graphql/customer_portal_controller_spec.rb delete mode 100644 spec/support/graphql/api_helper.rb delete mode 100644 spec/support/graphql/customer_portal_helper.rb create mode 100644 spec/support/graphql_helper.rb diff --git a/Rakefile b/Rakefile index 431a49cb7dc..2f4f9e9f20e 100644 --- a/Rakefile +++ b/Rakefile @@ -8,17 +8,4 @@ require "graphql/rake_task" Rails.application.load_tasks -# TODO(graphql_schema): This schema is deprecated and should be removed. GraphQL::RakeTask.new(schema_name: "LagoApiSchema") - -GraphQL::RakeTask.new( - schema_name: "Schemas::ApiSchema", - idl_outfile: "graphql_schemas/api.graphql", - json_outfile: "graphql_schemas/api.json" -) - -GraphQL::RakeTask.new( - schema_name: "Schemas::CustomerPortalSchema", - idl_outfile: "graphql_schemas/customer_portal.graphql", - json_outfile: "graphql_schemas/customer_portal.json" -) diff --git a/app/controllers/graphql/api_controller.rb b/app/controllers/graphql/api_controller.rb deleted file mode 100644 index aa6066a8dd5..00000000000 --- a/app/controllers/graphql/api_controller.rb +++ /dev/null @@ -1,36 +0,0 @@ -# frozen_string_literal: true - -module Graphql - class ApiController < BaseController - include AuthenticableUser - include OrganizationHeader - include Trackable - - def execute - variables = prepare_variables(params[:variables]) - query = params[:query] - operation_name = params[:operationName] - context = { - current_user:, - current_organization:, - request:, - permissions: - current_user&.memberships&.find_by(organization: current_organization)&.permissions_hash || - Permission::EMPTY_PERMISSIONS_HASH - } - - OpenTelemetry::Trace.current_span.add_attributes({"query" => query, "operation_name" => operation_name}) - result = LagoTracer.in_span("Schemas::ApiSchema.execute") do - Schemas::ApiSchema.execute(query, variables:, context:, operation_name:) - end - - render(json: result) - rescue JWT::ExpiredSignature - render_graphql_error(code: "expired_jwt_token", status: 401) - rescue => e - raise e unless Rails.env.development? - - handle_error_in_development(e) - end - end -end diff --git a/app/controllers/graphql/base_controller.rb b/app/controllers/graphql/base_controller.rb deleted file mode 100644 index b9b4f796ff7..00000000000 --- a/app/controllers/graphql/base_controller.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module Graphql - class BaseController < ApplicationController - before_action :set_context_source - - rescue_from JWT::ExpiredSignature do - render_graphql_error(code: "expired_jwt_token", status: 401) - end - - # If accessing from outside this domain, nullify the session - # This allows for outside API access while preventing CSRF attacks, - # but you'll have to authenticate your user separately - # protect_from_forgery with: :null_session - - def execute - raise NotImplementedError - end - - private - - # Handle variables in form data, JSON body, or a blank value - def prepare_variables(variables_param) - case variables_param - when String - if variables_param.present? - JSON.parse(variables_param) || {} - else - {} - end - when Hash - variables_param - when ActionController::Parameters - variables_param.to_unsafe_hash # GraphQL-Ruby will validate name and type of incoming variables. - when nil - {} - else - raise ArgumentError, "Unexpected parameter: #{variables_param}" - end - end - - def handle_error_in_development(error) - logger.error(error.message) - logger.error(error.backtrace.join("\n")) - - render(json: {errors: [{message: error.message, backtrace: error.backtrace}], data: {}}, status: 500) - end - - def render_graphql_error(code:, status:, message: nil) - render( - json: { - data: {}, - errors: [ - { - message: message || code, - extensions: {status:, code:} - } - ] - } - ) - end - - def set_context_source - CurrentContext.source = 'graphql' - end - end -end diff --git a/app/controllers/graphql/customer_portal_controller.rb b/app/controllers/graphql/customer_portal_controller.rb deleted file mode 100644 index 762942ea781..00000000000 --- a/app/controllers/graphql/customer_portal_controller.rb +++ /dev/null @@ -1,30 +0,0 @@ -# frozen_string_literal: true - -module Graphql - class CustomerPortalController < BaseController - include CustomerPortalUser - - def execute - variables = prepare_variables(params[:variables]) - query = params[:query] - operation_name = params[:operationName] - context = { - customer_portal_user:, - request: - } - - OpenTelemetry::Trace.current_span.add_attributes({"query" => query, "operation_name" => operation_name}) - result = LagoTracer.in_span("Schemas::CustomerPortalSchema.execute") do - Schemas::CustomerPortalSchema.execute(query, variables:, context:, operation_name:) - end - - render(json: result) - rescue JWT::ExpiredSignature - render_graphql_error(code: "expired_jwt_token", status: 401) - rescue => e - raise e unless Rails.env.development? - - handle_error_in_development(e) - end - end -end diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 3f509803f5c..d24abbbcd02 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -# TODO(graphql_schema): This controller is deprecated and should be removed. class GraphqlController < ApplicationController include AuthenticableUser include CustomerPortalUser diff --git a/app/graphql/lago_api_schema.rb b/app/graphql/lago_api_schema.rb index 668bb1a9b0e..0e989cd0996 100644 --- a/app/graphql/lago_api_schema.rb +++ b/app/graphql/lago_api_schema.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -# TODO(graphql_schema): This schema is deprecated and should be removed. class LagoApiSchema < GraphQL::Schema mutation(Types::MutationType) query(Types::QueryType) diff --git a/app/graphql/schemas/api_schema.rb b/app/graphql/schemas/api_schema.rb deleted file mode 100644 index 0e97414eb43..00000000000 --- a/app/graphql/schemas/api_schema.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module Schemas - class ApiSchema < GraphQL::Schema - mutation(Types::Api::MutationType) - query(Types::Api::QueryType) - - # For batch-loading (see https://graphql-ruby.org/dataloader/overview.html) - use GraphQL::Dataloader - - max_depth 15 - max_complexity 350 - - # GraphQL-Ruby calls this when something goes wrong while running a query: - - # Union and Interface Resolution - def self.resolve_type(_abstract_type, _obj, _ctx) - # TODO: Implement this method - # to return the correct GraphQL object type for `obj` - raise(GraphQL::RequiredImplementationMissingError) - end - - # Relay-style Object Identification: - - # Return a string UUID for `object` - def self.id_from_object(object, type_definition, _query_ctx) - # For example, use Rails' GlobalID library (https://github.com/rails/globalid): - object_id = object.to_global_id.to_s - # Remove this redundant prefix to make IDs shorter: - object_id = object_id.sub("gid://#{GlobalID.app}/", '') - encoded_id = Base64.urlsafe_encode64(object_id) - # Remove the "=" padding - encoded_id = encoded_id.sub(/=+/, '') - # Add a type hint - type_hint = type_definition.graphql_name.first - "#{type_hint}_#{encoded_id}" - end - - # Given a string UUID, find the object - def self.object_from_id(encoded_id_with_hint, _query_ctx) - # For example, use Rails' GlobalID library (https://github.com/rails/globalid): - # Split off the type hint - _type_hint, encoded_id = encoded_id_with_hint.split('_', 2) - # Decode the ID - id = Base64.urlsafe_decode64(encoded_id) - # Rebuild it for Rails then find the object: - full_global_id = "gid://#{GlobalID.app}/#{id}" - GlobalID::Locator.locate(full_global_id) - end - - default_max_page_size 25 - end -end diff --git a/app/graphql/schemas/customer_portal_schema.rb b/app/graphql/schemas/customer_portal_schema.rb deleted file mode 100644 index aa816ca7d9f..00000000000 --- a/app/graphql/schemas/customer_portal_schema.rb +++ /dev/null @@ -1,53 +0,0 @@ -# frozen_string_literal: true - -module Schemas - class CustomerPortalSchema < GraphQL::Schema - mutation(Types::CustomerPortal::MutationType) - query(Types::CustomerPortal::QueryType) - - # For batch-loading (see https://graphql-ruby.org/dataloader/overview.html) - use GraphQL::Dataloader - - max_depth 15 - max_complexity 350 - - # GraphQL-Ruby calls this when something goes wrong while running a query: - - # Union and Interface Resolution - def self.resolve_type(_abstract_type, _obj, _ctx) - # TODO: Implement this method - # to return the correct GraphQL object type for `obj` - raise(GraphQL::RequiredImplementationMissingError) - end - - # Relay-style Object Identification: - - # Return a string UUID for `object` - def self.id_from_object(object, type_definition, _query_ctx) - # For example, use Rails' GlobalID library (https://github.com/rails/globalid): - object_id = object.to_global_id.to_s - # Remove this redundant prefix to make IDs shorter: - object_id = object_id.sub("gid://#{GlobalID.app}/", '') - encoded_id = Base64.urlsafe_encode64(object_id) - # Remove the "=" padding - encoded_id = encoded_id.sub(/=+/, '') - # Add a type hint - type_hint = type_definition.graphql_name.first - "#{type_hint}_#{encoded_id}" - end - - # Given a string UUID, find the object - def self.object_from_id(encoded_id_with_hint, _query_ctx) - # For example, use Rails' GlobalID library (https://github.com/rails/globalid): - # Split off the type hint - _type_hint, encoded_id = encoded_id_with_hint.split('_', 2) - # Decode the ID - id = Base64.urlsafe_decode64(encoded_id) - # Rebuild it for Rails then find the object: - full_global_id = "gid://#{GlobalID.app}/#{id}" - GlobalID::Locator.locate(full_global_id) - end - - default_max_page_size 25 - end -end diff --git a/app/graphql/types/api/mutation_type.rb b/app/graphql/types/api/mutation_type.rb deleted file mode 100644 index 14d5ac137bb..00000000000 --- a/app/graphql/types/api/mutation_type.rb +++ /dev/null @@ -1,149 +0,0 @@ -# frozen_string_literal: true - -module Types - module Api - class MutationType < Types::BaseObject - field :login_user, mutation: Mutations::LoginUser - field :register_user, mutation: Mutations::RegisterUser - - field :update_organization, mutation: Mutations::Organizations::Update - - field :create_billable_metric, mutation: Mutations::BillableMetrics::Create - field :destroy_billable_metric, mutation: Mutations::BillableMetrics::Destroy - field :update_billable_metric, mutation: Mutations::BillableMetrics::Update - - field :create_adjusted_fee, mutation: Mutations::AdjustedFees::Create - field :destroy_adjusted_fee, mutation: Mutations::AdjustedFees::Destroy - - field :create_plan, mutation: Mutations::Plans::Create - field :destroy_plan, mutation: Mutations::Plans::Destroy - field :update_plan, mutation: Mutations::Plans::Update - - field :create_customer, mutation: Mutations::Customers::Create - field :destroy_customer, mutation: Mutations::Customers::Destroy - field :update_customer, mutation: Mutations::Customers::Update - field :update_customer_invoice_grace_period, mutation: Mutations::Customers::UpdateInvoiceGracePeriod - - field :generate_customer_portal_url, mutation: Mutations::CustomerPortal::GenerateUrl - - field :create_invoices_data_export, mutation: Mutations::DataExports::Invoices::Create - - field :create_subscription, mutation: Mutations::Subscriptions::Create - field :terminate_subscription, mutation: Mutations::Subscriptions::Terminate - field :update_subscription, mutation: Mutations::Subscriptions::Update - - field :create_coupon, mutation: Mutations::Coupons::Create - field :destroy_coupon, mutation: Mutations::Coupons::Destroy - field :terminate_coupon, mutation: Mutations::Coupons::Terminate - field :update_coupon, mutation: Mutations::Coupons::Update - - field :create_applied_coupon, mutation: Mutations::AppliedCoupons::Create - field :terminate_applied_coupon, mutation: Mutations::AppliedCoupons::Terminate - - field :create_add_on, mutation: Mutations::AddOns::Create - field :destroy_add_on, mutation: Mutations::AddOns::Destroy - field :update_add_on, mutation: Mutations::AddOns::Update - - field :add_adyen_payment_provider, mutation: Mutations::PaymentProviders::Adyen::Create - field :add_gocardless_payment_provider, mutation: Mutations::PaymentProviders::Gocardless::Create - field :add_stripe_payment_provider, mutation: Mutations::PaymentProviders::Stripe::Create - - field :update_adyen_payment_provider, mutation: Mutations::PaymentProviders::Adyen::Update - field :update_gocardless_payment_provider, mutation: Mutations::PaymentProviders::Gocardless::Update - field :update_stripe_payment_provider, mutation: Mutations::PaymentProviders::Stripe::Update - - field :destroy_payment_provider, mutation: Mutations::PaymentProviders::Destroy - - field :create_netsuite_integration, mutation: Mutations::Integrations::Netsuite::Create - field :destroy_integration, mutation: Mutations::Integrations::Destroy - field :update_netsuite_integration, mutation: Mutations::Integrations::Netsuite::Update - - field :create_integration_mapping, mutation: Mutations::IntegrationMappings::Create - field :update_integration_mapping, mutation: Mutations::IntegrationMappings::Update - - field :create_integration_collection_mapping, mutation: Mutations::IntegrationCollectionMappings::Create - field :update_integration_collection_mapping, mutation: Mutations::IntegrationCollectionMappings::Update - - field :destroy_integration_collection_mapping, mutation: Mutations::IntegrationCollectionMappings::Destroy - field :destroy_integration_mapping, mutation: Mutations::IntegrationMappings::Destroy - - field :fetch_integration_accounts, mutation: Mutations::IntegrationItems::FetchAccounts - field :fetch_integration_items, mutation: Mutations::IntegrationItems::FetchItems - field :fetch_integration_tax_items, mutation: Mutations::IntegrationItems::FetchTaxItems - - field :sync_integration_credit_note, mutation: Mutations::Integrations::SyncCreditNote - field :sync_integration_invoice, mutation: Mutations::Integrations::SyncInvoice - - field :create_credit_note, mutation: Mutations::CreditNotes::Create - field :download_credit_note, mutation: Mutations::CreditNotes::Download - field :retry_tax_reporting, mutation: Mutations::CreditNotes::RetryTaxReporting - field :update_credit_note, mutation: Mutations::CreditNotes::Update - field :void_credit_note, mutation: Mutations::CreditNotes::Void - - field :create_invoice, mutation: Mutations::Invoices::Create - field :download_invoice, mutation: Mutations::Invoices::Download - field :finalize_all_invoices, mutation: Mutations::Invoices::FinalizeAll - field :finalize_invoice, mutation: Mutations::Invoices::Finalize - field :lose_invoice_dispute, mutation: Mutations::Invoices::LoseDispute - field :refresh_invoice, mutation: Mutations::Invoices::Refresh - field :retry_all_invoice_payments, mutation: Mutations::Invoices::RetryAllPayments - field :retry_all_invoices, mutation: Mutations::Invoices::RetryAll - field :retry_invoice, mutation: Mutations::Invoices::Retry - field :retry_invoice_payment, mutation: Mutations::Invoices::RetryPayment - field :retry_tax_provider_voiding, mutation: Mutations::Invoices::RetryTaxProviderVoiding - field :update_invoice, mutation: Mutations::Invoices::Update - field :void_invoice, mutation: Mutations::Invoices::Void - - field :create_customer_wallet, mutation: Mutations::Wallets::Create - field :terminate_customer_wallet, mutation: Mutations::Wallets::Terminate - field :update_customer_wallet, mutation: Mutations::Wallets::Update - - field :create_customer_wallet_transaction, mutation: Mutations::WalletTransactions::Create - - field :accept_invite, mutation: Mutations::Invites::Accept - field :create_invite, mutation: Mutations::Invites::Create - field :revoke_invite, mutation: Mutations::Invites::Revoke - field :update_invite, mutation: Mutations::Invites::Update - - field :revoke_membership, mutation: Mutations::Memberships::Revoke - field :update_membership, mutation: Mutations::Memberships::Update - - field :create_payment_request, mutation: Mutations::PaymentRequests::Create - - field :create_password_reset, mutation: Mutations::PasswordResets::Create - field :reset_password, mutation: Mutations::PasswordResets::Reset - - field :create_tax, mutation: Mutations::Taxes::Create - field :destroy_tax, mutation: Mutations::Taxes::Destroy - field :update_tax, mutation: Mutations::Taxes::Update - - field :retry_webhook, mutation: Mutations::Webhooks::Retry - - field :create_webhook_endpoint, mutation: Mutations::WebhookEndpoints::Create - field :destroy_webhook_endpoint, mutation: Mutations::WebhookEndpoints::Destroy - field :update_webhook_endpoint, mutation: Mutations::WebhookEndpoints::Update - - field :google_accept_invite, mutation: Mutations::Auth::Google::AcceptInvite - field :google_login_user, mutation: Mutations::Auth::Google::LoginUser - field :google_register_user, mutation: Mutations::Auth::Google::RegisterUser - - field :create_okta_integration, mutation: Mutations::Integrations::Okta::Create - field :update_okta_integration, mutation: Mutations::Integrations::Okta::Update - - field :create_anrok_integration, mutation: Mutations::Integrations::Anrok::Create - field :update_anrok_integration, mutation: Mutations::Integrations::Anrok::Update - - field :fetch_draft_invoice_taxes, mutation: Mutations::Integrations::Anrok::FetchDraftInvoiceTaxes - - field :create_xero_integration, mutation: Mutations::Integrations::Xero::Create - field :update_xero_integration, mutation: Mutations::Integrations::Xero::Update - - field :create_hubspot_integration, mutation: Mutations::Integrations::Hubspot::Create - field :update_hubspot_integration, mutation: Mutations::Integrations::Hubspot::Update - - field :okta_accept_invite, mutation: Mutations::Auth::Okta::AcceptInvite - field :okta_authorize, mutation: Mutations::Auth::Okta::Authorize - field :okta_login, mutation: Mutations::Auth::Okta::Login - end - end -end diff --git a/app/graphql/types/api/query_type.rb b/app/graphql/types/api/query_type.rb deleted file mode 100644 index eb2c1b61cbe..00000000000 --- a/app/graphql/types/api/query_type.rb +++ /dev/null @@ -1,66 +0,0 @@ -# frozen_string_literal: true - -module Types - module Api - class QueryType < Types::BaseObject - # Add `node(id: ID!) and `nodes(ids: [ID!]!)` - include GraphQL::Types::Relay::HasNodeField - include GraphQL::Types::Relay::HasNodesField - - field :current_user, resolver: Resolvers::CurrentUserResolver - - field :add_on, resolver: Resolvers::AddOnResolver - field :add_ons, resolver: Resolvers::AddOnsResolver - field :billable_metric, resolver: Resolvers::BillableMetricResolver - field :billable_metrics, resolver: Resolvers::BillableMetricsResolver - field :coupon, resolver: Resolvers::CouponResolver - field :coupons, resolver: Resolvers::CouponsResolver - field :credit_note, resolver: Resolvers::CreditNoteResolver - field :credit_note_estimate, resolver: Resolvers::CreditNotes::EstimateResolver - field :credit_notes, resolver: Resolvers::CreditNotesResolver - field :current_version, resolver: Resolvers::VersionResolver - field :customer, resolver: Resolvers::CustomerResolver - field :customer_invoices, resolver: Resolvers::Customers::InvoicesResolver - field :customer_usage, resolver: Resolvers::Customers::UsageResolver - field :customers, resolver: Resolvers::CustomersResolver - field :events, resolver: Resolvers::EventsResolver - field :google_auth_url, resolver: Resolvers::Auth::Google::AuthUrlResolver - field :gross_revenues, resolver: Resolvers::Analytics::GrossRevenuesResolver - field :integration, resolver: Resolvers::IntegrationResolver - field :integration_collection_mapping, resolver: Resolvers::IntegrationCollectionMappingResolver - field :integration_collection_mappings, resolver: Resolvers::IntegrationCollectionMappingsResolver - field :integration_items, resolver: Resolvers::IntegrationItemsResolver - field :integration_mapping, resolver: Resolvers::IntegrationMappingResolver - field :integration_mappings, resolver: Resolvers::IntegrationMappingsResolver - field :integration_subsidiaries, resolver: Resolvers::Integrations::SubsidiariesResolver - field :integrations, resolver: Resolvers::IntegrationsResolver - field :invite, resolver: Resolvers::InviteResolver - field :invites, resolver: Resolvers::InvitesResolver - field :invoice, resolver: Resolvers::InvoiceResolver - field :invoice_collections, resolver: Resolvers::Analytics::InvoiceCollectionsResolver - field :invoice_credit_notes, resolver: Resolvers::InvoiceCreditNotesResolver - field :invoiced_usages, resolver: Resolvers::Analytics::InvoicedUsagesResolver - field :invoices, resolver: Resolvers::InvoicesResolver - field :memberships, resolver: Resolvers::MembershipsResolver - field :mrrs, resolver: Resolvers::Analytics::MrrsResolver - field :organization, resolver: Resolvers::OrganizationResolver - field :overdue_balances, resolver: Resolvers::Analytics::OverdueBalancesResolver - field :password_reset, resolver: Resolvers::PasswordResetResolver - field :payment_provider, resolver: Resolvers::PaymentProviderResolver - field :payment_providers, resolver: Resolvers::PaymentProvidersResolver - field :payment_requests, resolver: Resolvers::PaymentRequestsResolver - field :plan, resolver: Resolvers::PlanResolver - field :plans, resolver: Resolvers::PlansResolver - field :subscription, resolver: Resolvers::SubscriptionResolver - field :subscriptions, resolver: Resolvers::SubscriptionsResolver - field :tax, resolver: Resolvers::TaxResolver - field :taxes, resolver: Resolvers::TaxesResolver - field :wallet, resolver: Resolvers::WalletResolver - field :wallet_transactions, resolver: Resolvers::WalletTransactionsResolver - field :wallets, resolver: Resolvers::WalletsResolver - field :webhook_endpoint, resolver: Resolvers::WebhookEndpointResolver - field :webhook_endpoints, resolver: Resolvers::WebhookEndpointsResolver - field :webhooks, resolver: Resolvers::WebhooksResolver - end - end -end diff --git a/app/graphql/types/customer_portal/mutation_type.rb b/app/graphql/types/customer_portal/mutation_type.rb deleted file mode 100644 index 2c94d4ffa49..00000000000 --- a/app/graphql/types/customer_portal/mutation_type.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -module Types - module CustomerPortal - class MutationType < Types::BaseObject - field :download_customer_portal_invoice, mutation: Mutations::CustomerPortal::DownloadInvoice - end - end -end diff --git a/app/graphql/types/customer_portal/query_type.rb b/app/graphql/types/customer_portal/query_type.rb deleted file mode 100644 index 5f98dbc7ec4..00000000000 --- a/app/graphql/types/customer_portal/query_type.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module Types - module CustomerPortal - class QueryType < Types::BaseObject - # Add `node(id: ID!) and `nodes(ids: [ID!]!)` - include GraphQL::Types::Relay::HasNodeField - include GraphQL::Types::Relay::HasNodesField - - field :customer_portal_invoice_collections, resolver: Resolvers::CustomerPortal::Analytics::InvoiceCollectionsResolver - field :customer_portal_invoices, resolver: Resolvers::CustomerPortal::InvoicesResolver - field :customer_portal_organization, resolver: Resolvers::CustomerPortal::OrganizationResolver - field :customer_portal_overdue_balances, resolver: Resolvers::CustomerPortal::Analytics::OverdueBalancesResolver - field :customer_portal_user, resolver: Resolvers::CustomerPortal::CustomerResolver - end - end -end diff --git a/app/graphql/types/mutation_type.rb b/app/graphql/types/mutation_type.rb index 807e2098e44..e126991324a 100644 --- a/app/graphql/types/mutation_type.rb +++ b/app/graphql/types/mutation_type.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -# TODO(graphql_schema): This class is deprecated and should be removed. module Types class MutationType < Types::BaseObject field :login_user, mutation: Mutations::LoginUser diff --git a/app/graphql/types/query_type.rb b/app/graphql/types/query_type.rb index 7f6cfbe1c92..e9e71d99e23 100644 --- a/app/graphql/types/query_type.rb +++ b/app/graphql/types/query_type.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -# TODO(graphql_schema): This class is deprecated and should be removed. module Types # QueryType class QueryType < Types::BaseObject diff --git a/config/routes.rb b/config/routes.rb index dbe5301bd9d..709cdadd3a7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,25 +3,10 @@ Rails.application.routes.draw do mount Sidekiq::Web, at: '/sidekiq' if defined? Sidekiq::Web mount Karafka::Web::App, at: '/karafka' if ENV['KARAFKA_WEB'] + mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql' if Rails.env.development? - # TODO(graphql_schema): This route is deprecated and should be removed. post '/graphql', to: 'graphql#execute' - post '/api/graphql', to: 'graphql/api#execute' - post '/customer_portal/graphql', to: 'graphql/customer_portal#execute' - - if Rails.env.development? - mount GraphiQL::Rails::Engine, - at: '/graphiql/customer_portal', - as: 'customer_portal_graphiql_rails', - graphql_path: '/customer_portal/graphql' - - mount GraphiQL::Rails::Engine, - at: '/graphiql/api', - as: 'api_graphiql_rails', - graphql_path: '/api/graphql' - end - # Health Check status get '/health', to: 'application#health' diff --git a/graphql_schemas/api.graphql b/graphql_schemas/api.graphql deleted file mode 100644 index 7dcd8627158..00000000000 --- a/graphql_schemas/api.graphql +++ /dev/null @@ -1,8077 +0,0 @@ -""" -Autogenerated input type of AcceptInvite -""" -input AcceptInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! - password: String! - - """ - Uniq token of the Invite - """ - token: String! -} - -""" -Adyen input arguments -""" -input AddAdyenPaymentProviderInput { - apiKey: String! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - hmacKey: String - livePrefix: String - merchantAccount: String! - name: String! - successRedirectUrl: String -} - -""" -Gocardless input arguments -""" -input AddGocardlessPaymentProviderInput { - accessCode: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - name: String! - successRedirectUrl: String -} - -type AddOn { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - appliedAddOnsCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers using this add-on - """ - customersCount: Int! - deletedAt: ISO8601DateTime - description: String - id: ID! - integrationMappings(integrationId: ID): [Mapping!] - invoiceDisplayName: String - name: String! - organization: Organization - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -""" -AddOnCollection type -""" -type AddOnCollection { - """ - A collection of paginated AddOnCollection - """ - collection: [AddOn!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Stripe input arguments -""" -input AddStripePaymentProviderInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - name: String! - secretKey: String - successRedirectUrl: String -} - -enum AdjustedFeeTypeEnum { - adjusted_amount - adjusted_units -} - -type AdyenProvider { - apiKey: String - code: String! - hmacKey: String - id: ID! - livePrefix: String - merchantAccount: String - name: String! - successRedirectUrl: String -} - -enum AggregationTypeEnum { - count_agg - custom_agg - latest_agg - max_agg - sum_agg - unique_count_agg - weighted_sum_agg -} - -type AnrokBreakdownObject { - enumedTaxCode: InvoiceAppliedTaxOnWholeInvoiceCodeEnum - name: String - rate: Float - taxAmount: BigInt - type: String -} - -type AnrokCustomer { - externalAccountId: String - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - syncWithProvider: Boolean -} - -type AnrokFeeObject { - amountCents: BigInt - itemCode: String - itemId: String - taxAmountCents: BigInt - taxBreakdown: [AnrokBreakdownObject!] -} - -""" -AnrokFeeObjectCollection type -""" -type AnrokFeeObjectCollection { - """ - A collection of paginated AnrokFeeObjectCollection - """ - collection: [AnrokFeeObject!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type AnrokIntegration { - apiKey: String! - code: String! - externalAccountId: String - failedInvoicesCount: Int - hasMappingsConfigured: Boolean - id: ID! - name: String! -} - -type AppliedAddOn { - addOn: AddOn! - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - id: ID! -} - -type AppliedCoupon { - amountCents: BigInt - amountCentsRemaining: BigInt - amountCurrency: CurrencyEnum - coupon: Coupon! - createdAt: ISO8601DateTime! - frequency: CouponFrequency! - frequencyDuration: Int - frequencyDurationRemaining: Int - id: ID! - percentageRate: Float - terminatedAt: ISO8601DateTime! -} - -interface AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -type AuthUrl { - url: String! -} - -type Authorize { - url: String! -} - -""" -Represents non-fractional signed whole numeric values. Since the value may -exceed the size of a 32-bit integer, it's encoded as a string. -""" -scalar BigInt - -""" -Base billable metric -""" -type BillableMetric { - activeSubscriptionsCount: Int! - aggregationType: AggregationTypeEnum! - code: String! - createdAt: ISO8601DateTime! - deletedAt: ISO8601DateTime - description: String - draftInvoicesCount: Int! - fieldName: String - filters: [BillableMetricFilter!] - id: ID! - integrationMappings(integrationId: ID): [Mapping!] - name: String! - organization: Organization - plansCount: Int! - recurring: Boolean! - subscriptionsCount: Int! - updatedAt: ISO8601DateTime! - weightedInterval: WeightedIntervalEnum -} - -""" -BillableMetricCollection type -""" -type BillableMetricCollection { - """ - A collection of paginated BillableMetricCollection - """ - collection: [BillableMetric!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Billable metric filters -""" -type BillableMetricFilter { - id: ID! - key: String! - values: [String!]! -} - -""" -Billable metric filters input arguments -""" -input BillableMetricFiltersInput { - key: String! - values: [String!]! -} - -enum BillingTimeEnum { - anniversary - calendar -} - -type Charge { - billableMetric: BillableMetric! - chargeModel: ChargeModelEnum! - createdAt: ISO8601DateTime! - deletedAt: ISO8601DateTime - filters: [ChargeFilter!] - id: ID! - invoiceDisplayName: String - invoiceable: Boolean! - minAmountCents: BigInt! - payInAdvance: Boolean! - properties: Properties - prorated: Boolean! - regroupPaidFees: RegroupPaidFeesEnum - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -""" -Charge filters object -""" -type ChargeFilter { - id: ID! - invoiceDisplayName: String - properties: Properties! - values: ChargeFilterValues! -} - -""" -Charge filters input arguments -""" -input ChargeFilterInput { - invoiceDisplayName: String - properties: PropertiesInput! - values: ChargeFilterValues! -} - -type ChargeFilterUsage { - amountCents: BigInt! - eventsCount: Int! - id: ID - invoiceDisplayName: String - units: Float! - values: ChargeFilterValues! -} - -scalar ChargeFilterValues - -input ChargeInput { - billableMetricId: ID! - chargeModel: ChargeModelEnum! - filters: [ChargeFilterInput!] - id: ID - invoiceDisplayName: String - invoiceable: Boolean - minAmountCents: BigInt - payInAdvance: Boolean - properties: PropertiesInput - prorated: Boolean - regroupPaidFees: RegroupPaidFeesEnum - taxCodes: [String!] -} - -enum ChargeModelEnum { - custom - graduated - graduated_percentage - package - percentage - standard - volume -} - -input ChargeOverridesInput { - billableMetricId: ID! - filters: [ChargeFilterInput!] - id: ID - invoiceDisplayName: String - minAmountCents: BigInt - properties: PropertiesInput - taxCodes: [String!] -} - -type ChargeUsage { - amountCents: BigInt! - billableMetric: BillableMetric! - charge: Charge! - eventsCount: Int! - filters: [ChargeFilterUsage!] - groupedUsage: [GroupedChargeUsage!]! - id: ID! - units: Float! -} - -type CollectionMapping { - externalAccountCode: String - externalId: String! - externalName: String - id: ID! - integrationId: ID! - mappingType: MappingTypeEnum! -} - -""" -CollectionMappingCollection type -""" -type CollectionMappingCollection { - """ - A collection of paginated CollectionMappingCollection - """ - collection: [CollectionMapping!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Type for CollectionMetadataType -""" -type CollectionMetadata { - """ - Current Page of loaded data - """ - currentPage: Int! - - """ - The number of items per page - """ - limitValue: Int! - - """ - The total number of items to be paginated - """ - totalCount: Int! - - """ - The total number of pages in the pagination - """ - totalPages: Int! -} - -type Commitment { - amountCents: BigInt! - commitmentType: CommitmentTypeEnum! - createdAt: ISO8601DateTime! - id: ID! - invoiceDisplayName: String - plan: Plan! - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -input CommitmentInput { - amountCents: BigInt - commitmentType: CommitmentTypeEnum - id: ID - invoiceDisplayName: String - taxCodes: [String!] -} - -enum CommitmentTypeEnum { - minimum_commitment -} - -enum CountryCode { - """ - Andorra - """ - AD - - """ - United Arab Emirates - """ - AE - - """ - Afghanistan - """ - AF - - """ - Antigua and Barbuda - """ - AG - - """ - Anguilla - """ - AI - - """ - Albania - """ - AL - - """ - Armenia - """ - AM - - """ - Angola - """ - AO - - """ - Antarctica - """ - AQ - - """ - Argentina - """ - AR - - """ - American Samoa - """ - AS - - """ - Austria - """ - AT - - """ - Australia - """ - AU - - """ - Aruba - """ - AW - - """ - Åland Islands - """ - AX - - """ - Azerbaijan - """ - AZ - - """ - Bosnia and Herzegovina - """ - BA - - """ - Barbados - """ - BB - - """ - Bangladesh - """ - BD - - """ - Belgium - """ - BE - - """ - Burkina Faso - """ - BF - - """ - Bulgaria - """ - BG - - """ - Bahrain - """ - BH - - """ - Burundi - """ - BI - - """ - Benin - """ - BJ - - """ - Saint Barthélemy - """ - BL - - """ - Bermuda - """ - BM - - """ - Brunei Darussalam - """ - BN - - """ - Bolivia (Plurinational State of) - """ - BO - - """ - Bonaire, Sint Eustatius and Saba - """ - BQ - - """ - Brazil - """ - BR - - """ - Bahamas - """ - BS - - """ - Bhutan - """ - BT - - """ - Bouvet Island - """ - BV - - """ - Botswana - """ - BW - - """ - Belarus - """ - BY - - """ - Belize - """ - BZ - - """ - Canada - """ - CA - - """ - Cocos (Keeling) Islands - """ - CC - - """ - Congo (Democratic Republic of the) - """ - CD - - """ - Central African Republic - """ - CF - - """ - Congo - """ - CG - - """ - Switzerland - """ - CH - - """ - Côte d'Ivoire - """ - CI - - """ - Cook Islands - """ - CK - - """ - Chile - """ - CL - - """ - Cameroon - """ - CM - - """ - China - """ - CN - - """ - Colombia - """ - CO - - """ - Costa Rica - """ - CR - - """ - Cuba - """ - CU - - """ - Cabo Verde - """ - CV - - """ - Curaçao - """ - CW - - """ - Christmas Island - """ - CX - - """ - Cyprus - """ - CY - - """ - Czechia - """ - CZ - - """ - Germany - """ - DE - - """ - Djibouti - """ - DJ - - """ - Denmark - """ - DK - - """ - Dominica - """ - DM - - """ - Dominican Republic - """ - DO - - """ - Algeria - """ - DZ - - """ - Ecuador - """ - EC - - """ - Estonia - """ - EE - - """ - Egypt - """ - EG - - """ - Western Sahara - """ - EH - - """ - Eritrea - """ - ER - - """ - Spain - """ - ES - - """ - Ethiopia - """ - ET - - """ - Finland - """ - FI - - """ - Fiji - """ - FJ - - """ - Falkland Islands (Malvinas) - """ - FK - - """ - Micronesia (Federated States of) - """ - FM - - """ - Faroe Islands - """ - FO - - """ - France - """ - FR - - """ - Gabon - """ - GA - - """ - United Kingdom of Great Britain and Northern Ireland - """ - GB - - """ - Grenada - """ - GD - - """ - Georgia - """ - GE - - """ - French Guiana - """ - GF - - """ - Guernsey - """ - GG - - """ - Ghana - """ - GH - - """ - Gibraltar - """ - GI - - """ - Greenland - """ - GL - - """ - Gambia - """ - GM - - """ - Guinea - """ - GN - - """ - Guadeloupe - """ - GP - - """ - Equatorial Guinea - """ - GQ - - """ - Greece - """ - GR - - """ - South Georgia and the South Sandwich Islands - """ - GS - - """ - Guatemala - """ - GT - - """ - Guam - """ - GU - - """ - Guinea-Bissau - """ - GW - - """ - Guyana - """ - GY - - """ - Hong Kong - """ - HK - - """ - Heard Island and McDonald Islands - """ - HM - - """ - Honduras - """ - HN - - """ - Croatia - """ - HR - - """ - Haiti - """ - HT - - """ - Hungary - """ - HU - - """ - Indonesia - """ - ID - - """ - Ireland - """ - IE - - """ - Israel - """ - IL - - """ - Isle of Man - """ - IM - - """ - India - """ - IN - - """ - British Indian Ocean Territory - """ - IO - - """ - Iraq - """ - IQ - - """ - Iran (Islamic Republic of) - """ - IR - - """ - Iceland - """ - IS - - """ - Italy - """ - IT - - """ - Jersey - """ - JE - - """ - Jamaica - """ - JM - - """ - Jordan - """ - JO - - """ - Japan - """ - JP - - """ - Kenya - """ - KE - - """ - Kyrgyzstan - """ - KG - - """ - Cambodia - """ - KH - - """ - Kiribati - """ - KI - - """ - Comoros - """ - KM - - """ - Saint Kitts and Nevis - """ - KN - - """ - Korea (Democratic People's Republic of) - """ - KP - - """ - Korea (Republic of) - """ - KR - - """ - Kuwait - """ - KW - - """ - Cayman Islands - """ - KY - - """ - Kazakhstan - """ - KZ - - """ - Lao People's Democratic Republic - """ - LA - - """ - Lebanon - """ - LB - - """ - Saint Lucia - """ - LC - - """ - Liechtenstein - """ - LI - - """ - Sri Lanka - """ - LK - - """ - Liberia - """ - LR - - """ - Lesotho - """ - LS - - """ - Lithuania - """ - LT - - """ - Luxembourg - """ - LU - - """ - Latvia - """ - LV - - """ - Libya - """ - LY - - """ - Morocco - """ - MA - - """ - Monaco - """ - MC - - """ - Moldova (Republic of) - """ - MD - - """ - Montenegro - """ - ME - - """ - Saint Martin (French part) - """ - MF - - """ - Madagascar - """ - MG - - """ - Marshall Islands - """ - MH - - """ - North Macedonia - """ - MK - - """ - Mali - """ - ML - - """ - Myanmar - """ - MM - - """ - Mongolia - """ - MN - - """ - Macao - """ - MO - - """ - Northern Mariana Islands - """ - MP - - """ - Martinique - """ - MQ - - """ - Mauritania - """ - MR - - """ - Montserrat - """ - MS - - """ - Malta - """ - MT - - """ - Mauritius - """ - MU - - """ - Maldives - """ - MV - - """ - Malawi - """ - MW - - """ - Mexico - """ - MX - - """ - Malaysia - """ - MY - - """ - Mozambique - """ - MZ - - """ - Namibia - """ - NA - - """ - New Caledonia - """ - NC - - """ - Niger - """ - NE - - """ - Norfolk Island - """ - NF - - """ - Nigeria - """ - NG - - """ - Nicaragua - """ - NI - - """ - Netherlands - """ - NL - - """ - Norway - """ - NO - - """ - Nepal - """ - NP - - """ - Nauru - """ - NR - - """ - Niue - """ - NU - - """ - New Zealand - """ - NZ - - """ - Oman - """ - OM - - """ - Panama - """ - PA - - """ - Peru - """ - PE - - """ - French Polynesia - """ - PF - - """ - Papua New Guinea - """ - PG - - """ - Philippines - """ - PH - - """ - Pakistan - """ - PK - - """ - Poland - """ - PL - - """ - Saint Pierre and Miquelon - """ - PM - - """ - Pitcairn - """ - PN - - """ - Puerto Rico - """ - PR - - """ - Palestine, State of - """ - PS - - """ - Portugal - """ - PT - - """ - Palau - """ - PW - - """ - Paraguay - """ - PY - - """ - Qatar - """ - QA - - """ - Réunion - """ - RE - - """ - Romania - """ - RO - - """ - Serbia - """ - RS - - """ - Russian Federation - """ - RU - - """ - Rwanda - """ - RW - - """ - Saudi Arabia - """ - SA - - """ - Solomon Islands - """ - SB - - """ - Seychelles - """ - SC - - """ - Sudan - """ - SD - - """ - Sweden - """ - SE - - """ - Singapore - """ - SG - - """ - Saint Helena, Ascension and Tristan da Cunha - """ - SH - - """ - Slovenia - """ - SI - - """ - Svalbard and Jan Mayen - """ - SJ - - """ - Slovakia - """ - SK - - """ - Sierra Leone - """ - SL - - """ - San Marino - """ - SM - - """ - Senegal - """ - SN - - """ - Somalia - """ - SO - - """ - Suriname - """ - SR - - """ - South Sudan - """ - SS - - """ - Sao Tome and Principe - """ - ST - - """ - El Salvador - """ - SV - - """ - Sint Maarten (Dutch part) - """ - SX - - """ - Syrian Arab Republic - """ - SY - - """ - Eswatini - """ - SZ - - """ - Turks and Caicos Islands - """ - TC - - """ - Chad - """ - TD - - """ - French Southern Territories - """ - TF - - """ - Togo - """ - TG - - """ - Thailand - """ - TH - - """ - Tajikistan - """ - TJ - - """ - Tokelau - """ - TK - - """ - Timor-Leste - """ - TL - - """ - Turkmenistan - """ - TM - - """ - Tunisia - """ - TN - - """ - Tonga - """ - TO - - """ - Türkiye - """ - TR - - """ - Trinidad and Tobago - """ - TT - - """ - Tuvalu - """ - TV - - """ - Taiwan, Province of China - """ - TW - - """ - Tanzania, United Republic of - """ - TZ - - """ - Ukraine - """ - UA - - """ - Uganda - """ - UG - - """ - United States Minor Outlying Islands - """ - UM - - """ - United States of America - """ - US - - """ - Uruguay - """ - UY - - """ - Uzbekistan - """ - UZ - - """ - Holy See - """ - VA - - """ - Saint Vincent and the Grenadines - """ - VC - - """ - Venezuela (Bolivarian Republic of) - """ - VE - - """ - Virgin Islands (British) - """ - VG - - """ - Virgin Islands (U.S.) - """ - VI - - """ - Viet Nam - """ - VN - - """ - Vanuatu - """ - VU - - """ - Wallis and Futuna - """ - WF - - """ - Samoa - """ - WS - - """ - Yemen - """ - YE - - """ - Mayotte - """ - YT - - """ - South Africa - """ - ZA - - """ - Zambia - """ - ZM - - """ - Zimbabwe - """ - ZW -} - -type Coupon { - amountCents: BigInt - amountCurrency: CurrencyEnum - appliedCouponsCount: Int! - billableMetrics: [BillableMetric!] - code: String - couponType: CouponTypeEnum! - createdAt: ISO8601DateTime! - - """ - Number of customers using this coupon - """ - customersCount: Int! - description: String - expiration: CouponExpiration! - expirationAt: ISO8601DateTime - frequency: CouponFrequency! - frequencyDuration: Int - id: ID! - limitedBillableMetrics: Boolean! - limitedPlans: Boolean! - name: String! - organization: Organization - percentageRate: Float - plans: [Plan!] - reusable: Boolean! - status: CouponStatusEnum! - terminatedAt: ISO8601DateTime - updatedAt: ISO8601DateTime! -} - -""" -CouponCollection type -""" -type CouponCollection { - """ - A collection of paginated CouponCollection - """ - collection: [Coupon!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum CouponExpiration { - no_expiration - time_limit -} - -enum CouponFrequency { - forever - once - recurring -} - -enum CouponStatusEnum { - active - terminated -} - -enum CouponTypeEnum { - fixed_amount - percentage -} - -""" -Autogenerated input type of CreateAddOn -""" -input CreateAddOnInput { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String - invoiceDisplayName: String - name: String! - taxCodes: [String!] -} - -""" -Create Adjusted Fee Input -""" -input CreateAdjustedFeeInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - feeId: ID! - invoiceDisplayName: String - unitAmountCents: BigInt - units: Float -} - -""" -Autogenerated input type of CreateAnrokIntegration -""" -input CreateAnrokIntegrationInput { - apiKey: String! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - connectionId: String! - name: String! -} - -""" -Autogenerated input type of CreateAppliedCoupon -""" -input CreateAppliedCouponInput { - amountCents: BigInt - amountCurrency: CurrencyEnum - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - couponId: ID! - customerId: ID! - frequency: CouponFrequency - frequencyDuration: Int - percentageRate: Float -} - -""" -Create Billable metric input arguments -""" -input CreateBillableMetricInput { - aggregationType: AggregationTypeEnum! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String! - fieldName: String - filters: [BillableMetricFiltersInput!] - name: String! - recurring: Boolean - weightedInterval: WeightedIntervalEnum -} - -""" -Autogenerated input type of CreateCoupon -""" -input CreateCouponInput { - amountCents: BigInt - amountCurrency: CurrencyEnum - appliesTo: LimitationInput - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - couponType: CouponTypeEnum! - description: String - expiration: CouponExpiration! - expirationAt: ISO8601DateTime - frequency: CouponFrequency! - frequencyDuration: Int - name: String! - percentageRate: Float - reusable: Boolean -} - -""" -Autogenerated input type of CreateCreditNote -""" -input CreateCreditNoteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - creditAmountCents: BigInt - description: String - invoiceId: ID! - items: [CreditNoteItemInput!]! - reason: CreditNoteReasonEnum! - refundAmountCents: BigInt -} - -""" -Create Customer input arguments -""" -input CreateCustomerInput { - addressLine1: String - addressLine2: String - billingConfiguration: CustomerBillingConfigurationInput - city: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - country: CountryCode - currency: CurrencyEnum - customerType: CustomerTypeEnum - email: String - externalId: String! - externalSalesforceId: String - finalizeZeroAmountInvoice: FinalizeZeroAmountInvoiceEnum - firstname: String - integrationCustomers: [IntegrationCustomerInput!] - invoiceGracePeriod: Int - lastname: String - legalName: String - legalNumber: String - logoUrl: String - metadata: [CustomerMetadataInput!] - name: String - netPaymentTerm: Int - paymentProvider: ProviderTypeEnum - paymentProviderCode: String - phone: String - providerCustomer: ProviderCustomerInput - shippingAddress: CustomerAddressInput - state: String - taxCodes: [String!] - taxIdentificationNumber: String - timezone: TimezoneEnum - url: String - zipcode: String -} - -""" -Create Wallet Input -""" -input CreateCustomerWalletInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - currency: CurrencyEnum! - customerId: ID! - expirationAt: ISO8601DateTime - grantedCredits: String! - invoiceRequiresSuccessfulPayment: Boolean - name: String - paidCredits: String! - rateAmount: String! - recurringTransactionRules: [CreateRecurringTransactionRuleInput!] -} - -""" -Autogenerated input type of CreateCustomerWalletTransaction -""" -input CreateCustomerWalletTransactionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - grantedCredits: String - invoiceRequiresSuccessfulPayment: Boolean - paidCredits: String - voidedCredits: String - walletId: ID! -} - -""" -Autogenerated input type of CreateInvoicesDataExport -""" -input CreateDataExportsInvoicesInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - filters: DataExportInvoiceFiltersInput! - format: DataExportFormatTypeEnum! - resourceType: ExportTypeEnum! -} - -""" -Autogenerated input type of CreateHubspotIntegration -""" -input CreateHubspotIntegrationInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - connectionId: String! - defaultTargetedObject: TargetedObjectsEnum! - name: String! - privateAppToken: String! - syncInvoices: Boolean - syncSubscriptions: Boolean -} - -""" -Autogenerated input type of CreateIntegrationCollectionMapping -""" -input CreateIntegrationCollectionMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - externalAccountCode: String - externalId: String! - externalName: String - integrationId: ID! - mappingType: MappingTypeEnum! -} - -""" -Autogenerated input type of CreateIntegrationMapping -""" -input CreateIntegrationMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - externalAccountCode: String - externalId: String! - externalName: String - integrationId: ID! - mappableId: ID! - mappableType: MappableTypeEnum! -} - -""" -Autogenerated input type of CreateInvite -""" -input CreateInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! - role: MembershipRole! -} - -""" -Create Invoice input arguments -""" -input CreateInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - currency: CurrencyEnum - customerId: ID! - fees: [FeeInput!]! -} - -""" -Autogenerated input type of CreateNetsuiteIntegration -""" -input CreateNetsuiteIntegrationInput { - accountId: String! - clientId: String! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - clientSecret: String! - code: String! - connectionId: String! - name: String! - scriptEndpointUrl: String! - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean - syncSalesOrders: Boolean - tokenId: String! - tokenSecret: String! -} - -""" -Autogenerated input type of CreateOktaIntegration -""" -input CreateOktaIntegrationInput { - clientId: String! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - clientSecret: String! - domain: String! - organizationName: String! -} - -""" -Autogenerated input type of CreatePasswordReset -""" -input CreatePasswordResetInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! -} - -""" -Autogenerated return type of CreatePasswordReset. -""" -type CreatePasswordResetPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: String! -} - -""" -Autogenerated input type of CreatePlan -""" -input CreatePlanInput { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - billChargesMonthly: Boolean - charges: [ChargeInput!]! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String - interval: PlanInterval! - invoiceDisplayName: String - minimumCommitment: CommitmentInput - name: String! - payInAdvance: Boolean! - taxCodes: [String!] - trialPeriod: Float - usageThresholds: [UsageThresholdInput!] -} - -input CreateRecurringTransactionRuleInput { - grantedCredits: String - interval: RecurringTransactionIntervalEnum - invoiceRequiresSuccessfulPayment: Boolean - method: RecurringTransactionMethodEnum - paidCredits: String - startedAt: ISO8601DateTime - targetOngoingBalance: String - thresholdCredits: String - trigger: RecurringTransactionTriggerEnum! -} - -""" -Create Subscription input arguments -""" -input CreateSubscriptionInput { - billingTime: BillingTimeEnum! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - customerId: ID! - endingAt: ISO8601DateTime - externalId: String - name: String - planId: ID! - planOverrides: PlanOverridesInput - subscriptionAt: ISO8601DateTime - subscriptionId: ID -} - -""" -Autogenerated input type of CreateXeroIntegration -""" -input CreateXeroIntegrationInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - connectionId: String! - name: String! - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean -} - -""" -CreditNote -""" -type CreditNote { - appliedTaxes: [CreditNoteAppliedTax!] - balanceAmountCents: BigInt! - - """ - Check if credit note can be voided - """ - canBeVoided: Boolean! - couponsAdjustmentAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditAmountCents: BigInt! - creditStatus: CreditNoteCreditStatusEnum - currency: CurrencyEnum! - customer: Customer! - description: String - errorDetails: [ErrorDetail!] - externalIntegrationId: String - fileUrl: String - id: ID! - integrationSyncable: Boolean! - invoice: Invoice - issuingDate: ISO8601Date! - items: [CreditNoteItem!]! - number: String! - reason: CreditNoteReasonEnum! - refundAmountCents: BigInt! - refundStatus: CreditNoteRefundStatusEnum - refundedAt: ISO8601DateTime - sequentialId: ID! - subTotalExcludingTaxesAmountCents: BigInt! - taxProviderId: String - taxProviderSyncable: Boolean! - taxesAmountCents: BigInt! - taxesRate: Float! - totalAmountCents: BigInt! - updatedAt: ISO8601DateTime! - voidedAt: ISO8601DateTime -} - -type CreditNoteAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - baseAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditNote: CreditNote! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -""" -CreditNoteCollection type -""" -type CreditNoteCollection { - """ - A collection of paginated CreditNoteCollection - """ - collection: [CreditNote!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum CreditNoteCreditStatusEnum { - available - consumed - voided -} - -""" -Estimate amounts for credit note creation -""" -type CreditNoteEstimate { - appliedTaxes: [CreditNoteAppliedTax!]! - couponsAdjustmentAmountCents: BigInt! - currency: CurrencyEnum! - items: [CreditNoteItemEstimate!]! - maxCreditableAmountCents: BigInt! - maxRefundableAmountCents: BigInt! - preciseCouponsAdjustmentAmountCents: Float! - preciseTaxesAmountCents: Float! - subTotalExcludingTaxesAmountCents: BigInt! - taxesAmountCents: BigInt! - taxesRate: Float! -} - -type CreditNoteItem { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - fee: Fee! - id: ID! -} - -type CreditNoteItemEstimate { - amountCents: BigInt! - fee: Fee! -} - -input CreditNoteItemInput { - amountCents: BigInt! - feeId: ID! -} - -enum CreditNoteReasonEnum { - duplicated_charge - fraudulent_charge - order_cancellation - order_change - other - product_unsatisfactory -} - -enum CreditNoteRefundStatusEnum { - failed - pending - succeeded -} - -enum CurrencyEnum { - """ - United Arab Emirates Dirham - """ - AED - - """ - Afghan Afghani - """ - AFN - - """ - Albanian Lek - """ - ALL - - """ - Armenian Dram - """ - AMD - - """ - Netherlands Antillean Gulden - """ - ANG - - """ - Angolan Kwanza - """ - AOA - - """ - Argentine Peso - """ - ARS - - """ - Australian Dollar - """ - AUD - - """ - Aruban Florin - """ - AWG - - """ - Azerbaijani Manat - """ - AZN - - """ - Bosnia and Herzegovina Convertible Mark - """ - BAM - - """ - Barbadian Dollar - """ - BBD - - """ - Bangladeshi Taka - """ - BDT - - """ - Bulgarian Lev - """ - BGN - - """ - Burundian Franc - """ - BIF - - """ - Bermudian Dollar - """ - BMD - - """ - Brunei Dollar - """ - BND - - """ - Bolivian Boliviano - """ - BOB - - """ - Brazilian Real - """ - BRL - - """ - Bahamian Dollar - """ - BSD - - """ - Botswana Pula - """ - BWP - - """ - Belarusian Ruble - """ - BYN - - """ - Belize Dollar - """ - BZD - - """ - Canadian Dollar - """ - CAD - - """ - Congolese Franc - """ - CDF - - """ - Swiss Franc - """ - CHF - - """ - Unidad de Fomento - """ - CLF - - """ - Chilean Peso - """ - CLP - - """ - Chinese Renminbi Yuan - """ - CNY - - """ - Colombian Peso - """ - COP - - """ - Costa Rican Colón - """ - CRC - - """ - Cape Verdean Escudo - """ - CVE - - """ - Czech Koruna - """ - CZK - - """ - Djiboutian Franc - """ - DJF - - """ - Danish Krone - """ - DKK - - """ - Dominican Peso - """ - DOP - - """ - Algerian Dinar - """ - DZD - - """ - Egyptian Pound - """ - EGP - - """ - Ethiopian Birr - """ - ETB - - """ - Euro - """ - EUR - - """ - Fijian Dollar - """ - FJD - - """ - Falkland Pound - """ - FKP - - """ - British Pound - """ - GBP - - """ - Georgian Lari - """ - GEL - - """ - Gibraltar Pound - """ - GIP - - """ - Gambian Dalasi - """ - GMD - - """ - Guinean Franc - """ - GNF - - """ - Guatemalan Quetzal - """ - GTQ - - """ - Guyanese Dollar - """ - GYD - - """ - Hong Kong Dollar - """ - HKD - - """ - Honduran Lempira - """ - HNL - - """ - Croatian Kuna - """ - HRK - - """ - Haitian Gourde - """ - HTG - - """ - Hungarian Forint - """ - HUF - - """ - Indonesian Rupiah - """ - IDR - - """ - Israeli New Sheqel - """ - ILS - - """ - Indian Rupee - """ - INR - - """ - Iranian Rial - """ - IRR - - """ - Icelandic Króna - """ - ISK - - """ - Jamaican Dollar - """ - JMD - - """ - Jordanian Dinar - """ - JOD - - """ - Japanese Yen - """ - JPY - - """ - Kenyan Shilling - """ - KES - - """ - Kyrgyzstani Som - """ - KGS - - """ - Cambodian Riel - """ - KHR - - """ - Comorian Franc - """ - KMF - - """ - South Korean Won - """ - KRW - - """ - Kuwaiti Dinar - """ - KWD - - """ - Cayman Islands Dollar - """ - KYD - - """ - Kazakhstani Tenge - """ - KZT - - """ - Lao Kip - """ - LAK - - """ - Lebanese Pound - """ - LBP - - """ - Sri Lankan Rupee - """ - LKR - - """ - Liberian Dollar - """ - LRD - - """ - Lesotho Loti - """ - LSL - - """ - Moroccan Dirham - """ - MAD - - """ - Moldovan Leu - """ - MDL - - """ - Malagasy Ariary - """ - MGA - - """ - Macedonian Denar - """ - MKD - - """ - Myanmar Kyat - """ - MMK - - """ - Mongolian Tögrög - """ - MNT - - """ - Macanese Pataca - """ - MOP - - """ - Mauritanian Ouguiya - """ - MRO - - """ - Mauritian Rupee - """ - MUR - - """ - Maldivian Rufiyaa - """ - MVR - - """ - Malawian Kwacha - """ - MWK - - """ - Mexican Peso - """ - MXN - - """ - Malaysian Ringgit - """ - MYR - - """ - Mozambican Metical - """ - MZN - - """ - Namibian Dollar - """ - NAD - - """ - Nigerian Naira - """ - NGN - - """ - Nicaraguan Córdoba - """ - NIO - - """ - Norwegian Krone - """ - NOK - - """ - Nepalese Rupee - """ - NPR - - """ - New Zealand Dollar - """ - NZD - - """ - Panamanian Balboa - """ - PAB - - """ - Peruvian Sol - """ - PEN - - """ - Papua New Guinean Kina - """ - PGK - - """ - Philippine Peso - """ - PHP - - """ - Pakistani Rupee - """ - PKR - - """ - Polish Złoty - """ - PLN - - """ - Paraguayan Guaraní - """ - PYG - - """ - Qatari Riyal - """ - QAR - - """ - Romanian Leu - """ - RON - - """ - Serbian Dinar - """ - RSD - - """ - Russian Ruble - """ - RUB - - """ - Rwandan Franc - """ - RWF - - """ - Saudi Riyal - """ - SAR - - """ - Solomon Islands Dollar - """ - SBD - - """ - Seychellois Rupee - """ - SCR - - """ - Swedish Krona - """ - SEK - - """ - Singapore Dollar - """ - SGD - - """ - Saint Helenian Pound - """ - SHP - - """ - Sierra Leonean Leone - """ - SLL - - """ - Somali Shilling - """ - SOS - - """ - Surinamese Dollar - """ - SRD - - """ - São Tomé and Príncipe Dobra - """ - STD - - """ - Swazi Lilangeni - """ - SZL - - """ - Thai Baht - """ - THB - - """ - Tajikistani Somoni - """ - TJS - - """ - Tongan Paʻanga - """ - TOP - - """ - Turkish Lira - """ - TRY - - """ - Trinidad and Tobago Dollar - """ - TTD - - """ - New Taiwan Dollar - """ - TWD - - """ - Tanzanian Shilling - """ - TZS - - """ - Ukrainian Hryvnia - """ - UAH - - """ - Ugandan Shilling - """ - UGX - - """ - United States Dollar - """ - USD - - """ - Uruguayan Peso - """ - UYU - - """ - Uzbekistan Som - """ - UZS - - """ - Vietnamese Đồng - """ - VND - - """ - Vanuatu Vatu - """ - VUV - - """ - Samoan Tala - """ - WST - - """ - Central African Cfa Franc - """ - XAF - - """ - East Caribbean Dollar - """ - XCD - - """ - West African Cfa Franc - """ - XOF - - """ - Cfp Franc - """ - XPF - - """ - Yemeni Rial - """ - YER - - """ - South African Rand - """ - ZAR - - """ - Zambian Kwacha - """ - ZMW -} - -""" -Current Organization Type -""" -type CurrentOrganization { - addressLine1: String - addressLine2: String - adyenPaymentProviders: [AdyenProvider!] - apiKey: String - billingConfiguration: OrganizationBillingConfiguration - city: String - country: CountryCode - createdAt: ISO8601DateTime! - defaultCurrency: CurrencyEnum! - documentNumberPrefix: String! - documentNumbering: DocumentNumberingEnum! - email: String - emailSettings: [EmailSettingsEnum!] - euTaxManagement: Boolean! - finalizeZeroAmountInvoice: Boolean! - gocardlessPaymentProviders: [GocardlessProvider!] - id: ID! - legalName: String - legalNumber: String - logoUrl: String - name: String! - netPaymentTerm: Int! - premiumIntegrations: [PremiumIntegrationTypeEnum!]! - state: String - stripePaymentProviders: [StripeProvider!] - taxIdentificationNumber: String - - """ - Query taxes of an organization - """ - taxes(appliedToOrganization: Boolean, autoGenerated: Boolean, limit: Int, order: String, page: Int, searchTerm: String): [Tax!] - timezone: TimezoneEnum - updatedAt: ISO8601DateTime! - webhookUrl: String - zipcode: String -} - -type CurrentVersion { - githubUrl: String! - number: String! -} - -type Customer { - """ - Number of active subscriptions per customer - """ - activeSubscriptionsCount: Int! - addressLine1: String - addressLine2: String - anrokCustomer: AnrokCustomer - applicableTimezone: TimezoneEnum! - appliedAddOns: [AppliedAddOn!] - appliedCoupons: [AppliedCoupon!] - billingConfiguration: CustomerBillingConfiguration - - """ - Check if customer attributes are editable - """ - canEditAttributes: Boolean! - city: String - country: CountryCode - createdAt: ISO8601DateTime! - creditNotes: [CreditNote!] - - """ - Credit notes credits balance available per customer - """ - creditNotesBalanceAmountCents: BigInt! - - """ - Number of available credits from credit notes per customer - """ - creditNotesCreditsAvailableCount: Int! - currency: CurrencyEnum - customerType: CustomerTypeEnum - deletedAt: ISO8601DateTime - displayName: String! - email: String - externalId: String! - externalSalesforceId: String - - """ - Options for handling invoices with a zero total amount. - """ - finalizeZeroAmountInvoice: FinalizeZeroAmountInvoiceEnum - firstname: String - - """ - Define if a customer has an active wallet - """ - hasActiveWallet: Boolean! - - """ - Define if a customer has any credit note - """ - hasCreditNotes: Boolean! - - """ - Define if a customer has overdue invoices - """ - hasOverdueInvoices: Boolean! - id: ID! - invoiceGracePeriod: Int - invoices: [Invoice!] - lastname: String - legalName: String - legalNumber: String - logoUrl: String - metadata: [CustomerMetadata!] - name: String - netPaymentTerm: Int - netsuiteCustomer: NetsuiteCustomer - paymentProvider: ProviderTypeEnum - paymentProviderCode: String - phone: String - providerCustomer: ProviderCustomer - sequentialId: String! - shippingAddress: CustomerAddress - slug: String! - state: String - - """ - Query subscriptions of a customer - """ - subscriptions( - """ - Statuses of subscriptions to retrieve - """ - status: [StatusTypeEnum!] - ): [Subscription!]! - taxIdentificationNumber: String - taxes: [Tax!] - timezone: TimezoneEnum - updatedAt: ISO8601DateTime! - url: String - xeroCustomer: XeroCustomer - zipcode: String -} - -type CustomerAddress { - addressLine1: String - addressLine2: String - city: String - country: CountryCode - state: String - zipcode: String -} - -input CustomerAddressInput { - addressLine1: String - addressLine2: String - city: String - country: CountryCode - state: String - zipcode: String -} - -type CustomerBillingConfiguration { - documentLocale: String - id: ID! -} - -input CustomerBillingConfigurationInput { - documentLocale: String -} - -""" -CustomerCollection type -""" -type CustomerCollection { - """ - A collection of paginated CustomerCollection - """ - collection: [Customer!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type CustomerMetadata { - createdAt: ISO8601DateTime! - displayInInvoice: Boolean! - id: ID! - key: String! - updatedAt: ISO8601DateTime! - value: String! -} - -input CustomerMetadataInput { - displayInInvoice: Boolean! - id: ID - key: String! - value: String! -} - -enum CustomerTypeEnum { - company - individual -} - -type CustomerUsage { - amountCents: BigInt! - chargesUsage: [ChargeUsage!]! - currency: CurrencyEnum! - fromDatetime: ISO8601DateTime! - issuingDate: ISO8601Date! - taxesAmountCents: BigInt! - toDatetime: ISO8601DateTime! - totalAmountCents: BigInt! -} - -type DataExport { - id: ID! - status: DataExportStatusEnum! -} - -enum DataExportFormatTypeEnum { - csv -} - -""" -Export Invoices search query and filters input argument -""" -input DataExportInvoiceFiltersInput { - currency: CurrencyEnum - customerExternalId: String - invoiceType: [InvoiceTypeEnum!] - issuingDateFrom: ISO8601Date - issuingDateTo: ISO8601Date - paymentDisputeLost: Boolean - paymentOverdue: Boolean - paymentStatus: [InvoicePaymentStatusTypeEnum!] - searchTerm: String - status: [InvoiceStatusTypeEnum!] -} - -enum DataExportStatusEnum { - completed - failed - pending - processing -} - -""" -Autogenerated input type of DestroyAddOn -""" -input DestroyAddOnInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyAddOn. -""" -type DestroyAddOnPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyAdjustedFee -""" -input DestroyAdjustedFeeInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyAdjustedFee. -""" -type DestroyAdjustedFeePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyBillableMetric -""" -input DestroyBillableMetricInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: String! -} - -""" -Autogenerated return type of DestroyBillableMetric. -""" -type DestroyBillableMetricPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyCoupon -""" -input DestroyCouponInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyCoupon. -""" -type DestroyCouponPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyCustomer -""" -input DestroyCustomerInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyCustomer. -""" -type DestroyCustomerPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyIntegrationCollectionMapping -""" -input DestroyIntegrationCollectionMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyIntegrationCollectionMapping. -""" -type DestroyIntegrationCollectionMappingPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyIntegration -""" -input DestroyIntegrationInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of DestroyIntegrationMapping -""" -input DestroyIntegrationMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyIntegrationMapping. -""" -type DestroyIntegrationMappingPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated return type of DestroyIntegration. -""" -type DestroyIntegrationPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyPaymentProvider -""" -input DestroyPaymentProviderInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyPaymentProvider. -""" -type DestroyPaymentProviderPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyPlan -""" -input DestroyPlanInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyPlan. -""" -type DestroyPlanPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyTax -""" -input DestroyTaxInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyTax. -""" -type DestroyTaxPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Autogenerated input type of DestroyWebhookEndpoint -""" -input DestroyWebhookEndpointInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of DestroyWebhookEndpoint. -""" -type DestroyWebhookEndpointPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID -} - -""" -Document numbering type -""" -enum DocumentNumberingEnum { - per_customer - per_organization -} - -""" -Autogenerated input type of DownloadCreditNote -""" -input DownloadCreditNoteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of DownloadInvoice -""" -input DownloadInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Organization Email Settings Values -""" -enum EmailSettingsEnum { - """ - credit_note.created - """ - credit_note_created - - """ - invoice.finalized - """ - invoice_finalized -} - -enum ErrorCodesEnum { - not_provided - tax_error - tax_voiding_error -} - -type ErrorDetail { - errorCode: ErrorCodesEnum! - errorDetails: String - id: ID! -} - -type Event { - apiClient: String - billableMetricName: String - code: String! - customerTimezone: TimezoneEnum! - deletedAt: ISO8601DateTime - externalCustomerId: String - externalSubscriptionId: String - id: ID! - ipAddress: String - matchBillableMetric: Boolean! - matchCustomField: Boolean! - matchCustomer: Boolean! - matchSubscription: Boolean! - payload: JSON! - receivedAt: ISO8601DateTime! - timestamp: ISO8601DateTime - transactionId: String -} - -""" -EventCollection type -""" -type EventCollection { - """ - A collection of paginated EventCollection - """ - collection: [Event!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum ExportTypeEnum { - invoice_fees - invoices -} - -type Fee implements InvoiceItem { - adjustedFee: Boolean! - adjustedFeeType: AdjustedFeeTypeEnum - amountCents: BigInt! - amountCurrency: CurrencyEnum! - amountDetails: FeeAmountDetails - appliedTaxes: [FeeAppliedTax!] - charge: Charge - chargeFilter: ChargeFilter - creditableAmountCents: BigInt! - currency: CurrencyEnum! - description: String - eventsCount: BigInt - feeType: FeeTypesEnum! - groupedBy: JSON! - id: ID! - invoiceDisplayName: String - invoiceName: String - itemCode: String! - itemName: String! - itemType: String! - preciseUnitAmount: Float! - subscription: Subscription - succeededAt: ISO8601DateTime - taxesAmountCents: BigInt! - taxesRate: Float - trueUpFee: Fee - trueUpParentFee: Fee - units: Float! -} - -type FeeAmountDetails { - fixedFeeTotalAmount: String - fixedFeeUnitAmount: String - flatUnitAmount: String - freeEvents: Int - freeUnits: String - graduatedPercentageRanges: [FeeAmountDetailsGraduatedPercentageRange!] - graduatedRanges: [FeeAmountDetailsGraduatedRange!] - minMaxAdjustmentTotalAmount: String - paidEvents: Int - paidUnits: String - perPackageSize: Int - perPackageUnitAmount: String - perUnitAmount: String - perUnitTotalAmount: String - rate: String - units: String -} - -type FeeAmountDetailsGraduatedPercentageRange { - flatUnitAmount: String - fromValue: BigInt - perUnitTotalAmount: String - rate: String - toValue: BigInt - totalWithFlatAmount: String - units: String -} - -type FeeAmountDetailsGraduatedRange { - flatUnitAmount: String - fromValue: BigInt - perUnitAmount: String - perUnitTotalAmount: String - toValue: BigInt - totalWithFlatAmount: String - units: String -} - -type FeeAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - fee: Fee! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -""" -Fee input for creating invoice -""" -input FeeInput { - addOnId: ID! - description: String - invoiceDisplayName: String - name: String - taxCodes: [String!] - unitAmountCents: BigInt - units: Float -} - -enum FeeTypesEnum { - add_on - charge - commitment - credit - subscription -} - -""" -Create Invoice input arguments -""" -input FetchDraftInvoiceTaxesInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - currency: CurrencyEnum - customerId: ID! - fees: [FeeInput!]! -} - -""" -Autogenerated input type of FetchIntegrationAccounts -""" -input FetchIntegrationAccountsInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - integrationId: ID! -} - -""" -Autogenerated input type of FetchIntegrationItems -""" -input FetchIntegrationItemsInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - integrationId: ID! -} - -""" -Autogenerated input type of FetchIntegrationTaxItems -""" -input FetchIntegrationTaxItemsInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - integrationId: ID! -} - -""" -Autogenerated input type of FinalizeAllInvoices -""" -input FinalizeAllInvoicesInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - -""" -Autogenerated input type of FinalizeInvoice -""" -input FinalizeInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -enum FinalizeZeroAmountInvoiceEnum { - finalize - inherit - skip -} - -type FinalizedInvoiceCollection { - amountCents: BigInt! - currency: CurrencyEnum - invoicesCount: BigInt! - month: ISO8601DateTime! - paymentStatus: InvoicePaymentStatusTypeEnum -} - -""" -FinalizedInvoiceCollectionCollection type -""" -type FinalizedInvoiceCollectionCollection { - """ - A collection of paginated FinalizedInvoiceCollectionCollection - """ - collection: [FinalizedInvoiceCollection!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Autogenerated input type of GenerateCustomerPortalUrl -""" -input GenerateCustomerPortalUrlInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated return type of GenerateCustomerPortalUrl. -""" -type GenerateCustomerPortalUrlPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - url: String! -} - -type GocardlessProvider { - code: String! - hasAccessToken: Boolean - id: ID! - name: String! - successRedirectUrl: String - webhookSecret: String -} - -""" -Autogenerated input type of GoogleAcceptInvite -""" -input GoogleAcceptInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - inviteToken: String! -} - -""" -Autogenerated input type of GoogleLoginUser -""" -input GoogleLoginUserInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! -} - -""" -Autogenerated input type of GoogleRegisterUser -""" -input GoogleRegisterUserInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - organizationName: String! -} - -type GraduatedPercentageRange { - flatAmount: String! - fromValue: BigInt! - rate: String! - toValue: BigInt -} - -input GraduatedPercentageRangeInput { - flatAmount: String! - fromValue: BigInt! - rate: String! - toValue: BigInt -} - -type GraduatedRange { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -input GraduatedRangeInput { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -type GrossRevenue { - amountCents: BigInt - currency: CurrencyEnum - invoicesCount: BigInt! - month: ISO8601DateTime! -} - -""" -GrossRevenueCollection type -""" -type GrossRevenueCollection { - """ - A collection of paginated GrossRevenueCollection - """ - collection: [GrossRevenue!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type GroupedChargeUsage { - amountCents: BigInt! - eventsCount: Int! - filters: [ChargeFilterUsage!] - groupedBy: JSON - id: ID! - units: Float! -} - -type HubspotIntegration { - code: String! - connectionId: ID! - defaultTargetedObject: TargetedObjectsEnum! - id: ID! - name: String! - privateAppToken: String! - syncInvoices: Boolean - syncSubscriptions: Boolean -} - -""" -An ISO 8601-encoded date -""" -scalar ISO8601Date @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") - -""" -An ISO 8601-encoded datetime -""" -scalar ISO8601DateTime @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") - -union Integration = AnrokIntegration | HubspotIntegration | NetsuiteIntegration | OktaIntegration | XeroIntegration - -""" -IntegrationCollection type -""" -type IntegrationCollection { - """ - A collection of paginated IntegrationCollection - """ - collection: [Integration!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -input IntegrationCustomerInput { - externalCustomerId: String - id: ID - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - subsidiaryId: String - syncWithProvider: Boolean -} - -type IntegrationItem { - externalAccountCode: String - externalId: String! - externalName: String - id: ID! - integrationId: ID! - itemType: IntegrationItemTypeEnum! -} - -""" -IntegrationItemCollection type -""" -type IntegrationItemCollection { - """ - A collection of paginated IntegrationItemCollection - """ - collection: [IntegrationItem!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum IntegrationItemTypeEnum { - account - standard - tax -} - -enum IntegrationTypeEnum { - anrok - hubspot - netsuite - okta - progressive_billing - xero -} - -type Invite { - acceptedAt: ISO8601DateTime! - email: String! - id: ID! - organization: Organization! - recipient: Membership! - revokedAt: ISO8601DateTime! - role: MembershipRole! - status: InviteStatusTypeEnum! - token: String! -} - -""" -InviteCollection type -""" -type InviteCollection { - """ - A collection of paginated InviteCollection - """ - collection: [Invite!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum InviteStatusTypeEnum { - accepted - pending - revoked -} - -""" -Invoice -""" -type Invoice { - appliedTaxes: [InvoiceAppliedTax!] - chargeAmountCents: BigInt! - couponsAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditNotes: [CreditNote!] - creditNotesAmountCents: BigInt! - creditableAmountCents: BigInt! - currency: CurrencyEnum - customer: Customer! - errorDetails: [ErrorDetail!] - externalIntegrationId: String - fees: [Fee!] - feesAmountCents: BigInt! - fileUrl: String - id: ID! - integrationSyncable: Boolean! - invoiceSubscriptions: [InvoiceSubscription!] - invoiceType: InvoiceTypeEnum! - issuingDate: ISO8601Date! - metadata: [InvoiceMetadata!] - number: String! - paymentDisputeLosable: Boolean! - paymentDisputeLostAt: ISO8601DateTime - paymentDueDate: ISO8601Date! - paymentOverdue: Boolean! - paymentStatus: InvoicePaymentStatusTypeEnum! - prepaidCreditAmountCents: BigInt! - progressiveBillingCreditAmountCents: BigInt! - refundableAmountCents: BigInt! - sequentialId: ID! - status: InvoiceStatusTypeEnum! - subTotalExcludingTaxesAmountCents: BigInt! - subTotalIncludingTaxesAmountCents: BigInt! - subscriptions: [Subscription!] - taxProviderVoidable: Boolean! - taxesAmountCents: BigInt! - taxesRate: Float! - totalAmountCents: BigInt! - updatedAt: ISO8601DateTime! - versionNumber: Int! - voidable: Boolean! -} - -type InvoiceAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - appliedOnWholeInvoice: Boolean! - createdAt: ISO8601DateTime! - enumedTaxCode: InvoiceAppliedTaxOnWholeInvoiceCodeEnum - feesAmountCents: BigInt! - id: ID! - invoice: Invoice! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -enum InvoiceAppliedTaxOnWholeInvoiceCodeEnum { - customer_exempt - juris_has_no_tax - juris_not_taxed - not_collecting - reverse_charge - transaction_exempt - unknown_taxation -} - -""" -InvoiceCollection type -""" -type InvoiceCollection { - """ - A collection of paginated InvoiceCollection - """ - collection: [Invoice!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Invoice Item -""" -interface InvoiceItem { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - id: ID! - itemCode: String! - itemName: String! - itemType: String! -} - -""" -Attributes for invoice metadata object -""" -type InvoiceMetadata { - createdAt: ISO8601DateTime! - id: ID! - key: String! - updatedAt: ISO8601DateTime! - value: String! -} - -""" -Attributes for creating or updating invoice metadata object -""" -input InvoiceMetadataInput { - id: ID - key: String! - value: String! -} - -enum InvoicePaymentStatusTypeEnum { - failed - pending - succeeded -} - -enum InvoiceStatusTypeEnum { - closed - draft - failed - finalized - generating - open - voided -} - -type InvoiceSubscription { - chargeAmountCents: BigInt! - chargesFromDatetime: ISO8601DateTime - chargesToDatetime: ISO8601DateTime - fees: [Fee!] - fromDatetime: ISO8601DateTime - inAdvanceChargesFromDatetime: ISO8601DateTime - inAdvanceChargesToDatetime: ISO8601DateTime - invoice: Invoice! - subscription: Subscription! - subscriptionAmountCents: BigInt! - toDatetime: ISO8601DateTime - totalAmountCents: BigInt! -} - -enum InvoiceTypeEnum { - add_on - advance_charges - credit - one_off - progressive_billing - subscription -} - -type InvoicedUsage { - amountCents: BigInt! - code: String - currency: CurrencyEnum! - month: ISO8601DateTime! -} - -""" -InvoicedUsageCollection type -""" -type InvoicedUsageCollection { - """ - A collection of paginated InvoicedUsageCollection - """ - collection: [InvoicedUsage!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Represents untyped JSON -""" -scalar JSON - -input LimitationInput { - billableMetricIds: [ID!] - planIds: [ID!] -} - -type LoginUser { - token: String! - user: User! -} - -""" -Autogenerated input type of LoginUser -""" -input LoginUserInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! - password: String! -} - -""" -Autogenerated input type of LoseInvoiceDispute -""" -input LoseInvoiceDisputeInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -enum MappableTypeEnum { - AddOn - BillableMetric -} - -type Mapping { - externalAccountCode: String - externalId: String! - externalName: String - id: ID! - integrationId: ID! - mappableId: ID! - mappableType: MappableTypeEnum! -} - -""" -MappingCollection type -""" -type MappingCollection { - """ - A collection of paginated MappingCollection - """ - collection: [Mapping!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum MappingTypeEnum { - account - coupon - credit_note - fallback_item - minimum_commitment - prepaid_credit - subscription_fee - tax -} - -type Membership { - createdAt: ISO8601DateTime! - id: ID! - organization: Organization! - permissions: Permissions! - revokedAt: ISO8601DateTime! - role: MembershipRole! - status: MembershipStatus! - updatedAt: ISO8601DateTime! - user: User! -} - -""" -MembershipCollection type -""" -type MembershipCollection { - """ - A collection of paginated MembershipCollection - """ - collection: [Membership!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: Metadata! -} - -enum MembershipRole { - admin - finance - manager -} - -enum MembershipStatus { - active - revoked -} - -""" -Type for CollectionMetadataType -""" -type Metadata { - adminCount: Int! - - """ - Current Page of loaded data - """ - currentPage: Int! - - """ - The number of items per page - """ - limitValue: Int! - - """ - The total number of items to be paginated - """ - totalCount: Int! - - """ - The total number of pages in the pagination - """ - totalPages: Int! -} - -type Mrr { - amountCents: BigInt - currency: CurrencyEnum - month: ISO8601DateTime! -} - -""" -MrrCollection type -""" -type MrrCollection { - """ - A collection of paginated MrrCollection - """ - collection: [Mrr!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type Mutation { - """ - Accepts a new Invite - """ - acceptInvite( - """ - Parameters for AcceptInvite - """ - input: AcceptInviteInput! - ): RegisterUser - - """ - Add Adyen payment provider - """ - addAdyenPaymentProvider( - """ - Parameters for AddAdyenPaymentProvider - """ - input: AddAdyenPaymentProviderInput! - ): AdyenProvider - - """ - Add or update Gocardless payment provider - """ - addGocardlessPaymentProvider( - """ - Parameters for AddGocardlessPaymentProvider - """ - input: AddGocardlessPaymentProviderInput! - ): GocardlessProvider - - """ - Add Stripe API keys to the organization - """ - addStripePaymentProvider( - """ - Parameters for AddStripePaymentProvider - """ - input: AddStripePaymentProviderInput! - ): StripeProvider - - """ - Creates a new add-on - """ - createAddOn( - """ - Parameters for CreateAddOn - """ - input: CreateAddOnInput! - ): AddOn - - """ - Creates Adjusted Fee - """ - createAdjustedFee( - """ - Parameters for CreateAdjustedFee - """ - input: CreateAdjustedFeeInput! - ): Fee - - """ - Create Anrok integration - """ - createAnrokIntegration( - """ - Parameters for CreateAnrokIntegration - """ - input: CreateAnrokIntegrationInput! - ): AnrokIntegration - - """ - Assigns a Coupon to a Customer - """ - createAppliedCoupon( - """ - Parameters for CreateAppliedCoupon - """ - input: CreateAppliedCouponInput! - ): AppliedCoupon - - """ - Creates a new Billable metric - """ - createBillableMetric( - """ - Parameters for CreateBillableMetric - """ - input: CreateBillableMetricInput! - ): BillableMetric - - """ - Creates a new Coupon - """ - createCoupon( - """ - Parameters for CreateCoupon - """ - input: CreateCouponInput! - ): Coupon - - """ - Creates a new Credit Note - """ - createCreditNote( - """ - Parameters for CreateCreditNote - """ - input: CreateCreditNoteInput! - ): CreditNote - - """ - Creates a new customer - """ - createCustomer( - """ - Parameters for CreateCustomer - """ - input: CreateCustomerInput! - ): Customer - - """ - Creates a new Customer Wallet - """ - createCustomerWallet( - """ - Parameters for CreateCustomerWallet - """ - input: CreateCustomerWalletInput! - ): Wallet - - """ - Creates a new Customer Wallet Transaction - """ - createCustomerWalletTransaction( - """ - Parameters for CreateCustomerWalletTransaction - """ - input: CreateCustomerWalletTransactionInput! - ): WalletTransactionCollection - - """ - Create Hubspot integration - """ - createHubspotIntegration( - """ - Parameters for CreateHubspotIntegration - """ - input: CreateHubspotIntegrationInput! - ): HubspotIntegration - - """ - Create integration collection mapping - """ - createIntegrationCollectionMapping( - """ - Parameters for CreateIntegrationCollectionMapping - """ - input: CreateIntegrationCollectionMappingInput! - ): CollectionMapping - - """ - Create integration mapping - """ - createIntegrationMapping( - """ - Parameters for CreateIntegrationMapping - """ - input: CreateIntegrationMappingInput! - ): Mapping - - """ - Creates a new Invite - """ - createInvite( - """ - Parameters for CreateInvite - """ - input: CreateInviteInput! - ): Invite - - """ - Creates a new Invoice - """ - createInvoice( - """ - Parameters for CreateInvoice - """ - input: CreateInvoiceInput! - ): Invoice - - """ - Request data export of invoices - """ - createInvoicesDataExport( - """ - Parameters for CreateInvoicesDataExport - """ - input: CreateDataExportsInvoicesInput! - ): DataExport - - """ - Create Netsuite integration - """ - createNetsuiteIntegration( - """ - Parameters for CreateNetsuiteIntegration - """ - input: CreateNetsuiteIntegrationInput! - ): NetsuiteIntegration - - """ - Create Okta integration - """ - createOktaIntegration( - """ - Parameters for CreateOktaIntegration - """ - input: CreateOktaIntegrationInput! - ): OktaIntegration - - """ - Creates a new password reset - """ - createPasswordReset( - """ - Parameters for CreatePasswordReset - """ - input: CreatePasswordResetInput! - ): CreatePasswordResetPayload - - """ - Creates a payment request - """ - createPaymentRequest( - """ - Parameters for CreatePaymentRequest - """ - input: PaymentRequestCreateInput! - ): PaymentRequest - - """ - Creates a new Plan - """ - createPlan( - """ - Parameters for CreatePlan - """ - input: CreatePlanInput! - ): Plan - - """ - Create a new Subscription - """ - createSubscription( - """ - Parameters for CreateSubscription - """ - input: CreateSubscriptionInput! - ): Subscription - - """ - Creates a tax - """ - createTax( - """ - Parameters for CreateTax - """ - input: TaxCreateInput! - ): Tax - - """ - Create a new webhook endpoint - """ - createWebhookEndpoint( - """ - Parameters for CreateWebhookEndpoint - """ - input: WebhookEndpointCreateInput! - ): WebhookEndpoint - - """ - Create Xero integration - """ - createXeroIntegration( - """ - Parameters for CreateXeroIntegration - """ - input: CreateXeroIntegrationInput! - ): XeroIntegration - - """ - Deletes an add-on - """ - destroyAddOn( - """ - Parameters for DestroyAddOn - """ - input: DestroyAddOnInput! - ): DestroyAddOnPayload - - """ - Deletes an adjusted fee - """ - destroyAdjustedFee( - """ - Parameters for DestroyAdjustedFee - """ - input: DestroyAdjustedFeeInput! - ): DestroyAdjustedFeePayload - - """ - Deletes a Billable metric - """ - destroyBillableMetric( - """ - Parameters for DestroyBillableMetric - """ - input: DestroyBillableMetricInput! - ): DestroyBillableMetricPayload - - """ - Deletes a coupon - """ - destroyCoupon( - """ - Parameters for DestroyCoupon - """ - input: DestroyCouponInput! - ): DestroyCouponPayload - - """ - Delete a Customer - """ - destroyCustomer( - """ - Parameters for DestroyCustomer - """ - input: DestroyCustomerInput! - ): DestroyCustomerPayload - - """ - Destroy an integration - """ - destroyIntegration( - """ - Parameters for DestroyIntegration - """ - input: DestroyIntegrationInput! - ): DestroyIntegrationPayload - - """ - Destroy an integration collection mapping - """ - destroyIntegrationCollectionMapping( - """ - Parameters for DestroyIntegrationCollectionMapping - """ - input: DestroyIntegrationCollectionMappingInput! - ): DestroyIntegrationCollectionMappingPayload - - """ - Destroy an integration mapping - """ - destroyIntegrationMapping( - """ - Parameters for DestroyIntegrationMapping - """ - input: DestroyIntegrationMappingInput! - ): DestroyIntegrationMappingPayload - - """ - Destroy a payment provider - """ - destroyPaymentProvider( - """ - Parameters for DestroyPaymentProvider - """ - input: DestroyPaymentProviderInput! - ): DestroyPaymentProviderPayload - - """ - Deletes a Plan - """ - destroyPlan( - """ - Parameters for DestroyPlan - """ - input: DestroyPlanInput! - ): DestroyPlanPayload - - """ - Deletes a tax - """ - destroyTax( - """ - Parameters for DestroyTax - """ - input: DestroyTaxInput! - ): DestroyTaxPayload - - """ - Deletes a webhook endpoint - """ - destroyWebhookEndpoint( - """ - Parameters for DestroyWebhookEndpoint - """ - input: DestroyWebhookEndpointInput! - ): DestroyWebhookEndpointPayload - - """ - Download a Credit Note PDF - """ - downloadCreditNote( - """ - Parameters for DownloadCreditNote - """ - input: DownloadCreditNoteInput! - ): CreditNote - - """ - Download an Invoice PDF - """ - downloadInvoice( - """ - Parameters for DownloadInvoice - """ - input: DownloadInvoiceInput! - ): Invoice - - """ - Fetches taxes for one-off invoice - """ - fetchDraftInvoiceTaxes( - """ - Parameters for FetchDraftInvoiceTaxes - """ - input: FetchDraftInvoiceTaxesInput! - ): AnrokFeeObjectCollection - - """ - Fetch integration accounts - """ - fetchIntegrationAccounts( - """ - Parameters for FetchIntegrationAccounts - """ - input: FetchIntegrationAccountsInput! - ): IntegrationItemCollection! - - """ - Fetch integration items - """ - fetchIntegrationItems( - """ - Parameters for FetchIntegrationItems - """ - input: FetchIntegrationItemsInput! - ): IntegrationItemCollection! - - """ - Fetch integration tax items - """ - fetchIntegrationTaxItems( - """ - Parameters for FetchIntegrationTaxItems - """ - input: FetchIntegrationTaxItemsInput! - ): IntegrationItemCollection! - - """ - Finalize all draft invoices - """ - finalizeAllInvoices( - """ - Parameters for FinalizeAllInvoices - """ - input: FinalizeAllInvoicesInput! - ): InvoiceCollection - - """ - Finalize a draft invoice - """ - finalizeInvoice( - """ - Parameters for FinalizeInvoice - """ - input: FinalizeInvoiceInput! - ): Invoice - - """ - Generate customer portal URL - """ - generateCustomerPortalUrl( - """ - Parameters for GenerateCustomerPortalUrl - """ - input: GenerateCustomerPortalUrlInput! - ): GenerateCustomerPortalUrlPayload - - """ - Accepts a membership invite with Google Oauth - """ - googleAcceptInvite( - """ - Parameters for GoogleAcceptInvite - """ - input: GoogleAcceptInviteInput! - ): RegisterUser - - """ - Opens a session for an existing user with Google Oauth - """ - googleLoginUser( - """ - Parameters for GoogleLoginUser - """ - input: GoogleLoginUserInput! - ): LoginUser - - """ - Register a new user with Google Oauth - """ - googleRegisterUser( - """ - Parameters for GoogleRegisterUser - """ - input: GoogleRegisterUserInput! - ): RegisterUser - - """ - Opens a session for an existing user - """ - loginUser( - """ - Parameters for LoginUser - """ - input: LoginUserInput! - ): LoginUser - - """ - Mark payment dispute as lost - """ - loseInvoiceDispute( - """ - Parameters for LoseInvoiceDispute - """ - input: LoseInvoiceDisputeInput! - ): Invoice - - """ - Accepts a membership invite with Okta Oauth - """ - oktaAcceptInvite( - """ - Parameters for OktaAcceptInvite - """ - input: OktaAcceptInviteInput! - ): LoginUser - oktaAuthorize( - """ - Parameters for OktaAuthorize - """ - input: OktaAuthorizeInput! - ): Authorize - oktaLogin( - """ - Parameters for OktaLogin - """ - input: OktaLoginInput! - ): LoginUser - - """ - Refresh a draft invoice - """ - refreshInvoice( - """ - Parameters for RefreshInvoice - """ - input: RefreshInvoiceInput! - ): Invoice - - """ - Registers a new user and creates related organization - """ - registerUser( - """ - Parameters for RegisterUser - """ - input: RegisterUserInput! - ): RegisterUser - - """ - Reset password for user and log in - """ - resetPassword( - """ - Parameters for ResetPassword - """ - input: ResetPasswordInput! - ): LoginUser - - """ - Retry all invoice payments - """ - retryAllInvoicePayments( - """ - Parameters for RetryAllInvoicePayments - """ - input: RetryAllInvoicePaymentsInput! - ): InvoiceCollection - - """ - Retry all failed invoices - """ - retryAllInvoices( - """ - Parameters for RetryAllInvoices - """ - input: RetryAllInvoicesInput! - ): InvoiceCollection - - """ - Retry failed invoice - """ - retryInvoice( - """ - Parameters for RetryInvoice - """ - input: RetryInvoiceInput! - ): Invoice - - """ - Retry invoice payment - """ - retryInvoicePayment( - """ - Parameters for RetryInvoicePayment - """ - input: RetryInvoicePaymentInput! - ): Invoice - - """ - Retry voided invoice sync - """ - retryTaxProviderVoiding( - """ - Parameters for RetryTaxProviderVoiding - """ - input: RetryTaxProviderVoidingInput! - ): Invoice - - """ - Retry tax reporting - """ - retryTaxReporting( - """ - Parameters for RetryTaxReporting - """ - input: RetryTaxReportingInput! - ): CreditNote - - """ - Retry a Webhook - """ - retryWebhook( - """ - Parameters for RetryWebhook - """ - input: RetryWebhookInput! - ): Webhook - - """ - Revokes an invite - """ - revokeInvite( - """ - Parameters for RevokeInvite - """ - input: RevokeInviteInput! - ): Invite - - """ - Revoke a membership - """ - revokeMembership( - """ - Parameters for RevokeMembership - """ - input: RevokeMembershipInput! - ): Membership - - """ - Sync integration credit note - """ - syncIntegrationCreditNote( - """ - Parameters for SyncIntegrationCreditNote - """ - input: SyncIntegrationCreditNoteInput! - ): SyncIntegrationCreditNotePayload - - """ - Sync integration invoice - """ - syncIntegrationInvoice( - """ - Parameters for SyncIntegrationInvoice - """ - input: SyncIntegrationInvoiceInput! - ): SyncIntegrationInvoicePayload - - """ - Unassign a coupon from a customer - """ - terminateAppliedCoupon( - """ - Parameters for TerminateAppliedCoupon - """ - input: TerminateAppliedCouponInput! - ): AppliedCoupon - - """ - Deletes a coupon - """ - terminateCoupon( - """ - Parameters for TerminateCoupon - """ - input: TerminateCouponInput! - ): Coupon - - """ - Terminates a new Customer Wallet - """ - terminateCustomerWallet( - """ - Parameters for TerminateCustomerWallet - """ - input: TerminateCustomerWalletInput! - ): Wallet - - """ - Terminate a Subscription - """ - terminateSubscription( - """ - Parameters for TerminateSubscription - """ - input: TerminateSubscriptionInput! - ): Subscription - - """ - Update an existing add-on - """ - updateAddOn( - """ - Parameters for UpdateAddOn - """ - input: UpdateAddOnInput! - ): AddOn - - """ - Update Adyen payment provider - """ - updateAdyenPaymentProvider( - """ - Parameters for UpdateAdyenPaymentProvider - """ - input: UpdateAdyenPaymentProviderInput! - ): AdyenProvider - - """ - Update Anrok integration - """ - updateAnrokIntegration( - """ - Parameters for UpdateAnrokIntegration - """ - input: UpdateAnrokIntegrationInput! - ): AnrokIntegration - - """ - Updates an existing Billable metric - """ - updateBillableMetric( - """ - Parameters for UpdateBillableMetric - """ - input: UpdateBillableMetricInput! - ): BillableMetric - - """ - Update an existing coupon - """ - updateCoupon( - """ - Parameters for UpdateCoupon - """ - input: UpdateCouponInput! - ): Coupon - - """ - Updates an existing Credit Note - """ - updateCreditNote( - """ - Parameters for UpdateCreditNote - """ - input: UpdateCreditNoteInput! - ): CreditNote - - """ - Updates an existing Customer - """ - updateCustomer( - """ - Parameters for UpdateCustomer - """ - input: UpdateCustomerInput! - ): Customer - - """ - Assign the invoice grace period to Customers - """ - updateCustomerInvoiceGracePeriod( - """ - Parameters for UpdateCustomerInvoiceGracePeriod - """ - input: UpdateCustomerInvoiceGracePeriodInput! - ): Customer - - """ - Updates a new Customer Wallet - """ - updateCustomerWallet( - """ - Parameters for UpdateCustomerWallet - """ - input: UpdateCustomerWalletInput! - ): Wallet - - """ - Update Gocardless payment provider - """ - updateGocardlessPaymentProvider( - """ - Parameters for UpdateGocardlessPaymentProvider - """ - input: UpdateGocardlessPaymentProviderInput! - ): GocardlessProvider - - """ - Update Hubspot integration - """ - updateHubspotIntegration( - """ - Parameters for UpdateHubspotIntegration - """ - input: UpdateHubspotIntegrationInput! - ): HubspotIntegration - - """ - Update integration mapping - """ - updateIntegrationCollectionMapping( - """ - Parameters for UpdateIntegrationCollectionMapping - """ - input: UpdateIntegrationCollectionMappingInput! - ): CollectionMapping - - """ - Update integration mapping - """ - updateIntegrationMapping( - """ - Parameters for UpdateIntegrationMapping - """ - input: UpdateIntegrationMappingInput! - ): Mapping - - """ - Update an invite - """ - updateInvite( - """ - Parameters for UpdateInvite - """ - input: UpdateInviteInput! - ): Invite - - """ - Update an existing invoice - """ - updateInvoice( - """ - Parameters for UpdateInvoice - """ - input: UpdateInvoiceInput! - ): Invoice - - """ - Update a membership - """ - updateMembership( - """ - Parameters for UpdateMembership - """ - input: UpdateMembershipInput! - ): Membership - - """ - Update Netsuite integration - """ - updateNetsuiteIntegration( - """ - Parameters for UpdateNetsuiteIntegration - """ - input: UpdateNetsuiteIntegrationInput! - ): NetsuiteIntegration - - """ - Update Okta integration - """ - updateOktaIntegration( - """ - Parameters for UpdateOktaIntegration - """ - input: UpdateOktaIntegrationInput! - ): OktaIntegration - - """ - Updates an Organization - """ - updateOrganization( - """ - Parameters for UpdateOrganization - """ - input: UpdateOrganizationInput! - ): CurrentOrganization - - """ - Updates an existing Plan - """ - updatePlan( - """ - Parameters for UpdatePlan - """ - input: UpdatePlanInput! - ): Plan - - """ - Update Stripe payment provider - """ - updateStripePaymentProvider( - """ - Parameters for UpdateStripePaymentProvider - """ - input: UpdateStripePaymentProviderInput! - ): StripeProvider - - """ - Update a Subscription - """ - updateSubscription( - """ - Parameters for UpdateSubscription - """ - input: UpdateSubscriptionInput! - ): Subscription - - """ - Update an existing tax - """ - updateTax( - """ - Parameters for UpdateTax - """ - input: TaxUpdateInput! - ): Tax - - """ - Update a new webhook endpoint - """ - updateWebhookEndpoint( - """ - Parameters for UpdateWebhookEndpoint - """ - input: WebhookEndpointUpdateInput! - ): WebhookEndpoint - - """ - Update Xero integration - """ - updateXeroIntegration( - """ - Parameters for UpdateXeroIntegration - """ - input: UpdateXeroIntegrationInput! - ): XeroIntegration - - """ - Voids a Credit Note - """ - voidCreditNote( - """ - Parameters for VoidCreditNote - """ - input: VoidCreditNoteInput! - ): CreditNote - - """ - Void an invoice - """ - voidInvoice( - """ - Parameters for VoidInvoice - """ - input: VoidInvoiceInput! - ): Invoice -} - -type NetsuiteCustomer { - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - subsidiaryId: String - syncWithProvider: Boolean -} - -type NetsuiteIntegration { - accountId: String - clientId: String - clientSecret: String - code: String! - connectionId: ID! - hasMappingsConfigured: Boolean - id: ID! - name: String! - scriptEndpointUrl: String! - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean - syncSalesOrders: Boolean - tokenId: String - tokenSecret: String -} - -""" -Accept Invite with Okta Oauth input arguments -""" -input OktaAcceptInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - inviteToken: String! - state: String! -} - -""" -Autogenerated input type of OktaAuthorize -""" -input OktaAuthorizeInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! - inviteToken: String -} - -type OktaIntegration { - clientId: String - clientSecret: String - code: String! - domain: String! - id: ID! - name: String! - organizationName: String! -} - -""" -Autogenerated input type of OktaLogin -""" -input OktaLoginInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - state: String! -} - -""" -Safe Organization Type -""" -type Organization { - billingConfiguration: OrganizationBillingConfiguration - defaultCurrency: CurrencyEnum! - id: ID! - logoUrl: String - name: String! - timezone: TimezoneEnum -} - -type OrganizationBillingConfiguration { - documentLocale: String - id: ID! - invoiceFooter: String - invoiceGracePeriod: Int! -} - -input OrganizationBillingConfigurationInput { - documentLocale: String - invoiceFooter: String - invoiceGracePeriod: Int -} - -type OverdueBalance { - amountCents: BigInt! - currency: CurrencyEnum! - lagoInvoiceIds: [String!]! - month: ISO8601DateTime! -} - -""" -OverdueBalanceCollection type -""" -type OverdueBalanceCollection { - """ - A collection of paginated OverdueBalanceCollection - """ - collection: [OverdueBalance!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -union PaymentProvider = AdyenProvider | GocardlessProvider | StripeProvider - -""" -PaymentProviderCollection type -""" -type PaymentProviderCollection { - """ - A collection of paginated PaymentProviderCollection - """ - collection: [PaymentProvider!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type PaymentRequest { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - customer: Customer! - email: String! - id: ID! - invoices: [Invoice!]! - paymentStatus: InvoicePaymentStatusTypeEnum! - updatedAt: ISO8601DateTime! -} - -""" -PaymentRequestCollection type -""" -type PaymentRequestCollection { - """ - A collection of paginated PaymentRequestCollection - """ - collection: [PaymentRequest!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Autogenerated input type of CreatePaymentRequest -""" -input PaymentRequestCreateInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String - externalCustomerId: String! - lagoInvoiceIds: [String!] -} - -""" -Permissions Type -""" -type Permissions { - addonsCreate: Boolean! - addonsDelete: Boolean! - addonsUpdate: Boolean! - addonsView: Boolean! - analyticsOverdueBalancesView: Boolean! - analyticsView: Boolean! - billableMetricsCreate: Boolean! - billableMetricsDelete: Boolean! - billableMetricsUpdate: Boolean! - billableMetricsView: Boolean! - couponsAttach: Boolean! - couponsCreate: Boolean! - couponsDelete: Boolean! - couponsDetach: Boolean! - couponsUpdate: Boolean! - couponsView: Boolean! - creditNotesCreate: Boolean! - creditNotesUpdate: Boolean! - creditNotesView: Boolean! - creditNotesVoid: Boolean! - customerSettingsUpdateGracePeriod: Boolean! - customerSettingsUpdateLang: Boolean! - customerSettingsUpdatePaymentTerms: Boolean! - customerSettingsUpdateTaxRates: Boolean! - customerSettingsView: Boolean! - customersCreate: Boolean! - customersDelete: Boolean! - customersUpdate: Boolean! - customersView: Boolean! - developersKeysManage: Boolean! - developersManage: Boolean! - draftInvoicesUpdate: Boolean! - invoicesCreate: Boolean! - invoicesExport: Boolean! - invoicesSend: Boolean! - invoicesUpdate: Boolean! - invoicesView: Boolean! - invoicesVoid: Boolean! - organizationEmailsUpdate: Boolean! - organizationEmailsView: Boolean! - organizationIntegrationsCreate: Boolean! - organizationIntegrationsDelete: Boolean! - organizationIntegrationsUpdate: Boolean! - organizationIntegrationsView: Boolean! - organizationInvoicesUpdate: Boolean! - organizationInvoicesView: Boolean! - organizationMembersCreate: Boolean! - organizationMembersDelete: Boolean! - organizationMembersUpdate: Boolean! - organizationMembersView: Boolean! - organizationTaxesUpdate: Boolean! - organizationTaxesView: Boolean! - organizationUpdate: Boolean! - organizationView: Boolean! - paymentRequestsCreate: Boolean! - paymentRequestsView: Boolean! - plansCreate: Boolean! - plansDelete: Boolean! - plansUpdate: Boolean! - plansView: Boolean! - subscriptionsCreate: Boolean! - subscriptionsUpdate: Boolean! - subscriptionsView: Boolean! - walletsCreate: Boolean! - walletsTerminate: Boolean! - walletsTopUp: Boolean! - walletsUpdate: Boolean! -} - -type Plan { - activeSubscriptionsCount: Int! - amountCents: BigInt! - amountCurrency: CurrencyEnum! - billChargesMonthly: Boolean - charges: [Charge!] - - """ - Number of charges attached to a plan - """ - chargesCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers attached to a plan - """ - customersCount: Int! - description: String - draftInvoicesCount: Int! - id: ID! - interval: PlanInterval! - invoiceDisplayName: String - minimumCommitment: Commitment - name: String! - organization: Organization - parent: Plan - payInAdvance: Boolean! - subscriptionsCount: Int! - taxes: [Tax!] - trialPeriod: Float - updatedAt: ISO8601DateTime! - usageThresholds: [UsageThreshold!] -} - -""" -PlanCollection type -""" -type PlanCollection { - """ - A collection of paginated PlanCollection - """ - collection: [Plan!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum PlanInterval { - monthly - quarterly - weekly - yearly -} - -input PlanOverridesInput { - amountCents: BigInt - amountCurrency: CurrencyEnum - charges: [ChargeOverridesInput!] - description: String - invoiceDisplayName: String - minimumCommitment: CommitmentInput - name: String - taxCodes: [String!] - trialPeriod: Float - usageThresholds: [UsageThresholdOverridesInput!] -} - -enum PremiumIntegrationTypeEnum { - hubspot - netsuite - okta - progressive_billing - xero -} - -type Properties { - amount: String - customProperties: JSON - fixedAmount: String - freeUnits: BigInt - freeUnitsPerEvents: BigInt - freeUnitsPerTotalAggregation: String - graduatedPercentageRanges: [GraduatedPercentageRange!] - graduatedRanges: [GraduatedRange!] - groupedBy: [String!] - packageSize: BigInt - perTransactionMaxAmount: String - perTransactionMinAmount: String - rate: String - volumeRanges: [VolumeRange!] -} - -input PropertiesInput { - amount: String - customProperties: JSON - fixedAmount: String - freeUnits: BigInt - freeUnitsPerEvents: BigInt - freeUnitsPerTotalAggregation: String - graduatedPercentageRanges: [GraduatedPercentageRangeInput!] - graduatedRanges: [GraduatedRangeInput!] - groupedBy: [String!] - packageSize: BigInt - perTransactionMaxAmount: String - perTransactionMinAmount: String - rate: String - volumeRanges: [VolumeRangeInput!] -} - -type ProviderCustomer { - id: ID! - providerCustomerId: ID - providerPaymentMethods: [ProviderPaymentMethodsEnum!] - syncWithProvider: Boolean -} - -input ProviderCustomerInput { - providerCustomerId: ID - providerPaymentMethods: [ProviderPaymentMethodsEnum!] - syncWithProvider: Boolean -} - -enum ProviderPaymentMethodsEnum { - bacs_debit - card - link - sepa_debit - us_bank_account -} - -enum ProviderTypeEnum { - adyen - gocardless - stripe -} - -type Query { - """ - Query a single add-on of an organization - """ - addOn( - """ - Uniq ID of the add-on - """ - id: ID! - ): AddOn - - """ - Query add-ons of an organization - """ - addOns(limit: Int, page: Int, searchTerm: String): AddOnCollection! - - """ - Query a single billable metric of an organization - """ - billableMetric( - """ - Uniq ID of the billable metric - """ - id: ID! - ): BillableMetric - - """ - Query billable metrics of an organization - """ - billableMetrics(aggregationTypes: [AggregationTypeEnum!], limit: Int, page: Int, recurring: Boolean, searchTerm: String): BillableMetricCollection! - - """ - Query a single coupon of an organization - """ - coupon( - """ - Uniq ID of the coupon - """ - id: ID! - ): Coupon - - """ - Query coupons of an organization - """ - coupons(limit: Int, page: Int, searchTerm: String, status: CouponStatusEnum): CouponCollection! - - """ - Query a single credit note - """ - creditNote( - """ - Uniq ID of the credit note - """ - id: ID! - ): CreditNote - - """ - Fetch amounts for credit note creation - """ - creditNoteEstimate(invoiceId: ID!, items: [CreditNoteItemInput!]!): CreditNoteEstimate! - - """ - Query credit notes - """ - creditNotes(customerId: ID, limit: Int, page: Int, searchTerm: String): CreditNoteCollection! - - """ - Retrieves currently connected user - """ - currentUser: User! - - """ - Retrieve the version of the application - """ - currentVersion: CurrentVersion! - - """ - Query a single customer of an organization - """ - customer( - """ - Uniq ID of the customer - """ - id: ID! - ): Customer - - """ - Query invoices of a customer - """ - customerInvoices(customerId: ID!, limit: Int, page: Int, searchTerm: String, status: [InvoiceStatusTypeEnum!]): InvoiceCollection! - - """ - Query the usage of the customer on the current billing period - """ - customerUsage(customerId: ID, subscriptionId: ID!): CustomerUsage! - - """ - Query customers of an organization - """ - customers(limit: Int, page: Int, searchTerm: String): CustomerCollection! - - """ - Query events of an organization - """ - events(limit: Int, page: Int): EventCollection - - """ - Get Google auth url. - """ - googleAuthUrl: AuthUrl! - - """ - Query gross revenue of an organization - """ - grossRevenues(currency: CurrencyEnum, expireCache: Boolean, externalCustomerId: String, months: Int): GrossRevenueCollection! - - """ - Query a single integration - """ - integration( - """ - Uniq ID of the integration - """ - id: ID - ): Integration - - """ - Query a single integration collection mapping - """ - integrationCollectionMapping( - """ - Unique ID of the integration collection mappings - """ - id: ID! - ): CollectionMapping - - """ - Query integration collection mappings - """ - integrationCollectionMappings(integrationId: ID, limit: Int, mappingType: MappingTypeEnum, page: Int): CollectionMappingCollection - - """ - Query integration items of an integration - """ - integrationItems(integrationId: ID!, itemType: IntegrationItemTypeEnum, limit: Int, page: Int, searchTerm: String): IntegrationItemCollection! - - """ - Query a single integration mapping - """ - integrationMapping( - """ - Unique ID of the integration mappings - """ - id: ID! - ): Mapping - - """ - Query netsuite integration mappings - """ - integrationMappings(integrationId: ID, limit: Int, mappableType: MappableTypeEnum, page: Int): MappingCollection - - """ - Query integration subsidiaries - """ - integrationSubsidiaries(integrationId: ID): SubsidiaryCollection - - """ - Query organization's integrations - """ - integrations(limit: Int, page: Int, type: IntegrationTypeEnum): IntegrationCollection - - """ - Query a single Invite - """ - invite( - """ - Uniq token of the Invite - """ - token: String! - ): Invite - - """ - Query pending invites of an organization - """ - invites(limit: Int, page: Int): InviteCollection! - - """ - Query a single Invoice of an organization - """ - invoice( - """ - Uniq ID of the invoice - """ - id: ID! - ): Invoice - - """ - Query invoice collections of an organization - """ - invoiceCollections(currency: CurrencyEnum): FinalizedInvoiceCollectionCollection! - - """ - Query invoice's credit note - """ - invoiceCreditNotes( - """ - Uniq ID of the invoice - """ - invoiceId: ID! - limit: Int - page: Int - ): CreditNoteCollection - - """ - Query invoiced usage of an organization - """ - invoicedUsages(currency: CurrencyEnum): InvoicedUsageCollection! - - """ - Query invoices - """ - invoices( - currency: CurrencyEnum - customerExternalId: String - - """ - Uniq ID of the customer - """ - customerId: ID - invoiceType: [InvoiceTypeEnum!] - issuingDateFrom: ISO8601Date - issuingDateTo: ISO8601Date - limit: Int - page: Int - paymentDisputeLost: Boolean - paymentOverdue: Boolean - paymentStatus: [InvoicePaymentStatusTypeEnum!] - searchTerm: String - status: [InvoiceStatusTypeEnum!] - ): InvoiceCollection! - - """ - Query memberships of an organization - """ - memberships(limit: Int, page: Int): MembershipCollection! - - """ - Query MRR of an organization - """ - mrrs(currency: CurrencyEnum): MrrCollection! - - """ - Query the current organization - """ - organization: CurrentOrganization - - """ - Query overdue balances of an organization - """ - overdueBalances(currency: CurrencyEnum, expireCache: Boolean, externalCustomerId: String, months: Int): OverdueBalanceCollection! - - """ - Query a password reset by token - """ - passwordReset( - """ - Uniq token of the password reset - """ - token: String! - ): ResetPassword! - - """ - Query a single payment provider - """ - paymentProvider( - """ - Code of the payment provider - """ - code: String - - """ - Uniq ID of the payment provider - """ - id: ID - ): PaymentProvider - - """ - Query organization's payment providers - """ - paymentProviders(limit: Int, page: Int, type: ProviderTypeEnum): PaymentProviderCollection - - """ - Query payment requests of an organization - """ - paymentRequests(externalCustomerId: String, limit: Int, page: Int): PaymentRequestCollection! - - """ - Query a single plan of an organization - """ - plan( - """ - Uniq ID of the plan - """ - id: ID! - ): Plan - - """ - Query plans of an organization - """ - plans(limit: Int, page: Int, searchTerm: String): PlanCollection! - - """ - Query a single subscription of an organization - """ - subscription( - """ - Uniq ID of the subscription - """ - id: ID! - ): Subscription - - """ - Query subscriptions of an organization - """ - subscriptions(limit: Int, page: Int, planCode: String, status: [StatusTypeEnum!]): SubscriptionCollection! - - """ - Query a single tax of an organization - """ - tax( - """ - Uniq ID of the tax - """ - id: ID! - ): Tax - - """ - Query taxes of an organization - """ - taxes(appliedToOrganization: Boolean, autoGenerated: Boolean, limit: Int, order: String, page: Int, searchTerm: String): TaxCollection! - - """ - Query a single wallet of an organization - """ - wallet( - """ - Uniq ID of the wallet - """ - id: ID! - ): Wallet - - """ - Query wallet transactions - """ - walletTransactions( - limit: Int - page: Int - status: WalletTransactionStatusEnum - transactionType: WalletTransactionTransactionTypeEnum - - """ - Uniq ID of the wallet - """ - walletId: ID! - ): WalletTransactionCollection! - - """ - Query wallets - """ - wallets( - """ - Uniq ID of the customer - """ - customerId: ID! - - """ - List of wallet IDs to fetch - """ - ids: [ID!] - limit: Int - page: Int - status: WalletStatusEnum - ): WalletCollection! - - """ - Query a single webhook endpoint - """ - webhookEndpoint( - """ - Uniq ID of the webhook endpoint - """ - id: ID! - ): WebhookEndpoint - - """ - Query webhook endpoints of an organization - """ - webhookEndpoints(limit: Int, page: Int, searchTerm: String): WebhookEndpointCollection! - - """ - Query Webhooks - """ - webhooks(limit: Int, page: Int, searchTerm: String, status: WebhookStatusEnum, webhookEndpointId: String!): WebhookCollection! -} - -enum RecurringTransactionIntervalEnum { - monthly - quarterly - weekly - yearly -} - -enum RecurringTransactionMethodEnum { - fixed - target -} - -type RecurringTransactionRule { - createdAt: ISO8601DateTime! - grantedCredits: String! - interval: RecurringTransactionIntervalEnum - invoiceRequiresSuccessfulPayment: Boolean! - lagoId: ID! - method: RecurringTransactionMethodEnum! - paidCredits: String! - startedAt: ISO8601DateTime - targetOngoingBalance: String - thresholdCredits: String - trigger: RecurringTransactionTriggerEnum! -} - -enum RecurringTransactionTriggerEnum { - interval - threshold -} - -""" -Autogenerated input type of RefreshInvoice -""" -input RefreshInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -type RegisterUser { - membership: Membership! - organization: Organization! - token: String! - user: User! -} - -""" -Autogenerated input type of RegisterUser -""" -input RegisterUserInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - email: String! - organizationName: String! - password: String! -} - -enum RegroupPaidFeesEnum { - invoice -} - -""" -ResetPassword type -""" -type ResetPassword { - expireAt: ISO8601DateTime! - id: ID! - token: String! - user: User! -} - -""" -Autogenerated input type of ResetPassword -""" -input ResetPasswordInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - newPassword: String! - token: String! -} - -""" -Autogenerated input type of RetryAllInvoicePayments -""" -input RetryAllInvoicePaymentsInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - -""" -Autogenerated input type of RetryAllInvoices -""" -input RetryAllInvoicesInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - -""" -Autogenerated input type of RetryInvoice -""" -input RetryInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RetryInvoicePayment -""" -input RetryInvoicePaymentInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RetryTaxProviderVoiding -""" -input RetryTaxProviderVoidingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RetryTaxReporting -""" -input RetryTaxReportingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RetryWebhook -""" -input RetryWebhookInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RevokeInvite -""" -input RevokeInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of RevokeMembership -""" -input RevokeMembershipInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -enum StatusTypeEnum { - active - canceled - pending - terminated -} - -type StripeProvider { - code: String! - id: ID! - name: String! - secretKey: String - successRedirectUrl: String -} - -type Subscription { - billingTime: BillingTimeEnum - canceledAt: ISO8601DateTime - createdAt: ISO8601DateTime! - customer: Customer! - endingAt: ISO8601DateTime - externalId: String! - fees: [Fee!] - id: ID! - lifetimeUsage: SubscriptionLifetimeUsage - name: String - nextName: String - nextPendingStartDate: ISO8601Date - nextPlan: Plan - nextSubscription: Subscription - periodEndDate: ISO8601Date - plan: Plan! - startedAt: ISO8601DateTime - status: StatusTypeEnum - subscriptionAt: ISO8601DateTime - terminatedAt: ISO8601DateTime - updatedAt: ISO8601DateTime! -} - -""" -SubscriptionCollection type -""" -type SubscriptionCollection { - """ - A collection of paginated SubscriptionCollection - """ - collection: [Subscription!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type SubscriptionLifetimeUsage { - lastThresholdAmountCents: BigInt - nextThresholdAmountCents: BigInt - nextThresholdRatio: Float - totalUsageAmountCents: BigInt! - totalUsageFromDatetime: ISO8601DateTime! - totalUsageToDatetime: ISO8601DateTime! -} - -type Subsidiary { - externalId: String! - externalName: String -} - -""" -SubsidiaryCollection type -""" -type SubsidiaryCollection { - """ - A collection of paginated SubsidiaryCollection - """ - collection: [Subsidiary!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Autogenerated input type of SyncIntegrationCreditNote -""" -input SyncIntegrationCreditNoteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - creditNoteId: ID! -} - -""" -Autogenerated return type of SyncIntegrationCreditNote. -""" -type SyncIntegrationCreditNotePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - creditNoteId: ID -} - -""" -Autogenerated input type of SyncIntegrationInvoice -""" -input SyncIntegrationInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - invoiceId: ID! -} - -""" -Autogenerated return type of SyncIntegrationInvoice. -""" -type SyncIntegrationInvoicePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - invoiceId: ID -} - -enum TargetedObjectsEnum { - Companies - Contacts -} - -type Tax { - """ - Number of add ons using this tax - """ - addOnsCount: Int! - appliedToOrganization: Boolean! - autoGenerated: Boolean! - - """ - Number of charges using this tax - """ - chargesCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers using this tax - """ - customersCount: Int! - description: String - id: ID! - name: String! - organization: Organization - - """ - Number of plans using this tax - """ - plansCount: Int! - rate: Float! - updatedAt: ISO8601DateTime! -} - -""" -TaxCollection type -""" -type TaxCollection { - """ - A collection of paginated TaxCollection - """ - collection: [Tax!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Autogenerated input type of CreateTax -""" -input TaxCreateInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String - name: String! - rate: Float! -} - -""" -Autogenerated input type of UpdateTax -""" -input TaxUpdateInput { - appliedToOrganization: Boolean - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - description: String - id: ID! - name: String - rate: Float -} - -""" -Autogenerated input type of TerminateAppliedCoupon -""" -input TerminateAppliedCouponInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of TerminateCoupon -""" -input TerminateCouponInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of TerminateCustomerWallet -""" -input TerminateCustomerWalletInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of TerminateSubscription -""" -input TerminateSubscriptionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -enum TimezoneEnum { - """ - Africa/Algiers - """ - TZ_AFRICA_ALGIERS - - """ - Africa/Cairo - """ - TZ_AFRICA_CAIRO - - """ - Africa/Casablanca - """ - TZ_AFRICA_CASABLANCA - - """ - Africa/Harare - """ - TZ_AFRICA_HARARE - - """ - Africa/Johannesburg - """ - TZ_AFRICA_JOHANNESBURG - - """ - Africa/Monrovia - """ - TZ_AFRICA_MONROVIA - - """ - Africa/Nairobi - """ - TZ_AFRICA_NAIROBI - - """ - America/Argentina/Buenos_Aires - """ - TZ_AMERICA_ARGENTINA_BUENOS_AIRES - - """ - America/Bogota - """ - TZ_AMERICA_BOGOTA - - """ - America/Caracas - """ - TZ_AMERICA_CARACAS - - """ - America/Chicago - """ - TZ_AMERICA_CHICAGO - - """ - America/Chihuahua - """ - TZ_AMERICA_CHIHUAHUA - - """ - America/Denver - """ - TZ_AMERICA_DENVER - - """ - America/Godthab - """ - TZ_AMERICA_GODTHAB - - """ - America/Guatemala - """ - TZ_AMERICA_GUATEMALA - - """ - America/Guyana - """ - TZ_AMERICA_GUYANA - - """ - America/Halifax - """ - TZ_AMERICA_HALIFAX - - """ - America/Indiana/Indianapolis - """ - TZ_AMERICA_INDIANA_INDIANAPOLIS - - """ - America/Juneau - """ - TZ_AMERICA_JUNEAU - - """ - America/La_Paz - """ - TZ_AMERICA_LA_PAZ - - """ - America/Lima - """ - TZ_AMERICA_LIMA - - """ - America/Los_Angeles - """ - TZ_AMERICA_LOS_ANGELES - - """ - America/Mazatlan - """ - TZ_AMERICA_MAZATLAN - - """ - America/Mexico_City - """ - TZ_AMERICA_MEXICO_CITY - - """ - America/Monterrey - """ - TZ_AMERICA_MONTERREY - - """ - America/Montevideo - """ - TZ_AMERICA_MONTEVIDEO - - """ - America/New_York - """ - TZ_AMERICA_NEW_YORK - - """ - America/Phoenix - """ - TZ_AMERICA_PHOENIX - - """ - America/Puerto_Rico - """ - TZ_AMERICA_PUERTO_RICO - - """ - America/Regina - """ - TZ_AMERICA_REGINA - - """ - America/Santiago - """ - TZ_AMERICA_SANTIAGO - - """ - America/Sao_Paulo - """ - TZ_AMERICA_SAO_PAULO - - """ - America/St_Johns - """ - TZ_AMERICA_ST_JOHNS - - """ - America/Tijuana - """ - TZ_AMERICA_TIJUANA - - """ - Asia/Almaty - """ - TZ_ASIA_ALMATY - - """ - Asia/Baghdad - """ - TZ_ASIA_BAGHDAD - - """ - Asia/Baku - """ - TZ_ASIA_BAKU - - """ - Asia/Bangkok - """ - TZ_ASIA_BANGKOK - - """ - Asia/Chongqing - """ - TZ_ASIA_CHONGQING - - """ - Asia/Colombo - """ - TZ_ASIA_COLOMBO - - """ - Asia/Dhaka - """ - TZ_ASIA_DHAKA - - """ - Asia/Hong_Kong - """ - TZ_ASIA_HONG_KONG - - """ - Asia/Irkutsk - """ - TZ_ASIA_IRKUTSK - - """ - Asia/Jakarta - """ - TZ_ASIA_JAKARTA - - """ - Asia/Jerusalem - """ - TZ_ASIA_JERUSALEM - - """ - Asia/Kabul - """ - TZ_ASIA_KABUL - - """ - Asia/Kamchatka - """ - TZ_ASIA_KAMCHATKA - - """ - Asia/Karachi - """ - TZ_ASIA_KARACHI - - """ - Asia/Kathmandu - """ - TZ_ASIA_KATHMANDU - - """ - Asia/Kolkata - """ - TZ_ASIA_KOLKATA - - """ - Asia/Krasnoyarsk - """ - TZ_ASIA_KRASNOYARSK - - """ - Asia/Kuala_Lumpur - """ - TZ_ASIA_KUALA_LUMPUR - - """ - Asia/Kuwait - """ - TZ_ASIA_KUWAIT - - """ - Asia/Magadan - """ - TZ_ASIA_MAGADAN - - """ - Asia/Muscat - """ - TZ_ASIA_MUSCAT - - """ - Asia/Novosibirsk - """ - TZ_ASIA_NOVOSIBIRSK - - """ - Asia/Rangoon - """ - TZ_ASIA_RANGOON - - """ - Asia/Riyadh - """ - TZ_ASIA_RIYADH - - """ - Asia/Seoul - """ - TZ_ASIA_SEOUL - - """ - Asia/Shanghai - """ - TZ_ASIA_SHANGHAI - - """ - Asia/Singapore - """ - TZ_ASIA_SINGAPORE - - """ - Asia/Srednekolymsk - """ - TZ_ASIA_SREDNEKOLYMSK - - """ - Asia/Taipei - """ - TZ_ASIA_TAIPEI - - """ - Asia/Tashkent - """ - TZ_ASIA_TASHKENT - - """ - Asia/Tbilisi - """ - TZ_ASIA_TBILISI - - """ - Asia/Tehran - """ - TZ_ASIA_TEHRAN - - """ - Asia/Tokyo - """ - TZ_ASIA_TOKYO - - """ - Asia/Ulaanbaatar - """ - TZ_ASIA_ULAANBAATAR - - """ - Asia/Urumqi - """ - TZ_ASIA_URUMQI - - """ - Asia/Vladivostok - """ - TZ_ASIA_VLADIVOSTOK - - """ - Asia/Yakutsk - """ - TZ_ASIA_YAKUTSK - - """ - Asia/Yekaterinburg - """ - TZ_ASIA_YEKATERINBURG - - """ - Asia/Yerevan - """ - TZ_ASIA_YEREVAN - - """ - Atlantic/Azores - """ - TZ_ATLANTIC_AZORES - - """ - Atlantic/Cape_Verde - """ - TZ_ATLANTIC_CAPE_VERDE - - """ - Atlantic/South_Georgia - """ - TZ_ATLANTIC_SOUTH_GEORGIA - - """ - Australia/Adelaide - """ - TZ_AUSTRALIA_ADELAIDE - - """ - Australia/Brisbane - """ - TZ_AUSTRALIA_BRISBANE - - """ - Australia/Canberra - """ - TZ_AUSTRALIA_CANBERRA - - """ - Australia/Darwin - """ - TZ_AUSTRALIA_DARWIN - - """ - Australia/Hobart - """ - TZ_AUSTRALIA_HOBART - - """ - Australia/Melbourne - """ - TZ_AUSTRALIA_MELBOURNE - - """ - Australia/Perth - """ - TZ_AUSTRALIA_PERTH - - """ - Australia/Sydney - """ - TZ_AUSTRALIA_SYDNEY - - """ - Etc/GMT+12 - """ - TZ_ETC_GMT_12 - - """ - Europe/Amsterdam - """ - TZ_EUROPE_AMSTERDAM - - """ - Europe/Athens - """ - TZ_EUROPE_ATHENS - - """ - Europe/Belgrade - """ - TZ_EUROPE_BELGRADE - - """ - Europe/Berlin - """ - TZ_EUROPE_BERLIN - - """ - Europe/Bratislava - """ - TZ_EUROPE_BRATISLAVA - - """ - Europe/Brussels - """ - TZ_EUROPE_BRUSSELS - - """ - Europe/Bucharest - """ - TZ_EUROPE_BUCHAREST - - """ - Europe/Budapest - """ - TZ_EUROPE_BUDAPEST - - """ - Europe/Copenhagen - """ - TZ_EUROPE_COPENHAGEN - - """ - Europe/Dublin - """ - TZ_EUROPE_DUBLIN - - """ - Europe/Helsinki - """ - TZ_EUROPE_HELSINKI - - """ - Europe/Istanbul - """ - TZ_EUROPE_ISTANBUL - - """ - Europe/Kaliningrad - """ - TZ_EUROPE_KALININGRAD - - """ - Europe/Kiev - """ - TZ_EUROPE_KIEV - - """ - Europe/Lisbon - """ - TZ_EUROPE_LISBON - - """ - Europe/Ljubljana - """ - TZ_EUROPE_LJUBLJANA - - """ - Europe/London - """ - TZ_EUROPE_LONDON - - """ - Europe/Madrid - """ - TZ_EUROPE_MADRID - - """ - Europe/Minsk - """ - TZ_EUROPE_MINSK - - """ - Europe/Moscow - """ - TZ_EUROPE_MOSCOW - - """ - Europe/Paris - """ - TZ_EUROPE_PARIS - - """ - Europe/Prague - """ - TZ_EUROPE_PRAGUE - - """ - Europe/Riga - """ - TZ_EUROPE_RIGA - - """ - Europe/Rome - """ - TZ_EUROPE_ROME - - """ - Europe/Samara - """ - TZ_EUROPE_SAMARA - - """ - Europe/Sarajevo - """ - TZ_EUROPE_SARAJEVO - - """ - Europe/Skopje - """ - TZ_EUROPE_SKOPJE - - """ - Europe/Sofia - """ - TZ_EUROPE_SOFIA - - """ - Europe/Stockholm - """ - TZ_EUROPE_STOCKHOLM - - """ - Europe/Tallinn - """ - TZ_EUROPE_TALLINN - - """ - Europe/Vienna - """ - TZ_EUROPE_VIENNA - - """ - Europe/Vilnius - """ - TZ_EUROPE_VILNIUS - - """ - Europe/Volgograd - """ - TZ_EUROPE_VOLGOGRAD - - """ - Europe/Warsaw - """ - TZ_EUROPE_WARSAW - - """ - Europe/Zagreb - """ - TZ_EUROPE_ZAGREB - - """ - Europe/Zurich - """ - TZ_EUROPE_ZURICH - - """ - Pacific/Apia - """ - TZ_PACIFIC_APIA - - """ - Pacific/Auckland - """ - TZ_PACIFIC_AUCKLAND - - """ - Pacific/Chatham - """ - TZ_PACIFIC_CHATHAM - - """ - Pacific/Fakaofo - """ - TZ_PACIFIC_FAKAOFO - - """ - Pacific/Fiji - """ - TZ_PACIFIC_FIJI - - """ - Pacific/Guadalcanal - """ - TZ_PACIFIC_GUADALCANAL - - """ - Pacific/Guam - """ - TZ_PACIFIC_GUAM - - """ - Pacific/Honolulu - """ - TZ_PACIFIC_HONOLULU - - """ - Pacific/Majuro - """ - TZ_PACIFIC_MAJURO - - """ - Pacific/Midway - """ - TZ_PACIFIC_MIDWAY - - """ - Pacific/Noumea - """ - TZ_PACIFIC_NOUMEA - - """ - Pacific/Pago_Pago - """ - TZ_PACIFIC_PAGO_PAGO - - """ - Pacific/Port_Moresby - """ - TZ_PACIFIC_PORT_MORESBY - - """ - Pacific/Tongatapu - """ - TZ_PACIFIC_TONGATAPU - - """ - UTC - """ - TZ_UTC -} - -""" -Autogenerated input type of UpdateAddOn -""" -input UpdateAddOnInput { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String - id: ID! - invoiceDisplayName: String - name: String! - taxCodes: [String!] -} - -""" -Update input arguments -""" -input UpdateAdyenPaymentProviderInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - id: ID! - name: String - successRedirectUrl: String -} - -""" -Autogenerated input type of UpdateAnrokIntegration -""" -input UpdateAnrokIntegrationInput { - apiKey: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - id: ID - name: String -} - -""" -Update Billable metric input arguments -""" -input UpdateBillableMetricInput { - aggregationType: AggregationTypeEnum! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String! - fieldName: String - filters: [BillableMetricFiltersInput!] - id: String! - name: String! - recurring: Boolean - weightedInterval: WeightedIntervalEnum -} - -""" -Autogenerated input type of UpdateCoupon -""" -input UpdateCouponInput { - amountCents: BigInt - amountCurrency: CurrencyEnum - appliesTo: LimitationInput - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - couponType: CouponTypeEnum! - description: String - expiration: CouponExpiration! - expirationAt: ISO8601DateTime - frequency: CouponFrequency! - frequencyDuration: Int - id: String! - name: String! - percentageRate: Float - reusable: Boolean -} - -""" -Autogenerated input type of UpdateCreditNote -""" -input UpdateCreditNoteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - refundStatus: CreditNoteRefundStatusEnum! -} - -""" -Update Customer input arguments -""" -input UpdateCustomerInput { - addressLine1: String - addressLine2: String - billingConfiguration: CustomerBillingConfigurationInput - city: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - country: CountryCode - currency: CurrencyEnum - customerType: CustomerTypeEnum - email: String - externalId: String! - externalSalesforceId: String - finalizeZeroAmountInvoice: FinalizeZeroAmountInvoiceEnum - firstname: String - id: ID! - integrationCustomers: [IntegrationCustomerInput!] - invoiceGracePeriod: Int - lastname: String - legalName: String - legalNumber: String - logoUrl: String - metadata: [CustomerMetadataInput!] - name: String - netPaymentTerm: Int - paymentProvider: ProviderTypeEnum - paymentProviderCode: String - phone: String - providerCustomer: ProviderCustomerInput - shippingAddress: CustomerAddressInput - state: String - taxCodes: [String!] - taxIdentificationNumber: String - timezone: TimezoneEnum - url: String - zipcode: String -} - -""" -Autogenerated input type of UpdateCustomerInvoiceGracePeriod -""" -input UpdateCustomerInvoiceGracePeriodInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - invoiceGracePeriod: Int -} - -""" -Update Wallet Input -""" -input UpdateCustomerWalletInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - expirationAt: ISO8601DateTime - id: ID! - invoiceRequiresSuccessfulPayment: Boolean - name: String - recurringTransactionRules: [UpdateRecurringTransactionRuleInput!] -} - -""" -Update input arguments -""" -input UpdateGocardlessPaymentProviderInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - id: ID! - name: String - successRedirectUrl: String -} - -""" -Autogenerated input type of UpdateHubspotIntegration -""" -input UpdateHubspotIntegrationInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - connectionId: String - defaultTargetedObject: TargetedObjectsEnum - id: ID - name: String - privateAppToken: String - syncInvoices: Boolean - syncSubscriptions: Boolean -} - -""" -Autogenerated input type of UpdateIntegrationCollectionMapping -""" -input UpdateIntegrationCollectionMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - externalAccountCode: String - externalId: String - externalName: String - id: ID! - integrationId: ID - mappingType: MappingTypeEnum -} - -""" -Autogenerated input type of UpdateIntegrationMapping -""" -input UpdateIntegrationMappingInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - externalAccountCode: String - externalId: String - externalName: String - id: ID! - integrationId: ID - mappableId: ID - mappableType: MappableTypeEnum -} - -""" -Autogenerated input type of UpdateInvite -""" -input UpdateInviteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - role: MembershipRole! -} - -""" -Update Invoice input arguments -""" -input UpdateInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - metadata: [InvoiceMetadataInput!] - paymentStatus: InvoicePaymentStatusTypeEnum -} - -""" -Autogenerated input type of UpdateMembership -""" -input UpdateMembershipInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - role: MembershipRole! -} - -""" -Autogenerated input type of UpdateNetsuiteIntegration -""" -input UpdateNetsuiteIntegrationInput { - accountId: String - clientId: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - clientSecret: String - code: String - connectionId: String - id: ID - name: String - scriptEndpointUrl: String - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean - syncSalesOrders: Boolean - tokenId: String - tokenSecret: String -} - -""" -Autogenerated input type of UpdateOktaIntegration -""" -input UpdateOktaIntegrationInput { - clientId: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - clientSecret: String - domain: String - id: ID - organizationName: String -} - -""" -Update Organization input arguments -""" -input UpdateOrganizationInput { - addressLine1: String - addressLine2: String - billingConfiguration: OrganizationBillingConfigurationInput - city: String - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - country: CountryCode - defaultCurrency: CurrencyEnum - documentNumberPrefix: String - documentNumbering: DocumentNumberingEnum - email: String - emailSettings: [EmailSettingsEnum!] - euTaxManagement: Boolean - finalizeZeroAmountInvoice: Boolean - legalName: String - legalNumber: String - logo: String - netPaymentTerm: Int - state: String - taxIdentificationNumber: String - timezone: TimezoneEnum - webhookUrl: String - zipcode: String -} - -""" -Autogenerated input type of UpdatePlan -""" -input UpdatePlanInput { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - billChargesMonthly: Boolean - charges: [ChargeInput!]! - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String! - description: String - id: String! - interval: PlanInterval! - invoiceDisplayName: String - minimumCommitment: CommitmentInput - name: String! - payInAdvance: Boolean! - taxCodes: [String!] - trialPeriod: Float - usageThresholds: [UsageThresholdInput!] -} - -input UpdateRecurringTransactionRuleInput { - grantedCredits: String - interval: RecurringTransactionIntervalEnum - invoiceRequiresSuccessfulPayment: Boolean - lagoId: ID - method: RecurringTransactionMethodEnum - paidCredits: String - startedAt: ISO8601DateTime - targetOngoingBalance: String - thresholdCredits: String - trigger: RecurringTransactionTriggerEnum -} - -""" -Update input arguments -""" -input UpdateStripePaymentProviderInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - id: ID! - name: String - successRedirectUrl: String -} - -""" -Update Subscription input arguments -""" -input UpdateSubscriptionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - endingAt: ISO8601DateTime - id: ID! - name: String - planOverrides: PlanOverridesInput - subscriptionAt: ISO8601DateTime -} - -""" -Autogenerated input type of UpdateXeroIntegration -""" -input UpdateXeroIntegrationInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - code: String - connectionId: String - id: ID - name: String - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean -} - -type UsageThreshold { - amountCents: BigInt! - createdAt: ISO8601DateTime! - id: ID! - recurring: Boolean! - thresholdDisplayName: String - updatedAt: ISO8601DateTime! -} - -input UsageThresholdInput { - amountCents: BigInt - id: ID - recurring: Boolean - thresholdDisplayName: String -} - -input UsageThresholdOverridesInput { - amountCents: BigInt! - id: ID - recurring: Boolean - thresholdDisplayName: String -} - -type User { - createdAt: ISO8601DateTime! - email: String - id: ID! - memberships: [Membership!]! - organizations: [Organization!]! - premium: Boolean! - updatedAt: ISO8601DateTime! -} - -""" -Autogenerated input type of VoidCreditNote -""" -input VoidCreditNoteInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -""" -Autogenerated input type of VoidInvoice -""" -input VoidInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -type VolumeRange { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -input VolumeRangeInput { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -""" -Wallet -""" -type Wallet { - balanceCents: BigInt! - consumedAmountCents: BigInt! - consumedCredits: Float! - createdAt: ISO8601DateTime! - creditsBalance: Float! - creditsOngoingBalance: Float! - creditsOngoingUsageBalance: Float! - currency: CurrencyEnum! - customer: Customer - expirationAt: ISO8601DateTime - id: ID! - invoiceRequiresSuccessfulPayment: Boolean! - lastBalanceSyncAt: ISO8601DateTime - lastConsumedCreditAt: ISO8601DateTime - name: String - ongoingBalanceCents: BigInt! - ongoingUsageBalanceCents: BigInt! - rateAmount: Float! - recurringTransactionRules: [RecurringTransactionRule!] - status: WalletStatusEnum! - terminatedAt: ISO8601DateTime - updatedAt: ISO8601DateTime! -} - -""" -WalletCollection type -""" -type WalletCollection { - """ - A collection of paginated WalletCollection - """ - collection: [Wallet!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum WalletStatusEnum { - active - terminated -} - -type WalletTransaction { - amount: String! - createdAt: ISO8601DateTime! - creditAmount: String! - id: ID! - invoiceRequiresSuccessfulPayment: Boolean! - settledAt: ISO8601DateTime - status: WalletTransactionStatusEnum! - transactionStatus: WalletTransactionTransactionStatusEnum! - transactionType: WalletTransactionTransactionTypeEnum! - updatedAt: ISO8601DateTime! - wallet: Wallet -} - -""" -WalletTransactionCollection type -""" -type WalletTransactionCollection { - """ - A collection of paginated WalletTransactionCollection - """ - collection: [WalletTransaction!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -enum WalletTransactionStatusEnum { - pending - settled -} - -enum WalletTransactionTransactionStatusEnum { - granted - invoiced - purchased - voided -} - -enum WalletTransactionTransactionTypeEnum { - inbound - outbound -} - -type Webhook { - createdAt: ISO8601DateTime! - endpoint: String! - httpStatus: Int - id: ID! - lastRetriedAt: ISO8601DateTime - objectType: String! - payload: String - response: String - retries: Int! - status: WebhookStatusEnum! - updatedAt: ISO8601DateTime! - webhookEndpoint: WebhookEndpoint - webhookType: String! -} - -""" -WebhookCollection type -""" -type WebhookCollection { - """ - A collection of paginated WebhookCollection - """ - collection: [Webhook!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type WebhookEndpoint { - createdAt: ISO8601DateTime! - id: ID! - organization: Organization - signatureAlgo: WebhookEndpointSignatureAlgoEnum - updatedAt: ISO8601DateTime! - webhookUrl: String! -} - -""" -WebhookEndpointCollection type -""" -type WebhookEndpointCollection { - """ - A collection of paginated WebhookEndpointCollection - """ - collection: [WebhookEndpoint!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Autogenerated input type of CreateWebhookEndpoint -""" -input WebhookEndpointCreateInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - signatureAlgo: WebhookEndpointSignatureAlgoEnum - webhookUrl: String! -} - -enum WebhookEndpointSignatureAlgoEnum { - hmac - jwt -} - -""" -Autogenerated input type of UpdateWebhookEndpoint -""" -input WebhookEndpointUpdateInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! - signatureAlgo: WebhookEndpointSignatureAlgoEnum - webhookUrl: String! -} - -enum WebhookStatusEnum { - failed - pending - succeeded -} - -enum WeightedIntervalEnum { - seconds -} - -type XeroCustomer { - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - syncWithProvider: Boolean -} - -type XeroIntegration { - code: String! - connectionId: ID! - hasMappingsConfigured: Boolean - id: ID! - name: String! - syncCreditNotes: Boolean - syncInvoices: Boolean - syncPayments: Boolean -} diff --git a/graphql_schemas/api.json b/graphql_schemas/api.json deleted file mode 100644 index a89ada0b179..00000000000 --- a/graphql_schemas/api.json +++ /dev/null @@ -1,41483 +0,0 @@ -{ - "data": { - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": { - "name": "Mutation" - }, - "subscriptionType": null, - "types": [ - { - "kind": "INPUT_OBJECT", - "name": "AcceptInviteInput", - "description": "Autogenerated input type of AcceptInvite", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "token", - "description": "Uniq token of the Invite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AddAdyenPaymentProviderInput", - "description": "Adyen input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "apiKey", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hmacKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "livePrefix", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "merchantAccount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AddGocardlessPaymentProviderInput", - "description": "Gocardless input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "accessCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AddOn", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedAddOnsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this add-on", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationMappings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AddOnCollection", - "description": "AddOnCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated AddOnCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AddStripePaymentProviderInput", - "description": "Stripe input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secretKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "AdjustedFeeTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "adjusted_units", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "adjusted_amount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "AdyenProvider", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "apiKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hmacKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "livePrefix", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "merchantAccount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "count_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sum_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unique_count_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weighted_sum_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latest_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "custom_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "AnrokBreakdownObject", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "enumedTaxCode", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoiceAppliedTaxOnWholeInvoiceCodeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "type", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AnrokCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AnrokFeeObject", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxBreakdown", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnrokBreakdownObject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AnrokFeeObjectCollection", - "description": "AnrokFeeObjectCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated AnrokFeeObjectCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnrokFeeObject", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AnrokIntegration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "apiKey", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalAccountId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "failedInvoicesCount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasMappingsConfigured", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AppliedAddOn", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addOn", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AppliedCoupon", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCentsRemaining", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "coupon", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDurationRemaining", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INTERFACE", - "name": "AppliedTax", - "description": null, - "interfaces": [ - - ], - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "ofType": null - } - ], - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AuthUrl", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "url", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Authorize", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "url", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "BigInt", - "description": "Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "BillableMetric", - "description": "Base billable metric", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "aggregationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "draftInvoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fieldName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetricFilter", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationMappings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "weightedInterval", - "description": null, - "type": { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "BillableMetricCollection", - "description": "BillableMetricCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated BillableMetricCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "BillableMetricFilter", - "description": "Billable metric filters", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "BillableMetricFiltersInput", - "description": "Billable metric filters input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "BillingTimeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "calendar", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "anniversary", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "Represents `true` or `false` values.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Charge", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billableMetric", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeModel", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ChargeModelEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChargeFilter", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Properties", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "prorated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "regroupPaidFees", - "description": null, - "type": { - "kind": "ENUM", - "name": "RegroupPaidFeesEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ChargeFilter", - "description": "Charge filters object", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Properties", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ChargeFilterInput", - "description": "Charge filters input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "PropertiesInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ChargeFilterUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "eventsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ChargeInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "billableMetricId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "chargeModel", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ChargeModelEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceable", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "prorated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regroupPaidFees", - "description": null, - "type": { - "kind": "ENUM", - "name": "RegroupPaidFeesEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChargeFilterInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PropertiesInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ChargeModelEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "standard", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "package", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "volume", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduated_percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "custom", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "ChargeOverridesInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "billableMetricId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChargeFilterInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PropertiesInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ChargeUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetric", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "charge", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Charge", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "eventsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChargeFilterUsage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedUsage", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupedChargeUsage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CollectionMapping", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mappingType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MappingTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CollectionMappingCollection", - "description": "CollectionMappingCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated CollectionMappingCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMapping", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CollectionMetadata", - "description": "Type for CollectionMetadataType", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "currentPage", - "description": "Current Page of loaded data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitValue", - "description": "The number of items per page", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalCount", - "description": "The total number of items to be paginated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalPages", - "description": "The total number of pages in the pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Commitment", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "commitmentType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommitmentTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plan", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CommitmentInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commitmentType", - "description": null, - "type": { - "kind": "ENUM", - "name": "CommitmentTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CommitmentTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "minimum_commitment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CountryCode", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AD", - "description": "Andorra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AE", - "description": "United Arab Emirates", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AF", - "description": "Afghanistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AG", - "description": "Antigua and Barbuda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AI", - "description": "Anguilla", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AL", - "description": "Albania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AM", - "description": "Armenia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AO", - "description": "Angola", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AQ", - "description": "Antarctica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AR", - "description": "Argentina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AS", - "description": "American Samoa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AT", - "description": "Austria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AU", - "description": "Australia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AW", - "description": "Aruba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AX", - "description": "Åland Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AZ", - "description": "Azerbaijan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BA", - "description": "Bosnia and Herzegovina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BB", - "description": "Barbados", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BD", - "description": "Bangladesh", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BE", - "description": "Belgium", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BF", - "description": "Burkina Faso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BG", - "description": "Bulgaria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BH", - "description": "Bahrain", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BI", - "description": "Burundi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BJ", - "description": "Benin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BL", - "description": "Saint Barthélemy", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BM", - "description": "Bermuda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BN", - "description": "Brunei Darussalam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BO", - "description": "Bolivia (Plurinational State of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BQ", - "description": "Bonaire, Sint Eustatius and Saba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BR", - "description": "Brazil", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BS", - "description": "Bahamas", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BT", - "description": "Bhutan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BV", - "description": "Bouvet Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BW", - "description": "Botswana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BY", - "description": "Belarus", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BZ", - "description": "Belize", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CA", - "description": "Canada", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CC", - "description": "Cocos (Keeling) Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CD", - "description": "Congo (Democratic Republic of the)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CF", - "description": "Central African Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CG", - "description": "Congo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CH", - "description": "Switzerland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CI", - "description": "Côte d'Ivoire", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CK", - "description": "Cook Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CL", - "description": "Chile", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CM", - "description": "Cameroon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CN", - "description": "China", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CO", - "description": "Colombia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CR", - "description": "Costa Rica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CU", - "description": "Cuba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CV", - "description": "Cabo Verde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CW", - "description": "Curaçao", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CX", - "description": "Christmas Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CY", - "description": "Cyprus", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CZ", - "description": "Czechia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DE", - "description": "Germany", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DJ", - "description": "Djibouti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DK", - "description": "Denmark", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DM", - "description": "Dominica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DO", - "description": "Dominican Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DZ", - "description": "Algeria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EC", - "description": "Ecuador", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EE", - "description": "Estonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EG", - "description": "Egypt", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EH", - "description": "Western Sahara", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ER", - "description": "Eritrea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ES", - "description": "Spain", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ET", - "description": "Ethiopia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FI", - "description": "Finland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FJ", - "description": "Fiji", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FK", - "description": "Falkland Islands (Malvinas)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FM", - "description": "Micronesia (Federated States of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FO", - "description": "Faroe Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FR", - "description": "France", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GA", - "description": "Gabon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GB", - "description": "United Kingdom of Great Britain and Northern Ireland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GD", - "description": "Grenada", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GE", - "description": "Georgia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GF", - "description": "French Guiana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GG", - "description": "Guernsey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GH", - "description": "Ghana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GI", - "description": "Gibraltar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GL", - "description": "Greenland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GM", - "description": "Gambia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GN", - "description": "Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GP", - "description": "Guadeloupe", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GQ", - "description": "Equatorial Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GR", - "description": "Greece", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GS", - "description": "South Georgia and the South Sandwich Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GT", - "description": "Guatemala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GU", - "description": "Guam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GW", - "description": "Guinea-Bissau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GY", - "description": "Guyana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HK", - "description": "Hong Kong", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HM", - "description": "Heard Island and McDonald Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HN", - "description": "Honduras", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HR", - "description": "Croatia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HT", - "description": "Haiti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HU", - "description": "Hungary", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ID", - "description": "Indonesia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IE", - "description": "Ireland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IL", - "description": "Israel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IM", - "description": "Isle of Man", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IN", - "description": "India", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IO", - "description": "British Indian Ocean Territory", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IQ", - "description": "Iraq", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IR", - "description": "Iran (Islamic Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IS", - "description": "Iceland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IT", - "description": "Italy", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JE", - "description": "Jersey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JM", - "description": "Jamaica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JO", - "description": "Jordan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JP", - "description": "Japan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KE", - "description": "Kenya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KG", - "description": "Kyrgyzstan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KH", - "description": "Cambodia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KI", - "description": "Kiribati", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KM", - "description": "Comoros", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KN", - "description": "Saint Kitts and Nevis", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KP", - "description": "Korea (Democratic People's Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KR", - "description": "Korea (Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KW", - "description": "Kuwait", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KY", - "description": "Cayman Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KZ", - "description": "Kazakhstan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LA", - "description": "Lao People's Democratic Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LB", - "description": "Lebanon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LC", - "description": "Saint Lucia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LI", - "description": "Liechtenstein", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LK", - "description": "Sri Lanka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LR", - "description": "Liberia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LS", - "description": "Lesotho", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LT", - "description": "Lithuania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LU", - "description": "Luxembourg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LV", - "description": "Latvia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LY", - "description": "Libya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MA", - "description": "Morocco", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MC", - "description": "Monaco", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MD", - "description": "Moldova (Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ME", - "description": "Montenegro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MF", - "description": "Saint Martin (French part)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MG", - "description": "Madagascar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MH", - "description": "Marshall Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MK", - "description": "North Macedonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ML", - "description": "Mali", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MM", - "description": "Myanmar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MN", - "description": "Mongolia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MO", - "description": "Macao", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MP", - "description": "Northern Mariana Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MQ", - "description": "Martinique", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MR", - "description": "Mauritania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MS", - "description": "Montserrat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MT", - "description": "Malta", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MU", - "description": "Mauritius", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MV", - "description": "Maldives", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MW", - "description": "Malawi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MX", - "description": "Mexico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MY", - "description": "Malaysia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MZ", - "description": "Mozambique", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NA", - "description": "Namibia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NC", - "description": "New Caledonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NE", - "description": "Niger", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NF", - "description": "Norfolk Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NG", - "description": "Nigeria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NI", - "description": "Nicaragua", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NL", - "description": "Netherlands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NO", - "description": "Norway", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NP", - "description": "Nepal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NR", - "description": "Nauru", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NU", - "description": "Niue", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NZ", - "description": "New Zealand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OM", - "description": "Oman", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PA", - "description": "Panama", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PE", - "description": "Peru", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PF", - "description": "French Polynesia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PG", - "description": "Papua New Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PH", - "description": "Philippines", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PK", - "description": "Pakistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PL", - "description": "Poland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PM", - "description": "Saint Pierre and Miquelon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PN", - "description": "Pitcairn", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PR", - "description": "Puerto Rico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PS", - "description": "Palestine, State of", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PT", - "description": "Portugal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PW", - "description": "Palau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PY", - "description": "Paraguay", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "QA", - "description": "Qatar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RE", - "description": "Réunion", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RO", - "description": "Romania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RS", - "description": "Serbia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RU", - "description": "Russian Federation", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RW", - "description": "Rwanda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SA", - "description": "Saudi Arabia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SB", - "description": "Solomon Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SC", - "description": "Seychelles", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SD", - "description": "Sudan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SE", - "description": "Sweden", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SG", - "description": "Singapore", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SH", - "description": "Saint Helena, Ascension and Tristan da Cunha", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SI", - "description": "Slovenia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SJ", - "description": "Svalbard and Jan Mayen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SK", - "description": "Slovakia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SL", - "description": "Sierra Leone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SM", - "description": "San Marino", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SN", - "description": "Senegal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SO", - "description": "Somalia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SR", - "description": "Suriname", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SS", - "description": "South Sudan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ST", - "description": "Sao Tome and Principe", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SV", - "description": "El Salvador", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SX", - "description": "Sint Maarten (Dutch part)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SY", - "description": "Syrian Arab Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SZ", - "description": "Eswatini", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TC", - "description": "Turks and Caicos Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TD", - "description": "Chad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TF", - "description": "French Southern Territories", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TG", - "description": "Togo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TH", - "description": "Thailand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TJ", - "description": "Tajikistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TK", - "description": "Tokelau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TL", - "description": "Timor-Leste", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TM", - "description": "Turkmenistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TN", - "description": "Tunisia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TO", - "description": "Tonga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TR", - "description": "Türkiye", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TT", - "description": "Trinidad and Tobago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TV", - "description": "Tuvalu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TW", - "description": "Taiwan, Province of China", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ", - "description": "Tanzania, United Republic of", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UA", - "description": "Ukraine", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UG", - "description": "Uganda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UM", - "description": "United States Minor Outlying Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "US", - "description": "United States of America", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UY", - "description": "Uruguay", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UZ", - "description": "Uzbekistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VA", - "description": "Holy See", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VC", - "description": "Saint Vincent and the Grenadines", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VE", - "description": "Venezuela (Bolivarian Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VG", - "description": "Virgin Islands (British)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VI", - "description": "Virgin Islands (U.S.)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VN", - "description": "Viet Nam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VU", - "description": "Vanuatu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WF", - "description": "Wallis and Futuna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WS", - "description": "Samoa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YE", - "description": "Yemen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YT", - "description": "Mayotte", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZA", - "description": "South Africa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZM", - "description": "Zambia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZW", - "description": "Zimbabwe", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Coupon", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedCouponsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetrics", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this coupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "expiration", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponExpiration", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitedBillableMetrics", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitedPlans", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plans", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "reusable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CouponCollection", - "description": "CouponCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated CouponCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CouponExpiration", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "no_expiration", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time_limit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponFrequency", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "once", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forever", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "terminated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "fixed_amount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateAddOnInput", - "description": "Autogenerated input type of CreateAddOn", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateAdjustedFeeInput", - "description": "Create Adjusted Fee Input", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "feeId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unitAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateAnrokIntegrationInput", - "description": "Autogenerated input type of CreateAnrokIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "apiKey", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateAppliedCouponInput", - "description": "Autogenerated input type of CreateAppliedCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "couponId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateBillableMetricInput", - "description": "Create Billable metric input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "aggregationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fieldName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weightedInterval", - "description": null, - "type": { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BillableMetricFiltersInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateCouponInput", - "description": "Autogenerated input type of CreateCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "couponType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reusable", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "appliesTo", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "LimitationInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expiration", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponExpiration", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateCreditNoteInput", - "description": "Autogenerated input type of CreateCreditNote", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reason", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditNoteReasonEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "creditAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refundAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreditNoteItemInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerInput", - "description": "Create Customer input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerType", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalSalesforceId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "firstname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "phone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shippingAddress", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CustomerAddressInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CustomerMetadataInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentProvider", - "description": null, - "type": { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentProviderCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "providerCustomer", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ProviderCustomerInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationCustomers", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "IntegrationCustomerInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CustomerBillingConfigurationInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalizeZeroAmountInvoice", - "description": null, - "type": { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerWalletInput", - "description": "Create Wallet Input", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "grantedCredits", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paidCredits", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rateAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurringTransactionRules", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateRecurringTransactionRuleInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerWalletTransactionInput", - "description": "Autogenerated input type of CreateCustomerWalletTransaction", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "walletId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "grantedCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paidCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voidedCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateDataExportsInvoicesInput", - "description": "Autogenerated input type of CreateInvoicesDataExport", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "filters", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DataExportInvoiceFiltersInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "format", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DataExportFormatTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resourceType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ExportTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateHubspotIntegrationInput", - "description": "Autogenerated input type of CreateHubspotIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultTargetedObject", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TargetedObjectsEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "privateAppToken", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncSubscriptions", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateIntegrationCollectionMappingInput", - "description": "Autogenerated input type of CreateIntegrationCollectionMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappingType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MappingTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateIntegrationMappingInput", - "description": "Autogenerated input type of CreateIntegrationMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappableId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappableType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MappableTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateInviteInput", - "description": "Autogenerated input type of CreateInvite", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipRole", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateInvoiceInput", - "description": "Create Invoice input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FeeInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateNetsuiteIntegrationInput", - "description": "Autogenerated input type of CreateNetsuiteIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "accountId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scriptEndpointUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tokenId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tokenSecret", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncSalesOrders", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateOktaIntegrationInput", - "description": "Autogenerated input type of CreateOktaIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "domain", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreatePasswordResetInput", - "description": "Autogenerated input type of CreatePasswordReset", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreatePasswordResetPayload", - "description": "Autogenerated return type of CreatePasswordReset.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreatePlanInput", - "description": "Autogenerated input type of CreatePlan", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billChargesMonthly", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PlanInterval", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trialPeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "charges", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChargeInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minimumCommitment", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CommitmentInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "usageThresholds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UsageThresholdInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateRecurringTransactionRuleInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "grantedCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionIntervalEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "method", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionMethodEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paidCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "targetOngoingBalance", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thresholdCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RecurringTransactionTriggerEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateSubscriptionInput", - "description": "Create Subscription input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "endingAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "planId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "planOverrides", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PlanOverridesInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billingTime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "BillingTimeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreateXeroIntegrationInput", - "description": "Autogenerated input type of CreateXeroIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNote", - "description": "CreditNote", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "balanceAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canBeVoided", - "description": "Check if credit note can be voided", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAdjustmentAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "CreditNoteCreditStatusEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorDetail", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalIntegrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fileUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "issuingDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteItem", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "reason", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditNoteReasonEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "CreditNoteRefundStatusEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalExcludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "voidedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "baseAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNote", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNoteCollection", - "description": "CreditNoteCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated CreditNoteCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CreditNoteCreditStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "available", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "consumed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CreditNoteEstimate", - "description": "Estimate amounts for credit note creation", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAdjustmentAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteItemEstimate", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "maxCreditableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "maxRefundableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "preciseCouponsAdjustmentAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "preciseTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalExcludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNoteItem", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNoteItemEstimate", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CreditNoteItemInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "feeId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CreditNoteReasonEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "duplicated_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "product_unsatisfactory", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_change", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_cancellation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fraudulent_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "other", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CreditNoteRefundStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "succeeded", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CurrencyEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AED", - "description": "United Arab Emirates Dirham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AFN", - "description": "Afghan Afghani", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ALL", - "description": "Albanian Lek", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AMD", - "description": "Armenian Dram", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ANG", - "description": "Netherlands Antillean Gulden", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AOA", - "description": "Angolan Kwanza", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARS", - "description": "Argentine Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AUD", - "description": "Australian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AWG", - "description": "Aruban Florin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AZN", - "description": "Azerbaijani Manat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BAM", - "description": "Bosnia and Herzegovina Convertible Mark", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BBD", - "description": "Barbadian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BDT", - "description": "Bangladeshi Taka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BGN", - "description": "Bulgarian Lev", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BIF", - "description": "Burundian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BMD", - "description": "Bermudian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BND", - "description": "Brunei Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOB", - "description": "Bolivian Boliviano", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BRL", - "description": "Brazilian Real", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BSD", - "description": "Bahamian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BWP", - "description": "Botswana Pula", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BYN", - "description": "Belarusian Ruble", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BZD", - "description": "Belize Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CAD", - "description": "Canadian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CDF", - "description": "Congolese Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CHF", - "description": "Swiss Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CLF", - "description": "Unidad de Fomento", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CLP", - "description": "Chilean Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CNY", - "description": "Chinese Renminbi Yuan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "COP", - "description": "Colombian Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CRC", - "description": "Costa Rican Colón", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CVE", - "description": "Cape Verdean Escudo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CZK", - "description": "Czech Koruna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DJF", - "description": "Djiboutian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DKK", - "description": "Danish Krone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DOP", - "description": "Dominican Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DZD", - "description": "Algerian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EGP", - "description": "Egyptian Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ETB", - "description": "Ethiopian Birr", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EUR", - "description": "Euro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FJD", - "description": "Fijian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FKP", - "description": "Falkland Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GBP", - "description": "British Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GEL", - "description": "Georgian Lari", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GIP", - "description": "Gibraltar Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GMD", - "description": "Gambian Dalasi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GNF", - "description": "Guinean Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GTQ", - "description": "Guatemalan Quetzal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GYD", - "description": "Guyanese Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HKD", - "description": "Hong Kong Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HNL", - "description": "Honduran Lempira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HRK", - "description": "Croatian Kuna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HTG", - "description": "Haitian Gourde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HUF", - "description": "Hungarian Forint", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IDR", - "description": "Indonesian Rupiah", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ILS", - "description": "Israeli New Sheqel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INR", - "description": "Indian Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IRR", - "description": "Iranian Rial", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ISK", - "description": "Icelandic Króna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JMD", - "description": "Jamaican Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JOD", - "description": "Jordanian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JPY", - "description": "Japanese Yen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KES", - "description": "Kenyan Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KGS", - "description": "Kyrgyzstani Som", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KHR", - "description": "Cambodian Riel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KMF", - "description": "Comorian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KRW", - "description": "South Korean Won", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KWD", - "description": "Kuwaiti Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KYD", - "description": "Cayman Islands Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KZT", - "description": "Kazakhstani Tenge", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LAK", - "description": "Lao Kip", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LBP", - "description": "Lebanese Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LKR", - "description": "Sri Lankan Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LRD", - "description": "Liberian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LSL", - "description": "Lesotho Loti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MAD", - "description": "Moroccan Dirham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MDL", - "description": "Moldovan Leu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MGA", - "description": "Malagasy Ariary", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MKD", - "description": "Macedonian Denar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MMK", - "description": "Myanmar Kyat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MNT", - "description": "Mongolian Tögrög", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MOP", - "description": "Macanese Pataca", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MRO", - "description": "Mauritanian Ouguiya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUR", - "description": "Mauritian Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MVR", - "description": "Maldivian Rufiyaa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MWK", - "description": "Malawian Kwacha", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MXN", - "description": "Mexican Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MYR", - "description": "Malaysian Ringgit", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MZN", - "description": "Mozambican Metical", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAD", - "description": "Namibian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NGN", - "description": "Nigerian Naira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NIO", - "description": "Nicaraguan Córdoba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NOK", - "description": "Norwegian Krone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NPR", - "description": "Nepalese Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NZD", - "description": "New Zealand Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PAB", - "description": "Panamanian Balboa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PEN", - "description": "Peruvian Sol", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PGK", - "description": "Papua New Guinean Kina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PHP", - "description": "Philippine Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PKR", - "description": "Pakistani Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PLN", - "description": "Polish Złoty", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PYG", - "description": "Paraguayan Guaraní", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "QAR", - "description": "Qatari Riyal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RON", - "description": "Romanian Leu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RSD", - "description": "Serbian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RUB", - "description": "Russian Ruble", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RWF", - "description": "Rwandan Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SAR", - "description": "Saudi Riyal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SBD", - "description": "Solomon Islands Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCR", - "description": "Seychellois Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SEK", - "description": "Swedish Krona", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SGD", - "description": "Singapore Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SHP", - "description": "Saint Helenian Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SLL", - "description": "Sierra Leonean Leone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SOS", - "description": "Somali Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SRD", - "description": "Surinamese Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "STD", - "description": "São Tomé and Príncipe Dobra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SZL", - "description": "Swazi Lilangeni", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "THB", - "description": "Thai Baht", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TJS", - "description": "Tajikistani Somoni", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TOP", - "description": "Tongan Paʻanga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TRY", - "description": "Turkish Lira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TTD", - "description": "Trinidad and Tobago Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TWD", - "description": "New Taiwan Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZS", - "description": "Tanzanian Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UAH", - "description": "Ukrainian Hryvnia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UGX", - "description": "Ugandan Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "USD", - "description": "United States Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UYU", - "description": "Uruguayan Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UZS", - "description": "Uzbekistan Som", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VND", - "description": "Vietnamese Đồng", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VUV", - "description": "Vanuatu Vatu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WST", - "description": "Samoan Tala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XAF", - "description": "Central African Cfa Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XCD", - "description": "East Caribbean Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XOF", - "description": "West African Cfa Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XPF", - "description": "Cfp Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YER", - "description": "Yemeni Rial", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZAR", - "description": "South African Rand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZMW", - "description": "Zambian Kwacha", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CurrentOrganization", - "description": "Current Organization Type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "adyenPaymentProviders", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AdyenProvider", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "apiKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "OBJECT", - "name": "OrganizationBillingConfiguration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "defaultCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "documentNumberPrefix", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "documentNumbering", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DocumentNumberingEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "emailSettings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EmailSettingsEnum", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "euTaxManagement", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "finalizeZeroAmountInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "gocardlessPaymentProviders", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GocardlessProvider", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "premiumIntegrations", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PremiumIntegrationTypeEnum", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "stripePaymentProviders", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StripeProvider", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": "Query taxes of an organization", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "appliedToOrganization", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "autoGenerated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "webhookUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CurrentVersion", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "githubUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Customer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": "Number of active subscriptions per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "anrokCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "AnrokCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "applicableTimezone", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedAddOns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AppliedAddOn", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedCoupons", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AppliedCoupon", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "OBJECT", - "name": "CustomerBillingConfiguration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canEditAttributes", - "description": "Check if customer attributes are editable", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesBalanceAmountCents", - "description": "Credit notes credits balance available per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesCreditsAvailableCount", - "description": "Number of available credits from credit notes per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerType", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "displayName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalSalesforceId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "finalizeZeroAmountInvoice", - "description": "Options for handling invoices with a zero total amount.", - "type": { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "firstname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasActiveWallet", - "description": "Define if a customer has an active wallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasCreditNotes", - "description": "Define if a customer has any credit note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasOverdueInvoices", - "description": "Define if a customer has overdue invoices", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoices", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lastname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CustomerMetadata", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "netsuiteCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "NetsuiteCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentProvider", - "description": null, - "type": { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentProviderCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "phone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "ProviderCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "shippingAddress", - "description": null, - "type": { - "kind": "OBJECT", - "name": "CustomerAddress", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "slug", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptions", - "description": "Query subscriptions of a customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "status", - "description": "Statuses of subscriptions to retrieve", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "StatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "xeroCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "XeroCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerAddress", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CustomerAddressInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerBillingConfiguration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CustomerBillingConfigurationInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerCollection", - "description": "CustomerCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated CustomerCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerMetadata", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "displayInInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CustomerMetadataInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "displayInInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "company", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "individual", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CustomerUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesUsage", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChargeUsage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "issuingDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DataExport", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "DataExportStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "DataExportFormatTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "csv", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "DataExportInvoiceFiltersInput", - "description": "Export Invoices search query and filters input argument", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerExternalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceType", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issuingDateFrom", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issuingDateTo", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentDisputeLost", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentOverdue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "DataExportStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "processing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "completed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyAddOnInput", - "description": "Autogenerated input type of DestroyAddOn", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyAddOnPayload", - "description": "Autogenerated return type of DestroyAddOn.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyAdjustedFeeInput", - "description": "Autogenerated input type of DestroyAdjustedFee", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyAdjustedFeePayload", - "description": "Autogenerated return type of DestroyAdjustedFee.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyBillableMetricInput", - "description": "Autogenerated input type of DestroyBillableMetric", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyBillableMetricPayload", - "description": "Autogenerated return type of DestroyBillableMetric.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyCouponInput", - "description": "Autogenerated input type of DestroyCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyCouponPayload", - "description": "Autogenerated return type of DestroyCoupon.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyCustomerInput", - "description": "Autogenerated input type of DestroyCustomer", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyCustomerPayload", - "description": "Autogenerated return type of DestroyCustomer.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationCollectionMappingInput", - "description": "Autogenerated input type of DestroyIntegrationCollectionMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyIntegrationCollectionMappingPayload", - "description": "Autogenerated return type of DestroyIntegrationCollectionMapping.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationInput", - "description": "Autogenerated input type of DestroyIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationMappingInput", - "description": "Autogenerated input type of DestroyIntegrationMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyIntegrationMappingPayload", - "description": "Autogenerated return type of DestroyIntegrationMapping.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyIntegrationPayload", - "description": "Autogenerated return type of DestroyIntegration.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyPaymentProviderInput", - "description": "Autogenerated input type of DestroyPaymentProvider", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyPaymentProviderPayload", - "description": "Autogenerated return type of DestroyPaymentProvider.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyPlanInput", - "description": "Autogenerated input type of DestroyPlan", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyPlanPayload", - "description": "Autogenerated return type of DestroyPlan.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyTaxInput", - "description": "Autogenerated input type of DestroyTax", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyTaxPayload", - "description": "Autogenerated return type of DestroyTax.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DestroyWebhookEndpointInput", - "description": "Autogenerated input type of DestroyWebhookEndpoint", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "DestroyWebhookEndpointPayload", - "description": "Autogenerated return type of DestroyWebhookEndpoint.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "DocumentNumberingEnum", - "description": "Document numbering type", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "per_customer", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "per_organization", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "DownloadCreditNoteInput", - "description": "Autogenerated input type of DownloadCreditNote", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DownloadInvoiceInput", - "description": "Autogenerated input type of DownloadInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "EmailSettingsEnum", - "description": "Organization Email Settings Values", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "invoice_finalized", - "description": "invoice.finalized", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit_note_created", - "description": "credit_note.created", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "ErrorCodesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "not_provided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax_error", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax_voiding_error", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ErrorDetail", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "errorCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ErrorCodesEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Event", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "apiClient", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetricName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerTimezone", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalSubscriptionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "ipAddress", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "matchBillableMetric", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "matchCustomField", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "matchCustomer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "matchSubscription", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payload", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "receivedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "timestamp", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "transactionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "EventCollection", - "description": "EventCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated EventCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ExportTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "invoices", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoice_fees", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Fee", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "InvoiceItem", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "adjustedFee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "adjustedFeeType", - "description": null, - "type": { - "kind": "ENUM", - "name": "AdjustedFeeTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountDetails", - "description": null, - "type": { - "kind": "OBJECT", - "name": "FeeAmountDetails", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "charge", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Charge", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeFilter", - "description": null, - "type": { - "kind": "OBJECT", - "name": "ChargeFilter", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "eventsCount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feeType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "FeeTypesEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "preciseUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscription", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "succeededAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trueUpFee", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trueUpParentFee", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetails", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "fixedFeeTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fixedFeeUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedPercentageRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedPercentageRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minMaxAdjustmentTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paidEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paidUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perPackageSize", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perPackageUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedPercentageRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalWithFlatAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalWithFlatAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FeeInput", - "description": "Fee input for creating invoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "addOnId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unitAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "FeeTypesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "add_on", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscription", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commitment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "FetchDraftInvoiceTaxesInput", - "description": "Create Invoice input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FeeInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationAccountsInput", - "description": "Autogenerated input type of FetchIntegrationAccounts", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationItemsInput", - "description": "Autogenerated input type of FetchIntegrationItems", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationTaxItemsInput", - "description": "Autogenerated input type of FetchIntegrationTaxItems", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FinalizeAllInvoicesInput", - "description": "Autogenerated input type of FinalizeAllInvoices", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FinalizeInvoiceInput", - "description": "Autogenerated input type of FinalizeInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "inherit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "skip", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalize", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollection", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollectionCollection", - "description": "FinalizedInvoiceCollectionCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated FinalizedInvoiceCollectionCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollection", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GenerateCustomerPortalUrlInput", - "description": "Autogenerated input type of GenerateCustomerPortalUrl", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GenerateCustomerPortalUrlPayload", - "description": "Autogenerated return type of GenerateCustomerPortalUrl.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "url", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GocardlessProvider", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasAccessToken", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "webhookSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GoogleAcceptInviteInput", - "description": "Autogenerated input type of GoogleAcceptInvite", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inviteToken", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GoogleLoginUserInput", - "description": "Autogenerated input type of GoogleLoginUser", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GoogleRegisterUserInput", - "description": "Autogenerated input type of GoogleRegisterUser", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GraduatedPercentageRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GraduatedPercentageRangeInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GraduatedRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GraduatedRangeInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GrossRevenue", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GrossRevenueCollection", - "description": "GrossRevenueCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated GrossRevenueCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GrossRevenue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GroupedChargeUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "eventsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChargeFilterUsage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "HubspotIntegration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "defaultTargetedObject", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TargetedObjectsEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "privateAppToken", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncSubscriptions", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ISO8601Date", - "description": "An ISO 8601-encoded date", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "description": "An ISO 8601-encoded datetime", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "UNION", - "name": "Integration", - "description": null, - "interfaces": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "AnrokIntegration", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "HubspotIntegration", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "NetsuiteIntegration", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OktaIntegration", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "XeroIntegration", - "ofType": null - } - ], - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "IntegrationCollection", - "description": "IntegrationCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated IntegrationCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Integration", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "IntegrationCustomerInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subsidiaryId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "IntegrationItem", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IntegrationItemTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "IntegrationItemCollection", - "description": "IntegrationItemCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated IntegrationItemCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "IntegrationItem", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "IntegrationItemTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "standard", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "account", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "netsuite", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "okta", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "anrok", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "xero", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "progressive_billing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hubspot", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Invite", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "acceptedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recipient", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "revokedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "role", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipRole", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InviteStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InviteCollection", - "description": "InviteCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated InviteCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invite", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InviteStatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "accepted", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revoked", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Invoice", - "description": "Invoice", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorDetail", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalIntegrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fileUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceSubscriptions", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceSubscription", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "issuingDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceMetadata", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDisputeLosable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDisputeLostAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDueDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentOverdue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "prepaidCreditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "progressiveBillingCreditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalExcludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalIncludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptions", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderVoidable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "versionNumber", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "voidable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedOnWholeInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "enumedTaxCode", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoiceAppliedTaxOnWholeInvoiceCodeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoiceAppliedTaxOnWholeInvoiceCodeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "not_collecting", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "juris_not_taxed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reverse_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customer_exempt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transaction_exempt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "juris_has_no_tax", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unknown_taxation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InvoiceCollection", - "description": "InvoiceCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated InvoiceCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INTERFACE", - "name": "InvoiceItem", - "description": "Invoice Item", - "interfaces": [ - - ], - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - ], - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InvoiceMetadata", - "description": "Attributes for invoice metadata object", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "InvoiceMetadataInput", - "description": "Attributes for creating or updating invoice metadata object", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "succeeded", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "draft", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalized", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "generating", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "open", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InvoiceSubscription", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "chargeAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesFromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesToDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "inAdvanceChargesFromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "inAdvanceChargesToDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscription", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "subscription", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "add_on", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "one_off", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "advance_charges", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "progressive_billing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InvoicedUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InvoicedUsageCollection", - "description": "InvoicedUsageCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated InvoicedUsageCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoicedUsage", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "JSON", - "description": "Represents untyped JSON", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LimitationInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "billableMetricIds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "planIds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "LoginUser", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "user", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LoginUserInput", - "description": "Autogenerated input type of LoginUser", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LoseInvoiceDisputeInput", - "description": "Autogenerated input type of LoseInvoiceDispute", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "MappableTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AddOn", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BillableMetric", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Mapping", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mappableId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mappableType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MappableTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "MappingCollection", - "description": "MappingCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated MappingCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "MappingTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "fallback_item", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coupon", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscription_fee", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minimum_commitment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "prepaid_credit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit_note", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "account", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Membership", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "permissions", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Permissions", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "revokedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "role", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipRole", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipStatus", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "user", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "MembershipCollection", - "description": "MembershipCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated MembershipCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Metadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "MembershipRole", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "admin", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "manager", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finance", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "MembershipStatus", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revoked", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Metadata", - "description": "Type for CollectionMetadataType", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "adminCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currentPage", - "description": "Current Page of loaded data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitValue", - "description": "The number of items per page", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalCount", - "description": "The total number of items to be paginated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalPages", - "description": "The total number of pages in the pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Mrr", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "MrrCollection", - "description": "MrrCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated MrrCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mrr", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "acceptInvite", - "description": "Accepts a new Invite", - "type": { - "kind": "OBJECT", - "name": "RegisterUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for AcceptInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AcceptInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "addAdyenPaymentProvider", - "description": "Add Adyen payment provider", - "type": { - "kind": "OBJECT", - "name": "AdyenProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for AddAdyenPaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddAdyenPaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "addGocardlessPaymentProvider", - "description": "Add or update Gocardless payment provider", - "type": { - "kind": "OBJECT", - "name": "GocardlessProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for AddGocardlessPaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddGocardlessPaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "addStripePaymentProvider", - "description": "Add Stripe API keys to the organization", - "type": { - "kind": "OBJECT", - "name": "StripeProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for AddStripePaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddStripePaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createAddOn", - "description": "Creates a new add-on", - "type": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateAddOn", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAddOnInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createAdjustedFee", - "description": "Creates Adjusted Fee", - "type": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateAdjustedFee", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAdjustedFeeInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createAnrokIntegration", - "description": "Create Anrok integration", - "type": { - "kind": "OBJECT", - "name": "AnrokIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateAnrokIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAnrokIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createAppliedCoupon", - "description": "Assigns a Coupon to a Customer", - "type": { - "kind": "OBJECT", - "name": "AppliedCoupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateAppliedCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateAppliedCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createBillableMetric", - "description": "Creates a new Billable metric", - "type": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateBillableMetric", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateBillableMetricInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createCoupon", - "description": "Creates a new Coupon", - "type": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createCreditNote", - "description": "Creates a new Credit Note", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateCreditNote", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateCreditNoteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createCustomer", - "description": "Creates a new customer", - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateCustomer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createCustomerWallet", - "description": "Creates a new Customer Wallet", - "type": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateCustomerWallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerWalletInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createCustomerWalletTransaction", - "description": "Creates a new Customer Wallet Transaction", - "type": { - "kind": "OBJECT", - "name": "WalletTransactionCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateCustomerWalletTransaction", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateCustomerWalletTransactionInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createHubspotIntegration", - "description": "Create Hubspot integration", - "type": { - "kind": "OBJECT", - "name": "HubspotIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateHubspotIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateHubspotIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createIntegrationCollectionMapping", - "description": "Create integration collection mapping", - "type": { - "kind": "OBJECT", - "name": "CollectionMapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateIntegrationCollectionMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateIntegrationCollectionMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createIntegrationMapping", - "description": "Create integration mapping", - "type": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateIntegrationMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateIntegrationMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createInvite", - "description": "Creates a new Invite", - "type": { - "kind": "OBJECT", - "name": "Invite", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createInvoice", - "description": "Creates a new Invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createInvoicesDataExport", - "description": "Request data export of invoices", - "type": { - "kind": "OBJECT", - "name": "DataExport", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateInvoicesDataExport", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateDataExportsInvoicesInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createNetsuiteIntegration", - "description": "Create Netsuite integration", - "type": { - "kind": "OBJECT", - "name": "NetsuiteIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateNetsuiteIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateNetsuiteIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createOktaIntegration", - "description": "Create Okta integration", - "type": { - "kind": "OBJECT", - "name": "OktaIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateOktaIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateOktaIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createPasswordReset", - "description": "Creates a new password reset", - "type": { - "kind": "OBJECT", - "name": "CreatePasswordResetPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreatePasswordReset", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreatePasswordResetInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createPaymentRequest", - "description": "Creates a payment request", - "type": { - "kind": "OBJECT", - "name": "PaymentRequest", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreatePaymentRequest", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "PaymentRequestCreateInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createPlan", - "description": "Creates a new Plan", - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreatePlan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreatePlanInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createSubscription", - "description": "Create a new Subscription", - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateSubscription", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateSubscriptionInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createTax", - "description": "Creates a tax", - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateTax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TaxCreateInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createWebhookEndpoint", - "description": "Create a new webhook endpoint", - "type": { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateWebhookEndpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "WebhookEndpointCreateInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "createXeroIntegration", - "description": "Create Xero integration", - "type": { - "kind": "OBJECT", - "name": "XeroIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for CreateXeroIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateXeroIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyAddOn", - "description": "Deletes an add-on", - "type": { - "kind": "OBJECT", - "name": "DestroyAddOnPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyAddOn", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyAddOnInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyAdjustedFee", - "description": "Deletes an adjusted fee", - "type": { - "kind": "OBJECT", - "name": "DestroyAdjustedFeePayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyAdjustedFee", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyAdjustedFeeInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyBillableMetric", - "description": "Deletes a Billable metric", - "type": { - "kind": "OBJECT", - "name": "DestroyBillableMetricPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyBillableMetric", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyBillableMetricInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyCoupon", - "description": "Deletes a coupon", - "type": { - "kind": "OBJECT", - "name": "DestroyCouponPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyCustomer", - "description": "Delete a Customer", - "type": { - "kind": "OBJECT", - "name": "DestroyCustomerPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyCustomer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyCustomerInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyIntegration", - "description": "Destroy an integration", - "type": { - "kind": "OBJECT", - "name": "DestroyIntegrationPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyIntegrationCollectionMapping", - "description": "Destroy an integration collection mapping", - "type": { - "kind": "OBJECT", - "name": "DestroyIntegrationCollectionMappingPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyIntegrationCollectionMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationCollectionMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyIntegrationMapping", - "description": "Destroy an integration mapping", - "type": { - "kind": "OBJECT", - "name": "DestroyIntegrationMappingPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyIntegrationMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyIntegrationMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyPaymentProvider", - "description": "Destroy a payment provider", - "type": { - "kind": "OBJECT", - "name": "DestroyPaymentProviderPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyPaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyPaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyPlan", - "description": "Deletes a Plan", - "type": { - "kind": "OBJECT", - "name": "DestroyPlanPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyPlan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyPlanInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyTax", - "description": "Deletes a tax", - "type": { - "kind": "OBJECT", - "name": "DestroyTaxPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyTax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyTaxInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "destroyWebhookEndpoint", - "description": "Deletes a webhook endpoint", - "type": { - "kind": "OBJECT", - "name": "DestroyWebhookEndpointPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DestroyWebhookEndpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DestroyWebhookEndpointInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "downloadCreditNote", - "description": "Download a Credit Note PDF", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DownloadCreditNote", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DownloadCreditNoteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "downloadInvoice", - "description": "Download an Invoice PDF", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DownloadInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DownloadInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fetchDraftInvoiceTaxes", - "description": "Fetches taxes for one-off invoice", - "type": { - "kind": "OBJECT", - "name": "AnrokFeeObjectCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FetchDraftInvoiceTaxes", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FetchDraftInvoiceTaxesInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fetchIntegrationAccounts", - "description": "Fetch integration accounts", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "IntegrationItemCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FetchIntegrationAccounts", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationAccountsInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fetchIntegrationItems", - "description": "Fetch integration items", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "IntegrationItemCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FetchIntegrationItems", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationItemsInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fetchIntegrationTaxItems", - "description": "Fetch integration tax items", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "IntegrationItemCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FetchIntegrationTaxItems", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FetchIntegrationTaxItemsInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "finalizeAllInvoices", - "description": "Finalize all draft invoices", - "type": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FinalizeAllInvoices", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FinalizeAllInvoicesInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "finalizeInvoice", - "description": "Finalize a draft invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for FinalizeInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FinalizeInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "generateCustomerPortalUrl", - "description": "Generate customer portal URL", - "type": { - "kind": "OBJECT", - "name": "GenerateCustomerPortalUrlPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for GenerateCustomerPortalUrl", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GenerateCustomerPortalUrlInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "googleAcceptInvite", - "description": "Accepts a membership invite with Google Oauth", - "type": { - "kind": "OBJECT", - "name": "RegisterUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for GoogleAcceptInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GoogleAcceptInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "googleLoginUser", - "description": "Opens a session for an existing user with Google Oauth", - "type": { - "kind": "OBJECT", - "name": "LoginUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for GoogleLoginUser", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GoogleLoginUserInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "googleRegisterUser", - "description": "Register a new user with Google Oauth", - "type": { - "kind": "OBJECT", - "name": "RegisterUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for GoogleRegisterUser", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GoogleRegisterUserInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "loginUser", - "description": "Opens a session for an existing user", - "type": { - "kind": "OBJECT", - "name": "LoginUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for LoginUser", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "LoginUserInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "loseInvoiceDispute", - "description": "Mark payment dispute as lost", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for LoseInvoiceDispute", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "LoseInvoiceDisputeInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "oktaAcceptInvite", - "description": "Accepts a membership invite with Okta Oauth", - "type": { - "kind": "OBJECT", - "name": "LoginUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for OktaAcceptInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "OktaAcceptInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "oktaAuthorize", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Authorize", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for OktaAuthorize", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "OktaAuthorizeInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "oktaLogin", - "description": null, - "type": { - "kind": "OBJECT", - "name": "LoginUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for OktaLogin", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "OktaLoginInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "refreshInvoice", - "description": "Refresh a draft invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RefreshInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RefreshInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "registerUser", - "description": "Registers a new user and creates related organization", - "type": { - "kind": "OBJECT", - "name": "RegisterUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RegisterUser", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RegisterUserInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "resetPassword", - "description": "Reset password for user and log in", - "type": { - "kind": "OBJECT", - "name": "LoginUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for ResetPassword", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ResetPasswordInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryAllInvoicePayments", - "description": "Retry all invoice payments", - "type": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryAllInvoicePayments", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryAllInvoicePaymentsInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryAllInvoices", - "description": "Retry all failed invoices", - "type": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryAllInvoices", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryAllInvoicesInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryInvoice", - "description": "Retry failed invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryInvoicePayment", - "description": "Retry invoice payment", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryInvoicePayment", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryInvoicePaymentInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryTaxProviderVoiding", - "description": "Retry voided invoice sync", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryTaxProviderVoiding", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryTaxProviderVoidingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryTaxReporting", - "description": "Retry tax reporting", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryTaxReporting", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryTaxReportingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "retryWebhook", - "description": "Retry a Webhook", - "type": { - "kind": "OBJECT", - "name": "Webhook", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RetryWebhook", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RetryWebhookInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "revokeInvite", - "description": "Revokes an invite", - "type": { - "kind": "OBJECT", - "name": "Invite", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RevokeInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RevokeInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "revokeMembership", - "description": "Revoke a membership", - "type": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for RevokeMembership", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RevokeMembershipInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "syncIntegrationCreditNote", - "description": "Sync integration credit note", - "type": { - "kind": "OBJECT", - "name": "SyncIntegrationCreditNotePayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for SyncIntegrationCreditNote", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SyncIntegrationCreditNoteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "syncIntegrationInvoice", - "description": "Sync integration invoice", - "type": { - "kind": "OBJECT", - "name": "SyncIntegrationInvoicePayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for SyncIntegrationInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SyncIntegrationInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "terminateAppliedCoupon", - "description": "Unassign a coupon from a customer", - "type": { - "kind": "OBJECT", - "name": "AppliedCoupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for TerminateAppliedCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TerminateAppliedCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "terminateCoupon", - "description": "Deletes a coupon", - "type": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for TerminateCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TerminateCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "terminateCustomerWallet", - "description": "Terminates a new Customer Wallet", - "type": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for TerminateCustomerWallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TerminateCustomerWalletInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "terminateSubscription", - "description": "Terminate a Subscription", - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for TerminateSubscription", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TerminateSubscriptionInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateAddOn", - "description": "Update an existing add-on", - "type": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateAddOn", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateAddOnInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateAdyenPaymentProvider", - "description": "Update Adyen payment provider", - "type": { - "kind": "OBJECT", - "name": "AdyenProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateAdyenPaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateAdyenPaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateAnrokIntegration", - "description": "Update Anrok integration", - "type": { - "kind": "OBJECT", - "name": "AnrokIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateAnrokIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateAnrokIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateBillableMetric", - "description": "Updates an existing Billable metric", - "type": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateBillableMetric", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateBillableMetricInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateCoupon", - "description": "Update an existing coupon", - "type": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateCoupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCouponInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateCreditNote", - "description": "Updates an existing Credit Note", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateCreditNote", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCreditNoteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateCustomer", - "description": "Updates an existing Customer", - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateCustomer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateCustomerInvoiceGracePeriod", - "description": "Assign the invoice grace period to Customers", - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateCustomerInvoiceGracePeriod", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerInvoiceGracePeriodInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateCustomerWallet", - "description": "Updates a new Customer Wallet", - "type": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateCustomerWallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerWalletInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateGocardlessPaymentProvider", - "description": "Update Gocardless payment provider", - "type": { - "kind": "OBJECT", - "name": "GocardlessProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateGocardlessPaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateGocardlessPaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateHubspotIntegration", - "description": "Update Hubspot integration", - "type": { - "kind": "OBJECT", - "name": "HubspotIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateHubspotIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateHubspotIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateIntegrationCollectionMapping", - "description": "Update integration mapping", - "type": { - "kind": "OBJECT", - "name": "CollectionMapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateIntegrationCollectionMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateIntegrationCollectionMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateIntegrationMapping", - "description": "Update integration mapping", - "type": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateIntegrationMapping", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateIntegrationMappingInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateInvite", - "description": "Update an invite", - "type": { - "kind": "OBJECT", - "name": "Invite", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateInvite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateInviteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateInvoice", - "description": "Update an existing invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateMembership", - "description": "Update a membership", - "type": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateMembership", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateMembershipInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateNetsuiteIntegration", - "description": "Update Netsuite integration", - "type": { - "kind": "OBJECT", - "name": "NetsuiteIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateNetsuiteIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateNetsuiteIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateOktaIntegration", - "description": "Update Okta integration", - "type": { - "kind": "OBJECT", - "name": "OktaIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateOktaIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateOktaIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateOrganization", - "description": "Updates an Organization", - "type": { - "kind": "OBJECT", - "name": "CurrentOrganization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateOrganization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateOrganizationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updatePlan", - "description": "Updates an existing Plan", - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdatePlan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdatePlanInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateStripePaymentProvider", - "description": "Update Stripe payment provider", - "type": { - "kind": "OBJECT", - "name": "StripeProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateStripePaymentProvider", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateStripePaymentProviderInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateSubscription", - "description": "Update a Subscription", - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateSubscription", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateSubscriptionInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateTax", - "description": "Update an existing tax", - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateTax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TaxUpdateInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateWebhookEndpoint", - "description": "Update a new webhook endpoint", - "type": { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateWebhookEndpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "WebhookEndpointUpdateInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "updateXeroIntegration", - "description": "Update Xero integration", - "type": { - "kind": "OBJECT", - "name": "XeroIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for UpdateXeroIntegration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateXeroIntegrationInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "voidCreditNote", - "description": "Voids a Credit Note", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for VoidCreditNote", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "VoidCreditNoteInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "voidInvoice", - "description": "Void an invoice", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for VoidInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "VoidInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "NetsuiteCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subsidiaryId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "NetsuiteIntegration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "accountId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "clientId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasMappingsConfigured", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "scriptEndpointUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncSalesOrders", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tokenId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tokenSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "OktaAcceptInviteInput", - "description": "Accept Invite with Okta Oauth input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inviteToken", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "OktaAuthorizeInput", - "description": "Autogenerated input type of OktaAuthorize", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inviteToken", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OktaIntegration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "domain", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "OktaLoginInput", - "description": "Autogenerated input type of OktaLogin", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Organization", - "description": "Safe Organization Type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "OBJECT", - "name": "OrganizationBillingConfiguration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "defaultCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OrganizationBillingConfiguration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceFooter", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "OrganizationBillingConfigurationInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceFooter", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OverdueBalance", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lagoInvoiceIds", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OverdueBalanceCollection", - "description": "OverdueBalanceCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated OverdueBalanceCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OverdueBalance", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "UNION", - "name": "PaymentProvider", - "description": null, - "interfaces": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "AdyenProvider", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GocardlessProvider", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "StripeProvider", - "ofType": null - } - ], - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "PaymentProviderCollection", - "description": "PaymentProviderCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated PaymentProviderCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "PaymentProvider", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "PaymentRequest", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoices", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "PaymentRequestCollection", - "description": "PaymentRequestCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated PaymentRequestCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PaymentRequest", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PaymentRequestCreateInput", - "description": "Autogenerated input type of CreatePaymentRequest", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lagoInvoiceIds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Permissions", - "description": "Permissions Type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addonsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addonsDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addonsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addonsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "analyticsOverdueBalancesView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "analyticsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetricsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetricsDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetricsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetricsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAttach", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsDetach", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesVoid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerSettingsUpdateGracePeriod", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerSettingsUpdateLang", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerSettingsUpdatePaymentTerms", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerSettingsUpdateTaxRates", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerSettingsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "developersKeysManage", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "developersManage", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "draftInvoicesUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesExport", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesSend", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesVoid", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationEmailsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationEmailsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationIntegrationsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationIntegrationsDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationIntegrationsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationIntegrationsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationInvoicesUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationInvoicesView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationMembersCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationMembersDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationMembersUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationMembersView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationTaxesUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationTaxesView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizationView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentRequestsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentRequestsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansDelete", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsView", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "walletsCreate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "walletsTerminate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "walletsTopUp", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "walletsUpdate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Plan", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billChargesMonthly", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "charges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Charge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesCount", - "description": "Number of charges attached to a plan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers attached to a plan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "draftInvoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PlanInterval", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minimumCommitment", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Commitment", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "parent", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trialPeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "usageThresholds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageThreshold", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "PlanCollection", - "description": "PlanCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated PlanCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "PlanInterval", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "weekly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "monthly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "yearly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "quarterly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "PlanOverridesInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "charges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChargeOverridesInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minimumCommitment", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CommitmentInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trialPeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "usageThresholds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UsageThresholdOverridesInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "PremiumIntegrationTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "netsuite", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "okta", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "xero", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "progressive_billing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hubspot", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Properties", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customProperties", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fixedAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnitsPerEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnitsPerTotalAggregation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedPercentageRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GraduatedPercentageRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GraduatedRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "packageSize", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perTransactionMaxAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perTransactionMinAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "volumeRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "VolumeRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PropertiesInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduatedRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GraduatedRangeInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduatedPercentageRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GraduatedPercentageRangeInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "freeUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "packageSize", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fixedAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "freeUnitsPerEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "freeUnitsPerTotalAggregation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perTransactionMaxAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perTransactionMinAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "volumeRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "VolumeRangeInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customProperties", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ProviderCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerPaymentMethods", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProviderPaymentMethodsEnum", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ProviderCustomerInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "providerCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "providerPaymentMethods", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProviderPaymentMethodsEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ProviderPaymentMethodsEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "card", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sepa_debit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "us_bank_account", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "bacs_debit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "stripe", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gocardless", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "adyen", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addOn", - "description": "Query a single add-on of an organization", - "type": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the add-on", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "addOns", - "description": "Query add-ons of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AddOnCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "billableMetric", - "description": "Query a single billable metric of an organization", - "type": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the billable metric", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "billableMetrics", - "description": "Query billable metrics of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetricCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aggregationTypes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "coupon", - "description": "Query a single coupon of an organization", - "type": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the coupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "coupons", - "description": "Query coupons of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CouponCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "CouponStatusEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "creditNote", - "description": "Query a single credit note", - "type": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the credit note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "creditNoteEstimate", - "description": "Fetch amounts for credit note creation", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteEstimate", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "invoiceId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreditNoteItemInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "creditNotes", - "description": "Query credit notes", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "customerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "currentUser", - "description": "Retrieves currently connected user", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currentVersion", - "description": "Retrieve the version of the application", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CurrentVersion", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": "Query a single customer of an organization", - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customerInvoices", - "description": "Query invoices of a customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "customerId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customerUsage", - "description": "Query the usage of the customer on the current billing period", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CustomerUsage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "customerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customers", - "description": "Query customers of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CustomerCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "events", - "description": "Query events of an organization", - "type": { - "kind": "OBJECT", - "name": "EventCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "googleAuthUrl", - "description": "Get Google auth url.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AuthUrl", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "grossRevenues", - "description": "Query gross revenue of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GrossRevenueCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "months", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expireCache", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integration", - "description": "Query a single integration", - "type": { - "kind": "UNION", - "name": "Integration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the integration", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationCollectionMapping", - "description": "Query a single integration collection mapping", - "type": { - "kind": "OBJECT", - "name": "CollectionMapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Unique ID of the integration collection mappings", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationCollectionMappings", - "description": "Query integration collection mappings", - "type": { - "kind": "OBJECT", - "name": "CollectionMappingCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappingType", - "description": null, - "type": { - "kind": "ENUM", - "name": "MappingTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationItems", - "description": "Query integration items of an integration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "IntegrationItemCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationItemTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationMapping", - "description": "Query a single integration mapping", - "type": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Unique ID of the integration mappings", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationMappings", - "description": "Query netsuite integration mappings", - "type": { - "kind": "OBJECT", - "name": "MappingCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappableType", - "description": null, - "type": { - "kind": "ENUM", - "name": "MappableTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrationSubsidiaries", - "description": "Query integration subsidiaries", - "type": { - "kind": "OBJECT", - "name": "SubsidiaryCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "integrations", - "description": "Query organization's integrations", - "type": { - "kind": "OBJECT", - "name": "IntegrationCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invite", - "description": "Query a single Invite", - "type": { - "kind": "OBJECT", - "name": "Invite", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "token", - "description": "Uniq token of the Invite", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invites", - "description": "Query pending invites of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InviteCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoice", - "description": "Query a single Invoice of an organization", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the invoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoiceCollections", - "description": "Query invoice collections of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollectionCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoiceCreditNotes", - "description": "Query invoice's credit note", - "type": { - "kind": "OBJECT", - "name": "CreditNoteCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "invoiceId", - "description": "Uniq ID of the invoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoicedUsages", - "description": "Query invoiced usage of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoicedUsageCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoices", - "description": "Query invoices", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerExternalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerId", - "description": "Uniq ID of the customer", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceType", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issuingDateFrom", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issuingDateTo", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentDisputeLost", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentOverdue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "memberships", - "description": "Query memberships of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MembershipCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "mrrs", - "description": "Query MRR of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MrrCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "organization", - "description": "Query the current organization", - "type": { - "kind": "OBJECT", - "name": "CurrentOrganization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "overdueBalances", - "description": "Query overdue balances of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OverdueBalanceCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "months", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expireCache", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "passwordReset", - "description": "Query a password reset by token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ResetPassword", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "token", - "description": "Uniq token of the password reset", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "paymentProvider", - "description": "Query a single payment provider", - "type": { - "kind": "UNION", - "name": "PaymentProvider", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "code", - "description": "Code of the payment provider", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "Uniq ID of the payment provider", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "paymentProviders", - "description": "Query organization's payment providers", - "type": { - "kind": "OBJECT", - "name": "PaymentProviderCollection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "type": { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "paymentRequests", - "description": "Query payment requests of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PaymentRequestCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "plan", - "description": "Query a single plan of an organization", - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the plan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "plans", - "description": "Query plans of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PlanCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "subscription", - "description": "Query a single subscription of an organization", - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the subscription", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "subscriptions", - "description": "Query subscriptions of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubscriptionCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "planCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "StatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "tax", - "description": "Query a single tax of an organization", - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "taxes", - "description": "Query taxes of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaxCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "appliedToOrganization", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "autoGenerated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "wallet", - "description": "Query a single wallet of an organization", - "type": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the wallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "walletTransactions", - "description": "Query wallet transactions", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WalletTransactionCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "WalletTransactionStatusEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transactionType", - "description": null, - "type": { - "kind": "ENUM", - "name": "WalletTransactionTransactionTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "walletId", - "description": "Uniq ID of the wallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "wallets", - "description": "Query wallets", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WalletCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "customerId", - "description": "Uniq ID of the customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ids", - "description": "List of wallet IDs to fetch", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "WalletStatusEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "webhookEndpoint", - "description": "Query a single webhook endpoint", - "type": { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "id", - "description": "Uniq ID of the webhook endpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "webhookEndpoints", - "description": "Query webhook endpoints of an organization", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WebhookEndpointCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "webhooks", - "description": "Query Webhooks", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WebhookCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "WebhookStatusEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhookEndpointId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "RecurringTransactionIntervalEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "weekly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "monthly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "quarterly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "yearly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "RecurringTransactionMethodEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "fixed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "target", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "RecurringTransactionRule", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "grantedCredits", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionIntervalEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lagoId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "method", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RecurringTransactionMethodEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paidCredits", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "startedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "targetOngoingBalance", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "thresholdCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trigger", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "RecurringTransactionTriggerEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "RecurringTransactionTriggerEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "interval", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "threshold", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "RefreshInvoiceInput", - "description": "Autogenerated input type of RefreshInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "RegisterUser", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "membership", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "user", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RegisterUserInput", - "description": "Autogenerated input type of RegisterUser", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "RegroupPaidFeesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "invoice", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ResetPassword", - "description": "ResetPassword type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "expireAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "user", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ResetPasswordInput", - "description": "Autogenerated input type of ResetPassword", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "newPassword", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryAllInvoicePaymentsInput", - "description": "Autogenerated input type of RetryAllInvoicePayments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryAllInvoicesInput", - "description": "Autogenerated input type of RetryAllInvoices", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryInvoiceInput", - "description": "Autogenerated input type of RetryInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryInvoicePaymentInput", - "description": "Autogenerated input type of RetryInvoicePayment", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryTaxProviderVoidingInput", - "description": "Autogenerated input type of RetryTaxProviderVoiding", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryTaxReportingInput", - "description": "Autogenerated input type of RetryTaxReporting", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RetryWebhookInput", - "description": "Autogenerated input type of RetryWebhook", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RevokeInviteInput", - "description": "Autogenerated input type of RevokeInvite", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "RevokeMembershipInput", - "description": "Autogenerated input type of RevokeMembership", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "StatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "terminated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canceled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "SCALAR", - "name": "String", - "description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "StripeProvider", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "secretKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Subscription", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billingTime", - "description": null, - "type": { - "kind": "ENUM", - "name": "BillingTimeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canceledAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "endingAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lifetimeUsage", - "description": null, - "type": { - "kind": "OBJECT", - "name": "SubscriptionLifetimeUsage", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextPendingStartDate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextPlan", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextSubscription", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "periodEndDate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plan", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "startedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "StatusTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SubscriptionCollection", - "description": "SubscriptionCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated SubscriptionCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SubscriptionLifetimeUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "lastThresholdAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextThresholdAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextThresholdRatio", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageFromDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageToDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Subsidiary", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SubsidiaryCollection", - "description": "SubsidiaryCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated SubsidiaryCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subsidiary", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SyncIntegrationCreditNoteInput", - "description": "Autogenerated input type of SyncIntegrationCreditNote", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "creditNoteId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SyncIntegrationCreditNotePayload", - "description": "Autogenerated return type of SyncIntegrationCreditNote.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNoteId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SyncIntegrationInvoiceInput", - "description": "Autogenerated input type of SyncIntegrationInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "invoiceId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SyncIntegrationInvoicePayload", - "description": "Autogenerated return type of SyncIntegrationInvoice.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "TargetedObjectsEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "Companies", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Contacts", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Tax", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addOnsCount", - "description": "Number of add ons using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedToOrganization", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "autoGenerated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesCount", - "description": "Number of charges using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansCount", - "description": "Number of plans using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "TaxCollection", - "description": "TaxCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated TaxCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TaxCreateInput", - "description": "Autogenerated input type of CreateTax", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TaxUpdateInput", - "description": "Autogenerated input type of UpdateTax", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "appliedToOrganization", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TerminateAppliedCouponInput", - "description": "Autogenerated input type of TerminateAppliedCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TerminateCouponInput", - "description": "Autogenerated input type of TerminateCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TerminateCustomerWalletInput", - "description": "Autogenerated input type of TerminateCustomerWallet", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TerminateSubscriptionInput", - "description": "Autogenerated input type of TerminateSubscription", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "TimezoneEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "TZ_AFRICA_ALGIERS", - "description": "Africa/Algiers", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_CAIRO", - "description": "Africa/Cairo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_CASABLANCA", - "description": "Africa/Casablanca", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_HARARE", - "description": "Africa/Harare", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_JOHANNESBURG", - "description": "Africa/Johannesburg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_MONROVIA", - "description": "Africa/Monrovia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_NAIROBI", - "description": "Africa/Nairobi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_ARGENTINA_BUENOS_AIRES", - "description": "America/Argentina/Buenos_Aires", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_BOGOTA", - "description": "America/Bogota", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CARACAS", - "description": "America/Caracas", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CHICAGO", - "description": "America/Chicago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CHIHUAHUA", - "description": "America/Chihuahua", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_DENVER", - "description": "America/Denver", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GODTHAB", - "description": "America/Godthab", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GUATEMALA", - "description": "America/Guatemala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GUYANA", - "description": "America/Guyana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_HALIFAX", - "description": "America/Halifax", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_INDIANA_INDIANAPOLIS", - "description": "America/Indiana/Indianapolis", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_JUNEAU", - "description": "America/Juneau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LA_PAZ", - "description": "America/La_Paz", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LIMA", - "description": "America/Lima", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LOS_ANGELES", - "description": "America/Los_Angeles", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MAZATLAN", - "description": "America/Mazatlan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MEXICO_CITY", - "description": "America/Mexico_City", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MONTERREY", - "description": "America/Monterrey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MONTEVIDEO", - "description": "America/Montevideo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_NEW_YORK", - "description": "America/New_York", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_PHOENIX", - "description": "America/Phoenix", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_PUERTO_RICO", - "description": "America/Puerto_Rico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_REGINA", - "description": "America/Regina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_SANTIAGO", - "description": "America/Santiago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_SAO_PAULO", - "description": "America/Sao_Paulo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_ST_JOHNS", - "description": "America/St_Johns", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_TIJUANA", - "description": "America/Tijuana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_ALMATY", - "description": "Asia/Almaty", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BAGHDAD", - "description": "Asia/Baghdad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BAKU", - "description": "Asia/Baku", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BANGKOK", - "description": "Asia/Bangkok", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_CHONGQING", - "description": "Asia/Chongqing", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_COLOMBO", - "description": "Asia/Colombo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_DHAKA", - "description": "Asia/Dhaka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_HONG_KONG", - "description": "Asia/Hong_Kong", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_IRKUTSK", - "description": "Asia/Irkutsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_JAKARTA", - "description": "Asia/Jakarta", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_JERUSALEM", - "description": "Asia/Jerusalem", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KABUL", - "description": "Asia/Kabul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KAMCHATKA", - "description": "Asia/Kamchatka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KARACHI", - "description": "Asia/Karachi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KATHMANDU", - "description": "Asia/Kathmandu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KOLKATA", - "description": "Asia/Kolkata", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KRASNOYARSK", - "description": "Asia/Krasnoyarsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KUALA_LUMPUR", - "description": "Asia/Kuala_Lumpur", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KUWAIT", - "description": "Asia/Kuwait", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_MAGADAN", - "description": "Asia/Magadan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_MUSCAT", - "description": "Asia/Muscat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_NOVOSIBIRSK", - "description": "Asia/Novosibirsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_RANGOON", - "description": "Asia/Rangoon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_RIYADH", - "description": "Asia/Riyadh", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SEOUL", - "description": "Asia/Seoul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SHANGHAI", - "description": "Asia/Shanghai", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SINGAPORE", - "description": "Asia/Singapore", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SREDNEKOLYMSK", - "description": "Asia/Srednekolymsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TAIPEI", - "description": "Asia/Taipei", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TASHKENT", - "description": "Asia/Tashkent", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TBILISI", - "description": "Asia/Tbilisi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TEHRAN", - "description": "Asia/Tehran", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TOKYO", - "description": "Asia/Tokyo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_ULAANBAATAR", - "description": "Asia/Ulaanbaatar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_URUMQI", - "description": "Asia/Urumqi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_VLADIVOSTOK", - "description": "Asia/Vladivostok", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YAKUTSK", - "description": "Asia/Yakutsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YEKATERINBURG", - "description": "Asia/Yekaterinburg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YEREVAN", - "description": "Asia/Yerevan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_AZORES", - "description": "Atlantic/Azores", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_CAPE_VERDE", - "description": "Atlantic/Cape_Verde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_SOUTH_GEORGIA", - "description": "Atlantic/South_Georgia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_ADELAIDE", - "description": "Australia/Adelaide", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_BRISBANE", - "description": "Australia/Brisbane", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_CANBERRA", - "description": "Australia/Canberra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_DARWIN", - "description": "Australia/Darwin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_HOBART", - "description": "Australia/Hobart", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_MELBOURNE", - "description": "Australia/Melbourne", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_PERTH", - "description": "Australia/Perth", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_SYDNEY", - "description": "Australia/Sydney", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ETC_GMT_12", - "description": "Etc/GMT+12", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_UTC", - "description": "UTC", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_AMSTERDAM", - "description": "Europe/Amsterdam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ATHENS", - "description": "Europe/Athens", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BELGRADE", - "description": "Europe/Belgrade", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BERLIN", - "description": "Europe/Berlin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BRATISLAVA", - "description": "Europe/Bratislava", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BRUSSELS", - "description": "Europe/Brussels", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BUCHAREST", - "description": "Europe/Bucharest", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BUDAPEST", - "description": "Europe/Budapest", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_COPENHAGEN", - "description": "Europe/Copenhagen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_DUBLIN", - "description": "Europe/Dublin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_HELSINKI", - "description": "Europe/Helsinki", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ISTANBUL", - "description": "Europe/Istanbul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_KALININGRAD", - "description": "Europe/Kaliningrad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_KIEV", - "description": "Europe/Kiev", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LISBON", - "description": "Europe/Lisbon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LJUBLJANA", - "description": "Europe/Ljubljana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LONDON", - "description": "Europe/London", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MADRID", - "description": "Europe/Madrid", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MINSK", - "description": "Europe/Minsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MOSCOW", - "description": "Europe/Moscow", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_PARIS", - "description": "Europe/Paris", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_PRAGUE", - "description": "Europe/Prague", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_RIGA", - "description": "Europe/Riga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ROME", - "description": "Europe/Rome", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SAMARA", - "description": "Europe/Samara", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SARAJEVO", - "description": "Europe/Sarajevo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SKOPJE", - "description": "Europe/Skopje", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SOFIA", - "description": "Europe/Sofia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_STOCKHOLM", - "description": "Europe/Stockholm", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_TALLINN", - "description": "Europe/Tallinn", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VIENNA", - "description": "Europe/Vienna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VILNIUS", - "description": "Europe/Vilnius", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VOLGOGRAD", - "description": "Europe/Volgograd", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_WARSAW", - "description": "Europe/Warsaw", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ZAGREB", - "description": "Europe/Zagreb", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ZURICH", - "description": "Europe/Zurich", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_APIA", - "description": "Pacific/Apia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_AUCKLAND", - "description": "Pacific/Auckland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_CHATHAM", - "description": "Pacific/Chatham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_FAKAOFO", - "description": "Pacific/Fakaofo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_FIJI", - "description": "Pacific/Fiji", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_GUADALCANAL", - "description": "Pacific/Guadalcanal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_GUAM", - "description": "Pacific/Guam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_HONOLULU", - "description": "Pacific/Honolulu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_MAJURO", - "description": "Pacific/Majuro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_MIDWAY", - "description": "Pacific/Midway", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_NOUMEA", - "description": "Pacific/Noumea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_PAGO_PAGO", - "description": "Pacific/Pago_Pago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_PORT_MORESBY", - "description": "Pacific/Port_Moresby", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_TONGATAPU", - "description": "Pacific/Tongatapu", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateAddOnInput", - "description": "Autogenerated input type of UpdateAddOn", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateAdyenPaymentProviderInput", - "description": "Update input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateAnrokIntegrationInput", - "description": "Autogenerated input type of UpdateAnrokIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "apiKey", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateBillableMetricInput", - "description": "Update Billable metric input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aggregationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fieldName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weightedInterval", - "description": null, - "type": { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BillableMetricFiltersInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCouponInput", - "description": "Autogenerated input type of UpdateCoupon", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "couponType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponTypeEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reusable", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "appliesTo", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "LimitationInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expiration", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponExpiration", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCreditNoteInput", - "description": "Autogenerated input type of UpdateCreditNote", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "refundStatus", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditNoteRefundStatusEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerInput", - "description": "Update Customer input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customerType", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalSalesforceId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "firstname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "phone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shippingAddress", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CustomerAddressInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CustomerMetadataInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentProvider", - "description": null, - "type": { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentProviderCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "providerCustomer", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ProviderCustomerInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationCustomers", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "IntegrationCustomerInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CustomerBillingConfigurationInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalizeZeroAmountInvoice", - "description": null, - "type": { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerInvoiceGracePeriodInput", - "description": "Autogenerated input type of UpdateCustomerInvoiceGracePeriod", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateCustomerWalletInput", - "description": "Update Wallet Input", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurringTransactionRules", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UpdateRecurringTransactionRuleInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateGocardlessPaymentProviderInput", - "description": "Update input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateHubspotIntegrationInput", - "description": "Autogenerated input type of UpdateHubspotIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultTargetedObject", - "description": null, - "type": { - "kind": "ENUM", - "name": "TargetedObjectsEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "privateAppToken", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncSubscriptions", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateIntegrationCollectionMappingInput", - "description": "Autogenerated input type of UpdateIntegrationCollectionMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappingType", - "description": null, - "type": { - "kind": "ENUM", - "name": "MappingTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateIntegrationMappingInput", - "description": "Autogenerated input type of UpdateIntegrationMapping", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappableId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mappableType", - "description": null, - "type": { - "kind": "ENUM", - "name": "MappableTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateInviteInput", - "description": "Autogenerated input type of UpdateInvite", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipRole", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateInvoiceInput", - "description": "Update Invoice input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "InvoiceMetadataInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateMembershipInput", - "description": "Autogenerated input type of UpdateMembership", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MembershipRole", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateNetsuiteIntegrationInput", - "description": "Autogenerated input type of UpdateNetsuiteIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "accountId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scriptEndpointUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tokenId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tokenSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncSalesOrders", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateOktaIntegrationInput", - "description": "Autogenerated input type of UpdateOktaIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientSecret", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "domain", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateOrganizationInput", - "description": "Update Organization input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "defaultCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logo", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhookUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "euTaxManagement", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "documentNumberPrefix", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "documentNumbering", - "description": null, - "type": { - "kind": "ENUM", - "name": "DocumentNumberingEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "OrganizationBillingConfigurationInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "emailSettings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EmailSettingsEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalizeZeroAmountInvoice", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdatePlanInput", - "description": "Autogenerated input type of UpdatePlan", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "billChargesMonthly", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PlanInterval", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taxCodes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trialPeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "charges", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ChargeInput", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minimumCommitment", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "CommitmentInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "usageThresholds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UsageThresholdInput", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateRecurringTransactionRuleInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "grantedCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionIntervalEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lagoId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "method", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionMethodEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paidCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "startedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "targetOngoingBalance", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thresholdCredits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trigger", - "description": null, - "type": { - "kind": "ENUM", - "name": "RecurringTransactionTriggerEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateStripePaymentProviderInput", - "description": "Update input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "successRedirectUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateSubscriptionInput", - "description": "Update Subscription input arguments", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "endingAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "planOverrides", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "PlanOverridesInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UpdateXeroIntegrationInput", - "description": "Autogenerated input type of UpdateXeroIntegration", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "UsageThreshold", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "thresholdDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UsageThresholdInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thresholdDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UsageThresholdOverridesInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thresholdDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "User", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "memberships", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Membership", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organizations", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "premium", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "VoidCreditNoteInput", - "description": "Autogenerated input type of VoidCreditNote", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "VoidInvoiceInput", - "description": "Autogenerated input type of VoidInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "VolumeRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "VolumeRangeInput", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Wallet", - "description": "Wallet", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "balanceCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "consumedAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "consumedCredits", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditsBalance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditsOngoingBalance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditsOngoingUsageBalance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lastBalanceSyncAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lastConsumedCreditAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "ongoingBalanceCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "ongoingUsageBalanceCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rateAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recurringTransactionRules", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RecurringTransactionRule", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WalletStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "WalletCollection", - "description": "WalletCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated WalletCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "WalletStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "terminated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "WalletTransaction", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceRequiresSuccessfulPayment", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "settledAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WalletTransactionStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "transactionStatus", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WalletTransactionTransactionStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "transactionType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WalletTransactionTransactionTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "wallet", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Wallet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "WalletTransactionCollection", - "description": "WalletTransactionCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated WalletTransactionCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WalletTransaction", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "WalletTransactionStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "settled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "WalletTransactionTransactionStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "purchased", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "granted", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoiced", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "WalletTransactionTransactionTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "inbound", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "outbound", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Webhook", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "endpoint", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "httpStatus", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lastRetriedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "objectType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payload", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "response", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "retries", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "WebhookStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "webhookEndpoint", - "description": null, - "type": { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "webhookType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "WebhookCollection", - "description": "WebhookCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated WebhookCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Webhook", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "signatureAlgo", - "description": null, - "type": { - "kind": "ENUM", - "name": "WebhookEndpointSignatureAlgoEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "webhookUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "WebhookEndpointCollection", - "description": "WebhookEndpointCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated WebhookEndpointCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WebhookEndpoint", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INPUT_OBJECT", - "name": "WebhookEndpointCreateInput", - "description": "Autogenerated input type of CreateWebhookEndpoint", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "signatureAlgo", - "description": null, - "type": { - "kind": "ENUM", - "name": "WebhookEndpointSignatureAlgoEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhookUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "WebhookEndpointSignatureAlgoEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "jwt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hmac", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "WebhookEndpointUpdateInput", - "description": "Autogenerated input type of UpdateWebhookEndpoint", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "signatureAlgo", - "description": null, - "type": { - "kind": "ENUM", - "name": "WebhookEndpointSignatureAlgoEnum", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "webhookUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "WebhookStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "succeeded", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "seconds", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "XeroCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "XeroIntegration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "connectionId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasMappingsConfigured", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncCreditNotes", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncInvoices", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncPayments", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "args", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isRepeatable", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "locations", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "onField", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - }, - { - "name": "onFragment", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - }, - { - "name": "onOperation", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "args", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "types", - "description": "A list of all types supported by this server.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "enumValues", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fields", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "inputFields", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "interfaces", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isOneOf", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "kind", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "ofType", - "description": null, - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "possibleTypes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "specifiedByURL", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ], - "directives": [ - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE", - "ARGUMENT_DEFINITION", - "INPUT_FIELD_DEFINITION" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "oneOf", - "description": "Requires that exactly one field must be supplied and that field must not be `null`.", - "locations": [ - "INPUT_OBJECT" - ], - "args": [ - - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "specifiedBy", - "description": "Exposes a URL that specifies the behavior of this scalar.", - "locations": [ - "SCALAR" - ], - "args": [ - { - "name": "url", - "description": "The URL that specifies the behavior of this scalar.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ] - } - } -} diff --git a/graphql_schemas/customer_portal.graphql b/graphql_schemas/customer_portal.graphql deleted file mode 100644 index 685231c192f..00000000000 --- a/graphql_schemas/customer_portal.graphql +++ /dev/null @@ -1,3723 +0,0 @@ -type AddOn { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - appliedAddOnsCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers using this add-on - """ - customersCount: Int! - deletedAt: ISO8601DateTime - description: String - id: ID! - integrationMappings(integrationId: ID): [Mapping!] - invoiceDisplayName: String - name: String! - organization: Organization - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -enum AdjustedFeeTypeEnum { - adjusted_amount - adjusted_units -} - -enum AggregationTypeEnum { - count_agg - custom_agg - latest_agg - max_agg - sum_agg - unique_count_agg - weighted_sum_agg -} - -type AnrokCustomer { - externalAccountId: String - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - syncWithProvider: Boolean -} - -type AppliedAddOn { - addOn: AddOn! - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - id: ID! -} - -type AppliedCoupon { - amountCents: BigInt - amountCentsRemaining: BigInt - amountCurrency: CurrencyEnum - coupon: Coupon! - createdAt: ISO8601DateTime! - frequency: CouponFrequency! - frequencyDuration: Int - frequencyDurationRemaining: Int - id: ID! - percentageRate: Float - terminatedAt: ISO8601DateTime! -} - -interface AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -""" -Represents non-fractional signed whole numeric values. Since the value may -exceed the size of a 32-bit integer, it's encoded as a string. -""" -scalar BigInt - -""" -Base billable metric -""" -type BillableMetric { - activeSubscriptionsCount: Int! - aggregationType: AggregationTypeEnum! - code: String! - createdAt: ISO8601DateTime! - deletedAt: ISO8601DateTime - description: String - draftInvoicesCount: Int! - fieldName: String - filters: [BillableMetricFilter!] - id: ID! - integrationMappings(integrationId: ID): [Mapping!] - name: String! - organization: Organization - plansCount: Int! - recurring: Boolean! - subscriptionsCount: Int! - updatedAt: ISO8601DateTime! - weightedInterval: WeightedIntervalEnum -} - -""" -Billable metric filters -""" -type BillableMetricFilter { - id: ID! - key: String! - values: [String!]! -} - -enum BillingTimeEnum { - anniversary - calendar -} - -type Charge { - billableMetric: BillableMetric! - chargeModel: ChargeModelEnum! - createdAt: ISO8601DateTime! - deletedAt: ISO8601DateTime - filters: [ChargeFilter!] - id: ID! - invoiceDisplayName: String - invoiceable: Boolean! - minAmountCents: BigInt! - payInAdvance: Boolean! - properties: Properties - prorated: Boolean! - regroupPaidFees: RegroupPaidFeesEnum - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -""" -Charge filters object -""" -type ChargeFilter { - id: ID! - invoiceDisplayName: String - properties: Properties! - values: ChargeFilterValues! -} - -scalar ChargeFilterValues - -enum ChargeModelEnum { - custom - graduated - graduated_percentage - package - percentage - standard - volume -} - -""" -Type for CollectionMetadataType -""" -type CollectionMetadata { - """ - Current Page of loaded data - """ - currentPage: Int! - - """ - The number of items per page - """ - limitValue: Int! - - """ - The total number of items to be paginated - """ - totalCount: Int! - - """ - The total number of pages in the pagination - """ - totalPages: Int! -} - -type Commitment { - amountCents: BigInt! - commitmentType: CommitmentTypeEnum! - createdAt: ISO8601DateTime! - id: ID! - invoiceDisplayName: String - plan: Plan! - taxes: [Tax!] - updatedAt: ISO8601DateTime! -} - -enum CommitmentTypeEnum { - minimum_commitment -} - -enum CountryCode { - """ - Andorra - """ - AD - - """ - United Arab Emirates - """ - AE - - """ - Afghanistan - """ - AF - - """ - Antigua and Barbuda - """ - AG - - """ - Anguilla - """ - AI - - """ - Albania - """ - AL - - """ - Armenia - """ - AM - - """ - Angola - """ - AO - - """ - Antarctica - """ - AQ - - """ - Argentina - """ - AR - - """ - American Samoa - """ - AS - - """ - Austria - """ - AT - - """ - Australia - """ - AU - - """ - Aruba - """ - AW - - """ - Åland Islands - """ - AX - - """ - Azerbaijan - """ - AZ - - """ - Bosnia and Herzegovina - """ - BA - - """ - Barbados - """ - BB - - """ - Bangladesh - """ - BD - - """ - Belgium - """ - BE - - """ - Burkina Faso - """ - BF - - """ - Bulgaria - """ - BG - - """ - Bahrain - """ - BH - - """ - Burundi - """ - BI - - """ - Benin - """ - BJ - - """ - Saint Barthélemy - """ - BL - - """ - Bermuda - """ - BM - - """ - Brunei Darussalam - """ - BN - - """ - Bolivia (Plurinational State of) - """ - BO - - """ - Bonaire, Sint Eustatius and Saba - """ - BQ - - """ - Brazil - """ - BR - - """ - Bahamas - """ - BS - - """ - Bhutan - """ - BT - - """ - Bouvet Island - """ - BV - - """ - Botswana - """ - BW - - """ - Belarus - """ - BY - - """ - Belize - """ - BZ - - """ - Canada - """ - CA - - """ - Cocos (Keeling) Islands - """ - CC - - """ - Congo (Democratic Republic of the) - """ - CD - - """ - Central African Republic - """ - CF - - """ - Congo - """ - CG - - """ - Switzerland - """ - CH - - """ - Côte d'Ivoire - """ - CI - - """ - Cook Islands - """ - CK - - """ - Chile - """ - CL - - """ - Cameroon - """ - CM - - """ - China - """ - CN - - """ - Colombia - """ - CO - - """ - Costa Rica - """ - CR - - """ - Cuba - """ - CU - - """ - Cabo Verde - """ - CV - - """ - Curaçao - """ - CW - - """ - Christmas Island - """ - CX - - """ - Cyprus - """ - CY - - """ - Czechia - """ - CZ - - """ - Germany - """ - DE - - """ - Djibouti - """ - DJ - - """ - Denmark - """ - DK - - """ - Dominica - """ - DM - - """ - Dominican Republic - """ - DO - - """ - Algeria - """ - DZ - - """ - Ecuador - """ - EC - - """ - Estonia - """ - EE - - """ - Egypt - """ - EG - - """ - Western Sahara - """ - EH - - """ - Eritrea - """ - ER - - """ - Spain - """ - ES - - """ - Ethiopia - """ - ET - - """ - Finland - """ - FI - - """ - Fiji - """ - FJ - - """ - Falkland Islands (Malvinas) - """ - FK - - """ - Micronesia (Federated States of) - """ - FM - - """ - Faroe Islands - """ - FO - - """ - France - """ - FR - - """ - Gabon - """ - GA - - """ - United Kingdom of Great Britain and Northern Ireland - """ - GB - - """ - Grenada - """ - GD - - """ - Georgia - """ - GE - - """ - French Guiana - """ - GF - - """ - Guernsey - """ - GG - - """ - Ghana - """ - GH - - """ - Gibraltar - """ - GI - - """ - Greenland - """ - GL - - """ - Gambia - """ - GM - - """ - Guinea - """ - GN - - """ - Guadeloupe - """ - GP - - """ - Equatorial Guinea - """ - GQ - - """ - Greece - """ - GR - - """ - South Georgia and the South Sandwich Islands - """ - GS - - """ - Guatemala - """ - GT - - """ - Guam - """ - GU - - """ - Guinea-Bissau - """ - GW - - """ - Guyana - """ - GY - - """ - Hong Kong - """ - HK - - """ - Heard Island and McDonald Islands - """ - HM - - """ - Honduras - """ - HN - - """ - Croatia - """ - HR - - """ - Haiti - """ - HT - - """ - Hungary - """ - HU - - """ - Indonesia - """ - ID - - """ - Ireland - """ - IE - - """ - Israel - """ - IL - - """ - Isle of Man - """ - IM - - """ - India - """ - IN - - """ - British Indian Ocean Territory - """ - IO - - """ - Iraq - """ - IQ - - """ - Iran (Islamic Republic of) - """ - IR - - """ - Iceland - """ - IS - - """ - Italy - """ - IT - - """ - Jersey - """ - JE - - """ - Jamaica - """ - JM - - """ - Jordan - """ - JO - - """ - Japan - """ - JP - - """ - Kenya - """ - KE - - """ - Kyrgyzstan - """ - KG - - """ - Cambodia - """ - KH - - """ - Kiribati - """ - KI - - """ - Comoros - """ - KM - - """ - Saint Kitts and Nevis - """ - KN - - """ - Korea (Democratic People's Republic of) - """ - KP - - """ - Korea (Republic of) - """ - KR - - """ - Kuwait - """ - KW - - """ - Cayman Islands - """ - KY - - """ - Kazakhstan - """ - KZ - - """ - Lao People's Democratic Republic - """ - LA - - """ - Lebanon - """ - LB - - """ - Saint Lucia - """ - LC - - """ - Liechtenstein - """ - LI - - """ - Sri Lanka - """ - LK - - """ - Liberia - """ - LR - - """ - Lesotho - """ - LS - - """ - Lithuania - """ - LT - - """ - Luxembourg - """ - LU - - """ - Latvia - """ - LV - - """ - Libya - """ - LY - - """ - Morocco - """ - MA - - """ - Monaco - """ - MC - - """ - Moldova (Republic of) - """ - MD - - """ - Montenegro - """ - ME - - """ - Saint Martin (French part) - """ - MF - - """ - Madagascar - """ - MG - - """ - Marshall Islands - """ - MH - - """ - North Macedonia - """ - MK - - """ - Mali - """ - ML - - """ - Myanmar - """ - MM - - """ - Mongolia - """ - MN - - """ - Macao - """ - MO - - """ - Northern Mariana Islands - """ - MP - - """ - Martinique - """ - MQ - - """ - Mauritania - """ - MR - - """ - Montserrat - """ - MS - - """ - Malta - """ - MT - - """ - Mauritius - """ - MU - - """ - Maldives - """ - MV - - """ - Malawi - """ - MW - - """ - Mexico - """ - MX - - """ - Malaysia - """ - MY - - """ - Mozambique - """ - MZ - - """ - Namibia - """ - NA - - """ - New Caledonia - """ - NC - - """ - Niger - """ - NE - - """ - Norfolk Island - """ - NF - - """ - Nigeria - """ - NG - - """ - Nicaragua - """ - NI - - """ - Netherlands - """ - NL - - """ - Norway - """ - NO - - """ - Nepal - """ - NP - - """ - Nauru - """ - NR - - """ - Niue - """ - NU - - """ - New Zealand - """ - NZ - - """ - Oman - """ - OM - - """ - Panama - """ - PA - - """ - Peru - """ - PE - - """ - French Polynesia - """ - PF - - """ - Papua New Guinea - """ - PG - - """ - Philippines - """ - PH - - """ - Pakistan - """ - PK - - """ - Poland - """ - PL - - """ - Saint Pierre and Miquelon - """ - PM - - """ - Pitcairn - """ - PN - - """ - Puerto Rico - """ - PR - - """ - Palestine, State of - """ - PS - - """ - Portugal - """ - PT - - """ - Palau - """ - PW - - """ - Paraguay - """ - PY - - """ - Qatar - """ - QA - - """ - Réunion - """ - RE - - """ - Romania - """ - RO - - """ - Serbia - """ - RS - - """ - Russian Federation - """ - RU - - """ - Rwanda - """ - RW - - """ - Saudi Arabia - """ - SA - - """ - Solomon Islands - """ - SB - - """ - Seychelles - """ - SC - - """ - Sudan - """ - SD - - """ - Sweden - """ - SE - - """ - Singapore - """ - SG - - """ - Saint Helena, Ascension and Tristan da Cunha - """ - SH - - """ - Slovenia - """ - SI - - """ - Svalbard and Jan Mayen - """ - SJ - - """ - Slovakia - """ - SK - - """ - Sierra Leone - """ - SL - - """ - San Marino - """ - SM - - """ - Senegal - """ - SN - - """ - Somalia - """ - SO - - """ - Suriname - """ - SR - - """ - South Sudan - """ - SS - - """ - Sao Tome and Principe - """ - ST - - """ - El Salvador - """ - SV - - """ - Sint Maarten (Dutch part) - """ - SX - - """ - Syrian Arab Republic - """ - SY - - """ - Eswatini - """ - SZ - - """ - Turks and Caicos Islands - """ - TC - - """ - Chad - """ - TD - - """ - French Southern Territories - """ - TF - - """ - Togo - """ - TG - - """ - Thailand - """ - TH - - """ - Tajikistan - """ - TJ - - """ - Tokelau - """ - TK - - """ - Timor-Leste - """ - TL - - """ - Turkmenistan - """ - TM - - """ - Tunisia - """ - TN - - """ - Tonga - """ - TO - - """ - Türkiye - """ - TR - - """ - Trinidad and Tobago - """ - TT - - """ - Tuvalu - """ - TV - - """ - Taiwan, Province of China - """ - TW - - """ - Tanzania, United Republic of - """ - TZ - - """ - Ukraine - """ - UA - - """ - Uganda - """ - UG - - """ - United States Minor Outlying Islands - """ - UM - - """ - United States of America - """ - US - - """ - Uruguay - """ - UY - - """ - Uzbekistan - """ - UZ - - """ - Holy See - """ - VA - - """ - Saint Vincent and the Grenadines - """ - VC - - """ - Venezuela (Bolivarian Republic of) - """ - VE - - """ - Virgin Islands (British) - """ - VG - - """ - Virgin Islands (U.S.) - """ - VI - - """ - Viet Nam - """ - VN - - """ - Vanuatu - """ - VU - - """ - Wallis and Futuna - """ - WF - - """ - Samoa - """ - WS - - """ - Yemen - """ - YE - - """ - Mayotte - """ - YT - - """ - South Africa - """ - ZA - - """ - Zambia - """ - ZM - - """ - Zimbabwe - """ - ZW -} - -type Coupon { - amountCents: BigInt - amountCurrency: CurrencyEnum - appliedCouponsCount: Int! - billableMetrics: [BillableMetric!] - code: String - couponType: CouponTypeEnum! - createdAt: ISO8601DateTime! - - """ - Number of customers using this coupon - """ - customersCount: Int! - description: String - expiration: CouponExpiration! - expirationAt: ISO8601DateTime - frequency: CouponFrequency! - frequencyDuration: Int - id: ID! - limitedBillableMetrics: Boolean! - limitedPlans: Boolean! - name: String! - organization: Organization - percentageRate: Float - plans: [Plan!] - reusable: Boolean! - status: CouponStatusEnum! - terminatedAt: ISO8601DateTime - updatedAt: ISO8601DateTime! -} - -enum CouponExpiration { - no_expiration - time_limit -} - -enum CouponFrequency { - forever - once - recurring -} - -enum CouponStatusEnum { - active - terminated -} - -enum CouponTypeEnum { - fixed_amount - percentage -} - -""" -CreditNote -""" -type CreditNote { - appliedTaxes: [CreditNoteAppliedTax!] - balanceAmountCents: BigInt! - - """ - Check if credit note can be voided - """ - canBeVoided: Boolean! - couponsAdjustmentAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditAmountCents: BigInt! - creditStatus: CreditNoteCreditStatusEnum - currency: CurrencyEnum! - customer: Customer! - description: String - errorDetails: [ErrorDetail!] - externalIntegrationId: String - fileUrl: String - id: ID! - integrationSyncable: Boolean! - invoice: Invoice - issuingDate: ISO8601Date! - items: [CreditNoteItem!]! - number: String! - reason: CreditNoteReasonEnum! - refundAmountCents: BigInt! - refundStatus: CreditNoteRefundStatusEnum - refundedAt: ISO8601DateTime - sequentialId: ID! - subTotalExcludingTaxesAmountCents: BigInt! - taxProviderId: String - taxProviderSyncable: Boolean! - taxesAmountCents: BigInt! - taxesRate: Float! - totalAmountCents: BigInt! - updatedAt: ISO8601DateTime! - voidedAt: ISO8601DateTime -} - -type CreditNoteAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - baseAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditNote: CreditNote! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -enum CreditNoteCreditStatusEnum { - available - consumed - voided -} - -type CreditNoteItem { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - fee: Fee! - id: ID! -} - -enum CreditNoteReasonEnum { - duplicated_charge - fraudulent_charge - order_cancellation - order_change - other - product_unsatisfactory -} - -enum CreditNoteRefundStatusEnum { - failed - pending - succeeded -} - -enum CurrencyEnum { - """ - United Arab Emirates Dirham - """ - AED - - """ - Afghan Afghani - """ - AFN - - """ - Albanian Lek - """ - ALL - - """ - Armenian Dram - """ - AMD - - """ - Netherlands Antillean Gulden - """ - ANG - - """ - Angolan Kwanza - """ - AOA - - """ - Argentine Peso - """ - ARS - - """ - Australian Dollar - """ - AUD - - """ - Aruban Florin - """ - AWG - - """ - Azerbaijani Manat - """ - AZN - - """ - Bosnia and Herzegovina Convertible Mark - """ - BAM - - """ - Barbadian Dollar - """ - BBD - - """ - Bangladeshi Taka - """ - BDT - - """ - Bulgarian Lev - """ - BGN - - """ - Burundian Franc - """ - BIF - - """ - Bermudian Dollar - """ - BMD - - """ - Brunei Dollar - """ - BND - - """ - Bolivian Boliviano - """ - BOB - - """ - Brazilian Real - """ - BRL - - """ - Bahamian Dollar - """ - BSD - - """ - Botswana Pula - """ - BWP - - """ - Belarusian Ruble - """ - BYN - - """ - Belize Dollar - """ - BZD - - """ - Canadian Dollar - """ - CAD - - """ - Congolese Franc - """ - CDF - - """ - Swiss Franc - """ - CHF - - """ - Unidad de Fomento - """ - CLF - - """ - Chilean Peso - """ - CLP - - """ - Chinese Renminbi Yuan - """ - CNY - - """ - Colombian Peso - """ - COP - - """ - Costa Rican Colón - """ - CRC - - """ - Cape Verdean Escudo - """ - CVE - - """ - Czech Koruna - """ - CZK - - """ - Djiboutian Franc - """ - DJF - - """ - Danish Krone - """ - DKK - - """ - Dominican Peso - """ - DOP - - """ - Algerian Dinar - """ - DZD - - """ - Egyptian Pound - """ - EGP - - """ - Ethiopian Birr - """ - ETB - - """ - Euro - """ - EUR - - """ - Fijian Dollar - """ - FJD - - """ - Falkland Pound - """ - FKP - - """ - British Pound - """ - GBP - - """ - Georgian Lari - """ - GEL - - """ - Gibraltar Pound - """ - GIP - - """ - Gambian Dalasi - """ - GMD - - """ - Guinean Franc - """ - GNF - - """ - Guatemalan Quetzal - """ - GTQ - - """ - Guyanese Dollar - """ - GYD - - """ - Hong Kong Dollar - """ - HKD - - """ - Honduran Lempira - """ - HNL - - """ - Croatian Kuna - """ - HRK - - """ - Haitian Gourde - """ - HTG - - """ - Hungarian Forint - """ - HUF - - """ - Indonesian Rupiah - """ - IDR - - """ - Israeli New Sheqel - """ - ILS - - """ - Indian Rupee - """ - INR - - """ - Iranian Rial - """ - IRR - - """ - Icelandic Króna - """ - ISK - - """ - Jamaican Dollar - """ - JMD - - """ - Jordanian Dinar - """ - JOD - - """ - Japanese Yen - """ - JPY - - """ - Kenyan Shilling - """ - KES - - """ - Kyrgyzstani Som - """ - KGS - - """ - Cambodian Riel - """ - KHR - - """ - Comorian Franc - """ - KMF - - """ - South Korean Won - """ - KRW - - """ - Kuwaiti Dinar - """ - KWD - - """ - Cayman Islands Dollar - """ - KYD - - """ - Kazakhstani Tenge - """ - KZT - - """ - Lao Kip - """ - LAK - - """ - Lebanese Pound - """ - LBP - - """ - Sri Lankan Rupee - """ - LKR - - """ - Liberian Dollar - """ - LRD - - """ - Lesotho Loti - """ - LSL - - """ - Moroccan Dirham - """ - MAD - - """ - Moldovan Leu - """ - MDL - - """ - Malagasy Ariary - """ - MGA - - """ - Macedonian Denar - """ - MKD - - """ - Myanmar Kyat - """ - MMK - - """ - Mongolian Tögrög - """ - MNT - - """ - Macanese Pataca - """ - MOP - - """ - Mauritanian Ouguiya - """ - MRO - - """ - Mauritian Rupee - """ - MUR - - """ - Maldivian Rufiyaa - """ - MVR - - """ - Malawian Kwacha - """ - MWK - - """ - Mexican Peso - """ - MXN - - """ - Malaysian Ringgit - """ - MYR - - """ - Mozambican Metical - """ - MZN - - """ - Namibian Dollar - """ - NAD - - """ - Nigerian Naira - """ - NGN - - """ - Nicaraguan Córdoba - """ - NIO - - """ - Norwegian Krone - """ - NOK - - """ - Nepalese Rupee - """ - NPR - - """ - New Zealand Dollar - """ - NZD - - """ - Panamanian Balboa - """ - PAB - - """ - Peruvian Sol - """ - PEN - - """ - Papua New Guinean Kina - """ - PGK - - """ - Philippine Peso - """ - PHP - - """ - Pakistani Rupee - """ - PKR - - """ - Polish Złoty - """ - PLN - - """ - Paraguayan Guaraní - """ - PYG - - """ - Qatari Riyal - """ - QAR - - """ - Romanian Leu - """ - RON - - """ - Serbian Dinar - """ - RSD - - """ - Russian Ruble - """ - RUB - - """ - Rwandan Franc - """ - RWF - - """ - Saudi Riyal - """ - SAR - - """ - Solomon Islands Dollar - """ - SBD - - """ - Seychellois Rupee - """ - SCR - - """ - Swedish Krona - """ - SEK - - """ - Singapore Dollar - """ - SGD - - """ - Saint Helenian Pound - """ - SHP - - """ - Sierra Leonean Leone - """ - SLL - - """ - Somali Shilling - """ - SOS - - """ - Surinamese Dollar - """ - SRD - - """ - São Tomé and Príncipe Dobra - """ - STD - - """ - Swazi Lilangeni - """ - SZL - - """ - Thai Baht - """ - THB - - """ - Tajikistani Somoni - """ - TJS - - """ - Tongan Paʻanga - """ - TOP - - """ - Turkish Lira - """ - TRY - - """ - Trinidad and Tobago Dollar - """ - TTD - - """ - New Taiwan Dollar - """ - TWD - - """ - Tanzanian Shilling - """ - TZS - - """ - Ukrainian Hryvnia - """ - UAH - - """ - Ugandan Shilling - """ - UGX - - """ - United States Dollar - """ - USD - - """ - Uruguayan Peso - """ - UYU - - """ - Uzbekistan Som - """ - UZS - - """ - Vietnamese Đồng - """ - VND - - """ - Vanuatu Vatu - """ - VUV - - """ - Samoan Tala - """ - WST - - """ - Central African Cfa Franc - """ - XAF - - """ - East Caribbean Dollar - """ - XCD - - """ - West African Cfa Franc - """ - XOF - - """ - Cfp Franc - """ - XPF - - """ - Yemeni Rial - """ - YER - - """ - South African Rand - """ - ZAR - - """ - Zambian Kwacha - """ - ZMW -} - -type Customer { - """ - Number of active subscriptions per customer - """ - activeSubscriptionsCount: Int! - addressLine1: String - addressLine2: String - anrokCustomer: AnrokCustomer - applicableTimezone: TimezoneEnum! - appliedAddOns: [AppliedAddOn!] - appliedCoupons: [AppliedCoupon!] - billingConfiguration: CustomerBillingConfiguration - - """ - Check if customer attributes are editable - """ - canEditAttributes: Boolean! - city: String - country: CountryCode - createdAt: ISO8601DateTime! - creditNotes: [CreditNote!] - - """ - Credit notes credits balance available per customer - """ - creditNotesBalanceAmountCents: BigInt! - - """ - Number of available credits from credit notes per customer - """ - creditNotesCreditsAvailableCount: Int! - currency: CurrencyEnum - customerType: CustomerTypeEnum - deletedAt: ISO8601DateTime - displayName: String! - email: String - externalId: String! - externalSalesforceId: String - - """ - Options for handling invoices with a zero total amount. - """ - finalizeZeroAmountInvoice: FinalizeZeroAmountInvoiceEnum - firstname: String - - """ - Define if a customer has an active wallet - """ - hasActiveWallet: Boolean! - - """ - Define if a customer has any credit note - """ - hasCreditNotes: Boolean! - - """ - Define if a customer has overdue invoices - """ - hasOverdueInvoices: Boolean! - id: ID! - invoiceGracePeriod: Int - invoices: [Invoice!] - lastname: String - legalName: String - legalNumber: String - logoUrl: String - metadata: [CustomerMetadata!] - name: String - netPaymentTerm: Int - netsuiteCustomer: NetsuiteCustomer - paymentProvider: ProviderTypeEnum - paymentProviderCode: String - phone: String - providerCustomer: ProviderCustomer - sequentialId: String! - shippingAddress: CustomerAddress - slug: String! - state: String - - """ - Query subscriptions of a customer - """ - subscriptions( - """ - Statuses of subscriptions to retrieve - """ - status: [StatusTypeEnum!] - ): [Subscription!]! - taxIdentificationNumber: String - taxes: [Tax!] - timezone: TimezoneEnum - updatedAt: ISO8601DateTime! - url: String - xeroCustomer: XeroCustomer - zipcode: String -} - -type CustomerAddress { - addressLine1: String - addressLine2: String - city: String - country: CountryCode - state: String - zipcode: String -} - -type CustomerBillingConfiguration { - documentLocale: String - id: ID! -} - -type CustomerMetadata { - createdAt: ISO8601DateTime! - displayInInvoice: Boolean! - id: ID! - key: String! - updatedAt: ISO8601DateTime! - value: String! -} - -enum CustomerTypeEnum { - company - individual -} - -""" -Autogenerated input type of DownloadCustomerPortalInvoice -""" -input DownloadCustomerPortalInvoiceInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - id: ID! -} - -enum ErrorCodesEnum { - not_provided - tax_error - tax_voiding_error -} - -type ErrorDetail { - errorCode: ErrorCodesEnum! - errorDetails: String - id: ID! -} - -type Fee implements InvoiceItem { - adjustedFee: Boolean! - adjustedFeeType: AdjustedFeeTypeEnum - amountCents: BigInt! - amountCurrency: CurrencyEnum! - amountDetails: FeeAmountDetails - appliedTaxes: [FeeAppliedTax!] - charge: Charge - chargeFilter: ChargeFilter - creditableAmountCents: BigInt! - currency: CurrencyEnum! - description: String - eventsCount: BigInt - feeType: FeeTypesEnum! - groupedBy: JSON! - id: ID! - invoiceDisplayName: String - invoiceName: String - itemCode: String! - itemName: String! - itemType: String! - preciseUnitAmount: Float! - subscription: Subscription - succeededAt: ISO8601DateTime - taxesAmountCents: BigInt! - taxesRate: Float - trueUpFee: Fee - trueUpParentFee: Fee - units: Float! -} - -type FeeAmountDetails { - fixedFeeTotalAmount: String - fixedFeeUnitAmount: String - flatUnitAmount: String - freeEvents: Int - freeUnits: String - graduatedPercentageRanges: [FeeAmountDetailsGraduatedPercentageRange!] - graduatedRanges: [FeeAmountDetailsGraduatedRange!] - minMaxAdjustmentTotalAmount: String - paidEvents: Int - paidUnits: String - perPackageSize: Int - perPackageUnitAmount: String - perUnitAmount: String - perUnitTotalAmount: String - rate: String - units: String -} - -type FeeAmountDetailsGraduatedPercentageRange { - flatUnitAmount: String - fromValue: BigInt - perUnitTotalAmount: String - rate: String - toValue: BigInt - totalWithFlatAmount: String - units: String -} - -type FeeAmountDetailsGraduatedRange { - flatUnitAmount: String - fromValue: BigInt - perUnitAmount: String - perUnitTotalAmount: String - toValue: BigInt - totalWithFlatAmount: String - units: String -} - -type FeeAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - createdAt: ISO8601DateTime! - fee: Fee! - id: ID! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -enum FeeTypesEnum { - add_on - charge - commitment - credit - subscription -} - -enum FinalizeZeroAmountInvoiceEnum { - finalize - inherit - skip -} - -type FinalizedInvoiceCollection { - amountCents: BigInt! - currency: CurrencyEnum - invoicesCount: BigInt! - month: ISO8601DateTime! - paymentStatus: InvoicePaymentStatusTypeEnum -} - -""" -FinalizedInvoiceCollectionCollection type -""" -type FinalizedInvoiceCollectionCollection { - """ - A collection of paginated FinalizedInvoiceCollectionCollection - """ - collection: [FinalizedInvoiceCollection!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type GraduatedPercentageRange { - flatAmount: String! - fromValue: BigInt! - rate: String! - toValue: BigInt -} - -type GraduatedRange { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -""" -An ISO 8601-encoded date -""" -scalar ISO8601Date @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") - -""" -An ISO 8601-encoded datetime -""" -scalar ISO8601DateTime @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") - -enum IntegrationTypeEnum { - anrok - hubspot - netsuite - okta - progressive_billing - xero -} - -""" -Invoice -""" -type Invoice { - appliedTaxes: [InvoiceAppliedTax!] - chargeAmountCents: BigInt! - couponsAmountCents: BigInt! - createdAt: ISO8601DateTime! - creditNotes: [CreditNote!] - creditNotesAmountCents: BigInt! - creditableAmountCents: BigInt! - currency: CurrencyEnum - customer: Customer! - errorDetails: [ErrorDetail!] - externalIntegrationId: String - fees: [Fee!] - feesAmountCents: BigInt! - fileUrl: String - id: ID! - integrationSyncable: Boolean! - invoiceSubscriptions: [InvoiceSubscription!] - invoiceType: InvoiceTypeEnum! - issuingDate: ISO8601Date! - metadata: [InvoiceMetadata!] - number: String! - paymentDisputeLosable: Boolean! - paymentDisputeLostAt: ISO8601DateTime - paymentDueDate: ISO8601Date! - paymentOverdue: Boolean! - paymentStatus: InvoicePaymentStatusTypeEnum! - prepaidCreditAmountCents: BigInt! - progressiveBillingCreditAmountCents: BigInt! - refundableAmountCents: BigInt! - sequentialId: ID! - status: InvoiceStatusTypeEnum! - subTotalExcludingTaxesAmountCents: BigInt! - subTotalIncludingTaxesAmountCents: BigInt! - subscriptions: [Subscription!] - taxProviderVoidable: Boolean! - taxesAmountCents: BigInt! - taxesRate: Float! - totalAmountCents: BigInt! - updatedAt: ISO8601DateTime! - versionNumber: Int! - voidable: Boolean! -} - -type InvoiceAppliedTax implements AppliedTax { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - appliedOnWholeInvoice: Boolean! - createdAt: ISO8601DateTime! - enumedTaxCode: InvoiceAppliedTaxOnWholeInvoiceCodeEnum - feesAmountCents: BigInt! - id: ID! - invoice: Invoice! - tax: Tax - taxCode: String! - taxDescription: String - taxName: String! - taxRate: Float! - updatedAt: ISO8601DateTime! -} - -enum InvoiceAppliedTaxOnWholeInvoiceCodeEnum { - customer_exempt - juris_has_no_tax - juris_not_taxed - not_collecting - reverse_charge - transaction_exempt - unknown_taxation -} - -""" -InvoiceCollection type -""" -type InvoiceCollection { - """ - A collection of paginated InvoiceCollection - """ - collection: [Invoice!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -""" -Invoice Item -""" -interface InvoiceItem { - amountCents: BigInt! - amountCurrency: CurrencyEnum! - id: ID! - itemCode: String! - itemName: String! - itemType: String! -} - -""" -Attributes for invoice metadata object -""" -type InvoiceMetadata { - createdAt: ISO8601DateTime! - id: ID! - key: String! - updatedAt: ISO8601DateTime! - value: String! -} - -enum InvoicePaymentStatusTypeEnum { - failed - pending - succeeded -} - -enum InvoiceStatusTypeEnum { - closed - draft - failed - finalized - generating - open - voided -} - -type InvoiceSubscription { - chargeAmountCents: BigInt! - chargesFromDatetime: ISO8601DateTime - chargesToDatetime: ISO8601DateTime - fees: [Fee!] - fromDatetime: ISO8601DateTime - inAdvanceChargesFromDatetime: ISO8601DateTime - inAdvanceChargesToDatetime: ISO8601DateTime - invoice: Invoice! - subscription: Subscription! - subscriptionAmountCents: BigInt! - toDatetime: ISO8601DateTime - totalAmountCents: BigInt! -} - -enum InvoiceTypeEnum { - add_on - advance_charges - credit - one_off - progressive_billing - subscription -} - -""" -Represents untyped JSON -""" -scalar JSON - -enum MappableTypeEnum { - AddOn - BillableMetric -} - -type Mapping { - externalAccountCode: String - externalId: String! - externalName: String - id: ID! - integrationId: ID! - mappableId: ID! - mappableType: MappableTypeEnum! -} - -type Mutation { - """ - Download customer portal invoice PDF - """ - downloadCustomerPortalInvoice( - """ - Parameters for DownloadCustomerPortalInvoice - """ - input: DownloadCustomerPortalInvoiceInput! - ): Invoice -} - -type NetsuiteCustomer { - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - subsidiaryId: String - syncWithProvider: Boolean -} - -""" -Safe Organization Type -""" -type Organization { - billingConfiguration: OrganizationBillingConfiguration - defaultCurrency: CurrencyEnum! - id: ID! - logoUrl: String - name: String! - timezone: TimezoneEnum -} - -type OrganizationBillingConfiguration { - documentLocale: String - id: ID! - invoiceFooter: String - invoiceGracePeriod: Int! -} - -type OverdueBalance { - amountCents: BigInt! - currency: CurrencyEnum! - lagoInvoiceIds: [String!]! - month: ISO8601DateTime! -} - -""" -OverdueBalanceCollection type -""" -type OverdueBalanceCollection { - """ - A collection of paginated OverdueBalanceCollection - """ - collection: [OverdueBalance!]! - - """ - Pagination Metadata for navigating the Pagination - """ - metadata: CollectionMetadata! -} - -type Plan { - activeSubscriptionsCount: Int! - amountCents: BigInt! - amountCurrency: CurrencyEnum! - billChargesMonthly: Boolean - charges: [Charge!] - - """ - Number of charges attached to a plan - """ - chargesCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers attached to a plan - """ - customersCount: Int! - description: String - draftInvoicesCount: Int! - id: ID! - interval: PlanInterval! - invoiceDisplayName: String - minimumCommitment: Commitment - name: String! - organization: Organization - parent: Plan - payInAdvance: Boolean! - subscriptionsCount: Int! - taxes: [Tax!] - trialPeriod: Float - updatedAt: ISO8601DateTime! - usageThresholds: [UsageThreshold!] -} - -enum PlanInterval { - monthly - quarterly - weekly - yearly -} - -type Properties { - amount: String - customProperties: JSON - fixedAmount: String - freeUnits: BigInt - freeUnitsPerEvents: BigInt - freeUnitsPerTotalAggregation: String - graduatedPercentageRanges: [GraduatedPercentageRange!] - graduatedRanges: [GraduatedRange!] - groupedBy: [String!] - packageSize: BigInt - perTransactionMaxAmount: String - perTransactionMinAmount: String - rate: String - volumeRanges: [VolumeRange!] -} - -type ProviderCustomer { - id: ID! - providerCustomerId: ID - providerPaymentMethods: [ProviderPaymentMethodsEnum!] - syncWithProvider: Boolean -} - -enum ProviderPaymentMethodsEnum { - bacs_debit - card - link - sepa_debit - us_bank_account -} - -enum ProviderTypeEnum { - adyen - gocardless - stripe -} - -type Query { - """ - Query invoice collections of a customer portal user - """ - customerPortalInvoiceCollections(expireCache: Boolean, months: Int): FinalizedInvoiceCollectionCollection! - - """ - Query invoices of a customer - """ - customerPortalInvoices(limit: Int, page: Int, searchTerm: String, status: [InvoiceStatusTypeEnum!]): InvoiceCollection! - - """ - Query customer portal organization - """ - customerPortalOrganization: Organization - - """ - Query overdue balances of a customer portal user - """ - customerPortalOverdueBalances(expireCache: Boolean, months: Int): OverdueBalanceCollection! - - """ - Query a customer portal user - """ - customerPortalUser: Customer -} - -enum RegroupPaidFeesEnum { - invoice -} - -enum StatusTypeEnum { - active - canceled - pending - terminated -} - -type Subscription { - billingTime: BillingTimeEnum - canceledAt: ISO8601DateTime - createdAt: ISO8601DateTime! - customer: Customer! - endingAt: ISO8601DateTime - externalId: String! - fees: [Fee!] - id: ID! - lifetimeUsage: SubscriptionLifetimeUsage - name: String - nextName: String - nextPendingStartDate: ISO8601Date - nextPlan: Plan - nextSubscription: Subscription - periodEndDate: ISO8601Date - plan: Plan! - startedAt: ISO8601DateTime - status: StatusTypeEnum - subscriptionAt: ISO8601DateTime - terminatedAt: ISO8601DateTime - updatedAt: ISO8601DateTime! -} - -type SubscriptionLifetimeUsage { - lastThresholdAmountCents: BigInt - nextThresholdAmountCents: BigInt - nextThresholdRatio: Float - totalUsageAmountCents: BigInt! - totalUsageFromDatetime: ISO8601DateTime! - totalUsageToDatetime: ISO8601DateTime! -} - -type Tax { - """ - Number of add ons using this tax - """ - addOnsCount: Int! - appliedToOrganization: Boolean! - autoGenerated: Boolean! - - """ - Number of charges using this tax - """ - chargesCount: Int! - code: String! - createdAt: ISO8601DateTime! - - """ - Number of customers using this tax - """ - customersCount: Int! - description: String - id: ID! - name: String! - organization: Organization - - """ - Number of plans using this tax - """ - plansCount: Int! - rate: Float! - updatedAt: ISO8601DateTime! -} - -enum TimezoneEnum { - """ - Africa/Algiers - """ - TZ_AFRICA_ALGIERS - - """ - Africa/Cairo - """ - TZ_AFRICA_CAIRO - - """ - Africa/Casablanca - """ - TZ_AFRICA_CASABLANCA - - """ - Africa/Harare - """ - TZ_AFRICA_HARARE - - """ - Africa/Johannesburg - """ - TZ_AFRICA_JOHANNESBURG - - """ - Africa/Monrovia - """ - TZ_AFRICA_MONROVIA - - """ - Africa/Nairobi - """ - TZ_AFRICA_NAIROBI - - """ - America/Argentina/Buenos_Aires - """ - TZ_AMERICA_ARGENTINA_BUENOS_AIRES - - """ - America/Bogota - """ - TZ_AMERICA_BOGOTA - - """ - America/Caracas - """ - TZ_AMERICA_CARACAS - - """ - America/Chicago - """ - TZ_AMERICA_CHICAGO - - """ - America/Chihuahua - """ - TZ_AMERICA_CHIHUAHUA - - """ - America/Denver - """ - TZ_AMERICA_DENVER - - """ - America/Godthab - """ - TZ_AMERICA_GODTHAB - - """ - America/Guatemala - """ - TZ_AMERICA_GUATEMALA - - """ - America/Guyana - """ - TZ_AMERICA_GUYANA - - """ - America/Halifax - """ - TZ_AMERICA_HALIFAX - - """ - America/Indiana/Indianapolis - """ - TZ_AMERICA_INDIANA_INDIANAPOLIS - - """ - America/Juneau - """ - TZ_AMERICA_JUNEAU - - """ - America/La_Paz - """ - TZ_AMERICA_LA_PAZ - - """ - America/Lima - """ - TZ_AMERICA_LIMA - - """ - America/Los_Angeles - """ - TZ_AMERICA_LOS_ANGELES - - """ - America/Mazatlan - """ - TZ_AMERICA_MAZATLAN - - """ - America/Mexico_City - """ - TZ_AMERICA_MEXICO_CITY - - """ - America/Monterrey - """ - TZ_AMERICA_MONTERREY - - """ - America/Montevideo - """ - TZ_AMERICA_MONTEVIDEO - - """ - America/New_York - """ - TZ_AMERICA_NEW_YORK - - """ - America/Phoenix - """ - TZ_AMERICA_PHOENIX - - """ - America/Puerto_Rico - """ - TZ_AMERICA_PUERTO_RICO - - """ - America/Regina - """ - TZ_AMERICA_REGINA - - """ - America/Santiago - """ - TZ_AMERICA_SANTIAGO - - """ - America/Sao_Paulo - """ - TZ_AMERICA_SAO_PAULO - - """ - America/St_Johns - """ - TZ_AMERICA_ST_JOHNS - - """ - America/Tijuana - """ - TZ_AMERICA_TIJUANA - - """ - Asia/Almaty - """ - TZ_ASIA_ALMATY - - """ - Asia/Baghdad - """ - TZ_ASIA_BAGHDAD - - """ - Asia/Baku - """ - TZ_ASIA_BAKU - - """ - Asia/Bangkok - """ - TZ_ASIA_BANGKOK - - """ - Asia/Chongqing - """ - TZ_ASIA_CHONGQING - - """ - Asia/Colombo - """ - TZ_ASIA_COLOMBO - - """ - Asia/Dhaka - """ - TZ_ASIA_DHAKA - - """ - Asia/Hong_Kong - """ - TZ_ASIA_HONG_KONG - - """ - Asia/Irkutsk - """ - TZ_ASIA_IRKUTSK - - """ - Asia/Jakarta - """ - TZ_ASIA_JAKARTA - - """ - Asia/Jerusalem - """ - TZ_ASIA_JERUSALEM - - """ - Asia/Kabul - """ - TZ_ASIA_KABUL - - """ - Asia/Kamchatka - """ - TZ_ASIA_KAMCHATKA - - """ - Asia/Karachi - """ - TZ_ASIA_KARACHI - - """ - Asia/Kathmandu - """ - TZ_ASIA_KATHMANDU - - """ - Asia/Kolkata - """ - TZ_ASIA_KOLKATA - - """ - Asia/Krasnoyarsk - """ - TZ_ASIA_KRASNOYARSK - - """ - Asia/Kuala_Lumpur - """ - TZ_ASIA_KUALA_LUMPUR - - """ - Asia/Kuwait - """ - TZ_ASIA_KUWAIT - - """ - Asia/Magadan - """ - TZ_ASIA_MAGADAN - - """ - Asia/Muscat - """ - TZ_ASIA_MUSCAT - - """ - Asia/Novosibirsk - """ - TZ_ASIA_NOVOSIBIRSK - - """ - Asia/Rangoon - """ - TZ_ASIA_RANGOON - - """ - Asia/Riyadh - """ - TZ_ASIA_RIYADH - - """ - Asia/Seoul - """ - TZ_ASIA_SEOUL - - """ - Asia/Shanghai - """ - TZ_ASIA_SHANGHAI - - """ - Asia/Singapore - """ - TZ_ASIA_SINGAPORE - - """ - Asia/Srednekolymsk - """ - TZ_ASIA_SREDNEKOLYMSK - - """ - Asia/Taipei - """ - TZ_ASIA_TAIPEI - - """ - Asia/Tashkent - """ - TZ_ASIA_TASHKENT - - """ - Asia/Tbilisi - """ - TZ_ASIA_TBILISI - - """ - Asia/Tehran - """ - TZ_ASIA_TEHRAN - - """ - Asia/Tokyo - """ - TZ_ASIA_TOKYO - - """ - Asia/Ulaanbaatar - """ - TZ_ASIA_ULAANBAATAR - - """ - Asia/Urumqi - """ - TZ_ASIA_URUMQI - - """ - Asia/Vladivostok - """ - TZ_ASIA_VLADIVOSTOK - - """ - Asia/Yakutsk - """ - TZ_ASIA_YAKUTSK - - """ - Asia/Yekaterinburg - """ - TZ_ASIA_YEKATERINBURG - - """ - Asia/Yerevan - """ - TZ_ASIA_YEREVAN - - """ - Atlantic/Azores - """ - TZ_ATLANTIC_AZORES - - """ - Atlantic/Cape_Verde - """ - TZ_ATLANTIC_CAPE_VERDE - - """ - Atlantic/South_Georgia - """ - TZ_ATLANTIC_SOUTH_GEORGIA - - """ - Australia/Adelaide - """ - TZ_AUSTRALIA_ADELAIDE - - """ - Australia/Brisbane - """ - TZ_AUSTRALIA_BRISBANE - - """ - Australia/Canberra - """ - TZ_AUSTRALIA_CANBERRA - - """ - Australia/Darwin - """ - TZ_AUSTRALIA_DARWIN - - """ - Australia/Hobart - """ - TZ_AUSTRALIA_HOBART - - """ - Australia/Melbourne - """ - TZ_AUSTRALIA_MELBOURNE - - """ - Australia/Perth - """ - TZ_AUSTRALIA_PERTH - - """ - Australia/Sydney - """ - TZ_AUSTRALIA_SYDNEY - - """ - Etc/GMT+12 - """ - TZ_ETC_GMT_12 - - """ - Europe/Amsterdam - """ - TZ_EUROPE_AMSTERDAM - - """ - Europe/Athens - """ - TZ_EUROPE_ATHENS - - """ - Europe/Belgrade - """ - TZ_EUROPE_BELGRADE - - """ - Europe/Berlin - """ - TZ_EUROPE_BERLIN - - """ - Europe/Bratislava - """ - TZ_EUROPE_BRATISLAVA - - """ - Europe/Brussels - """ - TZ_EUROPE_BRUSSELS - - """ - Europe/Bucharest - """ - TZ_EUROPE_BUCHAREST - - """ - Europe/Budapest - """ - TZ_EUROPE_BUDAPEST - - """ - Europe/Copenhagen - """ - TZ_EUROPE_COPENHAGEN - - """ - Europe/Dublin - """ - TZ_EUROPE_DUBLIN - - """ - Europe/Helsinki - """ - TZ_EUROPE_HELSINKI - - """ - Europe/Istanbul - """ - TZ_EUROPE_ISTANBUL - - """ - Europe/Kaliningrad - """ - TZ_EUROPE_KALININGRAD - - """ - Europe/Kiev - """ - TZ_EUROPE_KIEV - - """ - Europe/Lisbon - """ - TZ_EUROPE_LISBON - - """ - Europe/Ljubljana - """ - TZ_EUROPE_LJUBLJANA - - """ - Europe/London - """ - TZ_EUROPE_LONDON - - """ - Europe/Madrid - """ - TZ_EUROPE_MADRID - - """ - Europe/Minsk - """ - TZ_EUROPE_MINSK - - """ - Europe/Moscow - """ - TZ_EUROPE_MOSCOW - - """ - Europe/Paris - """ - TZ_EUROPE_PARIS - - """ - Europe/Prague - """ - TZ_EUROPE_PRAGUE - - """ - Europe/Riga - """ - TZ_EUROPE_RIGA - - """ - Europe/Rome - """ - TZ_EUROPE_ROME - - """ - Europe/Samara - """ - TZ_EUROPE_SAMARA - - """ - Europe/Sarajevo - """ - TZ_EUROPE_SARAJEVO - - """ - Europe/Skopje - """ - TZ_EUROPE_SKOPJE - - """ - Europe/Sofia - """ - TZ_EUROPE_SOFIA - - """ - Europe/Stockholm - """ - TZ_EUROPE_STOCKHOLM - - """ - Europe/Tallinn - """ - TZ_EUROPE_TALLINN - - """ - Europe/Vienna - """ - TZ_EUROPE_VIENNA - - """ - Europe/Vilnius - """ - TZ_EUROPE_VILNIUS - - """ - Europe/Volgograd - """ - TZ_EUROPE_VOLGOGRAD - - """ - Europe/Warsaw - """ - TZ_EUROPE_WARSAW - - """ - Europe/Zagreb - """ - TZ_EUROPE_ZAGREB - - """ - Europe/Zurich - """ - TZ_EUROPE_ZURICH - - """ - Pacific/Apia - """ - TZ_PACIFIC_APIA - - """ - Pacific/Auckland - """ - TZ_PACIFIC_AUCKLAND - - """ - Pacific/Chatham - """ - TZ_PACIFIC_CHATHAM - - """ - Pacific/Fakaofo - """ - TZ_PACIFIC_FAKAOFO - - """ - Pacific/Fiji - """ - TZ_PACIFIC_FIJI - - """ - Pacific/Guadalcanal - """ - TZ_PACIFIC_GUADALCANAL - - """ - Pacific/Guam - """ - TZ_PACIFIC_GUAM - - """ - Pacific/Honolulu - """ - TZ_PACIFIC_HONOLULU - - """ - Pacific/Majuro - """ - TZ_PACIFIC_MAJURO - - """ - Pacific/Midway - """ - TZ_PACIFIC_MIDWAY - - """ - Pacific/Noumea - """ - TZ_PACIFIC_NOUMEA - - """ - Pacific/Pago_Pago - """ - TZ_PACIFIC_PAGO_PAGO - - """ - Pacific/Port_Moresby - """ - TZ_PACIFIC_PORT_MORESBY - - """ - Pacific/Tongatapu - """ - TZ_PACIFIC_TONGATAPU - - """ - UTC - """ - TZ_UTC -} - -type UsageThreshold { - amountCents: BigInt! - createdAt: ISO8601DateTime! - id: ID! - recurring: Boolean! - thresholdDisplayName: String - updatedAt: ISO8601DateTime! -} - -type VolumeRange { - flatAmount: String! - fromValue: BigInt! - perUnitAmount: String! - toValue: BigInt -} - -enum WeightedIntervalEnum { - seconds -} - -type XeroCustomer { - externalCustomerId: String - id: ID! - integrationCode: String - integrationId: ID - integrationType: IntegrationTypeEnum - syncWithProvider: Boolean -} diff --git a/graphql_schemas/customer_portal.json b/graphql_schemas/customer_portal.json deleted file mode 100644 index 8e7f13aa12a..00000000000 --- a/graphql_schemas/customer_portal.json +++ /dev/null @@ -1,15432 +0,0 @@ -{ - "data": { - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": { - "name": "Mutation" - }, - "subscriptionType": null, - "types": [ - { - "kind": "OBJECT", - "name": "AddOn", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedAddOnsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this add-on", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationMappings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "AdjustedFeeTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "adjusted_units", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "adjusted_amount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "count_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sum_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "max_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unique_count_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weighted_sum_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latest_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "custom_agg", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "AnrokCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AppliedAddOn", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addOn", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AddOn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "AppliedCoupon", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCentsRemaining", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "coupon", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Coupon", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDurationRemaining", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INTERFACE", - "name": "AppliedTax", - "description": null, - "interfaces": [ - - ], - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "ofType": null - } - ], - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "BigInt", - "description": "Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "BillableMetric", - "description": "Base billable metric", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "aggregationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "AggregationTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "draftInvoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fieldName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetricFilter", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationMappings", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Mapping", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "weightedInterval", - "description": null, - "type": { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "BillableMetricFilter", - "description": "Billable metric filters", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "BillingTimeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "calendar", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "anniversary", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "Represents `true` or `false` values.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Charge", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billableMetric", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeModel", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ChargeModelEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChargeFilter", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Properties", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "prorated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "regroupPaidFees", - "description": null, - "type": { - "kind": "ENUM", - "name": "RegroupPaidFeesEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ChargeFilter", - "description": "Charge filters object", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "properties", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Properties", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "values", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ChargeFilterValues", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ChargeModelEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "standard", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "package", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "volume", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "graduated_percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "custom", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CollectionMetadata", - "description": "Type for CollectionMetadataType", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "currentPage", - "description": "Current Page of loaded data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitValue", - "description": "The number of items per page", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalCount", - "description": "The total number of items to be paginated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalPages", - "description": "The total number of pages in the pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Commitment", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "commitmentType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommitmentTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plan", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CommitmentTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "minimum_commitment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CountryCode", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AD", - "description": "Andorra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AE", - "description": "United Arab Emirates", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AF", - "description": "Afghanistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AG", - "description": "Antigua and Barbuda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AI", - "description": "Anguilla", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AL", - "description": "Albania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AM", - "description": "Armenia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AO", - "description": "Angola", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AQ", - "description": "Antarctica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AR", - "description": "Argentina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AS", - "description": "American Samoa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AT", - "description": "Austria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AU", - "description": "Australia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AW", - "description": "Aruba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AX", - "description": "Åland Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AZ", - "description": "Azerbaijan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BA", - "description": "Bosnia and Herzegovina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BB", - "description": "Barbados", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BD", - "description": "Bangladesh", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BE", - "description": "Belgium", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BF", - "description": "Burkina Faso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BG", - "description": "Bulgaria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BH", - "description": "Bahrain", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BI", - "description": "Burundi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BJ", - "description": "Benin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BL", - "description": "Saint Barthélemy", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BM", - "description": "Bermuda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BN", - "description": "Brunei Darussalam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BO", - "description": "Bolivia (Plurinational State of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BQ", - "description": "Bonaire, Sint Eustatius and Saba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BR", - "description": "Brazil", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BS", - "description": "Bahamas", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BT", - "description": "Bhutan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BV", - "description": "Bouvet Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BW", - "description": "Botswana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BY", - "description": "Belarus", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BZ", - "description": "Belize", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CA", - "description": "Canada", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CC", - "description": "Cocos (Keeling) Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CD", - "description": "Congo (Democratic Republic of the)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CF", - "description": "Central African Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CG", - "description": "Congo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CH", - "description": "Switzerland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CI", - "description": "Côte d'Ivoire", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CK", - "description": "Cook Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CL", - "description": "Chile", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CM", - "description": "Cameroon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CN", - "description": "China", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CO", - "description": "Colombia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CR", - "description": "Costa Rica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CU", - "description": "Cuba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CV", - "description": "Cabo Verde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CW", - "description": "Curaçao", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CX", - "description": "Christmas Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CY", - "description": "Cyprus", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CZ", - "description": "Czechia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DE", - "description": "Germany", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DJ", - "description": "Djibouti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DK", - "description": "Denmark", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DM", - "description": "Dominica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DO", - "description": "Dominican Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DZ", - "description": "Algeria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EC", - "description": "Ecuador", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EE", - "description": "Estonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EG", - "description": "Egypt", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EH", - "description": "Western Sahara", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ER", - "description": "Eritrea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ES", - "description": "Spain", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ET", - "description": "Ethiopia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FI", - "description": "Finland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FJ", - "description": "Fiji", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FK", - "description": "Falkland Islands (Malvinas)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FM", - "description": "Micronesia (Federated States of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FO", - "description": "Faroe Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FR", - "description": "France", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GA", - "description": "Gabon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GB", - "description": "United Kingdom of Great Britain and Northern Ireland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GD", - "description": "Grenada", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GE", - "description": "Georgia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GF", - "description": "French Guiana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GG", - "description": "Guernsey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GH", - "description": "Ghana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GI", - "description": "Gibraltar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GL", - "description": "Greenland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GM", - "description": "Gambia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GN", - "description": "Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GP", - "description": "Guadeloupe", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GQ", - "description": "Equatorial Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GR", - "description": "Greece", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GS", - "description": "South Georgia and the South Sandwich Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GT", - "description": "Guatemala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GU", - "description": "Guam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GW", - "description": "Guinea-Bissau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GY", - "description": "Guyana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HK", - "description": "Hong Kong", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HM", - "description": "Heard Island and McDonald Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HN", - "description": "Honduras", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HR", - "description": "Croatia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HT", - "description": "Haiti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HU", - "description": "Hungary", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ID", - "description": "Indonesia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IE", - "description": "Ireland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IL", - "description": "Israel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IM", - "description": "Isle of Man", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IN", - "description": "India", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IO", - "description": "British Indian Ocean Territory", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IQ", - "description": "Iraq", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IR", - "description": "Iran (Islamic Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IS", - "description": "Iceland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IT", - "description": "Italy", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JE", - "description": "Jersey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JM", - "description": "Jamaica", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JO", - "description": "Jordan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JP", - "description": "Japan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KE", - "description": "Kenya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KG", - "description": "Kyrgyzstan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KH", - "description": "Cambodia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KI", - "description": "Kiribati", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KM", - "description": "Comoros", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KN", - "description": "Saint Kitts and Nevis", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KP", - "description": "Korea (Democratic People's Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KR", - "description": "Korea (Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KW", - "description": "Kuwait", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KY", - "description": "Cayman Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KZ", - "description": "Kazakhstan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LA", - "description": "Lao People's Democratic Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LB", - "description": "Lebanon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LC", - "description": "Saint Lucia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LI", - "description": "Liechtenstein", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LK", - "description": "Sri Lanka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LR", - "description": "Liberia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LS", - "description": "Lesotho", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LT", - "description": "Lithuania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LU", - "description": "Luxembourg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LV", - "description": "Latvia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LY", - "description": "Libya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MA", - "description": "Morocco", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MC", - "description": "Monaco", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MD", - "description": "Moldova (Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ME", - "description": "Montenegro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MF", - "description": "Saint Martin (French part)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MG", - "description": "Madagascar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MH", - "description": "Marshall Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MK", - "description": "North Macedonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ML", - "description": "Mali", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MM", - "description": "Myanmar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MN", - "description": "Mongolia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MO", - "description": "Macao", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MP", - "description": "Northern Mariana Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MQ", - "description": "Martinique", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MR", - "description": "Mauritania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MS", - "description": "Montserrat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MT", - "description": "Malta", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MU", - "description": "Mauritius", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MV", - "description": "Maldives", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MW", - "description": "Malawi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MX", - "description": "Mexico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MY", - "description": "Malaysia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MZ", - "description": "Mozambique", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NA", - "description": "Namibia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NC", - "description": "New Caledonia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NE", - "description": "Niger", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NF", - "description": "Norfolk Island", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NG", - "description": "Nigeria", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NI", - "description": "Nicaragua", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NL", - "description": "Netherlands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NO", - "description": "Norway", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NP", - "description": "Nepal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NR", - "description": "Nauru", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NU", - "description": "Niue", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NZ", - "description": "New Zealand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OM", - "description": "Oman", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PA", - "description": "Panama", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PE", - "description": "Peru", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PF", - "description": "French Polynesia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PG", - "description": "Papua New Guinea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PH", - "description": "Philippines", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PK", - "description": "Pakistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PL", - "description": "Poland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PM", - "description": "Saint Pierre and Miquelon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PN", - "description": "Pitcairn", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PR", - "description": "Puerto Rico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PS", - "description": "Palestine, State of", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PT", - "description": "Portugal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PW", - "description": "Palau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PY", - "description": "Paraguay", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "QA", - "description": "Qatar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RE", - "description": "Réunion", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RO", - "description": "Romania", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RS", - "description": "Serbia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RU", - "description": "Russian Federation", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RW", - "description": "Rwanda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SA", - "description": "Saudi Arabia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SB", - "description": "Solomon Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SC", - "description": "Seychelles", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SD", - "description": "Sudan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SE", - "description": "Sweden", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SG", - "description": "Singapore", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SH", - "description": "Saint Helena, Ascension and Tristan da Cunha", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SI", - "description": "Slovenia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SJ", - "description": "Svalbard and Jan Mayen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SK", - "description": "Slovakia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SL", - "description": "Sierra Leone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SM", - "description": "San Marino", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SN", - "description": "Senegal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SO", - "description": "Somalia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SR", - "description": "Suriname", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SS", - "description": "South Sudan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ST", - "description": "Sao Tome and Principe", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SV", - "description": "El Salvador", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SX", - "description": "Sint Maarten (Dutch part)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SY", - "description": "Syrian Arab Republic", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SZ", - "description": "Eswatini", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TC", - "description": "Turks and Caicos Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TD", - "description": "Chad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TF", - "description": "French Southern Territories", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TG", - "description": "Togo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TH", - "description": "Thailand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TJ", - "description": "Tajikistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TK", - "description": "Tokelau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TL", - "description": "Timor-Leste", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TM", - "description": "Turkmenistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TN", - "description": "Tunisia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TO", - "description": "Tonga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TR", - "description": "Türkiye", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TT", - "description": "Trinidad and Tobago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TV", - "description": "Tuvalu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TW", - "description": "Taiwan, Province of China", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ", - "description": "Tanzania, United Republic of", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UA", - "description": "Ukraine", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UG", - "description": "Uganda", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UM", - "description": "United States Minor Outlying Islands", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "US", - "description": "United States of America", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UY", - "description": "Uruguay", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UZ", - "description": "Uzbekistan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VA", - "description": "Holy See", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VC", - "description": "Saint Vincent and the Grenadines", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VE", - "description": "Venezuela (Bolivarian Republic of)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VG", - "description": "Virgin Islands (British)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VI", - "description": "Virgin Islands (U.S.)", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VN", - "description": "Viet Nam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VU", - "description": "Vanuatu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WF", - "description": "Wallis and Futuna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WS", - "description": "Samoa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YE", - "description": "Yemen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YT", - "description": "Mayotte", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZA", - "description": "South Africa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZM", - "description": "Zambia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZW", - "description": "Zimbabwe", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Coupon", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedCouponsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billableMetrics", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BillableMetric", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this coupon", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "expiration", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponExpiration", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "expirationAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponFrequency", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "frequencyDuration", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitedBillableMetrics", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "limitedPlans", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "percentageRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plans", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "reusable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CouponStatusEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CouponExpiration", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "no_expiration", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time_limit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponFrequency", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "once", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "recurring", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forever", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "terminated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CouponTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "fixed_amount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentage", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CreditNote", - "description": "CreditNote", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "balanceAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canBeVoided", - "description": "Check if credit note can be voided", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAdjustmentAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "CreditNoteCreditStatusEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorDetail", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalIntegrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fileUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "issuingDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "items", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNoteItem", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "reason", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CreditNoteReasonEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "CreditNoteRefundStatusEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalExcludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "voidedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CreditNoteAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "baseAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNote", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CreditNoteCreditStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "available", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "consumed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "CreditNoteItem", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CreditNoteReasonEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "duplicated_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "product_unsatisfactory", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_change", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "order_cancellation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fraudulent_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "other", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CreditNoteRefundStatusEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "succeeded", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "CurrencyEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AED", - "description": "United Arab Emirates Dirham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AFN", - "description": "Afghan Afghani", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ALL", - "description": "Albanian Lek", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AMD", - "description": "Armenian Dram", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ANG", - "description": "Netherlands Antillean Gulden", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AOA", - "description": "Angolan Kwanza", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARS", - "description": "Argentine Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AUD", - "description": "Australian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AWG", - "description": "Aruban Florin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "AZN", - "description": "Azerbaijani Manat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BAM", - "description": "Bosnia and Herzegovina Convertible Mark", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BBD", - "description": "Barbadian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BDT", - "description": "Bangladeshi Taka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BGN", - "description": "Bulgarian Lev", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BIF", - "description": "Burundian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BMD", - "description": "Bermudian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BND", - "description": "Brunei Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BOB", - "description": "Bolivian Boliviano", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BRL", - "description": "Brazilian Real", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BSD", - "description": "Bahamian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BWP", - "description": "Botswana Pula", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BYN", - "description": "Belarusian Ruble", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BZD", - "description": "Belize Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CAD", - "description": "Canadian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CDF", - "description": "Congolese Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CHF", - "description": "Swiss Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CLF", - "description": "Unidad de Fomento", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CLP", - "description": "Chilean Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CNY", - "description": "Chinese Renminbi Yuan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "COP", - "description": "Colombian Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CRC", - "description": "Costa Rican Colón", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CVE", - "description": "Cape Verdean Escudo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CZK", - "description": "Czech Koruna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DJF", - "description": "Djiboutian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DKK", - "description": "Danish Krone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DOP", - "description": "Dominican Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DZD", - "description": "Algerian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EGP", - "description": "Egyptian Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ETB", - "description": "Ethiopian Birr", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EUR", - "description": "Euro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FJD", - "description": "Fijian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FKP", - "description": "Falkland Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GBP", - "description": "British Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GEL", - "description": "Georgian Lari", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GIP", - "description": "Gibraltar Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GMD", - "description": "Gambian Dalasi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GNF", - "description": "Guinean Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GTQ", - "description": "Guatemalan Quetzal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GYD", - "description": "Guyanese Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HKD", - "description": "Hong Kong Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HNL", - "description": "Honduran Lempira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HRK", - "description": "Croatian Kuna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HTG", - "description": "Haitian Gourde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "HUF", - "description": "Hungarian Forint", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IDR", - "description": "Indonesian Rupiah", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ILS", - "description": "Israeli New Sheqel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INR", - "description": "Indian Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IRR", - "description": "Iranian Rial", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ISK", - "description": "Icelandic Króna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JMD", - "description": "Jamaican Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JOD", - "description": "Jordanian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "JPY", - "description": "Japanese Yen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KES", - "description": "Kenyan Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KGS", - "description": "Kyrgyzstani Som", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KHR", - "description": "Cambodian Riel", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KMF", - "description": "Comorian Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KRW", - "description": "South Korean Won", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KWD", - "description": "Kuwaiti Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KYD", - "description": "Cayman Islands Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "KZT", - "description": "Kazakhstani Tenge", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LAK", - "description": "Lao Kip", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LBP", - "description": "Lebanese Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LKR", - "description": "Sri Lankan Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LRD", - "description": "Liberian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LSL", - "description": "Lesotho Loti", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MAD", - "description": "Moroccan Dirham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MDL", - "description": "Moldovan Leu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MGA", - "description": "Malagasy Ariary", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MKD", - "description": "Macedonian Denar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MMK", - "description": "Myanmar Kyat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MNT", - "description": "Mongolian Tögrög", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MOP", - "description": "Macanese Pataca", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MRO", - "description": "Mauritanian Ouguiya", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUR", - "description": "Mauritian Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MVR", - "description": "Maldivian Rufiyaa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MWK", - "description": "Malawian Kwacha", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MXN", - "description": "Mexican Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MYR", - "description": "Malaysian Ringgit", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MZN", - "description": "Mozambican Metical", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAD", - "description": "Namibian Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NGN", - "description": "Nigerian Naira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NIO", - "description": "Nicaraguan Córdoba", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NOK", - "description": "Norwegian Krone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NPR", - "description": "Nepalese Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NZD", - "description": "New Zealand Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PAB", - "description": "Panamanian Balboa", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PEN", - "description": "Peruvian Sol", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PGK", - "description": "Papua New Guinean Kina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PHP", - "description": "Philippine Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PKR", - "description": "Pakistani Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PLN", - "description": "Polish Złoty", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "PYG", - "description": "Paraguayan Guaraní", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "QAR", - "description": "Qatari Riyal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RON", - "description": "Romanian Leu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RSD", - "description": "Serbian Dinar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RUB", - "description": "Russian Ruble", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "RWF", - "description": "Rwandan Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SAR", - "description": "Saudi Riyal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SBD", - "description": "Solomon Islands Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCR", - "description": "Seychellois Rupee", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SEK", - "description": "Swedish Krona", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SGD", - "description": "Singapore Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SHP", - "description": "Saint Helenian Pound", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SLL", - "description": "Sierra Leonean Leone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SOS", - "description": "Somali Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SRD", - "description": "Surinamese Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "STD", - "description": "São Tomé and Príncipe Dobra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SZL", - "description": "Swazi Lilangeni", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "THB", - "description": "Thai Baht", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TJS", - "description": "Tajikistani Somoni", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TOP", - "description": "Tongan Paʻanga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TRY", - "description": "Turkish Lira", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TTD", - "description": "Trinidad and Tobago Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TWD", - "description": "New Taiwan Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZS", - "description": "Tanzanian Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UAH", - "description": "Ukrainian Hryvnia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UGX", - "description": "Ugandan Shilling", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "USD", - "description": "United States Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UYU", - "description": "Uruguayan Peso", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UZS", - "description": "Uzbekistan Som", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VND", - "description": "Vietnamese Đồng", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VUV", - "description": "Vanuatu Vatu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "WST", - "description": "Samoan Tala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XAF", - "description": "Central African Cfa Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XCD", - "description": "East Caribbean Dollar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XOF", - "description": "West African Cfa Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "XPF", - "description": "Cfp Franc", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "YER", - "description": "Yemeni Rial", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZAR", - "description": "South African Rand", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ZMW", - "description": "Zambian Kwacha", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Customer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": "Number of active subscriptions per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "anrokCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "AnrokCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "applicableTimezone", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedAddOns", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AppliedAddOn", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedCoupons", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AppliedCoupon", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "OBJECT", - "name": "CustomerBillingConfiguration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canEditAttributes", - "description": "Check if customer attributes are editable", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesBalanceAmountCents", - "description": "Credit notes credits balance available per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesCreditsAvailableCount", - "description": "Number of available credits from credit notes per customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerType", - "description": null, - "type": { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deletedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "displayName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalSalesforceId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "finalizeZeroAmountInvoice", - "description": "Options for handling invoices with a zero total amount.", - "type": { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "firstname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasActiveWallet", - "description": "Define if a customer has an active wallet", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasCreditNotes", - "description": "Define if a customer has any credit note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "hasOverdueInvoices", - "description": "Define if a customer has overdue invoices", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoices", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lastname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "legalNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CustomerMetadata", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "netPaymentTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "netsuiteCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "NetsuiteCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentProvider", - "description": null, - "type": { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentProviderCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "phone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "ProviderCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "shippingAddress", - "description": null, - "type": { - "kind": "OBJECT", - "name": "CustomerAddress", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "slug", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptions", - "description": "Query subscriptions of a customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "status", - "description": "Statuses of subscriptions to retrieve", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "StatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "taxIdentificationNumber", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "xeroCustomer", - "description": null, - "type": { - "kind": "OBJECT", - "name": "XeroCustomer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerAddress", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addressLine1", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "addressLine2", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "city", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "country", - "description": null, - "type": { - "kind": "ENUM", - "name": "CountryCode", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "state", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "zipcode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerBillingConfiguration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "CustomerMetadata", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "displayInInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "CustomerTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "company", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "individual", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "INPUT_OBJECT", - "name": "DownloadCustomerPortalInvoiceInput", - "description": "Autogenerated input type of DownloadCustomerPortalInvoice", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ErrorCodesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "not_provided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax_error", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tax_voiding_error", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ErrorDetail", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "errorCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ErrorCodesEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Fee", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "InvoiceItem", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "adjustedFee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "adjustedFeeType", - "description": null, - "type": { - "kind": "ENUM", - "name": "AdjustedFeeTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountDetails", - "description": null, - "type": { - "kind": "OBJECT", - "name": "FeeAmountDetails", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "charge", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Charge", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeFilter", - "description": null, - "type": { - "kind": "OBJECT", - "name": "ChargeFilter", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "eventsCount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feeType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "FeeTypesEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "preciseUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscription", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "succeededAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trueUpFee", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trueUpParentFee", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetails", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "fixedFeeTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fixedFeeUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedPercentageRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedPercentageRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minMaxAdjustmentTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paidEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paidUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perPackageSize", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perPackageUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedPercentageRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalWithFlatAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAmountDetailsGraduatedRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitTotalAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalWithFlatAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "units", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FeeAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fee", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "FeeTypesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "add_on", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscription", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commitment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "FinalizeZeroAmountInvoiceEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "inherit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "skip", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalize", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollection", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollectionCollection", - "description": "FinalizedInvoiceCollectionCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated FinalizedInvoiceCollectionCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollection", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GraduatedPercentageRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "GraduatedRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ISO8601Date", - "description": "An ISO 8601-encoded date", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "description": "An ISO 8601-encoded datetime", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "netsuite", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "okta", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "anrok", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "xero", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "progressive_billing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hubspot", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Invoice", - "description": "Invoice", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "appliedTaxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargeAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "couponsAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreditNote", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditNotesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "creditableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "errorDetails", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ErrorDetail", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalIntegrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fileUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationSyncable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceSubscriptions", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceSubscription", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "issuingDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceMetadata", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "number", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDisputeLosable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDisputeLostAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentDueDate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentOverdue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "paymentStatus", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "prepaidCreditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "progressiveBillingCreditAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "refundableAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "sequentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalExcludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subTotalIncludingTaxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptions", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxProviderVoidable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxesRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "versionNumber", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "voidable", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InvoiceAppliedTax", - "description": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "AppliedTax", - "ofType": null - } - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedOnWholeInvoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "enumedTaxCode", - "description": null, - "type": { - "kind": "ENUM", - "name": "InvoiceAppliedTaxOnWholeInvoiceCodeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "feesAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "tax", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxDescription", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxRate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoiceAppliedTaxOnWholeInvoiceCodeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "not_collecting", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "juris_not_taxed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reverse_charge", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "customer_exempt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "transaction_exempt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "juris_has_no_tax", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unknown_taxation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InvoiceCollection", - "description": "InvoiceCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated InvoiceCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "INTERFACE", - "name": "InvoiceItem", - "description": "Invoice Item", - "interfaces": [ - - ], - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - ], - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemCode", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "itemType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "InvoiceMetadata", - "description": "Attributes for invoice metadata object", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "key", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "value", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoicePaymentStatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "succeeded", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "draft", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "finalized", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "voided", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "failed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "generating", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "open", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "InvoiceSubscription", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "chargeAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesFromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesToDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "inAdvanceChargesFromDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "inAdvanceChargesToDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoice", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscription", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toDatetime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "InvoiceTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "subscription", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "add_on", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "one_off", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "advance_charges", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "progressive_billing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "SCALAR", - "name": "JSON", - "description": "Represents untyped JSON", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "MappableTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "AddOn", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "BillableMetric", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Mapping", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalAccountCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mappableId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mappableType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MappableTypeEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "downloadCustomerPortalInvoice", - "description": "Download customer portal invoice PDF", - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "input", - "description": "Parameters for DownloadCustomerPortalInvoice", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DownloadCustomerPortalInvoiceInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "NetsuiteCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subsidiaryId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Organization", - "description": "Safe Organization Type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billingConfiguration", - "description": null, - "type": { - "kind": "OBJECT", - "name": "OrganizationBillingConfiguration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "defaultCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "timezone", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimezoneEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OrganizationBillingConfiguration", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "documentLocale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceFooter", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceGracePeriod", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OverdueBalance", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "currency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lagoInvoiceIds", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "month", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "OverdueBalanceCollection", - "description": "OverdueBalanceCollection type", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "collection", - "description": "A collection of paginated OverdueBalanceCollection", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OverdueBalance", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "metadata", - "description": "Pagination Metadata for navigating the Pagination", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CollectionMetadata", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Plan", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "activeSubscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "amountCurrency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CurrencyEnum", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "billChargesMonthly", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "charges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Charge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesCount", - "description": "Number of charges attached to a plan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers attached to a plan", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "draftInvoicesCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "interval", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "PlanInterval", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "invoiceDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "minimumCommitment", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Commitment", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "parent", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "payInAdvance", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionsCount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "taxes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Tax", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "trialPeriod", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "usageThresholds", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsageThreshold", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "PlanInterval", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "weekly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "monthly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "yearly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "quarterly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Properties", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customProperties", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fixedAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnits", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnitsPerEvents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "freeUnitsPerTotalAggregation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedPercentageRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GraduatedPercentageRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "graduatedRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GraduatedRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "groupedBy", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "packageSize", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perTransactionMaxAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perTransactionMinAmount", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "volumeRanges", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "VolumeRange", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "ProviderCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "providerPaymentMethods", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProviderPaymentMethodsEnum", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "ProviderPaymentMethodsEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "card", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sepa_debit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "us_bank_account", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "bacs_debit", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "ProviderTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "stripe", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gocardless", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "adyen", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "customerPortalInvoiceCollections", - "description": "Query invoice collections of a customer portal user", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FinalizedInvoiceCollectionCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "months", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expireCache", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customerPortalInvoices", - "description": "Query invoices of a customer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "InvoiceCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchTerm", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "InvoiceStatusTypeEnum", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customerPortalOrganization", - "description": "Query customer portal organization", - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customerPortalOverdueBalances", - "description": "Query overdue balances of a customer portal user", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OverdueBalanceCollection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "months", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expireCache", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "customerPortalUser", - "description": "Query a customer portal user", - "type": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "RegroupPaidFeesEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "invoice", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "ENUM", - "name": "StatusTypeEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "pending", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "terminated", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canceled", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "SCALAR", - "name": "String", - "description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Subscription", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "billingTime", - "description": null, - "type": { - "kind": "ENUM", - "name": "BillingTimeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "canceledAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customer", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Customer", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "endingAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "externalId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fees", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Fee", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "lifetimeUsage", - "description": null, - "type": { - "kind": "OBJECT", - "name": "SubscriptionLifetimeUsage", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextPendingStartDate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextPlan", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextSubscription", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Subscription", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "periodEndDate", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plan", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Plan", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "startedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "status", - "description": null, - "type": { - "kind": "ENUM", - "name": "StatusTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "terminatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "SubscriptionLifetimeUsage", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "lastThresholdAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextThresholdAmountCents", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "nextThresholdRatio", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageAmountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageFromDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "totalUsageToDatetime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "Tax", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "addOnsCount", - "description": "Number of add ons using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "appliedToOrganization", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "autoGenerated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "chargesCount", - "description": "Number of charges using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "code", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "customersCount", - "description": "Number of customers using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "organization", - "description": null, - "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "plansCount", - "description": "Number of plans using this tax", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "rate", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "TimezoneEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "TZ_AFRICA_ALGIERS", - "description": "Africa/Algiers", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_CAIRO", - "description": "Africa/Cairo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_CASABLANCA", - "description": "Africa/Casablanca", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_HARARE", - "description": "Africa/Harare", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_JOHANNESBURG", - "description": "Africa/Johannesburg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_MONROVIA", - "description": "Africa/Monrovia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AFRICA_NAIROBI", - "description": "Africa/Nairobi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_ARGENTINA_BUENOS_AIRES", - "description": "America/Argentina/Buenos_Aires", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_BOGOTA", - "description": "America/Bogota", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CARACAS", - "description": "America/Caracas", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CHICAGO", - "description": "America/Chicago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_CHIHUAHUA", - "description": "America/Chihuahua", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_DENVER", - "description": "America/Denver", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GODTHAB", - "description": "America/Godthab", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GUATEMALA", - "description": "America/Guatemala", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_GUYANA", - "description": "America/Guyana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_HALIFAX", - "description": "America/Halifax", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_INDIANA_INDIANAPOLIS", - "description": "America/Indiana/Indianapolis", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_JUNEAU", - "description": "America/Juneau", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LA_PAZ", - "description": "America/La_Paz", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LIMA", - "description": "America/Lima", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_LOS_ANGELES", - "description": "America/Los_Angeles", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MAZATLAN", - "description": "America/Mazatlan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MEXICO_CITY", - "description": "America/Mexico_City", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MONTERREY", - "description": "America/Monterrey", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_MONTEVIDEO", - "description": "America/Montevideo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_NEW_YORK", - "description": "America/New_York", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_PHOENIX", - "description": "America/Phoenix", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_PUERTO_RICO", - "description": "America/Puerto_Rico", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_REGINA", - "description": "America/Regina", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_SANTIAGO", - "description": "America/Santiago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_SAO_PAULO", - "description": "America/Sao_Paulo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_ST_JOHNS", - "description": "America/St_Johns", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AMERICA_TIJUANA", - "description": "America/Tijuana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_ALMATY", - "description": "Asia/Almaty", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BAGHDAD", - "description": "Asia/Baghdad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BAKU", - "description": "Asia/Baku", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_BANGKOK", - "description": "Asia/Bangkok", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_CHONGQING", - "description": "Asia/Chongqing", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_COLOMBO", - "description": "Asia/Colombo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_DHAKA", - "description": "Asia/Dhaka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_HONG_KONG", - "description": "Asia/Hong_Kong", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_IRKUTSK", - "description": "Asia/Irkutsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_JAKARTA", - "description": "Asia/Jakarta", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_JERUSALEM", - "description": "Asia/Jerusalem", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KABUL", - "description": "Asia/Kabul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KAMCHATKA", - "description": "Asia/Kamchatka", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KARACHI", - "description": "Asia/Karachi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KATHMANDU", - "description": "Asia/Kathmandu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KOLKATA", - "description": "Asia/Kolkata", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KRASNOYARSK", - "description": "Asia/Krasnoyarsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KUALA_LUMPUR", - "description": "Asia/Kuala_Lumpur", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_KUWAIT", - "description": "Asia/Kuwait", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_MAGADAN", - "description": "Asia/Magadan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_MUSCAT", - "description": "Asia/Muscat", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_NOVOSIBIRSK", - "description": "Asia/Novosibirsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_RANGOON", - "description": "Asia/Rangoon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_RIYADH", - "description": "Asia/Riyadh", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SEOUL", - "description": "Asia/Seoul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SHANGHAI", - "description": "Asia/Shanghai", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SINGAPORE", - "description": "Asia/Singapore", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_SREDNEKOLYMSK", - "description": "Asia/Srednekolymsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TAIPEI", - "description": "Asia/Taipei", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TASHKENT", - "description": "Asia/Tashkent", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TBILISI", - "description": "Asia/Tbilisi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TEHRAN", - "description": "Asia/Tehran", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_TOKYO", - "description": "Asia/Tokyo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_ULAANBAATAR", - "description": "Asia/Ulaanbaatar", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_URUMQI", - "description": "Asia/Urumqi", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_VLADIVOSTOK", - "description": "Asia/Vladivostok", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YAKUTSK", - "description": "Asia/Yakutsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YEKATERINBURG", - "description": "Asia/Yekaterinburg", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ASIA_YEREVAN", - "description": "Asia/Yerevan", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_AZORES", - "description": "Atlantic/Azores", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_CAPE_VERDE", - "description": "Atlantic/Cape_Verde", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ATLANTIC_SOUTH_GEORGIA", - "description": "Atlantic/South_Georgia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_ADELAIDE", - "description": "Australia/Adelaide", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_BRISBANE", - "description": "Australia/Brisbane", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_CANBERRA", - "description": "Australia/Canberra", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_DARWIN", - "description": "Australia/Darwin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_HOBART", - "description": "Australia/Hobart", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_MELBOURNE", - "description": "Australia/Melbourne", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_PERTH", - "description": "Australia/Perth", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_AUSTRALIA_SYDNEY", - "description": "Australia/Sydney", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_ETC_GMT_12", - "description": "Etc/GMT+12", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_UTC", - "description": "UTC", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_AMSTERDAM", - "description": "Europe/Amsterdam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ATHENS", - "description": "Europe/Athens", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BELGRADE", - "description": "Europe/Belgrade", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BERLIN", - "description": "Europe/Berlin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BRATISLAVA", - "description": "Europe/Bratislava", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BRUSSELS", - "description": "Europe/Brussels", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BUCHAREST", - "description": "Europe/Bucharest", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_BUDAPEST", - "description": "Europe/Budapest", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_COPENHAGEN", - "description": "Europe/Copenhagen", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_DUBLIN", - "description": "Europe/Dublin", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_HELSINKI", - "description": "Europe/Helsinki", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ISTANBUL", - "description": "Europe/Istanbul", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_KALININGRAD", - "description": "Europe/Kaliningrad", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_KIEV", - "description": "Europe/Kiev", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LISBON", - "description": "Europe/Lisbon", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LJUBLJANA", - "description": "Europe/Ljubljana", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_LONDON", - "description": "Europe/London", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MADRID", - "description": "Europe/Madrid", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MINSK", - "description": "Europe/Minsk", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_MOSCOW", - "description": "Europe/Moscow", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_PARIS", - "description": "Europe/Paris", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_PRAGUE", - "description": "Europe/Prague", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_RIGA", - "description": "Europe/Riga", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ROME", - "description": "Europe/Rome", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SAMARA", - "description": "Europe/Samara", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SARAJEVO", - "description": "Europe/Sarajevo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SKOPJE", - "description": "Europe/Skopje", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_SOFIA", - "description": "Europe/Sofia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_STOCKHOLM", - "description": "Europe/Stockholm", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_TALLINN", - "description": "Europe/Tallinn", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VIENNA", - "description": "Europe/Vienna", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VILNIUS", - "description": "Europe/Vilnius", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_VOLGOGRAD", - "description": "Europe/Volgograd", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_WARSAW", - "description": "Europe/Warsaw", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ZAGREB", - "description": "Europe/Zagreb", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_EUROPE_ZURICH", - "description": "Europe/Zurich", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_APIA", - "description": "Pacific/Apia", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_AUCKLAND", - "description": "Pacific/Auckland", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_CHATHAM", - "description": "Pacific/Chatham", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_FAKAOFO", - "description": "Pacific/Fakaofo", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_FIJI", - "description": "Pacific/Fiji", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_GUADALCANAL", - "description": "Pacific/Guadalcanal", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_GUAM", - "description": "Pacific/Guam", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_HONOLULU", - "description": "Pacific/Honolulu", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_MAJURO", - "description": "Pacific/Majuro", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_MIDWAY", - "description": "Pacific/Midway", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_NOUMEA", - "description": "Pacific/Noumea", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_PAGO_PAGO", - "description": "Pacific/Pago_Pago", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_PORT_MORESBY", - "description": "Pacific/Port_Moresby", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "TZ_PACIFIC_TONGATAPU", - "description": "Pacific/Tongatapu", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "UsageThreshold", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "amountCents", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "recurring", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "thresholdDisplayName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "VolumeRange", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "flatAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "fromValue", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "perUnitAmount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "toValue", - "description": null, - "type": { - "kind": "SCALAR", - "name": "BigInt", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "WeightedIntervalEnum", - "description": null, - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "seconds", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "XeroCustomer", - "description": null, - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "externalCustomerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationCode", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "ENUM", - "name": "IntegrationTypeEnum", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "syncWithProvider", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "args", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isRepeatable", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "locations", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "onField", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - }, - { - "name": "onFragment", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - }, - { - "name": "onOperation", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": true, - "deprecationReason": "Use `locations`.", - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "args", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "deprecationReason", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isDeprecated", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "types", - "description": "A list of all types supported by this server.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "interfaces": [ - - ], - "possibleTypes": null, - "fields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "enumValues", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "fields", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "inputFields", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "interfaces", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "isOneOf", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "kind", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "ofType", - "description": null, - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "possibleTypes", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - }, - { - "name": "specifiedByURL", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null, - "args": [ - - ] - } - ], - "inputFields": null, - "enumValues": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "interfaces": null, - "possibleTypes": null, - "fields": null, - "inputFields": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ], - "directives": [ - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE", - "ARGUMENT_DEFINITION", - "INPUT_FIELD_DEFINITION" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "oneOf", - "description": "Requires that exactly one field must be supplied and that field must not be `null`.", - "locations": [ - "INPUT_OBJECT" - ], - "args": [ - - ] - }, - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - }, - { - "name": "specifiedBy", - "description": "Exposes a URL that specifies the behavior of this scalar.", - "locations": [ - "SCALAR" - ], - "args": [ - { - "name": "url", - "description": "The URL that specifies the behavior of this scalar.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ] - } - ] - } - } -} diff --git a/spec/graphql/concerns/authenticable_api_user_spec.rb b/spec/graphql/concerns/authenticable_api_user_spec.rb index 9cae775e535..384879b7e14 100644 --- a/spec/graphql/concerns/authenticable_api_user_spec.rb +++ b/spec/graphql/concerns/authenticable_api_user_spec.rb @@ -24,7 +24,7 @@ class ThingsMutationType < Types::BaseObject field :renameThing, mutation: RenameThingMutation end - class TestApiSchema < Schemas::ApiSchema + class TestApiSchema < LagoApiSchema mutation(ThingsMutationType) end end diff --git a/spec/graphql/concerns/authenticable_customer_portal_user_spec.rb b/spec/graphql/concerns/authenticable_customer_portal_user_spec.rb index 769e399e37a..8a9e9a95011 100644 --- a/spec/graphql/concerns/authenticable_customer_portal_user_spec.rb +++ b/spec/graphql/concerns/authenticable_customer_portal_user_spec.rb @@ -21,7 +21,7 @@ class ThingsQueryType < Types::BaseObject field :thing, resolver: ThingResolver end - class TestApiSchema < Schemas::CustomerPortalSchema + class TestApiSchema < LagoApiSchema query(ThingsQueryType) end end diff --git a/spec/graphql/concerns/can_require_permissions_spec.rb b/spec/graphql/concerns/can_require_permissions_spec.rb index 262cd2678d9..c8650f19d39 100644 --- a/spec/graphql/concerns/can_require_permissions_spec.rb +++ b/spec/graphql/concerns/can_require_permissions_spec.rb @@ -26,7 +26,7 @@ class ThingsMutationType < Types::BaseObject field :renameThing, mutation: RenameThingMutation end - class TestApiSchema < Schemas::ApiSchema + class TestApiSchema < LagoApiSchema mutation(ThingsMutationType) end end diff --git a/spec/graphql/concerns/required_organization_spec.rb b/spec/graphql/concerns/required_organization_spec.rb index 95b8619a378..650f64bb8b2 100644 --- a/spec/graphql/concerns/required_organization_spec.rb +++ b/spec/graphql/concerns/required_organization_spec.rb @@ -24,7 +24,7 @@ class ThingsMutationType < Types::BaseObject field :renameThing, mutation: RenameThingMutation end - class TestApiSchema < Schemas::ApiSchema + class TestApiSchema < LagoApiSchema mutation(ThingsMutationType) end end diff --git a/spec/graphql/mutations/customer_portal/download_invoice_spec.rb b/spec/graphql/mutations/customer_portal/download_invoice_spec.rb index eada235fd87..ba4e79f494d 100644 --- a/spec/graphql/mutations/customer_portal/download_invoice_spec.rb +++ b/spec/graphql/mutations/customer_portal/download_invoice_spec.rb @@ -39,7 +39,7 @@ it 'generates the PDF for the given invoice' do freeze_time do - result = execute_customer_portal_graphql( + result = execute_graphql( customer_portal_user: customer, query: mutation, variables: { @@ -57,7 +57,7 @@ context 'without customer portal user' do it 'returns an error' do - result = execute_customer_portal_graphql( + result = execute_graphql( query: mutation, variables: { input: {id: invoice.id} diff --git a/spec/graphql/resolvers/customer_portal/analytics/invoice_collections_resolver_spec.rb b/spec/graphql/resolvers/customer_portal/analytics/invoice_collections_resolver_spec.rb index bd06533f99a..ae46b926eea 100644 --- a/spec/graphql/resolvers/customer_portal/analytics/invoice_collections_resolver_spec.rb +++ b/spec/graphql/resolvers/customer_portal/analytics/invoice_collections_resolver_spec.rb @@ -29,7 +29,7 @@ create(:invoice, organization:, customer:, total_amount_cents: 1000, currency: "USD") create(:invoice, organization:, customer:, total_amount_cents: 2000, currency: "USD") - result = execute_customer_portal_graphql(customer_portal_user: customer, query:) + result = execute_graphql(customer_portal_user: customer, query:) invoice_collections_response = result["data"]["customerPortalInvoiceCollections"] expect(invoice_collections_response["collection"]).to contain_exactly( diff --git a/spec/graphql/resolvers/customer_portal/analytics/overdue_balances_resolver_spec.rb b/spec/graphql/resolvers/customer_portal/analytics/overdue_balances_resolver_spec.rb index 57a9eed83b4..0276b4de607 100644 --- a/spec/graphql/resolvers/customer_portal/analytics/overdue_balances_resolver_spec.rb +++ b/spec/graphql/resolvers/customer_portal/analytics/overdue_balances_resolver_spec.rb @@ -30,7 +30,7 @@ i1 = create(:invoice, organization:, customer:, total_amount_cents: 2000, currency: "USD", payment_overdue: true) i2 = create(:invoice, organization:, customer:, total_amount_cents: 2000, currency: "USD", payment_overdue: true) - result = execute_customer_portal_graphql(customer_portal_user: customer, query:) + result = execute_graphql(customer_portal_user: customer, query:) overdue_balances_response = result["data"]["customerPortalOverdueBalances"] expect(overdue_balances_response["collection"]).to contain_exactly( diff --git a/spec/graphql/resolvers/customer_portal/customer_resolver_spec.rb b/spec/graphql/resolvers/customer_portal/customer_resolver_spec.rb index 3403fe68381..5f33b870ea8 100644 --- a/spec/graphql/resolvers/customer_portal/customer_resolver_spec.rb +++ b/spec/graphql/resolvers/customer_portal/customer_resolver_spec.rb @@ -24,7 +24,7 @@ it_behaves_like 'requires a customer portal user' it 'returns a single customer' do - result = execute_customer_portal_graphql( + result = execute_graphql( customer_portal_user: customer, query: ) @@ -40,7 +40,7 @@ context 'without customer portal user' do it 'returns an error' do - result = execute_customer_portal_graphql( + result = execute_graphql( query: ) diff --git a/spec/graphql/resolvers/customer_portal/invoices_resolver_spec.rb b/spec/graphql/resolvers/customer_portal/invoices_resolver_spec.rb index b3c7bfc4eb2..4b0153d00cc 100644 --- a/spec/graphql/resolvers/customer_portal/invoices_resolver_spec.rb +++ b/spec/graphql/resolvers/customer_portal/invoices_resolver_spec.rb @@ -28,7 +28,7 @@ it_behaves_like 'requires a customer portal user' it 'returns a list of invoices' do - result = execute_customer_portal_graphql( + result = execute_graphql( customer_portal_user: customer, query: ) @@ -56,7 +56,7 @@ end it 'only returns draft invoice' do - result = execute_customer_portal_graphql( + result = execute_graphql( customer_portal_user: customer, query:, variables: {status: ['draft']} @@ -74,7 +74,7 @@ context 'without customer portal user' do it 'returns an error' do - result = execute_customer_portal_graphql( + result = execute_graphql( query: ) diff --git a/spec/graphql/resolvers/customer_portal/organization_resolver_spec.rb b/spec/graphql/resolvers/customer_portal/organization_resolver_spec.rb index ac6852c182e..8bc567da811 100644 --- a/spec/graphql/resolvers/customer_portal/organization_resolver_spec.rb +++ b/spec/graphql/resolvers/customer_portal/organization_resolver_spec.rb @@ -25,7 +25,7 @@ it_behaves_like 'requires a customer portal user' it 'returns the customer portal organization' do - result = execute_customer_portal_graphql( + result = execute_graphql( customer_portal_user: customer, query: ) diff --git a/spec/graphql/schemas/api_schema_spec.rb b/spec/graphql/schemas/api_schema_spec.rb deleted file mode 100644 index ae7f2d1640a..00000000000 --- a/spec/graphql/schemas/api_schema_spec.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -require 'rails_helper' - -RSpec.describe Schemas::ApiSchema do - it 'matches the dumped schema' do - aggregate_failures do - expect(described_class.to_definition.rstrip).to eq(File.read(Rails.root.join('graphql_schemas/api.graphql')).rstrip) - expect(described_class.to_json.rstrip).to eq(File.read(Rails.root.join('graphql_schemas/api.json')).rstrip) - end - end -end diff --git a/spec/graphql/schemas/customer_portal_schema_spec.rb b/spec/graphql/schemas/customer_portal_schema_spec.rb deleted file mode 100644 index ba6cfb35239..00000000000 --- a/spec/graphql/schemas/customer_portal_schema_spec.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -require "rails_helper" - -RSpec.describe Schemas::CustomerPortalSchema do - it "matches the dumped schema" do - aggregate_failures do - expect(described_class.to_definition.rstrip).to eq(File.read(Rails.root.join("graphql_schemas/customer_portal.graphql")).rstrip) - expect(described_class.to_json.rstrip).to eq(File.read(Rails.root.join("graphql_schemas/customer_portal.json")).rstrip) - end - end -end diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index bc78e46a56f..1d48c4fc922 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -53,8 +53,7 @@ def pp(*args) RSpec.configure do |config| config.include FactoryBot::Syntax::Methods - config.include Graphql::AuthenticatedHelper, type: :graphql - config.include Graphql::CustomerPortalHelper, type: :graphql + config.include GraphQLHelper, type: :graphql config.include AdminHelper, type: :request config.include ApiHelper, type: :request config.include ScenariosHelper diff --git a/spec/requests/graphql/api_controller_spec.rb b/spec/requests/graphql/api_controller_spec.rb deleted file mode 100644 index 4786799fc5b..00000000000 --- a/spec/requests/graphql/api_controller_spec.rb +++ /dev/null @@ -1,128 +0,0 @@ -# frozen_string_literal: true - -require "rails_helper" - -RSpec.describe Graphql::ApiController, type: :request do - describe "POST /api_graphql" do - let(:membership) { create(:membership) } - let(:user) { membership.user } - let(:mutation) do - <<~GQL - mutation($input: LoginUserInput!) { - loginUser(input: $input) { - token - user { - id - organizations { id name } - } - } - } - GQL - end - - it "returns GraphQL response" do - post "/api/graphql", - params: { - query: mutation, - variables: { - input: { - email: user.email, - password: "ILoveLago" - } - } - } - - expect(response.status).to be(200) - expect(CurrentContext.source).to eq "graphql" - - json = JSON.parse(response.body) - expect(json["data"]["loginUser"]["token"]).to be_present - expect(json["data"]["loginUser"]["user"]["id"]).to eq(user.id) - expect(json["data"]["loginUser"]["user"]["organizations"].first["id"]).to eq(membership.organization_id) - end - - context "with JWT token" do - let(:token) do - UsersService.new.new_token(user).token - end - let(:expired_token) do - JWT.encode( - { - sub: user.id, - exp: Time.now.to_i - }, - ENV["SECRET_KEY_BASE"], - "HS256" - ) - end - - it "retrieves the current user and refreshes the token" do - post "/api/graphql", - headers: { - "Authorization" => "Bearer #{token}" - }, - params: { - query: mutation, - variables: { - input: { - email: user.email, - password: "ILoveLago" - } - } - } - - expect(response.status).to be(200) - expect(response.headers["x-lago-token"]).to be_present - end - - it "retrieves the current organization" do - post "/api/graphql", - headers: { - "Authorization" => "Bearer #{token}", - "x-lago-organization" => membership.organization - }, - params: { - query: mutation, - variables: { - input: { - email: user.email, - password: "ILoveLago" - } - } - } - - expect(response.status).to be(200) - expect(response.headers["x-lago-token"]).to be_present - end - - it "handles the token expiration" do - expired_token - sleep 1 # Ensure token is expired - - post( - "/api/graphql", - headers: { - "Authorization" => "Bearer #{expired_token}" - }, - params: { - query: mutation, - variables: { - input: { - email: user.email, - password: "ILoveLago" - } - } - } - ) - - expect(response.status).to be(200) - - json = JSON.parse(response.body) - expect(json["errors"]).to be_present - expect(json["errors"].first["message"]).to eq("expired_jwt_token") - expect(json["errors"].first["extensions"]["code"]).to eq("expired_jwt_token") - expect(json["errors"].first["extensions"]["status"]).to eq(401) - end - end - end -end diff --git a/spec/requests/graphql/customer_portal_controller_spec.rb b/spec/requests/graphql/customer_portal_controller_spec.rb deleted file mode 100644 index 11bb1523554..00000000000 --- a/spec/requests/graphql/customer_portal_controller_spec.rb +++ /dev/null @@ -1,34 +0,0 @@ -# frozen_string_literal: true - -require "rails_helper" - -RSpec.describe Graphql::CustomerPortalController, type: :request do - let(:customer) { create(:customer) } - let(:query) do - <<~GQL - query { - customerPortalInvoices(limit: 5) { - collection { id } - metadata { currentPage, totalCount } - } - } - GQL - end - let(:token) do - ActiveSupport::MessageVerifier.new(ENV["SECRET_KEY_BASE"]).generate(customer.id, expires_in: 12.hours) - end - - it "retrieves the correct end user and returns success status code" do - post( - "/customer_portal/graphql", - headers: { - "customer-portal-token" => token - }, - params: { - query: - } - ) - - expect(response.status).to be(200) - end -end diff --git a/spec/support/graphql/api_helper.rb b/spec/support/graphql/api_helper.rb deleted file mode 100644 index c693504a5b2..00000000000 --- a/spec/support/graphql/api_helper.rb +++ /dev/null @@ -1,67 +0,0 @@ -# frozen_string_literal: true - -module Graphql - module AuthenticatedHelper - def controller - @controller ||= Graphql::AuthenticatedController.new.tap do |ctrl| - ctrl.set_request! ActionDispatch::Request.new({}) - end - end - - def execute_graphql(current_user: nil, query: nil, current_organization: nil, request: nil, permissions: nil, **kwargs) # rubocop:disable Metrics/ParameterLists - unless permissions.is_a?(Hash) - # we allow passing a single permission string or an array for convenience - permissions = Array.wrap(permissions).index_with { true } - end - - permissions.keys.each do |permission| - next if Permission::DEFAULT_PERMISSIONS_HASH.key?(permission) - - raise "Unknown permission: #{permission}" - end - - args = kwargs.merge( - context: { - controller:, - current_user:, - current_organization:, - request:, - permissions: - } - ) - - Schemas::ApiSchema.execute( - query, - **args - ) - end - - def expect_graphql_error(result:, message:) - symbolized_result = result.to_h.deep_symbolize_keys - - expect(symbolized_result[:errors]).not_to be_empty - - error = symbolized_result[:errors].find do |e| - e[:message].to_s == message.to_s || e[:extensions][:code].to_s == message.to_s - end - - expect(error).to be_present, "error message for #{message} is not present" - end - - def expect_unauthorized_error(result) - expect_graphql_error(result:, message: :unauthorized) - end - - def expect_forbidden_error(result) - expect_graphql_error(result:, message: :forbidden) - end - - def expect_unprocessable_entity(result) - expect_graphql_error(result:, message: :unprocessable_entity) - end - - def expect_not_found(result) - expect_graphql_error(result:, message: :not_found) - end - end -end diff --git a/spec/support/graphql/customer_portal_helper.rb b/spec/support/graphql/customer_portal_helper.rb deleted file mode 100644 index 1c294b658c4..00000000000 --- a/spec/support/graphql/customer_portal_helper.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -module Graphql - module CustomerPortalHelper - def controller - @controller ||= Graphql::CustomerPortalController.new.tap do |ctrl| - ctrl.set_request! ActionDispatch::Request.new({}) - end - end - - def execute_customer_portal_graphql(query: nil, customer_portal_user: nil, request: nil, **kwargs) # rubocop:disable Metrics/ParameterLists - args = kwargs.merge( - context: { - controller:, - customer_portal_user:, - request: - } - ) - - Schemas::CustomerPortalSchema.execute(query, **args) - end - - def expect_graphql_error(result:, message:) - symbolized_result = result.to_h.deep_symbolize_keys - - expect(symbolized_result[:errors]).not_to be_empty - - error = symbolized_result[:errors].find do |e| - e[:message].to_s == message.to_s || e[:extensions][:code].to_s == message.to_s - end - - expect(error).to be_present, "error message for #{message} is not present" - end - - def expect_unauthorized_error(result) - expect_graphql_error(result:, message: :unauthorized) - end - - def expect_forbidden_error(result) - expect_graphql_error(result:, message: :forbidden) - end - - def expect_unprocessable_entity(result) - expect_graphql_error(result:, message: :unprocessable_entity) - end - - def expect_not_found(result) - expect_graphql_error(result:, message: :not_found) - end - end -end diff --git a/spec/support/graphql_helper.rb b/spec/support/graphql_helper.rb new file mode 100644 index 00000000000..e6ed7b0e6dc --- /dev/null +++ b/spec/support/graphql_helper.rb @@ -0,0 +1,78 @@ +# frozen_string_literal: true + +module GraphQLHelper + def controller + @controller ||= GraphqlController.new.tap do |ctrl| + ctrl.set_request! ActionDispatch::Request.new({}) + end + end + + def execute_graphql(current_user: nil, query: nil, current_organization: nil, customer_portal_user: nil, request: nil, permissions: nil, **kwargs) # rubocop:disable Metrics/ParameterLists + unless permissions.is_a?(Hash) + # we allow passing a single permission string or an array for convenience + permissions = Array.wrap(permissions).index_with { true } + end + + permissions.keys.each do |permission| + next if Permission::DEFAULT_PERMISSIONS_HASH.key?(permission) + + raise "Unknown permission: #{permission}" + end + + args = kwargs.merge( + context: { + controller:, + current_user:, + current_organization:, + customer_portal_user:, + request:, + permissions: + } + ) + + LagoApiSchema.execute( + query, + **args + ) + end + + def expect_graphql_error(result:, message:) + symbolized_result = result.to_h.deep_symbolize_keys + + expect(symbolized_result[:errors]).not_to be_empty + + error = symbolized_result[:errors].find do |e| + e[:message].to_s == message.to_s || e[:extensions][:code].to_s == message.to_s + end + + expect(error).to be_present, "error message for #{message} is not present" + end + + def expect_unauthorized_error(result) + expect_graphql_error( + result:, + message: :unauthorized + ) + end + + def expect_forbidden_error(result) + expect_graphql_error( + result:, + message: :forbidden + ) + end + + def expect_unprocessable_entity(result) + expect_graphql_error( + result:, + message: :unprocessable_entity + ) + end + + def expect_not_found(result) + expect_graphql_error( + result:, + message: :not_found + ) + end +end