INPUT_OBJECT

CreateVoiceServiceMutationInput

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

link GraphQL Schema definition

  • input CreateVoiceServiceMutationInput {
  • # The ID of the entity.
  • id: Int64Bit
  • # The sub type of this voice service.
  • sub_type: VoiceServiceDetailSubType!
  • # 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, in thousandths of the smallest currency
  • # value (e.g. cents, pence, pesos.).
  • cost_per_minute_local_in_thousandths: 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, in thousandths of the smallest
  • # currency value (e.g. cents, pence, pesos.).
  • cost_per_minute_long_distance_in_thousandths: Int
  • # If a customer has a toll free number, this is the rate charged to them for
  • # inbound calls, in thousandths of the smallest currency value (e.g. cents, pence,
  • # pesos.).
  • inbound_toll_free_rate_per_minute_in_thousandths: 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!
  • # A two character country code.
  • country: Country!
  • # Which prefixes should be treated as local for this voice service.
  • local_prefixes: [Numeric]
  • # The ID of a tax definition on a transaction.
  • tax_definition_id: Int64Bit
  • # The ID of a tax definition on a reversed transaction.
  • reverse_tax_definition_id: Int64Bit
  • # A list of account group IDs that this account is part of.
  • account_group_ids: [Int64Bit]
  • # Attributes specific to a voice service that establish baseline prices of each.
  • voice_service_generic_parameters: [VoiceServiceGenericParameterMutationInput]!
  • # If the amount for this service is zero, it will still display on invoices.
  • display_if_zero: Boolean
  • # Indicates if Call Detail Records (CDRs) for this service should be displayed on
  • # an invoice.
  • show_call_detail_records_on_invoice: Boolean
  • # Hide parameters of this service on customer invoices/statements and in the
  • # customer portal.
  • rollup_generic_parameters: Boolean
  • # A note about this entity.
  • note: NoteMutationInput
  • }

link Require by