INPUT_OBJECT

UpdateVoiceServiceMutationInput

The input object that defines the fields for the updateVoiceService mutation.

link GraphQL Schema definition

  • input UpdateVoiceServiceMutationInput {
  • # Whether or not this is enabled.
  • enabled: Boolean
  • # A descriptive name.
  • name: String
  • # How this is applied.
  • application: ServiceApplication
  • # The amount, in the smallest currency value (e.g. cents, pence, pesos.)
  • amount: Int
  • # The ID of the company that this entity operates under.
  • company_id: Int64Bit
  • # The ID of a GeneralLedgerCode.
  • general_ledger_code_id: Int64Bit
  • # How often this service bills, in months.
  • billing_frequency: Int
  • # The taxes applied when this service creates a transaction.
  • taxes: [ServiceTaxMutationInput]
  • # Whether this service provides unlimited local minutes.
  • unlimited_local_minutes: Boolean
  • # The quantity of free local minutes provided, if `unlimited_local_minutes` is
  • # false.
  • local_minutes: Int
  • # The cost per minute for local calls.
  • cost_per_minute_for_local_calls: Int
  • # Whether this service provides unlimited long distance minutes.
  • unlimited_long_distance_minutes: Boolean
  • # The quantity of free long distance minutes provided, if
  • # `unlimited_long_distance_minutes` is false.
  • long_distance_minutes: Int
  • # The cost per minute for long distance calls.
  • cost_per_minute_for_long_distance_calls: Int
  • # If a customer has a toll free number, this is the rate charged to them for
  • # inbound calls.
  • inbound_toll_free_rate_per_minute: Int
  • # This is the minimum amount of time the customer will be charged for a call.
  • first_interval_in_seconds: Int
  • # After the `first_interval_in_seconds` time is exceeded, this is the minimum
  • # amount of subsequent time. For example, if `first_interval_in_seconds` is 30,
  • # and `sub_interval_in_seconds` is 6, then a 31 second call would be charged at 36
  • # seconds, and a 37 second call would be charged at 42 seconds.
  • sub_interval_in_seconds: Int
  • # Which prefixes should be treated as local for this voice service.
  • local_prefixes: [Numeric]
  • # A list of account group IDs that this account is part of.
  • account_group_ids: [Int64Bit]
  • # A note about this entity.
  • note: NoteMutationInput
  • # Setting this value to `true` will set `general_ledger_code_id` to null.
  • unset_general_ledger_code_id: Boolean
  • # Setting this value to `true` will set `company_id` to null.
  • unset_company_id: Boolean
  • }

link Require by