@singi-labs/sifa-sdk 0.19.68 → 0.19.70

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.
Files changed (46) hide show
  1. package/dist/{index-IeuOpcIB.d.ts → index-BrubXw_E.d.ts} +25 -1
  2. package/dist/{index-syVBnrbI.d.cts → index-IuZw47nV.d.cts} +25 -1
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +5 -5
  6. package/dist/index.d.ts +5 -5
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-Af1MVn5j.d.ts → network-map-CmiepDVi.d.ts} +3 -3
  12. package/dist/{network-map-CU7oqvKW.d.cts → network-map-D3UpQ8QN.d.cts} +3 -3
  13. package/dist/{org-BmKMu2h9.d.ts → org-CHHnaCZj.d.ts} +9 -2
  14. package/dist/{org-DZZNwznR.d.cts → org-Cd2aa9IE.d.cts} +9 -2
  15. package/dist/{profile-summary-CU4sWBzF.d.cts → profile-summary-9nNof-UK.d.cts} +1 -1
  16. package/dist/{profile-summary-RT-roUtM.d.ts → profile-summary-CL1qv4Ej.d.ts} +1 -1
  17. package/dist/query/fetchers/index.cjs +7 -0
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +6 -6
  20. package/dist/query/fetchers/index.d.ts +6 -6
  21. package/dist/query/fetchers/org-attestations.js +120 -0
  22. package/dist/query/fetchers/org-attestations.js.map +1 -0
  23. package/dist/query/hooks/index.cjs +195 -0
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +4 -4
  26. package/dist/query/hooks/index.d.ts +4 -4
  27. package/dist/query/hooks/index.js +16 -0
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/hooks/use-org-attestations.js +108 -0
  30. package/dist/query/hooks/use-org-attestations.js.map +1 -0
  31. package/dist/query/index.cjs +202 -0
  32. package/dist/query/index.cjs.map +1 -1
  33. package/dist/query/index.d.cts +9 -9
  34. package/dist/query/index.d.ts +9 -9
  35. package/dist/query/index.js +36 -0
  36. package/dist/query/index.js.map +1 -1
  37. package/dist/query/keys.js +7 -0
  38. package/dist/query/keys.js.map +1 -1
  39. package/dist/resume/index.d.cts +1 -1
  40. package/dist/resume/index.d.ts +1 -1
  41. package/dist/types/index.js.map +1 -1
  42. package/dist/{types-Jb4KKbn9.d.ts → types-BwdoIqu3.d.ts} +1 -1
  43. package/dist/{types-BV-qBo9i.d.cts → types-ENHrgIPb.d.cts} +1 -1
  44. package/dist/{use-org-notification-emails-jVBPNbUy.d.cts → use-org-notification-emails-Cj_taxxR.d.cts} +126 -4
  45. package/dist/{use-org-notification-emails-BKXLY0Nx.d.ts → use-org-notification-emails-QGewFqt7.d.ts} +126 -4
  46. package/package.json +1 -1
@@ -85,6 +85,30 @@ interface ProfilePosition {
85
85
  * Absent for anonymous viewers, the owner, and anyone without a reason to know.
86
86
  */
87
87
  viewerConfirmation?: PositionViewerConfirmation;
88
+ /**
89
+ * The organization's own attestation of this position (sifa-workspace#622),
90
+ * as indexed by the AppView. The strongest tier: only the org's account can
91
+ * produce it. Absent when no attestation covers the position; absence is
92
+ * not a negative signal.
93
+ */
94
+ orgVerification?: PositionOrgVerification;
95
+ }
96
+ /** An organization attestation covering one position, as returned by the AppView. */
97
+ interface PositionOrgVerification {
98
+ /** DID of the attesting organization's account. */
99
+ orgDid: string;
100
+ status: 'current' | 'past';
101
+ /** How the attestation was written: by hand or by directory sync. */
102
+ source: 'manual' | 'directory';
103
+ /** When the organization attested it (the record's createdAt, ISO). */
104
+ verifiedAt: string;
105
+ /** The attested period, when the record carries one (YYYY-MM or YYYY-MM-DD). */
106
+ startedAt: string | null;
107
+ endedAt: string | null;
108
+ /** The record's title or start-month snapshot no longer matches the live position. */
109
+ stale: boolean;
110
+ /** AT-URI of the attestation record in the organization's repository. */
111
+ attestationUri: string;
88
112
  }
