UNPKG

@valueflows/vf-graphql

Version:

Reference GraphQL implementation of the ValueFlows spec

1,145 lines (1,014 loc) 177 kB
export type Maybe<T> = T | null; export type InputMaybe<T> = Maybe<T>; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; /** * The `DateTime` scalar type represents a DateTime value as specified by * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). */ DateTime: Date; /** * The `Decimal` scalar type represents arbitrary-precision floating-point * numbers as specified by * [IEEE 854-1987](https://en.wikipedia.org/wiki/IEEE_854-1987). They * are represented as strings. */ Decimal: any; /** The `URI` type simply declares a reference to an external web URL, Holochain entry or other resource. */ URI: string; /** Filtering module stub */ _vf_filtering_dummy: any; }; /** A boundary or context grouped around some other record- used for documenting, accounting, planning. */ export type AccountingScope = Organization | Person; /** * An action verb defining the kind of event, commitment, or intent. * It is recommended that the lowercase action verb should be used as the record ID * in order that references to `Action`s elsewhere in the system are easily readable. */ export type Action = { __typename?: 'Action'; id: Scalars['ID']; /** Denotes if a process input or output, or not related to a process. */ inputOutput?: Maybe<Scalars['String']>; /** A unique verb which defines the action. */ label: Scalars['String']; /** The onhand effect of an economic event on a resource, increment, decrement, no effect, or decrement resource and increment 'to' resource. */ onhandEffect: Scalars['String']; /** The action that should be included on the other direction of the process, for example accept with modify. */ pairsWith?: Maybe<Scalars['String']>; /** The accounting effect of an economic event on a resource, increment, decrement, no effect, or decrement resource and increment 'to' resource. */ resourceEffect: Scalars['String']; }; /** A person or group or organization with economic agency. */ export type Agent = { claims?: Maybe<IntentConnection>; claimsAsProvider?: Maybe<IntentConnection>; claimsAsReceiver?: Maybe<IntentConnection>; claimsInScope?: Maybe<IntentConnection>; commitments?: Maybe<CommitmentConnection>; commitmentsAsProvider?: Maybe<CommitmentConnection>; commitmentsAsReceiver?: Maybe<CommitmentConnection>; commitmentsInScope?: Maybe<CommitmentConnection>; economicEvents?: Maybe<EconomicEventConnection>; economicEventsAsProvider?: Maybe<EconomicEventConnection>; economicEventsAsReceiver?: Maybe<EconomicEventConnection>; economicEventsInScope?: Maybe<EconomicEventConnection>; id: Scalars['ID']; /** The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. */ image?: Maybe<Scalars['URI']>; intents?: Maybe<IntentConnection>; intentsAsProvider?: Maybe<IntentConnection>; intentsAsReceiver?: Maybe<IntentConnection>; intentsInScope?: Maybe<IntentConnection>; inventoriedEconomicResources?: Maybe<EconomicResourceConnection>; meta: RecordMeta; /** An informal or formal textual identifier for an agent. Does not imply uniqueness. */ name: Scalars['String']; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; plans?: Maybe<PlanConnection>; /** The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. */ primaryLocation?: Maybe<SpatialThing>; processes?: Maybe<ProcessConnection>; proposals?: Maybe<ProposalConnection>; proposalsInScope?: Maybe<ProposalConnection>; proposalsTo?: Maybe<ProposalConnection>; relationships?: Maybe<AgentRelationshipConnection>; relationshipsAsObject?: Maybe<AgentRelationshipConnection>; relationshipsAsSubject?: Maybe<AgentRelationshipConnection>; revision?: Maybe<Agent>; revisionId: Scalars['ID']; roles?: Maybe<Array<AgentRelationshipRole>>; scenariosInScope?: Maybe<ScenarioConnection>; }; /** A person or group or organization with economic agency. */ export type AgentClaimsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentClaimsAsProviderArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentClaimsAsReceiverArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentClaimsInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentCommitmentsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentCommitmentFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentCommitmentsAsProviderArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentCommitmentsAsReceiverArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentCommitmentsInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentEconomicEventsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentEventFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentEconomicEventsAsProviderArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentEconomicEventsAsReceiverArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentEconomicEventsInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentIntentsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentIntentFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentIntentsAsProviderArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentIntentsAsReceiverArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentIntentsInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentInventoriedEconomicResourcesArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentResourceFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentPlansArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentPlanFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentProcessesArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentProcessFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentProposalsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentProposalSearchParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentProposalsInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentProposalsToArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentRelationshipsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentRelationshipFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentRelationshipsAsObjectArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentRelationshipFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentRelationshipsAsSubjectArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; filter?: InputMaybe<AgentRelationshipFilterParams>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A person or group or organization with economic agency. */ export type AgentRevisionArgs = { revisionId: Scalars['ID']; }; /** A person or group or organization with economic agency. */ export type AgentScenariosInScopeArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** Query parameters for reading `Commitment`s related to an `Agent` */ export type AgentCommitmentFilterParams = { action?: InputMaybe<Scalars['ID']>; endDate?: InputMaybe<Scalars['DateTime']>; finished?: InputMaybe<Scalars['Boolean']>; searchString?: InputMaybe<Scalars['String']>; startDate?: InputMaybe<Scalars['DateTime']>; }; export type AgentConnection = { __typename?: 'AgentConnection'; edges: Array<AgentEdge>; pageInfo: PageInfo; }; export type AgentCreateParams = { /** The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. */ image?: InputMaybe<Scalars['URI']>; /** An informal or formal textual identifier for an agent. Does not imply uniqueness. */ name: Scalars['String']; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`SpatialThing`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. */ primaryLocation?: InputMaybe<Scalars['ID']>; }; export type AgentEdge = { __typename?: 'AgentEdge'; cursor: Scalars['String']; node: Agent; }; /** Query parameters for reading `EconomicEvent`s related to an `Agent` */ export type AgentEventFilterParams = { action?: InputMaybe<Scalars['ID']>; endDate?: InputMaybe<Scalars['DateTime']>; searchString?: InputMaybe<Scalars['String']>; startDate?: InputMaybe<Scalars['DateTime']>; }; export type AgentFilterParams = { /** Retrieve only agents with the specified classification(s). */ classifiedAs?: InputMaybe<Array<Scalars['ID']>>; }; /** Query parameters for reading `Intent`s related to an `Agent` */ export type AgentIntentFilterParams = { action?: InputMaybe<Scalars['ID']>; endDate?: InputMaybe<Scalars['DateTime']>; finished?: InputMaybe<Scalars['Boolean']>; searchString?: InputMaybe<Scalars['String']>; startDate?: InputMaybe<Scalars['DateTime']>; }; /** Query parameters for reading `Plan`s related to an `Agent` */ export type AgentPlanFilterParams = { finished?: InputMaybe<Scalars['Boolean']>; searchString?: InputMaybe<Scalars['String']>; }; /** Query parameters for reading `Process`es related to an `Agent` */ export type AgentProcessFilterParams = { finished?: InputMaybe<Scalars['Boolean']>; searchString?: InputMaybe<Scalars['String']>; }; /** The role of an economic relationship that exists between 2 agents, such as member, trading partner. */ export type AgentRelationship = { __typename?: 'AgentRelationship'; id: Scalars['ID']; /** Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: Maybe<Array<AccountingScope>>; meta: RecordMeta; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; /** The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. */ object: Agent; /** A kind of relationship that exists between 2 agents. */ relationship: AgentRelationshipRole; revision?: Maybe<AgentRelationship>; revisionId: Scalars['ID']; /** The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. */ subject: Agent; }; /** The role of an economic relationship that exists between 2 agents, such as member, trading partner. */ export type AgentRelationshipRevisionArgs = { revisionId: Scalars['ID']; }; export type AgentRelationshipConnection = { __typename?: 'AgentRelationshipConnection'; edges: Array<AgentRelationshipEdge>; pageInfo: PageInfo; }; export type AgentRelationshipCreateParams = { /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Agent`) The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. */ object: Scalars['ID']; /** (`AgentRelationshipRole`) The role of an economic relationship that exists between 2 agents, such as member, trading partner. */ relationship: Scalars['ID']; /** (`Agent`) The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. */ subject: Scalars['ID']; }; export type AgentRelationshipEdge = { __typename?: 'AgentRelationshipEdge'; cursor: Scalars['String']; node: AgentRelationship; }; export type AgentRelationshipFilterParams = { /** Retrieve only relationships relevant in the given accounting scope(s). */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** Retrieve only relationships matching these AgentRelationshipRole(s). */ roleId?: InputMaybe<Array<Scalars['ID']>>; }; export type AgentRelationshipResponse = { __typename?: 'AgentRelationshipResponse'; agentRelationship: AgentRelationship; }; /** A relationship role defining the kind of association one agent can have with another. */ export type AgentRelationshipRole = { __typename?: 'AgentRelationshipRole'; agentRelationships?: Maybe<AgentRelationshipConnection>; id: Scalars['ID']; /** The human readable name of the role, from the object to the subject. */ inverseRoleLabel?: Maybe<Scalars['String']>; meta: RecordMeta; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; revision?: Maybe<AgentRelationshipRole>; revisionId: Scalars['ID']; /** The human readable name of the role, from the subject to the object. */ roleLabel: Scalars['String']; }; /** A relationship role defining the kind of association one agent can have with another. */ export type AgentRelationshipRoleAgentRelationshipsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** A relationship role defining the kind of association one agent can have with another. */ export type AgentRelationshipRoleRevisionArgs = { revisionId: Scalars['ID']; }; export type AgentRelationshipRoleConnection = { __typename?: 'AgentRelationshipRoleConnection'; edges: Array<AgentRelationshipRoleEdge>; pageInfo: PageInfo; }; export type AgentRelationshipRoleCreateParams = { /** The human readable name of the role, inverse from the object to the subject. For example, 'has member'. */ inverseRoleLabel?: InputMaybe<Scalars['String']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** The human readable name of the role, inverse from the object to the subject. For example, 'is member of'. */ roleLabel: Scalars['String']; }; export type AgentRelationshipRoleEdge = { __typename?: 'AgentRelationshipRoleEdge'; cursor: Scalars['String']; node: AgentRelationshipRole; }; export type AgentRelationshipRoleResponse = { __typename?: 'AgentRelationshipRoleResponse'; agentRelationshipRole?: Maybe<AgentRelationshipRole>; }; export type AgentRelationshipRoleUpdateParams = { /** The human readable name of the role, inverse from the object to the subject. For example, 'has member'. */ inverseRoleLabel?: InputMaybe<Scalars['String']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; revisionId: Scalars['ID']; /** The human readable name of the role, inverse from the object to the subject. For example, 'is member of'. */ roleLabel?: InputMaybe<Scalars['String']>; }; export type AgentRelationshipUpdateParams = { /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Agent`) The object of a relationship between 2 agents. For example, if Mary is a member of a group, then the group is the object. */ object?: InputMaybe<Scalars['ID']>; /** (`AgentRelationshipRole`) The role of an economic relationship that exists between 2 agents, such as member, trading partner. */ relationship?: InputMaybe<Scalars['ID']>; revisionId: Scalars['ID']; /** (`Agent`) The subject of a relationship between 2 agents. For example, if Mary is a member of a group, then Mary is the subject. */ subject?: InputMaybe<Scalars['ID']>; }; /** Query parameters for reading `EconomicResource`s related to an `Agent` */ export type AgentResourceFilterParams = { page?: InputMaybe<Scalars['Int']>; resourceClassification?: InputMaybe<Scalars['URI']>; searchString?: InputMaybe<Scalars['String']>; }; export type AgentUpdateParams = { /** The uri to an image relevant to the agent, such as a logo, avatar, photo, etc. */ image?: InputMaybe<Scalars['URI']>; /** An informal or formal textual identifier for an agent. Does not imply uniqueness. */ name?: InputMaybe<Scalars['String']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`SpatialThing`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location. */ primaryLocation?: InputMaybe<Scalars['ID']>; revisionId: Scalars['ID']; }; /** Any type of agreement among economic agents. */ export type Agreement = { __typename?: 'Agreement'; commitments?: Maybe<Array<Commitment>>; /** The date and time the agreement was created. */ created?: Maybe<Scalars['DateTime']>; economicEvents?: Maybe<Array<EconomicEvent>>; id: Scalars['ID']; involvedAgents?: Maybe<AgentConnection>; meta: RecordMeta; /** An informal or formal textual identifier for an agreement. Does not imply uniqueness. */ name?: Maybe<Scalars['String']>; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; revision?: Maybe<Agreement>; revisionId: Scalars['ID']; unplannedEconomicEvents?: Maybe<Array<EconomicEvent>>; }; /** Any type of agreement among economic agents. */ export type AgreementInvolvedAgentsArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; /** Any type of agreement among economic agents. */ export type AgreementRevisionArgs = { revisionId: Scalars['ID']; }; export type AgreementConnection = { __typename?: 'AgreementConnection'; edges: Array<AgreementEdge>; pageInfo: PageInfo; }; export type AgreementCreateParams = { /** The date and time the agreement was created. */ created?: InputMaybe<Scalars['DateTime']>; /** An informal or formal textual identifier for an agreement. Does not imply uniqueness. */ name?: InputMaybe<Scalars['String']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; }; export type AgreementEdge = { __typename?: 'AgreementEdge'; cursor: Scalars['String']; node: Agreement; }; export type AgreementResponse = { __typename?: 'AgreementResponse'; agreement: Agreement; }; export type AgreementUpdateParams = { /** The date and time the agreement was created. */ created?: InputMaybe<Scalars['DateTime']>; /** An informal or formal textual identifier for an agreement. Does not imply uniqueness. */ name?: InputMaybe<Scalars['String']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; revisionId: Scalars['ID']; }; /** * A way to tie an economic event that is given in loose fulfilment for another economic event, without commitments or expectations. * Supports the gift economy. */ export type Appreciation = { __typename?: 'Appreciation'; /** The economic event this appreciation has been given in acknowledgement of. */ appreciationOf: EconomicEvent; /** The economic event provided as a gift in this appreciation. */ appreciationWith: EconomicEvent; id: Scalars['ID']; meta: RecordMeta; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; revision?: Maybe<Appreciation>; revisionId: Scalars['ID']; }; /** * A way to tie an economic event that is given in loose fulfilment for another economic event, without commitments or expectations. * Supports the gift economy. */ export type AppreciationRevisionArgs = { revisionId: Scalars['ID']; }; export type AppreciationConnection = { __typename?: 'AppreciationConnection'; edges: Array<AppreciationEdge>; pageInfo: PageInfo; }; export type AppreciationCreateParams = { /** (`EconomicEvent`) The economic event this appreciation has been given in acknowledgement of. */ appreciationOf: Scalars['ID']; /** (`EconomicEvent`) The economic event provided as a gift in this appreciation. */ appreciationWith: Scalars['ID']; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; }; export type AppreciationEdge = { __typename?: 'AppreciationEdge'; cursor: Scalars['String']; node: Appreciation; }; export type AppreciationResponse = { __typename?: 'AppreciationResponse'; appreciation: Appreciation; }; export type AppreciationUpdateParams = { /** (`EconomicEvent`) The economic event this appreciation has been given in acknowledgement of. */ appreciationOf?: InputMaybe<Scalars['ID']>; /** (`EconomicEvent`) The economic event provided as a gift in this appreciation. */ appreciationWith?: InputMaybe<Scalars['ID']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; revisionId: Scalars['ID']; }; /** A claim for a future economic event(s) in reciprocity for an economic event that already occurred. For example, a claim for payment for goods received. */ export type Claim = { __typename?: 'Claim'; /** Relates a claim to a verb, such as consume, produce, work, improve, etc. */ action: Action; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. */ agreedIn?: Maybe<Scalars['URI']>; /** The data on which the claim was made. */ created?: Maybe<Scalars['DateTime']>; /** The time the claim is expected to be settled. */ due?: Maybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: Maybe<Measure>; /** The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: Maybe<Scalars['Boolean']>; id: Scalars['ID']; /** Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: Maybe<Array<AccountingScope>>; meta: RecordMeta; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; /** The economic agent from whom the claim is expected. */ provider?: Maybe<Agent>; /** The economic agent whom the claim is for. */ receiver?: Maybe<Agent>; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: Maybe<Array<Scalars['URI']>>; /** The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: Maybe<ResourceSpecification>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: Maybe<Measure>; revision?: Maybe<Claim>; revisionId: Scalars['ID']; settledBy?: Maybe<SettlementConnection>; /** The economic event which already occurred which this claim has been made against. */ triggeredBy: EconomicEvent; }; /** A claim for a future economic event(s) in reciprocity for an economic event that already occurred. For example, a claim for payment for goods received. */ export type ClaimRevisionArgs = { revisionId: Scalars['ID']; }; /** A claim for a future economic event(s) in reciprocity for an economic event that already occurred. For example, a claim for payment for goods received. */ export type ClaimSettledByArgs = { after?: InputMaybe<Scalars['String']>; before?: InputMaybe<Scalars['String']>; first?: InputMaybe<Scalars['Int']>; last?: InputMaybe<Scalars['Int']>; }; export type ClaimConnection = { __typename?: 'ClaimConnection'; edges: Array<ClaimEdge>; pageInfo: PageInfo; }; export type ClaimCreateParams = { /** (`Action`) Relates a claim to a verb, such as consume, produce, work, improve, etc. */ action: Scalars['ID']; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. */ agreedIn?: InputMaybe<Scalars['URI']>; /** The data on which the claim was made. */ created?: InputMaybe<Scalars['DateTime']>; /** The time the claim is expected to be settled. */ due?: InputMaybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: InputMaybe<IMeasure>; /** The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: InputMaybe<Scalars['Boolean']>; /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Agent`) The economic agent from whom the claim is expected. */ provider?: InputMaybe<Scalars['ID']>; /** (`Agent`) The economic agent whom the claim is for. */ receiver?: InputMaybe<Scalars['ID']>; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; /** (`ResourceSpecification`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: InputMaybe<Scalars['ID']>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: InputMaybe<IMeasure>; /** (`EconomicEvent`) The economic event which already occurred which this claim has been made against. */ triggeredBy: Scalars['ID']; }; export type ClaimEdge = { __typename?: 'ClaimEdge'; cursor: Scalars['String']; node: Claim; }; export type ClaimFilterParams = { action?: InputMaybe<Array<Scalars['ID']>>; endDate?: InputMaybe<Scalars['DateTime']>; finished?: InputMaybe<Scalars['Boolean']>; inScopeOf?: InputMaybe<Array<Scalars['ID']>>; providerId?: InputMaybe<Array<Scalars['ID']>>; receiverId?: InputMaybe<Array<Scalars['ID']>>; resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; resourceConformsTo?: InputMaybe<Array<Scalars['ID']>>; startDate?: InputMaybe<Scalars['DateTime']>; }; export type ClaimResponse = { __typename?: 'ClaimResponse'; claim: Claim; }; export type ClaimUpdateParams = { /** (`Action`) Relates a claim to a verb, such as consume, produce, work, improve, etc. */ action?: InputMaybe<Scalars['ID']>; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this claim. */ agreedIn?: InputMaybe<Scalars['URI']>; /** The data on which the claim was made. */ created?: InputMaybe<Scalars['DateTime']>; /** The time the claim is expected to be settled. */ due?: InputMaybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: InputMaybe<IMeasure>; /** The claim is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: InputMaybe<Scalars['Boolean']>; /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Agent`) The economic agent from whom the claim is expected. */ provider?: InputMaybe<Scalars['ID']>; /** (`Agent`) The economic agent whom the claim is for. */ receiver?: InputMaybe<Scalars['ID']>; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; /** (`ResourceSpecification`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: InputMaybe<Scalars['ID']>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: InputMaybe<IMeasure>; revisionId: Scalars['ID']; /** (`EconomicEvent`) The economic event which already occurred which this claim has been made against. */ triggeredBy?: InputMaybe<Scalars['ID']>; }; /** A planned economic flow that has been promised by an agent to another agent. */ export type Commitment = { __typename?: 'Commitment'; /** Relates a commitment to a verb, such as consume, produce, work, improve, etc. */ action: Action; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. */ agreedIn?: Maybe<Scalars['URI']>; /** The place where a commitment occurs. Usually mappable. */ atLocation?: Maybe<SpatialThing>; /** This commitment is part of the exchange agreement. */ clauseOf?: Maybe<Agreement>; /** The creation time of the commitment. */ created?: Maybe<Scalars['DateTime']>; /** The commitment can be safely deleted, has no dependent information. */ deletable?: Maybe<Scalars['Boolean']>; /** The time something is expected to be complete. */ due?: Maybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: Maybe<Measure>; /** The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: Maybe<Scalars['Boolean']>; fulfilledBy?: Maybe<Array<EconomicEvent>>; /** The planned beginning of the commitment. */ hasBeginning?: Maybe<Scalars['DateTime']>; /** The planned end of the commitment. */ hasEnd?: Maybe<Scalars['DateTime']>; /** The planned date/time for the commitment. Can be used instead of beginning and end. */ hasPointInTime?: Maybe<Scalars['DateTime']>; id: Scalars['ID']; /** Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: Maybe<Array<AccountingScope>>; /** Represents a desired deliverable expected from this plan. */ independentDemandOf?: Maybe<Plan>; /** Defines the process to which this commitment is an input. */ inputOf?: Maybe<Process>; involvedAgents?: Maybe<Array<Agent>>; meta: RecordMeta; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; /** Defines the process for which this commitment is an output. */ outputOf?: Maybe<Process>; /** The transfer commitment is part of the plan. */ plannedWithin?: Maybe<Plan>; /** The economic agent from whom the commitment is initiated. */ provider: Agent; /** The economic agent whom the commitment is for. */ receiver: Agent; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: Maybe<Array<Scalars['URI']>>; /** The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: Maybe<ResourceSpecification>; /** Exact economic resource involved in the commitment. */ resourceInventoriedAs?: Maybe<EconomicResource>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: Maybe<Measure>; revision?: Maybe<Commitment>; revisionId: Scalars['ID']; /** The intent which this commitment satisfies. */ satisfies?: Maybe<Intent>; /** References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process. */ stage?: Maybe<ProcessSpecification>; }; /** A planned economic flow that has been promised by an agent to another agent. */ export type CommitmentRevisionArgs = { revisionId: Scalars['ID']; }; export type CommitmentConnection = { __typename?: 'CommitmentConnection'; edges: Array<CommitmentEdge>; pageInfo: PageInfo; }; export type CommitmentCreateParams = { /** (`Action`) Relates a commitment to a verb, such as consume, produce, work, improve, etc. */ action: Scalars['ID']; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. */ agreedIn?: InputMaybe<Scalars['URI']>; /** (`SpatialThing`) The place where an commitment occurs. Usually mappable. */ atLocation?: InputMaybe<Scalars['ID']>; /** (`Agreement`) This commitment is part of the agreement. */ clauseOf?: InputMaybe<Scalars['ID']>; /** The time something is expected to be complete. */ due?: InputMaybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: InputMaybe<IMeasure>; /** The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: InputMaybe<Scalars['Boolean']>; /** The planned beginning of the commitment. */ hasBeginning?: InputMaybe<Scalars['DateTime']>; /** The planned end of the commitment. */ hasEnd?: InputMaybe<Scalars['DateTime']>; /** The planned date/time for the commitment. Can be used instead of beginning and end. */ hasPointInTime?: InputMaybe<Scalars['DateTime']>; /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** (`Plan`) Represents a desired deliverable expected from this plan. */ independentDemandOf?: InputMaybe<Scalars['ID']>; /** (`Process`) Defines the process to which this commitment is an input. */ inputOf?: InputMaybe<Scalars['ID']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Process`) Defines the process for which this commitment is an output. */ outputOf?: InputMaybe<Scalars['ID']>; /** (`Plan`) The transfer commitment is part of the plan. */ plannedWithin?: InputMaybe<Scalars['ID']>; /** (`Agent`) The economic agent from whom the commitment is initiated. */ provider: Scalars['ID']; /** (`Agent`) The economic agent whom the commitment is for. */ receiver: Scalars['ID']; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; /** (`ResourceSpecification`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: InputMaybe<Scalars['ID']>; /** (`EconomicResource`) Exact economic resource involved in the commitment. */ resourceInventoriedAs?: InputMaybe<Scalars['ID']>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: InputMaybe<IMeasure>; /** The intent which this commitment satisfies. */ satisfies?: InputMaybe<Scalars['ID']>; /** The process stage of the commitment. */ stage?: InputMaybe<Scalars['URI']>; }; export type CommitmentEdge = { __typename?: 'CommitmentEdge'; cursor: Scalars['String']; node: Commitment; }; export type CommitmentFilterParams = { action?: InputMaybe<Array<Scalars['ID']>>; endDate?: InputMaybe<Scalars['DateTime']>; finished?: InputMaybe<Scalars['Boolean']>; inScopeOf?: InputMaybe<Array<Scalars['ID']>>; providerId?: InputMaybe<Array<Scalars['ID']>>; receiverId?: InputMaybe<Array<Scalars['ID']>>; resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; resourceConformsTo?: InputMaybe<Array<Scalars['ID']>>; searchString?: InputMaybe<Scalars['String']>; startDate?: InputMaybe<Scalars['DateTime']>; }; export type CommitmentResponse = { __typename?: 'CommitmentResponse'; commitment: Commitment; }; export type CommitmentUpdateParams = { /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this commitment. */ agreedIn?: InputMaybe<Scalars['URI']>; /** (`SpatialThing`) The place where an commitment occurs. Usually mappable. */ atLocation?: InputMaybe<Scalars['ID']>; /** (`Agreement`) This commitment is part of the agreement. */ clauseOf?: InputMaybe<Scalars['ID']>; /** The time something is expected to be complete. */ due?: InputMaybe<Scalars['DateTime']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: InputMaybe<IMeasure>; /** The commitment is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done. */ finished?: InputMaybe<Scalars['Boolean']>; /** The planned beginning of the commitment. */ hasBeginning?: InputMaybe<Scalars['DateTime']>; /** The planned end of the commitment. */ hasEnd?: InputMaybe<Scalars['DateTime']>; /** The planned date/time for the commitment. Can be used instead of beginning and end. */ hasPointInTime?: InputMaybe<Scalars['DateTime']>; /** (`AccountingScope`) Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: InputMaybe<Array<Scalars['ID']>>; /** (`Plan`) Represents a desired deliverable expected from this plan. */ independentDemandOf?: InputMaybe<Scalars['ID']>; /** (`Process`) Defines the process to which this commitment is an input. */ inputOf?: InputMaybe<Scalars['ID']>; /** A textual description or comment. */ note?: InputMaybe<Scalars['String']>; /** (`Process`) Defines the process for which this commitment is an output. */ outputOf?: InputMaybe<Scalars['ID']>; /** (`Plan`) The transfer commitment is part of the plan. */ plannedWithin?: InputMaybe<Scalars['ID']>; /** (`Agent`) The economic agent from whom the commitment is initiated. */ provider?: InputMaybe<Scalars['ID']>; /** (`Agent`) The economic agent whom the commitment is for. */ receiver?: InputMaybe<Scalars['ID']>; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: InputMaybe<Array<Scalars['URI']>>; /** (`ResourceSpecification`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: InputMaybe<Scalars['ID']>; /** (`EconomicResource`) Exact economic resource involved in the commitment. */ resourceInventoriedAs?: InputMaybe<Scalars['ID']>; /** The amount and unit of the economic resource counted or inventoried. */ resourceQuantity?: InputMaybe<IMeasure>; revisionId: Scalars['ID']; /** The intent which this commitment satisfies. */ satisfies?: InputMaybe<Scalars['ID']>; /** The process stage of the commitment. */ stage?: InputMaybe<Scalars['URI']>; }; /** A `Duration` represents an interval between two `DateTime` values. */ export type Duration = { __typename?: 'Duration'; /** A number representing the duration, will be paired with a unit. */ numericDuration: Scalars['Decimal']; /** A unit of measure. */ unitType: TimeUnit; }; /** An observed economic flow, as opposed to a flow planned to happen in the future. This could reflect a change in the quantity of an economic resource. It is also defined by its behavior in relation to the economic resource (see `Action`) */ export type EconomicEvent = { __typename?: 'EconomicEvent'; /** Relates an economic event to a verb, such as consume, produce, work, improve, etc. */ action: Action; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this economic event. */ agreedIn?: Maybe<Scalars['URI']>; appreciationOf?: Maybe<Array<Appreciation>>; appreciationWith?: Maybe<Array<Appreciation>>; /** The place where an economic event occurs. Usually mappable. */ atLocation?: Maybe<SpatialThing>; /** The economic event that this economic event corrects. */ corrects?: Maybe<EconomicEvent>; /** The economic event can be safely deleted, has no dependent information. */ deletable?: Maybe<Scalars['Boolean']>; /** The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness. */ effortQuantity?: Maybe<Measure>; /** The commitment this economic event fulfills. */ fulfills?: Maybe<Array<Commitment>>; /** The beginning of the economic event. */ hasBeginning?: Maybe<Scalars['DateTime']>; /** The end of the economic event. */ hasEnd?: Maybe<Scalars['DateTime']>; /** The date/time at which the economic event occurred. Can be used instead of beginning and end. */ hasPointInTime?: Maybe<Scalars['DateTime']>; id: Scalars['ID']; /** Grouping around something to create a boundary or context, used for documenting, accounting, planning. */ inScopeOf?: Maybe<Array<AccountingScope>>; /** Defines the process to which this event is an input. */ inputOf?: Maybe<Process>; meta: RecordMeta; next?: Maybe<Array<ProductionFlowItem>>; /** A textual description or comment. */ note?: Maybe<Scalars['String']>; /** Defines the process for which this event is an output. */ outputOf?: Maybe<Process>; previous?: Maybe<Array<ProductionFlowItem>>; /** The economic agent from whom the actual economic event is initiated. */ provider: Agent; /** This economic event occurs as part of this agreement. */ realizationOf?: Maybe<Agreement>; /** The economic agent whom the actual economic event is for. */ receiver: Agent; /** References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping. */ resourceClassifiedAs?: Maybe<Array<Scalars['URI']>>; /** The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is. */ resourceConformsTo?: Maybe<ResourceSpecification>; /** Economic resource involved in the economic event. */ resourceInventoriedAs?: Maybe<EconomicResource>; /** The amount and unit of the economic resource counted or inventoried. This is the quantity that could be used to increment or decrement a resource, depending on the type of resource and resource effect of action. */ resourceQuantity?: Maybe<Measure>; revision?: Maybe<EconomicEvent>; revisionId: Scalars['ID']; /** The intent this economic event satisfies. */ satisfies?: Maybe<Array<Intent>>; settles?: Maybe<Array<Settlement>>; /** The new location of the receiver resource. */ toLocation?: Maybe<SpatialThing>; /** Additional economic resource on the economic event when needed by the receiver. Used when a transfer or move, or sometimes other actions, requires explicitly identifying an economic resource on the receiving side. */ toResourceInventoriedAs?: Maybe<EconomicResource>; trace?: Maybe<Array<TrackTraceItem>>; track?: Maybe<Array<TrackTraceItem>>; /** References another economic event that implied this economic event, often based on a prior agreement. */ triggeredBy?: Maybe<EconomicEvent>; /** Other EconomicEvents which have been triggered by this one. */ triggers?: Maybe<Array<EconomicEvent>>; }; /** An observed economic flow, as opposed to a flow planned to happen in the future. This could reflect a change in the quantity of an economic resource. It is also defined by its behavior in relation to the economic resource (see `Action`) */ export type EconomicEventRevisionArgs = { revisionId: Scalars['ID']; }; export type EconomicEventConnection = { __typename?: 'EconomicEventConnection'; edges: Array<EconomicEventEdge>; pageInfo: PageInfo; }; export type EconomicEventCreateParams = { /** (`Action`) Relates an economic event to a verb, such as consume, produce, work, improve, etc. */ action: Scalars['ID']; /** Reference to an agreement between agents which specifies the rules or policies or calculations which govern this economic event.