@linqapp/sdk 0.44.1 → 0.44.2

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.44.2](https://github.com/linq-team/linq-node/compare/v0.44.1...v0.44.2) (2026-08-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * clarify background color variant requirements and valid styles ([756db06](https://github.com/linq-team/linq-node/commit/756db063c8295b1b890ee8898fb63cfc88674189))
9
+
3
10
  ## [0.44.1](https://github.com/linq-team/linq-node/compare/v0.44.0...v0.44.1) (2026-08-20)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linqapp/sdk",
3
- "version": "0.44.1",
3
+ "version": "0.44.2",
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",
@@ -74,15 +74,18 @@ export interface BackgroundSetParams {
74
74
  /**
75
75
  * Dynamic: the animated style.
76
76
  */
77
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
77
+ style?: 'sky' | 'water' | 'aurora';
78
78
  /**
79
79
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
80
80
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
81
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
82
- * (e.g. `sunrise`).
81
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
82
+ * `custom`, so it still requires `shades`.
83
83
  *
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.
84
+ * Dynamic: required the variant within the `style`. `sky`: `dusk`, `haze`,
85
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
86
+ * `green`, `purple`, `pink`.
87
+ *
88
+ * An unrecognized value is rejected with `400`.
86
89
  */
87
90
  variant?: string;
88
91
  }
@@ -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,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.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,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,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"}
@@ -74,15 +74,18 @@ export interface BackgroundSetParams {
74
74
  /**
75
75
  * Dynamic: the animated style.
76
76
  */
77
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
77
+ style?: 'sky' | 'water' | 'aurora';
78
78
  /**
79
79
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
80
80
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
81
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
82
- * (e.g. `sunrise`).
81
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
82
+ * `custom`, so it still requires `shades`.
83
83
  *
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.
84
+ * Dynamic: required the variant within the `style`. `sky`: `dusk`, `haze`,
85
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
86
+ * `green`, `purple`, `pink`.
87
+ *
88
+ * An unrecognized value is rejected with `400`.
86
89
  */
87
90
  variant?: string;
88
91
  }
@@ -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;;;;;;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,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"}
@@ -95,16 +95,19 @@ export interface BackgroundSetParams {
95
95
  /**
96
96
  * Dynamic: the animated style.
97
97
  */
98
- style?: 'sky' | 'water' | 'aurora' | 'glitter';
98
+ style?: 'sky' | 'water' | 'aurora';
99
99
 
100
100
  /**
101
101
  * Color: a named swatch — `mango`, `ice`, `plum`, `deep_sea`, `green_apple`,
102
102
  * `cherry`, `bubblegum`, `tangerine`, `magenta`, `lime`, `silver`, `carbon`,
103
- * `stone` — or `custom` (supply `shades`). Dynamic: the variant within the `style`
104
- * (e.g. `sunrise`).
103
+ * `stone` — or `custom` (supply `shades`). Omitting `variant` is equivalent to
104
+ * `custom`, so it still requires `shades`.
105
105
  *
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.
106
+ * Dynamic: required the variant within the `style`. `sky`: `dusk`, `haze`,
107
+ * `sunset`, `clear`, `sunrise`, `dawn`. `water`: `light`, `dark`. `aurora`:
108
+ * `green`, `purple`, `pink`.
109
+ *
110
+ * An unrecognized value is rejected with `400`.
108
111
  */
109
112
  variant?: string;
110
113
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.44.1'; // x-release-please-version
1
+ export const VERSION = '0.44.2'; // 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.2";
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.2";
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.2'; // 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.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map