89
113
  /** Confirmations of one position, as returned by the AppView. */
90
114
  interface PositionConfirmations {
@@ -986,4 +1010,4 @@ interface Profile {
986
1010
  externalAccounts?: ExternalAccount[];
987
1011
  }
988
1012
 
989
- export { type AccountFacetMode as A, type ProfileIndustry as B, type CoSpeaker as C, type ProfileInvestment as D, type Endorsement as E, type FeedItem as F, type ProfileInvestmentLink as G, type ProfileInvolvementLink as H, type ProfileLocation as I, type ProfileOverrideSource as J, type ProfilePresentation as K, type LocationValue as L, type ProfileVolunteering as M, type ProjectMemberCard as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectRole as Q, type RelatedIdentifier as R, type PublicationContributor as S, type RecognizedEntity as T, type SkillRef as U, type SkillSuggestion as V, type TrustStat as W, type VerifiedAccount as X, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionViewerConfirmation as x, type PresentationLinkView as y, type ProfileCourse as z };
1013
+ export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectMemberCard as Q, type RelatedIdentifier as R, type ProjectRole as S, type PublicationContributor as T, type RecognizedEntity as U, type SkillRef as V, type SkillSuggestion as W, type TrustStat as X, type VerifiedAccount as Y, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
@@ -85,6 +85,30 @@ interface ProfilePosition {
85
85
  * Absent for anonymous viewers, the owner, and anyone without a reason to know.
86
86
  */
87
87
  viewerConfirmation?: PositionViewerConfirmation;
88
+ /**
89
+ * The organization's own attestation of this position (sifa-workspace#622),
90
+ * as indexed by the AppView. The strongest tier: only the org's account can
91
+ * produce it. Absent when no attestation covers the position; absence is
92
+ * not a negative signal.
93
+ */
94
+ orgVerification?: PositionOrgVerification;
95
+ }
96
+ /** An organization attestation covering one position, as returned by the AppView. */
97
+ interface PositionOrgVerification {
98
+ /** DID of the attesting organization's account. */
99
+ orgDid: string;
100
+ status: 'current' | 'past';
101
+ /** How the attestation was written: by hand or by directory sync. */
102
+ source: 'manual' | 'directory';
103
+ /** When the organization attested it (the record's createdAt, ISO). */
104
+ verifiedAt: string;
105
+ /** The attested period, when the record carries one (YYYY-MM or YYYY-MM-DD). */
106
+ startedAt: string | null;
107
+ endedAt: string | null;
108
+ /** The record's title or start-month snapshot no longer matches the live position. */
109
+ stale: boolean;
110
+ /** AT-URI of the attestation record in the organization's repository. */
111
+ attestationUri: string;
88
112
  }
89
113
  /** Confirmations of one position, as returned by the AppView. */
90
114
  interface PositionConfirmations {
@@ -986,4 +1010,4 @@ interface Profile {
986
1010
  externalAccounts?: ExternalAccount[];
987
1011
  }
988
1012
 
989
- export { type AccountFacetMode as A, type ProfileIndustry as B, type CoSpeaker as C, type ProfileInvestment as D, type Endorsement as E, type FeedItem as F, type ProfileInvestmentLink as G, type ProfileInvolvementLink as H, type ProfileLocation as I, type ProfileOverrideSource as J, type ProfilePresentation as K, type LocationValue as L, type ProfileVolunteering as M, type ProjectMemberCard as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectRole as Q, type RelatedIdentifier as R, type PublicationContributor as S, type RecognizedEntity as T, type SkillRef as U, type SkillSuggestion as V, type TrustStat as W, type VerifiedAccount as X, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionViewerConfirmation as x, type PresentationLinkView as y, type ProfileCourse as z };
1013
+ export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectMemberCard as Q, type RelatedIdentifier as R, type ProjectRole as S, type PublicationContributor as T, type RecognizedEntity as U, type SkillRef as V, type SkillSuggestion as W, type TrustStat as X, type VerifiedAccount as Y, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
package/dist/index.cjs CHANGED
@@ -7201,7 +7201,7 @@ function describeSifaRecord(collection, value) {
7201
7201
  }
7202
7202
 
7203
7203
  // src/index.ts
7204
- var SIFA_SDK_VERSION = "0.19.68";
7204
+ var SIFA_SDK_VERSION = "0.19.70";
7205
7205
 
7206
7206
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
7207
7207
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;