Gaiia.Mutations (Gaiia v0.2.0)

Copy Markdown View Source

Auto-generated functions for every mutation operation in the Gaiia GraphQL API.

Signature, semantics, and return-value handling are identical to Gaiia.Queries — see that module for details.

Summary

Functions

Archive (soft-delete) an existing schedule template.

Archive (soft-delete) an existing technician team.

Assign secondary technicians to a work order which is already assigned to a primary technician.

Convert an internal ticket to external by adding public information.

Create a new contract. This mutation should be used in combination with createContractUploadUrl. See the Files section of the documentation for more information.

Create a new draft custom object record. Required fields are not enforced until publish.

Create a new document. This mutation should be used in combination with createDocumentUploadUrl. See the Files section of the documentation for more information.

Create an external ticket from a ticket template, optionally overriding any of the template's defaults.

Create an internal ticket from a ticket template, optionally overriding any of the template's defaults.

Generate an invoice on an account. All uninvoiced transactions will be included.

Create a payment method for a billable entity. The payment method can be used for payments and optionally for automatic payments.

Create a ticket comment attachment upload URL. This mutation should be used in combination with createTicketCommentAttachments. See the Files section of the documentation for more information.

Create ticket comment attachments. This mutation should be used after uploading files using URLs from createTicketCommentAttachmentUploadUrl. See the Files section of the documentation for more information.

Delete a payment method. The payment method will be archived (soft delete) in the billing system, and removal from the payment processor will be attempted. The payment method record remains in the database, marked as archived, and will not appear in queries.

Merge a child ticket into a parent ticket. The child ticket will be closed and archived.

Publish a draft custom object record, promoting it to a real record. Enforces all required fields and uniqueness constraints.

Restrict a payment method type for a billable entity. No new payment methods of that type can be created. For ACCOUNT scope, existing payment methods of that type are also archived; for BILLING_SETTINGS scope existing payment methods are left in place but can no longer be used for payments.

Send a communication to an entity using a template.

Start an asynchronous job to check available products at a given location. Requires a gaiia publishable key in the request headers.

Send a work order to the auto-assign queue for async processing.

Toggle auto payment on a payment method. Enabling auto payment on a payment method will disable it on all other payment methods for the same account.

Unrestrict a payment method type for a billable entity. For ACCOUNT scope the failure counter is reset to zero. Previously archived payment methods remain archived — the customer must create new ones.

Update the default appointment configuration for the current tenant.

Update an inventory item. Only provided fields are updated; omitted fields are left unchanged.

Updates the status of up to 250 work orders in bulk. Returns the updated work orders and any per-work-order errors (partial success).

Write off invoices by creating credit notes for the remaining amounts.

Functions

