@linqapp/sdk 0.44.1 → 0.44.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.44.3](https://github.com/linq-team/linq-node/compare/v0.44.2...v0.44.3) (2026-08-20)
4
+
5
+
6
+ ### Documentation
7
+
8
+ * clarify transcript background field requirements and examples ([c400402](https://github.com/linq-team/linq-node/commit/c400402cb24e171562a927af18d75a04d6373443))
9
+
10
+ ## [0.44.2](https://github.com/linq-team/linq-node/compare/v0.44.1...v0.44.2) (2026-08-20)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * clarify background color variant requirements and valid styles ([756db06](https://github.com/linq-team/linq-node/commit/756db063c8295b1b890ee8898fb63cfc88674189))
16
+
3
17
  ## [0.44.1](https://github.com/linq-team/linq-node/compare/v0.44.0...v0.44.1) (2026-08-20)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linqapp/sdk",
3
- "version": "0.44.1",
3
+ "version": "0.44.3",
4
4
  "description": "The official TypeScript library for the Linq API V3 API",
5
5
  "author": "Linq API V3 <support@linq.com>",
6
6
  "types": "./index.d.ts",
@@ -64,25 +64,31 @@ export interface BackgroundSetParams {
64
64
  * fetched and re-hosted on our CDN before the request is accepted — the same way
65
65
  * `group_chat_icon` works. A URL we cannot fetch, or one that isn't an image, is
66
66
  * rejected with a `400` (`5007`/`5006`) rather than failing later on the device.
67
+ *
68
+ * Example: `https://cdn.linqapp.com/u/bg.jpg`.
67
69
  */
68
70
  image_url?: string;
69
71
  /**
70
- * Color with `variant: custom`: the two gradient stops as hex, top then bottom.
71
- * Ignored for named color variants (they carry their own two colors).
72
+ * Color with `variant: custom`: the two gradient stops as hex, top then bottom
73
+ * e.g. `["#F2C4E1", "#F5A623"]`. Ignored for named color variants (they carry
74
+ * their own two colors).
72
75
  */
73
76
  shades?: Array<string>;
74
77
  /**
75
- * Dynamic: the animated style.
78
+ * Dynamic: the animated style — `sky`, `water`, or `aurora`.
76
79
  */
77
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
80
+ style?: 'sky' | 'water' | 'aurora';
78
81
  /**
79
82
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
80
83
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
81
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
82
- * (e.g. `sunrise`).
84
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
85
+ * `custom`, so it still requires `shades`.
86
+ *
87
+ * Dynamic: required — the variant within the `style`. `sky`: `dusk`, `haze`,
88
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
89
+ * `green`, `purple`, `pink`.
83
90
  *
84
- * An unrecognized value still returns `202`, but no background is applied and no
85
- * `chat.background_updated` webhook fires. Send one of the values above.
91
+ * An unrecognized value is rejected with `400`.
86
92
  */
87
93
  variant?: string;
88
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"background.d.mts","sourceRoot":"","sources":["../../src/resources/chats/background.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI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C,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAEnC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
@@ -64,25 +64,31 @@ export interface BackgroundSetParams {
64
64
  * fetched and re-hosted on our CDN before the request is accepted — the same way
65
65
  * `group_chat_icon` works. A URL we cannot fetch, or one that isn't an image, is
66
66
  * rejected with a `400` (`5007`/`5006`) rather than failing later on the device.
67
+ *
68
+ * Example: `https://cdn.linqapp.com/u/bg.jpg`.
67
69
  */
68
70
  image_url?: string;
69
71
  /**
70
- * Color with `variant: custom`: the two gradient stops as hex, top then bottom.
71
- * Ignored for named color variants (they carry their own two colors).
72
+ * Color with `variant: custom`: the two gradient stops as hex, top then bottom
73
+ * e.g. `["#F2C4E1", "#F5A623"]`. Ignored for named color variants (they carry
74
+ * their own two colors).
72
75
  */
73
76
  shades?: Array<string>;
74
77
  /**
75
- * Dynamic: the animated style.
78
+ * Dynamic: the animated style — `sky`, `water`, or `aurora`.
76
79
  */
77
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
80
+ style?: 'sky' | 'water' | 'aurora';
78
81
  /**
79
82
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
80
83
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
81
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
82
- * (e.g. `sunrise`).
84
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
85
+ * `custom`, so it still requires `shades`.
86
+ *
87
+ * Dynamic: required — the variant within the `style`. `sky`: `dusk`, `haze`,
88
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
89
+ * `green`, `purple`, `pink`.
83
90
  *
84
- * An unrecognized value still returns `202`, but no background is applied and no
85
- * `chat.background_updated` webhook fires. Send one of the values above.
91
+ * An unrecognized value is rejected with `400`.
86
92
  */
87
93
  variant?: string;
88
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../src/resources/chats/background.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IAE/C;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
1
+ {"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../src/resources/chats/background.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IAEpC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAEnC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
@@ -83,28 +83,34 @@ export interface BackgroundSetParams {
83
83
  * fetched and re-hosted on our CDN before the request is accepted — the same way
84
84
  * `group_chat_icon` works. A URL we cannot fetch, or one that isn't an image, is
85
85
  * rejected with a `400` (`5007`/`5006`) rather than failing later on the device.
86
+ *
87
+ * Example: `https://cdn.linqapp.com/u/bg.jpg`.
86
88
  */
87
89
  image_url?: string;
88
90
 
89
91
  /**
90
- * Color with `variant: custom`: the two gradient stops as hex, top then bottom.
91
- * Ignored for named color variants (they carry their own two colors).
92
+ * Color with `variant: custom`: the two gradient stops as hex, top then bottom
93
+ * e.g. `["#F2C4E1", "#F5A623"]`. Ignored for named color variants (they carry
94
+ * their own two colors).
92
95
  */
93
96
  shades?: Array<string>;
94
97
 
95
98
  /**
96
- * Dynamic: the animated style.
99
+ * Dynamic: the animated style — `sky`, `water`, or `aurora`.
97
100
  */
98
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
101
+ style?: 'sky' | 'water' | 'aurora';
99
102
 
100
103
  /**
101
104
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
102
105
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
103
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
104
- * (e.g. `sunrise`).
106
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
107
+ * `custom`, so it still requires `shades`.
108
+ *
109
+ * Dynamic: required — the variant within the `style`. `sky`: `dusk`, `haze`,
110
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
111
+ * `green`, `purple`, `pink`.
105
112
  *
106
- * An unrecognized value still returns `202`, but no background is applied and no
107
- * `chat.background_updated` webhook fires. Send one of the values above.
113
+ * An unrecognized value is rejected with `400`.
108
114
  */
109
115
  variant?: string;
110
116
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.44.1'; // x-release-please-version
1
+ export const VERSION = '0.44.3'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.44.1";
1
+ export declare const VERSION = "0.44.3";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.44.1";
1
+ export declare const VERSION = "0.44.3";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.44.1'; // x-release-please-version
4
+ exports.VERSION = '0.44.3'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.44.1'; // x-release-please-version
1
+ export const VERSION = '0.44.3'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map