@linqapp/sdk 0.24.1 → 0.25.0

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.
Files changed (177) hide show
  1. package/CHANGELOG.md +2 -498
  2. package/README.md +0 -14
  3. package/api-promise.d.mts +0 -1
  4. package/api-promise.d.mts.map +1 -1
  5. package/api-promise.d.ts +0 -1
  6. package/api-promise.d.ts.map +1 -1
  7. package/api-promise.mjs +0 -1
  8. package/api-promise.mjs.map +1 -1
  9. package/client.d.mts +3 -3
  10. package/client.d.mts.map +1 -1
  11. package/client.d.ts +3 -3
  12. package/client.d.ts.map +1 -1
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts.map +1 -1
  15. package/core/api-promise.d.ts.map +1 -1
  16. package/core/api-promise.mjs.map +1 -1
  17. package/core/error.mjs.map +1 -1
  18. package/core/pagination.d.mts.map +1 -1
  19. package/core/pagination.d.ts.map +1 -1
  20. package/core/pagination.mjs.map +1 -1
  21. package/core/resource.d.mts.map +1 -1
  22. package/core/resource.d.ts.map +1 -1
  23. package/core/uploads.d.mts.map +1 -1
  24. package/core/uploads.d.ts.map +1 -1
  25. package/core/uploads.mjs.map +1 -1
  26. package/error.d.mts +0 -1
  27. package/error.d.mts.map +1 -1
  28. package/error.d.ts +0 -1
  29. package/error.d.ts.map +1 -1
  30. package/error.mjs +0 -1
  31. package/error.mjs.map +1 -1
  32. package/index.d.mts.map +1 -1
  33. package/index.d.ts.map +1 -1
  34. package/index.mjs.map +1 -1
  35. package/internal/detect-platform.mjs.map +1 -1
  36. package/internal/headers.mjs.map +1 -1
  37. package/internal/parse.d.mts.map +1 -1
  38. package/internal/parse.d.ts.map +1 -1
  39. package/internal/parse.mjs.map +1 -1
  40. package/internal/request-options.d.mts.map +1 -1
  41. package/internal/request-options.d.ts.map +1 -1
  42. package/internal/shims.d.mts +0 -6
  43. package/internal/shims.d.mts.map +1 -1
  44. package/internal/shims.d.ts +0 -6
  45. package/internal/shims.d.ts.map +1 -1
  46. package/internal/to-file.d.mts.map +1 -1
  47. package/internal/to-file.d.ts.map +1 -1
  48. package/internal/to-file.mjs.map +1 -1
  49. package/internal/types.d.mts +4 -4
  50. package/internal/types.d.mts.map +1 -1
  51. package/internal/types.d.ts +4 -4
  52. package/internal/types.d.ts.map +1 -1
  53. package/internal/uploads.d.mts.map +1 -1
  54. package/internal/uploads.d.ts.map +1 -1
  55. package/internal/uploads.mjs.map +1 -1
  56. package/internal/utils/base64.mjs.map +1 -1
  57. package/internal/utils/log.d.mts.map +1 -1
  58. package/internal/utils/log.d.ts.map +1 -1
  59. package/internal/utils/log.mjs.map +1 -1
  60. package/internal/utils/path.mjs.map +1 -1
  61. package/internal/utils/query.mjs.map +1 -1
  62. package/internal/utils/values.mjs.map +1 -1
  63. package/internal/utils.d.mts.map +1 -1
  64. package/internal/utils.d.ts.map +1 -1
  65. package/internal/utils.mjs.map +1 -1
  66. package/package.json +1 -1
  67. package/pagination.d.mts +0 -1
  68. package/pagination.d.mts.map +1 -1
  69. package/pagination.d.ts +0 -1
  70. package/pagination.d.ts.map +1 -1
  71. package/pagination.mjs +0 -1
  72. package/pagination.mjs.map +1 -1
  73. package/resource.d.mts +0 -1
  74. package/resource.d.mts.map +1 -1
  75. package/resource.d.ts +0 -1
  76. package/resource.d.ts.map +1 -1
  77. package/resource.mjs +0 -1
  78. package/resource.mjs.map +1 -1
  79. package/resources/attachments.d.mts.map +1 -1
  80. package/resources/attachments.d.ts.map +1 -1
  81. package/resources/attachments.mjs.map +1 -1
  82. package/resources/capability.d.mts.map +1 -1
  83. package/resources/capability.d.ts.map +1 -1
  84. package/resources/capability.mjs.map +1 -1
  85. package/resources/chats/chats.d.mts +63 -63
  86. package/resources/chats/chats.d.mts.map +1 -1
  87. package/resources/chats/chats.d.ts +63 -63
  88. package/resources/chats/chats.d.ts.map +1 -1
  89. package/resources/chats/chats.js +59 -59
  90. package/resources/chats/chats.js.map +1 -1
  91. package/resources/chats/chats.mjs +59 -59
  92. package/resources/chats/chats.mjs.map +1 -1
  93. package/resources/chats/index.d.mts +2 -2
  94. package/resources/chats/index.d.mts.map +1 -1
  95. package/resources/chats/index.d.ts +2 -2
  96. package/resources/chats/index.d.ts.map +1 -1
  97. package/resources/chats/index.mjs.map +1 -1
  98. package/resources/chats/messages.d.mts +17 -17
  99. package/resources/chats/messages.d.mts.map +1 -1
  100. package/resources/chats/messages.d.ts +17 -17
  101. package/resources/chats/messages.d.ts.map +1 -1
  102. package/resources/chats/messages.js +16 -16
  103. package/resources/chats/messages.js.map +1 -1
  104. package/resources/chats/messages.mjs +16 -16
  105. package/resources/chats/messages.mjs.map +1 -1
  106. package/resources/chats/participants.d.mts.map +1 -1
  107. package/resources/chats/participants.d.ts.map +1 -1
  108. package/resources/chats/participants.mjs.map +1 -1
  109. package/resources/chats/typing.d.mts.map +1 -1
  110. package/resources/chats/typing.d.ts.map +1 -1
  111. package/resources/chats/typing.mjs.map +1 -1
  112. package/resources/chats.d.mts.map +1 -1
  113. package/resources/chats.d.ts.map +1 -1
  114. package/resources/chats.mjs.map +1 -1
  115. package/resources/contact-card.d.mts +18 -18
  116. package/resources/contact-card.d.mts.map +1 -1
  117. package/resources/contact-card.d.ts +18 -18
  118. package/resources/contact-card.d.ts.map +1 -1
  119. package/resources/contact-card.js +12 -12
  120. package/resources/contact-card.js.map +1 -1
  121. package/resources/contact-card.mjs +12 -12
  122. package/resources/contact-card.mjs.map +1 -1
  123. package/resources/index.d.mts +3 -3
  124. package/resources/index.d.mts.map +1 -1
  125. package/resources/index.d.ts +3 -3
  126. package/resources/index.d.ts.map +1 -1
  127. package/resources/index.mjs.map +1 -1
  128. package/resources/messages.d.mts +34 -34
  129. package/resources/messages.d.mts.map +1 -1
  130. package/resources/messages.d.ts +34 -34
  131. package/resources/messages.d.ts.map +1 -1
  132. package/resources/messages.js +29 -29
  133. package/resources/messages.js.map +1 -1
  134. package/resources/messages.mjs +29 -29
  135. package/resources/messages.mjs.map +1 -1
  136. package/resources/phone-numbers.d.mts.map +1 -1
  137. package/resources/phone-numbers.d.ts.map +1 -1
  138. package/resources/phone-numbers.mjs.map +1 -1
  139. package/resources/phonenumbers.d.mts.map +1 -1
  140. package/resources/phonenumbers.d.ts.map +1 -1
  141. package/resources/phonenumbers.mjs.map +1 -1
  142. package/resources/webhook-events.d.mts.map +1 -1
  143. package/resources/webhook-events.d.ts.map +1 -1
  144. package/resources/webhook-events.mjs.map +1 -1
  145. package/resources/webhook-subscriptions.d.mts +11 -11
  146. package/resources/webhook-subscriptions.d.mts.map +1 -1
  147. package/resources/webhook-subscriptions.d.ts +11 -11
  148. package/resources/webhook-subscriptions.d.ts.map +1 -1
  149. package/resources/webhook-subscriptions.js +13 -13
  150. package/resources/webhook-subscriptions.js.map +1 -1
  151. package/resources/webhook-subscriptions.mjs +13 -13
  152. package/resources/webhook-subscriptions.mjs.map +1 -1
  153. package/resources/webhooks.d.mts.map +1 -1
  154. package/resources/webhooks.d.ts.map +1 -1
  155. package/resources/webhooks.mjs.map +1 -1
  156. package/resources.d.mts.map +1 -1
  157. package/resources.d.ts.map +1 -1
  158. package/resources.mjs.map +1 -1
  159. package/src/client.ts +4 -4
  160. package/src/resources/chats/chats.ts +78 -78
  161. package/src/resources/chats/index.ts +2 -2
  162. package/src/resources/chats/messages.ts +28 -28
  163. package/src/resources/contact-card.ts +25 -25
  164. package/src/resources/index.ts +4 -4
  165. package/src/resources/messages.ts +46 -46
  166. package/src/resources/webhook-subscriptions.ts +14 -14
  167. package/src/version.ts +1 -1
  168. package/uploads.d.mts +0 -1
  169. package/uploads.d.mts.map +1 -1
  170. package/uploads.d.ts +0 -1
  171. package/uploads.d.ts.map +1 -1
  172. package/uploads.mjs +0 -1
  173. package/uploads.mjs.map +1 -1
  174. package/version.d.mts +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
  177. package/version.mjs +1 -1
