@singi-labs/sifa-sdk 0.19.59 → 0.19.60

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 (47) hide show
  1. package/dist/{index-CT-A3BEe.d.ts → index-IeuOpcIB.d.ts} +24 -1
  2. package/dist/{index-BeQbepFn.d.cts → index-syVBnrbI.d.cts} +24 -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-DHOOMSCP.d.cts → network-map-Bw_rIDtH.d.cts} +3 -3
  12. package/dist/{network-map-CKF7Yozc.d.ts → network-map-DUam4K3f.d.ts} +3 -3
  13. package/dist/{org-CelDIOiN.d.ts → org--5MN6Ev4.d.ts} +15 -3
  14. package/dist/{org-Bq3HbpLD.d.cts → org-B_0EMNuF.d.cts} +15 -3
  15. package/dist/{profile-summary-CD3-QflX.d.cts → profile-summary-CU4sWBzF.d.cts} +1 -1
  16. package/dist/{profile-summary-CyRzFe7f.d.ts → profile-summary-RT-roUtM.d.ts} +1 -1
  17. package/dist/query/fetchers/confirmations.js +16 -0
  18. package/dist/query/fetchers/confirmations.js.map +1 -1
  19. package/dist/query/fetchers/index.cjs +16 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +2 -0
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/hooks/index.cjs.map +1 -1
  26. package/dist/query/hooks/index.d.cts +4 -4
  27. package/dist/query/hooks/index.d.ts +4 -4
  28. package/dist/query/index.cjs +16 -0
  29. package/dist/query/index.cjs.map +1 -1
  30. package/dist/query/index.d.cts +9 -9
  31. package/dist/query/index.d.ts +9 -9
  32. package/dist/query/index.js +2 -0
  33. package/dist/query/index.js.map +1 -1
  34. package/dist/resume/index.d.cts +1 -1
  35. package/dist/resume/index.d.ts +1 -1
  36. package/dist/schemas/confirmation.js +8 -1
  37. package/dist/schemas/confirmation.js.map +1 -1
  38. package/dist/schemas/index.cjs +8 -1
  39. package/dist/schemas/index.cjs.map +1 -1
  40. package/dist/schemas/index.d.cts +1 -1
  41. package/dist/schemas/index.d.ts +1 -1
  42. package/dist/types/index.js.map +1 -1
  43. package/dist/{types-BHnGSJ3z.d.cts → types-BV-qBo9i.d.cts} +1 -1
  44. package/dist/{types-BKEBVobU.d.ts → types-Jb4KKbn9.d.ts} +1 -1
  45. package/dist/{use-org-notification-emails-BTR2Yxq8.d.cts → use-org-notification-emails-B8e4vgs-.d.cts} +3 -3
  46. package/dist/{use-org-notification-emails-DDIi6giD.d.ts → use-org-notification-emails-CbQ3Kz96.d.ts} +3 -3
  47. package/package.json +1 -1
@@ -71,7 +71,30 @@ interface ProfilePosition {
71
71
  linkedSkills?: ProfileSkill[];
72
72
  primary?: boolean;
73
73
  hidden?: boolean;
74
+ /**
75
+ * Colleagues who confirmed this position (`id.sifa.defs#colleague`), as
76
+ * resolved by the AppView. Descriptive only: who said so, never a score.
77
+ * Absent when nobody has confirmed it.
78
+ */
79
+ confirmations?: PositionConfirmations;
80
+ /**
81
+ * What the signed-in viewer can do with this position. `available` means
82
+ * they have a reason to know it (an overlapping position at the same
83
+ * organization, or they are the organization's account) and have not
84
+ * confirmed it yet; `confirmed` means they already did and can withdraw.
85
+ * Absent for anonymous viewers, the owner, and anyone without a reason to know.
86
+ */
87
+ viewerConfirmation?: PositionViewerConfirmation;
88
+ }
89
+ /** Confirmations of one position, as returned by the AppView. */
90
+ interface PositionConfirmations {
91
+ /** Number of visible confirmers. Equal to `confirmers.length`. */
92
+ count: number;
93
+ /** The confirmers, oldest first. Blocked and suppressed accounts are left out. */
94
+ confirmers: ActorCard[];
74
95
  }
