@revturbine/sdk 0.10.6 → 0.10.8

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.
package/dist/index.d.ts CHANGED
@@ -21332,6 +21332,29 @@ declare class RevTurbineCustomerSdk {
21332
21332
  getEligibleAddons(): Promise<EligibleAddon[]>;
21333
21333
  private formatEligiblePrice;
21334
21334
  private priceTokensForProviders;
21335
+ /**
21336
+ * The plan-and-recommendation token family the SDK resolves authoritatively
21337
+ * from the Playbook, for substitution into decision content.
21338
+ *
21339
+ * These five are exactly the tokens whose values come from the Playbook's
21340
+ * plan catalogue plus the recommendation strategy, so the SDK — not the
21341
+ * host app — is the only thing that can fill them in. Every other token in
21342
+ * the studio table (usage, trial, seats, credits) is resolved on the React
21343
+ * render lane by `derivePlacementPersonalizationTokens`, which unknown
21344
+ * tokens pass through untouched.
21345
+ */
21346
+ private derivedContentTokens;
21347
+ /**
21348
+ * Substitute the SDK-resolved plan/price/recommendation tokens into a
21349
+ * decision's content.
21350
+ *
21351
+ * Only the tokens in {@link derivedContentTokens} are substituted; any
21352
+ * other `{{token}}` is left verbatim so the render lane (or the host app)
21353
+ * can still resolve it. A token the SDK owns but cannot resolve — a
21354
+ * top-of-ladder user has no recommended plan — becomes an empty string,
21355
+ * which is the spec's documented empty-token convention and is what keeps
21356
+ * raw `{{...}}` braces off the end user's screen.
21357
+ */
21335
21358
  private applyPriceTokens;
21336
21359
  /**
21337
21360
  * Return current SDK policy snapshot.