add_customer_owned_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_customer_owned_item(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign an inventory item.

GraphQL: mutation { addCustomerOwnedItem }

Arguments

  • inputAddCustomerOwnedItemInput! — The input required to add a customer owned item.

add_impacted_accounts_to_incident(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_impacted_accounts_to_incident(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add impacted accounts to an incident.

GraphQL: mutation { addImpactedAccountsToIncident }

Arguments

  • inputAddImpactedAccountsToIncidentInput! — The input required to add impacted accounts to an incident.

add_impacted_accounts_to_incident_from_geofence(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_impacted_accounts_to_incident_from_geofence(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add impacted accounts to an incident from a geofence.

GraphQL: mutation { addImpactedAccountsToIncidentFromGeofence }

Arguments

  • inputAddImpactedAccountsToIncidentFromGeofenceInput! — The input required to add impacted accounts to an incident from a geofence.

add_impacted_accounts_to_incident_from_network_sites(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_impacted_accounts_to_incident_from_network_sites(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) :: {:ok, term()} | {:error, Gaiia.Error.t()}

Add impacted accounts to an incident from network sites.

GraphQL: mutation { addImpactedAccountsToIncidentFromNetworkSites }

Arguments

  • inputAddImpactedAccountsToIncidentFromNetworkSitesInput! — The input required to add impacted accounts to an incident from network sites.

add_impacted_accounts_to_incident_from_properties(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_impacted_accounts_to_incident_from_properties(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add impacted accounts to an incident from properties.

GraphQL: mutation { addImpactedAccountsToIncidentFromProperties }

Arguments

  • inputAddImpactedAccountsToIncidentFromPropertiesInput! — The input required to add impacted accounts to an incident from properties.

add_inventory_item_linked_devices(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_inventory_item_linked_devices(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add new linked devices to an inventory item.

GraphQL: mutation { addInventoryItemLinkedDevices }

Arguments

  • inputAddInventoryItemLinkedDevicesInput! — The addInventoryItemLinkedDevices mutation's input.

add_ip_block_to_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_ip_block_to_inventory_item(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add an IP block to an inventory item.

GraphQL: mutation { addIpBlockToInventoryItem }

Arguments

  • inputAddIpBlockToInventoryItemInput! — The addIpBlockToInventoryItem mutation's input.

add_ip_blocks_to_network_site(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_ip_blocks_to_network_site(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add IP blocks to a network site.

GraphQL: mutation { addIpBlocksToNetworkSite }

Arguments

  • inputAddIpBlocksToNetworkSiteInput! — The addIpBlocksToNetworkSite mutation's input.

add_procedure_to_incident(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec add_procedure_to_incident(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Add a given procedure to an incident.

GraphQL: mutation { addProcedureToIncident }

Arguments

  • inputAddProcedureToIncidentInput! — The input required to add a procedure to an incident.

archive_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive an address.

GraphQL: mutation { archiveAddress }

Arguments

  • addressIdGlobalID! — The address's unique ID.

archive_bundle(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_bundle(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a bundle.

GraphQL: mutation { archiveBundle }

Arguments

  • inputArchiveBundleInput! — The archiveBundle mutation's input.

archive_coverage_areas(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_coverage_areas(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive multiple coverage areas.

GraphQL: mutation { archiveCoverageAreas }

Arguments

  • coverageAreaIds[GlobalID!]! — The coverage areas' unique IDs.

archive_custom_object(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_custom_object(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a custom object definition.

GraphQL: mutation { archiveCustomObject }

Arguments

  • idGlobalID! — The definition's unique identifier.

archive_custom_object_field(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_custom_object_field(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a custom object field definition.

GraphQL: mutation { archiveCustomObjectField }

Arguments

  • idGlobalID! — The field definition's unique identifier.

archive_custom_object_record(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_custom_object_record(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a custom object record.

GraphQL: mutation { archiveCustomObjectRecord }

Arguments

  • idGlobalID! — The record's unique identifier.

archive_inventory_roles(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_inventory_roles(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive existing inventory roles.

GraphQL: mutation { archiveInventoryRoles }

Arguments

  • inputArchiveInventoryRolesInput! — The archiveInventoryRoles mutation's input.

archive_network_sites(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_network_sites(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive one or more network sites.

GraphQL: mutation { archiveNetworkSites }

Arguments

  • ids[GlobalID!]! — The network sites unique identifiers.

archive_property(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_property(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a property.

GraphQL: mutation { archiveProperty }

Arguments

  • idGlobalID! — The property's unique ID.

archive_schedule_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_schedule_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive (soft-delete) an existing schedule template.

GraphQL: mutation { archiveScheduleTemplate }

Arguments

  • inputArchiveScheduleTemplateInput! — The input required to archive a schedule template.

archive_technician(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_technician(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive (soft-delete) an existing technician.

GraphQL: mutation { archiveTechnician }

Arguments

  • inputArchiveTechnicianInput! — The input required to archive a technician.

archive_technician_team(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_technician_team(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive (soft-delete) an existing technician team.

GraphQL: mutation { archiveTechnicianTeam }

Arguments

  • inputArchiveTechnicianTeamInput! — The input required to archive a technician team.

archive_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a ticket.

GraphQL: mutation { archiveTicket }

Arguments

  • idGlobalID! — The ticket's unique ID.

archive_ticket_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_ticket_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a ticket template.

GraphQL: mutation { archiveTicketTemplate }

Arguments

  • idGlobalID! — The ticket template's unique ID.

archive_unit(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_unit(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a unit.

GraphQL: mutation { archiveUnit }

Arguments

  • idGlobalID! — The unit's unique ID.

archive_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive (soft-delete) an existing work order.

GraphQL: mutation { archiveWorkOrder }

Arguments

  • inputArchiveWorkOrderInput! — The input required to archive a work order.

archive_work_order_custom_status(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_work_order_custom_status(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive a work order custom status by unique ID.

GraphQL: mutation { archiveWorkOrderCustomStatus }

Arguments

  • inputArchiveWorkOrderCustomStatusInput! — The input required to archive a work order custom status.

archive_work_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec archive_work_type(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Archive (soft-delete) an existing work type.

GraphQL: mutation { archiveWorkType }

Arguments

  • inputArchiveWorkTypeInput! — The input required to archive a work type.

assign_billing_subscriptions(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec assign_billing_subscriptions(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign billing subscriptions.

GraphQL: mutation { assignBillingSubscriptions }

Arguments

  • inputAssignBillingSubscriptionsMutationInput! — The input required to assign billing subscriptions.

assign_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec assign_inventory_item(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign an inventory item.

GraphQL: mutation { assignInventoryItem }

Arguments

  • inputAssignInventoryItemInput! — The input required to assign an inventory item.

assign_secondary_technicians_to_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec assign_secondary_technicians_to_work_order(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign secondary technicians to a work order which is already assigned to a primary technician.

GraphQL: mutation { assignSecondaryTechniciansToWorkOrder }

Arguments

  • inputAssignSecondaryTechniciansToWorkOrderInput! — The input required to assign secondary technicians to a work order.

assign_technician_to_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec assign_technician_to_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign a primary technician to a work order.

GraphQL: mutation { assignTechnicianToWorkOrder }

Arguments

  • inputAssignTechnicianToWorkOrderInput! — The input required to assign a technician to a work order.

assign_upstream_device_to_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec assign_upstream_device_to_inventory_item(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Assign an upstream device to an inventory item.

GraphQL: mutation { assignUpstreamDeviceToInventoryItem }

Arguments

  • inputAssignUpstreamDeviceToInventoryItemInput! — The assignUpstreamDeviceToInventoryItem mutation's input.

auto_assign_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec auto_assign_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Auto-assign a work order.

GraphQL: mutation { autoAssignWorkOrder }

Arguments

  • inputAutoAssignWorkOrderInput! — The input required to auto-assign a work order.

cancel_and_duplicate_work_order_with_work_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec cancel_and_duplicate_work_order_with_work_type(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Cancel and duplicate a work order with a new work type.

GraphQL: mutation { cancelAndDuplicateWorkOrderWithWorkType }

Arguments

  • inputCancelAndDuplicateWorkOrderWithWorkTypeInput! — The input required to cancel and duplicate a work order with a new work type.

cancel_workflow_execution(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec cancel_workflow_execution(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Cancel the workflow execution.

GraphQL: mutation { cancelWorkflowExecution }

Arguments

  • inputCancelWorkflowExecutionInput! — The input required to cancel a workflow execution.

clear_inventory_item_linked_devices(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec clear_inventory_item_linked_devices(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Clear all linked devices from an inventory item.

GraphQL: mutation { clearInventoryItemLinkedDevices }

Arguments

  • inputClearInventoryItemLinkedDevicesInput! — The clearInventoryItemLinkedDevices mutation's input.

close_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec close_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Close a ticket.

GraphQL: mutation { closeTicket }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputCloseTicketInput! — The input required to close a ticket.

convert_ticket_to_external(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec convert_ticket_to_external(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Convert an internal ticket to external by adding public information.

GraphQL: mutation { convertTicketToExternal }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputConvertTicketToExternalInput! — The input required to convert an internal ticket to external.

create_account(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_account(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new account.

GraphQL: mutation { createAccount }

Arguments

  • inputCreateAccountInput! — The input required to create an account.

create_account_contact(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_account_contact(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a contact.

GraphQL: mutation { createAccountContact }

Arguments

  • accountIdGlobalID! — The account's unique ID.
  • inputCreateAccountContactInput! — The input required to create a contact.

create_account_service_cancellation_reason(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_account_service_cancellation_reason(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new account service cancellation reason.

GraphQL: mutation { createAccountServiceCancellationReason }

Arguments

  • inputCreateAccountServiceCancellationReasonInput! — The input required to create an account service cancellation reason.

create_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create an address.

GraphQL: mutation { createAddress }

Arguments

  • inputCreateGeoAddressInput! — The address's input.

create_addresses(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_addresses(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create addresses.

GraphQL: mutation { createAddresses }

Arguments

  • inputCreateAddressesInput! — The addresses input.

create_api_key(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_api_key(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new API key.

GraphQL: mutation { createApiKey }

Arguments

  • inputCreateApiKeyInput! — The input required to create an API key.

create_bundle(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_bundle(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a bundle.

GraphQL: mutation { createBundle }

Arguments

  • inputCreateBundleInput! — The createBundle mutation's input.

create_contract(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_contract(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new contract. This mutation should be used in combination with createContractUploadUrl. See the Files section of the documentation for more information.

GraphQL: mutation { createContract }

Arguments

  • inputCreateContractInput! — The input required to create a contract.

create_contract_upload_url(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_contract_upload_url(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Creates a contract upload URL.

GraphQL: mutation { createContractUploadUrl }

Arguments

  • inputCreateContractUploadUrlInput! — The input to create a contract upload url.

create_coverage_area(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_coverage_area(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Creates a new coverage area.

GraphQL: mutation { createCoverageArea }

Arguments

  • inputCreateCoverageAreaInput! — The coverage area's input.

create_custom_object(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_custom_object(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new custom object definition.

GraphQL: mutation { createCustomObject }

Arguments

  • inputCreateCustomObjectInput! — The mutation input.

create_custom_object_field(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_custom_object_field(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new field definition on a custom object.

GraphQL: mutation { createCustomObjectField }

Arguments

  • inputCreateCustomObjectFieldInput! — The mutation input.

create_custom_object_record(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_custom_object_record(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new custom object record.

GraphQL: mutation { createCustomObjectRecord }

Arguments

  • inputCreateCustomObjectRecordInput! — The mutation input.

create_custom_object_record_draft(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_custom_object_record_draft(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new draft custom object record. Required fields are not enforced until publish.

GraphQL: mutation { createCustomObjectRecordDraft }

Arguments

  • inputCreateCustomObjectRecordDraftInput! — The mutation input.

create_debits(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_debits(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create debits.

GraphQL: mutation { createDebits }

Arguments

  • inputCreateDebitsInput! — The input required to create debits.

create_document(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_document(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new document. This mutation should be used in combination with createDocumentUploadUrl. See the Files section of the documentation for more information.

GraphQL: mutation { createDocument }

Arguments

  • inputCreateDocumentInput! — The input required to create a document.

create_document_upload_url(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_document_upload_url(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Creates a document upload URL.

GraphQL: mutation { createDocumentUploadUrl }

Arguments

  • inputCreateDocumentUploadUrlInput! — The input to create a document upload URL.

create_external_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_external_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new external ticket.

GraphQL: mutation { createExternalTicket }

Arguments

  • inputCreateExternalTicketInput! — The input required to create an external ticket.

create_external_ticket_from_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_external_ticket_from_template(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create an external ticket from a ticket template, optionally overriding any of the template's defaults.

GraphQL: mutation { createExternalTicketFromTemplate }

Arguments

  • inputCreateExternalTicketFromTemplateInput! — The input required to create an external ticket from a template.

create_geofence(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_geofence(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a geofence.

GraphQL: mutation { createGeofence }

Arguments

  • inputCreateGeofenceInput! — The geofence's input.

create_incident(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_incident(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new incident.

GraphQL: mutation { createIncident }

Arguments

  • inputCreateIncidentInput! — The input required to create an incident.

create_internal_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_internal_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new internal ticket.

GraphQL: mutation { createInternalTicket }

Arguments

  • inputCreateInternalTicketInput! — The input required to create an internal ticket.

create_internal_ticket_from_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_internal_ticket_from_template(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create an internal ticket from a ticket template, optionally overriding any of the template's defaults.

GraphQL: mutation { createInternalTicketFromTemplate }

Arguments

  • inputCreateInternalTicketFromTemplateInput! — The input required to create an internal ticket from a template.

create_inventory_items(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_inventory_items(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create new inventory items.

GraphQL: mutation { createInventoryItems }

Arguments

  • inputCreateInventoryItemsInput! — The input required to create new inventory items.

create_inventory_location_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_inventory_location_address(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create an inventory location address.

GraphQL: mutation { createInventoryLocationAddress }

Arguments

  • inputCreateInventoryLocationAddressInput! — The input required to create an inventory location address.

create_inventory_model(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_inventory_model(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Mutation to create an inventory model.

GraphQL: mutation { createInventoryModel }

Arguments

  • inputCreateInventoryModelInput! — The input required to create an inventory model.

create_inventory_model_category(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_inventory_model_category(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new inventory model category.

GraphQL: mutation { createInventoryModelCategory }

Arguments

  • inputCreateInventoryModelCategoryInput! — The input required to create a new inventory model category.

create_inventory_role(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_inventory_role(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new inventory role.

GraphQL: mutation { createInventoryRole }

Arguments

  • inputCreateInventoryRoleInput! — The createInventoryRole mutation's input.

create_invoice(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_invoice(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Generate an invoice on an account. All uninvoiced transactions will be included.

GraphQL: mutation { createInvoice }

Arguments

  • inputCreateInvoiceInput! — The input required to create an invoice.

create_manufacturer(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_manufacturer(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new manufacturer.

GraphQL: mutation { createManufacturer }

Arguments

  • inputCreateManufacturerInput! — The createManufacturer mutation's input.

create_network_site(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_network_site(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a network site.

GraphQL: mutation { createNetworkSite }

Arguments

  • inputCreateNetworkSiteInput! — The input required to create a network site.

create_note(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_note(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new note.

GraphQL: mutation { createNote }

Arguments

  • inputCreateNoteInput! — The input required to create a note.

create_payment(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_payment(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a payment.

GraphQL: mutation { createPayment }

Arguments

  • inputCreatePaymentInput! — The input required to create a payment.

create_payment_method(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_payment_method(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a payment method for a billable entity. The payment method can be used for payments and optionally for automatic payments.

GraphQL: mutation { createPaymentMethod }

Arguments

  • inputCreatePaymentMethodInput! — The input required to create a payment method.

create_product(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_product(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a product.

GraphQL: mutation { createProduct }

Arguments

  • inputCreateProductInput! — The createProduct mutation's input.

create_product_category(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_product_category(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a product category.

GraphQL: mutation { createProductCategory }

Arguments

  • inputCreateProductCategoryInput! — The createProductCategory mutation's input.

create_product_version(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_product_version(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new product version.

GraphQL: mutation { createProductVersion }

Arguments

  • inputCreateProductVersionInput! — The createProductVersion mutation's input.

create_project(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_project(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new project.

GraphQL: mutation { createProject }

Arguments

  • inputCreateProjectInput! — The input required to create a project.

create_property(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_property(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a property.

GraphQL: mutation { createProperty }

Arguments

  • inputCreatePropertyInput! — The input required to create a property.

create_property_contact(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_property_contact(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a property's contact.

GraphQL: mutation { createPropertyContact }

Arguments

  • idGlobalID! — The property's unique ID.
  • inputCreatePropertyContactInput! — The input required to create a property's contact.

create_property_group(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_property_group(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a property group.

GraphQL: mutation { createPropertyGroup }

Arguments

  • inputCreatePropertyGroupInput! — The input required to create a property group.

create_property_units(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_property_units(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create units.

GraphQL: mutation { createPropertyUnits }

Arguments

  • propertyIdGlobalID! — The property's unique ID.
  • inputCreatePropertyUnitsInput! — The input required to a property's units.

create_role(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_role(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new role.

GraphQL: mutation { createRole }

Arguments

  • inputCreateRoleInput! — The input required to create a role.

create_schedule_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_schedule_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new schedule template.

GraphQL: mutation { createScheduleTemplate }

Arguments

  • inputCreateScheduleTemplateInput! — The input required to create a schedule template.

create_tag_definition(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_tag_definition(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a tag definition.

GraphQL: mutation { createTagDefinition }

Arguments

  • inputCreateTagDefinitionInput! — The input required to create a tag definition.

create_tag_value(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_tag_value(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a value for a tag.

GraphQL: mutation { createTagValue }

Arguments

  • tagDefinitionIdGlobalID! — The tag definition's unique ID.
  • inputCreateTagValueInput! — The input required to create a tag value.

create_technician(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_technician(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new technician.

GraphQL: mutation { createTechnician }

Arguments

  • inputCreateTechnicianInput! — The input required to create a technician.

create_technician_team(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_technician_team(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new technician team.

GraphQL: mutation { createTechnicianTeam }

Arguments

  • inputCreateTechnicianTeamInput! — The input required to create a technician team.

create_ticket_comment(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_ticket_comment(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new ticket comment.

GraphQL: mutation { createTicketComment }

Arguments

  • inputCreateTicketCommentInput! — The input required to create a ticket comment.

create_ticket_comment_attachment_upload_url(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_ticket_comment_attachment_upload_url(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a ticket comment attachment upload URL. This mutation should be used in combination with createTicketCommentAttachments. See the Files section of the documentation for more information.

GraphQL: mutation { createTicketCommentAttachmentUploadUrl }

Arguments

  • inputCreateTicketCommentAttachmentUploadUrlInput! — The input required to create a ticket comment attachment upload URL.

create_ticket_comment_attachments(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_ticket_comment_attachments(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create ticket comment attachments. This mutation should be used after uploading files using URLs from createTicketCommentAttachmentUploadUrl. See the Files section of the documentation for more information.

GraphQL: mutation { createTicketCommentAttachments }

Arguments

  • inputCreateTicketCommentAttachmentsInput! — The input required to create ticket comment attachments.

create_ticket_from_template(client, variables \\ %{}, selection \\ "", opts \\ [])

This function is deprecated. Replaced by `createInternalTicketFromTemplate` and `createExternalTicketFromTemplate`, which also accept overrides for the template's defaults..
@spec create_ticket_from_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a ticket from a ticket template.

GraphQL: mutation { createTicketFromTemplate }

Arguments

  • templateIdGlobalID! — The ticket template's ID.

create_ticket_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_ticket_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a ticket template.

GraphQL: mutation { createTicketTemplate }

Arguments

  • inputCreateTicketTemplateInput! — The ticket template's input.

create_ticket_worklog(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_ticket_worklog(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new ticket worklog.

GraphQL: mutation { createTicketWorklog }

Arguments

  • inputCreateTicketWorklogInput! — The input required to create a ticket worklog.

create_time_blocker(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_time_blocker(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new time blocker.

GraphQL: mutation { createTimeBlocker }

Arguments

  • inputCreateTimeBlockerInput! — The createTimeBlocker mutation's input.

create_user(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_user(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new user.

GraphQL: mutation { createUser }

Arguments

  • inputCreateUserInput! — The input required to create a user.

create_webhook(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_webhook(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new webhook.

GraphQL: mutation { createWebhook }

Arguments

  • inputCreateWebhookInput! — The input required to create a webhook.

create_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new work order.

GraphQL: mutation { createWorkOrder }

Arguments

  • inputCreateWorkOrderInput! — The input required to create a work order.

create_work_order_custom_status(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_work_order_custom_status(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new work order custom status.

GraphQL: mutation { createWorkOrderCustomStatus }

Arguments

  • inputCreateWorkOrderCustomStatusInput! — The input required to create a work order custom status.

create_work_order_note(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_work_order_note(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new work order note.

GraphQL: mutation { createWorkOrderNote }

Arguments

  • inputCreateWorkOrderNoteInput! — The input required to create a work order note.

create_work_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_work_type(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new work type.

GraphQL: mutation { createWorkType }

Arguments

  • inputCreateWorkTypeInput! — The input required to create a work type.

create_workflow_secret(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_workflow_secret(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new workflow secret.

GraphQL: mutation { createWorkflowSecret }

Arguments

  • inputCreateWorkflowSecretInput! — The input required to create a workflow secret.

create_workflow_variable(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec create_workflow_variable(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Create a new workflow variable.

GraphQL: mutation { createWorkflowVariable }

Arguments

  • inputCreateWorkflowVariableInput! — The input required to create a workflow variable.

deactivate_user(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec deactivate_user(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Deactivate a user.

GraphQL: mutation { deactivateUser }

Arguments

  • idGlobalID! — The user's unique ID.

delete_incident_procedure(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_incident_procedure(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete an incident procedure.

GraphQL: mutation { deleteIncidentProcedure }

Arguments

  • inputDeleteIncidentProcedureInput! — The input required to delete an incident procedure.

delete_note(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_note(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a note.

GraphQL: mutation { deleteNote }

Arguments

  • noteIdGlobalID! — The notes's unique ID.

delete_payment_method(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_payment_method(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a payment method. The payment method will be archived (soft delete) in the billing system, and removal from the payment processor will be attempted. The payment method record remains in the database, marked as archived, and will not appear in queries.

GraphQL: mutation { deletePaymentMethod }

Arguments

  • inputDeletePaymentMethodInput! — The input required to delete a payment method.

delete_role(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_role(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a role.

GraphQL: mutation { deleteRole }

Arguments

  • idGlobalID! — The role's unique ID.

delete_ticket_comment(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_ticket_comment(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a ticket comment.

GraphQL: mutation { deleteTicketComment }

Arguments

  • idGlobalID! — The ticket comment's unique ID.

delete_time_blocker(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_time_blocker(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a time blocker by unique ID.

GraphQL: mutation { deleteTimeBlocker }

Arguments

  • inputDeleteTimeBlockerInput! — The input required to delete a time blocker.

delete_unit(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_unit(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a unit.

GraphQL: mutation { deleteUnit }

Arguments

  • idGlobalID! — The unit's unique ID.

delete_webhook(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_webhook(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete a webhook by unique ID.

GraphQL: mutation { deleteWebhook }

Arguments

  • inputDeleteWebhookInput! — The input required to delete a webhook.

delete_workflow_secret(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_workflow_secret(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete an existing workflow secret.

GraphQL: mutation { deleteWorkflowSecret }

Arguments

  • idGlobalID! — The unique identifier of the secret to delete.

delete_workflow_variable(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec delete_workflow_variable(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Delete an existing workflow variable.

GraphQL: mutation { deleteWorkflowVariable }

Arguments

  • idGlobalID! — The unique identifier of the variable to delete.

end_technician_shift(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec end_technician_shift(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

End a technician's shift.

GraphQL: mutation { endTechnicianShift }

Arguments

  • inputEndTechnicianShiftInput! — The input required to end a technician's shift.

initiate_pin_verification(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec initiate_pin_verification(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Initiate a PIN verification session for an entity.

GraphQL: mutation { initiatePinVerification }

Arguments

  • entityIdGlobalID! — The entity to verify.
  • inputInitiatePinVerificationInput! — The input required to initiate a PIN verification session.

integration_none(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec integration_none(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

GraphQL mutation integrationNone.

GraphQL: mutation { integrationNone }

Takes no arguments.

merge_tickets(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec merge_tickets(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Merge a child ticket into a parent ticket. The child ticket will be closed and archived.

GraphQL: mutation { mergeTickets }

Arguments

  • inputMergeTicketsInput! — The input required to merge tickets.

publish_custom_object_record_draft(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec publish_custom_object_record_draft(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Publish a draft custom object record, promoting it to a real record. Enforces all required fields and uniqueness constraints.

GraphQL: mutation { publishCustomObjectRecordDraft }

Arguments

  • idGlobalID — The draft record's unique identifier.
  • inputPublishCustomObjectRecordDraftInput! — The mutation input.

reactivate_user(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec reactivate_user(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Reactivate a user.

GraphQL: mutation { reactivateUser }

Arguments

  • idGlobalID! — The user's unique ID.

remove_impacted_accounts_from_incident(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec remove_impacted_accounts_from_incident(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Remove impacted accounts from an incident.

GraphQL: mutation { removeImpactedAccountsFromIncident }

Arguments

  • inputRemoveImpactedAccountsFromIncidentInput! — The input required to remove impacted accounts from an incident.

remove_inventory_item_linked_devices(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec remove_inventory_item_linked_devices(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Remove linked devices from an inventory item.

GraphQL: mutation { removeInventoryItemLinkedDevices }

Arguments

  • inputRemoveInventoryItemLinkedDevicesInput! — The removeInventoryItemLinkedDevices mutation's input.

remove_ip_block_from_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec remove_ip_block_from_inventory_item(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Remove an IP block from an inventory item.

GraphQL: mutation { removeIpBlockFromInventoryItem }

Arguments

  • inputRemoveIpBlockFromInventoryItemInput! — The removeIpBlockFromInventoryItem mutation's input.

remove_ip_blocks_from_network_site(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec remove_ip_blocks_from_network_site(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Remove IP blocks from a network site.

GraphQL: mutation { removeIpBlocksFromNetworkSite }

Arguments

  • inputRemoveIpBlocksFromNetworkSiteInput! — The removeIpBlocksFromNetworkSite mutation's input.

remove_primary_from_product_version(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec remove_primary_from_product_version(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Remove the primary flag from a product version.

GraphQL: mutation { removePrimaryFromProductVersion }

Arguments

  • idGlobalID! — The product version's ID.

restrict_entity_payment_method_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec restrict_entity_payment_method_type(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Restrict a payment method type for a billable entity. No new payment methods of that type can be created. For ACCOUNT scope, existing payment methods of that type are also archived; for BILLING_SETTINGS scope existing payment methods are left in place but can no longer be used for payments.

GraphQL: mutation { restrictEntityPaymentMethodType }

Arguments

  • inputRestrictEntityPaymentMethodTypeInput! — The input required to restrict a payment method type.

retry_workflow_execution(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec retry_workflow_execution(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Retry the workflow execution.

GraphQL: mutation { retryWorkflowExecution }

Arguments

  • inputRetryWorkflowExecutionInput! — The input required to retry a workflow execution.

revoke_api_key(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec revoke_api_key(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Revoke an API key.

GraphQL: mutation { revokeApiKey }

Arguments

  • idGlobalID! — The API key's unique ID.

send_communication(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec send_communication(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Send a communication to an entity using a template.

GraphQL: mutation { sendCommunication }

Arguments

  • inputSendCommunicationInput! — The input required to send a communication.

set_primary_product_version(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec set_primary_product_version(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Set a product version as primary.

GraphQL: mutation { setPrimaryProductVersion }

Arguments

  • idGlobalID! — The product version's ID.
  • inputSetPrimaryProductVersionInput! — The setPrimaryProductVersion mutation's input.

skip_node_execution(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec skip_node_execution(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Skip a failed node execution.

GraphQL: mutation { skipNodeExecution }

Arguments

  • inputSkipNodeExecutionInput! — The input required to skip a node execution.

start_product_availability_job(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec start_product_availability_job(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Start an asynchronous job to check available products at a given location. Requires a gaiia publishable key in the request headers.

GraphQL: mutation { startProductAvailabilityJob }

Arguments

  • inputStartProductAvailabilityJobInput! — The input required to create a product availability job.

start_technician_shift(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec start_technician_shift(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Start a technician's shift.

GraphQL: mutation { startTechnicianShift }

Arguments

  • inputStartTechnicianShiftInput! — The input required to start a technician's shift.

start_work_order_auto_assign(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec start_work_order_auto_assign(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Send a work order to the auto-assign queue for async processing.

GraphQL: mutation { startWorkOrderAutoAssign }

Arguments

  • inputStartWorkOrderAutoAssignInput! — The input required to start work order auto-assign.

start_workflow_execution(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec start_workflow_execution(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Start the workflow execution.

GraphQL: mutation { startWorkflowExecution }

Arguments

  • inputStartWorkflowExecutionInput! — The input required to start a workflow execution.

toggle_auto_payment(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec toggle_auto_payment(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Toggle auto payment on a payment method. Enabling auto payment on a payment method will disable it on all other payment methods for the same account.

GraphQL: mutation { toggleAutoPayment }

Arguments

  • inputToggleAutoPaymentInput! — The input required to toggle auto payment.

unarchive_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive an address.

GraphQL: mutation { unarchiveAddress }

Arguments

  • addressIdGlobalID! — The address's unique ID.

unarchive_coverage_areas(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_coverage_areas(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive multiple coverage areas.

GraphQL: mutation { unarchiveCoverageAreas }

Arguments

  • coverageAreaIds[GlobalID!]! — The coverage areas' unique IDs.

unarchive_custom_object(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_custom_object(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a custom object definition.

GraphQL: mutation { unarchiveCustomObject }

Arguments

  • idGlobalID! — The definition's unique identifier.

unarchive_custom_object_field(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_custom_object_field(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a custom object field definition.

GraphQL: mutation { unarchiveCustomObjectField }

Arguments

  • idGlobalID! — The field definition's unique identifier.

unarchive_custom_object_record(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_custom_object_record(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a custom object record.

GraphQL: mutation { unarchiveCustomObjectRecord }

Arguments

  • idGlobalID! — The record's unique identifier.

unarchive_inventory_roles(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_inventory_roles(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive existing inventory roles.

GraphQL: mutation { unarchiveInventoryRoles }

Arguments

  • inputUnarchiveInventoryRolesInput! — The unarchiveInventoryRoles mutation's input.

unarchive_network_sites(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_network_sites(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive one or more network sites.

GraphQL: mutation { unarchiveNetworkSites }

Arguments

  • ids[GlobalID!]! — The network sites unique identifiers.

unarchive_property(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_property(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchives a property.

GraphQL: mutation { unarchiveProperty }

Arguments

  • idGlobalID! — The property's unique ID.

unarchive_property_group(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_property_group(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchives a property group.

GraphQL: mutation { unarchivePropertyGroup }

Arguments

  • idGlobalID! — The property group's unique ID.

unarchive_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a ticket.

GraphQL: mutation { unarchiveTicket }

Arguments

  • idGlobalID! — The ticket's unique ID.

unarchive_ticket_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_ticket_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a ticket template.

GraphQL: mutation { unarchiveTicketTemplate }

Arguments

  • idGlobalID! — The ticket template's unique ID.

unarchive_unit(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unarchive_unit(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unarchive a unit.

GraphQL: mutation { unarchiveUnit }

Arguments

  • idGlobalID! — The unit's unique ID.

unassign_all_technicians_from_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unassign_all_technicians_from_work_order(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unassign all technicians from work order.

GraphQL: mutation { unassignAllTechniciansFromWorkOrder }

Arguments

  • inputUnassignAllTechniciansFromWorkOrderInput! — The input required to unassign all technicians from a work order.

unassign_customer_owned_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unassign_customer_owned_item(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unassign a customer owned item.

GraphQL: mutation { unassignCustomerOwnedItem }

Arguments

  • inputUnassignCustomerOwnedItemInput! — The unassignCustomerOwnedItem mutation's input.

unassign_secondary_technicians_from_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unassign_secondary_technicians_from_work_order(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unassigns secondary technicians from a work order.

GraphQL: mutation { unassignSecondaryTechniciansFromWorkOrder }

Arguments

  • inputUnassignSecondaryTechniciansFromWorkOrderInput! — The input required to unassign secondary technicians from a work order.

unassign_upstream_device_from_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unassign_upstream_device_from_inventory_item(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unassign an upstream device from an inventory item.

GraphQL: mutation { unassignUpstreamDeviceFromInventoryItem }

Arguments

  • inputUnassignUpstreamDeviceFromInventoryItemInput! — The unassignUpstreamDeviceFromInventoryItem mutation's input.

unrestrict_entity_payment_method_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec unrestrict_entity_payment_method_type(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Unrestrict a payment method type for a billable entity. For ACCOUNT scope the failure counter is reset to zero. Previously archived payment methods remain archived — the customer must create new ones.

GraphQL: mutation { unrestrictEntityPaymentMethodType }

Arguments

  • inputUnrestrictEntityPaymentMethodTypeInput! — The input required to unrestrict a payment method type.

update_account(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_account(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an account.

GraphQL: mutation { updateAccount }

Arguments

  • idGlobalID! — The account's unique ID.
  • inputUpdateAccountInput! — The input required to update an account.

update_account_contact(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_account_contact(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a contact.

GraphQL: mutation { updateAccountContact }

Arguments

  • accountIdGlobalID! — The account's unique ID.
  • idGlobalID! — The contact's unique ID.
  • inputUpdateAccountContactInput! — The input required to update a contact.

update_account_custom_field_definition(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_account_custom_field_definition(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an account custom field definition.

GraphQL: mutation { updateAccountCustomFieldDefinition }

Arguments

  • idGlobalID! — The account custom field definition's unique ID.
  • inputUpdateAccountCustomFieldDefinitionInput! — The input required to update an account custom field definition.

update_account_mailing_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_account_mailing_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an account's mailing address.

GraphQL: mutation { updateAccountMailingAddress }

Arguments

  • idGlobalID! — The account's unique id.
  • inputUpdateAccountMailingAddressInput! — The input required to update an account's mailing address.

update_account_physical_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_account_physical_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an account's physical address.

GraphQL: mutation { updateAccountPhysicalAddress }

Arguments

  • idGlobalID! — The account's unique id.
  • inputUpdateAccountPhysicalAddressInput! — The input required to update an account's physical address.

update_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an address.

GraphQL: mutation { updateAddress }

Arguments

  • idGlobalID! — The address's unique ID.
  • inputUpdateGeoAddressInput! — The address's input.

update_address_custom_field_definition(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_address_custom_field_definition(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an address custom field definition.

GraphQL: mutation { updateAddressCustomFieldDefinition }

Arguments

  • idGlobalID! — The custom field definition's unique ID.
  • inputUpdateAddressCustomFieldDefinitionInput! — Input containing the custom field definition update details.

update_address_custom_fields(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_address_custom_fields(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update custom fields for an address.

GraphQL: mutation { updateAddressCustomFields }

Arguments

  • inputUpdateAddressCustomFieldsInput! — Input containing address ID and field updates.

update_addresses(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_addresses(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update addresses.

GraphQL: mutation { updateAddresses }

Arguments

  • inputUpdateAddressesInput! — The addresses input.

update_api_key(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_api_key(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an API key.

GraphQL: mutation { updateApiKey }

Arguments

  • idGlobalID! — The API key's unique identifier.
  • inputUpdateApiKeyInput! — The input required to update an API key.

update_bundle(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_bundle(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a bundle.

GraphQL: mutation { updateBundle }

Arguments

  • inputUpdateBundleInput! — The updateBundle mutation's input.

update_contract(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_contract(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a contract.

GraphQL: mutation { updateContract }

Arguments

  • idGlobalID — The contract's unique id.
  • inputUpdateContractInput! — The input required to update a contract.

update_coverage_area(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_coverage_area(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Updates an existing coverage area.

GraphQL: mutation { updateCoverageArea }

Arguments

  • inputUpdateCoverageAreaInput! — The coverage area's input.

update_custom_object(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_custom_object(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a custom object definition.

GraphQL: mutation { updateCustomObject }

Arguments

  • idGlobalID! — The definition's unique identifier.
  • inputUpdateCustomObjectInput! — The mutation input.

update_custom_object_field(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_custom_object_field(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a custom field definition.

GraphQL: mutation { updateCustomObjectField }

Arguments

  • idGlobalID — The field definition's unique identifier.
  • inputUpdateCustomObjectFieldInput! — The mutation input.

update_custom_object_record(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_custom_object_record(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing custom object record.

GraphQL: mutation { updateCustomObjectRecord }

Arguments

  • idGlobalID — The record's unique identifier.
  • inputUpdateCustomObjectRecordInput! — The mutation input.

update_custom_object_record_draft(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_custom_object_record_draft(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing draft custom object record.

GraphQL: mutation { updateCustomObjectRecordDraft }

Arguments

  • idGlobalID! — The draft record's unique identifier.
  • inputUpdateCustomObjectRecordDraftInput! — The mutation input.

update_default_appointment_config(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_default_appointment_config(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update the default appointment configuration for the current tenant.

GraphQL: mutation { updateDefaultAppointmentConfig }

Arguments

  • inputUpdateDefaultAppointmentConfigInput! — The updateDefaultAppointmentConfig mutation's input.

update_delinquency_step(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_delinquency_step(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a delinquency step.

GraphQL: mutation { updateDelinquencyStep }

Arguments

  • inputUpdateDelinquencyStepInput! — The input required to update a delinquency step.

update_entity_custom_field_definition(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_entity_custom_field_definition(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an entity custom field definition.

GraphQL: mutation { updateEntityCustomFieldDefinition }

Arguments

  • idGlobalID! — The entity custom field definition's unique ID.
  • inputUpdateEntityCustomFieldDefinitionInput! — The input required to update an entity custom field definition.

update_entity_custom_fields(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_entity_custom_fields(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an entity's custom fields.

GraphQL: mutation { updateEntityCustomFields }

Arguments

  • entityIdGlobalID! — The entity's unique ID.
  • inputUpdateEntityCustomFieldsInput! — The input required to update an entity's custom fields.

update_external_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_external_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an external ticket.

GraphQL: mutation { updateExternalTicket }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateExternalTicketInput! — The input required to update an external ticket.

update_incident(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_incident(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an incident.

GraphQL: mutation { updateIncident }

Arguments

  • inputUpdateIncidentInput! — The input required to update an incident.

update_internal_ticket(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_internal_ticket(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an internal ticket.

GraphQL: mutation { updateInternalTicket }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateInternalTicketInput! — The input required to update an internal ticket.

update_inventory_item(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_inventory_item(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an inventory item. Only provided fields are updated; omitted fields are left unchanged.

GraphQL: mutation { updateInventoryItem }

Arguments

  • inventoryItemIdGlobalID — The inventory item's ID. Optional for backwards compatibility — prefer this over the deprecated input field.
  • inputUpdateInventoryItemInput! — The input required to update an inventory item.

update_inventory_location_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_inventory_location_address(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an inventory location address.

GraphQL: mutation { updateInventoryLocationAddress }

Arguments

  • inputUpdateInventoryLocationAddressInput! — The input required to update an inventory location address.

update_inventory_role(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_inventory_role(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing inventory role.

GraphQL: mutation { updateInventoryRole }

Arguments

  • inputUpdateInventoryRoleInput! — The updateInventoryRole mutation's input.

update_network_site(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_network_site(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a network site.

GraphQL: mutation { updateNetworkSite }

Arguments

  • idGlobalID — The network site's unique identifier. Optional for backwards compatibility — prefer this over the deprecated input field.
  • inputUpdateNetworkSiteInput! — The input required to update a network site.

update_network_site_ip_block(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_network_site_ip_block(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a network site IP block.

GraphQL: mutation { updateNetworkSiteIpBlock }

Arguments

  • idGlobalID — The network site IP block's unique identifier. Optional for backwards compatibility — prefer this over the deprecated input field.
  • inputUpdateNetworkSiteIpBlockInput! — The updateNetworkSiteIpBlock mutation's input.

update_note(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_note(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a note.

GraphQL: mutation { updateNote }

Arguments

  • inputUpdateNoteInput! — The input required to update a note.

update_payment_method(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_payment_method(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a payment method.

GraphQL: mutation { updatePaymentMethod }

Arguments

  • idGlobalID! — The payment method's ID.
  • inputUpdatePaymentMethodInput! — The input required to update the payment method.

update_payments(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_payments(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update payments' status.

GraphQL: mutation { updatePayments }

Arguments

  • inputUpdatePaymentsInput! — The input required to update payments.

update_product(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_product(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a product.

GraphQL: mutation { updateProduct }

Arguments

  • idGlobalID! — The product's ID.
  • inputUpdateProductInput! — The updateProduct mutation's input.

update_product_category(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_product_category(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a product category.

GraphQL: mutation { updateProductCategory }

Arguments

  • idGlobalID! — The product category's ID.
  • inputUpdateProductCategoryInput! — The updateProductCategory mutation's input.

update_property(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_property(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a property.

GraphQL: mutation { updateProperty }

Arguments

  • idGlobalID! — The property's unique id.
  • inputUpdatePropertyInput! — The input required to update a property.

update_property_contact(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_property_contact(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a property's contact.

GraphQL: mutation { updatePropertyContact }

Arguments

  • propertyIdGlobalID! — The property's unique ID.
  • idGlobalID! — The contact's unique ID.
  • inputUpdatePropertyContactInput! — The input required to update a property's contact.

update_property_group(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_property_group(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a property group.

GraphQL: mutation { updatePropertyGroup }

Arguments

  • idGlobalID! — The property group's unique ID.
  • inputUpdatePropertyGroupInput! — The input required to update a property group.

update_property_group_manager(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_property_group_manager(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a property group manager.

GraphQL: mutation { updatePropertyGroupManager }

Arguments

  • idGlobalID! — The property group manager's unique ID.
  • inputUpdatePropertyGroupManagerInput! — The input required to update a property group manager.

update_property_physical_address(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_property_physical_address(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a property's physical address.

GraphQL: mutation { updatePropertyPhysicalAddress }

Arguments

  • idGlobalID! — The property's unique id.
  • inputUpdatePropertyPhysicalAddressInput! — The input required to update a property's physical address.

update_role(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_role(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a role.

GraphQL: mutation { updateRole }

Arguments

  • idGlobalID! — The role's unique ID.
  • inputUpdateRoleInput! — The input required to update a role.

update_schedule_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_schedule_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing schedule template.

GraphQL: mutation { updateScheduleTemplate }

Arguments

  • idGlobalID! — The schedule template's global ID.
  • inputUpdateScheduleTemplateInput! — The input required to update a schedule template.

update_technician(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_technician(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing technician.

GraphQL: mutation { updateTechnician }

Arguments

  • idGlobalID! — The technician's global ID.
  • inputUpdateTechnicianInput! — The input required to update a technician.

update_technician_team(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_technician_team(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing technician team.

GraphQL: mutation { updateTechnicianTeam }

Arguments

  • idGlobalID! — The technician team's global ID.
  • inputUpdateTechnicianTeamInput! — The input required to update a technician team.

update_ticket_assignees(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_assignees(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket's assignees.

GraphQL: mutation { updateTicketAssignees }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateTicketAssigneesInput! — The input required to update a ticket's assignees.

update_ticket_comment(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_comment(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket comment.

GraphQL: mutation { updateTicketComment }

Arguments

  • idGlobalID! — The ticket comment's unique ID.
  • inputUpdateTicketCommentInput! — The input required to update a ticket comment.

update_ticket_followers(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_followers(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket's followers.

GraphQL: mutation { updateTicketFollowers }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateTicketFollowersInput! — The input required to update a ticket's followers.

update_ticket_status(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_status(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket's status.

GraphQL: mutation { updateTicketStatus }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateTicketStatusInput! — The input required to update a ticket's status.

update_ticket_template(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_template(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket template.

GraphQL: mutation { updateTicketTemplate }

Arguments

  • idGlobalID! — The ticket template's unique ID.
  • inputUpdateTicketTemplateInput! — The input required to update a ticket template.

update_ticket_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_ticket_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a ticket's work order.

GraphQL: mutation { updateTicketWorkOrder }

Arguments

  • idGlobalID! — The ticket's unique ID.
  • inputUpdateTicketWorkOrderInput! — The input required to update a ticket's work order.

update_time_blocker(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_time_blocker(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a time blocker.

GraphQL: mutation { updateTimeBlocker }

Arguments

  • idGlobalID — The time blocker's unique ID.
  • inputUpdateTimeBlockerInput! — The updateTimeBlocker mutation's input.

update_unit(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_unit(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a unit.

GraphQL: mutation { updateUnit }

Arguments

  • idGlobalID! — The unit's unique ID.
  • inputUpdateUnitInput! — The input required to update a unit.

update_user(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_user(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a user.

GraphQL: mutation { updateUser }

Arguments

  • idGlobalID! — The user's unique ID.
  • inputUpdateUserInput! — The input required to update a user.

update_work_order(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_work_order(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing work order.

GraphQL: mutation { updateWorkOrder }

Arguments

  • inputUpdateWorkOrderInput! — The input required to update a work order.

update_work_order_custom_status(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_work_order_custom_status(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update a work order custom status.

GraphQL: mutation { updateWorkOrderCustomStatus }

Arguments

  • inputUpdateWorkOrderCustomStatusInput! — The input required to update a work order custom status.

update_work_order_procedure_value(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_work_order_procedure_value(
  Gaiia.Client.t(),
  map(),
  String.t(),
  keyword()
) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update the procedure value of a work order.

GraphQL: mutation { updateWorkOrderProcedureValue }

Arguments

  • inputUpdateWorkOrderProcedureValueInput! — The input required to update the procedure value.

update_work_orders_status(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_work_orders_status(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Updates the status of up to 250 work orders in bulk. Returns the updated work orders and any per-work-order errors (partial success).

GraphQL: mutation { updateWorkOrdersStatus }

Arguments

  • inputUpdateWorkOrdersStatusInput! — The input required to update the status of multiple work orders.

update_work_type(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_work_type(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing work type.

GraphQL: mutation { updateWorkType }

Arguments

  • idGlobalID! — The work type's global ID.
  • inputUpdateWorkTypeInput! — The input required to update a work type.

update_workflow_secret(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_workflow_secret(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing workflow secret.

GraphQL: mutation { updateWorkflowSecret }

Arguments

  • idGlobalID! — The workflow secrets's unique ID.
  • inputUpdateWorkflowSecretInput! — The input required to update a workflow secret.

update_workflow_variable(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec update_workflow_variable(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Update an existing workflow variable.

GraphQL: mutation { updateWorkflowVariable }

Arguments

  • idGlobalID! — The workflow variable's unique ID.
  • inputUpdateWorkflowVariableInput! — The input required to update a workflow variable.

verify_pin_verification(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec verify_pin_verification(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Submit a PIN to complete a verification.

GraphQL: mutation { verifyPinVerification }

Arguments

  • verificationIdGlobalID! — The verification to complete.
  • inputVerifyPinVerificationInput! — The input required to verify a PIN.

write_off_invoices(client, variables \\ %{}, selection \\ "", opts \\ [])

@spec write_off_invoices(Gaiia.Client.t(), map(), String.t(), keyword()) ::
  {:ok, term()} | {:error, Gaiia.Error.t()}

Write off invoices by creating credit notes for the remaining amounts.

GraphQL: mutation { writeOffInvoices }

Arguments

  • inputWriteOffInvoicesInput! — The input required to write off invoices.