@getlatedev/node 0.2.233 → 0.2.235

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
@@ -5708,16 +5708,19 @@ type WhatsAppSandboxSession = {
5708
5708
  */
5709
5709
  type status11 = 'pending' | 'active';
5710
5710
  type WhatsAppTemplateButton = {
5711
- type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5712
- text: string;
5711
+ type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5712
+ /**
5713
+ * Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
5714
+ */
5715
+ text?: string;
5713
5716
  /**
5714
5717
  * Required when type is URL
5715
5718
  */
5716
5719
  url?: string;
5717
5720
  /**
5718
- * Example values for URL suffix variables
5721
+ * Example value(s). For URL buttons, an array of URL-suffix samples. For copy_code (marketing) buttons, the coupon code as a string.
5719
5722
  */
5720
- example?: Array<(string)>;
5723
+ example?: (string | Array<(string)>);
5721
5724
  /**
5722
5725
  * Required when type is phone_number
5723
5726
  */
@@ -5735,7 +5738,7 @@ type WhatsAppTemplateButton = {
5735
5738
  flow_action?: string;
5736
5739
  navigate_screen?: string;
5737
5740
  };
5738
- type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5741
+ type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5739
5742
  /**
5740
5743
  * Required when type is otp
5741
5744
  */
@@ -8441,6 +8444,14 @@ type CreateInviteTokenData = {
8441
8444
  * Required if scope is 'profiles'. Array of profile IDs to grant access to.
8442
8445
  */
8443
8446
  profileIds?: Array<(string)>;
8447
+ /**
8448
+ * Org role granted to the invitee. Defaults to 'member'.
8449
+ */
8450
+ role?: 'member' | 'billing_admin';
8451
+ /**
8452
+ * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8453
+ */
8454
+ readOnly?: boolean;
8444
8455
  };
8445
8456
  };
8446
8457
  type CreateInviteTokenResponse = ({
package/dist/index.d.ts CHANGED
@@ -5708,16 +5708,19 @@ type WhatsAppSandboxSession = {
5708
5708
  */
5709
5709
  type status11 = 'pending' | 'active';
5710
5710
  type WhatsAppTemplateButton = {
5711
- type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5712
- text: string;
5711
+ type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5712
+ /**
5713
+ * Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
5714
+ */
5715
+ text?: string;
5713
5716
  /**
5714
5717
  * Required when type is URL
5715
5718
  */
5716
5719
  url?: string;
5717
5720
  /**
5718
- * Example values for URL suffix variables
5721
+ * Example value(s). For URL buttons, an array of URL-suffix samples. For copy_code (marketing) buttons, the coupon code as a string.
5719
5722
  */
5720
- example?: Array<(string)>;
5723
+ example?: (string | Array<(string)>);
5721
5724
  /**
5722
5725
  * Required when type is phone_number
5723
5726
  */
@@ -5735,7 +5738,7 @@ type WhatsAppTemplateButton = {
5735
5738
  flow_action?: string;
5736
5739
  navigate_screen?: string;
5737
5740
  };
5738
- type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5741
+ type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5739
5742
  /**
5740
5743
  * Required when type is otp
5741
5744
  */
@@ -8441,6 +8444,14 @@ type CreateInviteTokenData = {
8441
8444
  * Required if scope is 'profiles'. Array of profile IDs to grant access to.
8442
8445
  */
8443
8446
  profileIds?: Array<(string)>;
8447
+ /**
8448
+ * Org role granted to the invitee. Defaults to 'member'.
8449
+ */
8450
+ role?: 'member' | 'billing_admin';
8451
+ /**
8452
+ * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8453
+ */
8454
+ readOnly?: boolean;
8444
8455
  };
8445
8456
  };
8446
8457
  type CreateInviteTokenResponse = ({
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.233",
39
+ version: "0.2.235",
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.233",
8
+ version: "0.2.235",
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.233",
3
+ "version": "0.2.235",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5184,16 +5184,19 @@ export type WhatsAppSandboxSession = {
5184
5184
  export type status11 = 'pending' | 'active';
5185
5185
 
5186
5186
  export type WhatsAppTemplateButton = {
5187
- type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5188
- text: string;
5187
+ type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5188
+ /**
5189
+ * Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
5190
+ */
5191
+ text?: string;
5189
5192
  /**
5190
5193
  * Required when type is URL
5191
5194
  */
5192
5195
  url?: string;
5193
5196
  /**
5194
- * Example values for URL suffix variables
5197
+ * Example value(s). For URL buttons, an array of URL-suffix samples. For copy_code (marketing) buttons, the coupon code as a string.
5195
5198
  */
5196
- example?: Array<(string)>;
5199
+ example?: (string | Array<(string)>);
5197
5200
  /**
5198
5201
  * Required when type is phone_number
5199
5202
  */
@@ -5212,7 +5215,7 @@ export type WhatsAppTemplateButton = {
5212
5215
  navigate_screen?: string;
5213
5216
  };
5214
5217
 
5215
- export type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'flow' | 'mpm' | 'catalog';
5218
+ export type type7 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
5216
5219
 
5217
5220
  /**
5218
5221
  * Required when type is otp
@@ -8124,6 +8127,14 @@ export type CreateInviteTokenData = {
8124
8127
  * Required if scope is 'profiles'. Array of profile IDs to grant access to.
8125
8128
  */
8126
8129
  profileIds?: Array<(string)>;
8130
+ /**
8131
+ * Org role granted to the invitee. Defaults to 'member'.
8132
+ */
8133
+ role?: 'member' | 'billing_admin';
8134
+ /**
8135
+ * When true, the invitee can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
8136
+ */
8137
+ readOnly?: boolean;
8127
8138
  };
8128
8139
  };
8129
8140