@wix/himalaya-cli 0.817.0 → 0.818.0

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 (126) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/wix-platform/src/index.d.ts +32 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/activity-counters-v1/src/index.d.ts +16 -6
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/analytics/src/index.d.ts +1 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/automations-v1/src/index.d.ts +40 -30
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/badges-v2/src/index.d.ts +23 -13
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/billing-tax-v1/src/index.d.ts +22 -12
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/blog-v3/src/index.d.ts +13 -3
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/index.d.ts +18 -8
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/business-feed/src/index.d.ts +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/business-tools-v1/src/index.d.ts +29 -19
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/index.d.ts +28 -18
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/contacts/src/index.d.ts +18 -8
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/coupons/src/index.d.ts +1 -1
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/crm-tasks/src/index.d.ts +1 -1
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/dashboard-setup/src/index.d.ts +1 -1
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/data-collections-v1/src/index.d.ts +29 -19
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/donations/src/index.d.ts +20 -10
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ecom/src/index.d.ts +13 -3
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/email-marketing-v1/src/index.d.ts +29 -19
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +1 -1
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/faq-v2/src/index.d.ts +27 -17
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/forms/src/index.d.ts +16 -6
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/forum/src/index.d.ts +16 -6
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/genie-chat/src/index.d.ts +1 -1
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/gift-cards/src/index.d.ts +21 -11
  26. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/groups/src/index.d.ts +14 -4
  27. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/inbox/src/index.d.ts +15 -5
  28. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/invoices/src/index.d.ts +1 -1
  29. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/index.d.ts +1 -1
  30. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/marketing-v1/src/index.d.ts +16 -6
  31. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +1 -1
  32. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/new-releases/src/index.d.ts +1 -1
  33. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/notifications-v3/src/index.d.ts +13 -3
  34. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +1 -1
  35. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/portfolio/src/index.d.ts +1 -1
  36. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +1 -1
  37. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/redirects-v1/src/index.d.ts +13 -3
  38. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/restaurants/src/index.d.ts +18 -8
  39. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/reviews/src/index.d.ts +1 -1
  40. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/seo-v1/src/index.d.ts +15 -5
  41. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/site-list/src/index.d.ts +14 -4
  42. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/site-media/src/index.d.ts +1 -1
  43. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/social-feed/src/index.d.ts +1 -1
  44. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-collections/src/index.d.ts +1 -1
  45. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/index.d.ts +13 -3
  46. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/table-reservations/src/index.d.ts +1 -1
  47. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/users/src/index.d.ts +1 -1
  48. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/wix-data/src/index.d.ts +1 -1
  49. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/workflows-v1/src/index.d.ts +17 -7
  50. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +14 -4
  51. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-activity-counters.mjs +24 -10
  52. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-automations.mjs +100 -58
  53. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-badges.mjs +54 -24
  54. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-billing-tax.mjs +43 -22
  55. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-blog.mjs +18 -4
  56. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +36 -14
  57. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-business-tools.mjs +63 -36
  58. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +62 -34
  59. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-contacts.mjs +35 -14
  60. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-data-collections.mjs +62 -36
  61. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-donations.mjs +37 -18
  62. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +14 -4
  63. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-email-marketing.mjs +66 -36
  64. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-faq.mjs +68 -32
  65. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-forms.mjs +25 -10
  66. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-forum.mjs +32 -10
  67. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-gift-cards.mjs +39 -20
  68. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-groups.mjs +18 -6
  69. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-inbox.mjs +22 -8
  70. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-marketing.mjs +23 -10
  71. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-notifications.mjs +18 -4
  72. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-platform.mjs +30 -0
  73. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-redirects.mjs +14 -4
  74. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-restaurants.mjs +32 -14
  75. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-seo.mjs +20 -8
  76. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-site-list.mjs +17 -6
  77. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +15 -4
  78. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-workflows.mjs +28 -12
  79. package/dist/cli.mjs +21 -6
  80. package/guides/branded-lite-site-binding.md +14 -6
  81. package/guides/sdk-reference.json +398 -230
  82. package/package.json +2 -2
  83. package/templates/beauty-salon/dev/index.ts +1 -181
  84. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +9 -141
  85. package/templates/beauty-salon-owner/dev/index.ts +564 -0
  86. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  87. package/templates/branded-lite/dev/index.ts +1 -181
  88. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +9 -141
  89. package/templates/community-club/dev/index.ts +1 -181
  90. package/templates/community-club/tier5-src/himi-store-account/index.ts +9 -141
  91. package/templates/community-club-owner/dev/index.ts +564 -0
  92. package/templates/community-club-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  93. package/templates/events-meetups/dev/index.ts +1 -181
  94. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +9 -141
  95. package/templates/events-meetups-owner/dev/index.ts +564 -0
  96. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  97. package/templates/gym-fitness/dev/index.ts +1 -181
  98. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +9 -141
  99. package/templates/gym-fitness-owner/dev/index.ts +564 -0
  100. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  101. package/templates/nonprofit-cause/dev/index.ts +1 -181
  102. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +9 -141
  103. package/templates/nonprofit-cause-owner/dev/index.ts +564 -0
  104. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  105. package/templates/owner-lite/dev/index.ts +564 -0
  106. package/templates/owner-lite/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  107. package/templates/podcast-creator/dev/index.ts +1 -181
  108. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +9 -141
  109. package/templates/podcast-creator-owner/dev/index.ts +564 -0
  110. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  111. package/templates/portfolio-creative/dev/index.ts +1 -181
  112. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +9 -141
  113. package/templates/portfolio-creative-owner/dev/index.ts +564 -0
  114. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  115. package/templates/restaurant/dev/index.ts +1 -181
  116. package/templates/restaurant/tier5-src/himi-store-account/index.ts +9 -141
  117. package/templates/restaurant-owner/dev/index.ts +564 -0
  118. package/templates/restaurant-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  119. package/templates/retail-store/dev/index.ts +1 -181
  120. package/templates/retail-store/tier5-src/himi-store-account/index.ts +9 -141
  121. package/templates/retail-store-owner/dev/index.ts +564 -0
  122. package/templates/retail-store-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
  123. package/templates/yoga-studio/dev/index.ts +1 -181
  124. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +9 -141
  125. package/templates/yoga-studio-owner/dev/index.ts +564 -0
  126. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-overview/index.ts +220 -0
@@ -3483,6 +3483,12 @@
3483
3483
  "jsdoc": "",
3484
3484
  "decl": "export const auth = {\n /** Current identity (visitor vs member vs owner) + who. */\n async getIdentity(): Promise<WixIdentity> {\n const r = await call<Partial<WixIdentity>>(\"authIdentity\");\n return {\n authenticated: r?.authenticated ?? false,\n type: (r?.type as WixIdentityType) ?? \"anonymous\",\n userId: r?.userId ?? null,\n email: r?.email ?? null,\n };\n },\n /** True when a member/owner is signed in. */\n async isAuthenticated(): Promise<boolean> {\n return (await auth.getIdentity()).authenticated;\n },\n /** The current access/member token (or null when anonymous). */\n async getAccessToken(): Promise<string | null> {\n const r = await call<{ token?: string }>(\"authAccessToken\");\n return r?.token && r.token.length > 0 ? r.token : null;\n },\n /** Sign in (hosted Wix login → member token). Resolves with the new identity. */\n signIn(): Promise<WixIdentity> { return authTransition(\"authSignIn\"); },\n /** Sign out — clears the member token (visitor session may persist). */\n signOut(): Promise<WixIdentity> { return authTransition(\"authSignOut\"); },\n /** Mint/return a per-business signed instance for authorized Wix REST calls —\n * the ONE canonical worker-facing signed-instance accessor (RFC 0043 D3). A\n * worker never hand-rolls the mint HTTP; it calls this. `type` is the full Wix\n * identity matrix (owner=`User`, member, visitor, plus the Velo-scoped\n * variants) — mirrors @himalaya/wix-auth `SignedInstanceType`.\n *\n * When the app provisions `real.auth`, it mints through the REAL Wix endpoint\n * (the same `one-app-ses\n/* … */"
3485
3485
  },
3486
+ {
3487
+ "name": "WixSiteScope",
3488
+ "kind": "interface",
3489
+ "jsdoc": "/** One business's scope, as `site.forSite(msid)` returns it.\n *\n * Deliberately shaped so it doubles as the options bag a generated `@himalaya/wix-*`\n * client accepts (`{ site?: string }`): `searchOrders(req, site.forSite(msid))` reads as\n * one thought instead of two. The generated clients declare that option structurally\n * rather than importing this — they are standalone modules with no cross-package import\n * — and TypeScript's structural typing is what keeps the two in agreement. */",
3490
+ "decl": "export interface WixSiteScope {\n /** The metaSiteId every call from this handle is addressed to. */\n site: string;\n /** Raw path escape hatch, for endpoints the typed clients do not cover. */\n call<T>(method: string, path: string, body?: unknown): Promise<T>;\n}"
3491
+ },
3486
3492
  {
3487
3493
  "name": "WixBusinessInfo",
3488
3494
  "kind": "interface",
@@ -3493,7 +3499,7 @@
3493
3499
  "name": "site",
3494
3500
  "kind": "const",
3495
3501
  "jsdoc": "",
3496
- "decl": "export const site = {\n /** Scope to a business by metaSiteId; resolves after the per-site instance mints. */\n setActiveSite(msid: string): Promise<{ ok: boolean; msid: string }> { return scopeToSite(msid); },\n /** The metaSiteId currently scoped (\"\" if none). */\n async activeSite(): Promise<string> {\n const r = await call<{ msid?: string }>(\"siteActive\");\n return r?.msid ?? \"\";\n },\n /** The customer's business/site info (identity + locale + contact) from Wix Site\n * Properties v4 (RFC 0048). Unlike bi/experiments, this is a plain REST GET: it\n * rides the wixApi transport — the same chokepoint the dev gateway observes /\n * mocks and prod binds — scoped to the active site's `User` signed instance, so\n * there is no native dev seam and no `real.site` flag. Returns `null` when no Wix\n * transport is installed (a non-Wix app) or the call fails, so callers degrade\n * gracefully. The ONE door for business info (RFC 0043) — a worker should call\n * this rather than hand-rolling `wixApi.call(\".../site-properties/...\")`. */\n async getBusinessInfo(): Promise<WixBusinessInfo | null> {\n if (typeof wpHost().wixApi?.call !== \"function\") return null;\n try {\n const res = await realWix<{ properties?: RawSiteProps } & RawSiteProps>(\n \"GET\", \"/site-properties/v4/properties\",\n );\n return parseBusinessInfo(res);\n } catch {\n return null;\n }\n },\n};"
3502
+ "decl": "export const site = {\n /** Scope to a business by metaSiteId; resolves after the per-site instance mints. */\n setActiveSite(msid: string): Promise<{ ok: boolean; msid: string }> { return scopeToSite(msid); },\n /** The metaSiteId currently scoped (\"\" if none). */\n async activeSite(): Promise<string> {\n const r = await call<{ msid?: string }>(\"siteActive\");\n return r?.msid ?? \"\";\n },\n /** The customer's business/site info (identity + locale + contact) from Wix Site\n * Properties v4 (RFC 0048). Unlike bi/experiments, this is a plain REST GET: it\n * rides the wixApi transport — the same chokepoint the dev gateway observes /\n * mocks and prod binds — scoped to the active site's `User` signed instance, so\n * there is no native dev seam and no `real.site` flag. Returns `null` when no Wix\n * transport is installed (a non-Wix app) or the call fails, so callers degrade\n * gracefully. The ONE door for business info (RFC 0043) — a worker should call\n * this rather than hand-rolling `wixApi.call(\".../site-properties/...\")`. */\n async getBusinessInfo(): Promise<WixBusinessInfo | null> {\n if (typeof wpHost().wixApi?.call !== \"function\") return null;\n try {\n const res = await realWix<{ properties?: RawSiteProps } & RawSiteProps>(\n \"GET\", \"/site-properties/v4/properties\",\n );\n return parseBusinessInfo(res);\n } catch {\n return null;\n }\n },\n\n /** A handle that runs calls against ONE business, without moving the active site.\n *\n * `setActiveSite` re-scopes the whole process — every later call, every worker, the\n/* … */"
3497
3503
  },
