@learnorama/mozaik-sdk 0.12.3-staging.46.1 → 0.13.0-staging.48.1

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 (266) hide show
  1. package/README.md +25 -0
  2. package/dist/api/account.d.ts +1 -1
  3. package/dist/api/account.js.map +1 -1
  4. package/dist/api/admin-catalogue.d.ts +1 -1
  5. package/dist/api/admin-catalogue.js.map +1 -1
  6. package/dist/api/admin-consumption.d.ts +1 -1
  7. package/dist/api/admin-consumption.js.map +1 -1
  8. package/dist/api/admin-contracts.d.ts +1 -1
  9. package/dist/api/admin-contracts.js.map +1 -1
  10. package/dist/api/admin-desk.d.ts +1 -1
  11. package/dist/api/admin-desk.js.map +1 -1
  12. package/dist/api/admin-licenses.d.ts +1 -1
  13. package/dist/api/admin-licenses.js.map +1 -1
  14. package/dist/api/admin-partner-selections.d.ts +1 -1
  15. package/dist/api/admin-partner-selections.js.map +1 -1
  16. package/dist/api/admin-patrons.d.ts +1 -1
  17. package/dist/api/admin-patrons.js.map +1 -1
  18. package/dist/api/admin-reviews.d.ts +1 -1
  19. package/dist/api/admin-reviews.js.map +1 -1
  20. package/dist/api/admin-roles.d.ts +1 -1
  21. package/dist/api/admin-roles.js.map +1 -1
  22. package/dist/api/admin-support.d.ts +1 -1
  23. package/dist/api/admin-support.js.map +1 -1
  24. package/dist/api/admin-tenants.d.ts +1 -1
  25. package/dist/api/admin-tenants.js.map +1 -1
  26. package/dist/api/admin-tutoring.d.ts +1 -1
  27. package/dist/api/admin-tutoring.js.map +1 -1
  28. package/dist/api/auth.d.ts +1 -1
  29. package/dist/api/auth.js.map +1 -1
  30. package/dist/api/biblio-billing-webhooks.d.ts +18 -0
  31. package/dist/api/biblio-billing-webhooks.js +62 -0
  32. package/dist/api/biblio-billing-webhooks.js.map +1 -0
  33. package/dist/api/biblio-billing.d.ts +192 -0
  34. package/dist/api/biblio-billing.js +645 -0
  35. package/dist/api/biblio-billing.js.map +1 -0
  36. package/dist/api/biblio-catalogue.d.ts +1 -1
  37. package/dist/api/biblio-catalogue.js.map +1 -1
  38. package/dist/api/biblio-home.d.ts +1 -1
  39. package/dist/api/biblio-home.js.map +1 -1
  40. package/dist/api/biblio-learning-author-profiles.d.ts +108 -0
  41. package/dist/api/biblio-learning-author-profiles.js +331 -0
  42. package/dist/api/biblio-learning-author-profiles.js.map +1 -0
  43. package/dist/api/biblio-learning-authoring.d.ts +168 -0
  44. package/dist/api/biblio-learning-authoring.js +586 -0
  45. package/dist/api/biblio-learning-authoring.js.map +1 -0
  46. package/dist/api/biblio-learning-editorial.d.ts +54 -0
  47. package/dist/api/biblio-learning-editorial.js +149 -0
  48. package/dist/api/biblio-learning-editorial.js.map +1 -0
  49. package/dist/api/biblio-learning-feedback.d.ts +60 -0
  50. package/dist/api/biblio-learning-feedback.js +180 -0
  51. package/dist/api/biblio-learning-feedback.js.map +1 -0
  52. package/dist/api/biblio-learning-finance.d.ts +186 -0
  53. package/dist/api/biblio-learning-finance.js +622 -0
  54. package/dist/api/biblio-learning-finance.js.map +1 -0
  55. package/dist/api/biblio-learning-integrations.d.ts +60 -0
  56. package/dist/api/biblio-learning-integrations.js +215 -0
  57. package/dist/api/biblio-learning-integrations.js.map +1 -0
  58. package/dist/api/biblio-learning-membership.d.ts +24 -0
  59. package/dist/api/biblio-learning-membership.js +69 -0
  60. package/dist/api/biblio-learning-membership.js.map +1 -0
  61. package/dist/api/biblio-learning.d.ts +222 -0
  62. package/dist/api/biblio-learning.js +697 -0
  63. package/dist/api/biblio-learning.js.map +1 -0
  64. package/dist/api/biblio-library.d.ts +1 -1
  65. package/dist/api/biblio-library.js.map +1 -1
  66. package/dist/api/biblio-nextory.d.ts +1 -1
  67. package/dist/api/biblio-nextory.js.map +1 -1
  68. package/dist/api/biblio-press.d.ts +1 -1
  69. package/dist/api/biblio-press.js.map +1 -1
  70. package/dist/api/biblio-search.d.ts +1 -1
  71. package/dist/api/biblio-search.js.map +1 -1
  72. package/dist/api/biblio-telemetry.d.ts +1 -1
  73. package/dist/api/biblio-telemetry.js.map +1 -1
  74. package/dist/api/consumption.d.ts +1 -1
  75. package/dist/api/consumption.js.map +1 -1
  76. package/dist/api/cvs-app.d.ts +1 -1
  77. package/dist/api/cvs-app.js.map +1 -1
  78. package/dist/api/cvs-documents.d.ts +1 -1
  79. package/dist/api/cvs-documents.js.map +1 -1
  80. package/dist/api/cvs-favorites.d.ts +1 -1
  81. package/dist/api/cvs-favorites.js.map +1 -1
  82. package/dist/api/cvs-ils.d.ts +1 -1
  83. package/dist/api/cvs-ils.js.map +1 -1
  84. package/dist/api/cvs-loans.d.ts +1 -1
  85. package/dist/api/cvs-loans.js.map +1 -1
  86. package/dist/api/cvs-payments.d.ts +1 -1
  87. package/dist/api/cvs-payments.js.map +1 -1
  88. package/dist/api/cvs-streaming.d.ts +1 -1
  89. package/dist/api/cvs-streaming.js.map +1 -1
  90. package/dist/api/index.d.ts +11 -1
  91. package/dist/api/index.js +11 -1
  92. package/dist/api/partner-catalogue.d.ts +1 -1
  93. package/dist/api/partner-catalogue.js.map +1 -1
  94. package/dist/api/partner-reader.d.ts +1 -1
  95. package/dist/api/partner-reader.js.map +1 -1
  96. package/dist/api/profiles.d.ts +1 -1
  97. package/dist/api/profiles.js.map +1 -1
  98. package/dist/api/search.d.ts +1 -1
  99. package/dist/api/search.js.map +1 -1
  100. package/dist/api/tutoring-catalogue.d.ts +1 -1
  101. package/dist/api/tutoring-catalogue.js.map +1 -1
  102. package/dist/api/tutoring-chat.d.ts +1 -1
  103. package/dist/api/tutoring-chat.js.map +1 -1
  104. package/dist/api/tutoring-dispatch.d.ts +1 -1
  105. package/dist/api/tutoring-dispatch.js.map +1 -1
  106. package/dist/api/tutoring-practitioner.d.ts +1 -1
  107. package/dist/api/tutoring-practitioner.js.map +1 -1
  108. package/dist/api/tutoring-requests.d.ts +1 -1
  109. package/dist/api/tutoring-requests.js.map +1 -1
  110. package/dist/chunks/client2.d.ts +1 -1
  111. package/dist/chunks/connection.d.ts +1 -1
  112. package/dist/chunks/index.d.ts +10062 -3487
  113. package/dist/index.d.ts +3 -3
  114. package/dist/index.js +3 -3
  115. package/dist/index.js.map +1 -1
  116. package/dist/models.d.ts +2 -2
  117. package/dist/models.js +329 -1
  118. package/dist/models.js.map +1 -1
  119. package/dist/react/account.d.ts +1 -1
  120. package/dist/react/account.js +1 -1
  121. package/dist/react/account.js.map +1 -1
  122. package/dist/react/admin-catalogue.d.ts +1 -1
  123. package/dist/react/admin-catalogue.js +1 -1
  124. package/dist/react/admin-catalogue.js.map +1 -1
  125. package/dist/react/admin-consumption.d.ts +1 -1
  126. package/dist/react/admin-consumption.js +1 -1
  127. package/dist/react/admin-consumption.js.map +1 -1
  128. package/dist/react/admin-contracts.d.ts +1 -1
  129. package/dist/react/admin-contracts.js +1 -1
  130. package/dist/react/admin-contracts.js.map +1 -1
  131. package/dist/react/admin-desk.d.ts +1 -1
  132. package/dist/react/admin-desk.js +1 -1
  133. package/dist/react/admin-desk.js.map +1 -1
  134. package/dist/react/admin-licenses.d.ts +1 -1
  135. package/dist/react/admin-licenses.js +1 -1
  136. package/dist/react/admin-licenses.js.map +1 -1
  137. package/dist/react/admin-partner-selections.d.ts +1 -1
  138. package/dist/react/admin-partner-selections.js +1 -1
  139. package/dist/react/admin-partner-selections.js.map +1 -1
  140. package/dist/react/admin-patrons.d.ts +1 -1
  141. package/dist/react/admin-patrons.js +1 -1
  142. package/dist/react/admin-patrons.js.map +1 -1
  143. package/dist/react/admin-reviews.d.ts +1 -1
  144. package/dist/react/admin-reviews.js +1 -1
  145. package/dist/react/admin-reviews.js.map +1 -1
  146. package/dist/react/admin-roles.d.ts +1 -1
  147. package/dist/react/admin-roles.js +1 -1
  148. package/dist/react/admin-roles.js.map +1 -1
  149. package/dist/react/admin-support.d.ts +1 -1
  150. package/dist/react/admin-support.js +1 -1
  151. package/dist/react/admin-support.js.map +1 -1
  152. package/dist/react/admin-tenants.d.ts +1 -1
  153. package/dist/react/admin-tenants.js +1 -1
  154. package/dist/react/admin-tenants.js.map +1 -1
  155. package/dist/react/admin-tutoring.d.ts +1 -1
  156. package/dist/react/admin-tutoring.js +1 -1
  157. package/dist/react/admin-tutoring.js.map +1 -1
  158. package/dist/react/auth.d.ts +1 -1
  159. package/dist/react/auth.js +1 -1
  160. package/dist/react/auth.js.map +1 -1
  161. package/dist/react/biblio-billing-webhooks.d.ts +56 -0
  162. package/dist/react/biblio-billing-webhooks.js +126 -0
  163. package/dist/react/biblio-billing-webhooks.js.map +1 -0
  164. package/dist/react/biblio-billing.d.ts +876 -0
  165. package/dist/react/biblio-billing.js +1491 -0
  166. package/dist/react/biblio-billing.js.map +1 -0
  167. package/dist/react/biblio-catalogue.d.ts +1 -1
  168. package/dist/react/biblio-catalogue.js +1 -1
  169. package/dist/react/biblio-catalogue.js.map +1 -1
  170. package/dist/react/biblio-home.d.ts +1 -1
  171. package/dist/react/biblio-home.js +1 -1
  172. package/dist/react/biblio-home.js.map +1 -1
  173. package/dist/react/biblio-learning-author-profiles.d.ts +513 -0
  174. package/dist/react/biblio-learning-author-profiles.js +795 -0
  175. package/dist/react/biblio-learning-author-profiles.js.map +1 -0
  176. package/dist/react/biblio-learning-authoring.d.ts +745 -0
  177. package/dist/react/biblio-learning-authoring.js +1335 -0
  178. package/dist/react/biblio-learning-authoring.js.map +1 -0
  179. package/dist/react/biblio-learning-editorial.d.ts +264 -0
  180. package/dist/react/biblio-learning-editorial.js +371 -0
  181. package/dist/react/biblio-learning-editorial.js.map +1 -0
  182. package/dist/react/biblio-learning-feedback.d.ts +280 -0
  183. package/dist/react/biblio-learning-feedback.js +433 -0
  184. package/dist/react/biblio-learning-feedback.js.map +1 -0
  185. package/dist/react/biblio-learning-finance.d.ts +868 -0
  186. package/dist/react/biblio-learning-finance.js +1439 -0
  187. package/dist/react/biblio-learning-finance.js.map +1 -0
  188. package/dist/react/biblio-learning-integrations.d.ts +237 -0
  189. package/dist/react/biblio-learning-integrations.js +483 -0
  190. package/dist/react/biblio-learning-integrations.js.map +1 -0
  191. package/dist/react/biblio-learning-membership.d.ts +99 -0
  192. package/dist/react/biblio-learning-membership.js +165 -0
  193. package/dist/react/biblio-learning-membership.js.map +1 -0
  194. package/dist/react/biblio-learning.d.ts +1047 -0
  195. package/dist/react/biblio-learning.js +1667 -0
  196. package/dist/react/biblio-learning.js.map +1 -0
  197. package/dist/react/biblio-library.d.ts +1 -1
  198. package/dist/react/biblio-library.js +1 -1
  199. package/dist/react/biblio-library.js.map +1 -1
  200. package/dist/react/biblio-nextory.d.ts +1 -1
  201. package/dist/react/biblio-nextory.js +1 -1
  202. package/dist/react/biblio-nextory.js.map +1 -1
  203. package/dist/react/biblio-press.d.ts +1 -1
  204. package/dist/react/biblio-press.js +1 -1
  205. package/dist/react/biblio-press.js.map +1 -1
  206. package/dist/react/biblio-search.d.ts +1 -1
  207. package/dist/react/biblio-search.js +1 -1
  208. package/dist/react/biblio-search.js.map +1 -1
  209. package/dist/react/biblio-telemetry.d.ts +1 -1
  210. package/dist/react/biblio-telemetry.js +1 -1
  211. package/dist/react/biblio-telemetry.js.map +1 -1
  212. package/dist/react/chat.d.ts +1 -1
  213. package/dist/react/consumption.d.ts +1 -1
  214. package/dist/react/consumption.js +1 -1
  215. package/dist/react/consumption.js.map +1 -1
  216. package/dist/react/cvs-app.d.ts +1 -1
  217. package/dist/react/cvs-app.js +1 -1
  218. package/dist/react/cvs-app.js.map +1 -1
  219. package/dist/react/cvs-documents.d.ts +1 -1
  220. package/dist/react/cvs-documents.js +1 -1
  221. package/dist/react/cvs-documents.js.map +1 -1
  222. package/dist/react/cvs-favorites.d.ts +1 -1
  223. package/dist/react/cvs-favorites.js +1 -1
  224. package/dist/react/cvs-favorites.js.map +1 -1
  225. package/dist/react/cvs-ils.d.ts +1 -1
  226. package/dist/react/cvs-ils.js +1 -1
  227. package/dist/react/cvs-ils.js.map +1 -1
  228. package/dist/react/cvs-loans.d.ts +1 -1
  229. package/dist/react/cvs-loans.js +1 -1
  230. package/dist/react/cvs-loans.js.map +1 -1
  231. package/dist/react/cvs-payments.d.ts +1 -1
  232. package/dist/react/cvs-payments.js +1 -1
  233. package/dist/react/cvs-payments.js.map +1 -1
  234. package/dist/react/cvs-streaming.d.ts +1 -1
  235. package/dist/react/cvs-streaming.js +1 -1
  236. package/dist/react/cvs-streaming.js.map +1 -1
  237. package/dist/react/index.d.ts +11 -1
  238. package/dist/react/index.js +11 -1
  239. package/dist/react/partner-catalogue.d.ts +1 -1
  240. package/dist/react/partner-catalogue.js +1 -1
  241. package/dist/react/partner-catalogue.js.map +1 -1
  242. package/dist/react/partner-reader.d.ts +1 -1
  243. package/dist/react/partner-reader.js +1 -1
  244. package/dist/react/partner-reader.js.map +1 -1
  245. package/dist/react/profiles.d.ts +1 -1
  246. package/dist/react/profiles.js +1 -1
  247. package/dist/react/profiles.js.map +1 -1
  248. package/dist/react/search.d.ts +1 -1
  249. package/dist/react/search.js +1 -1
  250. package/dist/react/search.js.map +1 -1
  251. package/dist/react/tutoring-catalogue.d.ts +1 -1
  252. package/dist/react/tutoring-catalogue.js +1 -1
  253. package/dist/react/tutoring-catalogue.js.map +1 -1
  254. package/dist/react/tutoring-chat.d.ts +1 -1
  255. package/dist/react/tutoring-chat.js +1 -1
  256. package/dist/react/tutoring-chat.js.map +1 -1
  257. package/dist/react/tutoring-dispatch.d.ts +1 -1
  258. package/dist/react/tutoring-dispatch.js +1 -1
  259. package/dist/react/tutoring-dispatch.js.map +1 -1
  260. package/dist/react/tutoring-practitioner.d.ts +1 -1
  261. package/dist/react/tutoring-practitioner.js +1 -1
  262. package/dist/react/tutoring-practitioner.js.map +1 -1
  263. package/dist/react/tutoring-requests.d.ts +1 -1
  264. package/dist/react/tutoring-requests.js +1 -1
  265. package/dist/react/tutoring-requests.js.map +1 -1
  266. package/package.json +7 -7