@@ -35,31 +35,6 @@ import { path } from '../../internal/utils/path';
35
35
  * - Maximum URL length: 2,048 characters.
36
36
  */
37
37
  export class Messages extends APIResource {
38
- /**
39
- * Retrieve messages from a specific chat with pagination support.
40
- *
41
- * @example
42
- * ```ts
43
- * // Automatically fetches more pages as needed.
44
- * for await (const message of client.chats.messages.list(
45
- * '550e8400-e29b-41d4-a716-446655440000',
46
- * )) {
47
- * // ...
48
- * }
49
- * ```
50
- */
51
- list(
52
- chatID: string,
53
- query: MessageListParams | null | undefined = {},
54
- options?: RequestOptions,
55
- ): PagePromise<MessagesListMessagesPagination, MessagesAPI.Message> {
56
- return this._client.getAPIList(
57
- path`/v3/chats/${chatID}/messages`,
58
- ListMessagesPagination<MessagesAPI.Message>,
59
- { query, ...options },
60
- );
61
- }
62
-
63
38
  /**
64
39
  * Send a message to an existing chat. Use this endpoint when you already have a
65
40
  * chat ID and want to send additional messages to it.
@@ -119,6 +94,31 @@ export class Messages extends APIResource {
119
94
  send(chatID: string, body: MessageSendParams, options?: RequestOptions): APIPromise<MessageSendResponse> {
120
95
  return this._client.post(path`/v3/chats/${chatID}/messages`, { body, ...options });
121
96
  }
97
+
98
+ /**
99
+ * Retrieve messages from a specific chat with pagination support.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * // Automatically fetches more pages as needed.
104
+ * for await (const message of client.chats.messages.list(
105
+ * '550e8400-e29b-41d4-a716-446655440000',
106
+ * )) {
107
+ * // ...
108
+ * }
109
+ * ```
110
+ */
111
+ list(
112
+ chatID: string,
113
+ query: MessageListParams | null | undefined = {},
114
+ options?: RequestOptions,
115
+ ): PagePromise<MessagesListMessagesPagination, MessagesAPI.Message> {
116
+ return this._client.getAPIList(
117
+ path`/v3/chats/${chatID}/messages`,
118
+ ListMessagesPagination<MessagesAPI.Message>,
119
+ { query, ...options },
120
+ );
121
+ }
122
122
  }
