@fedify/vocab 2.3.0-pr.809.39 → 2.4.0-dev.1417

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mod.d.cts CHANGED
@@ -4604,6 +4604,314 @@ declare class Multikey {
4604
4604
  }): Promise<Multikey>;
4605
4605
  protected _getCustomInspectProxy(): Record<string, unknown>;
4606
4606
  }
4607
+ /** The agreement reached between parties responding to a {@link Proposal}.
4608
+ *
4609
+ * An interested party sends an `Agreement` wrapped in an {@link Offer}
4610
+ * activity. The proposing party then either finalizes the agreement by
4611
+ * sending an {@link Accept} activity with the finalized `Agreement` as
4612
+ * its `result`, or sends a {@link Reject} activity.
4613
+ *
4614
+ * Note: This type extends ActivityStreams `Object` for practical
4615
+ * interoperability within ActivityPub federation, even though FEP-0837
4616
+ * defines `Agreement` as a pure ValueFlows type. Extending `Object`
4617
+ * provides useful inherited properties such as `id`, `attributedTo`,
4618
+ * `url`, `to`, and `published` without needing to redefine them.
4619
+ */
4620
+ declare class Agreement extends Object$1 {
4621
+ #private;
4622
+ /**
4623
+ * The type URI of {@link Agreement}: `https://w3id.org/valueflows/ont/vf#Agreement`.
4624
+ */
4625
+ static override get typeId(): URL;
4626
+ /**
4627
+ * Constructs a new instance of Agreement with the given values.
4628
+ * @param values The values to initialize the instance with.
4629
+ * @param options The options to use for initialization.
4630
+ */
4631
+ constructor(values: {
4632
+ id?: URL | null;
4633
+ attachments?: (Object$1 | Link | PropertyValue | URL)[];
4634
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
4635
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
4636
+ audience?: Object$1 | URL | null;
4637
+ audiences?: (Object$1 | URL)[];
4638
+ content?: string | LanguageString$1 | null;
4639
+ contents?: ((string | LanguageString$1))[];
4640
+ contexts?: (Object$1 | Link | URL)[];
4641
+ name?: string | LanguageString$1 | null;
4642
+ names?: ((string | LanguageString$1))[];
4643
+ endTime?: Temporal.Instant | null;
4644
+ generators?: (Object$1 | Link | URL)[];
4645
+ icon?: Image | URL | null;
4646
+ icons?: (Image | URL)[];
4647
+ image?: Image | URL | null;
4648
+ images?: (Image | URL)[];
4649
+ replyTarget?: Object$1 | Link | URL | null;
4650
+ replyTargets?: (Object$1 | Link | URL)[];
4651
+ location?: Object$1 | Link | URL | null;
4652
+ locations?: (Object$1 | Link | URL)[];
4653
+ preview?: Link | Object$1 | URL | null;
4654
+ previews?: (Link | Object$1 | URL)[];
4655
+ published?: Temporal.Instant | null;
4656
+ replies?: Collection | URL | null;
4657
+ shares?: Collection | URL | null;
4658
+ likes?: Collection | URL | null;
4659
+ emojiReactions?: Collection | URL | null;
4660
+ startTime?: Temporal.Instant | null;
4661
+ summary?: string | LanguageString$1 | null;
4662
+ summaries?: ((string | LanguageString$1))[];
4663
+ tags?: (Object$1 | Link | URL)[];
4664
+ updated?: Temporal.Instant | null;
4665
+ url?: URL | Link | null;
4666
+ urls?: ((URL | Link))[];
4667
+ to?: Object$1 | URL | null;
4668
+ tos?: (Object$1 | URL)[];
4669
+ bto?: Object$1 | URL | null;
4670
+ btos?: (Object$1 | URL)[];
4671
+ cc?: Object$1 | URL | null;
4672
+ ccs?: (Object$1 | URL)[];
4673
+ bcc?: Object$1 | URL | null;
4674
+ bccs?: (Object$1 | URL)[];
4675
+ mediaType?: string | null;
4676
+ duration?: Temporal.Duration | null;
4677
+ sensitive?: boolean | null;
4678
+ source?: Source | null;
4679
+ proof?: DataIntegrityProof | URL | null;
4680
+ proofs?: (DataIntegrityProof | URL)[];
4681
+ interactionPolicy?: InteractionPolicy | null;
4682
+ approvedBy?: URL | null;
4683
+ likeAuthorization?: LikeAuthorization | URL | null;
4684
+ replyAuthorization?: ReplyAuthorization | URL | null;
4685
+ announceAuthorization?: AnnounceAuthorization | URL | null;
4686
+ stipulates?: Commitment | null;
4687
+ stipulatesReciprocal?: Commitment | null;
4688
+ }, options?: {
4689
+ documentLoader?: DocumentLoader$1;
4690
+ contextLoader?: DocumentLoader$1;
4691
+ tracerProvider?: TracerProvider;
4692
+ });
4693
+ /**
4694
+ * Clones this instance, optionally updating it with the given values.
4695
+ * @param values The values to update the clone with.
4696
+ * @param options The options to use for cloning.
4697
+ * @returns The cloned instance.
4698
+ */
4699
+ override clone(values?: {
4700
+ id?: URL | null;
4701
+ attachments?: (Object$1 | Link | PropertyValue | URL)[];
4702
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
4703
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
4704
+ audience?: Object$1 | URL | null;
4705
+ audiences?: (Object$1 | URL)[];
4706
+ content?: string | LanguageString$1 | null;
4707
+ contents?: ((string | LanguageString$1))[];
4708
+ contexts?: (Object$1 | Link | URL)[];
4709
+ name?: string | LanguageString$1 | null;
4710
+ names?: ((string | LanguageString$1))[];
4711
+ endTime?: Temporal.Instant | null;
4712
+ generators?: (Object$1 | Link | URL)[];
4713
+ icon?: Image | URL | null;
4714
+ icons?: (Image | URL)[];
4715
+ image?: Image | URL | null;
4716
+ images?: (Image | URL)[];
4717
+ replyTarget?: Object$1 | Link | URL | null;
4718
+ replyTargets?: (Object$1 | Link | URL)[];
4719
+ location?: Object$1 | Link | URL | null;
4720
+ locations?: (Object$1 | Link | URL)[];
4721
+ preview?: Link | Object$1 | URL | null;
4722
+ previews?: (Link | Object$1 | URL)[];
4723
+ published?: Temporal.Instant | null;
4724
+ replies?: Collection | URL | null;
4725
+ shares?: Collection | URL | null;
4726
+ likes?: Collection | URL | null;
4727
+ emojiReactions?: Collection | URL | null;
4728
+ startTime?: Temporal.Instant | null;
4729
+ summary?: string | LanguageString$1 | null;
4730
+ summaries?: ((string | LanguageString$1))[];
4731
+ tags?: (Object$1 | Link | URL)[];
4732
+ updated?: Temporal.Instant | null;
4733
+ url?: URL | Link | null;
4734
+ urls?: ((URL | Link))[];
4735
+ to?: Object$1 | URL | null;
4736
+ tos?: (Object$1 | URL)[];
4737
+ bto?: Object$1 | URL | null;
4738
+ btos?: (Object$1 | URL)[];
4739
+ cc?: Object$1 | URL | null;
4740
+ ccs?: (Object$1 | URL)[];
4741
+ bcc?: Object$1 | URL | null;
4742
+ bccs?: (Object$1 | URL)[];
4743
+ mediaType?: string | null;
4744
+ duration?: Temporal.Duration | null;
4745
+ sensitive?: boolean | null;
4746
+ source?: Source | null;
4747
+ proof?: DataIntegrityProof | URL | null;
4748
+ proofs?: (DataIntegrityProof | URL)[];
4749
+ interactionPolicy?: InteractionPolicy | null;
4750
+ approvedBy?: URL | null;
4751
+ likeAuthorization?: LikeAuthorization | URL | null;
4752
+ replyAuthorization?: ReplyAuthorization | URL | null;
4753
+ announceAuthorization?: AnnounceAuthorization | URL | null;
4754
+ stipulates?: Commitment | null;
4755
+ stipulatesReciprocal?: Commitment | null;
4756
+ }, options?: {
4757
+ documentLoader?: DocumentLoader$1;
4758
+ contextLoader?: DocumentLoader$1;
4759
+ }): Agreement;
4760
+ /** The primary {@link Commitment} associated with the agreement. This
4761
+ * commitment satisfies the primary {@link Intent} of the corresponding
4762
+ * {@link Proposal}.
4763
+ */
4764
+ get stipulates(): Commitment | null;
4765
+ /** The reciprocal {@link Commitment} associated with the agreement.
4766
+ * Required if the corresponding {@link Proposal} has a reciprocal
4767
+ * {@link Intent}.
4768
+ */
4769
+ get stipulatesReciprocal(): Commitment | null;
4770
+ /**
4771
+ * Converts this object to a JSON-LD structure.
4772
+ * @param options The options to use.
4773
+ * - `format`: The format of the output: `compact` or
4774
+ `expand`.
4775
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4776
+ * - `context`: The JSON-LD context to use. Not applicable
4777
+ when `format` is set to `'expand'`.
4778
+ * @returns The JSON-LD representation of this object.
4779
+ */
4780
+ override toJsonLd(options?: {
4781
+ format?: "compact" | "expand";
4782
+ contextLoader?: DocumentLoader$1;
4783
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4784
+ }): Promise<unknown>;
4785
+ protected override isCompactable(): boolean;
4786
+ /**
4787
+ * Converts a JSON-LD structure to an object of this type.
4788
+ * @param json The JSON-LD structure to convert.
4789
+ * @param options The options to use.
4790
+ * - `documentLoader`: The loader for remote JSON-LD documents.
4791
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4792
+ * - `tracerProvider`: The OpenTelemetry tracer provider to use.
4793
+ * If omitted, the global tracer provider is used.
4794
+ * @returns The object of this type.
4795
+ * @throws {TypeError} If the given `json` is invalid.
4796
+ */
4797
+ static override fromJsonLd(json: unknown, options?: {
4798
+ documentLoader?: DocumentLoader$1;
4799
+ contextLoader?: DocumentLoader$1;
4800
+ tracerProvider?: TracerProvider;
4801
+ baseUrl?: URL;
4802
+ }): Promise<Agreement>;
4803
+ protected static __fromJsonLd__Agreement__(json: unknown, span: Span, options?: {
4804
+ documentLoader?: DocumentLoader$1;
4805
+ contextLoader?: DocumentLoader$1;
4806
+ tracerProvider?: TracerProvider;
4807
+ baseUrl?: URL;
4808
+ }): Promise<Agreement>;
4809
+ protected override _getCustomInspectProxy(): Record<string, unknown>;
4810
+ }
4811
+ /** A promised economic transaction, referenced by an {@link Agreement}.
4812
+ *
4813
+ * A commitment satisfies an {@link Intent} of a {@link Proposal} and
4814
+ * specifies the actual amount of the economic resource being committed.
4815
+ */
4816
+ declare class Commitment {
4817
+ #private;
4818
+ readonly id: URL | null;
4819
+ protected get _documentLoader(): DocumentLoader$1 | undefined;
4820
+ protected get _contextLoader(): DocumentLoader$1 | undefined;
4821
+ protected get _tracerProvider(): TracerProvider | undefined;
4822
+ protected get _warning(): {
4823
+ category: string[];
4824
+ message: string;
4825
+ values?: Record<string, unknown>;
4826
+ } | undefined;
4827
+ protected get _cachedJsonLd(): unknown | undefined;
4828
+ protected set _cachedJsonLd(value: unknown | undefined);
4829
+ protected get _baseUrl(): URL | undefined;
4830
+ /**
4831
+ * The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
4832
+ */
4833
+ static get typeId(): URL;
4834
+ /**
4835
+ * Constructs a new instance of Commitment with the given values.
4836
+ * @param values The values to initialize the instance with.
4837
+ * @param options The options to use for initialization.
4838
+ */
4839
+ constructor(values: {
4840
+ id?: URL | null;
4841
+ satisfies?: URL | null;
4842
+ resourceQuantity?: Measure | null;
4843
+ }, options?: {
4844
+ documentLoader?: DocumentLoader$1;
4845
+ contextLoader?: DocumentLoader$1;
4846
+ tracerProvider?: TracerProvider;
4847
+ });
4848
+ /**
4849
+ * Clones this instance, optionally updating it with the given values.
4850
+ * @param values The values to update the clone with.
4851
+ * @param options The options to use for cloning.
4852
+ * @returns The cloned instance.
4853
+ */
4854
+ clone(values?: {
4855
+ id?: URL | null;
4856
+ satisfies?: URL | null;
4857
+ resourceQuantity?: Measure | null;
4858
+ }, options?: {
4859
+ documentLoader?: DocumentLoader$1;
4860
+ contextLoader?: DocumentLoader$1;
4861
+ }): Commitment;
4862
+ /** The {@link Intent} of a {@link Proposal} that this commitment
4863
+ * satisfies. The value is the proposal's URI with a
4864
+ * [fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
4865
+ * appended to identify the intent. Recommended fragments are
4866
+ * `primary` and `reciprocal`.
4867
+ */
4868
+ get satisfies(): URL | null;
4869
+ /** The amount and unit of the economic resource being committed. The
4870
+ * unit must match the unit specified in the corresponding {@link Intent}
4871
+ * of the proposal.
4872
+ */
4873
+ get resourceQuantity(): Measure | null;
4874
+ /**
4875
+ * Converts this object to a JSON-LD structure.
4876
+ * @param options The options to use.
4877
+ * - `format`: The format of the output: `compact` or
4878
+ `expand`.
4879
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4880
+ * - `context`: The JSON-LD context to use. Not applicable
4881
+ when `format` is set to `'expand'`.
4882
+ * @returns The JSON-LD representation of this object.
4883
+ */
4884
+ toJsonLd(options?: {
4885
+ format?: "compact" | "expand";
4886
+ contextLoader?: DocumentLoader$1;
4887
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4888
+ }): Promise<unknown>;
4889
+ protected isCompactable(): boolean;
4890
+ /**
4891
+ * Converts a JSON-LD structure to an object of this type.
4892
+ * @param json The JSON-LD structure to convert.
4893
+ * @param options The options to use.
4894
+ * - `documentLoader`: The loader for remote JSON-LD documents.
4895
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4896
+ * - `tracerProvider`: The OpenTelemetry tracer provider to use.
4897
+ * If omitted, the global tracer provider is used.
4898
+ * @returns The object of this type.
4899
+ * @throws {TypeError} If the given `json` is invalid.
4900
+ */
4901
+ static fromJsonLd(json: unknown, options?: {
4902
+ documentLoader?: DocumentLoader$1;
4903
+ contextLoader?: DocumentLoader$1;
4904
+ tracerProvider?: TracerProvider;
4905
+ baseUrl?: URL;
4906
+ }): Promise<Commitment>;
4907
+ protected static __fromJsonLd__Commitment__(json: unknown, span: Span, options?: {
4908
+ documentLoader?: DocumentLoader$1;
4909
+ contextLoader?: DocumentLoader$1;
4910
+ tracerProvider?: TracerProvider;
4911
+ baseUrl?: URL;
4912
+ }): Promise<Commitment>;
4913
+ protected _getCustomInspectProxy(): Record<string, unknown>;
4914
+ }
4607
4915
  /** A proposed economic transaction describing what is being offered or requested
4608
4916
  * in a {@link Proposal}.
4609
4917
  */
