@linqapp/sdk 0.1.3 → 0.1.4
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 +10 -0
- package/client.d.mts +3 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/tslib.js +6 -6
- package/package.json +1 -1
- package/resources/chats/chats.d.mts +7 -11
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +7 -11
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/index.d.mts +1 -1
- package/resources/chats/index.d.mts.map +1 -1
- package/resources/chats/index.d.ts +1 -1
- package/resources/chats/index.d.ts.map +1 -1
- package/resources/chats/index.js.map +1 -1
- package/resources/chats/index.mjs.map +1 -1
- package/resources/chats/messages.d.mts +3 -2
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts +3 -2
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/messages.js.map +1 -1
- package/resources/chats/messages.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -0
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messages.d.mts +44 -8
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +44 -8
- package/resources/messages.d.ts.map +1 -1
- package/resources/shared.d.mts +5 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +5 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/src/client.ts +2 -2
- package/src/resources/chats/chats.ts +6 -12
- package/src/resources/chats/index.ts +0 -1
- package/src/resources/chats/messages.ts +3 -2
- package/src/resources/index.ts +1 -1
- package/src/resources/messages.ts +58 -8
- package/src/resources/shared.ts +6 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as
|
|
4
|
+
import * as Shared from './shared';
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { buildHeaders } from '../internal/headers';
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -119,7 +119,7 @@ export interface ChatHandle {
|
|
|
119
119
|
/**
|
|
120
120
|
* Messaging service type
|
|
121
121
|
*/
|
|
122
|
-
service:
|
|
122
|
+
service: Shared.ServiceType;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Whether this handle belongs to the sender (your phone number)
|
|
@@ -242,7 +242,7 @@ export interface Message {
|
|
|
242
242
|
/**
|
|
243
243
|
* Messaging service type
|
|
244
244
|
*/
|
|
245
|
-
preferred_service?:
|
|
245
|
+
preferred_service?: Shared.ServiceType | null;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* When the message was read
|
|
@@ -262,7 +262,7 @@ export interface Message {
|
|
|
262
262
|
/**
|
|
263
263
|
* Messaging service type
|
|
264
264
|
*/
|
|
265
|
-
service?:
|
|
265
|
+
service?: Shared.ServiceType | null;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
/**
|
|
@@ -295,7 +295,8 @@ export interface Reaction {
|
|
|
295
295
|
/**
|
|
296
296
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
297
297
|
* emphasize, question. Custom emoji reactions have type "custom" with the actual
|
|
298
|
-
* emoji in the custom_emoji field.
|
|
298
|
+
* emoji in the custom_emoji field. Sticker reactions have type "sticker" with
|
|
299
|
+
* sticker attachment details in the sticker field.
|
|
299
300
|
*/
|
|
300
301
|
type: ReactionType;
|
|
301
302
|
|
|
@@ -303,14 +304,62 @@ export interface Reaction {
|
|
|
303
304
|
* Custom emoji if type is "custom", null otherwise
|
|
304
305
|
*/
|
|
305
306
|
custom_emoji?: string | null;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Sticker attachment details when reaction_type is "sticker". Null for non-sticker
|
|
310
|
+
* reactions.
|
|
311
|
+
*/
|
|
312
|
+
sticker?: Reaction.Sticker | null;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export namespace Reaction {
|
|
316
|
+
/**
|
|
317
|
+
* Sticker attachment details when reaction_type is "sticker". Null for non-sticker
|
|
318
|
+
* reactions.
|
|
319
|
+
*/
|
|
320
|
+
export interface Sticker {
|
|
321
|
+
/**
|
|
322
|
+
* Filename of the sticker
|
|
323
|
+
*/
|
|
324
|
+
file_name?: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Sticker image height in pixels
|
|
328
|
+
*/
|
|
329
|
+
height?: number;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* MIME type of the sticker image
|
|
333
|
+
*/
|
|
334
|
+
mime_type?: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Presigned URL for downloading the sticker image (expires in 1 hour).
|
|
338
|
+
*/
|
|
339
|
+
url?: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Sticker image width in pixels
|
|
343
|
+
*/
|
|
344
|
+
width?: number;
|
|
345
|
+
}
|
|
306
346
|
}
|
|
307
347
|
|
|
308
348
|
/**
|
|
309
349
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
310
350
|
* emphasize, question. Custom emoji reactions have type "custom" with the actual
|
|
311
|
-
* emoji in the custom_emoji field.
|
|
351
|
+
* emoji in the custom_emoji field. Sticker reactions have type "sticker" with
|
|
352
|
+
* sticker attachment details in the sticker field.
|
|
312
353
|
*/
|
|
313
|
-
export type ReactionType =
|
|
354
|
+
export type ReactionType =
|
|
355
|
+
| 'love'
|
|
356
|
+
| 'like'
|
|
357
|
+
| 'dislike'
|
|
358
|
+
| 'laugh'
|
|
359
|
+
| 'emphasize'
|
|
360
|
+
| 'question'
|
|
361
|
+
| 'custom'
|
|
362
|
+
| 'sticker';
|
|
314
363
|
|
|
315
364
|
/**
|
|
316
365
|
* Indicates this message is a threaded reply to another message
|
|
@@ -380,7 +429,8 @@ export interface MessageAddReactionParams {
|
|
|
380
429
|
/**
|
|
381
430
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
382
431
|
* emphasize, question. Custom emoji reactions have type "custom" with the actual
|
|
383
|
-
* emoji in the custom_emoji field.
|
|
432
|
+
* emoji in the custom_emoji field. Sticker reactions have type "sticker" with
|
|
433
|
+
* sticker attachment details in the sticker field.
|
|
384
434
|
*/
|
|
385
435
|
type: ReactionType;
|
|
386
436
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.4'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.4";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.4'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|