@getlatedev/node 0.2.236 → 0.2.237

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.mts CHANGED
@@ -8445,11 +8445,12 @@ type CreateInviteTokenData = {
8445
8445
  */
8446
8446
  profileIds?: Array<(string)>;
8447
8447
  /**
8448
- * Org role granted to the invitee. Defaults to 'member'.
8448
+ * Org role granted to the invitee. Defaults to 'member'. 'viewer' creates a read-only member who can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8449
8449
  */
8450
- role?: 'member' | 'billing_admin';
8450
+ role?: 'member' | 'billing_admin' | 'viewer';
8451
8451
  /**
8452
- * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8452
+ * Deprecated. Use role 'viewer' instead. When true, the invite is created with role 'viewer'. Cannot be combined with role 'billing_admin'.
8453
+ * @deprecated
8453
8454
  */
8454
8455
  readOnly?: boolean;
8455
8456
  };
package/dist/index.d.ts CHANGED
@@ -8445,11 +8445,12 @@ type CreateInviteTokenData = {
8445
8445
  */
8446
8446
  profileIds?: Array<(string)>;
8447
8447
  /**
8448
- * Org role granted to the invitee. Defaults to 'member'.
8448
+ * Org role granted to the invitee. Defaults to 'member'. 'viewer' creates a read-only member who can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8449
8449
  */
8450
- role?: 'member' | 'billing_admin';
8450
+ role?: 'member' | 'billing_admin' | 'viewer';
8451
8451
  /**
8452
- * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8452
+ * Deprecated. Use role 'viewer' instead. When true, the invite is created with role 'viewer'. Cannot be combined with role 'billing_admin'.
8453
+ * @deprecated
8453
8454
  */
8454
8455
  readOnly?: boolean;
8455
8456
  };
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.236",
39
+ version: "0.2.237",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.236",
8
+ version: "0.2.237",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.236",
3
+ "version": "0.2.237",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8128,11 +8128,12 @@ export type CreateInviteTokenData = {
8128
8128
  */
8129
8129
  profileIds?: Array<(string)>;
8130
8130
  /**
8131
- * Org role granted to the invitee. Defaults to 'member'.
8131
+ * Org role granted to the invitee. Defaults to 'member'. 'viewer' creates a read-only member who can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8132
8132
  */
8133
- role?: 'member' | 'billing_admin';
8133
+ role?: 'member' | 'billing_admin' | 'viewer';
8134
8134
  /**
8135
- * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8135
+ * Deprecated. Use role 'viewer' instead. When true, the invite is created with role 'viewer'. Cannot be combined with role 'billing_admin'.
8136
+ * @deprecated
8136
8137
  */
8137
8138
  readOnly?: boolean;
8138
8139
  };