@@ -0,0 +1,192 @@
1
+
2
+ import { Bm as BillingIdentityRead, Bt as PromotionPage, Cm as BillingProviderProductWrite, Dm as BillingProductPage, Em as BillingProductWrite, Fm as BillingListTransactionsParams, Ft as PromotionRevealWrite, Gm as BillingCheckoutSubmitWrite, Hm as BillingClientTokenWrite, Ht as PromotionWrite, Im as BillingListSubscriptionsParams, It as PromotionRedemptionRead, Jm as BillingCancelWrite, Jt as PromotionExportRead, Km as BillingCheckoutRead, Lm as BillingListPromotionsParams, Lt as PromotionRedemptionHistoryPage, Nm as BillingPaymentMethodWrite, Om as BillingProductRead, Rm as BillingListProductsParams, Sm as BillingQuoteWrite, Tm as BillingPromotionGeneratorsParams, Um as BillingClientTokenRead, Ut as PromotionGeneratorPage, Vt as PromotionGeneratorWrite, Wt as PromotionGeneratorRead, Xm as BillingCancellationFeedbackPage, Xt as PromotionCreatedRead, Ym as BillingCancellationFeedbackParams, _m as BillingSubscriptionHistoryPage, dm as BillingTransactionRead, en as PromotionCodeRead, gm as BillingSubscriptionHistoryParams, jm as BillingProductAvailabilityWrite, mm as BillingSubscriptionRead, nn as PromotionCapacityRead, pm as BillingSubscriptionPage, qt as PromotionExportWrite, tn as PromotionCodeListRead, um as BillingTransactionPage, wm as BillingPromotionRedemptionsParams, zm as BillingIdentityWrite, zt as PromotionRedeemWrite } from "../chunks/index.js";
3
+ import { c as request } from "../chunks/client.js";
4
+ //#region src/api/biblio-billing/biblio-billing.d.ts
5
+ export declare const getBillingCreateProductUrl: (catalogueId: number) => string;
6
+ /**
7
+ * A global commercial operator creates an offer and its server-owned net price/tax. New offers default to inactive. Fixed offers need accessMonths or an institutional template; recurring offers cannot use a template. Retention offers require the customer's dated agreement. Requires high-assurance authentication.
8
+ * @summary Create a catalogue billing offer
9
+ */
10
+ export declare const billingCreateProduct: (catalogueId: number, billingProductWrite: BillingProductWrite, options?: Parameters<typeof request>[1]) => Promise<BillingProductRead>;
11
+ export declare const getBillingGeneratePromotionsUrl: (catalogueId: number) => string;
12
+ /**
13
+ * Create 1–500 independent rules and encrypted distribution codes atomically from one reviewed template. Each code is the optional prefix followed by 20 unambiguous characters; rule.code must be null. rule.quantity is stock per generated rule, not the number of codes. Requires global commercial authority. Requires high-assurance authentication.
14
+ * @summary Generate a bounded promotion-code batch
15
+ */
16
+ export declare const billingGeneratePromotions: (catalogueId: number, promotionGeneratorWrite: PromotionGeneratorWrite, options?: Parameters<typeof request>[1]) => Promise<PromotionCodeListRead>;
17
+ export declare const getBillingPromotionGeneratorsUrl: (catalogueId: number, params?: BillingPromotionGeneratorsParams) => string;
18
+ /**
19
+ * Global commercial operators list safe generator definitions, newest first. Includes historical sourceMask and partial rule fields when known; codes and private source metadata require a separate audited export.
20
+ * @summary List catalogue promotion generators
21
+ */
22
+ export declare const billingPromotionGenerators: (catalogueId: number, params?: BillingPromotionGeneratorsParams, options?: Parameters<typeof request>[1]) => Promise<PromotionGeneratorPage>;
23
+ export declare const getBillingListPromotionsUrl: (catalogueId: number, params?: BillingListPromotionsParams) => string;
24
+ /**
25
+ * Catalogue finance operators list rule metadata, including inactive rules, ordered by promotion ID. Codes are deliberately omitted; explicit audited reveal or export is required to distribute codes.
26
+ * @summary List catalogue promotion rules
27
+ */
28
+ export declare const billingListPromotions: (catalogueId: number, params?: BillingListPromotionsParams, options?: Parameters<typeof request>[1]) => Promise<PromotionPage>;
29
+ export declare const getBillingCreatePromotionUrl: (catalogueId: number) => string;
30
+ /**
31
+ * A global commercial operator creates bounded promotion stock for a catalogue. Discounts apply to explicit checkouts; benefits without payment-method requirements can be redeemed directly. Null code generates three groups of six unambiguous characters. Explicit codes retain their display form; lookup uses NFKC, trim and casefold normalization. Targets must belong to the catalogue. Requires high-assurance authentication.
32
+ * @summary Create a discount or access benefit
33
+ */
34
+ export declare const billingCreatePromotion: (catalogueId: number, promotionWrite: PromotionWrite, options?: Parameters<typeof request>[1]) => Promise<PromotionCreatedRead>;
35
+ export declare const getBillingExportPromotionCodesUrl: (catalogueId: number) => string;
36
+ /**
37
+ * Global commercial operators decrypt selected catalogue codes in one audited transaction. Supply unique promotionIds and a reason; all IDs must belong to the selected catalogue or the entire export is refused. The JSON data is ordered by promotion ID. Responses are private, no-store. Requires high-assurance authentication.
38
+ * @summary Export selected promotion codes with an audit reason
39
+ */
40
+ export declare const billingExportPromotionCodes: (catalogueId: number, promotionExportWrite: PromotionExportWrite, options?: Parameters<typeof request>[1]) => Promise<PromotionExportRead>;
41
+ export declare const getBillingQuoteCheckoutUrl: () => string;
42
+ /**
43
+ * Freeze server-priced purchase and renewal terms for 15 minutes and reserve promotion stock. Reuse requestKey with the same product and normalized promotion set to retrieve the same checkout; changing either under the same key returns 409. No payment is submitted by quoting. Display recurring, renewalAmount and expiresAt before obtaining consent. A fully discounted offer without a required payment method can become fixed access without renewal. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
44
+ * @summary Quote a personal checkout
45
+ */
46
+ export declare const billingQuoteCheckout: (billingQuoteWrite: BillingQuoteWrite, options?: Parameters<typeof request>[1]) => Promise<BillingCheckoutRead>;
47
+ export declare const getBillingReadCheckoutUrl: (checkoutId: number) => string;
48
+ /**
49
+ * Return persisted quote and outcome without contacting the payment provider. A submitting or unknown checkout requires the explicit reconcile operation; reading it does not retry payment. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
50
+ * @summary Read the current profile's checkout
51
+ */
52
+ export declare const billingReadCheckout: (checkoutId: number, options?: Parameters<typeof request>[1]) => Promise<BillingCheckoutRead>;
53
+ export declare const getBillingReconcileCheckoutUrl: (checkoutId: number) => string;
54
+ /**
55
+ * Look up provider evidence using the checkout's existing operation identity and complete the same purchase when a matching receipt is found. This never resubmits payment. An absent receipt leaves the checkout submitting or unknown; terminal and quoted states are returned unchanged. Environment and quote integrity must match before access can be granted. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
56
+ * @summary Reconcile an uncertain checkout
57
+ */
58
+ export declare const billingReconcileCheckout: (checkoutId: number, options?: Parameters<typeof request>[1]) => Promise<BillingCheckoutRead>;
59
+ export declare const getBillingSubmitCheckoutUrl: (checkoutId: number) => string;
60
+ /**
61
+ * Submit the owned quote with acceptedTerms=true and a single-use provider nonce when payment or renewal requires it. Completed, submitting and unknown checkouts are returned without another charge. HTTP 200 alone does not mean payment succeeded: complete confirms the receipt, failed records a refusal, and unknown preserves an ambiguous provider outcome. Reconcile the same checkout after uncertainty; do not create a replacement payment. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
62
+ * @summary Submit an accepted checkout
63
+ */
64
+ export declare const billingSubmitCheckout: (checkoutId: number, billingCheckoutSubmitWrite: BillingCheckoutSubmitWrite, options?: Parameters<typeof request>[1]) => Promise<BillingCheckoutRead>;
65
+ export declare const getBillingCreateClientTokenUrl: () => string;
66
+ /**
67
+ * Obtain a Braintree client token for an owned, unexpired quoted checkout in the current environment. Pass it to the provider SDK to collect a single-use paymentMethodNonce, then submit the checkout. The token is sensitive and must not be logged or persisted in client analytics. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
68
+ * @summary Create a checkout payment client token
69
+ */
70
+ export declare const billingCreateClientToken: (billingClientTokenWrite: BillingClientTokenWrite, options?: Parameters<typeof request>[1]) => Promise<BillingClientTokenRead>;
71
+ export declare const getBillingPrepareIdentityUrl: () => string;
72
+ /**
73
+ * Return or create the stable server-issued billing subject for the selected provider in the configured environment. Supply this subject to the mobile billing SDK; never substitute a profile ID or email. This explicit request does not grant course access or charge a payment method. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
74
+ * @summary Prepare the current profile's billing identity
75
+ */
76
+ export declare const billingPrepareIdentity: (billingIdentityWrite: BillingIdentityWrite, options?: Parameters<typeof request>[1]) => Promise<BillingIdentityRead>;
77
+ export declare const getBillingListProductsUrl: (params?: BillingListProductsParams) => string;
78
+ /**
79
+ * List active offers visible to the profile, with server-calculated tax-inclusive prices. Retention offers appear only within seven days of their exact institution agreement's end. checkoutAvailable reflects configured web payment capability; providerProducts identifies active mappings in the current billing environment. Listing never starts a purchase. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
80
+ * @summary List personal purchase offers
81
+ */
82
+ export declare const billingListProducts: (params?: BillingListProductsParams, options?: Parameters<typeof request>[1]) => Promise<BillingProductPage>;
83
+ export declare const getBillingSetOfferAvailabilityUrl: (productId: number) => string;
84
+ /**
85
+ * Set offer availability after commercial review and record the reason in the audit trail. Requires catalogue finance and global commercial authority. Returns 204 with no response body. Requires high-assurance authentication.
86
+ * @summary Activate or withdraw an offer
87
+ */
88
+ export declare const billingSetOfferAvailability: (productId: number, billingProductAvailabilityWrite: BillingProductAvailabilityWrite, options?: Parameters<typeof request>[1]) => Promise<void>;
89
+ export declare const getBillingBindProviderProductUrl: (productId: number) => string;
90
+ /**
91
+ * Catalogue finance operators associate an offer with an exact provider product and sandbox or production environment. A provider/environment/product identifier cannot be shared by different offers. Store products must be public recurring offers. Returns 204 with no response body. Requires high-assurance authentication.
92
+ * @summary Bind an offer to a provider product
93
+ */
94
+ export declare const billingBindProviderProduct: (productId: number, billingProviderProductWrite: BillingProviderProductWrite, options?: Parameters<typeof request>[1]) => Promise<void>;
95
+ export declare const getBillingPromotionGeneratorUrl: (generatorId: number) => string;
96
+ /**
97
+ * Return a safe definition to a global commercial operator. batchSize counts generated codes while rule.quantity describes permitted uses of each code. Historical missing rule values stay null.
98
+ * @summary Read a promotion generator definition
99
+ */
100
+ export declare const billingPromotionGenerator: (generatorId: number, options?: Parameters<typeof request>[1]) => Promise<PromotionGeneratorRead>;
101
+ export declare const getBillingRedeemPromotionUrl: () => string;
102
+ /**
103
+ * Redeem a usable benefit code that does not require a payment method, atomically consuming stock and creating personal access through shared contracts. Discounts use checkout instead. Reusing requestKey for the same promotion returns the previous redemption; reuse for another code returns 409. Case/Unicode-normalized lookup, per-user stock and access-window limits apply. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
104
+ * @summary Redeem an access benefit for the current profile
105
+ */
106
+ export declare const billingRedeemPromotion: (promotionRedeemWrite: PromotionRedeemWrite, options?: Parameters<typeof request>[1]) => Promise<PromotionRedemptionRead>;
107
+ export declare const getBillingPromotionCapacityUrl: (promotionId: number) => string;
108
+ /**
109
+ * Global commercial operators inspect total and per-user limits, redeemed stock and live reservations. Submitting or unknown checkouts keep reservations even after quote expiry. remaining is max(0, quantity - redeemed - reserved); a positive count alone does not prove a rule is active or usable.
110
+ * @summary Inspect promotion stock and payment reservations
111
+ */
112
+ export declare const billingPromotionCapacity: (promotionId: number, options?: Parameters<typeof request>[1]) => Promise<PromotionCapacityRead>;
113
+ export declare const getBillingRevealPromotionCodeUrl: (promotionId: number) => string;
114
+ /**
115
+ * A catalogue finance operator decrypts one distribution code and records the supplied reason. The response is private, no-store; do not expose it in public reports. Requires high-assurance authentication.
116
+ * @summary Reveal one promotion code with an audit reason
117
+ */
118
+ export declare const billingRevealPromotionCode: (promotionId: number, promotionRevealWrite: PromotionRevealWrite, options?: Parameters<typeof request>[1]) => Promise<PromotionCodeRead>;
119
+ export declare const getBillingPromotionRedemptionsUrl: (promotionId: number, params?: BillingPromotionRedemptionsParams) => string;
120
+ /**
121
+ * Global commercial operators list a promotion's native and imported redemptions, newest first. Historical beneficiary, contract, transaction, discount and time references can be null; do not infer a payment from a redemption. Codes and raw source identifiers are omitted.
122
+ * @summary List promotion redemption evidence
123
+ */
124
+ export declare const billingPromotionRedemptions: (promotionId: number, params?: BillingPromotionRedemptionsParams, options?: Parameters<typeof request>[1]) => Promise<PromotionRedemptionHistoryPage>;
125
+ export declare const getBillingRestoreStorePurchasesUrl: () => string;
126
+ /**
127
+ * Fetch RevenueCat evidence for the server-issued billing subject and reconcile supported store receipts in the current environment with active provider mappings. Receipts belonging to another profile are refused. Unknown receipt price, tax or renewal values stay unknown. The returned page contains restored subscriptions and can be empty; there is no client-supplied receipt-owner ID. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
128
+ * @summary Restore the current profile's mobile purchases
129
+ */
130
+ export declare const billingRestoreStorePurchases: (billingIdentityWrite: BillingIdentityWrite, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionPage>;
131
+ export declare const getBillingListSubscriptionsUrl: (params?: BillingListSubscriptionsParams) => string;
132
+ /**
133
+ * List local subscription projections, newest first. No provider refresh occurs. autoRenew=null means renewal is unknown, and unknown historical price/currency remain null; use explicit reconciliation or store restoration to obtain current evidence. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
134
+ * @summary List the current profile's subscriptions
135
+ */
136
+ export declare const billingListSubscriptions: (params?: BillingListSubscriptionsParams, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionPage>;
137
+ export declare const getBillingReadSubscriptionUrl: (subscriptionId: number) => string;
138
+ /**
139
+ * Read the local subscription and its known access, price and renewal terms. managementUrl is provided for mobile store subscriptions. This GET neither refreshes receipts nor changes renewal. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
140
+ * @summary Read the current profile's subscription
141
+ */
142
+ export declare const billingReadSubscription: (subscriptionId: number, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionRead>;
143
+ export declare const getBillingCancelSubscriptionUrl: (subscriptionId: number) => string;
144
+ /**
145
+ * Cancel Braintree renewal and project the provider-confirmed access end, or cancel a local fixed subscription. Existing paid access follows the confirmed period. Optional feedback is stored separately. Mobile store renewal must be managed through managementUrl; this operation returns 409 for stores. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
146
+ * @summary Cancel a personal subscription's renewal
147
+ */
148
+ export declare const billingCancelSubscription: (subscriptionId: number, billingCancelWrite: BillingCancelWrite, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionRead>;
149
+ export declare const getBillingCancellationFeedbackUrl: (subscriptionId: number, params?: BillingCancellationFeedbackParams) => string;
150
+ /**
151
+ * List only this profile's recorded cancellation feedback for the owned subscription, newest first. Missing historical answers and dates stay null. Feedback is not evidence of current provider renewal state. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
152
+ * @summary List an owned subscription's cancellation feedback
153
+ */
154
+ export declare const billingCancellationFeedback: (subscriptionId: number, params?: BillingCancellationFeedbackParams, options?: Parameters<typeof request>[1]) => Promise<BillingCancellationFeedbackPage>;
155
+ export declare const getBillingSubscriptionClientTokenUrl: (subscriptionId: number) => string;
156
+ /**
157
+ * Initialize payment-method collection for an owned Braintree subscription whose renewal is confirmed active. Unknown renewal must be reconciled first; store and nonrenewing subscriptions are not editable here. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
158
+ * @summary Create a subscription payment-method token
159
+ */
160
+ export declare const billingSubscriptionClientToken: (subscriptionId: number, options?: Parameters<typeof request>[1]) => Promise<BillingClientTokenRead>;
161
+ export declare const getBillingSubscriptionHistoryUrl: (subscriptionId: number, params?: BillingSubscriptionHistoryParams) => string;
162
+ /**
163
+ * List preserved subscription events, newest local identifier first. Source status and transactionType are evidence labels, not current renewal guarantees. Unknown source times remain null with clockBasis; amount may also be null and this projection does not supply a currency. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
164
+ * @summary List an owned subscription's source events
165
+ */
166
+ export declare const billingSubscriptionHistory: (subscriptionId: number, params?: BillingSubscriptionHistoryParams, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionHistoryPage>;
167
+ export declare const getBillingUpdatePaymentMethodUrl: (subscriptionId: number) => string;
168
+ /**
169
+ * Use a new provider SDK nonce to update the current profile's renewing Braintree subscription and apply the returned receipt. acceptedOutstandingBalance explicitly allows collection of an outstanding balance; it defaults to false. Store subscriptions use their original provider. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
170
+ * @summary Update a renewing subscription's payment method
171
+ */
172
+ export declare const billingUpdatePaymentMethod: (subscriptionId: number, billingPaymentMethodWrite: BillingPaymentMethodWrite, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionRead>;
173
+ export declare const getBillingReconcileSubscriptionUrl: (subscriptionId: number) => string;
174
+ /**
175
+ * Read the existing Braintree subscription, refresh authoritative renewal/access terms and project shared contract access. The existing provider identity and current billing environment must match. Use store restoration for App Store and Play Store subscriptions. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached. Requires high-assurance authentication.
176
+ * @summary Refresh a Braintree subscription from its receipt
177
+ */
178
+ export declare const billingReconcileSubscription: (subscriptionId: number, options?: Parameters<typeof request>[1]) => Promise<BillingSubscriptionRead>;
179
+ export declare const getBillingListTransactionsUrl: (params?: BillingListTransactionsParams) => string;
180
+ /**
181
+ * List private native and imported transactions, newest local identifier first. Historical timestamps, money and currency remain null when unverified. amountBasis distinguishes verified_receipt, historical_provider_evidence and unknown. listedAmountBeforeDiscount and calculatedAmountAfterDiscount preserve source arithmetic; they must not be presented as confirmed paid amounts. clockBasis describes time evidence. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
182
+ * @summary List the current profile's payment history
183
+ */
184
+ export declare const billingListTransactions: (params?: BillingListTransactionsParams, options?: Parameters<typeof request>[1]) => Promise<BillingTransactionPage>;
185
+ export declare const getBillingReadTransactionUrl: (transactionId: number) => string;
186
+ /**
187
+ * Return one transaction belonging to the authenticated profile. Historical timestamps, money and currency remain null when unverified. amountBasis distinguishes verified_receipt, historical_provider_evidence and unknown. listedAmountBeforeDiscount and calculatedAmountAfterDiscount preserve source arithmetic; they must not be presented as confirmed paid amounts. clockBasis describes time evidence. Uses the authenticated independent profile in the Biblio product context; support impersonation is refused. Responses are private and must not be cached.
188
+ * @summary Read an owned transaction's payment evidence
189
+ */
190
+ export declare const billingReadTransaction: (transactionId: number, options?: Parameters<typeof request>[1]) => Promise<BillingTransactionRead>;
191
+ //#endregion
192
+ //# sourceMappingURL=biblio-billing.d.ts.map