@@ -18089,7 +18397,7 @@ declare class View extends Activity {
18089
18397
  /**
18090
18398
  * Constructor types for all generated vocabulary entity classes.
18091
18399
  */
18092
- type $EntityType = typeof Object$1 | typeof Emoji | typeof ChatMessage | typeof Activity | typeof EmojiReact | typeof AnnounceAuthorization | typeof AnnounceRequest | typeof LikeAuthorization | typeof LikeRequest | typeof ReplyAuthorization | typeof ReplyRequest | typeof QuoteAuthorization | typeof QuoteRequest | typeof DidService | typeof Export | typeof DataIntegrityProof | typeof CryptographicKey | typeof Multikey | typeof Proposal | typeof Accept | typeof Add | typeof Announce | typeof Application | typeof IntransitiveActivity | typeof Arrive | typeof Article | typeof Document | typeof Audio | typeof Ignore | typeof Block | typeof Collection | typeof CollectionPage | typeof Create | typeof Delete | typeof Dislike | typeof Event | typeof Flag | typeof Follow | typeof Group | typeof Image | typeof Offer | typeof Invite | typeof Join | typeof Leave | typeof Like | typeof Listen | typeof Move | typeof Note | typeof OrderedCollection | typeof OrderedCollectionPage | typeof Organization | typeof Page | typeof Person | typeof Place | typeof Profile | typeof Question | typeof Read | typeof Reject | typeof Relationship | typeof Remove | typeof Service | typeof TentativeAccept | typeof TentativeReject | typeof Tombstone | typeof Travel | typeof Undo | typeof Update | typeof Video | typeof View;
18400
+ type $EntityType = typeof Object$1 | typeof Emoji | typeof ChatMessage | typeof Activity | typeof EmojiReact | typeof AnnounceAuthorization | typeof AnnounceRequest | typeof LikeAuthorization | typeof LikeRequest | typeof ReplyAuthorization | typeof ReplyRequest | typeof QuoteAuthorization | typeof QuoteRequest | typeof DidService | typeof Export | typeof DataIntegrityProof | typeof CryptographicKey | typeof Multikey | typeof Agreement | typeof Proposal | typeof Accept | typeof Add | typeof Announce | typeof Application | typeof IntransitiveActivity | typeof Arrive | typeof Article | typeof Document | typeof Audio | typeof Ignore | typeof Block | typeof Collection | typeof CollectionPage | typeof Create | typeof Delete | typeof Dislike | typeof Event | typeof Flag | typeof Follow | typeof Group | typeof Image | typeof Offer | typeof Invite | typeof Join | typeof Leave | typeof Like | typeof Listen | typeof Move | typeof Note | typeof OrderedCollection | typeof OrderedCollectionPage | typeof Organization | typeof Page | typeof Person | typeof Place | typeof Profile | typeof Question | typeof Read | typeof Reject | typeof Relationship | typeof Remove | typeof Service | typeof TentativeAccept | typeof TentativeReject | typeof Tombstone | typeof Travel | typeof Undo | typeof Update | typeof Video | typeof View;
18093
18401
  /**
18094
18402
  * Checks whether the given value is a generated vocabulary entity class.
18095
18403
  */
@@ -18589,4 +18897,4 @@ declare function getTypeId(object: Object$1 | Link | null): URL | null;
18589
18897
  */
18590
18898
  declare function getTypeId(object: Object$1 | Link | null | undefined): URL | null | undefined;
18591
18899
  //#endregion
18592
- export { $EntityType, Accept, Activity, Actor, ActorDiscoveryResult, ActorTypeName, Add, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, type DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, type GetUserAgentOptions, Group, Hashtag, Ignore, Image, Intent, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Measure, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectLookupKind, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Proposal, Question, QuoteAuthorization, QuoteRequest, Read, Recipient, Reject, Relationship, type RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getEntityTypeById, getTypeId, isActor, isEntityType, isFediverseHandle, lookupObject, normalizeActorHandle, normalizeLinkToImage, parseFediverseHandle, toAcctUrl, traverseCollection };
18900
+ export { $EntityType, Accept, Activity, Actor, ActorDiscoveryResult, ActorTypeName, Add, Agreement, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Commitment, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, type DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, type GetUserAgentOptions, Group, Hashtag, Ignore, Image, Intent, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Measure, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectLookupKind, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Proposal, Question, QuoteAuthorization, QuoteRequest, Read, Recipient, Reject, Relationship, type RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getEntityTypeById, getTypeId, isActor, isEntityType, isFediverseHandle, lookupObject, normalizeActorHandle, normalizeLinkToImage, parseFediverseHandle, toAcctUrl, traverseCollection };
package/dist/mod.d.ts CHANGED
@@ -4604,6 +4604,314 @@ declare class Multikey {
4604
4604
  }): Promise<Multikey>;
