@businessdash/sdk 0.9.81 → 0.9.90

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 (261) hide show
  1. package/README.md +115 -902
  2. package/assets/{biab-sw.js → bd-sw.js} +2 -2
  3. package/dist/account-core/index.d.ts +1 -1
  4. package/dist/account-core/index.d.ts.map +1 -1
  5. package/dist/adapters-revalidate.d.ts +2 -2
  6. package/dist/adapters-revalidate.js +2 -2
  7. package/dist/adapters-revalidate.js.map +1 -1
  8. package/dist/analytics-core.d.ts +6 -6
  9. package/dist/analytics-core.d.ts.map +1 -1
  10. package/dist/analytics-core.js +4 -4
  11. package/dist/analytics-core.js.map +1 -1
  12. package/dist/analytics-server.d.ts +6 -6
  13. package/dist/analytics-server.d.ts.map +1 -1
  14. package/dist/analytics-server.js +5 -5
  15. package/dist/auth-handler.d.ts +14 -14
  16. package/dist/auth-handler.d.ts.map +1 -1
  17. package/dist/auth-handler.js +16 -16
  18. package/dist/auth-handler.js.map +1 -1
  19. package/dist/auth-links.d.ts +2 -2
  20. package/dist/auth-links.d.ts.map +1 -1
  21. package/dist/auth-links.js +2 -2
  22. package/dist/auth-links.js.map +1 -1
  23. package/dist/{biab-forms.css → bd-forms.css} +158 -158
  24. package/dist/cli.d.ts +4 -4
  25. package/dist/cli.js +78 -78
  26. package/dist/cli.js.map +1 -1
  27. package/dist/client.d.ts +158 -147
  28. package/dist/client.d.ts.map +1 -1
  29. package/dist/client.js +156 -137
  30. package/dist/client.js.map +1 -1
  31. package/dist/consent-core/index.cjs +2 -2
  32. package/dist/consent-core/index.d.ts +2 -2
  33. package/dist/consent-core/index.d.ts.map +1 -1
  34. package/dist/consent-core/index.js +10 -8
  35. package/dist/consent-core/index.js.map +1 -1
  36. package/dist/contracts.d.ts +411 -52
  37. package/dist/contracts.d.ts.map +1 -1
  38. package/dist/contracts.js +89 -15
  39. package/dist/contracts.js.map +1 -1
  40. package/dist/data-model-schema.d.ts +15 -15
  41. package/dist/data-model-schema.d.ts.map +1 -1
  42. package/dist/data-model-schema.js +19 -17
  43. package/dist/data-model-schema.js.map +1 -1
  44. package/dist/distribution.d.ts +5 -5
  45. package/dist/distribution.d.ts.map +1 -1
  46. package/dist/distribution.js +4 -4
  47. package/dist/element.d.ts +36 -36
  48. package/dist/element.d.ts.map +1 -1
  49. package/dist/element.js +43 -43
  50. package/dist/element.js.map +1 -1
  51. package/dist/embed-protocol.d.ts +11 -11
  52. package/dist/embed-protocol.d.ts.map +1 -1
  53. package/dist/embed-protocol.js +1 -1
  54. package/dist/embed-protocol.js.map +1 -1
  55. package/dist/errors.d.ts +15 -15
  56. package/dist/errors.d.ts.map +1 -1
  57. package/dist/errors.js +18 -18
  58. package/dist/errors.js.map +1 -1
  59. package/dist/forms-core/autocomplete.d.ts +3 -3
  60. package/dist/forms-core/autocomplete.d.ts.map +1 -1
  61. package/dist/forms-core/autocomplete.js +2 -2
  62. package/dist/forms-core/controller.d.ts +10 -10
  63. package/dist/forms-core/controller.d.ts.map +1 -1
  64. package/dist/forms-core/controller.js +4 -4
  65. package/dist/forms-core/controller.js.map +1 -1
  66. package/dist/forms-core/elements.d.ts +4 -4
  67. package/dist/forms-core/elements.d.ts.map +1 -1
  68. package/dist/forms-core/elements.js +7 -7
  69. package/dist/forms-core/elements.js.map +1 -1
  70. package/dist/forms-core/formula.d.ts +1 -1
  71. package/dist/forms-core/formula.js +1 -1
  72. package/dist/forms-core/index.d.ts +6 -6
  73. package/dist/forms-core/index.d.ts.map +1 -1
  74. package/dist/forms-core/index.js +5 -5
  75. package/dist/forms-core/index.js.map +1 -1
  76. package/dist/forms-core/units.d.ts +1 -1
  77. package/dist/forms-core/units.js +1 -1
  78. package/dist/forms-core/us-states.d.ts +1 -1
  79. package/dist/forms-core/us-states.js +1 -1
  80. package/dist/forms-core/validation.d.ts +12 -3
  81. package/dist/forms-core/validation.d.ts.map +1 -1
  82. package/dist/forms-core/validation.js +152 -17
  83. package/dist/forms-core/validation.js.map +1 -1
  84. package/dist/forms.d.ts +2 -2
  85. package/dist/forms.d.ts.map +1 -1
  86. package/dist/forms.js +2 -2
  87. package/dist/forms.js.map +1 -1
  88. package/dist/framework-support.js +1 -1
  89. package/dist/framework-support.js.map +1 -1
  90. package/dist/gallery-types.d.ts +1 -1
  91. package/dist/graphql.d.ts +3 -3
  92. package/dist/graphql.d.ts.map +1 -1
  93. package/dist/graphql.js +3 -3
  94. package/dist/graphql.js.map +1 -1
  95. package/dist/index.cjs +350 -273
  96. package/dist/index.d.cts +5 -5
  97. package/dist/index.d.mts +5 -5
  98. package/dist/index.d.ts +5 -5
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +5 -5
  101. package/dist/index.js.map +1 -1
  102. package/dist/legal-core/index.cjs +8 -8
  103. package/dist/legal-core/index.d.ts +3 -3
  104. package/dist/legal-core/index.d.ts.map +1 -1
  105. package/dist/legal-core/index.js +11 -11
  106. package/dist/legal-core/index.js.map +1 -1
  107. package/dist/marketing-core/index.d.ts +51 -1
  108. package/dist/marketing-core/index.d.ts.map +1 -1
  109. package/dist/marketing-core/index.js +35 -0
  110. package/dist/marketing-core/index.js.map +1 -1
  111. package/dist/marketing-schema.d.ts +9 -9
  112. package/dist/marketing-schema.d.ts.map +1 -1
  113. package/dist/marketing-schema.js +1 -1
  114. package/dist/mcp.d.ts +4 -4
  115. package/dist/mcp.js +4 -4
  116. package/dist/native.d.ts +6 -6
  117. package/dist/native.d.ts.map +1 -1
  118. package/dist/native.js +4 -4
  119. package/dist/native.js.map +1 -1
  120. package/dist/next-revalidate.d.ts +8 -8
  121. package/dist/next-revalidate.d.ts.map +1 -1
  122. package/dist/next-revalidate.js +7 -7
  123. package/dist/next-revalidate.js.map +1 -1
  124. package/dist/notifications-core/index.d.ts +1 -1
  125. package/dist/notifications-core/index.js +1 -1
  126. package/dist/parallel-pages.d.ts +4 -4
  127. package/dist/parallel-pages.d.ts.map +1 -1
  128. package/dist/parallel-pages.js +5 -5
  129. package/dist/parallel-pages.js.map +1 -1
  130. package/dist/portal-core/index.d.ts +1 -1
  131. package/dist/portal-core/index.js +1 -1
  132. package/dist/proxy.d.ts +18 -18
  133. package/dist/proxy.d.ts.map +1 -1
  134. package/dist/proxy.js +10 -10
  135. package/dist/proxy.js.map +1 -1
  136. package/dist/push-core/index.cjs +1 -1
  137. package/dist/push-core/index.d.ts +1 -1
  138. package/dist/push-core/index.js +1 -1
  139. package/dist/push-core/index.js.map +1 -1
  140. package/dist/react-analytics.d.ts +14 -14
  141. package/dist/react-analytics.d.ts.map +1 -1
  142. package/dist/react-analytics.js +15 -15
  143. package/dist/react-analytics.js.map +1 -1
  144. package/dist/react-attribution.d.ts +2 -2
  145. package/dist/react-attribution.d.ts.map +1 -1
  146. package/dist/react-attribution.js +1 -1
  147. package/dist/react-marketing.js +5 -5
  148. package/dist/react-marketing.js.map +1 -1
  149. package/dist/react.d.ts +38 -61
  150. package/dist/react.d.ts.map +1 -1
  151. package/dist/react.js +247 -261
  152. package/dist/react.js.map +1 -1
  153. package/dist/reserved-paths.d.ts +2 -2
  154. package/dist/reserved-paths.js +3 -3
  155. package/dist/reserved-paths.js.map +1 -1
  156. package/dist/revalidate-verify.d.ts +3 -3
  157. package/dist/revalidate-verify.d.ts.map +1 -1
  158. package/dist/revalidate-verify.js +1 -1
  159. package/dist/revalidate-verify.js.map +1 -1
  160. package/dist/sdk.d.ts +49 -49
  161. package/dist/sdk.d.ts.map +1 -1
  162. package/dist/sdk.js +47 -51
  163. package/dist/sdk.js.map +1 -1
  164. package/dist/seed-core/index.js +8 -8
  165. package/dist/seed-core/index.js.map +1 -1
  166. package/dist/seo-core/blog.d.ts +1 -1
  167. package/dist/seo-core/blog.js +1 -1
  168. package/dist/seo-core/blog.js.map +1 -1
  169. package/dist/seo-core/index.cjs +2 -2
  170. package/dist/seo-core/index.js +1 -1
  171. package/dist/seo-core/index.js.map +1 -1
  172. package/dist/seo.d.ts +1 -1
  173. package/dist/seo.d.ts.map +1 -1
  174. package/dist/seo.js +1 -1
  175. package/dist/seo.js.map +1 -1
  176. package/dist/sitemap-core/index.cjs +3 -3
  177. package/dist/sitemap-core/index.js +2 -2
  178. package/dist/sitemap-core/index.js.map +1 -1
  179. package/dist/socials.d.ts +6 -6
  180. package/dist/socials.d.ts.map +1 -1
  181. package/dist/socials.js +5 -5
  182. package/dist/socials.js.map +1 -1
  183. package/dist/solid-compat.d.ts +1 -1
  184. package/dist/solid-compat.js +4 -4
  185. package/dist/solid-compat.js.map +1 -1
  186. package/dist/store-core/index.d.ts +1 -1
  187. package/dist/vanilla.d.ts +12 -12
  188. package/dist/vanilla.d.ts.map +1 -1
  189. package/dist/vanilla.js +192 -145
  190. package/dist/vanilla.js.map +1 -1
  191. package/openapi.json +264 -1
  192. package/package.json +8 -8
  193. package/src/account-core/index.ts +1 -1
  194. package/src/adapters-revalidate.ts +3 -3
  195. package/src/analytics-core.ts +8 -8
  196. package/src/analytics-server.ts +6 -6
  197. package/src/angular/{biab-form.component.ts → bd-form.component.ts} +269 -161
  198. package/src/angular/headless.ts +12 -12
  199. package/src/angular/index.ts +9 -9
  200. package/src/auth-handler.ts +22 -22
  201. package/src/auth-links.ts +2 -2
  202. package/src/cli.ts +81 -81
  203. package/src/client.ts +218 -193
  204. package/src/consent-core/index.ts +10 -8
  205. package/src/contracts.ts +99 -15
  206. package/src/data-model-schema.ts +29 -26
  207. package/src/distribution.ts +5 -5
  208. package/src/element.ts +54 -54
  209. package/src/embed-protocol.ts +14 -14
  210. package/src/errors.ts +27 -27
  211. package/src/forms-core/autocomplete.ts +3 -3
  212. package/src/forms-core/controller.ts +12 -12
  213. package/src/forms-core/elements.ts +7 -7
  214. package/src/forms-core/formula.ts +1 -1
  215. package/src/forms-core/index.ts +8 -8
  216. package/src/forms-core/units.ts +1 -1
  217. package/src/forms-core/us-states.ts +1 -1
  218. package/src/forms-core/validation.ts +158 -14
  219. package/src/forms.ts +2 -2
  220. package/src/framework-support.ts +1 -1
  221. package/src/gallery-types.ts +1 -1
  222. package/src/graphql.ts +4 -4
  223. package/src/index.ts +38 -38
  224. package/src/legal-core/index.ts +12 -12
  225. package/src/marketing-core/index.ts +62 -0
  226. package/src/marketing-schema.ts +9 -9
  227. package/src/mcp.ts +4 -4
  228. package/src/native.ts +14 -14
  229. package/src/next-revalidate.ts +10 -10
  230. package/src/notifications-core/index.ts +1 -1
  231. package/src/parallel-pages.ts +6 -6
  232. package/src/portal-core/index.ts +1 -1
  233. package/src/proxy.ts +28 -28
  234. package/src/push-core/index.ts +2 -2
  235. package/src/qwik.tsx +262 -166
  236. package/src/react-analytics.tsx +17 -17
  237. package/src/react-attribution.tsx +2 -2
  238. package/src/react-marketing.tsx +5 -5
  239. package/src/react.tsx +541 -500
  240. package/src/reserved-paths.ts +3 -3
  241. package/src/revalidate-verify.ts +5 -5
  242. package/src/sdk.ts +106 -110
  243. package/src/seed-core/index.ts +8 -8
  244. package/src/seo-core/blog.ts +2 -2
  245. package/src/seo-core/index.ts +1 -1
  246. package/src/seo.ts +1 -1
  247. package/src/sitemap-core/index.ts +2 -2
  248. package/src/socials.ts +6 -6
  249. package/src/solid-compat.tsx +5 -5
  250. package/src/solid-surfaces.tsx +28 -28
  251. package/src/solid.tsx +264 -175
  252. package/src/store-core/index.ts +1 -1
  253. package/src/styles/{biab-forms.css → bd-forms.css} +158 -158
  254. package/src/svelte/{BiabForm.svelte → BdForm.svelte} +240 -173
  255. package/src/svelte/context.ts +16 -16
  256. package/src/svelte/headless.ts +10 -10
  257. package/src/svelte/index.ts +16 -16
  258. package/src/vanilla.ts +250 -169
  259. package/src/vue/{BiabForm.vue → BdForm.vue} +270 -157
  260. package/src/vue/headless.ts +11 -11
  261. package/src/vue/index.ts +26 -26
