@singi-labs/sifa-sdk 0.19.35 → 0.19.37

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 (51) hide show
  1. package/dist/{index-D7IufF6R.d.ts → index-D9GC0u__.d.ts} +4 -0
  2. package/dist/{index-BMUJEOoA.d.cts → index-DmlIG8sJ.d.cts} +4 -0
  3. package/dist/index.cjs +55 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +33 -8
  6. package/dist/index.d.ts +33 -8
  7. package/dist/index.js +51 -2
  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-DHkUgCYs.d.cts → network-map-DUm6FBXt.d.cts} +3 -3
  12. package/dist/{network-map--qYzsEP_.d.ts → network-map-DzVNvC9g.d.ts} +3 -3
  13. package/dist/{org-BSHNseXX.d.ts → org-BCrvebcf.d.ts} +2 -2
  14. package/dist/{org-BYL2yrSq.d.cts → org-DC_FpoTY.d.cts} +2 -2
  15. package/dist/{profile-investment-CJwwK8DY.d.cts → profile-investment-BiHM7C5q.d.cts} +2 -0
  16. package/dist/{profile-investment-CJwwK8DY.d.ts → profile-investment-BiHM7C5q.d.ts} +2 -0
  17. package/dist/{profile-summary-BmUSSgAr.d.cts → profile-summary-C_wdHGj6.d.cts} +1 -1
  18. package/dist/{profile-summary-wEt4IKo1.d.ts → profile-summary-Qtfk-52i.d.ts} +1 -1
  19. package/dist/query/fetchers/index.cjs +2 -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 +2 -0
  26. package/dist/query/hooks/index.cjs.map +1 -1
  27. package/dist/query/hooks/index.d.cts +4 -4
  28. package/dist/query/hooks/index.d.ts +4 -4
  29. package/dist/query/hooks/index.js +2 -0
  30. package/dist/query/hooks/index.js.map +1 -1
  31. package/dist/query/index.d.cts +9 -9
  32. package/dist/query/index.d.ts +9 -9
  33. package/dist/resume/index.d.cts +1 -1
  34. package/dist/resume/index.d.ts +1 -1
  35. package/dist/schemas/index.cjs +4 -0
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +1 -1
  38. package/dist/schemas/index.d.ts +1 -1
  39. package/dist/schemas/index.js +4 -0
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +3 -0
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +2 -0
  44. package/dist/schemas/write/index.d.ts +2 -0
  45. package/dist/schemas/write/index.js +3 -0
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/dist/{types-B6_rM5e1.d.cts → types-CK8KgdqA.d.ts} +4 -1
  48. package/dist/{types-BZSh8AHp.d.ts → types-DAGqE0b9.d.cts} +4 -1
  49. package/dist/{use-org-notification-emails-N5UXg0Zg.d.ts → use-org-notification-emails-0hjt-dEw.d.ts} +3 -3
  50. package/dist/{use-org-notification-emails-CisY4oDQ.d.cts → use-org-notification-emails-DOyAF0C_.d.cts} +3 -3
  51. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-BMUJEOoA.cjs';
1
+ import { L as LocationValue } from '../index-DmlIG8sJ.cjs';
2
2
  import '../shared-v0vl5hov.cjs';
3
3
  import 'zod';
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-D7IufF6R.js';
1
+ import { L as LocationValue } from '../index-D9GC0u__.js';
2
2
  import '../shared-v0vl5hov.js';
3
3
  import 'zod';
4
4
 
@@ -1,6 +1,6 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-BMUJEOoA.cjs';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-B6_rM5e1.cjs';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BmUSSgAr.cjs';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-DmlIG8sJ.cjs';
2
+ import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-DAGqE0b9.cjs';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C_wdHGj6.cjs';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.cjs';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-D7IufF6R.js';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-BZSh8AHp.js';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-wEt4IKo1.js';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-D9GC0u__.js';
2
+ import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-CK8KgdqA.js';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Qtfk-52i.js';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.js';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-BZSh8AHp.js';
2
- import { p as ExternalAccount } from './index-D7IufF6R.js';
1
+ import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CK8KgdqA.js';
2
+ import { p as ExternalAccount } from './index-D9GC0u__.js';
3
3
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.js';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.js';
@@ -1,5 +1,5 @@
1
- import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-B6_rM5e1.cjs';
2
- import { p as ExternalAccount } from './index-BMUJEOoA.cjs';
1
+ import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-DAGqE0b9.cjs';
2
+ import { p as ExternalAccount } from './index-DmlIG8sJ.cjs';
3
3
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.cjs';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.cjs';
@@ -456,6 +456,7 @@ declare const ProfileEducationRecordSchema: z.ZodObject<{
456
456
  entityRef: z.ZodOptional<z.ZodString>;
457
457
  degree: z.ZodOptional<z.ZodString>;
458
458
  fieldOfStudy: z.ZodOptional<z.ZodString>;
459
+ eqfLevel: z.ZodOptional<z.ZodNumber>;
459
460
  grade: z.ZodOptional<z.ZodString>;
460
461
  activities: z.ZodOptional<z.ZodString>;
461
462
  description: z.ZodOptional<z.ZodString>;
@@ -647,6 +648,7 @@ type ProfilePresentationDeliveryRecord = z.infer<typeof ProfilePresentationDeliv
647
648
  /** Zod schema for `id.sifa.profile.project` records. */
648
649
  declare const ProfileProjectRecordSchema: z.ZodObject<{
649
650
  name: z.ZodString;
651
+ role: z.ZodOptional<z.ZodString>;
650
652
  description: z.ZodOptional<z.ZodString>;
651
653
  url: z.ZodOptional<z.ZodString>;
652
654
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -456,6 +456,7 @@ declare const ProfileEducationRecordSchema: z.ZodObject<{
456
456
  entityRef: z.ZodOptional<z.ZodString>;
457
457
  degree: z.ZodOptional<z.ZodString>;
458
458
  fieldOfStudy: z.ZodOptional<z.ZodString>;
459
+ eqfLevel: z.ZodOptional<z.ZodNumber>;
459
460
  grade: z.ZodOptional<z.ZodString>;
460
461
  activities: z.ZodOptional<z.ZodString>;
461
462
  description: z.ZodOptional<z.ZodString>;
@@ -647,6 +648,7 @@ type ProfilePresentationDeliveryRecord = z.infer<typeof ProfilePresentationDeliv
647
648
  /** Zod schema for `id.sifa.profile.project` records. */
648
649
  declare const ProfileProjectRecordSchema: z.ZodObject<{
649
650
  name: z.ZodString;
651
+ role: z.ZodOptional<z.ZodString>;
650
652
  description: z.ZodOptional<z.ZodString>;
651
653
  url: z.ZodOptional<z.ZodString>;
652
654
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-B6_rM5e1.cjs';
1
+ import { n as ProfileView } from './types-DAGqE0b9.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-BZSh8AHp.js';
1
+ import { n as ProfileView } from './types-CK8KgdqA.js';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1903,6 +1903,8 @@ var projectMemberRefSchema = zod.z.object({
1903
1903
  });
1904
1904
  zod.z.object({
1905
1905
  name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
1906
+ // The user's own role on the project (#596), e.g. Maintainer.
1907
+ role: zod.z.string().refine(maxGraphemes(256)).max(2560).optional(),
1906
1908
  description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
1907
1909
  url: uriSchema.optional(),
1908
1910
  members: zod.z.array(projectMemberRefSchema).max(50).optional(),