4605
4605
  protected _getCustomInspectProxy(): Record<string, unknown>;
4606
4606
  }
4607
+ /** The agreement reached between parties responding to a {@link Proposal}.
4608
+ *
4609
+ * An interested party sends an `Agreement` wrapped in an {@link Offer}
4610
+ * activity. The proposing party then either finalizes the agreement by
4611
+ * sending an {@link Accept} activity with the finalized `Agreement` as
4612
+ * its `result`, or sends a {@link Reject} activity.
4613
+ *
4614
+ * Note: This type extends ActivityStreams `Object` for practical
4615
+ * interoperability within ActivityPub federation, even though FEP-0837
4616
+ * defines `Agreement` as a pure ValueFlows type. Extending `Object`
4617
+ * provides useful inherited properties such as `id`, `attributedTo`,
4618
+ * `url`, `to`, and `published` without needing to redefine them.
4619
+ */
4620
+ declare class Agreement extends Object$1 {
4621
+ #private;
4622
+ /**
4623
+ * The type URI of {@link Agreement}: `https://w3id.org/valueflows/ont/vf#Agreement`.
4624
+ */
4625
+ static override get typeId(): URL;
4626
+ /**
4627
+ * Constructs a new instance of Agreement with the given values.
4628
+ * @param values The values to initialize the instance with.
4629
+ * @param options The options to use for initialization.
4630
+ */
4631
+ constructor(values: {
4632
+ id?: URL | null;
4633
+ attachments?: (Object$1 | Link | PropertyValue | URL)[];
4634
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
4635
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
4636
+ audience?: Object$1 | URL | null;
4637
+ audiences?: (Object$1 | URL)[];
4638
+ content?: string | LanguageString$1 | null;
4639
+ contents?: ((string | LanguageString$1))[];
4640
+ contexts?: (Object$1 | Link | URL)[];
4641
+ name?: string | LanguageString$1 | null;
4642
+ names?: ((string | LanguageString$1))[];
4643
+ endTime?: Temporal.Instant | null;
4644
+ generators?: (Object$1 | Link | URL)[];
4645
+ icon?: Image | URL | null;
4646
+ icons?: (Image | URL)[];
4647
+ image?: Image | URL | null;
4648
+ images?: (Image | URL)[];
4649
+ replyTarget?: Object$1 | Link | URL | null;
4650
+ replyTargets?: (Object$1 | Link | URL)[];
4651
+ location?: Object$1 | Link | URL | null;
4652
+ locations?: (Object$1 | Link | URL)[];
4653
+ preview?: Link | Object$1 | URL | null;
4654
+ previews?: (Link | Object$1 | URL)[];
4655
+ published?: Temporal.Instant | null;
4656
+ replies?: Collection | URL | null;
4657
+ shares?: Collection | URL | null;
4658
+ likes?: Collection | URL | null;
4659
+ emojiReactions?: Collection | URL | null;
4660
+ startTime?: Temporal.Instant | null;
4661
+ summary?: string | LanguageString$1 | null;
4662
+ summaries?: ((string | LanguageString$1))[];
4663
+ tags?: (Object$1 | Link | URL)[];
4664
+ updated?: Temporal.Instant | null;
4665
+ url?: URL | Link | null;
4666
+ urls?: ((URL | Link))[];
4667
+ to?: Object$1 | URL | null;
4668
+ tos?: (Object$1 | URL)[];
4669
+ bto?: Object$1 | URL | null;
4670
+ btos?: (Object$1 | URL)[];
4671
+ cc?: Object$1 | URL | null;
4672
+ ccs?: (Object$1 | URL)[];
4673
+ bcc?: Object$1 | URL | null;
4674
+ bccs?: (Object$1 | URL)[];
4675
+ mediaType?: string | null;
4676
+ duration?: Temporal.Duration | null;
4677
+ sensitive?: boolean | null;
4678
+ source?: Source | null;
4679
+ proof?: DataIntegrityProof | URL | null;
4680
+ proofs?: (DataIntegrityProof | URL)[];
4681
+ interactionPolicy?: InteractionPolicy | null;
4682
+ approvedBy?: URL | null;
4683
+ likeAuthorization?: LikeAuthorization | URL | null;
4684
+ replyAuthorization?: ReplyAuthorization | URL | null;
4685
+ announceAuthorization?: AnnounceAuthorization | URL | null;
4686
+ stipulates?: Commitment | null;
4687
+ stipulatesReciprocal?: Commitment | null;
4688
+ }, options?: {
4689
+ documentLoader?: DocumentLoader$1;
4690
+ contextLoader?: DocumentLoader$1;
4691
+ tracerProvider?: TracerProvider;
4692
+ });
4693
+ /**
4694
+ * Clones this instance, optionally updating it with the given values.
4695
+ * @param values The values to update the clone with.
4696
+ * @param options The options to use for cloning.
4697
+ * @returns The cloned instance.
4698
+ */
4699
+ override clone(values?: {
4700
+ id?: URL | null;
4701
+ attachments?: (Object$1 | Link | PropertyValue | URL)[];
4702
+ attribution?: Application | Group | Organization | Person | Service | URL | null;
4703
+ attributions?: (Application | Group | Organization | Person | Service | URL)[];
4704
+ audience?: Object$1 | URL | null;
4705
+ audiences?: (Object$1 | URL)[];
4706
+ content?: string | LanguageString$1 | null;
4707
+ contents?: ((string | LanguageString$1))[];
4708
+ contexts?: (Object$1 | Link | URL)[];
4709
+ name?: string | LanguageString$1 | null;
4710
+ names?: ((string | LanguageString$1))[];
4711
+ endTime?: Temporal.Instant | null;
4712
+ generators?: (Object$1 | Link | URL)[];
4713
+ icon?: Image | URL | null;
4714
+ icons?: (Image | URL)[];
4715
+ image?: Image | URL | null;
4716
+ images?: (Image | URL)[];
4717
+ replyTarget?: Object$1 | Link | URL | null;
4718
+ replyTargets?: (Object$1 | Link | URL)[];
4719
+ location?: Object$1 | Link | URL | null;
4720
+ locations?: (Object$1 | Link | URL)[];
4721
+ preview?: Link | Object$1 | URL | null;
4722
+ previews?: (Link | Object$1 | URL)[];
4723
+ published?: Temporal.Instant | null;
4724
+ replies?: Collection | URL | null;
4725
+ shares?: Collection | URL | null;
4726
+ likes?: Collection | URL | null;
4727
+ emojiReactions?: Collection | URL | null;
4728
+ startTime?: Temporal.Instant | null;
4729
+ summary?: string | LanguageString$1 | null;
4730
+ summaries?: ((string | LanguageString$1))[];
4731
+ tags?: (Object$1 | Link | URL)[];
4732
+ updated?: Temporal.Instant | null;
4733
+ url?: URL | Link | null;
4734
+ urls?: ((URL | Link))[];
4735
+ to?: Object$1 | URL | null;
4736
+ tos?: (Object$1 | URL)[];
4737
+ bto?: Object$1 | URL | null;
4738
+ btos?: (Object$1 | URL)[];
4739
+ cc?: Object$1 | URL | null;
4740
+ ccs?: (Object$1 | URL)[];
4741
+ bcc?: Object$1 | URL | null;
4742
+ bccs?: (Object$1 | URL)[];
4743
+ mediaType?: string | null;
4744
+ duration?: Temporal.Duration | null;
4745
+ sensitive?: boolean | null;
4746
+ source?: Source | null;
4747
+ proof?: DataIntegrityProof | URL | null;
4748
+ proofs?: (DataIntegrityProof | URL)[];
4749
+ interactionPolicy?: InteractionPolicy | null;
4750
+ approvedBy?: URL | null;
4751
+ likeAuthorization?: LikeAuthorization | URL | null;
4752
+ replyAuthorization?: ReplyAuthorization | URL | null;
4753
+ announceAuthorization?: AnnounceAuthorization | URL | null;
4754
+ stipulates?: Commitment | null;
4755
+ stipulatesReciprocal?: Commitment | null;
4756
+ }, options?: {
4757
+ documentLoader?: DocumentLoader$1;
4758
+ contextLoader?: DocumentLoader$1;
4759
+ }): Agreement;
4760
+ /** The primary {@link Commitment} associated with the agreement. This
4761
+ * commitment satisfies the primary {@link Intent} of the corresponding
4762
+ * {@link Proposal}.
4763
+ */
4764
+ get stipulates(): Commitment | null;
4765
+ /** The reciprocal {@link Commitment} associated with the agreement.
4766
+ * Required if the corresponding {@link Proposal} has a reciprocal
4767
+ * {@link Intent}.
4768
+ */
4769
+ get stipulatesReciprocal(): Commitment | null;
4770
+ /**
4771
+ * Converts this object to a JSON-LD structure.
4772
+ * @param options The options to use.
4773
+ * - `format`: The format of the output: `compact` or
4774
+ `expand`.
4775
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4776
+ * - `context`: The JSON-LD context to use. Not applicable
4777
+ when `format` is set to `'expand'`.
4778
+ * @returns The JSON-LD representation of this object.
4779
+ */
4780
+ override toJsonLd(options?: {
4781
+ format?: "compact" | "expand";
4782
+ contextLoader?: DocumentLoader$1;
4783
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4784
+ }): Promise<unknown>;
4785
+ protected override isCompactable(): boolean;
4786
+ /**
4787
+ * Converts a JSON-LD structure to an object of this type.
4788
+ * @param json The JSON-LD structure to convert.
4789
+ * @param options The options to use.
4790
+ * - `documentLoader`: The loader for remote JSON-LD documents.
4791
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4792
+ * - `tracerProvider`: The OpenTelemetry tracer provider to use.
4793
+ * If omitted, the global tracer provider is used.
4794
+ * @returns The object of this type.
4795
+ * @throws {TypeError} If the given `json` is invalid.
4796
+ */
4797
+ static override fromJsonLd(json: unknown, options?: {
4798
+ documentLoader?: DocumentLoader$1;
4799
+ contextLoader?: DocumentLoader$1;
4800
+ tracerProvider?: TracerProvider;
4801
+ baseUrl?: URL;
4802
+ }): Promise<Agreement>;
4803
+ protected static __fromJsonLd__Agreement__(json: unknown, span: Span, options?: {
4804
+ documentLoader?: DocumentLoader$1;
4805
+ contextLoader?: DocumentLoader$1;
4806
+ tracerProvider?: TracerProvider;
4807
+ baseUrl?: URL;
4808
+ }): Promise<Agreement>;
4809
+ protected override _getCustomInspectProxy(): Record<string, unknown>;
4810
+ }
4811
+ /** A promised economic transaction, referenced by an {@link Agreement}.
4812
+ *
4813
+ * A commitment satisfies an {@link Intent} of a {@link Proposal} and
4814
+ * specifies the actual amount of the economic resource being committed.
4815
+ */
4816
+ declare class Commitment {
4817
+ #private;
4818
+ readonly id: URL | null;
4819
+ protected get _documentLoader(): DocumentLoader$1 | undefined;
4820
+ protected get _contextLoader(): DocumentLoader$1 | undefined;
4821
+ protected get _tracerProvider(): TracerProvider | undefined;
4822
+ protected get _warning(): {
4823
+ category: string[];
4824
+ message: string;
4825
+ values?: Record<string, unknown>;
4826
+ } | undefined;
4827
+ protected get _cachedJsonLd(): unknown | undefined;
4828
+ protected set _cachedJsonLd(value: unknown | undefined);
4829
+ protected get _baseUrl(): URL | undefined;
4830
+ /**
4831
+ * The type URI of {@link Commitment}: `https://w3id.org/valueflows/ont/vf#Commitment`.
4832
+ */
4833
+ static get typeId(): URL;
4834
+ /**
4835
+ * Constructs a new instance of Commitment with the given values.
4836
+ * @param values The values to initialize the instance with.
4837
+ * @param options The options to use for initialization.
4838
+ */
4839
+ constructor(values: {
4840
+ id?: URL | null;
4841
+ satisfies?: URL | null;
4842
+ resourceQuantity?: Measure | null;
4843
+ }, options?: {
4844
+ documentLoader?: DocumentLoader$1;
4845
+ contextLoader?: DocumentLoader$1;
4846
+ tracerProvider?: TracerProvider;
4847
+ });
4848
+ /**
4849
+ * Clones this instance, optionally updating it with the given values.
4850
+ * @param values The values to update the clone with.
4851
+ * @param options The options to use for cloning.
4852
+ * @returns The cloned instance.
4853
+ */
4854
+ clone(values?: {
4855
+ id?: URL | null;
4856
+ satisfies?: URL | null;
4857
+ resourceQuantity?: Measure | null;
4858
+ }, options?: {
4859
+ documentLoader?: DocumentLoader$1;
4860
+ contextLoader?: DocumentLoader$1;
4861
+ }): Commitment;
4862
+ /** The {@link Intent} of a {@link Proposal} that this commitment
4863
+ * satisfies. The value is the proposal's URI with a
4864
+ * [fragment](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment)
4865
+ * appended to identify the intent. Recommended fragments are
4866
+ * `primary` and `reciprocal`.
4867
+ */
4868
+ get satisfies(): URL | null;
4869
+ /** The amount and unit of the economic resource being committed. The
4870
+ * unit must match the unit specified in the corresponding {@link Intent}
4871
+ * of the proposal.
4872
+ */
4873
+ get resourceQuantity(): Measure | null;
4874
+ /**
4875
+ * Converts this object to a JSON-LD structure.
4876
+ * @param options The options to use.
4877
+ * - `format`: The format of the output: `compact` or
4878
+ `expand`.
4879
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4880
+ * - `context`: The JSON-LD context to use. Not applicable
4881
+ when `format` is set to `'expand'`.
4882
+ * @returns The JSON-LD representation of this object.
4883
+ */
4884
+ toJsonLd(options?: {
4885
+ format?: "compact" | "expand";
4886
+ contextLoader?: DocumentLoader$1;
4887
+ context?: string | Record<string, string> | (string | Record<string, string>)[];
4888
+ }): Promise<unknown>;
4889
+ protected isCompactable(): boolean;
4890
+ /**
4891
+ * Converts a JSON-LD structure to an object of this type.
4892
+ * @param json The JSON-LD structure to convert.
4893
+ * @param options The options to use.
4894
+ * - `documentLoader`: The loader for remote JSON-LD documents.
4895
+ * - `contextLoader`: The loader for remote JSON-LD contexts.
4896
+ * - `tracerProvider`: The OpenTelemetry tracer provider to use.
4897
+ * If omitted, the global tracer provider is used.
4898
+ * @returns The object of this type.
4899
+ * @throws {TypeError} If the given `json` is invalid.
4900
+ */
4901
+ static fromJsonLd(json: unknown, options?: {
4902
+ documentLoader?: DocumentLoader$1;
4903
+ contextLoader?: DocumentLoader$1;
4904
+ tracerProvider?: TracerProvider;
4905
+ baseUrl?: URL;
4906
+ }): Promise<Commitment>;
4907
+ protected static __fromJsonLd__Commitment__(json: unknown, span: Span, options?: {
4908
+ documentLoader?: DocumentLoader$1;
4909
+ contextLoader?: DocumentLoader$1;
4910
+ tracerProvider?: TracerProvider;
4911
+ baseUrl?: URL;
4912
+ }): Promise<Commitment>;
4913
+ protected _getCustomInspectProxy(): Record<string, unknown>;
4914
+ }
4607
4915
  /** A proposed economic transaction describing what is being offered or requested
4608
4916
  * in a {@link Proposal}.
4609
4917
  */
