@singi-labs/sifa-sdk 0.12.11 → 0.12.12

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 (33) hide show
  1. package/dist/{adult-content-DE7XOP9c.d.cts → adult-content-D2Dy1w2s.d.cts} +11 -0
  2. package/dist/{adult-content-DE7XOP9c.d.ts → adult-content-D2Dy1w2s.d.ts} +11 -0
  3. package/dist/{index-B__7m2Xg.d.cts → index-B9aqJbsG.d.cts} +2 -2
  4. package/dist/{index-DdfDo0Nx.d.ts → index-BQ46POs-.d.ts} +2 -2
  5. package/dist/{index-nNxAiYxw.d.ts → index-Br8vBw4N.d.ts} +2 -2
  6. package/dist/{index-CsvSv1S_.d.cts → index-CZ8BkCCc.d.cts} +2 -2
  7. package/dist/index.cjs +155 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +49 -4
  10. package/dist/index.d.ts +49 -4
  11. package/dist/index.js +151 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-BCqhEA6J.d.ts → org-Bflg9EiB.d.ts} +1 -1
  14. package/dist/{org-It9hf-ni.d.cts → org-Df5IjADP.d.cts} +1 -1
  15. package/dist/query/fetchers/index.d.cts +3 -3
  16. package/dist/query/fetchers/index.d.ts +3 -3
  17. package/dist/query/hooks/index.d.cts +3 -3
  18. package/dist/query/hooks/index.d.ts +3 -3
  19. package/dist/query/index.d.cts +5 -5
  20. package/dist/query/index.d.ts +5 -5
  21. package/dist/schemas/index.cjs +21 -1
  22. package/dist/schemas/index.cjs.map +1 -1
  23. package/dist/schemas/index.d.cts +33 -1
  24. package/dist/schemas/index.d.ts +33 -1
  25. package/dist/schemas/index.js +21 -2
  26. package/dist/schemas/index.js.map +1 -1
  27. package/dist/schemas/write/index.cjs +13 -1
  28. package/dist/schemas/write/index.cjs.map +1 -1
  29. package/dist/schemas/write/index.d.cts +18 -0
  30. package/dist/schemas/write/index.d.ts +18 -0
  31. package/dist/schemas/write/index.js +13 -1
  32. package/dist/schemas/write/index.js.map +1 -1
  33. package/package.json +1 -1