3498
3504
  {
3499
3505
  "name": "monitoring",
@@ -3514,11 +3520,17 @@
3514
3520
  "source": "stdlib/wix-sdk/activity-counters-v1/src/index.ts",
3515
3521
  "description": "Wix activity counters — typed REST client",
3516
3522
  "api": [
3523
+ {
3524
+ "name": "WixCallOptions",
3525
+ "kind": "interface",
3526
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
3527
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
3528
+ },
3517
3529
  {
3518
3530
  "name": "wixCall",
3519
3531
  "kind": "function",
3520
3532
  "jsdoc": "",
3521
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
3533
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
3522
3534
  },
3523
3535
  {
3524
3536
  "name": "WixActivityCounter",
@@ -3722,28 +3734,28 @@
3722
3734
  "name": "setActivityCounters",
3723
3735
  "kind": "function",
3724
3736
  "jsdoc": "",
3725
- "decl": "export function setActivityCounters(\n memberId: string,\n req: WixSetActivityCountersRequest = {} as WixSetActivityCountersRequest,\n): Promise<WixSetActivityCountersResponse>;",
3737
+ "decl": "export function setActivityCounters(\n memberId: string,\n req: WixSetActivityCountersRequest = {} as WixSetActivityCountersRequest,\n opts?: WixCallOptions,\n): Promise<WixSetActivityCountersResponse>;",
3726
3738
  "http": "PUT /activity-counters/v1/activity-counters/{…}"
3727
3739
  },
3728
3740
  {
3729
3741
  "name": "incrementActivityCounters",
3730
3742
  "kind": "function",
3731
3743
  "jsdoc": "",
3732
- "decl": "export function incrementActivityCounters(\n memberId: string,\n req: WixIncrementActivityCountersRequest = {} as WixIncrementActivityCountersRequest,\n): Promise<WixIncrementActivityCountersResponse>;",
3744
+ "decl": "export function incrementActivityCounters(\n memberId: string,\n req: WixIncrementActivityCountersRequest = {} as WixIncrementActivityCountersRequest,\n opts?: WixCallOptions,\n): Promise<WixIncrementActivityCountersResponse>;",
3733
3745
  "http": "PUT /activity-counters/v1/activity-counters/{…}/increment"
3734
3746
  },
3735
3747
  {
3736
3748
  "name": "getActivityCounters",
3737
3749
  "kind": "function",
3738
3750
  "jsdoc": "",
3739
- "decl": "export function getActivityCounters(\n memberId: string,\n): Promise<WixGetActivityCountersResponse>;",
3751
+ "decl": "export function getActivityCounters(\n memberId: string,\n opts?: WixCallOptions,\n): Promise<WixGetActivityCountersResponse>;",
3740
3752
  "http": "GET /activity-counters/v1/activity-counters/{…}"
3741
3753
  },
3742
3754
  {
3743
3755
  "name": "queryActivityCounters",
3744
3756
  "kind": "function",
3745
3757
  "jsdoc": "",
3746
- "decl": "export function queryActivityCounters(\n req: WixQueryActivityCountersRequest = {} as WixQueryActivityCountersRequest,\n): Promise<WixQueryActivityCountersResponse>;",
3758
+ "decl": "export function queryActivityCounters(\n req: WixQueryActivityCountersRequest = {} as WixQueryActivityCountersRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryActivityCountersResponse>;",
3747
3759
  "http": "POST /activity-counters/v1/activity-counters/query"
3748
3760
  }
3749
3761
  ]
@@ -3952,11 +3964,17 @@
3952
3964
  "source": "stdlib/wix-sdk/automations-v1/src/index.ts",
3953
3965
  "description": "Wix automations — typed REST client",
3954
3966
  "api": [
3967
+ {
3968
+ "name": "WixCallOptions",
3969
+ "kind": "interface",
3970
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
3971
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
3972
+ },
3955
3973
  {
3956
3974
  "name": "wixCall",
3957
3975
  "kind": "function",
3958
3976
  "jsdoc": "",
3959
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
3977
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
3960
3978
  },
3961
3979
  {
3962
3980
  "name": "WixAutomation",
@@ -5276,196 +5294,196 @@
5276
5294
  "name": "getAutomationRevision",
5277
5295
  "kind": "function",
5278
5296
  "jsdoc": "",
5279
- "decl": "export function getAutomationRevision(\n automationId: string,\n): Promise<WixGetAutomationRevisionResponse>;",
5297
+ "decl": "export function getAutomationRevision(\n automationId: string,\n opts?: WixCallOptions,\n): Promise<WixGetAutomationRevisionResponse>;",
5280
5298
  "http": "GET /automations/v1/automation-revisions/{…}"
5281
5299
  },
5282
5300
  {
5283
5301
  "name": "createAutomation",
5284
5302
  "kind": "function",
5285
5303
  "jsdoc": "",
5286
- "decl": "export function createAutomation(\n req: WixCreateAutomationRequest = {} as WixCreateAutomationRequest,\n): Promise<WixCreateAutomationResponse>;",
5304
+ "decl": "export function createAutomation(\n req: WixCreateAutomationRequest = {} as WixCreateAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateAutomationResponse>;",
5287
5305
  "http": "POST /automations/v2/automations"
5288
5306
  },
5289
5307
  {
5290
5308
  "name": "createAutomationFromTemplateId",
5291
5309
  "kind": "function",
5292
5310
  "jsdoc": "",
5293
- "decl": "export function createAutomationFromTemplateId(\n automationTemplateId: string,\n req: WixCreateAutomationFromTemplateIdRequest = {} as WixCreateAutomationFromTemplateIdRequest,\n): Promise<WixCreateAutomationFromTemplateIdResponse>;",
5311
+ "decl": "export function createAutomationFromTemplateId(\n automationTemplateId: string,\n req: WixCreateAutomationFromTemplateIdRequest = {} as WixCreateAutomationFromTemplateIdRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateAutomationFromTemplateIdResponse>;",
5294
5312
  "http": "POST /automations/v2/automations/from-template/{…}"
5295
5313
  },
5296
5314
  {
5297
5315
  "name": "getAutomation",
5298
5316
  "kind": "function",
5299
5317
  "jsdoc": "",
5300
- "decl": "export function getAutomation(\n automationId: string,\n): Promise<WixGetAutomationResponse>;",
5318
+ "decl": "export function getAutomation(\n automationId: string,\n opts?: WixCallOptions,\n): Promise<WixGetAutomationResponse>;",
5301
5319
  "http": "GET /automations/v2/automations/{…}"
5302
5320
  },
5303
5321
  {
5304
5322
  "name": "updateAutomation",
5305
5323
  "kind": "function",
5306
5324
  "jsdoc": "",
5307
- "decl": "export function updateAutomation(\n automationId: string,\n req: WixUpdateAutomationRequest = {} as WixUpdateAutomationRequest,\n): Promise<WixUpdateAutomationResponse>;",
5325
+ "decl": "export function updateAutomation(\n automationId: string,\n req: WixUpdateAutomationRequest = {} as WixUpdateAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateAutomationResponse>;",
5308
5326
  "http": "PATCH /automations/v2/automations/{…}"
5309
5327
  },
5310
5328
  {
5311
5329
  "name": "deleteAutomation",
5312
5330
  "kind": "function",
5313
5331
  "jsdoc": "",
5314
- "decl": "export function deleteAutomation(\n automationId: string,\n): Promise<WixDeleteAutomationResponse>;",
5332
+ "decl": "export function deleteAutomation(\n automationId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteAutomationResponse>;",
5315
5333
  "http": "DELETE /automations/v2/automations/{…}"
5316
5334
  },
5317
5335
  {
5318
5336
  "name": "queryAutomations",
5319
5337
  "kind": "function",
5320
5338
  "jsdoc": "",
5321
- "decl": "export function queryAutomations(\n req: WixQueryAutomationsRequest = {} as WixQueryAutomationsRequest,\n): Promise<WixQueryAutomationsResponse>;",
5339
+ "decl": "export function queryAutomations(\n req: WixQueryAutomationsRequest = {} as WixQueryAutomationsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryAutomationsResponse>;",
5322
5340
  "http": "POST /automations/v2/automations/query"
5323
5341
  },
5324
5342
  {
5325
5343
  "name": "getAggregatedUsageInfo",
5326
5344
  "kind": "function",
5327
5345
  "jsdoc": "",
5328
- "decl": "export function getAggregatedUsageInfo(\n req: WixGetAggregatedUsageInfoRequest = {} as WixGetAggregatedUsageInfoRequest,\n): Promise<WixGetAggregatedUsageInfoResponse>;",
5346
+ "decl": "export function getAggregatedUsageInfo(\n req: WixGetAggregatedUsageInfoRequest = {} as WixGetAggregatedUsageInfoRequest,\n opts?: WixCallOptions,\n): Promise<WixGetAggregatedUsageInfoResponse>;",
5329
5347
  "http": "GET /automations/v2/automations/usage"
5330
5348
  },
5331
5349
  {
5332
5350
  "name": "copyAutomation",
5333
5351
  "kind": "function",
5334
5352
  "jsdoc": "",
5335
- "decl": "export function copyAutomation(\n automationId: string,\n req: WixCopyAutomationRequest = {} as WixCopyAutomationRequest,\n): Promise<WixCopyAutomationResponse>;",
5353
+ "decl": "export function copyAutomation(\n automationId: string,\n req: WixCopyAutomationRequest = {} as WixCopyAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixCopyAutomationResponse>;",
5336
5354
  "http": "POST /automations/v2/automations/{…}/copy"
5337
5355
  },
5338
5356
  {
5339
5357
  "name": "createDraftAutomation",
5340
5358
  "kind": "function",
5341
5359
  "jsdoc": "",
5342
- "decl": "export function createDraftAutomation(\n req: WixCreateDraftAutomationRequest = {} as WixCreateDraftAutomationRequest,\n): Promise<WixCreateDraftAutomationResponse>;",
5360
+ "decl": "export function createDraftAutomation(\n req: WixCreateDraftAutomationRequest = {} as WixCreateDraftAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateDraftAutomationResponse>;",
5343
5361
  "http": "POST /automations/v2/automations/drafts"
5344
5362
  },
5345
5363
  {
5346
5364
  "name": "createDraftAutomationFromTemplateId",
5347
5365
  "kind": "function",
5348
5366
  "jsdoc": "",
5349
- "decl": "export function createDraftAutomationFromTemplateId(\n automationTemplateId: string,\n req: WixCreateDraftAutomationFromTemplateIdRequest = {} as WixCreateDraftAutomationFromTemplateIdRequest,\n): Promise<WixCreateDraftAutomationFromTemplateIdResponse>;",
5367
+ "decl": "export function createDraftAutomationFromTemplateId(\n automationTemplateId: string,\n req: WixCreateDraftAutomationFromTemplateIdRequest = {} as WixCreateDraftAutomationFromTemplateIdRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateDraftAutomationFromTemplateIdResponse>;",
5350
5368
  "http": "POST /automations/v2/automations/drafts/from-template/{…}"
5351
5369
  },
5352
5370
  {
5353
5371
  "name": "getOrCreateDraftAutomation",
5354
5372
  "kind": "function",
5355
5373
  "jsdoc": "",
5356
- "decl": "export function getOrCreateDraftAutomation(\n originalAutomationId: string,\n req: WixGetOrCreateDraftAutomationRequest = {} as WixGetOrCreateDraftAutomationRequest,\n): Promise<WixGetOrCreateDraftAutomationResponse>;",
5374
+ "decl": "export function getOrCreateDraftAutomation(\n originalAutomationId: string,\n req: WixGetOrCreateDraftAutomationRequest = {} as WixGetOrCreateDraftAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixGetOrCreateDraftAutomationResponse>;",
5357
5375
  "http": "POST /automations/v2/automations/drafts/get-or-create/original-automation-id/{…}"
5358
5376
  },
5359
5377
  {
5360
5378
  "name": "updateDraftAutomation",
5361
5379
  "kind": "function",
5362
5380
  "jsdoc": "",
5363
- "decl": "export function updateDraftAutomation(\n automationId: string,\n req: WixUpdateDraftAutomationRequest = {} as WixUpdateDraftAutomationRequest,\n): Promise<WixUpdateDraftAutomationResponse>;",
5381
+ "decl": "export function updateDraftAutomation(\n automationId: string,\n req: WixUpdateDraftAutomationRequest = {} as WixUpdateDraftAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateDraftAutomationResponse>;",
5364
5382
  "http": "PATCH /automations/v2/automations/drafts/{…}"
5365
5383
  },
5366
5384
  {
5367
5385
  "name": "queryAutomationsWithDrafts",
5368
5386
  "kind": "function",
5369
5387
  "jsdoc": "",
5370
- "decl": "export function queryAutomationsWithDrafts(\n req: WixQueryAutomationsWithDraftsRequest = {} as WixQueryAutomationsWithDraftsRequest,\n): Promise<WixQueryAutomationsWithDraftsResponse>;",
5388
+ "decl": "export function queryAutomationsWithDrafts(\n req: WixQueryAutomationsWithDraftsRequest = {} as WixQueryAutomationsWithDraftsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryAutomationsWithDraftsResponse>;",
5371
5389
  "http": "POST /automations/v2/automations/query-with-drafts"
5372
5390
  },
5373
5391
  {
5374
5392
  "name": "bulkCountAutomationsWithDrafts",
5375
5393
  "kind": "function",
5376
5394
  "jsdoc": "",
5377
- "decl": "export function bulkCountAutomationsWithDrafts(\n req: WixBulkCountAutomationsWithDraftsRequest = {} as WixBulkCountAutomationsWithDraftsRequest,\n): Promise<WixBulkCountAutomationsWithDraftsResponse>;",
5395
+ "decl": "export function bulkCountAutomationsWithDrafts(\n req: WixBulkCountAutomationsWithDraftsRequest = {} as WixBulkCountAutomationsWithDraftsRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkCountAutomationsWithDraftsResponse>;",
5378
5396
  "http": "POST /automations/v2/automations/bulk-count-with-drafts"
5379
5397
  },
5380
5398
  {
5381
5399
  "name": "deleteDraftAutomation",
5382
5400
  "kind": "function",
5383
5401
  "jsdoc": "",
5384
- "decl": "export function deleteDraftAutomation(\n automationId: string,\n): Promise<WixDeleteDraftAutomationResponse>;",
5402
+ "decl": "export function deleteDraftAutomation(\n automationId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteDraftAutomationResponse>;",
5385
5403
  "http": "DELETE /automations/v2/automations/drafts/{…}"
5386
5404
  },
5387
5405
  {
5388
5406
  "name": "publishDraftAutomation",
5389
5407
  "kind": "function",
5390
5408
  "jsdoc": "",
5391
- "decl": "export function publishDraftAutomation(\n automationId: string,\n req: WixPublishDraftAutomationRequest = {} as WixPublishDraftAutomationRequest,\n): Promise<WixPublishDraftAutomationResponse>;",
5409
+ "decl": "export function publishDraftAutomation(\n automationId: string,\n req: WixPublishDraftAutomationRequest = {} as WixPublishDraftAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixPublishDraftAutomationResponse>;",
5392
5410
  "http": "POST /automations/v2/automations/drafts/{…}/publish"
5393
5411
  },
5394
5412
  {
5395
5413
  "name": "validateAutomation",
5396
5414
  "kind": "function",
5397
5415
  "jsdoc": "",
5398
- "decl": "export function validateAutomation(\n req: WixValidateAutomationRequest = {} as WixValidateAutomationRequest,\n): Promise<WixValidateAutomationResponse>;",
5416
+ "decl": "export function validateAutomation(\n req: WixValidateAutomationRequest = {} as WixValidateAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixValidateAutomationResponse>;",
5399
5417
  "http": "POST /automations/v2/automations/validate"
5400
5418
  },
5401
5419
  {
5402
5420
  "name": "validateAutomationById",
5403
5421
  "kind": "function",
5404
5422
  "jsdoc": "",
5405
- "decl": "export function validateAutomationById(\n automationId: string,\n req: WixValidateAutomationByIdRequest = {} as WixValidateAutomationByIdRequest,\n): Promise<WixValidateAutomationByIdResponse>;",
5423
+ "decl": "export function validateAutomationById(\n automationId: string,\n req: WixValidateAutomationByIdRequest = {} as WixValidateAutomationByIdRequest,\n opts?: WixCallOptions,\n): Promise<WixValidateAutomationByIdResponse>;",
5406
5424
  "http": "POST /automations/v2/automations/{…}/validate"
5407
5425
  },
5408
5426
  {
5409
5427
  "name": "getActionsQuotaInfo",
5410
5428
  "kind": "function",
5411
5429
  "jsdoc": "",
5412
- "decl": "export function getActionsQuotaInfo(\n req: WixGetActionsQuotaInfoRequest = {} as WixGetActionsQuotaInfoRequest,\n): Promise<WixGetActionsQuotaInfoResponse>;",
5430
+ "decl": "export function getActionsQuotaInfo(\n req: WixGetActionsQuotaInfoRequest = {} as WixGetActionsQuotaInfoRequest,\n opts?: WixCallOptions,\n): Promise<WixGetActionsQuotaInfoResponse>;",
5413
5431
  "http": "GET /automations/v2/automations/actions/quota"
5414
5432
  },
5415
5433
  {
5416
5434
  "name": "generateActionInputMappingFromTemplate",
5417
5435
  "kind": "function",
5418
5436
  "jsdoc": "",
5419
- "decl": "export function generateActionInputMappingFromTemplate(\n req: WixGenerateActionInputMappingFromTemplateRequest = {} as WixGenerateActionInputMappingFromTemplateRequest,\n): Promise<WixGenerateActionInputMappingFromTemplateResponse>;",
5437
+ "decl": "export function generateActionInputMappingFromTemplate(\n req: WixGenerateActionInputMappingFromTemplateRequest = {} as WixGenerateActionInputMappingFromTemplateRequest,\n opts?: WixCallOptions,\n): Promise<WixGenerateActionInputMappingFromTemplateResponse>;",
5420
5438
  "http": "POST /automations/v2/automations/actions/generate-action-input-mapping-from-template"
5421
5439
  },
5422
5440
  {
5423
5441
  "name": "bulkDeleteAutomations",
5424
5442
  "kind": "function",
5425
5443
  "jsdoc": "",
5426
- "decl": "export function bulkDeleteAutomations(\n req: WixBulkDeleteAutomationsRequest = {} as WixBulkDeleteAutomationsRequest,\n): Promise<WixBulkDeleteAutomationsResponse>;",
5444
+ "decl": "export function bulkDeleteAutomations(\n req: WixBulkDeleteAutomationsRequest = {} as WixBulkDeleteAutomationsRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkDeleteAutomationsResponse>;",
5427
5445
  "http": "POST /automations/v2/bulk/automations/delete"
5428
5446
  },
5429
5447
  {
5430
5448
  "name": "createPreinstalledAutomation",
5431
5449
  "kind": "function",
5432
5450
  "jsdoc": "",
5433
- "decl": "export function createPreinstalledAutomation(\n req: WixCreatePreinstalledAutomationRequest = {} as WixCreatePreinstalledAutomationRequest,\n): Promise<WixCreatePreinstalledAutomationResponse>;",
5451
+ "decl": "export function createPreinstalledAutomation(\n req: WixCreatePreinstalledAutomationRequest = {} as WixCreatePreinstalledAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixCreatePreinstalledAutomationResponse>;",
5434
5452
  "http": "POST /automations/v2/preinstalled-automation"
5435
5453
  },
5436
5454
  {
5437
5455
  "name": "updatePreinstalledAutomation",
5438
5456
  "kind": "function",
5439
5457
  "jsdoc": "",
5440
- "decl": "export function updatePreinstalledAutomation(\n req: WixUpdatePreinstalledAutomationRequest = {} as WixUpdatePreinstalledAutomationRequest,\n): Promise<WixUpdatePreinstalledAutomationResponse>;",
5458
+ "decl": "export function updatePreinstalledAutomation(\n req: WixUpdatePreinstalledAutomationRequest = {} as WixUpdatePreinstalledAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdatePreinstalledAutomationResponse>;",
5441
5459
  "http": "PATCH /automations/v2/preinstalled-automation"
5442
5460
  },
5443
5461
  {
5444
5462
  "name": "deletePreinstalledAutomation",
5445
5463
  "kind": "function",
5446
5464
  "jsdoc": "",
5447
- "decl": "export function deletePreinstalledAutomation(\n componentId: string,\n): Promise<WixDeletePreinstalledAutomationResponse>;",
5465
+ "decl": "export function deletePreinstalledAutomation(\n componentId: string,\n opts?: WixCallOptions,\n): Promise<WixDeletePreinstalledAutomationResponse>;",
5448
5466
  "http": "DELETE /automations/v2/preinstalled-automation/{…}"
5449
5467
  },
5450
5468
  {
5451
5469
  "name": "generatePreinstalledAutomation",
5452
5470
  "kind": "function",
5453
5471
  "jsdoc": "",
5454
- "decl": "export function generatePreinstalledAutomation(\n req: WixGeneratePreinstalledAutomationRequest = {} as WixGeneratePreinstalledAutomationRequest,\n): Promise<WixGeneratePreinstalledAutomationResponse>;",
5472
+ "decl": "export function generatePreinstalledAutomation(\n req: WixGeneratePreinstalledAutomationRequest = {} as WixGeneratePreinstalledAutomationRequest,\n opts?: WixCallOptions,\n): Promise<WixGeneratePreinstalledAutomationResponse>;",
5455
5473
  "http": "POST /automations/v2/preinstalled-automation/generate"
5456
5474
  },
5457
5475
  {
5458
5476
  "name": "queryPreinstalledAutomationsForApp",
5459
5477
  "kind": "function",
5460
5478
  "jsdoc": "",
5461
- "decl": "export function queryPreinstalledAutomationsForApp(\n req: WixQueryPreinstalledAutomationsForAppRequest = {} as WixQueryPreinstalledAutomationsForAppRequest,\n): Promise<WixQueryPreinstalledAutomationsForAppResponse>;",
5479
+ "decl": "export function queryPreinstalledAutomationsForApp(\n req: WixQueryPreinstalledAutomationsForAppRequest = {} as WixQueryPreinstalledAutomationsForAppRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryPreinstalledAutomationsForAppResponse>;",
5462
5480
  "http": "POST /automations/v2/preinstalled-automations/query"
5463
5481
  },
5464
5482
  {
5465
5483
  "name": "queryPreinstalledAutomations",
5466
5484
  "kind": "function",
5467
5485
  "jsdoc": "",
5468
- "decl": "export function queryPreinstalledAutomations(\n req: WixQueryPreinstalledAutomationsRequest = {} as WixQueryPreinstalledAutomationsRequest,\n): Promise<WixQueryPreinstalledAutomationsResponse>;",
5486
+ "decl": "export function queryPreinstalledAutomations(\n req: WixQueryPreinstalledAutomationsRequest = {} as WixQueryPreinstalledAutomationsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryPreinstalledAutomationsResponse>;",
5469
5487
  "http": "POST /automations/v2/preinstalled-automations/global/query"
5470
5488
  }
5471
5489
  ]
@@ -5475,11 +5493,17 @@
5475
5493
  "source": "stdlib/wix-sdk/badges-v2/src/index.ts",
5476
5494
  "description": "Wix badges — typed REST client",
5477
5495
  "api": [
5496
+ {
5497
+ "name": "WixCallOptions",
5498
+ "kind": "interface",
5499
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
5500
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
5501
+ },
5478
5502
  {
5479
5503
  "name": "wixCall",
5480
5504
  "kind": "function",
5481
5505
  "jsdoc": "",
5482
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
5506
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
5483
5507
  },
5484
5508
  {
5485
5509
  "name": "WixBadge",
@@ -5809,77 +5833,77 @@
5809
5833
  "name": "create",
5810
5834
  "kind": "function",
5811
5835
  "jsdoc": "",
5812
- "decl": "export function create(\n req: WixCreateRequest = {} as WixCreateRequest,\n): Promise<WixCreateResponse>;",
5836
+ "decl": "export function create(\n req: WixCreateRequest = {} as WixCreateRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateResponse>;",
5813
5837
  "http": "POST /badges/v4/badges"
5814
5838
  },
5815
5839
  {
5816
5840
  "name": "update",
5817
5841
  "kind": "function",
5818
5842
  "jsdoc": "",
5819
- "decl": "export function update(\n id: string,\n req: WixUpdateRequest = {} as WixUpdateRequest,\n): Promise<WixUpdateResponse>;",
5843
+ "decl": "export function update(\n id: string,\n req: WixUpdateRequest = {} as WixUpdateRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateResponse>;",
5820
5844
  "http": "PATCH /badges/v4/badges/{…}"
5821
5845
  },
5822
5846
  {
5823
5847
  "name": "query",
5824
5848
  "kind": "function",
5825
5849
  "jsdoc": "",
5826
- "decl": "export function query(\n req: WixQueryRequest = {} as WixQueryRequest,\n): Promise<WixQueryResponse>;",
5850
+ "decl": "export function query(\n req: WixQueryRequest = {} as WixQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryResponse>;",
5827
5851
  "http": "POST /badges/v4/badges/query"
5828
5852
  },
5829
5853
  {
5830
5854
  "name": "get",
5831
5855
  "kind": "function",
5832
5856
  "jsdoc": "",
5833
- "decl": "export function get(id: string): Promise<WixGetResponse>;",
5857
+ "decl": "export function get(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixGetResponse>;",
5834
5858
  "http": "GET /badges/v4/badges/{…}"
5835
5859
  },
5836
5860
  {
5837
5861
  "name": "count",
5838
5862
  "kind": "function",
5839
5863
  "jsdoc": "",
5840
- "decl": "export function count(\n req: WixCountRequest = {} as WixCountRequest,\n): Promise<WixCountResponse>;",
5864
+ "decl": "export function count(\n req: WixCountRequest = {} as WixCountRequest,\n opts?: WixCallOptions,\n): Promise<WixCountResponse>;",
5841
5865
  "http": "POST /badges/v4/badges/count"
5842
5866
  },
5843
5867
  {
5844
5868
  "name": "assignBadge",
5845
5869
  "kind": "function",
5846
5870
  "jsdoc": "",
5847
- "decl": "export function assignBadge(\n id: string,\n req: WixAssignBadgeRequest = {} as WixAssignBadgeRequest,\n): Promise<WixAssignBadgeResponse>;",
5871
+ "decl": "export function assignBadge(\n id: string,\n req: WixAssignBadgeRequest = {} as WixAssignBadgeRequest,\n opts?: WixCallOptions,\n): Promise<WixAssignBadgeResponse>;",
5848
5872
  "http": "POST /badges/v4/badges/{…}/members"
5849
5873
  },
5850
5874
  {
5851
5875
  "name": "unassignBadge",
5852
5876
  "kind": "function",
5853
5877
  "jsdoc": "",
5854
- "decl": "export function unassignBadge(id: string): Promise<WixUnassignBadgeResponse>;",
5878
+ "decl": "export function unassignBadge(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixUnassignBadgeResponse>;",
5855
5879
  "http": "DELETE /badges/v4/badges/{…}/members"
5856
5880
  },
5857
5881
  {
5858
5882
  "name": "listMembers",
5859
5883
  "kind": "function",
5860
5884
  "jsdoc": "",
5861
- "decl": "export function listMembers(id: string): Promise<WixListMembersResponse>;",
5885
+ "decl": "export function listMembers(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixListMembersResponse>;",
5862
5886
  "http": "GET /badges/v4/badges/{…}/members"
5863
5887
  },
5864
5888
  {
5865
5889
  "name": "listMembersBadgeIds",
5866
5890
  "kind": "function",
5867
5891
  "jsdoc": "",
5868
- "decl": "export function listMembersBadgeIds(\n req: WixListMembersBadgeIdsRequest = {} as WixListMembersBadgeIdsRequest,\n): Promise<WixListMembersBadgeIdsResponse>;",
5892
+ "decl": "export function listMembersBadgeIds(\n req: WixListMembersBadgeIdsRequest = {} as WixListMembersBadgeIdsRequest,\n opts?: WixCallOptions,\n): Promise<WixListMembersBadgeIdsResponse>;",
5869
5893
  "http": "POST /badges/v4/badges/members"
5870
5894
  },
5871
5895
  {
5872
5896
  "name": "getBadgeCounters",
5873
5897
  "kind": "function",
5874
5898
  "jsdoc": "",
5875
- "decl": "export function getBadgeCounters(\n req: WixGetBadgeCountersRequest = {} as WixGetBadgeCountersRequest,\n): Promise<WixGetBadgeCountersResponse>;",
5899
+ "decl": "export function getBadgeCounters(\n req: WixGetBadgeCountersRequest = {} as WixGetBadgeCountersRequest,\n opts?: WixCallOptions,\n): Promise<WixGetBadgeCountersResponse>;",
5876
5900
  "http": "GET /badges/v4/badges/members/count"
5877
5901
  },
5878
5902
  {
5879
5903
  "name": "updateBadgesOrder",
5880
5904
  "kind": "function",
5881
5905
  "jsdoc": "",
5882
- "decl": "export function updateBadgesOrder(\n req: WixUpdateBadgesOrderRequest = {} as WixUpdateBadgesOrderRequest,\n): Promise<WixUpdateBadgesOrderResponse>;",
5906
+ "decl": "export function updateBadgesOrder(\n req: WixUpdateBadgesOrderRequest = {} as WixUpdateBadgesOrderRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateBadgesOrderResponse>;",
5883
5907
  "http": "PATCH /badges/v4/badges/order"
5884
5908
  }
5885
5909
  ]
@@ -5889,11 +5913,17 @@
5889
5913
  "source": "stdlib/wix-sdk/billing-tax-v1/src/index.ts",
5890
5914
  "description": "Wix billing tax — typed REST client",
5891
5915
  "api": [
5916
+ {
5917
+ "name": "WixCallOptions",
5918
+ "kind": "interface",
5919
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
5920
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
5921
+ },
5892
5922
  {
5893
5923
  "name": "wixCall",
5894
5924
  "kind": "function",
5895
5925
  "jsdoc": "",
5896
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
5926
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
5897
5927
  },
5898
5928
  {
5899
5929
  "name": "WixManualTaxMapping",
@@ -6301,70 +6331,70 @@
6301
6331
  "name": "createManualTaxMapping",
6302
6332
  "kind": "function",
6303
6333
  "jsdoc": "",
6304
- "decl": "export function createManualTaxMapping(\n req: WixCreateManualTaxMappingRequest = {} as WixCreateManualTaxMappingRequest,\n): Promise<WixCreateManualTaxMappingResponse>;",
6334
+ "decl": "export function createManualTaxMapping(\n req: WixCreateManualTaxMappingRequest = {} as WixCreateManualTaxMappingRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateManualTaxMappingResponse>;",
6305
6335
  "http": "POST /billing/v1/manual-tax-mappings"
6306
6336
  },
6307
6337
  {
6308
6338
  "name": "getManualTaxMapping",
6309
6339
  "kind": "function",
6310
6340
  "jsdoc": "",
6311
- "decl": "export function getManualTaxMapping(\n manualTaxMappingId: string,\n): Promise<WixGetManualTaxMappingResponse>;",
6341
+ "decl": "export function getManualTaxMapping(\n manualTaxMappingId: string,\n opts?: WixCallOptions,\n): Promise<WixGetManualTaxMappingResponse>;",
6312
6342
  "http": "GET /billing/v1/manual-tax-mappings/{…}"
6313
6343
  },
6314
6344
  {
6315
6345
  "name": "updateManualTaxMapping",
6316
6346
  "kind": "function",
6317
6347
  "jsdoc": "",
6318
- "decl": "export function updateManualTaxMapping(\n manualTaxMappingId: string,\n req: WixUpdateManualTaxMappingRequest = {} as WixUpdateManualTaxMappingRequest,\n): Promise<WixUpdateManualTaxMappingResponse>;",
6348
+ "decl": "export function updateManualTaxMapping(\n manualTaxMappingId: string,\n req: WixUpdateManualTaxMappingRequest = {} as WixUpdateManualTaxMappingRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateManualTaxMappingResponse>;",
6319
6349
  "http": "PATCH /billing/v1/manual-tax-mappings/{…}"
6320
6350
  },
6321
6351
  {
6322
6352
  "name": "deleteManualTaxMapping",
6323
6353
  "kind": "function",
6324
6354
  "jsdoc": "",
6325
- "decl": "export function deleteManualTaxMapping(\n manualTaxMappingId: string,\n): Promise<WixDeleteManualTaxMappingResponse>;",
6355
+ "decl": "export function deleteManualTaxMapping(\n manualTaxMappingId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteManualTaxMappingResponse>;",
6326
6356
  "http": "DELETE /billing/v1/manual-tax-mappings/{…}"
6327
6357
  },
6328
6358
  {
6329
6359
  "name": "queryManualTaxMappings",
6330
6360
  "kind": "function",
6331
6361
  "jsdoc": "",
6332
- "decl": "export function queryManualTaxMappings(\n req: WixQueryManualTaxMappingsRequest = {} as WixQueryManualTaxMappingsRequest,\n): Promise<WixQueryManualTaxMappingsResponse>;",
6362
+ "decl": "export function queryManualTaxMappings(\n req: WixQueryManualTaxMappingsRequest = {} as WixQueryManualTaxMappingsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryManualTaxMappingsResponse>;",
6333
6363
  "http": "GET /billing/v1/manual-tax-mappings/query"
6334
6364
  },
6335
6365
  {
6336
6366
  "name": "updateExtendedFields",
6337
6367
  "kind": "function",
6338
6368
  "jsdoc": "",
6339
- "decl": "export function updateExtendedFields(\n id: string,\n req: WixUpdateExtendedFieldsRequest = {} as WixUpdateExtendedFieldsRequest,\n): Promise<WixUpdateExtendedFieldsResponse>;",
6369
+ "decl": "export function updateExtendedFields(\n id: string,\n req: WixUpdateExtendedFieldsRequest = {} as WixUpdateExtendedFieldsRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateExtendedFieldsResponse>;",
6340
6370
  "http": "POST /billing/v1/manual-tax-mappings/{…}/update-extended-fields"
6341
6371
  },
6342
6372
  {
6343
6373
  "name": "bulkAssignExemptOverrides",
6344
6374
  "kind": "function",
6345
6375
  "jsdoc": "",
6346
- "decl": "export function bulkAssignExemptOverrides(\n req: WixBulkAssignExemptOverridesRequest = {} as WixBulkAssignExemptOverridesRequest,\n): Promise<WixBulkAssignExemptOverridesResponse>;",
6376
+ "decl": "export function bulkAssignExemptOverrides(\n req: WixBulkAssignExemptOverridesRequest = {} as WixBulkAssignExemptOverridesRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkAssignExemptOverridesResponse>;",
6347
6377
  "http": "POST /billing/v1/manual-tax-mappings/bulk-assign-exempt-overrides"
6348
6378
  },
6349
6379
  {
6350
6380
  "name": "bulkUnassignExemptOverrides",
6351
6381
  "kind": "function",
6352
6382
  "jsdoc": "",
6353
- "decl": "export function bulkUnassignExemptOverrides(\n req: WixBulkUnassignExemptOverridesRequest = {} as WixBulkUnassignExemptOverridesRequest,\n): Promise<WixBulkUnassignExemptOverridesResponse>;",
6383
+ "decl": "export function bulkUnassignExemptOverrides(\n req: WixBulkUnassignExemptOverridesRequest = {} as WixBulkUnassignExemptOverridesRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkUnassignExemptOverridesResponse>;",
6354
6384
  "http": "POST /billing/v1/manual-tax-mappings/bulk-unassign-exempt-overrides"
6355
6385
  },
6356
6386
  {
6357
6387
  "name": "listManualTaxMappings",
6358
6388
  "kind": "function",
6359
6389
  "jsdoc": "",
6360
- "decl": "export function listManualTaxMappings(\n req: WixListManualTaxMappingsRequest = {} as WixListManualTaxMappingsRequest,\n): Promise<WixListManualTaxMappingsResponse>;",
6390
+ "decl": "export function listManualTaxMappings(\n req: WixListManualTaxMappingsRequest = {} as WixListManualTaxMappingsRequest,\n opts?: WixCallOptions,\n): Promise<WixListManualTaxMappingsResponse>;",
6361
6391
  "http": "GET /billing/v1/manual-tax-mappings"
6362
6392
  },
6363
6393
  {
6364
6394
  "name": "bulkCreateManualTaxMappings",
6365
6395
  "kind": "function",
6366
6396
  "jsdoc": "",
6367
- "decl": "export function bulkCreateManualTaxMappings(\n req: WixBulkCreateManualTaxMappingsRequest = {} as WixBulkCreateManualTaxMappingsRequest,\n): Promise<WixBulkCreateManualTaxMappingsResponse>;",
6397
+ "decl": "export function bulkCreateManualTaxMappings(\n req: WixBulkCreateManualTaxMappingsRequest = {} as WixBulkCreateManualTaxMappingsRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkCreateManualTaxMappingsResponse>;",
6368
6398
  "http": "POST /billing/v1/bulk/manual-tax-mappings/create"
6369
6399
  }
6370
6400
  ]
@@ -6374,11 +6404,17 @@
6374
6404
  "source": "stdlib/wix-sdk/blog-v3/src/index.ts",
6375
6405
  "description": "Blog — posts, draft posts, categories",
6376
6406
  "api": [
6407
+ {
6408
+ "name": "WixCallOptions",
6409
+ "kind": "interface",
6410
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
6411
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
6412
+ },
6377
6413
  {
6378
6414
  "name": "wixCall",
6379
6415
  "kind": "function",
6380
6416
  "jsdoc": "",
6381
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
6417
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
6382
6418
  },
6383
6419
  {
6384
6420
  "name": "WixBlogPaging",
@@ -6510,7 +6546,7 @@
6510
6546
  "name": "queryPosts",
6511
6547
  "kind": "function",
6512
6548
  "jsdoc": "",
6513
- "decl": "export function queryPosts(\n req: WixQueryPostsRequest = {} as WixQueryPostsRequest,\n): Promise<WixQueryPostsResponse>;",
6549
+ "decl": "export function queryPosts(\n req: WixQueryPostsRequest = {} as WixQueryPostsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryPostsResponse>;",
6514
6550
  "http": "POST /blog/v3/posts/query"
6515
6551
  },
6516
6552
  {
@@ -6650,11 +6686,17 @@
6650
6686
  "source": "stdlib/wix-sdk/bookings-v2/src/index.ts",
6651
6687
  "description": "Bookings — services, slots, appointments. Visitor-readable list is queryServices (public /bookings/v2/services/query); searchServices is owner-only (_api/) and 403s for a visitor.",
6652
6688
  "api": [
6689
+ {
6690
+ "name": "WixCallOptions",
6691
+ "kind": "interface",
6692
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
6693
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
6694
+ },
6653
6695
  {
6654
6696
  "name": "wixCall",
6655
6697
  "kind": "function",
6656
6698
  "jsdoc": "",
6657
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
6699
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
6658
6700
  },
6659
6701
  {
6660
6702
  "name": "WixBookingsPaging",
@@ -6876,42 +6918,42 @@
6876
6918
  "name": "queryBookings",
6877
6919
  "kind": "function",
6878
6920
  "jsdoc": "",
6879
- "decl": "export function queryBookings(\n req: WixQueryBookingsRequest = {} as WixQueryBookingsRequest,\n): Promise<WixQueryBookingsResponse>;",
6921
+ "decl": "export function queryBookings(\n req: WixQueryBookingsRequest = {} as WixQueryBookingsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryBookingsResponse>;",
6880
6922
  "http": "POST /bookings/v2/bookings/query"
6881
6923
  },
6882
6924
  {
6883
6925
  "name": "listBookings",
6884
6926
  "kind": "function",
6885
6927
  "jsdoc": "",
6886
- "decl": "export function listBookings(\n req: WixListBookingsRequest = {} as WixListBookingsRequest,\n): Promise<WixListBookingsResponse>;",
6928
+ "decl": "export function listBookings(\n req: WixListBookingsRequest = {} as WixListBookingsRequest,\n opts?: WixCallOptions,\n): Promise<WixListBookingsResponse>;",
6887
6929
  "http": "GET /bookings/v1/bookings"
6888
6930
  },
6889
6931
  {
6890
6932
  "name": "getBooking",
6891
6933
  "kind": "function",
6892
6934
  "jsdoc": "",
6893
- "decl": "export function getBooking(bookingId: string): Promise<WixGetBookingResponse>;",
6935
+ "decl": "export function getBooking(\n bookingId: string,\n opts?: WixCallOptions,\n): Promise<WixGetBookingResponse>;",
6894
6936
  "http": "GET /bookings/v1/bookings/{…}"
6895
6937
  },
6896
6938
  {
6897
6939
  "name": "createBooking",
6898
6940
  "kind": "function",
6899
6941
  "jsdoc": "",
6900
- "decl": "export function createBooking(\n req: WixCreateBookingRequest = {} as WixCreateBookingRequest,\n): Promise<WixCreateBookingResponse>;",
6942
+ "decl": "export function createBooking(\n req: WixCreateBookingRequest = {} as WixCreateBookingRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateBookingResponse>;",
6901
6943
  "http": "POST /bookings/v1/bookings"
6902
6944
  },
6903
6945
  {
6904
6946
  "name": "setBookingAction",
6905
6947
  "kind": "function",
6906
6948
  "jsdoc": "",
6907
- "decl": "export function setBookingAction(\n bookingId: string,\n): Promise<WixUpdateBookingResponse>;",
6949
+ "decl": "export function setBookingAction(\n bookingId: string,\n opts?: WixCallOptions,\n): Promise<WixUpdateBookingResponse>;",
6908
6950
  "http": "PUT /bookings/v1/bookings/{…}"
6909
6951
  },
6910
6952
  {
6911
6953
  "name": "deleteService",
6912
6954
  "kind": "function",
6913
6955
  "jsdoc": "",
6914
- "decl": "export function deleteService(\n serviceId: string,\n): Promise<WixDeleteServiceResponse>;",
6956
+ "decl": "export function deleteService(\n serviceId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteServiceResponse>;",
6915
6957
  "http": "DELETE /bookings/v1/services/{…}"
6916
6958
  },
6917
6959
  {
@@ -7367,11 +7409,17 @@
7367
7409
  "source": "stdlib/wix-sdk/business-tools-v1/src/index.ts",
7368
7410
  "description": "Wix business tools — typed REST client",
7369
7411
  "api": [
7412
+ {
7413
+ "name": "WixCallOptions",
7414
+ "kind": "interface",
7415
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
7416
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
7417
+ },
7370
7418
  {
7371
7419
  "name": "wixCall",
7372
7420
  "kind": "function",
7373
7421
  "jsdoc": "",
7374
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
7422
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
7375
7423
  },
7376
7424
  {
7377
7425
  "name": "WixLocation",
@@ -8079,119 +8127,119 @@
8079
8127
  "name": "createLocation",
8080
8128
  "kind": "function",
8081
8129
  "jsdoc": "",
8082
- "decl": "export function createLocation(\n req: WixCreateLocationRequest = {} as WixCreateLocationRequest,\n): Promise<WixCreateLocationResponse>;",
8130
+ "decl": "export function createLocation(\n req: WixCreateLocationRequest = {} as WixCreateLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateLocationResponse>;",
8083
8131
  "http": "POST /locations/v1/locations"
8084
8132
  },
8085
8133
  {
8086
8134
  "name": "bulkCreateLocation",
8087
8135
  "kind": "function",
8088
8136
  "jsdoc": "",
8089
- "decl": "export function bulkCreateLocation(\n req: WixBulkCreateLocationRequest = {} as WixBulkCreateLocationRequest,\n): Promise<WixBulkCreateLocationResponse>;",
8137
+ "decl": "export function bulkCreateLocation(\n req: WixBulkCreateLocationRequest = {} as WixBulkCreateLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkCreateLocationResponse>;",
8090
8138
  "http": "POST /locations/v1/locations/bulk-create"
8091
8139
  },
8092
8140
  {
8093
8141
  "name": "getLocation",
8094
8142
  "kind": "function",
8095
8143
  "jsdoc": "",
8096
- "decl": "export function getLocation(id: string): Promise<WixGetLocationResponse>;",
8144
+ "decl": "export function getLocation(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixGetLocationResponse>;",
8097
8145
  "http": "GET /locations/v1/locations/{…}"
8098
8146
  },
8099
8147
  {
8100
8148
  "name": "listLocations",
8101
8149
  "kind": "function",
8102
8150
  "jsdoc": "",
8103
- "decl": "export function listLocations(\n req: WixListLocationsRequest = {} as WixListLocationsRequest,\n): Promise<WixListLocationsResponse>;",
8151
+ "decl": "export function listLocations(\n req: WixListLocationsRequest = {} as WixListLocationsRequest,\n opts?: WixCallOptions,\n): Promise<WixListLocationsResponse>;",
8104
8152
  "http": "GET /locations/v1/locations"
8105
8153
  },
8106
8154
  {
8107
8155
  "name": "updateLocation",
8108
8156
  "kind": "function",
8109
8157
  "jsdoc": "",
8110
- "decl": "export function updateLocation(\n locationId: string,\n req: WixUpdateLocationRequest = {} as WixUpdateLocationRequest,\n): Promise<WixUpdateLocationResponse>;",
8158
+ "decl": "export function updateLocation(\n locationId: string,\n req: WixUpdateLocationRequest = {} as WixUpdateLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateLocationResponse>;",
8111
8159
  "http": "PUT /locations/v1/locations/{…}"
8112
8160
  },
8113
8161
  {
8114
8162
  "name": "queryLocations",
8115
8163
  "kind": "function",
8116
8164
  "jsdoc": "",
8117
- "decl": "export function queryLocations(\n req: WixQueryLocationsRequest = {} as WixQueryLocationsRequest,\n): Promise<WixQueryLocationsResponse>;",
8165
+ "decl": "export function queryLocations(\n req: WixQueryLocationsRequest = {} as WixQueryLocationsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryLocationsResponse>;",
8118
8166
  "http": "POST /locations/v1/locations/query"
8119
8167
  },
8120
8168
  {
8121
8169
  "name": "setDefaultLocation",
8122
8170
  "kind": "function",
8123
8171
  "jsdoc": "",
8124
- "decl": "export function setDefaultLocation(\n id: string,\n req: WixSetDefaultLocationRequest = {} as WixSetDefaultLocationRequest,\n): Promise<WixSetDefaultLocationResponse>;",
8172
+ "decl": "export function setDefaultLocation(\n id: string,\n req: WixSetDefaultLocationRequest = {} as WixSetDefaultLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixSetDefaultLocationResponse>;",
8125
8173
  "http": "POST /locations/v1/locations/{…}/set-default"
8126
8174
  },
8127
8175
  {
8128
8176
  "name": "archiveLocation",
8129
8177
  "kind": "function",
8130
8178
  "jsdoc": "",
8131
- "decl": "export function archiveLocation(\n id: string,\n req: WixArchiveLocationRequest = {} as WixArchiveLocationRequest,\n): Promise<WixArchiveLocationResponse>;",
8179
+ "decl": "export function archiveLocation(\n id: string,\n req: WixArchiveLocationRequest = {} as WixArchiveLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixArchiveLocationResponse>;",
8132
8180
  "http": "POST /locations/v1/locations/{…}/archive"
8133
8181
  },
8134
8182
  {
8135
8183
  "name": "addTypeToLocation",
8136
8184
  "kind": "function",
8137
8185
  "jsdoc": "",
8138
- "decl": "export function addTypeToLocation(\n id: string,\n req: WixAddTypeToLocationRequest = {} as WixAddTypeToLocationRequest,\n): Promise<WixAddTypeToLocationResponse>;",
8186
+ "decl": "export function addTypeToLocation(\n id: string,\n req: WixAddTypeToLocationRequest = {} as WixAddTypeToLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixAddTypeToLocationResponse>;",
8139
8187
  "http": "PATCH /locations/v1/locations/{…}/add-type"
8140
8188
  },
8141
8189
  {
8142
8190
  "name": "removeTypeFromLocation",
8143
8191
  "kind": "function",
8144
8192
  "jsdoc": "",
8145
- "decl": "export function removeTypeFromLocation(\n id: string,\n req: WixRemoveTypeFromLocationRequest = {} as WixRemoveTypeFromLocationRequest,\n): Promise<WixRemoveTypeFromLocationResponse>;",
8193
+ "decl": "export function removeTypeFromLocation(\n id: string,\n req: WixRemoveTypeFromLocationRequest = {} as WixRemoveTypeFromLocationRequest,\n opts?: WixCallOptions,\n): Promise<WixRemoveTypeFromLocationResponse>;",
8146
8194
  "http": "PATCH /locations/v1/locations/{…}/remove-type"
8147
8195
  },
8148
8196
  {
8149
8197
  "name": "addLocationType",
8150
8198
  "kind": "function",
8151
8199
  "jsdoc": "",
8152
- "decl": "export function addLocationType(\n id: string,\n req: WixAddLocationTypeRequest = {} as WixAddLocationTypeRequest,\n): Promise<WixAddLocationTypeResponse>;",
8200
+ "decl": "export function addLocationType(\n id: string,\n req: WixAddLocationTypeRequest = {} as WixAddLocationTypeRequest,\n opts?: WixCallOptions,\n): Promise<WixAddLocationTypeResponse>;",
8153
8201
  "http": "PATCH /locations/v1/locations/{…}/add-location-type"
8154
8202
  },
8155
8203
  {
8156
8204
  "name": "removeLocationType",
8157
8205
  "kind": "function",
8158
8206
  "jsdoc": "",
8159
- "decl": "export function removeLocationType(\n id: string,\n req: WixRemoveLocationTypeRequest = {} as WixRemoveLocationTypeRequest,\n): Promise<WixRemoveLocationTypeResponse>;",
8207
+ "decl": "export function removeLocationType(\n id: string,\n req: WixRemoveLocationTypeRequest = {} as WixRemoveLocationTypeRequest,\n opts?: WixCallOptions,\n): Promise<WixRemoveLocationTypeResponse>;",
8160
8208
  "http": "PATCH /locations/v1/locations/{…}/remove-location-type"
8161
8209
  },
8162
8210
  {
8163
8211
  "name": "read",
8164
8212
  "kind": "function",
8165
8213
  "jsdoc": "",
8166
- "decl": "export function read(): Promise<WixReadResponse>;",
8214
+ "decl": "export function read(opts?: WixCallOptions): Promise<WixReadResponse>;",
8167
8215
  "http": "GET /site-properties/v4/properties"
8168
8216
  },
8169
8217
  {
8170
8218
  "name": "updateBusinessProfile",
8171
8219
  "kind": "function",
8172
8220
  "jsdoc": "",
8173
- "decl": "export function updateBusinessProfile(\n req: WixUpdateBusinessProfileRequest = {} as WixUpdateBusinessProfileRequest,\n): Promise<WixUpdateBusinessProfileResponse>;",
8221
+ "decl": "export function updateBusinessProfile(\n req: WixUpdateBusinessProfileRequest = {} as WixUpdateBusinessProfileRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateBusinessProfileResponse>;",
8174
8222
  "http": "POST /site-properties/v4/properties/business-profile"
8175
8223
  },
8176
8224
  {
8177
8225
  "name": "updateBusinessContact",
8178
8226
  "kind": "function",
8179
8227
  "jsdoc": "",
8180
- "decl": "export function updateBusinessContact(\n req: WixUpdateBusinessContactRequest = {} as WixUpdateBusinessContactRequest,\n): Promise<WixUpdateBusinessContactResponse>;",
8228
+ "decl": "export function updateBusinessContact(\n req: WixUpdateBusinessContactRequest = {} as WixUpdateBusinessContactRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateBusinessContactResponse>;",
8181
8229
  "http": "POST /site-properties/v4/properties/business-contact"
8182
8230
  },
8183
8231
  {
8184
8232
  "name": "updateBusinessSchedule",
8185
8233
  "kind": "function",
8186
8234
  "jsdoc": "",
8187
- "decl": "export function updateBusinessSchedule(\n req: WixUpdateBusinessScheduleRequest = {} as WixUpdateBusinessScheduleRequest,\n): Promise<WixUpdateBusinessScheduleResponse>;",
8235
+ "decl": "export function updateBusinessSchedule(\n req: WixUpdateBusinessScheduleRequest = {} as WixUpdateBusinessScheduleRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateBusinessScheduleResponse>;",
8188
8236
  "http": "POST /site-properties/v4/properties/business-schedule"
8189
8237
  },
8190
8238
  {
8191
8239
  "name": "updateConsentPolicy",
8192
8240
  "kind": "function",
8193
8241
  "jsdoc": "",
8194
- "decl": "export function updateConsentPolicy(\n req: WixUpdateConsentPolicyRequest = {} as WixUpdateConsentPolicyRequest,\n): Promise<WixUpdateConsentPolicyResponse>;",
8242
+ "decl": "export function updateConsentPolicy(\n req: WixUpdateConsentPolicyRequest = {} as WixUpdateConsentPolicyRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateConsentPolicyResponse>;",
8195
8243
  "http": "POST /site-properties/v4/properties/policy"
8196
8244
  }
8197
8245
  ]
@@ -8280,11 +8328,17 @@
8280
8328
  "source": "stdlib/wix-sdk/comments-v1/src/index.ts",
8281
8329
  "description": "Comments on any resource",
8282
8330
  "api": [
8331
+ {
8332
+ "name": "WixCallOptions",
8333
+ "kind": "interface",
8334
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
8335
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
8336
+ },
8283
8337
  {
8284
8338
  "name": "wixCall",
8285
8339
  "kind": "function",
8286
8340
  "jsdoc": "",
8287
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
8341
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
8288
8342
  },
8289
8343
  {
8290
8344
  "name": "WixComment",
@@ -9790,112 +9844,112 @@
9790
9844
  "name": "getComment",
9791
9845
  "kind": "function",
9792
9846
  "jsdoc": "",
9793
- "decl": "export function getComment(commentId: string): Promise<WixGetCommentResponse>;",
9847
+ "decl": "export function getComment(\n commentId: string,\n opts?: WixCallOptions,\n): Promise<WixGetCommentResponse>;",
9794
9848
  "http": "GET /comments/v1/comments/{…}"
9795
9849
  },
9796
9850
  {
9797
9851
  "name": "deleteComment",
9798
9852
  "kind": "function",
9799
9853
  "jsdoc": "",
9800
- "decl": "export function deleteComment(\n commentId: string,\n): Promise<WixDeleteCommentResponse>;",
9854
+ "decl": "export function deleteComment(\n commentId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteCommentResponse>;",
9801
9855
  "http": "DELETE /comments/v1/comments/{…}"
9802
9856
  },
9803
9857
  {
9804
9858
  "name": "moderateDraftContent",
9805
9859
  "kind": "function",
9806
9860
  "jsdoc": "",
9807
- "decl": "export function moderateDraftContent(\n commentId: string,\n req: WixModerateDraftContentRequest = {} as WixModerateDraftContentRequest,\n): Promise<WixModerateDraftContentResponse>;",
9861
+ "decl": "export function moderateDraftContent(\n commentId: string,\n req: WixModerateDraftContentRequest = {} as WixModerateDraftContentRequest,\n opts?: WixCallOptions,\n): Promise<WixModerateDraftContentResponse>;",
9808
9862
  "http": "POST /comments/v1/comments/{…}/moderate"
9809
9863
  },
9810
9864
  {
9811
9865
  "name": "queryComments",
9812
9866
  "kind": "function",
9813
9867
  "jsdoc": "",
9814
- "decl": "export function queryComments(\n req: WixQueryCommentsRequest = {} as WixQueryCommentsRequest,\n): Promise<WixQueryCommentsResponse>;",
9868
+ "decl": "export function queryComments(\n req: WixQueryCommentsRequest = {} as WixQueryCommentsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryCommentsResponse>;",
9815
9869
  "http": "POST /comments/v1/comments/query-cursor"
9816
9870
  },
9817
9871
  {
9818
9872
  "name": "markComment",
9819
9873
  "kind": "function",
9820
9874
  "jsdoc": "",
9821
- "decl": "export function markComment(\n commentId: string,\n req: WixMarkCommentRequest = {} as WixMarkCommentRequest,\n): Promise<WixMarkCommentResponse>;",
9875
+ "decl": "export function markComment(\n commentId: string,\n req: WixMarkCommentRequest = {} as WixMarkCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixMarkCommentResponse>;",
9822
9876
  "http": "PUT /comments/v1/comments/{…}/mark"
9823
9877
  },
9824
9878
  {
9825
9879
  "name": "unmarkComment",
9826
9880
  "kind": "function",
9827
9881
  "jsdoc": "",
9828
- "decl": "export function unmarkComment(\n commentId: string,\n req: WixUnmarkCommentRequest = {} as WixUnmarkCommentRequest,\n): Promise<WixUnmarkCommentResponse>;",
9882
+ "decl": "export function unmarkComment(\n commentId: string,\n req: WixUnmarkCommentRequest = {} as WixUnmarkCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixUnmarkCommentResponse>;",
9829
9883
  "http": "PUT /comments/v1/comments/{…}/unmark"
9830
9884
  },
9831
9885
  {
9832
9886
  "name": "hideComment",
9833
9887
  "kind": "function",
9834
9888
  "jsdoc": "",
9835
- "decl": "export function hideComment(\n commentId: string,\n req: WixHideCommentRequest = {} as WixHideCommentRequest,\n): Promise<WixHideCommentResponse>;",
9889
+ "decl": "export function hideComment(\n commentId: string,\n req: WixHideCommentRequest = {} as WixHideCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixHideCommentResponse>;",
9836
9890
  "http": "PUT /comments/v1/comments/{…}/hide"
9837
9891
  },
9838
9892
  {
9839
9893
  "name": "publishComment",
9840
9894
  "kind": "function",
9841
9895
  "jsdoc": "",
9842
- "decl": "export function publishComment(\n commentId: string,\n req: WixPublishCommentRequest = {} as WixPublishCommentRequest,\n): Promise<WixPublishCommentResponse>;",
9896
+ "decl": "export function publishComment(\n commentId: string,\n req: WixPublishCommentRequest = {} as WixPublishCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixPublishCommentResponse>;",
9843
9897
  "http": "PUT /comments/v1/comments/{…}/publish"
9844
9898
  },
9845
9899
  {
9846
9900
  "name": "countComments",
9847
9901
  "kind": "function",
9848
9902
  "jsdoc": "",
9849
- "decl": "export function countComments(\n req: WixCountCommentsRequest = {} as WixCountCommentsRequest,\n): Promise<WixCountCommentsResponse>;",
9903
+ "decl": "export function countComments(\n req: WixCountCommentsRequest = {} as WixCountCommentsRequest,\n opts?: WixCallOptions,\n): Promise<WixCountCommentsResponse>;",
9850
9904
  "http": "POST /comments/v1/comments/count"
9851
9905
  },
9852
9906
  {
9853
9907
  "name": "listCommentsByResource",
9854
9908
  "kind": "function",
9855
9909
  "jsdoc": "",
9856
- "decl": "export function listCommentsByResource(\n req: WixListCommentsByResourceRequest = {} as WixListCommentsByResourceRequest,\n): Promise<WixListCommentsByResourceResponse>;",
9910
+ "decl": "export function listCommentsByResource(\n req: WixListCommentsByResourceRequest = {} as WixListCommentsByResourceRequest,\n opts?: WixCallOptions,\n): Promise<WixListCommentsByResourceResponse>;",
9857
9911
  "http": "GET /comments/v1/comments/list-by-resource"
9858
9912
  },
9859
9913
  {
9860
9914
  "name": "getCommentThread",
9861
9915
  "kind": "function",
9862
9916
  "jsdoc": "",
9863
- "decl": "export function getCommentThread(\n commentId: string,\n): Promise<WixGetCommentThreadResponse>;",
9917
+ "decl": "export function getCommentThread(\n commentId: string,\n opts?: WixCallOptions,\n): Promise<WixGetCommentThreadResponse>;",
9864
9918
  "http": "GET /comments/v1/comments/{…}/thread"
9865
9919
  },
9866
9920
  {
9867
9921
  "name": "bulkPublishComment",
9868
9922
  "kind": "function",
9869
9923
  "jsdoc": "",
9870
- "decl": "export function bulkPublishComment(\n req: WixBulkPublishCommentRequest = {} as WixBulkPublishCommentRequest,\n): Promise<WixBulkPublishCommentResponse>;",
9924
+ "decl": "export function bulkPublishComment(\n req: WixBulkPublishCommentRequest = {} as WixBulkPublishCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkPublishCommentResponse>;",
9871
9925
  "http": "POST /comments/v1/bulk/comments/publish-by-filter"
9872
9926
  },
9873
9927
  {
9874
9928
  "name": "bulkHideComment",
9875
9929
  "kind": "function",
9876
9930
  "jsdoc": "",
9877
- "decl": "export function bulkHideComment(\n req: WixBulkHideCommentRequest = {} as WixBulkHideCommentRequest,\n): Promise<WixBulkHideCommentResponse>;",
9931
+ "decl": "export function bulkHideComment(\n req: WixBulkHideCommentRequest = {} as WixBulkHideCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkHideCommentResponse>;",
9878
9932
  "http": "PUT /comments/v1/bulk/comments/hide-by-filter"
9879
9933
  },
9880
9934
  {
9881
9935
  "name": "bulkDeleteComment",
9882
9936
  "kind": "function",
9883
9937
  "jsdoc": "",
9884
- "decl": "export function bulkDeleteComment(\n req: WixBulkDeleteCommentRequest = {} as WixBulkDeleteCommentRequest,\n): Promise<WixBulkDeleteCommentResponse>;",
9938
+ "decl": "export function bulkDeleteComment(\n req: WixBulkDeleteCommentRequest = {} as WixBulkDeleteCommentRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkDeleteCommentResponse>;",
9885
9939
  "http": "PUT /comments/v1/bulk/comments/delete-by-filter"
9886
9940
  },
9887
9941
  {
9888
9942
  "name": "bulkModerateDraftContent",
9889
9943
  "kind": "function",
9890
9944
  "jsdoc": "",
9891
- "decl": "export function bulkModerateDraftContent(\n req: WixBulkModerateDraftContentRequest = {} as WixBulkModerateDraftContentRequest,\n): Promise<WixBulkModerateDraftContentResponse>;",
9945
+ "decl": "export function bulkModerateDraftContent(\n req: WixBulkModerateDraftContentRequest = {} as WixBulkModerateDraftContentRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkModerateDraftContentResponse>;",
9892
9946
  "http": "POST /comments/v1/bulk/comments/moderate-by-filter"
9893
9947
  },
9894
9948
  {
9895
9949
  "name": "bulkMoveCommentByFilter",
9896
9950
  "kind": "function",
9897
9951
  "jsdoc": "",
9898
- "decl": "export function bulkMoveCommentByFilter(\n req: WixBulkMoveCommentByFilterRequest = {} as WixBulkMoveCommentByFilterRequest,\n): Promise<WixBulkMoveCommentByFilterResponse>;",
9952
+ "decl": "export function bulkMoveCommentByFilter(\n req: WixBulkMoveCommentByFilterRequest = {} as WixBulkMoveCommentByFilterRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkMoveCommentByFilterResponse>;",
9899
9953
  "http": "PUT /comments/v1/bulk/comments/move-by-filter"
9900
9954
  },
9901
9955
  {
@@ -9925,11 +9979,17 @@
9925
9979
  "source": "stdlib/wix-sdk/contacts/src/index.ts",
9926
9980
  "description": "CRM contacts",
9927
9981
  "api": [
9982
+ {
9983
+ "name": "WixCallOptions",
9984
+ "kind": "interface",
9985
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
9986
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
9987
+ },
9928
9988
  {
9929
9989
  "name": "wixCall",
9930
9990
  "kind": "function",
9931
9991
  "jsdoc": "",
9932
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
9992
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
9933
9993
  },
9934
9994
  {
9935
9995
  "name": "WixContactsPaging",
@@ -10091,42 +10151,42 @@
10091
10151
  "name": "queryContacts",
10092
10152
  "kind": "function",
10093
10153
  "jsdoc": "",
10094
- "decl": "export function queryContacts(\n req: WixQueryContactsRequest = {} as WixQueryContactsRequest,\n): Promise<WixQueryContactsResponse>;",
10154
+ "decl": "export function queryContacts(\n req: WixQueryContactsRequest = {} as WixQueryContactsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryContactsResponse>;",
10095
10155
  "http": "POST /contacts/v4/contacts/query"
10096
10156
  },
10097
10157
  {
10098
10158
  "name": "listContacts",
10099
10159
  "kind": "function",
10100
10160
  "jsdoc": "",
10101
- "decl": "export function listContacts(\n req: WixListContactsRequest = {} as WixListContactsRequest,\n): Promise<WixQueryContactsResponse>;",
10161
+ "decl": "export function listContacts(\n req: WixListContactsRequest = {} as WixListContactsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryContactsResponse>;",
10102
10162
  "http": "GET /contacts/v4/contacts"
10103
10163
  },
10104
10164
  {
10105
10165
  "name": "getContact",
10106
10166
  "kind": "function",
10107
10167
  "jsdoc": "",
10108
- "decl": "export function getContact(contactId: string): Promise<WixGetContactResponse>;",
10168
+ "decl": "export function getContact(\n contactId: string,\n opts?: WixCallOptions,\n): Promise<WixGetContactResponse>;",
10109
10169
  "http": "GET /contacts/v4/contacts/{…}"
10110
10170
  },
10111
10171
  {
10112
10172
  "name": "createContact",
10113
10173
  "kind": "function",
10114
10174
  "jsdoc": "",
10115
- "decl": "export function createContact(\n req: WixCreateContactRequest = {} as WixCreateContactRequest,\n): Promise<WixCreateContactResponse>;",
10175
+ "decl": "export function createContact(\n req: WixCreateContactRequest = {} as WixCreateContactRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateContactResponse>;",
10116
10176
  "http": "POST /contacts/v4/contacts"
10117
10177
  },
10118
10178
  {
10119
10179
  "name": "updateContact",
10120
10180
  "kind": "function",
10121
10181
  "jsdoc": "",
10122
- "decl": "export function updateContact(\n contactId: string,\n req: WixUpdateContactRequest = {} as WixUpdateContactRequest,\n): Promise<WixUpdateContactResponse>;",
10182
+ "decl": "export function updateContact(\n contactId: string,\n req: WixUpdateContactRequest = {} as WixUpdateContactRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateContactResponse>;",
10123
10183
  "http": "PATCH /contacts/v4/contacts/{…}"
10124
10184
  },
10125
10185
  {
10126
10186
  "name": "deleteContact",
10127
10187
  "kind": "function",
10128
10188
  "jsdoc": "",
10129
- "decl": "export function deleteContact(\n contactId: string,\n): Promise<WixDeleteContactResponse>;",
10189
+ "decl": "export function deleteContact(\n contactId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteContactResponse>;",
10130
10190
  "http": "DELETE /contacts/v4/contacts/{…}"
10131
10191
  },
10132
10192
  {
@@ -10474,11 +10534,17 @@
10474
10534
  "source": "stdlib/wix-sdk/data-collections-v1/src/index.ts",
10475
10535
  "description": "Wix data collections — typed REST client",
10476
10536
  "api": [
10537
+ {
10538
+ "name": "WixCallOptions",
10539
+ "kind": "interface",
10540
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
10541
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
10542
+ },
10477
10543
  {
10478
10544
  "name": "wixCall",
10479
10545
  "kind": "function",
10480
10546
  "jsdoc": "",
10481
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
10547
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
10482
10548
  },
10483
10549
  {
10484
10550
  "name": "WixDataCollection",
@@ -11888,119 +11954,119 @@
11888
11954
  "name": "getDataCollection",
11889
11955
  "kind": "function",
11890
11956
  "jsdoc": "",
11891
- "decl": "export function getDataCollection(\n dataCollectionId: string,\n): Promise<WixGetDataCollectionResponse>;",
11957
+ "decl": "export function getDataCollection(\n dataCollectionId: string,\n opts?: WixCallOptions,\n): Promise<WixGetDataCollectionResponse>;",
11892
11958
  "http": "GET /data/v2/collections/{…}"
11893
11959
  },
11894
11960
  {
11895
11961
  "name": "listDataCollections",
11896
11962
  "kind": "function",
11897
11963
  "jsdoc": "",
11898
- "decl": "export function listDataCollections(\n req: WixListDataCollectionsRequest = {} as WixListDataCollectionsRequest,\n): Promise<WixListDataCollectionsResponse>;",
11964
+ "decl": "export function listDataCollections(\n req: WixListDataCollectionsRequest = {} as WixListDataCollectionsRequest,\n opts?: WixCallOptions,\n): Promise<WixListDataCollectionsResponse>;",
11899
11965
  "http": "GET /data/v2/collections"
11900
11966
  },
11901
11967
  {
11902
11968
  "name": "deleteDataCollection",
11903
11969
  "kind": "function",
11904
11970
  "jsdoc": "",
11905
- "decl": "export function deleteDataCollection(\n dataCollectionId: string,\n): Promise<WixDeleteDataCollectionResponse>;",
11971
+ "decl": "export function deleteDataCollection(\n dataCollectionId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteDataCollectionResponse>;",
11906
11972
  "http": "DELETE /data/v2/collections/{…}"
11907
11973
  },
11908
11974
  {
11909
11975
  "name": "restoreDataCollection",
11910
11976
  "kind": "function",
11911
11977
  "jsdoc": "",
11912
- "decl": "export function restoreDataCollection(\n dataCollectionId: string,\n req: WixRestoreDataCollectionRequest = {} as WixRestoreDataCollectionRequest,\n): Promise<WixRestoreDataCollectionResponse>;",
11978
+ "decl": "export function restoreDataCollection(\n dataCollectionId: string,\n req: WixRestoreDataCollectionRequest = {} as WixRestoreDataCollectionRequest,\n opts?: WixCallOptions,\n): Promise<WixRestoreDataCollectionResponse>;",
11913
11979
  "http": "POST /data/v2/collections/restore/{…}"
11914
11980
  },
11915
11981
  {
11916
11982
  "name": "deleteDataCollectionField",
11917
11983
  "kind": "function",
11918
11984
  "jsdoc": "",
11919
- "decl": "export function deleteDataCollectionField(\n req: WixDeleteDataCollectionFieldRequest = {} as WixDeleteDataCollectionFieldRequest,\n): Promise<WixDeleteDataCollectionFieldResponse>;",
11985
+ "decl": "export function deleteDataCollectionField(\n req: WixDeleteDataCollectionFieldRequest = {} as WixDeleteDataCollectionFieldRequest,\n opts?: WixCallOptions,\n): Promise<WixDeleteDataCollectionFieldResponse>;",
11920
11986
  "http": "POST /data/v2/collections/delete-field"
11921
11987
  },
11922
11988
  {
11923
11989
  "name": "addDataCollectionPlugin",
11924
11990
  "kind": "function",
11925
11991
  "jsdoc": "",
11926
- "decl": "export function addDataCollectionPlugin(\n req: WixAddDataCollectionPluginRequest = {} as WixAddDataCollectionPluginRequest,\n): Promise<WixAddDataCollectionPluginResponse>;",
11992
+ "decl": "export function addDataCollectionPlugin(\n req: WixAddDataCollectionPluginRequest = {} as WixAddDataCollectionPluginRequest,\n opts?: WixCallOptions,\n): Promise<WixAddDataCollectionPluginResponse>;",
11927
11993
  "http": "POST /data/v2/collections/add-plugin"
11928
11994
  },
11929
11995
  {
11930
11996
  "name": "deleteDataCollectionPlugin",
11931
11997
  "kind": "function",
11932
11998
  "jsdoc": "",
11933
- "decl": "export function deleteDataCollectionPlugin(\n req: WixDeleteDataCollectionPluginRequest = {} as WixDeleteDataCollectionPluginRequest,\n): Promise<WixDeleteDataCollectionPluginResponse>;",
11999
+ "decl": "export function deleteDataCollectionPlugin(\n req: WixDeleteDataCollectionPluginRequest = {} as WixDeleteDataCollectionPluginRequest,\n opts?: WixCallOptions,\n): Promise<WixDeleteDataCollectionPluginResponse>;",
11934
12000
  "http": "POST /data/v2/collections/delete-plugin"
11935
12001
  },
11936
12002
  {
11937
12003
  "name": "createIndex",
11938
12004
  "kind": "function",
11939
12005
  "jsdoc": "",
11940
- "decl": "export function createIndex(\n req: WixCreateIndexRequest = {} as WixCreateIndexRequest,\n): Promise<WixCreateIndexResponse>;",
12006
+ "decl": "export function createIndex(\n req: WixCreateIndexRequest = {} as WixCreateIndexRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateIndexResponse>;",
11941
12007
  "http": "POST /data/v2/indexes"
11942
12008
  },
11943
12009
  {
11944
12010
  "name": "dropIndex",
11945
12011
  "kind": "function",
11946
12012
  "jsdoc": "",
11947
- "decl": "export function dropIndex(\n req: WixDropIndexRequest = {} as WixDropIndexRequest,\n): Promise<WixDropIndexResponse>;",
12013
+ "decl": "export function dropIndex(\n req: WixDropIndexRequest = {} as WixDropIndexRequest,\n opts?: WixCallOptions,\n): Promise<WixDropIndexResponse>;",
11948
12014
  "http": "DELETE /data/v2/indexes"
11949
12015
  },
11950
12016
  {
11951
12017
  "name": "listIndexes",
11952
12018
  "kind": "function",
11953
12019
  "jsdoc": "",
11954
- "decl": "export function listIndexes(\n req: WixListIndexesRequest = {} as WixListIndexesRequest,\n): Promise<WixListIndexesResponse>;",
12020
+ "decl": "export function listIndexes(\n req: WixListIndexesRequest = {} as WixListIndexesRequest,\n opts?: WixCallOptions,\n): Promise<WixListIndexesResponse>;",
11955
12021
  "http": "GET /data/v2/indexes"
11956
12022
  },
11957
12023
  {
11958
12024
  "name": "listAvailableIndexes",
11959
12025
  "kind": "function",
11960
12026
  "jsdoc": "",
11961
- "decl": "export function listAvailableIndexes(\n req: WixListAvailableIndexesRequest = {} as WixListAvailableIndexesRequest,\n): Promise<WixListAvailableIndexesResponse>;",
12027
+ "decl": "export function listAvailableIndexes(\n req: WixListAvailableIndexesRequest = {} as WixListAvailableIndexesRequest,\n opts?: WixCallOptions,\n): Promise<WixListAvailableIndexesResponse>;",
11962
12028
  "http": "GET /data/v2/indexes/available"
11963
12029
  },
11964
12030
  {
11965
12031
  "name": "getPermissions",
11966
12032
  "kind": "function",
11967
12033
  "jsdoc": "",
11968
- "decl": "export function getPermissions(\n req: WixGetPermissionsRequest = {} as WixGetPermissionsRequest,\n): Promise<WixGetPermissionsResponse>;",
12034
+ "decl": "export function getPermissions(\n req: WixGetPermissionsRequest = {} as WixGetPermissionsRequest,\n opts?: WixCallOptions,\n): Promise<WixGetPermissionsResponse>;",
11969
12035
  "http": "GET /wix-data/v1/permissions"
11970
12036
  },
11971
12037
  {
11972
12038
  "name": "updatePermissions",
11973
12039
  "kind": "function",
11974
12040
  "jsdoc": "",
11975
- "decl": "export function updatePermissions(\n req: WixUpdatePermissionsRequest = {} as WixUpdatePermissionsRequest,\n): Promise<WixUpdatePermissionsResponse>;",
12041
+ "decl": "export function updatePermissions(\n req: WixUpdatePermissionsRequest = {} as WixUpdatePermissionsRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdatePermissionsResponse>;",
11976
12042
  "http": "POST /wix-data/v1/permissions"
11977
12043
  },
11978
12044
  {
11979
12045
  "name": "addSpecialPermissions",
11980
12046
  "kind": "function",
11981
12047
  "jsdoc": "",
11982
- "decl": "export function addSpecialPermissions(\n req: WixAddSpecialPermissionsRequest = {} as WixAddSpecialPermissionsRequest,\n): Promise<WixAddSpecialPermissionsResponse>;",
12048
+ "decl": "export function addSpecialPermissions(\n req: WixAddSpecialPermissionsRequest = {} as WixAddSpecialPermissionsRequest,\n opts?: WixCallOptions,\n): Promise<WixAddSpecialPermissionsResponse>;",
11983
12049
  "http": "POST /wix-data/v1/permissions/special"
11984
12050
  },
11985
12051
  {
11986
12052
  "name": "updateSpecialPermissions",
11987
12053
  "kind": "function",
11988
12054
  "jsdoc": "",
11989
- "decl": "export function updateSpecialPermissions(\n specialPermissionsId: string,\n req: WixUpdateSpecialPermissionsRequest = {} as WixUpdateSpecialPermissionsRequest,\n): Promise<WixUpdateSpecialPermissionsResponse>;",
12055
+ "decl": "export function updateSpecialPermissions(\n specialPermissionsId: string,\n req: WixUpdateSpecialPermissionsRequest = {} as WixUpdateSpecialPermissionsRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateSpecialPermissionsResponse>;",
11990
12056
  "http": "POST /wix-data/v1/permissions/special/{…}"
11991
12057
  },
11992
12058
  {
11993
12059
  "name": "removeSpecialPermissions",
11994
12060
  "kind": "function",
11995
12061
  "jsdoc": "",
11996
- "decl": "export function removeSpecialPermissions(\n specialPermissionsId: string,\n): Promise<WixRemoveSpecialPermissionsResponse>;",
12062
+ "decl": "export function removeSpecialPermissions(\n specialPermissionsId: string,\n opts?: WixCallOptions,\n): Promise<WixRemoveSpecialPermissionsResponse>;",
11997
12063
  "http": "DELETE /wix-data/v1/permissions/special/{…}"
11998
12064
  },
11999
12065
  {
12000
12066
  "name": "getMyPermissions",
12001
12067
  "kind": "function",
12002
12068
  "jsdoc": "",
12003
- "decl": "export function getMyPermissions(\n req: WixGetMyPermissionsRequest = {} as WixGetMyPermissionsRequest,\n): Promise<WixGetMyPermissionsResponse>;",
12069
+ "decl": "export function getMyPermissions(\n req: WixGetMyPermissionsRequest = {} as WixGetMyPermissionsRequest,\n opts?: WixCallOptions,\n): Promise<WixGetMyPermissionsResponse>;",
12004
12070
  "http": "GET /wix-data/v1/permissions/current"
12005
12071
  },
12006
12072
  {
@@ -12024,11 +12090,17 @@
12024
12090
  "source": "stdlib/wix-sdk/donations/src/index.ts",
12025
12091
  "description": "Wix donations — typed REST client",
12026
12092
  "api": [
12093
+ {
12094
+ "name": "WixCallOptions",
12095
+ "kind": "interface",
12096
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
12097
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
12098
+ },
12027
12099
  {
12028
12100
  "name": "wixCall",
12029
12101
  "kind": "function",
12030
12102
  "jsdoc": "",
12031
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
12103
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
12032
12104
  },
12033
12105
  {
12034
12106
  "name": "WixDonationCampaign",
@@ -12514,56 +12586,56 @@
12514
12586
  "name": "createDonationCampaign",
12515
12587
  "kind": "function",
12516
12588
  "jsdoc": "",
12517
- "decl": "export function createDonationCampaign(\n req: WixCreateDonationCampaignRequest = {} as WixCreateDonationCampaignRequest,\n): Promise<WixCreateDonationCampaignResponse>;",
12589
+ "decl": "export function createDonationCampaign(\n req: WixCreateDonationCampaignRequest = {} as WixCreateDonationCampaignRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateDonationCampaignResponse>;",
12518
12590
  "http": "POST /donation-campaigns/v2/donation-campaigns"
12519
12591
  },
12520
12592
  {
12521
12593
  "name": "getDonationCampaign",
12522
12594
  "kind": "function",
12523
12595
  "jsdoc": "",
12524
- "decl": "export function getDonationCampaign(\n donationCampaignId: string,\n): Promise<WixGetDonationCampaignResponse>;",
12596
+ "decl": "export function getDonationCampaign(\n donationCampaignId: string,\n opts?: WixCallOptions,\n): Promise<WixGetDonationCampaignResponse>;",
12525
12597
  "http": "GET /donation-campaigns/v2/donation-campaigns/{…}"
12526
12598
  },
12527
12599
  {
12528
12600
  "name": "updateDonationCampaign",
12529
12601
  "kind": "function",
12530
12602
  "jsdoc": "",
12531
- "decl": "export function updateDonationCampaign(\n donationCampaignId: string,\n req: WixUpdateDonationCampaignRequest = {} as WixUpdateDonationCampaignRequest,\n): Promise<WixUpdateDonationCampaignResponse>;",
12603
+ "decl": "export function updateDonationCampaign(\n donationCampaignId: string,\n req: WixUpdateDonationCampaignRequest = {} as WixUpdateDonationCampaignRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateDonationCampaignResponse>;",
12532
12604
  "http": "PATCH /donation-campaigns/v2/donation-campaigns/{…}"
12533
12605
  },
12534
12606
  {
12535
12607
  "name": "queryDonationCampaigns",
12536
12608
  "kind": "function",
12537
12609
  "jsdoc": "",
12538
- "decl": "export function queryDonationCampaigns(\n req: WixQueryDonationCampaignsRequest = {} as WixQueryDonationCampaignsRequest,\n): Promise<WixQueryDonationCampaignsResponse>;",
12610
+ "decl": "export function queryDonationCampaigns(\n req: WixQueryDonationCampaignsRequest = {} as WixQueryDonationCampaignsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryDonationCampaignsResponse>;",
12539
12611
  "http": "POST /donation-campaigns/v2/donation-campaigns/query"
12540
12612
  },
12541
12613
  {
12542
12614
  "name": "getDonationCampaignMetrics",
12543
12615
  "kind": "function",
12544
12616
  "jsdoc": "",
12545
- "decl": "export function getDonationCampaignMetrics(\n donationCampaignId: string,\n): Promise<WixGetDonationCampaignMetricsResponse>;",
12617
+ "decl": "export function getDonationCampaignMetrics(\n donationCampaignId: string,\n opts?: WixCallOptions,\n): Promise<WixGetDonationCampaignMetricsResponse>;",
12546
12618
  "http": "GET /donation-campaigns/v2/donation-campaigns/{…}/metrics"
12547
12619
  },
12548
12620
  {
12549
12621
  "name": "bulkCreateDonationCampaigns",
12550
12622
  "kind": "function",
12551
12623
  "jsdoc": "",
12552
- "decl": "export function bulkCreateDonationCampaigns(\n req: WixBulkCreateDonationCampaignsRequest = {} as WixBulkCreateDonationCampaignsRequest,\n): Promise<WixBulkCreateDonationCampaignsResponse>;",
12624
+ "decl": "export function bulkCreateDonationCampaigns(\n req: WixBulkCreateDonationCampaignsRequest = {} as WixBulkCreateDonationCampaignsRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkCreateDonationCampaignsResponse>;",
12553
12625
  "http": "POST /donation-campaigns/v2/bulk/donation-campaigns/create"
12554
12626
  },
12555
12627
  {
12556
12628
  "name": "bulkUpdateDonationCampaignTags",
12557
12629
  "kind": "function",
12558
12630
  "jsdoc": "",
12559
- "decl": "export function bulkUpdateDonationCampaignTags(\n req: WixBulkUpdateDonationCampaignTagsRequest = {} as WixBulkUpdateDonationCampaignTagsRequest,\n): Promise<WixBulkUpdateDonationCampaignTagsResponse>;",
12631
+ "decl": "export function bulkUpdateDonationCampaignTags(\n req: WixBulkUpdateDonationCampaignTagsRequest = {} as WixBulkUpdateDonationCampaignTagsRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkUpdateDonationCampaignTagsResponse>;",
12560
12632
  "http": "POST /donation-campaigns/v2/bulk/donation-campaigns/update-tags"
12561
12633
  },
12562
12634
  {
12563
12635
  "name": "bulkUpdateDonationCampaignTagsByFilter",
12564
12636
  "kind": "function",
12565
12637
  "jsdoc": "",
12566
- "decl": "export function bulkUpdateDonationCampaignTagsByFilter(\n req: WixBulkUpdateDonationCampaignTagsByFilterRequest = {} as WixBulkUpdateDonationCampaignTagsByFilterRequest,\n): Promise<WixBulkUpdateDonationCampaignTagsByFilterResponse>;",
12638
+ "decl": "export function bulkUpdateDonationCampaignTagsByFilter(\n req: WixBulkUpdateDonationCampaignTagsByFilterRequest = {} as WixBulkUpdateDonationCampaignTagsByFilterRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkUpdateDonationCampaignTagsByFilterResponse>;",
12567
12639
  "http": "POST /donation-campaigns/v2/bulk/donation-campaigns/update-tags-by-filter"
12568
12640
  }
12569
12641
  ]
@@ -12573,11 +12645,17 @@
12573
12645
  "source": "stdlib/wix-sdk/ecom/src/index.ts",
12574
12646
  "description": "eCommerce — carts, checkout, orders",
12575
12647
  "api": [
12648
+ {
12649
+ "name": "WixCallOptions",
12650
+ "kind": "interface",
12651
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `searchOrders(req, site.forSite(msid))`. */",
12652
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
12653
+ },
12576
12654
  {
12577
12655
  "name": "wixCall",
12578
12656
  "kind": "function",
12579
12657
  "jsdoc": "",
12580
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
12658
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
12581
12659
  },
12582
12660
  {
12583
12661
  "name": "WixEcomCursorPaging",
@@ -12655,7 +12733,7 @@
12655
12733
  "name": "searchOrders",
12656
12734
  "kind": "function",
12657
12735
  "jsdoc": "",
12658
- "decl": "export function searchOrders(\n req: WixSearchOrdersRequest = {} as WixSearchOrdersRequest,\n): Promise<WixSearchOrdersResponse>;",
12736
+ "decl": "export function searchOrders(\n req: WixSearchOrdersRequest = {} as WixSearchOrdersRequest,\n opts?: WixCallOptions,\n): Promise<WixSearchOrdersResponse>;",
12659
12737
  "http": "POST /ecom/v1/orders/search"
12660
12738
  },
12661
12739
  {
@@ -12967,11 +13045,17 @@
12967
13045
  "source": "stdlib/wix-sdk/email-marketing-v1/src/index.ts",
12968
13046
  "description": "Wix email marketing — typed REST client",
12969
13047
  "api": [
13048
+ {
13049
+ "name": "WixCallOptions",
13050
+ "kind": "interface",
13051
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
13052
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
13053
+ },
12970
13054
  {
12971
13055
  "name": "wixCall",
12972
13056
  "kind": "function",
12973
13057
  "jsdoc": "",
12974
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
13058
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
12975
13059
  },
12976
13060
  {
12977
13061
  "name": "WixCampaign",
@@ -14045,119 +14129,119 @@
14045
14129
  "name": "listStatistics",
14046
14130
  "kind": "function",
14047
14131
  "jsdoc": "",
14048
- "decl": "export function listStatistics(\n req: WixListStatisticsRequest = {} as WixListStatisticsRequest,\n): Promise<WixListStatisticsResponse>;",
14132
+ "decl": "export function listStatistics(\n req: WixListStatisticsRequest = {} as WixListStatisticsRequest,\n opts?: WixCallOptions,\n): Promise<WixListStatisticsResponse>;",
14049
14133
  "http": "GET /email-marketing/v1/campaigns/statistics"
14050
14134
  },
14051
14135
  {
14052
14136
  "name": "listRecipients",
14053
14137
  "kind": "function",
14054
14138
  "jsdoc": "",
14055
- "decl": "export function listRecipients(\n campaignId: string,\n): Promise<WixListRecipientsResponse>;",
14139
+ "decl": "export function listRecipients(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixListRecipientsResponse>;",
14056
14140
  "http": "GET /email-marketing/v1/campaigns/{…}/statistics/recipients"
14057
14141
  },
14058
14142
  {
14059
14143
  "name": "get",
14060
14144
  "kind": "function",
14061
14145
  "jsdoc": "",
14062
- "decl": "export function get(campaignId: string): Promise<WixCampaign>;",
14146
+ "decl": "export function get(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixCampaign>;",
14063
14147
  "http": "GET /email-marketing/v1/campaigns/{…}"
14064
14148
  },
14065
14149
  {
14066
14150
  "name": "list",
14067
14151
  "kind": "function",
14068
14152
  "jsdoc": "",
14069
- "decl": "export function list(): Promise<WixCampaign>;",
14153
+ "decl": "export function list(opts?: WixCallOptions): Promise<WixCampaign>;",
14070
14154
  "http": "GET /email-marketing/v1/campaigns"
14071
14155
  },
14072
14156
  {
14073
14157
  "name": "publish",
14074
14158
  "kind": "function",
14075
14159
  "jsdoc": "",
14076
- "decl": "export function publish(campaignId: string): Promise<WixCampaign>;",
14160
+ "decl": "export function publish(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixCampaign>;",
14077
14161
  "http": "POST /email-marketing/v1/campaigns/{…}/publish"
14078
14162
  },
14079
14163
  {
14080
14164
  "name": "sendTest",
14081
14165
  "kind": "function",
14082
14166
  "jsdoc": "",
14083
- "decl": "export function sendTest(\n campaignId: string,\n req: WixSendTestRequest = {} as WixSendTestRequest,\n): Promise<WixSendTestResponse>;",
14167
+ "decl": "export function sendTest(\n campaignId: string,\n req: WixSendTestRequest = {} as WixSendTestRequest,\n opts?: WixCallOptions,\n): Promise<WixSendTestResponse>;",
14084
14168
  "http": "POST /email-marketing/v1/campaigns/{…}/test"
14085
14169
  },
14086
14170
  {
14087
14171
  "name": "pauseScheduling",
14088
14172
  "kind": "function",
14089
14173
  "jsdoc": "",
14090
- "decl": "export function pauseScheduling(\n campaignId: string,\n req: WixPauseSchedulingRequest = {} as WixPauseSchedulingRequest,\n): Promise<WixPauseSchedulingResponse>;",
14174
+ "decl": "export function pauseScheduling(\n campaignId: string,\n req: WixPauseSchedulingRequest = {} as WixPauseSchedulingRequest,\n opts?: WixCallOptions,\n): Promise<WixPauseSchedulingResponse>;",
14091
14175
  "http": "POST /email-marketing/v1/campaigns/{…}/pause-scheduling"
14092
14176
  },
14093
14177
  {
14094
14178
  "name": "reschedule",
14095
14179
  "kind": "function",
14096
14180
  "jsdoc": "",
14097
- "decl": "export function reschedule(\n campaignId: string,\n req: WixRescheduleRequest = {} as WixRescheduleRequest,\n): Promise<WixRescheduleResponse>;",
14181
+ "decl": "export function reschedule(\n campaignId: string,\n req: WixRescheduleRequest = {} as WixRescheduleRequest,\n opts?: WixCallOptions,\n): Promise<WixRescheduleResponse>;",
14098
14182
  "http": "POST /email-marketing/v1/campaigns/{…}/reschedule"
14099
14183
  },
14100
14184
  {
14101
14185
  "name": "reuse",
14102
14186
  "kind": "function",
14103
14187
  "jsdoc": "",
14104
- "decl": "export function reuse(campaignId: string): Promise<WixCampaign>;",
14188
+ "decl": "export function reuse(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixCampaign>;",
14105
14189
  "http": "POST /email-marketing/v1/campaigns/{…}/reuse"
14106
14190
  },
14107
14191
  {
14108
14192
  "name": "getAudience",
14109
14193
  "kind": "function",
14110
14194
  "jsdoc": "",
14111
- "decl": "export function getAudience(\n campaignId: string,\n req: WixGetAudienceRequest = {} as WixGetAudienceRequest,\n): Promise<WixGetAudienceResponse>;",
14195
+ "decl": "export function getAudience(\n campaignId: string,\n req: WixGetAudienceRequest = {} as WixGetAudienceRequest,\n opts?: WixCallOptions,\n): Promise<WixGetAudienceResponse>;",
14112
14196
  "http": "POST /email-marketing/v1/campaigns/{…}/audience"
14113
14197
  },
14114
14198
  {
14115
14199
  "name": "identifySenderAddress",
14116
14200
  "kind": "function",
14117
14201
  "jsdoc": "",
14118
- "decl": "export function identifySenderAddress(\n req: WixIdentifySenderAddressRequest = {} as WixIdentifySenderAddressRequest,\n): Promise<WixIdentifySenderAddressResponse>;",
14202
+ "decl": "export function identifySenderAddress(\n req: WixIdentifySenderAddressRequest = {} as WixIdentifySenderAddressRequest,\n opts?: WixCallOptions,\n): Promise<WixIdentifySenderAddressResponse>;",
14119
14203
  "http": "POST /email-marketing/v1/identify-sender-address"
14120
14204
  },
14121
14205
  {
14122
14206
  "name": "validateLink",
14123
14207
  "kind": "function",
14124
14208
  "jsdoc": "",
14125
- "decl": "export function validateLink(\n req: WixValidateLinkRequest = {} as WixValidateLinkRequest,\n): Promise<WixValidateLinkResponse>;",
14209
+ "decl": "export function validateLink(\n req: WixValidateLinkRequest = {} as WixValidateLinkRequest,\n opts?: WixCallOptions,\n): Promise<WixValidateLinkResponse>;",
14126
14210
  "http": "POST /email-marketing/v1/campaign-validation/validate-link"
14127
14211
  },
14128
14212
  {
14129
14213
  "name": "validateHtmlLinks",
14130
14214
  "kind": "function",
14131
14215
  "jsdoc": "",
14132
- "decl": "export function validateHtmlLinks(\n req: WixValidateHtmlLinksRequest = {} as WixValidateHtmlLinksRequest,\n): Promise<WixValidateHtmlLinksResponse>;",
14216
+ "decl": "export function validateHtmlLinks(\n req: WixValidateHtmlLinksRequest = {} as WixValidateHtmlLinksRequest,\n opts?: WixCallOptions,\n): Promise<WixValidateHtmlLinksResponse>;",
14133
14217
  "http": "POST /email-marketing/v1/campaign-validation/validate-html-links"
14134
14218
  },
14135
14219
  {
14136
14220
  "name": "getSenderDetails",
14137
14221
  "kind": "function",
14138
14222
  "jsdoc": "",
14139
- "decl": "export function getSenderDetails(): Promise<WixGetResponse>;",
14223
+ "decl": "export function getSenderDetails(\n opts?: WixCallOptions,\n): Promise<WixGetResponse>;",
14140
14224
  "http": "GET /email-marketing/v1/sender-details"
14141
14225
  },
14142
14226
  {
14143
14227
  "name": "updateSenderDetails",
14144
14228
  "kind": "function",
14145
14229
  "jsdoc": "",
14146
- "decl": "export function updateSenderDetails(): Promise<WixUpdateResponse>;",
14230
+ "decl": "export function updateSenderDetails(\n opts?: WixCallOptions,\n): Promise<WixUpdateResponse>;",
14147
14231
  "http": "PATCH /email-marketing/v1/sender-details"
14148
14232
  },
14149
14233
  {
14150
14234
  "name": "verifyEmail",
14151
14235
  "kind": "function",
14152
14236
  "jsdoc": "",
14153
- "decl": "export function verifyEmail(): Promise<WixVerifyEmailResponse>;",
14237
+ "decl": "export function verifyEmail(\n opts?: WixCallOptions,\n): Promise<WixVerifyEmailResponse>;",
14154
14238
  "http": "POST /email-marketing/v1/sender-details/verify-email"
14155
14239
  },
14156
14240
  {
14157
14241
  "name": "resolveActualFromAddress",
14158
14242
  "kind": "function",
14159
14243
  "jsdoc": "",
14160
- "decl": "export function resolveActualFromAddress(\n req: WixResolveActualFromAddressRequest = {} as WixResolveActualFromAddressRequest,\n): Promise<WixResolveActualFromAddressResponse>;",
14244
+ "decl": "export function resolveActualFromAddress(\n req: WixResolveActualFromAddressRequest = {} as WixResolveActualFromAddressRequest,\n opts?: WixCallOptions,\n): Promise<WixResolveActualFromAddressResponse>;",
14161
14245
  "http": "POST /email-marketing/v1/sender-details/actual-from-address"
14162
14246
  }
14163
14247
  ]
@@ -14491,11 +14575,17 @@
14491
14575
  "source": "stdlib/wix-sdk/faq-v2/src/index.ts",
14492
14576
  "description": "Wix faq — typed REST client",
14493
14577
  "api": [
14578
+ {
14579
+ "name": "WixCallOptions",
14580
+ "kind": "interface",
14581
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
14582
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
14583
+ },
14494
14584
  {
14495
14585
  "name": "wixCall",
14496
14586
  "kind": "function",
14497
14587
  "jsdoc": "",
14498
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
14588
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
14499
14589
  },
14500
14590
  {
14501
14591
  "name": "WixCategory",
@@ -16097,105 +16187,105 @@
16097
16187
  "name": "createCategory",
16098
16188
  "kind": "function",
16099
16189
  "jsdoc": "",
16100
- "decl": "export function createCategory(\n req: WixCreateCategoryRequest = {} as WixCreateCategoryRequest,\n): Promise<WixCreateCategoryResponse>;",
16190
+ "decl": "export function createCategory(\n req: WixCreateCategoryRequest = {} as WixCreateCategoryRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateCategoryResponse>;",
16101
16191
  "http": "POST /faq/v2/categories"
16102
16192
  },
16103
16193
  {
16104
16194
  "name": "getCategory",
16105
16195
  "kind": "function",
16106
16196
  "jsdoc": "",
16107
- "decl": "export function getCategory(\n categoryId: string,\n): Promise<WixGetCategoryResponse>;",
16197
+ "decl": "export function getCategory(\n categoryId: string,\n opts?: WixCallOptions,\n): Promise<WixGetCategoryResponse>;",
16108
16198
  "http": "GET /faq/v2/categories/{…}"
16109
16199
  },
16110
16200
  {
16111
16201
  "name": "updateCategory",
16112
16202
  "kind": "function",
16113
16203
  "jsdoc": "",
16114
- "decl": "export function updateCategory(\n categoryId: string,\n req: WixUpdateCategoryRequest = {} as WixUpdateCategoryRequest,\n): Promise<WixUpdateCategoryResponse>;",
16204
+ "decl": "export function updateCategory(\n categoryId: string,\n req: WixUpdateCategoryRequest = {} as WixUpdateCategoryRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateCategoryResponse>;",
16115
16205
  "http": "PATCH /faq/v2/categories/{…}"
16116
16206
  },
16117
16207
  {
16118
16208
  "name": "deleteCategory",
16119
16209
  "kind": "function",
16120
16210
  "jsdoc": "",
16121
- "decl": "export function deleteCategory(\n categoryId: string,\n): Promise<WixDeleteCategoryResponse>;",
16211
+ "decl": "export function deleteCategory(\n categoryId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteCategoryResponse>;",
16122
16212
  "http": "DELETE /faq/v2/categories/{…}"
16123
16213
  },
16124
16214
  {
16125
16215
  "name": "listCategories",
16126
16216
  "kind": "function",
16127
16217
  "jsdoc": "",
16128
- "decl": "export function listCategories(\n req: WixListCategoriesRequest = {} as WixListCategoriesRequest,\n): Promise<WixListCategoriesResponse>;",
16218
+ "decl": "export function listCategories(\n req: WixListCategoriesRequest = {} as WixListCategoriesRequest,\n opts?: WixCallOptions,\n): Promise<WixListCategoriesResponse>;",
16129
16219
  "http": "GET /faq/v2/categories"
16130
16220
  },
16131
16221
  {
16132
16222
  "name": "queryCategories",
16133
16223
  "kind": "function",
16134
16224
  "jsdoc": "",
16135
- "decl": "export function queryCategories(\n req: WixQueryCategoriesRequest = {} as WixQueryCategoriesRequest,\n): Promise<WixQueryCategoriesResponse>;",
16225
+ "decl": "export function queryCategories(\n req: WixQueryCategoriesRequest = {} as WixQueryCategoriesRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryCategoriesResponse>;",
16136
16226
  "http": "POST /faq/v2/categories/query"
16137
16227
  },
16138
16228
  {
16139
16229
  "name": "createQuestionEntry",
16140
16230
  "kind": "function",
16141
16231
  "jsdoc": "",
16142
- "decl": "export function createQuestionEntry(\n req: WixCreateQuestionEntryRequest = {} as WixCreateQuestionEntryRequest,\n): Promise<WixCreateQuestionEntryResponse>;",
16232
+ "decl": "export function createQuestionEntry(\n req: WixCreateQuestionEntryRequest = {} as WixCreateQuestionEntryRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateQuestionEntryResponse>;",
16143
16233
  "http": "POST /faq/v2/question-entries"
16144
16234
  },
16145
16235
  {
16146
16236
  "name": "getQuestionEntry",
16147
16237
  "kind": "function",
16148
16238
  "jsdoc": "",
16149
- "decl": "export function getQuestionEntry(\n questionEntryId: string,\n): Promise<WixGetQuestionEntryResponse>;",
16239
+ "decl": "export function getQuestionEntry(\n questionEntryId: string,\n opts?: WixCallOptions,\n): Promise<WixGetQuestionEntryResponse>;",
16150
16240
  "http": "GET /faq/v2/question-entries/{…}"
16151
16241
  },
16152
16242
  {
16153
16243
  "name": "updateQuestionEntry",
16154
16244
  "kind": "function",
16155
16245
  "jsdoc": "",
16156
- "decl": "export function updateQuestionEntry(\n questionEntryId: string,\n req: WixUpdateQuestionEntryRequest = {} as WixUpdateQuestionEntryRequest,\n): Promise<WixUpdateQuestionEntryResponse>;",
16246
+ "decl": "export function updateQuestionEntry(\n questionEntryId: string,\n req: WixUpdateQuestionEntryRequest = {} as WixUpdateQuestionEntryRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateQuestionEntryResponse>;",
16157
16247
  "http": "PATCH /faq/v2/question-entries/{…}"
16158
16248
  },
16159
16249
  {
16160
16250
  "name": "deleteQuestionEntry",
16161
16251
  "kind": "function",
16162
16252
  "jsdoc": "",
16163
- "decl": "export function deleteQuestionEntry(\n questionEntryId: string,\n): Promise<WixDeleteQuestionEntryResponse>;",
16253
+ "decl": "export function deleteQuestionEntry(\n questionEntryId: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteQuestionEntryResponse>;",
16164
16254
  "http": "DELETE /faq/v2/question-entries/{…}"
16165
16255
  },
16166
16256
  {
16167
16257
  "name": "listQuestionEntries",
16168
16258
  "kind": "function",
16169
16259
  "jsdoc": "",
16170
- "decl": "export function listQuestionEntries(\n req: WixListQuestionEntriesRequest = {} as WixListQuestionEntriesRequest,\n): Promise<WixListQuestionEntriesResponse>;",
16260
+ "decl": "export function listQuestionEntries(\n req: WixListQuestionEntriesRequest = {} as WixListQuestionEntriesRequest,\n opts?: WixCallOptions,\n): Promise<WixListQuestionEntriesResponse>;",
16171
16261
  "http": "GET /faq/v2/question-entries"
16172
16262
  },
16173
16263
  {
16174
16264
  "name": "queryQuestionEntries",
16175
16265
  "kind": "function",
16176
16266
  "jsdoc": "",
16177
- "decl": "export function queryQuestionEntries(\n req: WixQueryQuestionEntriesRequest = {} as WixQueryQuestionEntriesRequest,\n): Promise<WixQueryQuestionEntriesResponse>;",
16267
+ "decl": "export function queryQuestionEntries(\n req: WixQueryQuestionEntriesRequest = {} as WixQueryQuestionEntriesRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryQuestionEntriesResponse>;",
16178
16268
  "http": "POST /faq/v2/question-entries/query"
16179
16269
  },
16180
16270
  {
16181
16271
  "name": "setQuestionEntryLabels",
16182
16272
  "kind": "function",
16183
16273
  "jsdoc": "",
16184
- "decl": "export function setQuestionEntryLabels(\n questionEntryId: string,\n req: WixSetQuestionEntryLabelsRequest = {} as WixSetQuestionEntryLabelsRequest,\n): Promise<WixSetQuestionEntryLabelsResponse>;",
16274
+ "decl": "export function setQuestionEntryLabels(\n questionEntryId: string,\n req: WixSetQuestionEntryLabelsRequest = {} as WixSetQuestionEntryLabelsRequest,\n opts?: WixCallOptions,\n): Promise<WixSetQuestionEntryLabelsResponse>;",
16185
16275
  "http": "PATCH /faq/v2/question-entries/{…}/labels"
16186
16276
  },
16187
16277
  {
16188
16278
  "name": "bulkDeleteQuestionEntries",
16189
16279
  "kind": "function",
16190
16280
  "jsdoc": "",
16191
- "decl": "export function bulkDeleteQuestionEntries(\n req: WixBulkDeleteQuestionEntriesRequest = {} as WixBulkDeleteQuestionEntriesRequest,\n): Promise<WixBulkDeleteQuestionEntriesResponse>;",
16281
+ "decl": "export function bulkDeleteQuestionEntries(\n req: WixBulkDeleteQuestionEntriesRequest = {} as WixBulkDeleteQuestionEntriesRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkDeleteQuestionEntriesResponse>;",
16192
16282
  "http": "POST /faq/v2/bulk/question-entries/delete"
16193
16283
  },
16194
16284
  {
16195
16285
  "name": "bulkUpdateQuestionEntry",
16196
16286
  "kind": "function",
16197
16287
  "jsdoc": "",
16198
- "decl": "export function bulkUpdateQuestionEntry(\n req: WixBulkUpdateQuestionEntryRequest = {} as WixBulkUpdateQuestionEntryRequest,\n): Promise<WixBulkUpdateQuestionEntryResponse>;",
16288
+ "decl": "export function bulkUpdateQuestionEntry(\n req: WixBulkUpdateQuestionEntryRequest = {} as WixBulkUpdateQuestionEntryRequest,\n opts?: WixCallOptions,\n): Promise<WixBulkUpdateQuestionEntryResponse>;",
16199
16289
  "http": "POST /faq/v2/bulk/question-entries/update"
16200
16290
  }
16201
16291
  ]
@@ -16205,11 +16295,17 @@
16205
16295
  "source": "stdlib/wix-sdk/forms/src/index.ts",
16206
16296
  "description": "Forms — submissions",
16207
16297
  "api": [
16298
+ {
16299
+ "name": "WixCallOptions",
16300
+ "kind": "interface",
16301
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
16302
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
16303
+ },
16208
16304
  {
16209
16305
  "name": "wixCall",
16210
16306
  "kind": "function",
16211
16307
  "jsdoc": "",
16212
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
16308
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
16213
16309
  },
16214
16310
  {
16215
16311
  "name": "WixPaging",
@@ -16269,28 +16365,28 @@
16269
16365
  "name": "queryForms",
16270
16366
  "kind": "function",
16271
16367
  "jsdoc": "",
16272
- "decl": "export function queryForms(\n req: WixFormsQueryRequest = {} as WixFormsQueryRequest,\n): Promise<WixQueryFormsResponse>;",
16368
+ "decl": "export function queryForms(\n req: WixFormsQueryRequest = {} as WixFormsQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryFormsResponse>;",
16273
16369
  "http": "POST /form-schema-service/v4/forms/query"
16274
16370
  },
16275
16371
  {
16276
16372
  "name": "getForm",
16277
16373
  "kind": "function",
16278
16374
  "jsdoc": "",
16279
- "decl": "export function getForm(id: string): Promise<WixForm>;",
16375
+ "decl": "export function getForm(id: string, opts?: WixCallOptions): Promise<WixForm>;",
16280
16376
  "http": "GET /form-schema-service/v4/forms/{…}"
16281
16377
  },
16282
16378
  {
16283
16379
  "name": "querySubmissions",
16284
16380
  "kind": "function",
16285
16381
  "jsdoc": "",
16286
- "decl": "export function querySubmissions(\n req: WixSubmissionsQueryRequest = {} as WixSubmissionsQueryRequest,\n): Promise<WixQuerySubmissionsResponse>;",
16382
+ "decl": "export function querySubmissions(\n req: WixSubmissionsQueryRequest = {} as WixSubmissionsQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQuerySubmissionsResponse>;",
16287
16383
  "http": "POST /_api/form-app/v1/submissions/query"
16288
16384
  },
16289
16385
  {
16290
16386
  "name": "getSubmission",
16291
16387
  "kind": "function",
16292
16388
  "jsdoc": "",
16293
- "decl": "export function getSubmission(id: string): Promise<WixSubmission>;",
16389
+ "decl": "export function getSubmission(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixSubmission>;",
16294
16390
  "http": "GET /_api/form-app/v1/submissions/{…}"
16295
16391
  }
16296
16392
  ]
@@ -16300,11 +16396,17 @@
16300
16396
  "source": "stdlib/wix-sdk/forum/src/index.ts",
16301
16397
  "description": "Forum — categories and posts",
16302
16398
  "api": [
16399
+ {
16400
+ "name": "WixCallOptions",
16401
+ "kind": "interface",
16402
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
16403
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
16404
+ },
16303
16405
  {
16304
16406
  "name": "wixCall",
16305
16407
  "kind": "function",
16306
16408
  "jsdoc": "",
16307
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
16409
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
16308
16410
  },
16309
16411
  {
16310
16412
  "name": "WixForumPaging",
@@ -16364,28 +16466,28 @@
16364
16466
  "name": "queryPosts",
16365
16467
  "kind": "function",
16366
16468
  "jsdoc": "",
16367
- "decl": "export function queryPosts(\n req: WixPostQueryRequest = {} as WixPostQueryRequest,\n): Promise<WixQueryPostsResponse>;",
16469
+ "decl": "export function queryPosts(\n req: WixPostQueryRequest = {} as WixPostQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryPostsResponse>;",
16368
16470
  "http": "POST /forum/v1/posts/query"
16369
16471
  },
16370
16472
  {
16371
16473
  "name": "getPost",
16372
16474
  "kind": "function",
16373
16475
  "jsdoc": "",
16374
- "decl": "export function getPost(id: string): Promise<WixPost>;",
16476
+ "decl": "export function getPost(id: string, opts?: WixCallOptions): Promise<WixPost>;",
16375
16477
  "http": "GET /forum/v1/posts/{…}"
16376
16478
  },
16377
16479
  {
16378
16480
  "name": "queryCategories",
16379
16481
  "kind": "function",
16380
16482
  "jsdoc": "",
16381
- "decl": "export function queryCategories(\n req: WixCategoryQueryRequest = {} as WixCategoryQueryRequest,\n): Promise<WixQueryCategoriesResponse>;",
16483
+ "decl": "export function queryCategories(\n req: WixCategoryQueryRequest = {} as WixCategoryQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryCategoriesResponse>;",
16382
16484
  "http": "POST /forum/v1/categories/query"
16383
16485
  },
16384
16486
  {
16385
16487
  "name": "getCategory",
16386
16488
  "kind": "function",
16387
16489
  "jsdoc": "",
16388
- "decl": "export function getCategory(id: string): Promise<WixCategory>;",
16490
+ "decl": "export function getCategory(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixCategory>;",
16389
16491
  "http": "GET /forum/v1/categories/{…}"
16390
16492
  },
16391
16493
  {
@@ -16636,11 +16738,17 @@
16636
16738
  "source": "stdlib/wix-sdk/gift-cards/src/index.ts",
16637
16739
  "description": "Wix gift cards — typed REST client",
16638
16740
  "api": [
16741
+ {
16742
+ "name": "WixCallOptions",
16743
+ "kind": "interface",
16744
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
16745
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
16746
+ },
16639
16747
  {
16640
16748
  "name": "wixCall",
16641
16749
  "kind": "function",
16642
16750
  "jsdoc": "",
16643
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
16751
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
16644
16752
  },
16645
16753
  {
16646
16754
  "name": "WixCreateGiftCardSignature",
@@ -17594,63 +17702,63 @@
17594
17702
  "name": "createGiftCard",
17595
17703
  "kind": "function",
17596
17704
  "jsdoc": "",
17597
- "decl": "export function createGiftCard(\n req: WixCreateGiftCardRequest = {} as WixCreateGiftCardRequest,\n): Promise<WixCreateGiftCardResponse>;",
17705
+ "decl": "export function createGiftCard(\n req: WixCreateGiftCardRequest = {} as WixCreateGiftCardRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateGiftCardResponse>;",
17598
17706
  "http": "POST /gift-cards/v1/gift-cards"
17599
17707
  },
17600
17708
  {
17601
17709
  "name": "getGiftCard",
17602
17710
  "kind": "function",
17603
17711
  "jsdoc": "",
17604
- "decl": "export function getGiftCard(\n giftCardId: string,\n): Promise<WixGetGiftCardResponse>;",
17712
+ "decl": "export function getGiftCard(\n giftCardId: string,\n opts?: WixCallOptions,\n): Promise<WixGetGiftCardResponse>;",
17605
17713
  "http": "GET /gift-cards/v1/gift-cards/{…}"
17606
17714
  },
17607
17715
  {
17608
17716
  "name": "queryGiftCards",
17609
17717
  "kind": "function",
17610
17718
  "jsdoc": "",
17611
- "decl": "export function queryGiftCards(\n req: WixQueryGiftCardsRequest = {} as WixQueryGiftCardsRequest,\n): Promise<WixQueryGiftCardsResponse>;",
17719
+ "decl": "export function queryGiftCards(\n req: WixQueryGiftCardsRequest = {} as WixQueryGiftCardsRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryGiftCardsResponse>;",
17612
17720
  "http": "POST /gift-cards/v1/gift-cards/query"
17613
17721
  },
17614
17722
  {
17615
17723
  "name": "searchGiftCards",
17616
17724
  "kind": "function",
17617
17725
  "jsdoc": "",
17618
- "decl": "export function searchGiftCards(\n req: WixSearchGiftCardsRequest = {} as WixSearchGiftCardsRequest,\n): Promise<WixSearchGiftCardsResponse>;",
17726
+ "decl": "export function searchGiftCards(\n req: WixSearchGiftCardsRequest = {} as WixSearchGiftCardsRequest,\n opts?: WixCallOptions,\n): Promise<WixSearchGiftCardsResponse>;",
17619
17727
  "http": "POST /gift-cards/v1/gift-cards/search"
17620
17728
  },
17621
17729
  {
17622
17730
  "name": "sendGiftCardEmail",
17623
17731
  "kind": "function",
17624
17732
  "jsdoc": "",
17625
- "decl": "export function sendGiftCardEmail(\n giftCardId: string,\n req: WixSendGiftCardEmailRequest = {} as WixSendGiftCardEmailRequest,\n): Promise<WixSendGiftCardEmailResponse>;",
17733
+ "decl": "export function sendGiftCardEmail(\n giftCardId: string,\n req: WixSendGiftCardEmailRequest = {} as WixSendGiftCardEmailRequest,\n opts?: WixCallOptions,\n): Promise<WixSendGiftCardEmailResponse>;",
17626
17734
  "http": "POST /gift-cards/v1/gift-cards/{…}/send-email"
17627
17735
  },
17628
17736
  {
17629
17737
  "name": "disableGiftCard",
17630
17738
  "kind": "function",
17631
17739
  "jsdoc": "",
17632
- "decl": "export function disableGiftCard(\n giftCardId: string,\n req: WixDisableGiftCardRequest = {} as WixDisableGiftCardRequest,\n): Promise<WixDisableGiftCardResponse>;",
17740
+ "decl": "export function disableGiftCard(\n giftCardId: string,\n req: WixDisableGiftCardRequest = {} as WixDisableGiftCardRequest,\n opts?: WixCallOptions,\n): Promise<WixDisableGiftCardResponse>;",
17633
17741
  "http": "POST /gift-cards/v1/gift-cards/{…}/disable"
17634
17742
  },
17635
17743
  {
17636
17744
  "name": "listGiftCardsByEmail",
17637
17745
  "kind": "function",
17638
17746
  "jsdoc": "",
17639
- "decl": "export function listGiftCardsByEmail(\n req: WixListGiftCardsByEmailRequest = {} as WixListGiftCardsByEmailRequest,\n): Promise<WixListGiftCardsByEmailResponse>;",
17747
+ "decl": "export function listGiftCardsByEmail(\n req: WixListGiftCardsByEmailRequest = {} as WixListGiftCardsByEmailRequest,\n opts?: WixCallOptions,\n): Promise<WixListGiftCardsByEmailResponse>;",
17640
17748
  "http": "GET /gift-cards/v1/gift-cards"
17641
17749
  },
17642
17750
  {
17643
17751
  "name": "listGiftCardsByContactDetails",
17644
17752
  "kind": "function",
17645
17753
  "jsdoc": "",
17646
- "decl": "export function listGiftCardsByContactDetails(\n req: WixListGiftCardsByContactDetailsRequest = {} as WixListGiftCardsByContactDetailsRequest,\n): Promise<WixListGiftCardsByContactDetailsResponse>;",
17754
+ "decl": "export function listGiftCardsByContactDetails(\n req: WixListGiftCardsByContactDetailsRequest = {} as WixListGiftCardsByContactDetailsRequest,\n opts?: WixCallOptions,\n): Promise<WixListGiftCardsByContactDetailsResponse>;",
17647
17755
  "http": "POST /gift-cards/v1/gift-cards/list-by-contact-details"
17648
17756
  },
17649
17757
  {
17650
17758
  "name": "countGiftCards",
17651
17759
  "kind": "function",
17652
17760
  "jsdoc": "",
17653
- "decl": "export function countGiftCards(\n req: WixCountGiftCardsRequest = {} as WixCountGiftCardsRequest,\n): Promise<WixCountGiftCardsResponse>;",
17761
+ "decl": "export function countGiftCards(\n req: WixCountGiftCardsRequest = {} as WixCountGiftCardsRequest,\n opts?: WixCallOptions,\n): Promise<WixCountGiftCardsResponse>;",
17654
17762
  "http": "POST /gift-cards/v1/gift-cards/count"
17655
17763
  }
17656
17764
  ]
@@ -17660,11 +17768,17 @@
17660
17768
  "source": "stdlib/wix-sdk/groups/src/index.ts",
17661
17769
  "description": "Groups — groups and membership",
17662
17770
  "api": [
17771
+ {
17772
+ "name": "WixCallOptions",
17773
+ "kind": "interface",
17774
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
17775
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
17776
+ },
17663
17777
  {
17664
17778
  "name": "wixCall",
17665
17779
  "kind": "function",
17666
17780
  "jsdoc": "",
17667
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
17781
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
17668
17782
  },
17669
17783
  {
17670
17784
  "name": "WixPaging",
@@ -17754,14 +17868,14 @@
17754
17868
  "name": "queryGroups",
17755
17869
  "kind": "function",
17756
17870
  "jsdoc": "",
17757
- "decl": "export function queryGroups(\n req: WixGroupsQueryRequest = {} as WixGroupsQueryRequest,\n): Promise<WixQueryGroupsResponse>;",
17871
+ "decl": "export function queryGroups(\n req: WixGroupsQueryRequest = {} as WixGroupsQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryGroupsResponse>;",
17758
17872
  "http": "POST /social-groups-proxy/groups/v2/groups/query"
17759
17873
  },
17760
17874
  {
17761
17875
  "name": "getGroup",
17762
17876
  "kind": "function",
17763
17877
  "jsdoc": "",
17764
- "decl": "export function getGroup(id: string): Promise<WixGroup>;",
17878
+ "decl": "export function getGroup(id: string, opts?: WixCallOptions): Promise<WixGroup>;",
17765
17879
  "http": "GET /social-groups-proxy/groups/v2/groups/{…}"
17766
17880
  },
17767
17881
  {
@@ -17879,11 +17993,17 @@
17879
17993
  "source": "stdlib/wix-sdk/inbox/src/index.ts",
17880
17994
  "description": "Inbox — conversations and messages",
17881
17995
  "api": [
17996
+ {
17997
+ "name": "WixCallOptions",
17998
+ "kind": "interface",
17999
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
18000
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
18001
+ },
17882
18002
  {
17883
18003
  "name": "wixCall",
17884
18004
  "kind": "function",
17885
18005
  "jsdoc": "",
17886
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
18006
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
17887
18007
  },
17888
18008
  {
17889
18009
  "name": "WixPaging",
@@ -17943,21 +18063,21 @@
17943
18063
  "name": "getOrCreateConversation",
17944
18064
  "kind": "function",
17945
18065
  "jsdoc": "",
17946
- "decl": "export function getOrCreateConversation(\n req: WixGetOrCreateConversationRequest = {} as WixGetOrCreateConversationRequest,\n): Promise<WixGetOrCreateConversationResponse>;",
18066
+ "decl": "export function getOrCreateConversation(\n req: WixGetOrCreateConversationRequest = {} as WixGetOrCreateConversationRequest,\n opts?: WixCallOptions,\n): Promise<WixGetOrCreateConversationResponse>;",
17947
18067
  "http": "POST /inbox/v2/conversations"
17948
18068
  },
17949
18069
  {
17950
18070
  "name": "getConversation",
17951
18071
  "kind": "function",
17952
18072
  "jsdoc": "",
17953
- "decl": "export function getConversation(id: string): Promise<WixConversation>;",
18073
+ "decl": "export function getConversation(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixConversation>;",
17954
18074
  "http": "GET /inbox/v2/conversations/{…}"
17955
18075
  },
17956
18076
  {
17957
18077
  "name": "getMessage",
17958
18078
  "kind": "function",
17959
18079
  "jsdoc": "",
17960
- "decl": "export function getMessage(id: string): Promise<WixMessage>;",
18080
+ "decl": "export function getMessage(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixMessage>;",
17961
18081
  "http": "GET /inbox/v2/messages/{…}"
17962
18082
  },
17963
18083
  {
@@ -18207,11 +18327,17 @@
18207
18327
  "source": "stdlib/wix-sdk/marketing-v1/src/index.ts",
18208
18328
  "description": "Wix marketing — typed REST client",
18209
18329
  "api": [
18330
+ {
18331
+ "name": "WixCallOptions",
18332
+ "kind": "interface",
18333
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
18334
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
18335
+ },
18210
18336
  {
18211
18337
  "name": "wixCall",
18212
18338
  "kind": "function",
18213
18339
  "jsdoc": "",
18214
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
18340
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
18215
18341
  },
18216
18342
  {
18217
18343
  "name": "WixMarketingTag",
@@ -18457,28 +18583,28 @@
18457
18583
  "name": "upsertMarketingTag",
18458
18584
  "kind": "function",
18459
18585
  "jsdoc": "",
18460
- "decl": "export function upsertMarketingTag(\n req: WixUpsertMarketingTagRequest = {} as WixUpsertMarketingTagRequest,\n): Promise<WixUpsertMarketingTagResponse>;",
18586
+ "decl": "export function upsertMarketingTag(\n req: WixUpsertMarketingTagRequest = {} as WixUpsertMarketingTagRequest,\n opts?: WixCallOptions,\n): Promise<WixUpsertMarketingTagResponse>;",
18461
18587
  "http": "POST /marketing/v1/tags"
18462
18588
  },
18463
18589
  {
18464
18590
  "name": "listMarketingTags",
18465
18591
  "kind": "function",
18466
18592
  "jsdoc": "",
18467
- "decl": "export function listMarketingTags(\n req: WixListMarketingTagsRequest = {} as WixListMarketingTagsRequest,\n): Promise<WixListMarketingTagsResponse>;",
18593
+ "decl": "export function listMarketingTags(\n req: WixListMarketingTagsRequest = {} as WixListMarketingTagsRequest,\n opts?: WixCallOptions,\n): Promise<WixListMarketingTagsResponse>;",
18468
18594
  "http": "GET /marketing/v1/tags"
18469
18595
  },
18470
18596
  {
18471
18597
  "name": "deleteMarketingTag",
18472
18598
  "kind": "function",
18473
18599
  "jsdoc": "",
18474
- "decl": "export function deleteMarketingTag(\n req: WixDeleteMarketingTagRequest = {} as WixDeleteMarketingTagRequest,\n): Promise<WixDeleteMarketingTagResponse>;",
18600
+ "decl": "export function deleteMarketingTag(\n req: WixDeleteMarketingTagRequest = {} as WixDeleteMarketingTagRequest,\n opts?: WixCallOptions,\n): Promise<WixDeleteMarketingTagResponse>;",
18475
18601
  "http": "DELETE /marketing/v1/tags"
18476
18602
  },
18477
18603
  {
18478
18604
  "name": "deleteMarketingTagV2",
18479
18605
  "kind": "function",
18480
18606
  "jsdoc": "",
18481
- "decl": "export function deleteMarketingTagV2(\n req: WixDeleteMarketingTagV2Request = {} as WixDeleteMarketingTagV2Request,\n): Promise<WixDeleteMarketingTagV2Response>;",
18607
+ "decl": "export function deleteMarketingTagV2(\n req: WixDeleteMarketingTagV2Request = {} as WixDeleteMarketingTagV2Request,\n opts?: WixCallOptions,\n): Promise<WixDeleteMarketingTagV2Response>;",
18482
18608
  "http": "DELETE /marketing/v2/tags"
18483
18609
  }
18484
18610
  ]
@@ -18862,11 +18988,17 @@
18862
18988
  "source": "stdlib/wix-sdk/notifications-v3/src/index.ts",
18863
18989
  "description": "Wix notifications — typed REST client",
18864
18990
  "api": [
18991
+ {
18992
+ "name": "WixCallOptions",
18993
+ "kind": "interface",
18994
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
18995
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
18996
+ },
18865
18997
  {
18866
18998
  "name": "wixCall",
18867
18999
  "kind": "function",
18868
19000
  "jsdoc": "",
18869
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
19001
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
18870
19002
  },
18871
19003
  {
18872
19004
  "name": "WixNotification",
@@ -18992,7 +19124,7 @@
18992
19124
  "name": "notify",
18993
19125
  "kind": "function",
18994
19126
  "jsdoc": "",
18995
- "decl": "export function notify(\n req: WixNotifyRequest = {} as WixNotifyRequest,\n): Promise<WixNotifyResponse>;",
19127
+ "decl": "export function notify(\n req: WixNotifyRequest = {} as WixNotifyRequest,\n opts?: WixCallOptions,\n): Promise<WixNotifyResponse>;",
18996
19128
  "http": "POST /notifications/v3/notify"
18997
19129
  }
18998
19130
  ]
@@ -19426,11 +19558,17 @@
19426
19558
  "source": "stdlib/wix-sdk/redirects-v1/src/index.ts",
19427
19559
  "description": "Wix redirects — typed REST client",
19428
19560
  "api": [
19561
+ {
19562
+ "name": "WixCallOptions",
19563
+ "kind": "interface",
19564
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
19565
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
19566
+ },
19429
19567
  {
19430
19568
  "name": "wixCall",
19431
19569
  "kind": "function",
19432
19570
  "jsdoc": "",
19433
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
19571
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
19434
19572
  },
19435
19573
  {
19436
19574
  "name": "WixRedirectSession",
@@ -19778,7 +19916,7 @@
19778
19916
  "name": "createRedirectSession",
19779
19917
  "kind": "function",
19780
19918
  "jsdoc": "",
19781
- "decl": "export function createRedirectSession(\n req: WixCreateRedirectSessionRequest = {} as WixCreateRedirectSessionRequest,\n): Promise<WixCreateRedirectSessionResponse>;",
19919
+ "decl": "export function createRedirectSession(\n req: WixCreateRedirectSessionRequest = {} as WixCreateRedirectSessionRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateRedirectSessionResponse>;",
19782
19920
  "http": "POST /_api/redirects-api/v1/redirect-session"
19783
19921
  }
19784
19922
  ]
@@ -19788,11 +19926,17 @@
19788
19926
  "source": "stdlib/wix-sdk/restaurants/src/index.ts",
19789
19927
  "description": "Restaurants — menus and orders",
19790
19928
  "api": [
19929
+ {
19930
+ "name": "WixCallOptions",
19931
+ "kind": "interface",
19932
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
19933
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
19934
+ },
19791
19935
  {
19792
19936
  "name": "wixCall",
19793
19937
  "kind": "function",
19794
19938
  "jsdoc": "",
19795
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
19939
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
19796
19940
  },
19797
19941
  {
19798
19942
  "name": "WixPaging",
@@ -19870,42 +20014,42 @@
19870
20014
  "name": "queryMenus",
19871
20015
  "kind": "function",
19872
20016
  "jsdoc": "",
19873
- "decl": "export function queryMenus(\n req: WixMenuQueryRequest = {} as WixMenuQueryRequest,\n): Promise<WixQueryMenusResponse>;",
20017
+ "decl": "export function queryMenus(\n req: WixMenuQueryRequest = {} as WixMenuQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryMenusResponse>;",
19874
20018
  "http": "POST /restaurants/menus/v1/menus/query"
19875
20019
  },
19876
20020
  {
19877
20021
  "name": "getMenu",
19878
20022
  "kind": "function",
19879
20023
  "jsdoc": "",
19880
- "decl": "export function getMenu(id: string): Promise<WixMenu>;",
20024
+ "decl": "export function getMenu(id: string, opts?: WixCallOptions): Promise<WixMenu>;",
19881
20025
  "http": "GET /restaurants/menus/v1/menus/{…}"
19882
20026
  },
19883
20027
  {
19884
20028
  "name": "queryItems",
19885
20029
  "kind": "function",
19886
20030
  "jsdoc": "",
19887
- "decl": "export function queryItems(\n req: WixItemQueryRequest = {} as WixItemQueryRequest,\n): Promise<WixQueryItemsResponse>;",
20031
+ "decl": "export function queryItems(\n req: WixItemQueryRequest = {} as WixItemQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryItemsResponse>;",
19888
20032
  "http": "POST /restaurants/menus/v1/items/query"
19889
20033
  },
19890
20034
  {
19891
20035
  "name": "getItem",
19892
20036
  "kind": "function",
19893
20037
  "jsdoc": "",
19894
- "decl": "export function getItem(id: string): Promise<WixItem>;",
20038
+ "decl": "export function getItem(id: string, opts?: WixCallOptions): Promise<WixItem>;",
19895
20039
  "http": "GET /restaurants/menus/v1/items/{…}"
19896
20040
  },
19897
20041
  {
19898
20042
  "name": "queryOrders",
19899
20043
  "kind": "function",
19900
20044
  "jsdoc": "",
19901
- "decl": "export function queryOrders(\n req: WixOrderQueryRequest = {} as WixOrderQueryRequest,\n): Promise<WixQueryOrdersResponse>;",
20045
+ "decl": "export function queryOrders(\n req: WixOrderQueryRequest = {} as WixOrderQueryRequest,\n opts?: WixCallOptions,\n): Promise<WixQueryOrdersResponse>;",
19902
20046
  "http": "POST /restaurants/orders/v1/orders/query"
19903
20047
  },
19904
20048
  {
19905
20049
  "name": "getOrder",
19906
20050
  "kind": "function",
19907
20051
  "jsdoc": "",
19908
- "decl": "export function getOrder(id: string): Promise<WixOrder>;",
20052
+ "decl": "export function getOrder(id: string, opts?: WixCallOptions): Promise<WixOrder>;",
19909
20053
  "http": "GET /restaurants/orders/v1/orders/{…}"
19910
20054
  },
19911
20055
  {
@@ -20032,11 +20176,17 @@
20032
20176
  "source": "stdlib/wix-sdk/seo-v1/src/index.ts",
20033
20177
  "description": "Wix seo — typed REST client",
20034
20178
  "api": [
20179
+ {
20180
+ "name": "WixCallOptions",
20181
+ "kind": "interface",
20182
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
20183
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
20184
+ },
20035
20185
  {
20036
20186
  "name": "wixCall",
20037
20187
  "kind": "function",
20038
20188
  "jsdoc": "",
20039
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
20189
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
20040
20190
  },
20041
20191
  {
20042
20192
  "name": "WixSeoTags",
@@ -20174,21 +20324,21 @@
20174
20324
  "name": "resolveSeoTags",
20175
20325
  "kind": "function",
20176
20326
  "jsdoc": "",
20177
- "decl": "export function resolveSeoTags(\n req: WixResolveSeoTagsRequest = {} as WixResolveSeoTagsRequest,\n): Promise<WixResolveSeoTagsResponse>;",
20327
+ "decl": "export function resolveSeoTags(\n req: WixResolveSeoTagsRequest = {} as WixResolveSeoTagsRequest,\n opts?: WixCallOptions,\n): Promise<WixResolveSeoTagsResponse>;",
20178
20328
  "http": "GET /promote/seo/v1/resolve-seo-tags"
20179
20329
  },
20180
20330
  {
20181
20331
  "name": "resolveStaticPageSeoTags",
20182
20332
  "kind": "function",
20183
20333
  "jsdoc": "",
20184
- "decl": "export function resolveStaticPageSeoTags(\n req: WixResolveStaticPageSeoTagsRequest = {} as WixResolveStaticPageSeoTagsRequest,\n): Promise<WixResolveStaticPageSeoTagsResponse>;",
20334
+ "decl": "export function resolveStaticPageSeoTags(\n req: WixResolveStaticPageSeoTagsRequest = {} as WixResolveStaticPageSeoTagsRequest,\n opts?: WixCallOptions,\n): Promise<WixResolveStaticPageSeoTagsResponse>;",
20185
20335
  "http": "GET /promote/seo/v1/resolve-static-page-seo-tags"
20186
20336
  },
20187
20337
  {
20188
20338
  "name": "resolveItemSeoTags",
20189
20339
  "kind": "function",
20190
20340
  "jsdoc": "",
20191
- "decl": "export function resolveItemSeoTags(\n req: WixResolveItemSeoTagsRequest = {} as WixResolveItemSeoTagsRequest,\n): Promise<WixResolveItemSeoTagsResponse>;",
20341
+ "decl": "export function resolveItemSeoTags(\n req: WixResolveItemSeoTagsRequest = {} as WixResolveItemSeoTagsRequest,\n opts?: WixCallOptions,\n): Promise<WixResolveItemSeoTagsResponse>;",
20192
20342
  "http": "GET /promote/seo/v1/resolve-item-seo-tags"
20193
20343
  }
20194
20344
  ]
@@ -20198,11 +20348,17 @@
20198
20348
  "source": "stdlib/wix-sdk/site-list/src/index.ts",
20199
20349
  "description": "The user's Wix sites",
20200
20350
  "api": [
20351
+ {
20352
+ "name": "WixCallOptions",
20353
+ "kind": "interface",
20354
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
20355
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
20356
+ },
20201
20357
  {
20202
20358
  "name": "wixCall",
20203
20359
  "kind": "function",
20204
20360
  "jsdoc": "",
20205
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
20361
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
20206
20362
  },
20207
20363
  {
20208
20364
  "name": "WixCursorPaging",
@@ -20262,14 +20418,14 @@
20262
20418
  "name": "querySites",
20263
20419
  "kind": "function",
20264
20420
  "jsdoc": "",
20265
- "decl": "export function querySites(\n req: WixQuerySitesRequest = {} as WixQuerySitesRequest,\n): Promise<WixQuerySitesResponse>;",
20421
+ "decl": "export function querySites(\n req: WixQuerySitesRequest = {} as WixQuerySitesRequest,\n opts?: WixCallOptions,\n): Promise<WixQuerySitesResponse>;",
20266
20422
  "http": "POST /site-list/v2/sites/query"
20267
20423
  },
20268
20424
  {
20269
20425
  "name": "countSites",
20270
20426
  "kind": "function",
20271
20427
  "jsdoc": "",
20272
- "decl": "export function countSites(\n req: WixCountSitesRequest = {} as WixCountSitesRequest,\n): Promise<WixCountSitesResponse>;",
20428
+ "decl": "export function countSites(\n req: WixCountSitesRequest = {} as WixCountSitesRequest,\n opts?: WixCallOptions,\n): Promise<WixCountSitesResponse>;",
20273
20429
  "http": "POST /site-list/v2/sites/count"
20274
20430
  },
20275
20431
  {
@@ -20416,11 +20572,17 @@
20416
20572
  "jsdoc": "/**\n * The product's primary image, rendered at a mobile-appropriate size.\n *\n * Defaults to the LIST budget because that is the hot path (a catalog screen\n * paints tens of these at once); pass `WIX_DETAIL_IMAGE` for a full-bleed hero,\n * or `null` for the stored original (zoom, download, editor).\n *\n * NOTE this changed behaviour: it used to return the raw stored url. The default\n * is now sized, because shipping a multi-megabyte original into a list tile is\n * never what a caller wants — but `null` keeps the original reachable.\n */",
20417
20573
  "decl": "export function productImage(p: StoreProduct, size: WixImageSize | null = WIX_LIST_IMAGE): string;"
20418
20574
  },
20575
+ {
20576
+ "name": "WixCallOptions",
20577
+ "kind": "interface",
20578
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
20579
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
20580
+ },
20419
20581
  {
20420
20582
  "name": "wixCall",
20421
20583
  "kind": "function",
20422
20584
  "jsdoc": "",
20423
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
20585
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
20424
20586
  },
20425
20587
  {
20426
20588
  "name": "WixProductsPaging",
@@ -20546,7 +20708,7 @@
20546
20708
  "name": "addProductMedia",
20547
20709
  "kind": "function",
20548
20710
  "jsdoc": "",
20549
- "decl": "export function addProductMedia(\n productId: string,\n): Promise<WixAddProductMediaResponse>;",
20711
+ "decl": "export function addProductMedia(\n productId: string,\n opts?: WixCallOptions,\n): Promise<WixAddProductMediaResponse>;",
20550
20712
  "http": "POST /stores/v1/products/{…}/media"
20551
20713
  },
20552
20714
  {
@@ -21025,11 +21187,17 @@
21025
21187
  "source": "stdlib/wix-sdk/workflows-v1/src/index.ts",
21026
21188
  "description": "Wix workflows — typed REST client",
21027
21189
  "api": [
21190
+ {
21191
+ "name": "WixCallOptions",
21192
+ "kind": "interface",
21193
+ "jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
21194
+ "decl": "export interface WixCallOptions {\n site?: string;\n}"
21195
+ },
21028
21196
  {
21029
21197
  "name": "wixCall",
21030
21198
  "kind": "function",
21031
21199
  "jsdoc": "",
21032
- "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n): Promise<T>;"
21200
+ "decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
21033
21201
  },
21034
21202
  {
21035
21203
  "name": "WixWorkflow",
@@ -21203,35 +21371,35 @@
21203
21371
  "name": "listWorkflows",
21204
21372
  "kind": "function",
21205
21373
  "jsdoc": "",
21206
- "decl": "export function listWorkflows(\n req: WixListWorkflowsRequest = {} as WixListWorkflowsRequest,\n): Promise<WixListWorkflowsResponse>;",
21374
+ "decl": "export function listWorkflows(\n req: WixListWorkflowsRequest = {} as WixListWorkflowsRequest,\n opts?: WixCallOptions,\n): Promise<WixListWorkflowsResponse>;",
21207
21375
  "http": "GET /workflows/v1/workflows"
21208
21376
  },
21209
21377
  {
21210
21378
  "name": "getWorkflow",
21211
21379
  "kind": "function",
21212
21380
  "jsdoc": "",
21213
- "decl": "export function getWorkflow(id: string): Promise<WixGetWorkflowResponse>;",
21381
+ "decl": "export function getWorkflow(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixGetWorkflowResponse>;",
21214
21382
  "http": "GET /workflows/v1/workflows/{…}"
21215
21383
  },
21216
21384
  {
21217
21385
  "name": "updateWorkflow",
21218
21386
  "kind": "function",
21219
21387
  "jsdoc": "",
21220
- "decl": "export function updateWorkflow(\n id: string,\n req: WixUpdateWorkflowRequest = {} as WixUpdateWorkflowRequest,\n): Promise<WixUpdateWorkflowResponse>;",
21388
+ "decl": "export function updateWorkflow(\n id: string,\n req: WixUpdateWorkflowRequest = {} as WixUpdateWorkflowRequest,\n opts?: WixCallOptions,\n): Promise<WixUpdateWorkflowResponse>;",
21221
21389
  "http": "PATCH /workflows/v1/workflows/{…}"
21222
21390
  },
21223
21391
  {
21224
21392
  "name": "createWorkflow",
21225
21393
  "kind": "function",
21226
21394
  "jsdoc": "",
21227
- "decl": "export function createWorkflow(\n req: WixCreateWorkflowRequest = {} as WixCreateWorkflowRequest,\n): Promise<WixCreateWorkflowResponse>;",
21395
+ "decl": "export function createWorkflow(\n req: WixCreateWorkflowRequest = {} as WixCreateWorkflowRequest,\n opts?: WixCallOptions,\n): Promise<WixCreateWorkflowResponse>;",
21228
21396
  "http": "POST /workflows/v1/workflows"
21229
21397
  },
21230
21398
  {
21231
21399
  "name": "deleteWorkflow",
21232
21400
  "kind": "function",
21233
21401
  "jsdoc": "",
21234
- "decl": "export function deleteWorkflow(id: string): Promise<WixDeleteWorkflowResponse>;",
21402
+ "decl": "export function deleteWorkflow(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixDeleteWorkflowResponse>;",
21235
21403
  "http": "DELETE /workflows/v1/workflows/{…}"
21236
21404
  }
21237
21405
  ]