@connectedxm/admin-sdk 16.6.0 → 16.7.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/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/api.ts +90 -35
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +64 -31
- package/dist/api.js +59 -35
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +64 -31
- package/dist/esm/api.js +38 -14
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/BaseEventSponsorshipLevel.md +4 -4
- package/docs/EventSponsorship.md +4 -4
- package/docs/EventSponsorshipLevel.md +6 -6
- package/docs/EventSponsorshipLevelCreateInputs.md +4 -4
- package/docs/EventSponsorshipLevelUpdateInputs.md +4 -4
- package/docs/GetThreadMessages200Response.md +2 -0
- package/docs/GetThreadMessagesPoll200Response.md +24 -0
- package/docs/{SponsorshipStaffPassesProgress.md → SponsorshipCouponProgress.md} +3 -3
- package/docs/ThreadsMessagesApi.md +16 -4
- package/package.json +1 -1
|
@@ -177,7 +177,7 @@ const { status, data } = await apiInstance.getThreadMessage(
|
|
|
177
177
|
# **getThreadMessages**
|
|
178
178
|
> GetThreadMessages200Response getThreadMessages()
|
|
179
179
|
|
|
180
|
-
Returns a
|
|
180
|
+
Returns a paginated list of top-level messages in the given thread (excludes replies, which are listed under their parent message), newest first and searchable by message body; requires read permission on threads.
|
|
181
181
|
|
|
182
182
|
### Example
|
|
183
183
|
|
|
@@ -191,9 +191,17 @@ const configuration = new Configuration();
|
|
|
191
191
|
const apiInstance = new ThreadsMessagesApi(configuration);
|
|
192
192
|
|
|
193
193
|
let threadId: string; //The thread identifier (default to undefined)
|
|
194
|
+
let page: number; //Page number (optional) (default to 1)
|
|
195
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
196
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
197
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
194
198
|
|
|
195
199
|
const { status, data } = await apiInstance.getThreadMessages(
|
|
196
|
-
threadId
|
|
200
|
+
threadId,
|
|
201
|
+
page,
|
|
202
|
+
pageSize,
|
|
203
|
+
orderBy,
|
|
204
|
+
search
|
|
197
205
|
);
|
|
198
206
|
```
|
|
199
207
|
|
|
@@ -202,6 +210,10 @@ const { status, data } = await apiInstance.getThreadMessages(
|
|
|
202
210
|
|Name | Type | Description | Notes|
|
|
203
211
|
|------------- | ------------- | ------------- | -------------|
|
|
204
212
|
| **threadId** | [**string**] | The thread identifier | defaults to undefined|
|
|
213
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
214
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
215
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
216
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
205
217
|
|
|
206
218
|
|
|
207
219
|
### Return type
|
|
@@ -226,7 +238,7 @@ const { status, data } = await apiInstance.getThreadMessages(
|
|
|
226
238
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
227
239
|
|
|
228
240
|
# **getThreadMessagesPoll**
|
|
229
|
-
>
|
|
241
|
+
> GetThreadMessagesPoll200Response getThreadMessagesPoll()
|
|
230
242
|
|
|
231
243
|
Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
|
|
232
244
|
|
|
@@ -260,7 +272,7 @@ const { status, data } = await apiInstance.getThreadMessagesPoll(
|
|
|
260
272
|
|
|
261
273
|
### Return type
|
|
262
274
|
|
|
263
|
-
**
|
|
275
|
+
**GetThreadMessagesPoll200Response**
|
|
264
276
|
|
|
265
277
|
### Authorization
|
|
266
278
|
|