package/dist/client.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod";
2
- import { type AddressDetailsResponse, type AddressFormValues, type AddressSearchInput, type AddressSearchResponse, type AddressVerifyResponse, type AiVisibilityInput, type AiVisibilityResponse, type AttributionHeartbeatInput, type AttributionHeartbeatResponse, type AttributionPolicy, type AuthIntrospectResponse, type BlogCategoryListResponse, type BlogCommentListResponse, type BlogCommentPostInput, type BlogCommentPostResponse, type BlogLikeResponse, type BlogListPostsResponse, type BlogPostBySlugResponse, type BlogSessionInput, type BlogSessionResponse, type BlogTagListResponse, type CartAddItemInput, type CartCouponInput, type CartSessionResponse, type CartSnapshot, type CartUpdateItemInput, type ChatbotAppendMessageInput, type ChatbotAvailability, type ChatbotChatInput, type ChatbotChatResponse, type ChatbotConfig, type ChatbotConfigUpdateInput, type ChatbotFormDefinition, type ChatbotFormSubmitInput, type ChatbotFormSubmitResponse, type ChatbotMessagesResponse, type ChatbotPersistedSessionInput, type ChatbotPersistedSessionResponse, type ChatbotRequestHumanInput, type ChatbotRequestHumanResponse, type ChatbotSessionResponse, type CheckoutSessionInput, type CheckoutSessionResponse, type CheckoutStartInput, type CheckoutStartResponse, type CheckoutStatusResponse, type ConfirmVerificationInput, type ConfirmVerificationResponse, type CouponCreateInput, type CouponCreateResponse, type CouponListResponse, type CouponValidateResponse, type CreateCollectionInput, type CreateCollectionResponse, type CreateEmailTemplateInput, type CreateEmailTemplateResponse, type CreateEmailTemplateVersionInput, type CreateEmailTemplateVersionResponse, type CustomerContactCompanyInput, type CustomerContactCompanyResponse, type CustomerContractDetail, type CustomerContractListResponse, type CustomerContractSignResponse, type CustomerDownloadsResponse, type CustomerInviteResendResponse, type CustomerInvoiceDetail, type CustomerInvoiceListResponse, type CustomerInvoicePayInput, type CustomerInvoicePayResponse, type CustomerInvoicePdf, type CustomerJobActivityResponse, type CustomerJobComment, type CustomerJobCommentPostInput, type CustomerJobCommentsListResponse, type CustomerJobDetail, type CustomerJobEtaResponse, type CustomerNotificationPreferencesResponse, type CustomerNotificationPreferencesUpdateInput, type CustomerNotificationPreferencesUpdateResponse, type CustomerNotReceivedResult, type CustomerOrderDetail, type CustomerOrderListResponse, type CustomerPortalContextResponse, type CustomerPortalMessage, type CustomerPortalMessageListResponse, type CustomerPortalMessagePostInput, type CustomerPortalMessagesMarkReadResponse, type CustomerPortalOtherOrgsResponse, type CustomerPortalProfile, type CustomerPortalQuizResultsResponse, type CustomerPortalUpdateProfileInput, type CustomerPortalUpdateProfileResponse, type CustomerProductReviewCreated, type CustomerProductReviewList, type CustomerPushConfig, type CustomerQuoteActionResponse, type CustomerQuoteDetail, type CustomerQuoteListResponse, type CustomerReferralHistoryResponse, type CustomerReferralPayoutsResponse, type CustomerReferralStats, type CustomerReturnRequestCreated, type CustomerReturnRequestInput, type CustomerReturnRequestListResponse, type CustomerReviewListResponse, type CustomerReviewSubmitInput, type CustomerReviewSubmitResponse, type CustomerShipmentListResponse, type CustomerShipmentTracking, type CustomerSubscriberContentResponse, type CustomerSubscriptionCancelResponse, type CustomerSubscriptionResponse, type CustomerWorkBundle, type DashboardSessionResponse, type ExecuteActionInput, type ExecuteActionResponse, type FollowerEditInput, type FollowerEditResponse, type FollowerJoinInput, type FollowerJoinResponse, type FollowerLeaveInput, type FollowerLeaveResponse, type FollowerMeInput, type FollowerMeResponse, type GetCollectionResponse, type GetEmailTemplateResponse, type GetMarketingLocalesResponse, type GetMarketingPageBundleResponse, type GetPublishedMarketingSchemaResponse, type GetSiteMarketingPageResponse, type GoogleAddress, type JobCategoryListResponse, type JobPosting, type JobPostingListResponse, type LegalDocument, type LegalListResponse, type ListCollectionsResponse, type ListDataModelRecordsInput, type ListDataModelRecordsResponse, type ListEmailTemplatesInput, type ListEmailTemplatesResponse, type ListRowsInput, type ListRowsResponse, type ListSiteMarketingPagesResponse, type NotificationPreferencesResponse, type NotificationPreferencesUpdateInput, type PageViewsInput, type PageViewsResponse, type PublishMarketingSectionsInput, type PublishMarketingSectionsResponse, type QueryRowsInput, type QueryRowsResponse, type ReviewWallListResponse, type SchedulingBookingResult, type SchedulingBookingView, type SchedulingCancelResult, type SchedulingEventTypeDetail, type SchedulingEventTypeList, type SchedulingRescheduleResult, type SchedulingSlotsResponse, type ShippingRatesInput, type ShippingRatesResponse, type ShippingSettingsResponse, type ShippingTrackResponse, type SiteAssetInput, type SiteBranding, type StartVerificationInput, type StartVerificationResponse, type StorefrontAddonsResponse, type StorefrontCategoriesResponse, type StorefrontListProductsResponse, type StorefrontProductDetail, type StorefrontProductReviewsResponse, type StorefrontProductsWithMetaResponse, type StorefrontRelatedProductsResponse, type StorefrontSessionInput, type StorefrontSessionResponse, type StorefrontSort, type StorefrontSyncToStripeResponse, type SubscriptionCheckoutInput, type SubscriptionCheckoutResponse, type SubscriptionOffering, type SubscriptionOfferingsListResponse, type TenantAuthExchangeInput, type TenantAuthExchangeResponse, type TenantAuthMeResponse, type TenantAuthPasswordResetInput, type TenantAuthPasswordResetResponse, type TenantAuthSignOutResponse, type TenantAuthStartInput, type TenantAuthStartResponse, type UploadSiteAssetResponse, type UpsertDraftMarketingSchemaInput, type UpsertDraftMarketingSchemaResponse, type UpsertRowInput, type UpsertRowResponse } from "./contracts.js";
2
+ import { type AddressDetailsResponse, type AddressFormValues, type AddressSearchInput, type AddressSearchResponse, type AddressVerifyResponse, type AiVisibilityInput, type AiVisibilityResponse, type AttributionHeartbeatInput, type AttributionHeartbeatResponse, type AttributionPolicy, type AuthIntrospectResponse, type BlogCategoryListResponse, type BlogCommentListResponse, type BlogCommentPostInput, type BlogCommentPostResponse, type BlogLikeResponse, type BlogListPostsResponse, type BlogPostBySlugResponse, type BlogSessionInput, type BlogSessionResponse, type BlogTagListResponse, type CartAddItemInput, type CartCouponInput, type CartSessionResponse, type CartSnapshot, type CartUpdateItemInput, type ChatbotAppendMessageInput, type ChatbotAvailability, type ChatbotChatInput, type ChatbotChatResponse, type ChatbotConfig, type ChatbotConfigUpdateInput, type ChatbotFormDefinition, type ChatbotFormSubmitInput, type ChatbotFormSubmitResponse, type ChatbotMessagesResponse, type ChatbotPersistedSessionInput, type ChatbotPersistedSessionResponse, type ChatbotRequestHumanInput, type ChatbotRequestHumanResponse, type ChatbotSessionResponse, type CheckoutSessionInput, type CheckoutSessionResponse, type CheckoutStartInput, type CheckoutStartResponse, type CheckoutStatusResponse, type ConfirmVerificationInput, type ConfirmVerificationResponse, type CouponCreateInput, type CouponCreateResponse, type CouponListResponse, type CouponValidateResponse, type CreateCollectionInput, type CreateCollectionResponse, type CreateEmailTemplateInput, type CreateEmailTemplateResponse, type CreateEmailTemplateVersionInput, type CreateEmailTemplateVersionResponse, type CustomerContactCompanyInput, type CustomerContactCompanyResponse, type CustomerContractDetail, type CustomerContractListResponse, type CustomerContractSignResponse, type CustomerDownloadsResponse, type CustomerInviteResendResponse, type CustomerInvoiceDetail, type CustomerInvoiceListResponse, type CustomerInvoicePayInput, type CustomerInvoicePayResponse, type CustomerInvoicePdf, type CustomerJobActivityResponse, type CustomerJobComment, type CustomerJobCommentPostInput, type CustomerJobCommentsListResponse, type CustomerJobDetail, type CustomerJobEtaResponse, type CustomerNotificationPreferencesResponse, type CustomerNotificationPreferencesUpdateInput, type CustomerNotificationPreferencesUpdateResponse, type CustomerNotReceivedResult, type CustomerOrderDetail, type CustomerOrderListResponse, type CustomerPortalContextResponse, type CustomerPortalMessage, type CustomerPortalMessageListResponse, type CustomerPortalMessagePostInput, type CustomerPortalMessagesMarkReadResponse, type CustomerPortalOtherOrgsResponse, type CustomerPortalProfile, type CustomerPortalQuizResultsResponse, type CustomerPortalUpdateProfileInput, type CustomerPortalUpdateProfileResponse, type CustomerProductReviewCreated, type CustomerProductReviewList, type CustomerProposal, type CustomerProposalListResponse, type CustomerPushConfig, type CustomerQuoteActionResponse, type CustomerQuoteDetail, type CustomerQuoteListResponse, type CustomerReferralHistoryResponse, type CustomerReferralPayoutsResponse, type CustomerReferralStats, type CustomerReturnRequestCreated, type CustomerReturnRequestInput, type CustomerReturnRequestListResponse, type CustomerReviewListResponse, type CustomerReviewSubmitInput, type CustomerReviewSubmitResponse, type CustomerShipmentListResponse, type CustomerShipmentTracking, type CustomerSubscriberContentResponse, type CustomerSubscriptionCancelResponse, type CustomerSubscriptionResponse, type CustomerWorkBundle, type DashboardSessionResponse, type ExecuteActionInput, type ExecuteActionResponse, type FollowerEditInput, type FollowerEditResponse, type FollowerJoinInput, type FollowerJoinResponse, type FollowerLeaveInput, type FollowerLeaveResponse, type FollowerMeInput, type FollowerMeResponse, type GetCollectionResponse, type GetEmailTemplateResponse, type GetMarketingLocalesResponse, type GetMarketingPageBundleResponse, type GetPublishedMarketingSchemaResponse, type GetSiteMarketingPageResponse, type GoogleAddress, type JobCategoryListResponse, type JobPosting, type JobPostingListResponse, type LegalDocument, type LegalListResponse, type ListCollectionsResponse, type ListDataModelRecordsInput, type ListDataModelRecordsResponse, type ListEmailTemplatesInput, type ListEmailTemplatesResponse, type ListRowsInput, type ListRowsResponse, type ListSiteMarketingPagesResponse, type NotificationPreferencesResponse, type NotificationPreferencesUpdateInput, type PageViewsInput, type PageViewsResponse, type PublishMarketingSectionsInput, type PublishMarketingSectionsResponse, type QueryRowsInput, type QueryRowsResponse, type ReviewWallListResponse, type SchedulingBookingResult, type SchedulingBookingView, type SchedulingCancelResult, type SchedulingEventTypeDetail, type SchedulingEventTypeList, type SchedulingRescheduleResult, type SchedulingSlotsResponse, type ShippingRatesInput, type ShippingRatesResponse, type ShippingSettingsResponse, type ShippingTrackResponse, type SiteAssetInput, type SiteBranding, type StartVerificationInput, type StartVerificationResponse, type StorefrontAddonsResponse, type StorefrontCategoriesResponse, type StorefrontListProductsResponse, type StorefrontProductDetail, type StorefrontProductReviewsResponse, type StorefrontProductsWithMetaResponse, type StorefrontRelatedProductsResponse, type StorefrontSessionInput, type StorefrontSessionResponse, type StorefrontSort, type StorefrontSyncToStripeResponse, type SubscriptionCheckoutInput, type SubscriptionCheckoutResponse, type SubscriptionOffering, type SubscriptionOfferingsListResponse, type TenantAuthExchangeInput, type TenantAuthExchangeResponse, type TenantAuthMeResponse, type TenantAuthPasswordResetInput, type TenantAuthPasswordResetResponse, type TenantAuthSignOutResponse, type TenantAuthStartInput, type TenantAuthStartResponse, type UploadSiteAssetResponse, type UpsertDraftMarketingSchemaInput, type UpsertDraftMarketingSchemaResponse, type UpsertRowInput, type UpsertRowResponse } from "./contracts.js";
3
3
  export type FetchLike = typeof fetch;