@@ -367,6 +367,10 @@ interface ProfilePresentationDelivery {
367
367
  /** Day-only date, YYYY-MM-DD. */
368
368
  date?: string | null;
369
369
  location?: string | null;
370
+ locationCountry?: string | null;
371
+ locationRegion?: string | null;
372
+ locationLocality?: string | null;
373
+ countryCode?: string | null;
370
374
  /** Full community.lexicon.calendar.event mode token. */
371
375
  mode?: string | null;
372
376
  /** Full community.lexicon.calendar.event status token. */
@@ -390,6 +394,8 @@ interface ProfilePresentation {
390
394
  links?: PresentationLinkView[];
391
395
  /** at-uri of a long-form write-up (Leaflet / site.standard document). */
392
396
  writeupUri?: string | null;
397
+ /** Resolved URL of the uploaded cover image, when present. */
398
+ coverImageUrl?: string | null;
393
399
  hidden?: boolean;
394
400
  deliveries?: ProfilePresentationDelivery[];
395
401
  }
@@ -735,6 +741,10 @@ interface PresentationDeliveryView {
735
741
  eventName?: string;
736
742
  date?: string;
737
743
  location?: string;
744
+ locationCountry?: string;
745
+ locationRegion?: string;
746
+ locationLocality?: string;
747
+ countryCode?: string;
738
748
  mode?: string;
739
749
  status?: string;
740
750
  links?: PresentationLinkView[];
@@ -749,6 +759,7 @@ interface PresentationView {
749
759
  intendedAudiences?: string[];
750
760
  links?: PresentationLinkView[];
751
761
  writeupUri?: string;
762
+ coverImageUrl?: string;
752
763
  deliveries: PresentationDeliveryView[];
753
764
  }
754
765
  interface HonorView {
@@ -367,6 +367,10 @@ interface ProfilePresentationDelivery {
367
367
  /** Day-only date, YYYY-MM-DD. */
368
368
  date?: string | null;
369
369
  location?: string | null;
370
+ locationCountry?: string | null;
371
+ locationRegion?: string | null;
372
+ locationLocality?: string | null;
373
+ countryCode?: string | null;
370
374
  /** Full community.lexicon.calendar.event mode token. */
371
375
  mode?: string | null;
372
376
  /** Full community.lexicon.calendar.event status token. */
@@ -390,6 +394,8 @@ interface ProfilePresentation {
390
394
  links?: PresentationLinkView[];
391
395
  /** at-uri of a long-form write-up (Leaflet / site.standard document). */
392
396
  writeupUri?: string | null;
397
+ /** Resolved URL of the uploaded cover image, when present. */
398
+ coverImageUrl?: string | null;
393
399
  hidden?: boolean;
394
400
  deliveries?: ProfilePresentationDelivery[];
395
401
  }
@@ -735,6 +741,10 @@ interface PresentationDeliveryView {
735
741
  eventName?: string;
736
742
  date?: string;
737
743
  location?: string;
744
+ locationCountry?: string;
745
+ locationRegion?: string;
746
+ locationLocality?: string;
747
+ countryCode?: string;
738
748
  mode?: string;
739
749
  status?: string;
740
750
  links?: PresentationLinkView[];
@@ -749,6 +759,7 @@ interface PresentationView {
749
759
  intendedAudiences?: string[];
750
760
  links?: PresentationLinkView[];
751
761
  writeupUri?: string;
762
+ coverImageUrl?: string;
752
763
  deliveries: PresentationDeliveryView[];
753
764
  }
754
765
  interface HonorView {
@@ -1,5 +1,5 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-It9hf-ni.cjs';
2
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-DE7XOP9c.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-Df5IjADP.cjs';
2
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-D2Dy1w2s.cjs';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
4
4
 
5
5
  /**
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-BCqhEA6J.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-Bflg9EiB.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-DE7XOP9c.js';
6
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-D2Dy1w2s.js';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-D2ZV8Eaj.js';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.js';
9
9
 
@@ -1,5 +1,5 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-BCqhEA6J.js';
2
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-DE7XOP9c.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-Bflg9EiB.js';
2
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-D2Dy1w2s.js';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.js';
4
4
 
5
5
  /**
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-It9hf-ni.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ae as RefreshPdsResult, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, j as CreateResult, a2 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aw as VerifyExternalAccountResult, E as EndorsementInput, ad as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, P as HideProfileItemInput, aq as StatsResponse, g as AppRegistryEntry, M as HiddenApp, w as FilterOptions, al as SearchFilters, am as SearchResponse, ap as SkillSearchResult, l as FeaturedProfile, ao as SimilarProfile, v as FetchSuggestionsOptions, as as SuggestionsResponse, G as FollowUserResult, o as FetchFollowListOptions, x as FollowListPage, H as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, z as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, L as HeatmapResponse, a as AccountCheckResult, ac as ReactionStatus, ab as ReactionResult, aa as ReactionError, ak as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, af as ResetProfileResult, T as OrgClaimResult, _ as OrgProfileUpdateResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult } from './org-Df5IjADP.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-DE7XOP9c.cjs';
6
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef, E as ExternalAccount, S as SkillSuggestion, O as OrgFloorVerdict } from './adult-content-D2Dy1w2s.cjs';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-D2ZV8Eaj.cjs';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-CmaSX5ZI.cjs';
9
9
 
package/dist/index.cjs CHANGED
@@ -1904,6 +1904,136 @@ function detectPdsProvider(handle) {
1904
1904
  return null;
1905
1905
  }
1906
1906
 
1907
+ // src/format/embed.ts
1908
+ var LINK = { kind: "link" };
1909
+ var YOUTUBE_ID = /^[A-Za-z0-9_-]{6,}$/;
1910
+ function bareHost(hostname) {
1911
+ return hostname.toLowerCase().replace(/^www\./, "");
1912
+ }
1913
+ function resolveEmbed(url) {
1914
+ let parsed3;
1915
+ try {
1916
+ parsed3 = new URL(url);
1917
+ } catch {
1918
+ return LINK;
1919
+ }
1920
+ if (parsed3.protocol !== "https:") return LINK;
1921
+ const host = bareHost(parsed3.hostname);
1922
+ const segments = parsed3.pathname.split("/").filter(Boolean);
1923
+ if (host === "youtu.be") {
1924
+ const id = segments[0];
1925
+ if (id && YOUTUBE_ID.test(id)) {
1926
+ return youtubeEmbed(id);
1927
+ }
1928
+ return LINK;
1929
+ }
1930
+ if (host === "youtube.com" || host === "m.youtube.com") {
1931
+ if (parsed3.pathname === "/watch") {
1932
+ const id = parsed3.searchParams.get("v");
1933
+ if (id && YOUTUBE_ID.test(id)) return youtubeEmbed(id);
1934
+ return LINK;
1935
+ }
1936
+ if (segments[0] === "embed" || segments[0] === "shorts") {
1937
+ const id = segments[1];
1938
+ if (id && YOUTUBE_ID.test(id)) return youtubeEmbed(id);
1939
+ }
1940
+ return LINK;
1941
+ }
1942
+ if (host === "vimeo.com") {
1943
+ const id = segments[0];
1944
+ if (id && /^\d+$/.test(id)) {
1945
+ return {
1946
+ kind: "iframe",
1947
+ provider: "vimeo",
1948
+ src: `https://player.vimeo.com/video/${id}`,
1949
+ aspectRatio: "16:9"
1950
+ };
1951
+ }
1952
+ return LINK;
1953
+ }
1954
+ if (host === "player.vimeo.com") {
1955
+ if (segments[0] === "video" && segments[1] && /^\d+$/.test(segments[1])) {
1956
+ return {
1957
+ kind: "iframe",
1958
+ provider: "vimeo",
1959
+ src: `https://player.vimeo.com/video/${segments[1]}`,
1960
+ aspectRatio: "16:9"
1961
+ };
1962
+ }
1963
+ return LINK;
1964
+ }
1965
+ if (host === "speakerdeck.com") {
1966
+ if (segments[0] === "player" && segments[1]) {
1967
+ return { kind: "iframe", provider: "speakerdeck", src: parsed3.href, aspectRatio: "4:3" };
1968
+ }
1969
+ return LINK;
1970
+ }
1971
+ if (host === "slideshare.net") {
1972
+ if (segments[0] === "slideshow" && segments[1] === "embed_code") {
1973
+ return { kind: "iframe", provider: "slideshare", src: parsed3.href, aspectRatio: "4:3" };
1974
+ }
1975
+ return LINK;
1976
+ }
1977
+ if (host === "docs.google.com") {
1978
+ if (segments[0] === "presentation" && segments[1] === "d" && segments[2]) {
1979
+ return {
1980
+ kind: "iframe",
1981
+ provider: "googleslides",
1982
+ src: `https://docs.google.com/presentation/d/${segments[2]}/embed`,
1983
+ aspectRatio: "16:9"
1984
+ };
1985
+ }
1986
+ return LINK;
1987
+ }
1988
+ if (host === "loom.com") {
1989
+ if (segments[0] === "share" && segments[1]) {
1990
+ return {
1991
+ kind: "iframe",
1992
+ provider: "loom",
1993
+ src: `https://www.loom.com/embed/${segments[1]}`,
1994
+ aspectRatio: "16:9"
1995
+ };
1996
+ }
1997
+ return LINK;
1998
+ }
1999
+ if (host === "canva.com") {
2000
+ if (segments[0] === "design" && segments[1] && segments[2] === "view") {
2001
+ return {
2002
+ kind: "iframe",
2003
+ provider: "canva",
2004
+ src: `https://www.canva.com/design/${segments[1]}/view?embed`,
2005
+ aspectRatio: "16:9"
2006
+ };
2007
+ }
2008
+ return LINK;
2009
+ }
2010
+ return LINK;
2011
+ }
2012
+ function youtubeEmbed(id) {
2013
+ return {
2014
+ kind: "iframe",
2015
+ provider: "youtube",
2016
+ src: `https://www.youtube-nocookie.com/embed/${id}`,
2017
+ aspectRatio: "16:9"
2018
+ };
2019
+ }
2020
+
2021
+ // src/format/talk-slug.ts
2022
+ var MAX_SLUG_LENGTH = 60;
2023
+ var COMBINING_MARKS2 = /[̀-ͯ]/g;
2024
+ function slugifyTitle(title) {
2025
+ const slug = title.normalize("NFKD").replace(COMBINING_MARKS2, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, "");
2026
+ return slug.slice(0, MAX_SLUG_LENGTH).replace(/-+$/g, "");
2027
+ }
2028
+ function buildTalkSlug(title, rkey) {
2029
+ const slug = slugifyTitle(title);
2030
+ return slug ? `${slug}-${rkey}` : rkey;
2031
+ }
2032
+ function parseTalkRkey(segment) {
2033
+ const idx = segment.lastIndexOf("-");
2034
+ return idx === -1 ? segment : segment.slice(idx + 1);
2035
+ }
2036
+
1907
2037
  // src/format/text-sanitize.ts
1908
2038
  var COMBINING_MARK = /\p{M}/u;
1909
2039
  var BIDI_CONTROLS = /[‎‏‪-‮⁦-⁩]/gu;
@@ -3985,6 +4115,12 @@ function groupInvolvementByHeading(items) {
3985
4115
  }
3986
4116
  return groups;
3987
4117
  }
4118
+ var BlobRefSchema = zod.z.object({
4119
+ $type: zod.z.literal("blob"),
4120
+ ref: zod.z.object({ $link: zod.z.string().min(1) }),
4121
+ mimeType: zod.z.string().min(1).max(255),
4122
+ size: zod.z.number().int().nonnegative()
4123
+ });
3988
4124
  var EndorsementConfirmationRecordSchema = zod.z.object({
3989
4125
  endorsement: strongRefSchema,
3990
4126
  createdAt: datetimeSchema
@@ -4300,8 +4436,18 @@ var ProfilePresentationRecordSchema = zod.z.object({
4300
4436
  // Optional reference to a long-form write-up (pub.leaflet.document or
4301
4437
  // site.standard.document). Plain at-uri + optional cid so it tracks edits.
4302
4438
  writeupRef: externalRecordRefSchema.optional(),
4439
+ // Optional uploaded cover image for the talk page.
4440
+ coverImage: BlobRefSchema.optional(),
4303
4441
  createdAt: datetimeSchema
4304
4442
  });
4443
+ var communityAddressSchema = zod.z.object({
4444
+ country: zod.z.string().optional(),
4445
+ postalCode: zod.z.string().optional(),
4446
+ region: zod.z.string().optional(),
4447
+ locality: zod.z.string().optional(),
4448
+ street: zod.z.string().optional(),
4449
+ name: zod.z.string().optional()
4450
+ });
4305
4451
  var ProfilePresentationDeliveryRecordSchema = zod.z.object({
4306
4452
  // Optional reference to the id.sifa.profile.presentation delivered here.
4307
4453
  presentationRef: externalRecordRefSchema.optional(),
@@ -4312,6 +4458,9 @@ var ProfilePresentationDeliveryRecordSchema = zod.z.object({
4312
4458
  // Calendar date as YYYY-MM-DD (day only).
4313
4459
  date: zod.z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "date must be YYYY-MM-DD").optional(),
4314
4460
  location: zod.z.string().refine(maxGraphemes(256)).max(2560).optional(),
4461
+ // Structured community.lexicon.location.address for the occasion. The
4462
+ // free-text `location` string above stays as a legacy fallback.
4463
+ address: communityAddressSchema.optional(),
4315
4464
  mode: zod.z.string().optional(),
4316
4465
  status: zod.z.string().optional(),
4317
4466
  links: zod.z.array(PresentationLinkSchema).max(20).optional(),
@@ -4379,7 +4528,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
4379
4528
  });
4380
4529
 
4381
4530
  // src/index.ts
4382
- var SIFA_SDK_VERSION = "0.12.11";
4531
+ var SIFA_SDK_VERSION = "0.12.12";
4383
4532
 
4384
4533
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
4385
4534
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
@@ -4394,6 +4543,7 @@ exports.ARTIFACT_LINK_KIND_LABELS = ARTIFACT_LINK_KIND_LABELS;
4394
4543
  exports.ARTIFACT_LINK_KIND_OPTIONS = ARTIFACT_LINK_KIND_OPTIONS;
4395
4544
  exports.ArtifactLinkSchema = ArtifactLinkSchema;
4396
4545
  exports.AtmosphereFeedItemSchema = AtmosphereFeedItemSchema;
4546
+ exports.BlobRefSchema = BlobRefSchema;
4397
4547
  exports.CALENDAR_EVENT_MODE_LABELS = CALENDAR_EVENT_MODE_LABELS;
4398
4548
  exports.CALENDAR_EVENT_STATUS_LABELS = CALENDAR_EVENT_STATUS_LABELS;
4399
4549
  exports.CATEGORY_LABELS = CATEGORY_LABELS;
@@ -4475,6 +4625,7 @@ exports.VERIFICATION_PROVIDERS = VERIFICATION_PROVIDERS;
4475
4625
  exports.WORKPLACE_TYPE_LABELS = WORKPLACE_TYPE_LABELS;
4476
4626
  exports.WORKPLACE_TYPE_OPTIONS = WORKPLACE_TYPE_OPTIONS;
4477
4627
  exports.atUriSchema = atUriSchema;
4628
+ exports.buildTalkSlug = buildTalkSlug;
4478
4629
  exports.categoryForApp = categoryForApp;
4479
4630
  exports.certDateExtractor = certDateExtractor;
4480
4631
  exports.cidSchema = cidSchema;
@@ -4570,6 +4721,7 @@ exports.openToValueToToken = openToValueToToken;
4570
4721
  exports.parseIntendedAudiences = parseIntendedAudiences;
4571
4722
  exports.parseLocationString = parseLocationString;
4572
4723
  exports.parsePresentationDuration = parsePresentationDuration;
4724
+ exports.parseTalkRkey = parseTalkRkey;
4573
4725
  exports.partialDateSchema = partialDateSchema;
4574
4726
  exports.pdsProviderFromApi = pdsProviderFromApi;
4575
4727
  exports.pickPrimaryPosition = pickPrimaryPosition;
@@ -4581,6 +4733,7 @@ exports.qualifiesAsOrg = qualifiesAsOrg;
4581
4733
  exports.relativeLuminance = relativeLuminance;
4582
4734
  exports.resolveCardHealth = resolveCardHealth;
4583
4735
  exports.resolveCardUrl = resolveCardUrl;
4736
+ exports.resolveEmbed = resolveEmbed;
4584
4737
  exports.resolveVerifierProvider = resolveVerifierProvider;
4585
4738
  exports.rgbToString = rgbToString;
4586
4739
  exports.sanitizeDisplayText = sanitizeDisplayText;
@@ -4588,6 +4741,7 @@ exports.sanitizeHandleInput = sanitizeHandleInput;
4588
4741
  exports.searchResultDisambiguation = searchResultDisambiguation;
4589
4742
  exports.selfLabelsSchema = selfLabelsSchema;
4590
4743
  exports.singleDateExtractor = singleDateExtractor;
4744
+ exports.slugifyTitle = slugifyTitle;
4591
4745
  exports.sortByActiveDateRange = sortByActiveDateRange;
4592
4746
  exports.sortByDateDesc = sortByDateDesc;
4593
4747
  exports.sortCertifications = sortCertifications;