Application Load

IPublicSubscription

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IPublicSubscription

Extended customer-facing translations.

app/interfaces/orionplace/subscribes/ISubscriptionApi.ts
TypeScript
export interface IPublicSubscription extends ISubscriptionSummary {
  // `true`: the customer cannot subscribe themselves.
  only_admin_can_subscribe: boolean;
  // Labels for keys used by the returned plan configuration or customer service
  // headings. For a custom parameter, translations[key].trans[localeCode]
  // supplies its name. Missing/blank names, or names equal to the raw key,
  // leave an unknown feature hidden. Built-in names use the client’s localized
  // reference.
  translations: Record<string, JsonValue>;
  // Service-defined customer heading configuration, which may be empty. It
  // describes presentation keys, not the purchased subscription’s current
  // values. Current customer data is returned separately in subscriptions_get →
  // data[].plugin.remote_subscription_data_user. The supplied generic plan
  // summary does not turn these headings into controls.
  user_data: Record<string, JsonValue>;
}