@foxy.io/sdk 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import type { Graph } from '../../core';
3
3
  import type { UserInvitation } from './user_invitation';
4
4
 
5
5
  export interface UserInvitations extends Graph {
6
- curie: 'fx:user_accesses';
6
+ curie: 'fx:user_invitations';
7
7
  links: CollectionGraphLinks<UserInvitations>;
8
8
  props: CollectionGraphProps;
9
9
  child: UserInvitation;
@@ -64,6 +64,18 @@ export interface CustomerPortalSettings extends Graph {
64
64
  /** Public URL of your terms of service agreement. */
65
65
  url: string;
66
66
  };
67
+ /** List of display preferences that comes from `cart_display_config` in the active `fx:template_config`. */
68
+ cart_display_config: {
69
+ show_product_weight: boolean;
70
+ show_product_category: boolean;
71
+ show_product_code: boolean;
72
+ show_product_options: boolean;
73
+ show_sub_frequency: boolean;
74
+ show_sub_startdate: boolean;
75
+ show_sub_nextdate: boolean;
76
+ show_sub_enddate: boolean;
77
+ hidden_product_options: string[];
78
+ };
67
79
  /** Self-registration settings. Self-registration is disabled if this field is undefined. */
68
80
  sign_up?: {
69
81
  /** Client verification settings. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foxy.io/sdk",
3
3
  "type": "commonjs",
4
- "version": "1.13.0",
4
+ "version": "1.14.0",
5
5
  "description": "Universal SDK for a full server-side and a limited in-browser access to Foxy hAPI.",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",