4
- /** Options for {@link BiabDevClient} / {@link createBiabDevClient}. */
5
- export type BiabDevClientOptions = {
4
+ /** Options for {@link BdApiClient} / {@link createBdApiClient}. */
5
+ export type BdApiClientOptions = {
6
6
  baseUrl: string;
7
7
  apiKey: string;
8
8
  fetch?: FetchLike;
@@ -27,43 +27,43 @@ type RequestOptions<T> = {
27
27
  headers?: HeadersInit;
28
28
  };
29
29
  /**
30
- * Typed client for the BIAB package HTTP API.
30
+ * Typed client for the BD package HTTP API.
31
31
  *
32
32
  * @remarks
33
33
  * **Alpha:** This SDK is in alpha. Surfaces and behavior may change without semver guarantees.
34
34
  * Do not rely on it for production workloads—use development, staging, or experiments only.
35
35
  */
36
- export declare class BiabDevClient {
36
+ export declare class BdApiClient {
37
37
  private readonly baseUrl;
38
38
  private readonly apiKey;
39
39
  private readonly fetchImpl;
40
40
  private readonly defaultHeaders;
41
- constructor(options: BiabDevClientOptions);
41
+ constructor(options: BdApiClientOptions);
42
42
  private readonly siteOrigin;
43
- site(siteId: string): BiabDevSiteClient;
44
- get emailTemplates(): BiabDevEmailTemplatesClient;
45
- get dashboard(): BiabDevDashboardClient;
46
- get storefront(): BiabDevStorefrontClient;
47
- get cart(): BiabDevCartClient;
48
- get checkout(): BiabDevCheckoutClient;
49
- get coupons(): BiabDevCouponsClient;
50
- get subscriptions(): BiabDevSubscriptionsClient;
51
- get shipping(): BiabDevShippingClient;
43
+ site(siteId: string): BdSiteClient;
44
+ get emailTemplates(): BdEmailTemplatesClient;
45
+ get dashboard(): BdDashboardClient;
46
+ get storefront(): BdStorefrontClient;
47
+ get cart(): BdCartClient;
48
+ get checkout(): BdCheckoutClient;
49
+ get coupons(): BdCouponsClient;
50
+ get subscriptions(): BdSubscriptionsClient;
51
+ get shipping(): BdShippingClient;
52
52
  /** Customer-portal invitations — currently resend. */
53
- get customerInvites(): BiabDevCustomerInvitesClient;
54
- get notifications(): BiabDevNotificationsClient;
55
- get address(): BiabDevAddressClient;
56
- get blog(): BiabDevBlogClient;
57
- get reviews(): BiabDevReviewsClient;
53
+ get customerInvites(): BdCustomerInvitesClient;
54
+ get notifications(): BdNotificationsClient;
55
+ get address(): BdAddressClient;
56
+ get blog(): BdBlogClient;
57
+ get reviews(): BdReviewsClient;
58
58
  /**
59
59
  * Tracking consent for this org's site.
60
60
  *
61
61
  * Pair with `@businessdash/sdk/consent`, which handles the visitor cookie
62
62
  * and gives you a gate to check before starting analytics.
63
63
  */
64
- get consent(): BiabDevConsentClient;
64
+ get consent(): BdConsentClient;
65
65
  /** Public job postings — build a careers page on your own domain. */
66
- get hiring(): BiabDevHiringClient;
66
+ get hiring(): BdHiringClient;
67
67
  /**
68
68
  * The org's published legal pages — privacy, terms, refund policy, whatever
69
69
  * they authored in the dashboard.
@@ -71,54 +71,54 @@ export declare class BiabDevClient {
71
71
  * Pair with `@businessdash/sdk/legal` to render them without writing a page
72
72
  * per document.
73
73
  */
74
- get legal(): BiabDevLegalClient;
75
- get chatbot(): BiabDevChatbotClient;
76
- get auth(): BiabDevAuthClient;
74
+ get legal(): BdLegalClient;
75
+ get chatbot(): BdChatbotClient;
76
+ get auth(): BdAuthClient;
77
77
  /**
78
- * Customer-portal client. Pin to a specific BIAB organization id so the
78
+ * Customer-portal client. Pin to a specific BD organization id so the
79
79
  * caller never sees data from any other org (recommended). Omit
80
80
  * `organizationId` to fall back to the user's currently-active session
81
81
  * org — only use that on first-party hosts where the host already pins
82
82
  * the org.
83
83
  */
84
- customerPortal(organizationId?: string): BiabDevCustomerPortalClient;
84
+ customerPortal(organizationId?: string): BdCustomerPortalClient;
85
85
  introspect(): Promise<AuthIntrospectResponse>;
86
86
  request<T>(options: RequestOptions<T>): Promise<T>;
87
87
  }
88
- export declare class BiabDevSiteClient {
89
- readonly client: BiabDevClient;
88
+ export declare class BdSiteClient {
89
+ readonly client: BdApiClient;
90
90
  readonly siteId: string;
91
- readonly collections: BiabDevCollectionsClient;
92
- readonly rows: BiabDevRowsClient;
91
+ readonly collections: BdCollectionsClient;
92
+ readonly rows: BdRowsClient;
93
93
  /**
94
94
  * The org's custom database — the tables from `defineDataModel()`.
95
95
  * Distinct from `collections`/`rows`, which are Site Data. See
96
- * {@link BiabDevDataModelClient}.
96
+ * {@link BdDataModelClient}.
97
97
  */
98
- readonly dataModel: BiabDevDataModelClient;
98
+ readonly dataModel: BdDataModelClient;
99
99
  /**
100
100
  * Read your site's visitor counts back (the counterpart to the
101
- * `<BIABAnalytics/>` tracker, which only records). See
102
- * {@link BiabDevAnalyticsClient}.
101
+ * `<BDAnalytics/>` tracker, which only records). See
102
+ * {@link BdAnalyticsClient}.
103
103
  */
104
- readonly analytics: BiabDevAnalyticsClient;
104
+ readonly analytics: BdAnalyticsClient;
105
105
  /**
106
106
  * The "Powered by BusinessDash" badge's policy + heartbeat. See
107
- * {@link BiabDevAttributionClient}.
107
+ * {@link BdAttributionClient}.
108
108
  */
109
- readonly attribution: BiabDevAttributionClient;
110
- readonly assets: BiabDevAssetsClient;
111
- readonly actions: BiabDevActionsClient;
112
- readonly followers: BiabDevFollowersClient;
113
- readonly marketingPages: BiabDevMarketingPagesClient;
109
+ readonly attribution: BdAttributionClient;
110
+ readonly assets: BdAssetsClient;
111
+ readonly actions: BdActionsClient;
112
+ readonly followers: BdFollowersClient;
113
+ readonly marketingPages: BdMarketingPagesClient;
114
114
  /**
115
115
  * Schema-driven marketing flow (Phase 2). Pair with the SDK's
116
- * `defineSiteMarketingSchema()` builder + the `biab-dev sync-schema`
116
+ * `defineSiteMarketingSchema()` builder + the `bd sync-schema`
117
117
  * CLI for the authoring side; this client is the live-site read
118
118
  * path (`getPageBundle`) and the upload entry point for the CLI.
119
119
  */
120
- readonly marketing: BiabDevMarketingClient;
121
- readonly parallelPages: BiabDevParallelPagesClient;
120
+ readonly marketing: BdMarketingClient;
121
+ readonly parallelPages: BdParallelPagesClient;
122
122
  /**
123
123
  * Booking and conference calls.
124
124
  *
@@ -126,8 +126,8 @@ export declare class BiabDevSiteClient {
126
126
  * resource, which is why the OpenAPI generator — which reads this file —
127
127
  * never saw it, and why no non-JS starter had scheduling at all.
128
128
  */
129
- readonly scheduling: BiabDevSchedulingClient;
130
- constructor(client: BiabDevClient, siteId: string);
129
+ readonly scheduling: BdSchedulingClient;
130
+ constructor(client: BdApiClient, siteId: string);
131
131
  /**
132
132
  * The org's storefront branding — logo + favicon (site static media) plus
133
133
  * the org name + icon. Render the masthead/favicon/og without the org
@@ -389,10 +389,10 @@ export type ParallelPagesRenderResponse = z.infer<typeof parallelPagesRenderResp
389
389
  * return <RenderTemplate bundle={bundle} />;
390
390
  * }
391
391
  */
392
- export declare class BiabDevParallelPagesClient {
392
+ export declare class BdParallelPagesClient {
393
393
  private readonly client;
394
394
  private readonly siteId;
395
- constructor(client: BiabDevClient, siteId: string);
395
+ constructor(client: BdApiClient, siteId: string);
396
396
  list(): Promise<ParallelPagesListResponse>;
397
397
  listVariants(key: string, opts?: {
398
398
  locale?: string;
@@ -432,10 +432,10 @@ export declare function clearMarketingCache(siteId: string): void;
432
432
  * checksum = `noop: true`).
433
433
  * - `getLocales()` — enabled locales + brand-token map.
434
434
  */
435
- export declare class BiabDevMarketingClient {
435
+ export declare class BdMarketingClient {
436
436
  private readonly client;
437
437
  private readonly siteId;
438
- constructor(client: BiabDevClient, siteId: string);
438
+ constructor(client: BdApiClient, siteId: string);
439
439
  getPageBundle(input?: {
440
440
  pageKey?: string;
441
441
  locale?: string;
@@ -457,15 +457,15 @@ export declare class BiabDevMarketingClient {
457
457
  getDraftSchema(): Promise<GetPublishedMarketingSchemaResponse>;
458
458
  publishDraftSchema(input: UpsertDraftMarketingSchemaInput): Promise<UpsertDraftMarketingSchemaResponse>;
459
459
  /**
460
- * Bulk-upsert section values. Used by `biab-dev sync-content` to push
461
- * local JSON content to BIAB. Server caps each request at 256 items;
460
+ * Bulk-upsert section values. Used by `bd sync-content` to push
461
+ * local JSON content to BD. Server caps each request at 256 items;
462
462
  * larger imports are batched by the CLI. Per-item failures are
463
463
  * reported in the response (`results[].ok === false`) without aborting
464
464
  * the rest of the batch.
465
465
  *
466
466
  * The CLI's `--lax` flag sets `validate: false` for first-time imports
467
467
  * of legacy content that doesn't yet match the published schema —
468
- * useful so writers can pull existing content into BIAB and fix
468
+ * useful so writers can pull existing content into BD and fix
469
469
  * validation errors in the dashboard incrementally.
470
470
  */
471
471
  publishSections(input: PublishMarketingSectionsInput): Promise<PublishMarketingSectionsResponse>;
@@ -492,10 +492,10 @@ export declare function clearMarketingPageCache(siteId: string, pageKey?: string
492
492
  * `list()` (no payloads) with `get(pageKey)` / `prefetch(pageKey)` to load
493
493
  * pages on demand instead of paying the full-content cost up front.
494
494
  */
495
- export declare class BiabDevMarketingPagesClient {
495
+ export declare class BdMarketingPagesClient {
496
496
  private readonly client;
497
497
  private readonly siteId;
498
- constructor(client: BiabDevClient, siteId: string);
498
+ constructor(client: BdApiClient, siteId: string);
499
499
  /**
500
500
  * Payload-free directory of every marketing page for the site. Use this
501
501
  * to render a navigation index without loading any content; call
@@ -529,29 +529,29 @@ export declare class BiabDevMarketingPagesClient {
529
529
  */
530
530
  prefetch(pageKey?: string): Promise<GetSiteMarketingPageResponse>;
531
531
  }
532
- export declare class BiabDevCollectionsClient {
532
+ export declare class BdCollectionsClient {
533
533
  private readonly client;
534
534
  private readonly siteId;
535
- constructor(client: BiabDevClient, siteId: string);
535
+ constructor(client: BdApiClient, siteId: string);
536
536
  list(): Promise<ListCollectionsResponse>;
537
537
  create(input: CreateCollectionInput): Promise<CreateCollectionResponse>;
538
538
  get(slug: string): Promise<GetCollectionResponse>;
539
539
  }
540
- export declare class BiabDevRowsClient {
540
+ export declare class BdRowsClient {
541
541
  private readonly client;
542
542
  private readonly siteId;
543
- constructor(client: BiabDevClient, siteId: string);
543
+ constructor(client: BdApiClient, siteId: string);
544
544
  list(collectionSlug: string, input?: ListRowsInput): Promise<ListRowsResponse>;
545
545
  upsert(collectionSlug: string, input: UpsertRowInput): Promise<UpsertRowResponse>;
546
546
  query(collectionSlug: string, input: QueryRowsInput): Promise<QueryRowsResponse>;
547
547
  }
548
548
  /**
549
549
  * Read rows out of the org's CUSTOM DATABASE — the tables you declare with
550
- * `defineDataModel()` and push with `biab-dev sync-data-model`.
550
+ * `defineDataModel()` and push with `bd sync-data-model`.
551
551
  *
552
552
  * ⚠️ Not the same thing as `.collections` / `.rows`. Those read Site Data (the
553
553
  * site builder's tables, `site_data_rows`). Rows seeded with
554
- * `biab-dev sync-records` live in `org_object_records` and are reachable only
554
+ * `bd sync-records` live in `org_object_records` and are reachable only
555
555
  * through here — no `collections:*` call will ever return one.
556
556
  *
557
557
  * Requires the `metadata:read_records` scope. What a key can actually read is
@@ -567,7 +567,7 @@ export declare class BiabDevRowsClient {
567
567
  * private one never is. Open a table by declaring `visibility` in your model.
568
568
  *
569
569
  * ```ts
570
- * const result = await biab.site(siteId).dataModel.listRecords({
570
+ * const result = await bd.site(siteId).dataModel.listRecords({
571
571
  * object: TECH_OBJECT_ID, // the universalIdentifier from your config
572
572
  * });
573
573
  * if (!result.available) return <UpgradeCard feature={result.requiredFeature} />;
@@ -577,10 +577,10 @@ export declare class BiabDevRowsClient {
577
577
  * }
578
578
  * ```
579
579
  */
580
- export declare class BiabDevDataModelClient {
580
+ export declare class BdDataModelClient {
581
581
  private readonly client;
582
582
  private readonly siteId;
583
- constructor(client: BiabDevClient, siteId: string);
583
+ constructor(client: BdApiClient, siteId: string);
584
584
  /**
585
585
  * One page of an object's rows, newest first, with relations expanded.
586
586
  *
@@ -608,20 +608,20 @@ export declare class BiabDevDataModelClient {
608
608
  /**
609
609
  * Read your site's visitor counts back.
610
610
  *
611
- * The `<BIABAnalytics/>` tracker (`@businessdash/sdk/react-analytics`) RECORDS
611
+ * The `<BDAnalytics/>` tracker (`@businessdash/sdk/react-analytics`) RECORDS
612
612
  * pageviews; this READS the totals, so you can put a number on the page instead
613
613
  * of only feeding the dashboard.
614
614
  *
615
615
  * ```ts
616
616
  * // Site-wide, all time
617
- * const all = await biab.site(siteId).analytics.pageViews();
617
+ * const all = await bd.site(siteId).analytics.pageViews();
618
618
  * if (all.available) console.log(`${all.total.views} views`);
619
619
  *
620
620
  * // One page, last 30 days
621
- * const home = await biab.site(siteId).analytics.pageViews({ paths: ['/'], days: 30 });
621
+ * const home = await bd.site(siteId).analytics.pageViews({ paths: ['/'], days: 30 });
622
622
  *
623
623
  * // A batch of pages in one round-trip
624
- * const list = await biab.site(siteId).analytics.pageViews({
624
+ * const list = await bd.site(siteId).analytics.pageViews({
625
625
  * paths: ['/tech/typescript', '/tech/rust'],
626
626
  * });
627
627
  * // list.paths → [{ path, views, visitors }, …], every requested path present
@@ -631,10 +631,10 @@ export declare class BiabDevDataModelClient {
631
631
  * Requires the `analytics.web` entitlement — an org without it gets
632
632
  * `{ available: false }`, so branch on `.available`.
633
633
  */
634
- export declare class BiabDevAnalyticsClient {
634
+ export declare class BdAnalyticsClient {
635
635
  private readonly client;
636
636
  private readonly siteId;
637
- constructor(client: BiabDevClient, siteId: string);
637
+ constructor(client: BdApiClient, siteId: string);
638
638
  /**
639
639
  * Pageview + visitor counts. Pass `paths` for a per-path breakdown (plus a
640
640
  * combined `total`), or omit them for a site-wide `total`. `days` windows the
@@ -652,7 +652,7 @@ export declare class BiabDevAnalyticsClient {
652
652
  * to a 30-day window.
653
653
  *
654
654
  * ```ts
655
- * const ai = await biab.site(siteId).analytics.aiVisibility({ days: 30 });
655
+ * const ai = await bd.site(siteId).analytics.aiVisibility({ days: 30 });
656
656
  * if (ai.available) {
657
657
  * for (const c of ai.crawlers)
658
658
  * console.log(`${c.name}: ${c.fetches} fetches over ${c.distinctPages} pages`);
@@ -672,10 +672,10 @@ export declare class BiabDevAnalyticsClient {
672
672
  * verifies the badge by fetching your live domain, not by trusting this call. So
673
673
  * don't build logic on the heartbeat; do honor `policy().required`.
674
674
  */
675
- export declare class BiabDevAttributionClient {
675
+ export declare class BdAttributionClient {
676
676
  private readonly client;
677
677
  private readonly siteId;
678
- constructor(client: BiabDevClient, siteId: string);
678
+ constructor(client: BdApiClient, siteId: string);
679
679
  /**
680
680
  * This site's badge policy: `{ siteId, required }`. `required` is `true` on
681
681
  * plans that can't remove the badge (launch), `false` otherwise. Build the
@@ -689,48 +689,48 @@ export declare class BiabDevAttributionClient {
689
689
  */
690
690
  heartbeat(input: AttributionHeartbeatInput): Promise<AttributionHeartbeatResponse>;
691
691
  }
692
- export declare class BiabDevAssetsClient {
692
+ export declare class BdAssetsClient {
693
693
  private readonly client;
694
694
  private readonly siteId;
695
- constructor(client: BiabDevClient, siteId: string);
695
+ constructor(client: BdApiClient, siteId: string);
696
696
  create(input: SiteAssetInput): Promise<UploadSiteAssetResponse>;
697
697
  }
698
- export declare class BiabDevActionsClient {
698
+ export declare class BdActionsClient {
699
699
  private readonly client;
700
700
  private readonly siteId;
701
- constructor(client: BiabDevClient, siteId: string);
701
+ constructor(client: BdApiClient, siteId: string);
702
702
  run(actionName: string, input?: ExecuteActionInput): Promise<ExecuteActionResponse>;
703
703
  }
704
- export declare class BiabDevEmailTemplatesClient {
704
+ export declare class BdEmailTemplatesClient {
705
705
  private readonly client;
706
- constructor(client: BiabDevClient);
706
+ constructor(client: BdApiClient);
707
707
  list(input?: ListEmailTemplatesInput): Promise<ListEmailTemplatesResponse>;
708
708
  get(templateId: number): Promise<GetEmailTemplateResponse>;
709
709
  create(input: CreateEmailTemplateInput): Promise<CreateEmailTemplateResponse>;
710
710
  createVersion(templateId: number, input: CreateEmailTemplateVersionInput): Promise<CreateEmailTemplateVersionResponse>;
711
711
  }
712
- export declare class BiabDevFollowersClient {
712
+ export declare class BdFollowersClient {
713
713
  private readonly client;
714
714
  private readonly siteId;
715
- constructor(client: BiabDevClient, siteId: string);
715
+ constructor(client: BdApiClient, siteId: string);
716
716
  private actionPath;
717
717
  join(input: FollowerJoinInput): Promise<FollowerJoinResponse>;
718
718
  me(input: FollowerMeInput): Promise<FollowerMeResponse>;
719
719
  edit(input: FollowerEditInput): Promise<FollowerEditResponse>;
720
720
  leave(input: FollowerLeaveInput): Promise<FollowerLeaveResponse>;
721
721
  }
722
- export declare class BiabDevDashboardClient {
722
+ export declare class BdDashboardClient {
723
723
  private readonly client;
724
- constructor(client: BiabDevClient);
724
+ constructor(client: BdApiClient);
725
725
  createSession(): Promise<DashboardSessionResponse>;
726
726
  }
727
- export declare class BiabDevStorefrontClient {
727
+ export declare class BdStorefrontClient {
728
728
  private readonly client;
729
- constructor(client: BiabDevClient);
729
+ constructor(client: BdApiClient);
730
730
  /**
731
731
  * Legacy embed-session mint (kept for iframe-widget consumers).
732
732
  * The programmatic methods below let consumer sites render their
733
- * own native product catalog using BIAB as the data layer.
733
+ * own native product catalog using BD as the data layer.
734
734
  */
735
735
  createSession(input?: StorefrontSessionInput): Promise<StorefrontSessionResponse>;
736
736
  /**
@@ -753,7 +753,7 @@ export declare class BiabDevStorefrontClient {
753
753
  * ```ts
754
754
  * let remaining = 1;
755
755
  * while (remaining > 0) {
756
- * const res = await biab.storefront.syncToStripe();
756
+ * const res = await bd.storefront.syncToStripe();
757
757
  * remaining = res.remaining;
758
758
  * }
759
759
  * ```
@@ -797,7 +797,7 @@ export declare class BiabDevStorefrontClient {
797
797
  listCategories(): Promise<StorefrontCategoriesResponse>;
798
798
  /**
799
799
  * Full product detail with variants + per-image rows. Returns 404
800
- * via `BiabApiError` if the product isn't live or doesn't belong
800
+ * via `BdApiError` if the product isn't live or doesn't belong
801
801
  * to the org bound to the API key.
802
802
  */
803
803
  /**
@@ -812,7 +812,7 @@ export declare class BiabDevStorefrontClient {
812
812
  * The platform withholds the raw URL from every product payload on purpose:
813
813
  * CAD files are the largest thing it serves and are the org's intellectual
814
814
  * property, so a catalog of naked URLs is a design library published to
815
- * anyone willing to write a loop. This endpoint requires a `biab_cad` cookie
815
+ * anyone willing to write a loop. This endpoint requires a `bd_cad` cookie
816
816
  * on the incoming request, rate-limits per IP, and re-checks the
817
817
  * `ecommerce.product_3d` entitlement before answering.
818
818
  *
@@ -841,23 +841,23 @@ export declare class BiabDevStorefrontClient {
841
841
  /** Companion / exclusive cross-sell addons for the "complete your X" rail. */
842
842
  getProductAddons(productId: string): Promise<StorefrontAddonsResponse>;
843
843
  }
844
- export declare class BiabDevCartClient {
844
+ export declare class BdCartClient {
845
845
  private readonly client;
846
846
  private readonly visitorToken;
847
847
  private readonly sessionToken;
848
- constructor(client: BiabDevClient, visitorToken?: string | null, sessionToken?: string | null);
848
+ constructor(client: BdApiClient, visitorToken?: string | null, sessionToken?: string | null);
849
849
  /**
850
850
  * Use an anonymous visitor token (UUID stored in the consumer's
851
851
  * own httpOnly cookie). Same shopper across page loads, no
852
852
  * sign-in required.
853
853
  */
854
- forVisitor(visitorToken: string): BiabDevCartClient;
854
+ forVisitor(visitorToken: string): BdCartClient;
855
855
  /**
856
856
  * Use a tenantAuth session token instead of a visitor token.
857
857
  * Carts are now keyed to the signed-in customer; persists
858
858
  * across devices.
859
859
  */
860
- withSession(sessionToken: string): BiabDevCartClient;
860
+ withSession(sessionToken: string): BdCartClient;
861
861
  private headers;
862
862
  /**
863
863
  * Legacy embed-session mint (kept for iframe-widget consumers).
@@ -895,22 +895,22 @@ export declare class BiabDevCartClient {
895
895
  /** Empty all items + drop the stamped coupon. Keeps the cart row itself. */
896
896
  clear(): Promise<CartSnapshot>;
897
897
  }
898
- export declare class BiabDevCheckoutClient {
898
+ export declare class BdCheckoutClient {
899
899
  private readonly client;
900
900
  private readonly visitorToken;
901
901
  private readonly sessionToken;
902
- constructor(client: BiabDevClient, visitorToken?: string | null, sessionToken?: string | null);
902
+ constructor(client: BdApiClient, visitorToken?: string | null, sessionToken?: string | null);
903
903
  /**
904
904
  * Authenticate the start-from-cart call as an anonymous shopper
905
905
  * (visitor-token cart). Same UUID you used with `client.cart.forVisitor(...)`.
906
906
  */
907
- forVisitor(visitorToken: string): BiabDevCheckoutClient;
907
+ forVisitor(visitorToken: string): BdCheckoutClient;
908
908
  /**
909
909
  * Authenticate as a signed-in customer (tenantAuth session token).
910
910
  * The Stripe Checkout Session will be created against this
911
911
  * customer's saved cart.
912
912
  */
913
- withSession(sessionToken: string): BiabDevCheckoutClient;
913
+ withSession(sessionToken: string): BdCheckoutClient;
914
914
  private headers;
915
915
  /**
916
916
  * Legacy iframe-embed mint — gives back a tokenized URL to render
@@ -919,7 +919,7 @@ export declare class BiabDevCheckoutClient {
919
919
  */
920
920
  createSession(input: CheckoutSessionInput): Promise<CheckoutSessionResponse>;
921
921
  /**
922
- * Convert the caller's saved BIAB cart (resolved via visitor token
922
+ * Convert the caller's saved BD cart (resolved via visitor token
923
923
  * or session token) into a Stripe Checkout Session. Returns the
924
924
  * Stripe-hosted URL; redirect the browser there to collect payment.
925
925
  *
@@ -937,7 +937,7 @@ export declare class BiabDevCheckoutClient {
937
937
  getStatus(sessionId: string): Promise<CheckoutStatusResponse>;
938
938
  }
939
939
  /**
940
- * White-glove Google Places proxy. BIAB owns the API key — consumer
940
+ * White-glove Google Places proxy. BD owns the API key — consumer
941
941
  * code never sees it. Use at the checkout delivery-address input
942
942
  * to give shoppers text-search predictions + verify deliverability
943
943
  * before submitting the order.
@@ -962,7 +962,7 @@ export declare class BiabDevCheckoutClient {
962
962
  * // When user picks a prediction:
963
963
  * const detail = await client.address.getDetails(prediction.place_id);
964
964
  * if (detail.enabled && detail.address) {
965
- * const form = BiabDevAddressClient.googleToFormValues(detail.address);
965
+ * const form = BdAddressClient.googleToFormValues(detail.address);
966
966
  * reactHookForm.reset(form);
967
967
  * }
968
968
  *
@@ -971,9 +971,9 @@ export declare class BiabDevCheckoutClient {
971
971
  * if (!v.isVerified) showDidYouMean(v.googleAddress);
972
972
  * ```
973
973
  */
974
- export declare class BiabDevAddressClient {
974
+ export declare class BdAddressClient {
975
975
  private readonly client;
976
- constructor(client: BiabDevClient);
976
+ constructor(client: BdApiClient);
977
977
  search(input: AddressSearchInput): Promise<AddressSearchResponse>;
978
978
  getDetails(placeId: string): Promise<AddressDetailsResponse>;
979
979
  verify(input: AddressFormValues): Promise<AddressVerifyResponse>;
@@ -999,16 +999,16 @@ export declare class BiabDevAddressClient {
999
999
  * dashboard's "Sync to Stripe" action — otherwise `startCheckout`
1000
1000
  * returns 409 `subscription_not_synced`.
1001
1001
  */
1002
- export declare class BiabDevSubscriptionsClient {
1002
+ export declare class BdSubscriptionsClient {
1003
1003
  private readonly client;
1004
- constructor(client: BiabDevClient);
1004
+ constructor(client: BdApiClient);
1005
1005
  list(): Promise<SubscriptionOfferingsListResponse>;
1006
1006
  get(id: string): Promise<SubscriptionOffering>;
1007
1007
  startCheckout(id: string, input?: SubscriptionCheckoutInput): Promise<SubscriptionCheckoutResponse>;
1008
1008
  }
1009
- export declare class BiabDevCouponsClient {
1009
+ export declare class BdCouponsClient {
1010
1010
  private readonly client;
1011
- constructor(client: BiabDevClient);
1011
+ constructor(client: BdApiClient);
1012
1012
  /**
1013
1013
  * Validate a coupon code against the org's Stripe-connected
1014
1014
  * account. Returns the discount shape (percent / amount /
@@ -1040,7 +1040,7 @@ export declare class BiabDevCouponsClient {
1040
1040
  * Requires a SECRET key holding `storefront:write`.
1041
1041
  *
1042
1042
  * ```ts
1043
- * const { coupon, stripeSynced } = await biab.coupons.create({
1043
+ * const { coupon, stripeSynced } = await bd.coupons.create({
1044
1044
  * code: 'WELCOME10',
1045
1045
  * discountType: 'percent',
1046
1046
  * value: 10,
@@ -1058,10 +1058,10 @@ export declare class BiabDevCouponsClient {
1058
1058
  }
1059
1059
  /**
1060
1060
  * Shipping: rate lookups + on-demand tracking. White-glove model —
1061
- * BIAB owns the carrier integration; consumer code never sees the
1061
+ * BD owns the carrier integration; consumer code never sees the
1062
1062
  * underlying provider name. Gated on `ecommerce.shipping` so calls
1063
1063
  * from orgs on the Launch plan return the standard plan-gate body
1064
- * via {@link BiabApiError} (status 403).
1064
+ * via {@link BdApiError} (status 403).
1065
1065
  *
1066
1066
  * @example
1067
1067
  * ```ts
@@ -1078,13 +1078,13 @@ export declare class BiabDevCouponsClient {
1078
1078
  * }
1079
1079
  * ```
1080
1080
  */
1081
- export declare class BiabDevShippingClient {
1081
+ export declare class BdShippingClient {
1082
1082
  private readonly client;
1083
1083
  private readonly visitorToken;
1084
1084
  private readonly sessionToken;
1085
- constructor(client: BiabDevClient, visitorToken?: string | null, sessionToken?: string | null);
1086
- forVisitor(visitorToken: string): BiabDevShippingClient;
1087
- withSession(sessionToken: string): BiabDevShippingClient;
1085
+ constructor(client: BdApiClient, visitorToken?: string | null, sessionToken?: string | null);
1086
+ forVisitor(visitorToken: string): BdShippingClient;
1087
+ withSession(sessionToken: string): BdShippingClient;
1088
1088
  private headers;
1089
1089
  /**
1090
1090
  * Fetch shipping rate options for the caller's cart + a delivery
@@ -1131,15 +1131,15 @@ export declare class BiabDevShippingClient {
1131
1131
  * - `order.return_label_created`
1132
1132
  *
1133
1133
  * The webhook payload is JSON + signed with the customer's saved
1134
- * `webhookSigningSecret` via `X-BIAB-Signature: <hex hmac-sha256>`.
1134
+ * `webhookSigningSecret` via `X-BD-Signature: <hex hmac-sha256>`.
1135
1135
  * Consumer's receiver verifies via:
1136
1136
  * crypto.createHmac('sha256', secret).update(rawBody).digest('hex')
1137
1137
  */
1138
- export declare class BiabDevNotificationsClient {
1138
+ export declare class BdNotificationsClient {
1139
1139
  private readonly client;
1140
1140
  private readonly sessionToken;
1141
- constructor(client: BiabDevClient, sessionToken?: string | null);
1142
- withSession(sessionToken: string): BiabDevNotificationsClient;
1141
+ constructor(client: BdApiClient, sessionToken?: string | null);
1142
+ withSession(sessionToken: string): BdNotificationsClient;
1143
1143
  private headers;
1144
1144
  getPreferences(): Promise<CustomerNotificationPreferencesResponse>;
1145
1145
  updatePreferences(input: CustomerNotificationPreferencesUpdateInput): Promise<CustomerNotificationPreferencesUpdateResponse>;
@@ -1159,10 +1159,10 @@ export declare class BiabDevNotificationsClient {
1159
1159
  */
1160
1160
  confirmVerification(input: ConfirmVerificationInput): Promise<ConfirmVerificationResponse>;
1161
1161
  }
1162
- export declare class BiabDevBlogClient {
1162
+ export declare class BdBlogClient {
1163
1163
  private readonly client;
1164
1164
  private readonly sessionToken;
1165
- constructor(client: BiabDevClient, sessionToken?: string | null);
1165
+ constructor(client: BdApiClient, sessionToken?: string | null);
1166
1166
  /**
1167
1167
  * Chainable: return a blog client whose `postComment` + future
1168
1168
  * write methods authenticate via the tenantAuth session token.
@@ -1174,7 +1174,7 @@ export declare class BiabDevBlogClient {
1174
1174
  * await client.blog().withSession(token).postComment(slug, { content });
1175
1175
  * ```
1176
1176
  */
1177
- withSession(sessionToken: string): BiabDevBlogClient;
1177
+ withSession(sessionToken: string): BdBlogClient;
1178
1178
  private headers;
1179
1179
  /**
1180
1180
  * Legacy embed-session mint (kept for backwards compat with
@@ -1242,9 +1242,9 @@ export declare class BiabDevBlogClient {
1242
1242
  * }
1243
1243
  * ```
1244
1244
  */
1245
- export declare class BiabDevReviewsClient {
1245
+ export declare class BdReviewsClient {
1246
1246
  private readonly client;
1247
- constructor(client: BiabDevClient);
1247
+ constructor(client: BdApiClient);
1248
1248
  /**
1249
1249
  * One page of the org's public reviews, newest-first. `limit` defaults to
1250
1250
  * the server default (10, max 50). Pass the previous response's
@@ -1274,9 +1274,9 @@ export declare class BiabDevReviewsClient {
1274
1274
  * }
1275
1275
  * ```
1276
1276
  */
1277
- export declare class BiabDevHiringClient {
1277
+ export declare class BdHiringClient {
1278
1278
  private readonly client;
1279
- constructor(client: BiabDevClient);
1279
+ constructor(client: BdApiClient);
1280
1280
  /**
1281
1281
  * One page of open postings, newest-first. `limit` defaults to the server
1282
1282
  * default (25, max 100). Pass the previous response's `nextOffset` to page
@@ -1317,9 +1317,9 @@ export declare class BiabDevHiringClient {
1317
1317
  * const privacy = await client.legal.get("privacy");
1318
1318
  * ```
1319
1319
  */
1320
- export declare class BiabDevLegalClient {
1320
+ export declare class BdLegalClient {
1321
1321
  private readonly client;
1322
- constructor(client: BiabDevClient);
1322
+ constructor(client: BdApiClient);
1323
1323
  /**
1324
1324
  * Every published document, plus the header/footer presentation.
1325
1325
  *
@@ -1344,13 +1344,13 @@ export declare class BiabDevLegalClient {
1344
1344
  * that could read or write another org's consent — consent is given to a
1345
1345
  * controller, and one controller's record is not another's to act on.
1346
1346
  *
1347
- * The visitor is identified by an `x-biab-visitor` header carrying an opaque id
1347
+ * The visitor is identified by an `x-bd-visitor` header carrying an opaque id
1348
1348
  * from the caller's own first-party cookie. `@businessdash/sdk/consent` manages
1349
1349
  * that for you; these methods are the transport underneath it.
1350
1350
  */
1351
- export declare class BiabDevConsentClient {
1351
+ export declare class BdConsentClient {
1352
1352
  private readonly client;
1353
- constructor(client: BiabDevClient);
1353
+ constructor(client: BdApiClient);
1354
1354
  /** The notice to show, and what this visitor currently allows. */
1355
1355
  get(visitorKey?: string | null): Promise<{
1356
1356
  categories: string[];
@@ -1375,9 +1375,9 @@ export declare class BiabDevConsentClient {
1375
1375
  ok: boolean;
1376
1376
  }>;
1377
1377
  }
1378
- export declare class BiabDevChatbotClient {
1378
+ export declare class BdChatbotClient {
1379
1379
  private readonly client;
1380
- constructor(client: BiabDevClient);
1380
+ constructor(client: BdApiClient);
1381
1381
  /** Returns the iframe URL for `<Chatbot/>`. */
1382
1382
  createSession(): Promise<ChatbotSessionResponse>;
1383
1383
  /** Reads the org's persisted chatbot config (system prompt, KB, model). */
@@ -1497,12 +1497,12 @@ export declare class BiabDevChatbotClient {
1497
1497
  */
1498
1498
  requestHuman(input: ChatbotRequestHumanInput): Promise<ChatbotRequestHumanResponse>;
1499
1499
  }
1500
- export declare class BiabDevCustomerPortalClient {
1500
+ export declare class BdCustomerPortalClient {
1501
1501
  private readonly client;
1502
1502
  private readonly organizationId;
1503
1503
  /**
1504
1504
  * Optional tenantAuth session token. When set, requests include
1505
- * an `X-BIAB-Session-Token` header and the BIAB customer-portal
1505
+ * an `X-BD-Session-Token` header and the BD customer-portal
1506
1506
  * routes resolve the calling user via the session payload
1507
1507
  * instead of the API key's user binding.
1508
1508
  *
@@ -1515,10 +1515,10 @@ export declare class BiabDevCustomerPortalClient {
1515
1515
  * customer-scoped call.
1516
1516
  */
1517
1517
  private readonly sessionToken;
1518
- constructor(client: BiabDevClient, organizationId: string | null,
1518
+ constructor(client: BdApiClient, organizationId: string | null,
1519
1519
  /**
1520
1520
  * Optional tenantAuth session token. When set, requests include
1521
- * an `X-BIAB-Session-Token` header and the BIAB customer-portal
1521
+ * an `X-BD-Session-Token` header and the BD customer-portal
1522
1522
  * routes resolve the calling user via the session payload
1523
1523
  * instead of the API key's user binding.
1524
1524
  *
@@ -1545,7 +1545,7 @@ export declare class BiabDevCustomerPortalClient {
1545
1545
  * .getWork();
1546
1546
  * ```
1547
1547
  */
1548
- withSession(sessionToken: string): BiabDevCustomerPortalClient;
1548
+ withSession(sessionToken: string): BdCustomerPortalClient;
1549
1549
  private headers;
1550
1550
  context(): Promise<CustomerPortalContextResponse>;
1551
1551
  getProfile(): Promise<CustomerPortalProfile>;
@@ -1611,6 +1611,17 @@ export declare class BiabDevCustomerPortalClient {
1611
1611
  getWork(): Promise<CustomerWorkBundle>;
1612
1612
  /** Read a single job the signed-in customer owns. */
1613
1613
  getJob(jobId: string): Promise<CustomerJobDetail>;
1614
+ /**
1615
+ * Designed proposals the customer has been sent.
1616
+ *
1617
+ * Separate from `listQuotes` because a proposal is the document built
1618
+ * around a quote, not the quote: `kind` decides whether a consumer offers
1619
+ * a download or frames a page, and a UI that guessed would get one of the
1620
+ * two wrong every time.
1621
+ */
1622
+ listProposals(): Promise<CustomerProposalListResponse>;
1623
+ /** One proposal the customer owns. */
1624
+ getProposal(proposalId: string): Promise<CustomerProposal>;
1614
1625
  /** Read a single quote the signed-in customer owns. */
1615
1626
  getQuote(quoteId: string): Promise<CustomerQuoteDetail>;
1616
1627
  /** Naming alias for {@link getQuote} — read a single quote the customer owns. */
@@ -1670,7 +1681,7 @@ export declare class BiabDevCustomerPortalClient {
1670
1681
  /**
1671
1682
  * Begin signing a contract the customer owns. Returns a ready, absolute
1672
1683
  * signing URL on the org's branded hostname — redirect the customer there
1673
- * to BIAB's hosted e-sign page, which captures the signature and generates
1684
+ * to BD's hosted e-sign page, which captures the signature and generates
1674
1685
  * the executed PDF. No signature payload is collected client-side, so the
1675
1686
  * legal record stays consistent across consumers.
1676
1687
  *
@@ -2000,7 +2011,7 @@ export declare class BiabDevCustomerPortalClient {
2000
2011
  /**
2001
2012
  * List the digital downloads the customer is entitled to for a paid order
2002
2013
  * (P10d). Each item is a ready-to-use URL — a short-lived presigned link for
2003
- * BIAB-hosted files (`expiresInSeconds` set) or the org's external link.
2014
+ * BD-hosted files (`expiresInSeconds` set) or the org's external link.
2004
2015
  * Returns an empty list until the order's payment settles.
2005
2016
  *
2006
2017
  * @example
@@ -2087,21 +2098,21 @@ export declare class BiabDevCustomerPortalClient {
2087
2098
  getJobActivity(jobId: string): Promise<CustomerJobActivityResponse>;
2088
2099
  }
2089
2100
  /**
2090
- * Creates a {@link BiabDevClient} for the given host `baseUrl` and package API key.
2101
+ * Creates a {@link BdApiClient} for the given host `baseUrl` and package API key.
2091
2102
  *
2092
2103
  * @remarks
2093
2104
  * **Alpha:** This package is still in alpha release. APIs may change; it is **not** intended
2094
2105
  * for production use yet. Prefer non-production environments until a stable major is published.
2095
2106
  */
2096
- export declare function createBiabDevClient(options: BiabDevClientOptions): BiabDevClient;
2107
+ export declare function createBdApiClient(options: BdApiClientOptions): BdApiClient;
2097
2108
  /**
2098
2109
  * Per-tenant auth: hosted sign-in/sign-up scoped to the org bound to
2099
2110
  * the API key. Used by the SDK's `createAuthHandler` (server) and
2100
2111
  * `<SignIn />` / `<SignUp />` / `<SignOut />` components (client).
2101
2112
  */
2102
- export declare class BiabDevAuthClient {
2113
+ export declare class BdAuthClient {
2103
2114
  private readonly client;
2104
- constructor(client: BiabDevClient);
2115
+ constructor(client: BdApiClient);
2105
2116
  start(input: TenantAuthStartInput): Promise<TenantAuthStartResponse>;
2106
2117
  /**
2107
2118
  * Ergonomic shortcut for `start({ intent: "sign-in", ... })`. Returns
@@ -2174,9 +2185,9 @@ export declare class BiabDevAuthClient {
2174
2185
  *
2175
2186
  * For an org running its own admin tooling rather than the dashboard.
2176
2187
  */
2177
- export declare class BiabDevCustomerInvitesClient {
2188
+ export declare class BdCustomerInvitesClient {
2178
2189
  private readonly client;
2179
- constructor(client: BiabDevClient);
2190
+ constructor(client: BdApiClient);
2180
2191
  /**
2181
2192
  * Hand an invite link out again.
2182
2193
  *
@@ -2201,10 +2212,10 @@ export declare class BiabDevCustomerInvitesClient {
2201
2212
  expiresInDays?: number | null;
2202
2213
  }): Promise<CustomerInviteResendResponse>;
2203
2214
  }
2204
- export declare class BiabDevSchedulingClient {
2215
+ export declare class BdSchedulingClient {
2205
2216
  private readonly client;
2206
2217
  private readonly siteId;
2207
- constructor(client: BiabDevClient, siteId: string);
2218
+ constructor(client: BdApiClient, siteId: string);
2208
2219
  private path;
2209
2220
  /** What the org offers to book. */
2210
2221
  listEventTypes(): Promise<SchedulingEventTypeList>;