@sentdm/sentdm 0.35.0 → 0.37.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.
- package/CHANGELOG.md +18 -0
- package/client.d.mts +14 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -14
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/contacts.d.mts +85 -589
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +85 -589
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +4 -4
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +4 -4
- package/resources/contacts.mjs.map +1 -1
- package/resources/conversations.d.mts +69 -328
- package/resources/conversations.d.mts.map +1 -1
- package/resources/conversations.d.ts +69 -328
- package/resources/conversations.d.ts.map +1 -1
- package/resources/conversations.js +10 -8
- package/resources/conversations.js.map +1 -1
- package/resources/conversations.mjs +10 -8
- package/resources/conversations.mjs.map +1 -1
- package/resources/index.d.mts +7 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me.d.mts +81 -129
- package/resources/me.d.mts.map +1 -1
- package/resources/me.d.ts +81 -129
- package/resources/me.d.ts.map +1 -1
- package/resources/me.js +11 -0
- package/resources/me.js.map +1 -1
- package/resources/me.mjs +11 -0
- package/resources/me.mjs.map +1 -1
- package/resources/messages.d.mts +8 -171
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +8 -171
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs.map +1 -1
- package/resources/numbers.d.mts +3 -42
- package/resources/numbers.d.mts.map +1 -1
- package/resources/numbers.d.ts +3 -42
- package/resources/numbers.d.ts.map +1 -1
- package/resources/numbers.js.map +1 -1
- package/resources/numbers.mjs.map +1 -1
- package/resources/profiles/campaigns.d.mts +149 -544
- package/resources/profiles/campaigns.d.mts.map +1 -1
- package/resources/profiles/campaigns.d.ts +149 -544
- package/resources/profiles/campaigns.d.ts.map +1 -1
- package/resources/profiles/index.d.mts +2 -2
- package/resources/profiles/index.d.mts.map +1 -1
- package/resources/profiles/index.d.ts +2 -2
- package/resources/profiles/index.d.ts.map +1 -1
- package/resources/profiles/index.js.map +1 -1
- package/resources/profiles/index.mjs.map +1 -1
- package/resources/profiles/profiles.d.mts +411 -1821
- package/resources/profiles/profiles.d.mts.map +1 -1
- package/resources/profiles/profiles.d.ts +411 -1821
- package/resources/profiles/profiles.d.ts.map +1 -1
- package/resources/profiles/profiles.js.map +1 -1
- package/resources/profiles/profiles.mjs.map +1 -1
- package/resources/templates.d.mts +84 -486
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +84 -486
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +3 -3
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +3 -3
- package/resources/templates.mjs.map +1 -1
- package/resources/users.d.mts +47 -437
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +47 -437
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -3
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -3
- package/resources/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +189 -768
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +189 -768
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +7 -6
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +7 -6
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +52 -39
- package/src/resources/contacts.ts +88 -678
- package/src/resources/conversations.ts +77 -393
- package/src/resources/index.ts +26 -20
- package/src/resources/me.ts +94 -148
- package/src/resources/messages.ts +8 -194
- package/src/resources/numbers.ts +3 -47
- package/src/resources/profiles/campaigns.ts +174 -673
- package/src/resources/profiles/index.ts +14 -6
- package/src/resources/profiles/profiles.ts +529 -2216
- package/src/resources/templates.ts +100 -572
- package/src/resources/users.ts +48 -505
- package/src/resources/webhooks.ts +297 -996
- 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,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as WebhooksAPI from "./webhooks.js";
|
|
2
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
5
|
/**
|
|
@@ -15,378 +16,118 @@ export declare class Conversations extends APIResource {
|
|
|
15
16
|
*
|
|
16
17
|
* @example
|
|
17
18
|
* ```ts
|
|
18
|
-
* const
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* const apiResponseOfConversationMessagesList =
|
|
20
|
+
* await client.conversations.list({
|
|
21
|
+
* page: 0,
|
|
22
|
+
* page_size: 0,
|
|
23
|
+
* });
|
|
22
24
|
* ```
|
|
23
25
|
*/
|
|
24
|
-
list(params: ConversationListParams, options?: RequestOptions): APIPromise<
|
|
26
|
+
list(params: ConversationListParams, options?: RequestOptions): APIPromise<APIResponseOfConversationMessagesList>;
|
|
25
27
|
/**
|
|
26
28
|
* Retrieves a paginated list of the messages in a single conversation (scoped to
|
|
27
29
|
* the authenticated customer), ordered by created date (most recent first).
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
30
32
|
* ```ts
|
|
31
|
-
* const
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* const apiResponseOfConversationMessagesList =
|
|
34
|
+
* await client.conversations.listMessages(
|
|
35
|
+
* '08fab313-c9e2-502c-975e-08b0356c432e',
|
|
36
|
+
* { page: 0, page_size: 0 },
|
|
37
|
+
* );
|
|
35
38
|
* ```
|
|
36
39
|
*/
|
|
37
|
-
listMessages(id: string, params: ConversationListMessagesParams, options?: RequestOptions): APIPromise<
|
|
40
|
+
listMessages(id: string, params: ConversationListMessagesParams, options?: RequestOptions): APIPromise<APIResponseOfConversationMessagesList>;
|
|
38
41
|
}
|
|
39
42
|
/**
|
|
40
43
|
* Standard API response envelope for all v3 endpoints
|
|
41
44
|
*/
|
|
42
|
-
export interface
|
|
45
|
+
export interface APIResponseOfConversationMessagesList {
|
|
43
46
|
/**
|
|
44
47
|
* A paginated list of messages — used by both conversation read endpoints.
|
|
45
48
|
*/
|
|
46
|
-
data?:
|
|
49
|
+
data?: ConversationMessagesList | null;
|
|
47
50
|
/**
|
|
48
51
|
* Error information
|
|
49
52
|
*/
|
|
50
|
-
error?:
|
|
53
|
+
error?: WebhooksAPI.ErrorDetail | null;
|
|
51
54
|
/**
|
|
52
55
|
* Request and response metadata
|
|
53
56
|
*/
|
|
54
|
-
meta?:
|
|
57
|
+
meta?: WebhooksAPI.APIMeta;
|
|
55
58
|
/**
|
|
56
59
|
* Indicates whether the request was successful
|
|
57
60
|
*/
|
|
58
61
|
success?: boolean;
|
|
59
62
|
}
|
|
60
|
-
export declare namespace ConversationListResponse {
|
|
61
|
-
/**
|
|
62
|
-
* A paginated list of messages — used by both conversation read endpoints.
|
|
63
|
-
*/
|
|
64
|
-
interface Data {
|
|
65
|
-
/**
|
|
66
|
-
* The messages on this page.
|
|
67
|
-
*/
|
|
68
|
-
messages?: Array<Data.Message>;
|
|
69
|
-
/**
|
|
70
|
-
* Pagination metadata for list responses
|
|
71
|
-
*/
|
|
72
|
-
pagination?: Data.Pagination;
|
|
73
|
-
}
|
|
74
|
-
namespace Data {
|
|
75
|
-
/**
|
|
76
|
-
* Message response for v3 API — same shape as v2 with snake_case JSON conventions
|
|
77
|
-
*/
|
|
78
|
-
interface Message {
|
|
79
|
-
id?: string;
|
|
80
|
-
active_contact_price?: number | null;
|
|
81
|
-
channel?: string;
|
|
82
|
-
contact_id?: string;
|
|
83
|
-
created_at?: string;
|
|
84
|
-
customer_id?: string;
|
|
85
|
-
direction?: string;
|
|
86
|
-
events?: Array<Message.Event> | null;
|
|
87
|
-
/**
|
|
88
|
-
* Structured message body format for database storage. Preserves channel-specific
|
|
89
|
-
* components (header, body, footer, buttons).
|
|
90
|
-
*/
|
|
91
|
-
message_body?: Message.MessageBody | null;
|
|
92
|
-
phone?: string;
|
|
93
|
-
phone_international?: string;
|
|
94
|
-
price?: number | null;
|
|
95
|
-
region_code?: string;
|
|
96
|
-
status?: string;
|
|
97
|
-
template_category?: string | null;
|
|
98
|
-
template_id?: string | null;
|
|
99
|
-
template_name?: string | null;
|
|
100
|
-
}
|
|
101
|
-
namespace Message {
|
|
102
|
-
/**
|
|
103
|
-
* Represents a status change event in a message's lifecycle (v3)
|
|
104
|
-
*/
|
|
105
|
-
interface Event {
|
|
106
|
-
status: string;
|
|
107
|
-
timestamp: string;
|
|
108
|
-
description?: string | null;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Structured message body format for database storage. Preserves channel-specific
|
|
112
|
-
* components (header, body, footer, buttons).
|
|
113
|
-
*/
|
|
114
|
-
interface MessageBody {
|
|
115
|
-
buttons?: Array<MessageBody.Button> | null;
|
|
116
|
-
content?: string;
|
|
117
|
-
footer?: string | null;
|
|
118
|
-
header?: string | null;
|
|
119
|
-
}
|
|
120
|
-
namespace MessageBody {
|
|
121
|
-
interface Button {
|
|
122
|
-
postbackData?: string | null;
|
|
123
|
-
text?: string | null;
|
|
124
|
-
type?: string;
|
|
125
|
-
value?: string;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Pagination metadata for list responses
|
|
131
|
-
*/
|
|
132
|
-
interface Pagination {
|
|
133
|
-
/**
|
|
134
|
-
* @deprecated Cursor-based pagination. Never populated — see Cursors.
|
|
135
|
-
*/
|
|
136
|
-
cursors?: Pagination.Cursors | null;
|
|
137
|
-
/**
|
|
138
|
-
* Whether there are more pages after this one
|
|
139
|
-
*/
|
|
140
|
-
has_more?: boolean;
|
|
141
|
-
/**
|
|
142
|
-
* Current page number (1-indexed)
|
|
143
|
-
*/
|
|
144
|
-
page?: number;
|
|
145
|
-
/**
|
|
146
|
-
* Number of items per page
|
|
147
|
-
*/
|
|
148
|
-
page_size?: number;
|
|
149
|
-
/**
|
|
150
|
-
* Total number of items across all pages
|
|
151
|
-
*/
|
|
152
|
-
total_count?: number;
|
|
153
|
-
/**
|
|
154
|
-
* Total number of pages
|
|
155
|
-
*/
|
|
156
|
-
total_pages?: number;
|
|
157
|
-
}
|
|
158
|
-
namespace Pagination {
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated Cursor-based pagination. Never populated — see Cursors.
|
|
161
|
-
*/
|
|
162
|
-
interface Cursors {
|
|
163
|
-
/**
|
|
164
|
-
* Cursor to fetch the next page.
|
|
165
|
-
*/
|
|
166
|
-
after?: string | null;
|
|
167
|
-
/**
|
|
168
|
-
* Cursor to fetch the previous page.
|
|
169
|
-
*/
|
|
170
|
-
before?: string | null;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Error information
|
|
176
|
-
*/
|
|
177
|
-
interface Error {
|
|
178
|
-
/**
|
|
179
|
-
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
180
|
-
*/
|
|
181
|
-
code?: string;
|
|
182
|
-
/**
|
|
183
|
-
* Additional validation error details (field-level errors)
|
|
184
|
-
*/
|
|
185
|
-
details?: {
|
|
186
|
-
[key: string]: Array<string>;
|
|
187
|
-
} | null;
|
|
188
|
-
/**
|
|
189
|
-
* URL to documentation about this error
|
|
190
|
-
*/
|
|
191
|
-
doc_url?: string | null;
|
|
192
|
-
/**
|
|
193
|
-
* Human-readable error message
|
|
194
|
-
*/
|
|
195
|
-
message?: string;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Request and response metadata
|
|
199
|
-
*/
|
|
200
|
-
interface Meta {
|
|
201
|
-
/**
|
|
202
|
-
* Unique identifier for this request (for tracing and support)
|
|
203
|
-
*/
|
|
204
|
-
request_id?: string;
|
|
205
|
-
/**
|
|
206
|
-
* Server timestamp when the response was generated
|
|
207
|
-
*/
|
|
208
|
-
timestamp?: string;
|
|
209
|
-
/**
|
|
210
|
-
* API version used for this request
|
|
211
|
-
*/
|
|
212
|
-
version?: string;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
63
|
/**
|
|
216
|
-
*
|
|
64
|
+
* A paginated list of messages — used by both conversation read endpoints.
|
|
217
65
|
*/
|
|
218
|
-
export interface
|
|
219
|
-
/**
|
|
220
|
-
* A paginated list of messages — used by both conversation read endpoints.
|
|
221
|
-
*/
|
|
222
|
-
data?: ConversationListMessagesResponse.Data | null;
|
|
66
|
+
export interface ConversationMessagesList {
|
|
223
67
|
/**
|
|
224
|
-
*
|
|
68
|
+
* The messages on this page.
|
|
225
69
|
*/
|
|
226
|
-
|
|
70
|
+
messages?: Array<ConversationMessagesList.Message>;
|
|
227
71
|
/**
|
|
228
|
-
*
|
|
72
|
+
* Pagination metadata for list responses
|
|
229
73
|
*/
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Indicates whether the request was successful
|
|
233
|
-
*/
|
|
234
|
-
success?: boolean;
|
|
74
|
+
pagination?: WebhooksAPI.PaginationMeta;
|
|
235
75
|
}
|
|
236
|
-
export declare namespace
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
*/
|
|
240
|
-
interface
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
76
|
+
export declare namespace ConversationMessagesList {
|
|
77
|
+
/**
|
|
78
|
+
* Message response for v3 API — same shape as v2 with snake_case JSON conventions
|
|
79
|
+
*/
|
|
80
|
+
interface Message {
|
|
81
|
+
id?: string;
|
|
82
|
+
active_contact_price?: number | null;
|
|
83
|
+
channel?: string;
|
|
84
|
+
contact_id?: string;
|
|
85
|
+
created_at?: string;
|
|
86
|
+
customer_id?: string;
|
|
87
|
+
direction?: string;
|
|
88
|
+
events?: Array<Message.Event> | null;
|
|
89
|
+
/**
|
|
90
|
+
* Structured message body format for database storage. Preserves channel-specific
|
|
91
|
+
* components (header, body, footer, buttons).
|
|
92
|
+
*/
|
|
93
|
+
message_body?: Message.MessageBody | null;
|
|
94
|
+
phone?: string;
|
|
95
|
+
phone_international?: string;
|
|
96
|
+
price?: number | null;
|
|
97
|
+
region_code?: string;
|
|
98
|
+
status?: string;
|
|
99
|
+
template_category?: string | null;
|
|
100
|
+
template_id?: string | null;
|
|
101
|
+
template_name?: string | null;
|
|
249
102
|
}
|
|
250
|
-
namespace
|
|
103
|
+
namespace Message {
|
|
251
104
|
/**
|
|
252
|
-
*
|
|
105
|
+
* Represents a status change event in a message's lifecycle (v3)
|
|
253
106
|
*/
|
|
254
|
-
interface
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
contact_id?: string;
|
|
259
|
-
created_at?: string;
|
|
260
|
-
customer_id?: string;
|
|
261
|
-
direction?: string;
|
|
262
|
-
events?: Array<Message.Event> | null;
|
|
263
|
-
/**
|
|
264
|
-
* Structured message body format for database storage. Preserves channel-specific
|
|
265
|
-
* components (header, body, footer, buttons).
|
|
266
|
-
*/
|
|
267
|
-
message_body?: Message.MessageBody | null;
|
|
268
|
-
phone?: string;
|
|
269
|
-
phone_international?: string;
|
|
270
|
-
price?: number | null;
|
|
271
|
-
region_code?: string;
|
|
272
|
-
status?: string;
|
|
273
|
-
template_category?: string | null;
|
|
274
|
-
template_id?: string | null;
|
|
275
|
-
template_name?: string | null;
|
|
276
|
-
}
|
|
277
|
-
namespace Message {
|
|
278
|
-
/**
|
|
279
|
-
* Represents a status change event in a message's lifecycle (v3)
|
|
280
|
-
*/
|
|
281
|
-
interface Event {
|
|
282
|
-
status: string;
|
|
283
|
-
timestamp: string;
|
|
284
|
-
description?: string | null;
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* Structured message body format for database storage. Preserves channel-specific
|
|
288
|
-
* components (header, body, footer, buttons).
|
|
289
|
-
*/
|
|
290
|
-
interface MessageBody {
|
|
291
|
-
buttons?: Array<MessageBody.Button> | null;
|
|
292
|
-
content?: string;
|
|
293
|
-
footer?: string | null;
|
|
294
|
-
header?: string | null;
|
|
295
|
-
}
|
|
296
|
-
namespace MessageBody {
|
|
297
|
-
interface Button {
|
|
298
|
-
postbackData?: string | null;
|
|
299
|
-
text?: string | null;
|
|
300
|
-
type?: string;
|
|
301
|
-
value?: string;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
107
|
+
interface Event {
|
|
108
|
+
status: string;
|
|
109
|
+
timestamp: string;
|
|
110
|
+
description?: string | null;
|
|
304
111
|
}
|
|
305
112
|
/**
|
|
306
|
-
*
|
|
113
|
+
* Structured message body format for database storage. Preserves channel-specific
|
|
114
|
+
* components (header, body, footer, buttons).
|
|
307
115
|
*/
|
|
308
|
-
interface
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* Whether there are more pages after this one
|
|
315
|
-
*/
|
|
316
|
-
has_more?: boolean;
|
|
317
|
-
/**
|
|
318
|
-
* Current page number (1-indexed)
|
|
319
|
-
*/
|
|
320
|
-
page?: number;
|
|
321
|
-
/**
|
|
322
|
-
* Number of items per page
|
|
323
|
-
*/
|
|
324
|
-
page_size?: number;
|
|
325
|
-
/**
|
|
326
|
-
* Total number of items across all pages
|
|
327
|
-
*/
|
|
328
|
-
total_count?: number;
|
|
329
|
-
/**
|
|
330
|
-
* Total number of pages
|
|
331
|
-
*/
|
|
332
|
-
total_pages?: number;
|
|
116
|
+
interface MessageBody {
|
|
117
|
+
buttons?: Array<MessageBody.Button> | null;
|
|
118
|
+
content?: string;
|
|
119
|
+
footer?: string | null;
|
|
120
|
+
header?: string | null;
|
|
333
121
|
}
|
|
334
|
-
namespace
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
* Cursor to fetch the next page.
|
|
341
|
-
*/
|
|
342
|
-
after?: string | null;
|
|
343
|
-
/**
|
|
344
|
-
* Cursor to fetch the previous page.
|
|
345
|
-
*/
|
|
346
|
-
before?: string | null;
|
|
122
|
+
namespace MessageBody {
|
|
123
|
+
interface Button {
|
|
124
|
+
postbackData?: string | null;
|
|
125
|
+
text?: string | null;
|
|
126
|
+
type?: string;
|
|
127
|
+
value?: string;
|
|
347
128
|
}
|
|
348
129
|
}
|
|
349
130
|
}
|
|
350
|
-
/**
|
|
351
|
-
* Error information
|
|
352
|
-
*/
|
|
353
|
-
interface Error {
|
|
354
|
-
/**
|
|
355
|
-
* Machine-readable error code (e.g., "RESOURCE_001")
|
|
356
|
-
*/
|
|
357
|
-
code?: string;
|
|
358
|
-
/**
|
|
359
|
-
* Additional validation error details (field-level errors)
|
|
360
|
-
*/
|
|
361
|
-
details?: {
|
|
362
|
-
[key: string]: Array<string>;
|
|
363
|
-
} | null;
|
|
364
|
-
/**
|
|
365
|
-
* URL to documentation about this error
|
|
366
|
-
*/
|
|
367
|
-
doc_url?: string | null;
|
|
368
|
-
/**
|
|
369
|
-
* Human-readable error message
|
|
370
|
-
*/
|
|
371
|
-
message?: string;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Request and response metadata
|
|
375
|
-
*/
|
|
376
|
-
interface Meta {
|
|
377
|
-
/**
|
|
378
|
-
* Unique identifier for this request (for tracing and support)
|
|
379
|
-
*/
|
|
380
|
-
request_id?: string;
|
|
381
|
-
/**
|
|
382
|
-
* Server timestamp when the response was generated
|
|
383
|
-
*/
|
|
384
|
-
timestamp?: string;
|
|
385
|
-
/**
|
|
386
|
-
* API version used for this request
|
|
387
|
-
*/
|
|
388
|
-
version?: string;
|
|
389
|
-
}
|
|
390
131
|
}
|
|
391
132
|
export interface ConversationListParams {
|
|
392
133
|
/**
|
|
@@ -421,6 +162,6 @@ export interface ConversationListMessagesParams {
|
|
|
421
162
|
'x-profile-id'?: string;
|
|
422
163
|
}
|
|
423
164
|
export declare namespace Conversations {
|
|
424
|
-
export { type
|
|
165
|
+
export { type APIResponseOfConversationMessagesList as APIResponseOfConversationMessagesList, type ConversationMessagesList as ConversationMessagesList, type ConversationListParams as ConversationListParams, type ConversationListMessagesParams as ConversationListMessagesParams, };
|
|
425
166
|
}
|
|
426
167
|
//# sourceMappingURL=conversations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;;;GAMG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;IAYpD;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,8BAA8B,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAWrD;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAEvC;;O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
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
22
|
-
* const
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* const apiResponseOfConversationMessagesList =
|
|
23
|
+
* await client.conversations.list({
|
|
24
|
+
* page: 0,
|
|
25
|
+
* page_size: 0,
|
|
26
|
+
* });
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
list(params, options) {
|
|
@@ -42,10 +43,11 @@ class Conversations extends resource_1.APIResource {
|
|
|
42
43
|
*
|
|
43
44
|
* @example
|
|
44
45
|
* ```ts
|
|
45
|
-
* const
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
46
|
+
* const apiResponseOfConversationMessagesList =
|
|
47
|
+
* await client.conversations.listMessages(
|
|
48
|
+
* '08fab313-c9e2-502c-975e-08b0356c432e',
|
|
49
|
+
* { page: 0, page_size: 0 },
|
|
50
|
+
* );
|
|
49
51
|
* ```
|
|
50
52
|
*/
|
|
51
53
|
listMessages(id, params, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;;;;;GAMG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;YAC3C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE;YACrD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAzDD,sCAyDC"}
|
|
@@ -16,10 +16,11 @@ export class Conversations extends APIResource {
|
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
|
-
* const
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* const apiResponseOfConversationMessagesList =
|
|
20
|
+
* await client.conversations.list({
|
|
21
|
+
* page: 0,
|
|
22
|
+
* page_size: 0,
|
|
23
|
+
* });
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
26
|
list(params, options) {
|
|
@@ -39,10 +40,11 @@ export class Conversations extends APIResource {
|
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
41
42
|
* ```ts
|
|
42
|
-
* const
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* const apiResponseOfConversationMessagesList =
|
|
44
|
+
* await client.conversations.listMessages(
|
|
45
|
+
* '08fab313-c9e2-502c-975e-08b0356c432e',
|
|
46
|
+
* { page: 0, page_size: 0 },
|
|
47
|
+
* );
|
|
46
48
|
* ```
|
|
47
49
|
*/
|
|
48
50
|
listMessages(id, params, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../src/resources/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;;;;;GAMG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE;YAC3C,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE;YACrD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Contacts, type
|
|
2
|
-
export { Conversations, type
|
|
3
|
-
export { Me, type MeRetrieveResponse, type MeRetrieveParams } from "./me.mjs";
|
|
1
|
+
export { Contacts, type APIResponseOfContact, type APIResponseOfContactMessageSummary, type ContactMessageSummary, type ContactResponse, type ContactListResponse, type ContactCreateParams, type ContactRetrieveParams, type ContactUpdateParams, type ContactListParams, type ContactDeleteParams, type ContactRetrieveMessageSummaryParams, } from "./contacts.mjs";
|
|
2
|
+
export { Conversations, type APIResponseOfConversationMessagesList, type ConversationMessagesList, type ConversationListParams, type ConversationListMessagesParams, } from "./conversations.mjs";
|
|
3
|
+
export { Me, type ProfileSettings, type MeRetrieveResponse, type MeRetrieveParams } from "./me.mjs";
|
|
4
4
|
export { Messages, type MessageRetrieveActivitiesResponse, type MessageRetrieveStatusResponse, type MessageSendResponse, type MessageRetrieveActivitiesParams, type MessageRetrieveStatusParams, type MessageSendParams, } from "./messages.mjs";
|
|
5
5
|
export { Numbers, type NumberLookupResponse, type NumberLookupParams } from "./numbers.mjs";
|
|
6
|
-
export { Profiles, type
|
|
7
|
-
export { Templates, type AuthenticationConfig, type TemplateBody, type TemplateBodyContent, type TemplateButton, type TemplateButtonProps, type TemplateDefinition, type TemplateFooter, type TemplateHeader, type TemplateVariable, type
|
|
8
|
-
export { Users, type
|
|
9
|
-
export { Webhooks, type InboundMessageEvent, type InboundMessageEventPayload, type MessageEvent, type MessageEventPayload, type
|
|
6
|
+
export { Profiles, type APIResponseOfProfileDetail, type BillingContactInfo, type BrandBusinessInfo, type BrandComplianceInfo, type BrandContactInfo, type BrandsBrandData, type DestinationCountry, type PaymentDetails, type ProfileDetail, type TcrBrandRelationship, type TcrVertical, type ProfileListResponse, type ProfileCompleteResponse, type ProfileCreateParams, type ProfileRetrieveParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDeleteParams, type ProfileCompleteParams, } from "./profiles/profiles.mjs";
|
|
7
|
+
export { Templates, type APIResponseTemplate, type AuthenticationConfig, type Template, type TemplateBody, type TemplateBodyContent, type TemplateButton, type TemplateButtonProps, type TemplateDefinition, type TemplateFooter, type TemplateHeader, type TemplateVariable, type TemplateListResponse, type TemplateCreateParams, type TemplateRetrieveParams, type TemplateUpdateParams, type TemplateListParams, type TemplateDeleteParams, } from "./templates.mjs";
|
|
8
|
+
export { Users, type APIResponseOfUser, type UserResponse, type UserListResponse, type UserRetrieveParams, type UserListParams, type UserInviteParams, type UserRemoveParams, type UserUpdateRoleParams, } from "./users.mjs";
|
|
9
|
+
export { Webhooks, type APIMeta, type APIResponseWebhook, type ErrorDetail, type InboundMessageEvent, type InboundMessageEventPayload, type MessageEvent, type MessageEventPayload, type MutationRequest, type PaginationMeta, type TemplateEvent, type TemplateEventPayload, type WebhookEventType, type WebhookResponse, type WebhookListResponse, type WebhookListEventTypesResponse, type WebhookListEventsResponse, type WebhookRotateSecretResponse, type WebhookTestResponse, type WebhookCreateParams, type WebhookRetrieveParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDeleteParams, type WebhookListEventTypesParams, type WebhookListEventsParams, type WebhookRotateSecretParams, type WebhookTestParams, type WebhookToggleStatusParams, } from "./webhooks.mjs";
|
|
10
10
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,kCAAkC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mCAAmC,GACzC,uBAAmB;AACpB,OAAO,EACL,aAAa,EACb,KAAK,qCAAqC,EAC1C,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,GACpC,4BAAwB;AACzB,OAAO,EAAE,EAAE,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,iBAAa;AAChG,OAAO,EACL,QAAQ,EACR,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,iBAAiB,GACvB,uBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,sBAAkB;AACxF,OAAO,EACL,QAAQ,EACR,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KA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-1,10 +1,10 @@
|
|
|
1
|
-
export { Contacts, type
|
|
2
|
-
export { Conversations, type
|
|
3
|
-
export { Me, type MeRetrieveResponse, type MeRetrieveParams } from "./me.js";
|
|
1
|
+
export { Contacts, type APIResponseOfContact, type APIResponseOfContactMessageSummary, type ContactMessageSummary, type ContactResponse, type ContactListResponse, type ContactCreateParams, type ContactRetrieveParams, type ContactUpdateParams, type ContactListParams, type ContactDeleteParams, type ContactRetrieveMessageSummaryParams, } from "./contacts.js";
|
|
2
|
+
export { Conversations, type APIResponseOfConversationMessagesList, type ConversationMessagesList, type ConversationListParams, type ConversationListMessagesParams, } from "./conversations.js";
|
|
3
|
+
export { Me, type ProfileSettings, type MeRetrieveResponse, type MeRetrieveParams } from "./me.js";
|
|
4
4
|
export { Messages, type MessageRetrieveActivitiesResponse, type MessageRetrieveStatusResponse, type MessageSendResponse, type MessageRetrieveActivitiesParams, type MessageRetrieveStatusParams, type MessageSendParams, } from "./messages.js";
|
|
5
5
|
export { Numbers, type NumberLookupResponse, type NumberLookupParams } from "./numbers.js";
|
|
6
|
-
export { Profiles, type
|
|
7
|
-
export { Templates, type AuthenticationConfig, type TemplateBody, type TemplateBodyContent, type TemplateButton, type TemplateButtonProps, type TemplateDefinition, type TemplateFooter, type TemplateHeader, type TemplateVariable, type
|
|
8
|
-
export { Users, type
|
|
9
|
-
export { Webhooks, type InboundMessageEvent, type InboundMessageEventPayload, type MessageEvent, type MessageEventPayload, type
|
|
6
|
+
export { Profiles, type APIResponseOfProfileDetail, type BillingContactInfo, type BrandBusinessInfo, type BrandComplianceInfo, type BrandContactInfo, type BrandsBrandData, type DestinationCountry, type PaymentDetails, type ProfileDetail, type TcrBrandRelationship, type TcrVertical, type ProfileListResponse, type ProfileCompleteResponse, type ProfileCreateParams, type ProfileRetrieveParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDeleteParams, type ProfileCompleteParams, } from "./profiles/profiles.js";
|
|
7
|
+
export { Templates, type APIResponseTemplate, type AuthenticationConfig, type Template, type TemplateBody, type TemplateBodyContent, type TemplateButton, type TemplateButtonProps, type TemplateDefinition, type TemplateFooter, type TemplateHeader, type TemplateVariable, type TemplateListResponse, type TemplateCreateParams, type TemplateRetrieveParams, type TemplateUpdateParams, type TemplateListParams, type TemplateDeleteParams, } from "./templates.js";
|
|
8
|
+
export { Users, type APIResponseOfUser, type UserResponse, type UserListResponse, type UserRetrieveParams, type UserListParams, type UserInviteParams, type UserRemoveParams, type UserUpdateRoleParams, } from "./users.js";
|
|
9
|
+
export { Webhooks, type APIMeta, type APIResponseWebhook, type ErrorDetail, type InboundMessageEvent, type InboundMessageEventPayload, type MessageEvent, type MessageEventPayload, type MutationRequest, type PaginationMeta, type TemplateEvent, type TemplateEventPayload, type WebhookEventType, type WebhookResponse, type WebhookListResponse, type WebhookListEventTypesResponse, type WebhookListEventsResponse, type WebhookRotateSecretResponse, type WebhookTestResponse, type WebhookCreateParams, type WebhookRetrieveParams, type WebhookUpdateParams, type WebhookListParams, type WebhookDeleteParams, type WebhookListEventTypesParams, type WebhookListEventsParams, type WebhookRotateSecretParams, type WebhookTestParams, type WebhookToggleStatusParams, } from "./webhooks.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,kCAAkC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mCAA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