123
123
 
124
124
  /**
@@ -201,8 +201,6 @@ export interface MessageSendResponse {
201
201
  message: SentMessage;
202
202
  }
203
203
 
204
- export interface MessageListParams extends ListMessagesPaginationParams {}
205
-
206
204
  export interface MessageSendParams {
207
205
  /**
208
206
  * Message content container. Groups all message-related fields together,
@@ -212,12 +210,14 @@ export interface MessageSendParams {
212
210
  message: ChatsAPI.MessageContent;
213
211
  }
214
212
 
213
+ export interface MessageListParams extends ListMessagesPaginationParams {}
214
+
215
215
  export declare namespace Messages {
216
216
  export {
217
217
  type SentMessage as SentMessage,
218
218
  type MessageSendResponse as MessageSendResponse,
219
- type MessageListParams as MessageListParams,
220
219
  type MessageSendParams as MessageSendParams,
220
+ type MessageListParams as MessageListParams,
221
221
  };
222
222
  }
223
223
 
@@ -14,6 +14,22 @@ import { RequestOptions } from '../internal/request-options';
14
14
  * **Sharing behavior:** Sharing may not take effect in every chat due to limitations outside our control. We recommend calling the share endpoint once per day, after the first outbound activity.
15
15
  */
16
16
  export class ContactCard extends APIResource {
17
+ /**
18
+ * Returns the contact card for a specific phone number, or all contact cards for
19
+ * the authenticated partner if no `phone_number` is provided.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const contactCard = await client.contactCard.retrieve();
24
+ * ```
25
+ */
26
+ retrieve(
27
+ query: ContactCardRetrieveParams | null | undefined = {},
28
+ options?: RequestOptions,
29
+ ): APIPromise<ContactCardRetrieveResponse> {
30
+ return this._client.get('/v3/contact_card', { query, ...options });
31
+ }
32
+
17
33
  /**
18
34
  * Creates a contact card for a phone number. This endpoint is intended for
19
35
  * initial, one-time setup only.
@@ -40,22 +56,6 @@ export class ContactCard extends APIResource {
40
56
  return this._client.post('/v3/contact_card', { body, ...options });
41
57
  }
42
58
 
43
- /**
44
- * Returns the contact card for a specific phone number, or all contact cards for
45
- * the authenticated partner if no `phone_number` is provided.
46
- *
47
- * @example
48
- * ```ts
49
- * const contactCard = await client.contactCard.retrieve();
50
- * ```
51
- */
52
- retrieve(
53
- query: ContactCardRetrieveParams | null | undefined = {},
54
- options?: RequestOptions,
55
- ): APIPromise<ContactCardRetrieveResponse> {
56
- return this._client.get('/v3/contact_card', { query, ...options });
57
- }
58
-
59
59
  /**
60
60
  * Partially updates an existing active contact card for a phone number.
61
61
  *
@@ -127,6 +127,14 @@ export namespace ContactCardRetrieveResponse {
127
127
  }
128
128
  }
129
129
 
130
+ export interface ContactCardRetrieveParams {
131
+ /**
132
+ * E.164 phone number to filter by. If omitted, all my cards for the partner are
133
+ * returned.
134
+ */
135
+ phone_number?: string;
136
+ }
137
+
130
138
  export interface ContactCardCreateParams {
131
139
  /**
132
140
  * First name for the contact card. Required.
@@ -150,14 +158,6 @@ export interface ContactCardCreateParams {
150
158
  last_name?: string;
151
159
  }
152
160
 
153
- export interface ContactCardRetrieveParams {
154
- /**
155
- * E.164 phone number to filter by. If omitted, all my cards for the partner are
156
- * returned.
157
- */
158
- phone_number?: string;
159
- }
160
-
161
161
  export interface ContactCardUpdateParams {
162
162
  /**
163
163
  * Query param: E.164 phone number of the contact card to update
@@ -184,8 +184,8 @@ export declare namespace ContactCard {
184
184
  export {
185
185
  type SetContactCard as SetContactCard,
186
186
  type ContactCardRetrieveResponse as ContactCardRetrieveResponse,
187
- type ContactCardCreateParams as ContactCardCreateParams,
188
187
  type ContactCardRetrieveParams as ContactCardRetrieveParams,
188
+ type ContactCardCreateParams as ContactCardCreateParams,
189
189
  type ContactCardUpdateParams as ContactCardUpdateParams,
190
190
  };
191
191
  }
@@ -27,8 +27,8 @@ export {
27
27
  type ChatLeaveChatResponse,
28
28
  type ChatSendVoicememoResponse,
29
29
  type ChatCreateParams,
30
- type ChatUpdateParams,
31
30
  type ChatListChatsParams,
31
+ type ChatUpdateParams,
32
32
  type ChatSendVoicememoParams,
33
33
  type ChatsListChatsPagination,
34
34
  } from './chats/chats';
@@ -36,8 +36,8 @@ export {
36
36
  ContactCard,
37
37
  type SetContactCard,
38
38
  type ContactCardRetrieveResponse,
39
- type ContactCardCreateParams,
40
39
  type ContactCardRetrieveParams,
40
+ type ContactCardCreateParams,
41
41
  type ContactCardUpdateParams,
42
42
  } from './contact-card';
43
43
  export {
@@ -46,9 +46,9 @@ export {
46
46
  type MessageEffect,
47
47
  type ReplyTo,
48
48
  type MessageAddReactionResponse,
49
- type MessageUpdateParams,
50
- type MessageAddReactionParams,
51
49
  type MessageListMessagesThreadParams,
50
+ type MessageAddReactionParams,
51
+ type MessageUpdateParams,
52
52
  type MessagesListMessagesPagination,
53
53
  } from './messages';
54
54
  export { PhoneNumbers, type PhoneNumberListResponse } from './phone-numbers';
@@ -30,36 +30,47 @@ import { path } from '../internal/utils/path';
30
30
  */
31
31
  export class Messages extends APIResource {
32
32
  /**
33
- * Retrieve a specific message by its ID. This endpoint returns the full message
34
- * details including text, attachments, reactions, and metadata.
33
+ * Retrieve all messages in a conversation thread. Given any message ID in the
34
+ * thread, returns the originator message and all replies in chronological order.
35
+ *
36
+ * If the message is not part of a thread, returns just that single message.
37
+ *
38
+ * Supports pagination and configurable ordering.
35
39
  *
36
40
  * @example
37
41
  * ```ts
38
- * const message = await client.messages.retrieve(
42
+ * // Automatically fetches more pages as needed.
43
+ * for await (const message of client.messages.listMessagesThread(
39
44
  * '69a37c7d-af4f-4b5e-af42-e28e98ce873a',
40
- * );
45
+ * )) {
46
+ * // ...
47
+ * }
41
48
  * ```
42
49
  */
43
- retrieve(messageID: string, options?: RequestOptions): APIPromise<Message> {
44
- return this._client.get(path`/v3/messages/${messageID}`, options);
50
+ listMessagesThread(
51
+ messageID: string,
52
+ query: MessageListMessagesThreadParams | null | undefined = {},
53
+ options?: RequestOptions,
54
+ ): PagePromise<MessagesListMessagesPagination, Message> {
55
+ return this._client.getAPIList(path`/v3/messages/${messageID}/thread`, ListMessagesPagination<Message>, {
56
+ query,
57
+ ...options,
58
+ });
45
59
  }
46
60
 
47
61
  /**
48
- * Edit the text content of a specific part of a previously sent message.
49
- *
50
- * **Note:** A message can be edited up to 5 times, and only within 15 minutes of
51
- * when it was originally sent.
62
+ * Retrieve a specific message by its ID. This endpoint returns the full message
63
+ * details including text, attachments, reactions, and metadata.
52
64
  *
53
65
  * @example
54
66
  * ```ts
55
- * const message = await client.messages.update(
67
+ * const message = await client.messages.retrieve(
56
68
  * '69a37c7d-af4f-4b5e-af42-e28e98ce873a',
57
- * { text: 'This is the edited message content' },
58
69
  * );
59
70
  * ```
60
71
  */
61
- update(messageID: string, body: MessageUpdateParams, options?: RequestOptions): APIPromise<Message> {
62
- return this._client.patch(path`/v3/messages/${messageID}`, { body, ...options });
72
+ retrieve(messageID: string, options?: RequestOptions): APIPromise<Message> {
73
+ return this._client.get(path`/v3/messages/${messageID}`, options);
63
74
  }
64
75
 
65
76
  /**
@@ -111,32 +122,21 @@ export class Messages extends APIResource {
111
122
  }
112
123
 
113
124
  /**
114
- * Retrieve all messages in a conversation thread. Given any message ID in the
115
- * thread, returns the originator message and all replies in chronological order.
116
- *
117
- * If the message is not part of a thread, returns just that single message.
125
+ * Edit the text content of a specific part of a previously sent message.
118
126
  *
119
- * Supports pagination and configurable ordering.
127
+ * **Note:** A message can be edited up to 5 times, and only within 15 minutes of
128
+ * when it was originally sent.
120
129
  *
121
130
  * @example
122
131
  * ```ts
123
- * // Automatically fetches more pages as needed.
124
- * for await (const message of client.messages.listMessagesThread(
132
+ * const message = await client.messages.update(
125
133
  * '69a37c7d-af4f-4b5e-af42-e28e98ce873a',
126
- * )) {
127
- * // ...
128
- * }
134
+ * { text: 'This is the edited message content' },
135
+ * );
129
136
  * ```
130
137
  */
131
- listMessagesThread(
132
- messageID: string,
133
- query: MessageListMessagesThreadParams | null | undefined = {},
134
- options?: RequestOptions,
135
- ): PagePromise<MessagesListMessagesPagination, Message> {
136
- return this._client.getAPIList(path`/v3/messages/${messageID}/thread`, ListMessagesPagination<Message>, {
137
- query,
138
- ...options,
139
- });
138
+ update(messageID: string, body: MessageUpdateParams, options?: RequestOptions): APIPromise<Message> {
139
+ return this._client.patch(path`/v3/messages/${messageID}`, { body, ...options });
140
140
  }
141
141
  }
142
142
 
@@ -274,16 +274,11 @@ export interface MessageAddReactionResponse {
274
274
  trace_id?: string;
275
275
  }
276
276
 
277
- export interface MessageUpdateParams {
278
- /**
279
- * New text content for the message part
280
- */
281
- text: string;
282
-
277
+ export interface MessageListMessagesThreadParams extends ListMessagesPaginationParams {
283
278
  /**
284
- * Index of the message part to edit. Defaults to 0.
279
+ * Sort order for messages (asc = oldest first, desc = newest first)
285
280
  */
286
- part_index?: number;
281
+ order?: 'asc' | 'desc';
287
282
  }
288
283
 
289
284
  export interface MessageAddReactionParams {
@@ -312,11 +307,16 @@ export interface MessageAddReactionParams {
312
307
  part_index?: number;
313
308
  }
314
309
 
315
- export interface MessageListMessagesThreadParams extends ListMessagesPaginationParams {
310
+ export interface MessageUpdateParams {
316
311
  /**
317
- * Sort order for messages (asc = oldest first, desc = newest first)
312
+ * New text content for the message part
318
313
  */
319
- order?: 'asc' | 'desc';
314
+ text: string;
315
+
316
+ /**
317
+ * Index of the message part to edit. Defaults to 0.
318
+ */
319
+ part_index?: number;
320
320
  }
321
321
 
322
322
  export declare namespace Messages {
@@ -326,8 +326,8 @@ export declare namespace Messages {
326
326
  type ReplyTo as ReplyTo,
327
327
  type MessageAddReactionResponse as MessageAddReactionResponse,
328
328
  type MessagesListMessagesPagination as MessagesListMessagesPagination,
329
- type MessageUpdateParams as MessageUpdateParams,
330
- type MessageAddReactionParams as MessageAddReactionParams,
331
329
  type MessageListMessagesThreadParams as MessageListMessagesThreadParams,
330
+ type MessageAddReactionParams as MessageAddReactionParams,
331
+ type MessageUpdateParams as MessageUpdateParams,
332
332
  };
333
333
  }
@@ -142,6 +142,20 @@ export class WebhookSubscriptions extends APIResource {
142
142
  return this._client.post('/v3/webhook-subscriptions', { body, ...options });
143
143
  }
144
144
 
145
+ /**
146
+ * Retrieve all webhook subscriptions for the authenticated partner. Returns a list
147
+ * of active and inactive subscriptions with their configuration and status.
148
+ *
149
+ * @example
150
+ * ```ts
151
+ * const webhookSubscriptions =
152
+ * await client.webhookSubscriptions.list();
153
+ * ```
154
+ */
155
+ list(options?: RequestOptions): APIPromise<WebhookSubscriptionListResponse> {
156
+ return this._client.get('/v3/webhook-subscriptions', options);
157
+ }
158
+
145
159
  /**
146
160
  * Retrieve details for a specific webhook subscription including its target URL,
147
161
  * subscribed events, and current status.
@@ -184,20 +198,6 @@ export class WebhookSubscriptions extends APIResource {
184
198
  return this._client.put(path`/v3/webhook-subscriptions/${subscriptionID}`, { body, ...options });
185
199
  }
186
200
 
187
- /**
188
- * Retrieve all webhook subscriptions for the authenticated partner. Returns a list
189
- * of active and inactive subscriptions with their configuration and status.
190
- *
191
- * @example
192
- * ```ts
193
- * const webhookSubscriptions =
194
- * await client.webhookSubscriptions.list();
195
- * ```
196
- */
197
- list(options?: RequestOptions): APIPromise<WebhookSubscriptionListResponse> {
198
- return this._client.get('/v3/webhook-subscriptions', options);
199
- }
200
-
201
201
  /**
202
202
  * Delete a webhook subscription.
203
203
  *
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.24.1'; // x-release-please-version
1
+ export const VERSION = '0.25.0'; // x-release-please-version
package/uploads.d.mts CHANGED
@@ -1,3 +1,2 @@
1
- /** @deprecated Import from ./core/uploads instead */
2
1
  export * from "./core/uploads.mjs";
3
2
  //# sourceMappingURL=uploads.d.mts.map
package/uploads.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
1
+ {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
package/uploads.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- /** @deprecated Import from ./core/uploads instead */
2
1
  export * from "./core/uploads.js";
3
2
  //# sourceMappingURL=uploads.d.ts.map
package/uploads.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
1
+ {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
package/uploads.mjs CHANGED
@@ -1,3 +1,2 @@
1
- /** @deprecated Import from ./core/uploads instead */
2
1
  export * from "./core/uploads.mjs";
3
2
  //# sourceMappingURL=uploads.mjs.map
package/uploads.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
1
+ {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.24.1";
1
+ export declare const VERSION = "0.25.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.24.1";
1
+ export declare const VERSION = "0.25.0";
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.24.1'; // x-release-please-version
4
+ exports.VERSION = '0.25.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.24.1'; // x-release-please-version
1
+ export const VERSION = '0.25.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map