Common

Shared scalars, pagination, and cross-cutting value types.

Objects

Address

An Address

Fields

  • address_1 (String) — The first line of the Address
  • address_2 (String) — The second line of the Address
  • city (String) — The city of the Address
  • country (String) — The country of the Address
  • formatted (String) — The formatted address
  • name (String) — A name associated with the Address
  • phone_number (String) — A phone number associated with the Address
  • postal_code (String) — The zip/postal code of the Address
  • province (String) — The state/province of the Address

Money

A value in a given currency, broken into it's amount & precision

Fields

  • amount (BigInt!) — The value of the Money times 10 ^ precision (i.e. $20.32 has an amount of "2032")
  • currency (Currency!) — The currency code for the Money (i.e. $20.32 has a currency of USD)
  • formatted (String!) — The formatted value of the Money
  • precision (NonNegativeInt!) — The precision of the Money (i.e. $20.32 has a precision of 2)
  • value (Float!) — The value of the Money in it's base unit

OperationStatus

Fields

PageInfo

Information about pagination in a connection.

Fields

  • endCursor (String) — When paginating forwards, the cursor to continue.
  • hasNextPage (Boolean!) — When paginating forwards, are there more items?
  • hasPreviousPage (Boolean!) — When paginating backwards, are there more items?
  • startCursor (String) — When paginating backwards, the cursor to continue.

PartialLocalDate

A partial local date

Fields

  • day (Int) — The day of the PartialLocalDate
  • formatted (String) — The formatted date
  • month (Int!) — The month of the PartialLocalDate
  • year (Int) — The year of the PartialLocalDate

Input Objects

ActorContext

The context of the actor

Fields

  • teamId (ID) — The ID of the Team the User is performing the operation from
  • userId (ID!) — The ID of the User performing the operation

AddressInput

An Address to be added/updated

Fields

  • address_1 (String) — The first line of the Address
  • address_2 (String) — The second line of the Address
  • city (String) — The city of the Address
  • country (String) — The country of the Address
  • name (String) — A name to associate with the Address
  • phone_number (String) — A phone number to associate with the Address
  • postal_code (String) — The zip/postal code of the Address
  • province (String) — The state/province of the Address

DateRangeInput

A date range

Fields

  • from (DateTime!) — The start of the date range
  • to (DateTime!) — The end of the date range

DeadlineInput

The deadline for a Task

Fields

  • date (LocalDate!) — A date in yyyy-MM-dd format (e.g. 2021-06-17)
  • time (LocalTime!) — A time in HH:mm:ss or HH:mm format (e.g. 14:30:00 or 14:30)

MoneyInput

A value in a given currency, broken into it's amount & precision

Fields

  • amount (BigInt!) — The value of the Money times 10 ^ precision (i.e. $20.32 has an amount of "2032")
  • currency (Currency!) — The currency code for the Money (i.e. $20.32 has a currency of USD)
  • precision (NonNegativeInt!) — The precision of the Money (i.e. $20.32 has a precision of 2)

PartialLocalDateInput

A partial local date

Fields

  • day (Int) — The day of the PartialLocalDate
  • month (Int!) — The month of the PartialLocalDate
  • year (Int) — The year of the PartialLocalDate

Enums

Currency

The currency codes supported by Endear

Values

  • AED
  • AFN
  • ALL
  • AMD
  • ANG
  • AOA
  • ARS
  • AUD
  • AWG
  • AZN
  • BAM
  • BBD
  • BDT
  • BGN
  • BHD
  • BIF
  • BMD
  • BND
  • BOB
  • BOV
  • BRL
  • BSD
  • BTN
  • BWP
  • BYN
  • BZD
  • CAD
  • CDF
  • CHE
  • CHF
  • CHW
  • CLF
  • CLP
  • CNY
  • COP
  • COU
  • CRC
  • CUC
  • CUP
  • CVE
  • CZK
  • DJF
  • DKK
  • DOP
  • DZD
  • EGP
  • ERN
  • ETB
  • EUR
  • FJD
  • FKP
  • GBP
  • GEL
  • GHS
  • GIP
  • GMD
  • GNF
  • GTQ
  • GYD
  • HKD
  • HNL
  • HRK
  • HTG
  • HUF
  • IDR
  • ILS
  • INR
  • IQD
  • IRR
  • ISK
  • JMD
  • JOD
  • JPY
  • KES
  • KGS
  • KHR
  • KMF
  • KPW
  • KRW
  • KWD
  • KYD
  • KZT
  • LAK
  • LBP
  • LKR
  • LRD
  • LSL
  • LYD
  • MAD
  • MDL
  • MGA
  • MKD
  • MMK
  • MNT
  • MOP
  • MRU
  • MUR
  • MVR
  • MWK
  • MXN
  • MXV
  • MYR
  • MZN
  • NAD
  • NGN
  • NIO
  • NOK
  • NPR
  • NZD
  • OMR
  • PAB
  • PEN
  • PGK
  • PHP
  • PKR
  • PLN
  • PYG
  • QAR
  • RON
  • RSD
  • RUB
  • RWF
  • SAR
  • SBD
  • SCR
  • SDG
  • SEK
  • SGD
  • SHP
  • SLL
  • SOS
  • SRD
  • SSP
  • STN
  • SVC
  • SYP
  • SZL
  • THB
  • TJS
  • TMT
  • TND
  • TOP
  • TRY
  • TTD
  • TWD
  • TZS
  • UAH
  • UGX
  • USD
  • USN
  • UYI
  • UYU
  • UYW
  • UZS
  • VES
  • VND
  • VUV
  • WST
  • XAF
  • XAG
  • XAU
  • XBA
  • XBB
  • XBC
  • XBD
  • XCD
  • XDR
  • XOF
  • XPD
  • XPF
  • XPT
  • XSU
  • XTS
  • XUA
  • XXX
  • YER
  • ZAR
  • ZMW
  • ZWL

ShareLevel

Values

  • READ_ONLY
  • READ_WRITE

SortDirection

Values

  • ASC
  • DESC

Status

Values

  • ACCEPTED

TextDirection

Values

  • LTR
  • RTL

Scalars

BigInt

The BigInt scalar type represents non-fractional signed whole numeric values.

Boolean

The Boolean scalar type represents true or false.

DateTime

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

Decimal

A numeric value

EmailAddress

A field whose value conforms to the standard internet email address format as specified in HTML Spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address.

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

HTTPURL

A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

JSONObject

The JSONObject scalar type represents JSON objects as specified by ECMA-404.

Latitude

A field whose value is a valid decimal degrees latitude number (53.471): https://en.wikipedia.org/wiki/Latitude

LocalDate

A local date string (i.e., with no associated timezone) in YYYY-MM-DD format, e.g. 2020-01-01.

LocalTime

A local time string (i.e., with no associated timezone) in 24-hr HH:mm[:ss[.SSS]] format, e.g. 14:25 or 14:25:06 or 14:25:06.123.

Longitude

A field whose value is a valid decimal degrees longitude number (53.471): https://en.wikipedia.org/wiki/Longitude

NonEmptyString

A string that cannot be passed as an empty value

NonNegativeFloat

Floats that will have a value of 0 or more.

NonNegativeInt

Integers that will have a value of 0 or more.

PhoneNumber

A field whose value conforms to the standard E.164 format as specified in: https://en.wikipedia.org/wiki/E.164. Basically this is +17895551234.

PositiveInt

Integers that will have a value greater than 0.

String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

URL

A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.