@getlatedev/node 0.2.1689 → 0.2.1691

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
@@ -40220,16 +40220,24 @@ type ListWhatsAppPhoneNumbersData = {
40220
40220
  * Alternative auth for API users' end customers (used when the bearer token is scoped to a different user)
40221
40221
  */
40222
40222
  'X-Connect-Token'?: string;
40223
+ /**
40224
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
40225
+ */
40226
+ 'X-Temp-Token'?: string;
40223
40227
  };
40224
40228
  query: {
40229
+ /**
40230
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
40231
+ */
40232
+ connectFlow?: string;
40225
40233
  /**
40226
40234
  * The Zernio profile ID from the headless redirect
40227
40235
  */
40228
40236
  profileId: string;
40229
40237
  /**
40230
- * The temporary access token from the headless redirect
40238
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
40231
40239
  */
40232
- tempToken: string;
40240
+ tempToken?: string;
40233
40241
  };
40234
40242
  };
40235
40243
  type ListWhatsAppPhoneNumbersResponse = ({
@@ -40284,9 +40292,13 @@ type CompleteWhatsAppPhoneSelectionData = {
40284
40292
  */
40285
40293
  wabaId: string;
40286
40294
  /**
40287
- * The temporary access token from the headless redirect
40295
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
40288
40296
  */
40289
- tempToken: string;
40297
+ tempToken?: string;
40298
+ /**
40299
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
40300
+ */
40301
+ connectFlow?: string;
40290
40302
  /**
40291
40303
  * Optional user profile data (passthrough)
40292
40304
  */
@@ -40303,6 +40315,10 @@ type CompleteWhatsAppPhoneSelectionData = {
40303
40315
  * Alternative auth for API users' end customers
40304
40316
  */
40305
40317
  'X-Connect-Token'?: string;
40318
+ /**
40319
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
40320
+ */
40321
+ 'X-Temp-Token'?: string;
40306
40322
  };
40307
40323
  };
40308
40324
  type CompleteWhatsAppPhoneSelectionResponse = ({
package/dist/index.d.ts CHANGED
@@ -40220,16 +40220,24 @@ type ListWhatsAppPhoneNumbersData = {
40220
40220
  * Alternative auth for API users' end customers (used when the bearer token is scoped to a different user)
40221
40221
  */
40222
40222
  'X-Connect-Token'?: string;
40223
+ /**
40224
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
40225
+ */
40226
+ 'X-Temp-Token'?: string;
40223
40227
  };
40224
40228
  query: {
40229
+ /**
40230
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
40231
+ */
40232
+ connectFlow?: string;
40225
40233
  /**
40226
40234
  * The Zernio profile ID from the headless redirect
40227
40235
  */
40228
40236
  profileId: string;
40229
40237
  /**
40230
- * The temporary access token from the headless redirect
40238
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
40231
40239
  */
40232
- tempToken: string;
40240
+ tempToken?: string;
40233
40241
  };
40234
40242
  };
40235
40243
  type ListWhatsAppPhoneNumbersResponse = ({
@@ -40284,9 +40292,13 @@ type CompleteWhatsAppPhoneSelectionData = {
40284
40292
  */
40285
40293
  wabaId: string;
40286
40294
  /**
40287
- * The temporary access token from the headless redirect
40295
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
40288
40296
  */
40289
- tempToken: string;
40297
+ tempToken?: string;
40298
+ /**
40299
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
40300
+ */
40301
+ connectFlow?: string;
40290
40302
  /**
40291
40303
  * Optional user profile data (passthrough)
40292
40304
  */
@@ -40303,6 +40315,10 @@ type CompleteWhatsAppPhoneSelectionData = {
40303
40315
  * Alternative auth for API users' end customers
40304
40316
  */
40305
40317
  'X-Connect-Token'?: string;
40318
+ /**
40319
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
40320
+ */
40321
+ 'X-Temp-Token'?: string;
40306
40322
  };
40307
40323
  };
40308
40324
  type CompleteWhatsAppPhoneSelectionResponse = ({
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.1689",
39
+ version: "0.2.1691",
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.1689",
8
+ version: "0.2.1691",
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.1689",
3
+ "version": "0.2.1691",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -22476,7 +22476,7 @@ export const listBlogArticles = <ThrowOnError extends boolean = false>(options:
22476
22476
  *
22477
22477
  * ### Wix
22478
22478
  *
22479
- * Wix stores rich content. `bodyHtml` is converted on write (each top-level HTML element must fit 30,000 characters), and images in the body are imported into the site's Media Manager.
22479
+ * Wix stores rich content. `bodyHtml` is converted on write (each top-level HTML element must fit 30,000 characters), and images in the body are imported into the site's Media Manager. On Wix, `<figure>` width (px or %) and float, and `<figcaption>`, are kept.
22480
22480
  *
22481
22481
  * ### Idempotency
22482
22482
  *
@@ -39560,16 +39560,24 @@ export type ListWhatsAppPhoneNumbersData = {
39560
39560
  * Alternative auth for API users' end customers (used when the bearer token is scoped to a different user)
39561
39561
  */
39562
39562
  'X-Connect-Token'?: string;
39563
+ /**
39564
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
39565
+ */
39566
+ 'X-Temp-Token'?: string;
39563
39567
  };
39564
39568
  query: {
39569
+ /**
39570
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
39571
+ */
39572
+ connectFlow?: string;
39565
39573
  /**
39566
39574
  * The Zernio profile ID from the headless redirect
39567
39575
  */
39568
39576
  profileId: string;
39569
39577
  /**
39570
- * The temporary access token from the headless redirect
39578
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
39571
39579
  */
39572
- tempToken: string;
39580
+ tempToken?: string;
39573
39581
  };
39574
39582
  };
39575
39583
 
@@ -39627,9 +39635,13 @@ export type CompleteWhatsAppPhoneSelectionData = {
39627
39635
  */
39628
39636
  wabaId: string;
39629
39637
  /**
39630
- * The temporary access token from the headless redirect
39638
+ * The temporary access token from the headless redirect. Required unless sent in the X-Temp-Token header.
39631
39639
  */
39632
- tempToken: string;
39640
+ tempToken?: string;
39641
+ /**
39642
+ * Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
39643
+ */
39644
+ connectFlow?: string;
39633
39645
  /**
39634
39646
  * Optional user profile data (passthrough)
39635
39647
  */
@@ -39646,6 +39658,10 @@ export type CompleteWhatsAppPhoneSelectionData = {
39646
39658
  * Alternative auth for API users' end customers
39647
39659
  */
39648
39660
  'X-Connect-Token'?: string;
39661
+ /**
39662
+ * The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
39663
+ */
39664
+ 'X-Temp-Token'?: string;
39649
39665
  };
39650
39666
  };
39651
39667