96
+ /** See {@link ProfilePosition.viewerConfirmation}. */
97
+ type PositionViewerConfirmation = 'available' | 'confirmed';
75
98
  interface ProfileEducation {
76
99
  rkey: string;
77
100
  institution: string;
@@ -963,4 +986,4 @@ interface Profile {
963
986
  externalAccounts?: ExternalAccount[];
964
987
  }
965
988
 
966
- export { type AccountFacetMode as A, type ProfileInvestmentLink as B, type CoSpeaker as C, type ProfileInvolvementLink as D, type Endorsement as E, type FeedItem as F, type ProfileLocation as G, type ProfileOverrideSource as H, type ProfilePresentation as I, type ProfileVolunteering as J, type ProjectMemberCard as K, type LocationValue as L, type ProjectRole as M, type PublicationContributor as N, type OrgAddressView as O, type ProfileSkill as P, type RecognizedEntity as Q, type RelatedIdentifier as R, type SkillRef as S, type SkillSuggestion as T, type TrustStat as U, type VerifiedAccount as V, 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 PresentationLinkView as w, type ProfileCourse as x, type ProfileIndustry as y, type ProfileInvestment as z };
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 };
@@ -71,7 +71,30 @@ interface ProfilePosition {
71
71
  linkedSkills?: ProfileSkill[];
72
72
  primary?: boolean;
73
73
  hidden?: boolean;
74
+ /**
75
+ * Colleagues who confirmed this position (`id.sifa.defs#colleague`), as
76
+ * resolved by the AppView. Descriptive only: who said so, never a score.
77
+ * Absent when nobody has confirmed it.
78
+ */
79
+ confirmations?: PositionConfirmations;
80
+ /**
81
+ * What the signed-in viewer can do with this position. `available` means
82
+ * they have a reason to know it (an overlapping position at the same
83
+ * organization, or they are the organization's account) and have not
84
+ * confirmed it yet; `confirmed` means they already did and can withdraw.
85
+ * Absent for anonymous viewers, the owner, and anyone without a reason to know.
86
+ */
87
+ viewerConfirmation?: PositionViewerConfirmation;
88
+ }
89
+ /** Confirmations of one position, as returned by the AppView. */
90
+ interface PositionConfirmations {
91
+ /** Number of visible confirmers. Equal to `confirmers.length`. */
92
+ count: number;
93
+ /** The confirmers, oldest first. Blocked and suppressed accounts are left out. */
94
+ confirmers: ActorCard[];
74
95
  }
96
+ /** See {@link ProfilePosition.viewerConfirmation}. */
97
+ type PositionViewerConfirmation = 'available' | 'confirmed';
75
98
  interface ProfileEducation {
76
99
  rkey: string;
77
100
  institution: string;
@@ -963,4 +986,4 @@ interface Profile {
963
986
  externalAccounts?: ExternalAccount[];
964
987
  }
965
988
 
966
- export { type AccountFacetMode as A, type ProfileInvestmentLink as B, type CoSpeaker as C, type ProfileInvolvementLink as D, type Endorsement as E, type FeedItem as F, type ProfileLocation as G, type ProfileOverrideSource as H, type ProfilePresentation as I, type ProfileVolunteering as J, type ProjectMemberCard as K, type LocationValue as L, type ProjectRole as M, type PublicationContributor as N, type OrgAddressView as O, type ProfileSkill as P, type RecognizedEntity as Q, type RelatedIdentifier as R, type SkillRef as S, type SkillSuggestion as T, type TrustStat as U, type VerifiedAccount as V, 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 PresentationLinkView as w, type ProfileCourse as x, type ProfileIndustry as y, type ProfileInvestment as z };
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 };
package/dist/index.cjs CHANGED
@@ -7186,7 +7186,7 @@ function describeSifaRecord(collection, value) {
7186
7186
  }
7187
7187
 
7188
7188
  // src/index.ts
7189
- var SIFA_SDK_VERSION = "0.19.59";
7189
+ var SIFA_SDK_VERSION = "0.19.60";
7190
7190
 
7191
7191
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
7192
7192
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;