@trackunit/custom-field-api
Advanced tools
Comparing version 0.0.3 to 0.0.7
{ | ||
"name": "@trackunit/custom-field-api", | ||
"version": "0.0.3", | ||
"version": "0.0.7", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=18.x" |
@@ -61,92 +61,2 @@ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; | ||
}; | ||
/** Customer Account. */ | ||
export type Account = Node & { | ||
__typename?: "Account"; | ||
/** Account Entity ID */ | ||
accountId: Scalars["ID"]["output"]; | ||
/** The account name of the account. */ | ||
accountName?: Maybe<Scalars["String"]["output"]>; | ||
/** The account type of the account. */ | ||
accountType?: Maybe<AccountType>; | ||
/** The address of the account. */ | ||
address?: Maybe<Address>; | ||
/** The contact information of the account. */ | ||
contact?: Maybe<Contact>; | ||
/** | ||
* The custom fields for the account. | ||
* | ||
* ⚠️ This is a preview feature. This means it may change without notice. To indicate you accept these terms pass the HTTP header 'TU-PREVIEW: JUNGLE-DIGGER' with your query requests. | ||
* | ||
* ⚙️ Complexity cost: 10 | ||
*/ | ||
customFields?: Maybe<CustomFieldValueAndDefinitionConnection>; | ||
/** The external reference of the account. */ | ||
externalReference?: Maybe<Scalars["String"]["output"]>; | ||
/** Globally unique ID for Account */ | ||
id: Scalars["ID"]["output"]; | ||
/** When was the account updated at last. */ | ||
updatedAt?: Maybe<Scalars["String"]["output"]>; | ||
}; | ||
export declare const accountType: { | ||
readonly CustomerTest: "CUSTOMER_TEST"; | ||
readonly Default: "DEFAULT"; | ||
readonly InternalTest: "INTERNAL_TEST"; | ||
readonly Stock: "STOCK"; | ||
}; | ||
export type AccountType = (typeof accountType)[keyof typeof accountType]; | ||
/** The address object type. */ | ||
export type Address = { | ||
__typename?: "Address"; | ||
/** The city of the address. */ | ||
city?: Maybe<Scalars["String"]["output"]>; | ||
/** The country of the address. */ | ||
country?: Maybe<Scalars["String"]["output"]>; | ||
/** The street address. */ | ||
streetAddress?: Maybe<Scalars["String"]["output"]>; | ||
/** The zip code or postal code of the address. */ | ||
zipCode?: Maybe<Scalars["String"]["output"]>; | ||
}; | ||
/** The contact information of the account. */ | ||
export type Contact = { | ||
__typename?: "Contact"; | ||
/** The email of the account. */ | ||
email?: Maybe<Scalars["String"]["output"]>; | ||
/** The phone number of the account. */ | ||
phoneNumber?: Maybe<Scalars["String"]["output"]>; | ||
}; | ||
/** Custom field definition. */ | ||
export type CustomFieldDefinition = { | ||
/** The definition ID of the custom field definition. */ | ||
definitionId: Scalars["ID"]["output"]; | ||
/** The description of the custom field definition. */ | ||
description?: Maybe<Scalars["String"]["output"]>; | ||
/** The entity type of the custom field definition. */ | ||
entityType?: Maybe<CustomFieldEntityType>; | ||
/** The key of the custom field definition. */ | ||
key?: Maybe<Scalars["String"]["output"]>; | ||
/** The owner of the custom field definition. */ | ||
owner?: Maybe<CustomFieldOwner>; | ||
/** Who can access the field value. Default is only within the users account. */ | ||
scopeType?: Maybe<ScopeType>; | ||
/** The title of the custom field definition. */ | ||
title?: Maybe<Scalars["String"]["output"]>; | ||
/** Title and description translations. */ | ||
translations?: Maybe<Array<Maybe<CustomFieldDefinitionTranslations>>>; | ||
/** The type of the custom field definition. */ | ||
type: CustomFieldType; | ||
/** If the custom field definition should be editable through the UI. */ | ||
uiEditable?: Maybe<Scalars["Boolean"]["output"]>; | ||
/** If the custom field definition should be UI visible. */ | ||
uiVisible?: Maybe<Scalars["Boolean"]["output"]>; | ||
}; | ||
/** Definition title and description translations. */ | ||
export type CustomFieldDefinitionTranslations = { | ||
__typename?: "CustomFieldDefinitionTranslations"; | ||
/** The description in the provided language. */ | ||
description?: Maybe<Scalars["String"]["output"]>; | ||
/** The translation language. */ | ||
language?: Maybe<Scalars["String"]["output"]>; | ||
/** The title in the provided language. */ | ||
title?: Maybe<Scalars["String"]["output"]>; | ||
}; | ||
export declare const customFieldEntityType: { | ||
@@ -159,24 +69,2 @@ readonly Account: "ACCOUNT"; | ||
export type CustomFieldEntityType = (typeof customFieldEntityType)[keyof typeof customFieldEntityType]; | ||
/** Custom field owner. */ | ||
export type CustomFieldOwner = { | ||
__typename?: "CustomFieldOwner"; | ||
/** The account ID of the custom field owner. */ | ||
accountId?: Maybe<Scalars["ID"]["output"]>; | ||
/** The iris app ID of the custom field owner. */ | ||
irisAppId?: Maybe<Scalars["String"]["output"]>; | ||
/** | ||
* The marketplace entry associated with the custom field. | ||
* | ||
* ⚙️ Complexity cost: 10 | ||
*/ | ||
marketplaceEntry?: Maybe<MarketplaceEntry>; | ||
/** The owner type of the custom field owner. */ | ||
ownerType: CustomFieldOwnerType; | ||
}; | ||
export declare const customFieldOwnerType: { | ||
readonly Account: "ACCOUNT"; | ||
readonly IrisApp: "IRIS_APP"; | ||
readonly Trackunit: "TRACKUNIT"; | ||
}; | ||
export type CustomFieldOwnerType = (typeof customFieldOwnerType)[keyof typeof customFieldOwnerType]; | ||
export declare const customFieldType: { | ||
@@ -195,89 +83,2 @@ readonly Boolean: "BOOLEAN"; | ||
export type CustomFieldType = (typeof customFieldType)[keyof typeof customFieldType]; | ||
/** Custom field value and definition. */ | ||
export type CustomFieldValueAndDefinition = { | ||
/** The definition of the custom field value and definition. */ | ||
definition: CustomFieldDefinition; | ||
/** The type of the custom field. */ | ||
type: CustomFieldType; | ||
/** The value ID of the custom field value and definition. */ | ||
valueId?: Maybe<Scalars["ID"]["output"]>; | ||
}; | ||
/** Custom field value and definition connection. */ | ||
export type CustomFieldValueAndDefinitionConnection = { | ||
__typename?: "CustomFieldValueAndDefinitionConnection"; | ||
/** The edges of the custom field value and definition connection. */ | ||
edges?: Maybe<Array<Maybe<CustomFieldValueAndDefinitionEdge>>>; | ||
/** The page info of the custom field value and definition connection. */ | ||
pageInfo?: Maybe<PageInfo>; | ||
}; | ||
/** Custom field value and definition edge. */ | ||
export type CustomFieldValueAndDefinitionEdge = { | ||
__typename?: "CustomFieldValueAndDefinitionEdge"; | ||
/** The cursor of the custom field value and definition edge. */ | ||
cursor?: Maybe<Scalars["String"]["output"]>; | ||
/** The node of the custom field value and definition edge. */ | ||
node?: Maybe<CustomFieldValueAndDefinition>; | ||
}; | ||
/** An entry in the marketplace */ | ||
export type MarketplaceEntry = { | ||
__typename?: "MarketplaceEntry"; | ||
/** Short description of the marketplace entry */ | ||
description?: Maybe<Scalars["String"]["output"]>; | ||
/** ID of the marketplace entry */ | ||
id: Scalars["ID"]["output"]; | ||
/** Iris App ID of the marketplace entry */ | ||
irisAppId: Scalars["String"]["output"]; | ||
/** Approved version of the marketplace entry */ | ||
irisAppVersion?: Maybe<Scalars["String"]["output"]>; | ||
/** Name of the marketplace entry */ | ||
name: Scalars["String"]["output"]; | ||
/** ID of the application in Okta */ | ||
oktaClientId?: Maybe<Scalars["String"]["output"]>; | ||
/** Name of the application in Okta */ | ||
oktaName?: Maybe<Scalars["String"]["output"]>; | ||
/** ID of the policy associated with the application in Okta */ | ||
policyId?: Maybe<Scalars["String"]["output"]>; | ||
/** Publisher of the Iris App */ | ||
publisher?: Maybe<Account>; | ||
/** Scopes used by the application */ | ||
scopes?: Maybe<Array<Maybe<Scope>>>; | ||
}; | ||
/** The base model that all models that contain an ID should inherited from. */ | ||
export type Node = { | ||
/** The unique identifier of the entity. */ | ||
id: Scalars["ID"]["output"]; | ||
}; | ||
/** PageInfo is information about the pagination. You can use this information to request either the next or previous pages by using the input for 'before' or 'after' */ | ||
export type PageInfo = { | ||
__typename?: "PageInfo"; | ||
/** Total edges count. */ | ||
count?: Maybe<Scalars["Int"]["output"]>; | ||
/** | ||
* The cursor representing the last record from the returned query. | ||
* Can be used to query before or after this record. | ||
*/ | ||
endCursor?: Maybe<Scalars["Cursor"]["output"]>; | ||
/** Whether the query has more records after the end cursor. */ | ||
hasNextPage: Scalars["Boolean"]["output"]; | ||
/** Whether the query has more records before the start cursor. */ | ||
hasPreviousPage: Scalars["Boolean"]["output"]; | ||
/** | ||
* The cursor representing the first record from the returned query. | ||
* Can be used to query before or after this record. | ||
*/ | ||
startCursor?: Maybe<Scalars["Cursor"]["output"]>; | ||
}; | ||
/** Application scope */ | ||
export type Scope = { | ||
__typename?: "Scope"; | ||
/** Last change date time */ | ||
changeDateTime?: Maybe<Scalars["DateTime"]["output"]>; | ||
/** Name of the scope */ | ||
name: Scalars["String"]["output"]; | ||
}; | ||
export declare const scopeType: { | ||
readonly Account: "ACCOUNT"; | ||
readonly Global: "GLOBAL"; | ||
}; | ||
export type ScopeType = (typeof scopeType)[keyof typeof scopeType]; | ||
export declare const systemOfMeasurement: { | ||
@@ -284,0 +85,0 @@ readonly Si: "SI"; |
407535
9105
27