@@ -18089,7 +18397,7 @@ declare class View extends Activity {
18089
18397
  /**
18090
18398
  * Constructor types for all generated vocabulary entity classes.
18091
18399
  */
18092
- type $EntityType = typeof Object$1 | typeof Emoji | typeof ChatMessage | typeof Activity | typeof EmojiReact | typeof AnnounceAuthorization | typeof AnnounceRequest | typeof LikeAuthorization | typeof LikeRequest | typeof ReplyAuthorization | typeof ReplyRequest | typeof QuoteAuthorization | typeof QuoteRequest | typeof DidService | typeof Export | typeof DataIntegrityProof | typeof CryptographicKey | typeof Multikey | typeof Proposal | typeof Accept | typeof Add | typeof Announce | typeof Application | typeof IntransitiveActivity | typeof Arrive | typeof Article | typeof Document | typeof Audio | typeof Ignore | typeof Block | typeof Collection | typeof CollectionPage | typeof Create | typeof Delete | typeof Dislike | typeof Event | typeof Flag | typeof Follow | typeof Group | typeof Image | typeof Offer | typeof Invite | typeof Join | typeof Leave | typeof Like | typeof Listen | typeof Move | typeof Note | typeof OrderedCollection | typeof OrderedCollectionPage | typeof Organization | typeof Page | typeof Person | typeof Place | typeof Profile | typeof Question | typeof Read | typeof Reject | typeof Relationship | typeof Remove | typeof Service | typeof TentativeAccept | typeof TentativeReject | typeof Tombstone | typeof Travel | typeof Undo | typeof Update | typeof Video | typeof View;
18400
+ type $EntityType = typeof Object$1 | typeof Emoji | typeof ChatMessage | typeof Activity | typeof EmojiReact | typeof AnnounceAuthorization | typeof AnnounceRequest | typeof LikeAuthorization | typeof LikeRequest | typeof ReplyAuthorization | typeof ReplyRequest | typeof QuoteAuthorization | typeof QuoteRequest | typeof DidService | typeof Export | typeof DataIntegrityProof | typeof CryptographicKey | typeof Multikey | typeof Agreement | typeof Proposal | typeof Accept | typeof Add | typeof Announce | typeof Application | typeof IntransitiveActivity | typeof Arrive | typeof Article | typeof Document | typeof Audio | typeof Ignore | typeof Block | typeof Collection | typeof CollectionPage | typeof Create | typeof Delete | typeof Dislike | typeof Event | typeof Flag | typeof Follow | typeof Group | typeof Image | typeof Offer | typeof Invite | typeof Join | typeof Leave | typeof Like | typeof Listen | typeof Move | typeof Note | typeof OrderedCollection | typeof OrderedCollectionPage | typeof Organization | typeof Page | typeof Person | typeof Place | typeof Profile | typeof Question | typeof Read | typeof Reject | typeof Relationship | typeof Remove | typeof Service | typeof TentativeAccept | typeof TentativeReject | typeof Tombstone | typeof Travel | typeof Undo | typeof Update | typeof Video | typeof View;
18093
18401
  /**
18094
18402
  * Checks whether the given value is a generated vocabulary entity class.
18095
18403
  */
@@ -18589,4 +18897,4 @@ declare function getTypeId(object: Object$1 | Link | null): URL | null;
18589
18897
  */
18590
18898
  declare function getTypeId(object: Object$1 | Link | null | undefined): URL | null | undefined;
18591
18899
  //#endregion
18592
- export { $EntityType, Accept, Activity, Actor, ActorDiscoveryResult, ActorTypeName, Add, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, type DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, type GetUserAgentOptions, Group, Hashtag, Ignore, Image, Intent, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Measure, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectLookupKind, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Proposal, Question, QuoteAuthorization, QuoteRequest, Read, Recipient, Reject, Relationship, type RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getEntityTypeById, getTypeId, isActor, isEntityType, isFediverseHandle, lookupObject, normalizeActorHandle, normalizeLinkToImage, parseFediverseHandle, toAcctUrl, traverseCollection };
18900
+ export { $EntityType, Accept, Activity, Actor, ActorDiscoveryResult, ActorTypeName, Add, Agreement, Announce, AnnounceAuthorization, AnnounceRequest, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Commitment, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, type DocumentLoader, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, type GetUserAgentOptions, Group, Hashtag, Ignore, Image, Intent, InteractionPolicy, InteractionRule, IntransitiveActivity, Invite, Join, LanguageString, Leave, Like, LikeAuthorization, LikeRequest, Link, Listen, LookupObjectOptions, Measure, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, ObjectLookupKind, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Proposal, Question, QuoteAuthorization, QuoteRequest, Read, Recipient, Reject, Relationship, type RemoteDocument, Remove, ReplyAuthorization, ReplyRequest, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getEntityTypeById, getTypeId, isActor, isEntityType, isFediverseHandle, lookupObject, normalizeActorHandle, normalizeLinkToImage, parseFediverseHandle, toAcctUrl, traverseCollection };