@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.
@@ -1166,6 +1166,7 @@ docs/GetThreadMessageImages200Response.md
1166
1166
  docs/GetThreadMessageReactions200Response.md
1167
1167
  docs/GetThreadMessageVideos200Response.md
1168
1168
  docs/GetThreadMessages200Response.md
1169
+ docs/GetThreadMessagesPoll200Response.md
1169
1170
  docs/GetVideo200Response.md
1170
1171
  docs/GetVideoCaptions200Response.md
1171
1172
  docs/Group.md
@@ -1549,10 +1550,10 @@ docs/SponsorshipBenefitProgress.md
1549
1550
  docs/SponsorshipBookingSpaceProgress.md
1550
1551
  docs/SponsorshipBrandingField.md
1551
1552
  docs/SponsorshipBrandingProgress.md
1553
+ docs/SponsorshipCouponProgress.md
1552
1554
  docs/SponsorshipLevelTranslation.md
1553
1555
  docs/SponsorshipProgress.md
1554
1556
  docs/SponsorshipProgressCheck.md
1555
- docs/SponsorshipStaffPassesProgress.md
1556
1557
  docs/SponsorshipSurveyProgress.md
1557
1558
  docs/StandardReport.md
1558
1559
  docs/StandardReportAllOfNextCursor.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@16.6.0
1
+ ## @connectedxm/admin-sdk@16.7.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @connectedxm/admin-sdk@16.6.0 --save
39
+ npm install @connectedxm/admin-sdk@16.7.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.6.0
7
+ * The version of the OpenAPI document: 16.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2144,8 +2144,8 @@ export interface BaseEventSponsorshipLevel {
2144
2144
  'postAllowance': number;
2145
2145
  'postWindowStart': string | null;
2146
2146
  'postWindowEnd': string | null;
2147
- 'staffPassAllowance': number;
2148
- 'staffPassTypeId': string | null;
2147
+ 'sponsorCouponPassLimit': number;
2148
+ 'sponsorCouponPassTypeId': string | null;
2149
2149
  'bookingSpaceAllowance': number;
2150
2150
  }
2151
2151
  export interface BaseEventTrack {
@@ -7329,8 +7329,8 @@ export interface EventSponsorship {
7329
7329
  'url': string | null;
7330
7330
  'account': BaseAccount | null;
7331
7331
  'image': BaseImage | null;
7332
- 'staffCouponId': string | null;
7333
- 'staffCoupon': BaseCoupon | null;
7332
+ 'sponsorCouponId': string | null;
7333
+ 'sponsorCoupon': BaseCoupon | null;
7334
7334
  'createdAt': string;
7335
7335
  'updatedAt': string;
7336
7336
  }
@@ -7356,10 +7356,10 @@ export interface EventSponsorshipLevel {
7356
7356
  'postAllowance': number;
7357
7357
  'postWindowStart': string | null;
7358
7358
  'postWindowEnd': string | null;
7359
- 'staffPassAllowance': number;
7360
- 'staffPassTypeId': string | null;
7359
+ 'sponsorCouponPassLimit': number;
7360
+ 'sponsorCouponPassTypeId': string | null;
7361
7361
  'bookingSpaceAllowance': number;
7362
- 'staffPassType': BaseEventPassType | null;
7362
+ 'sponsorCouponPassType': BaseEventPassType | null;
7363
7363
  'sortOrder': number;
7364
7364
  'sponsors': Array<BaseEventSponsorship>;
7365
7365
  'createdAt': string;
@@ -7378,8 +7378,8 @@ export interface EventSponsorshipLevelCreateInputs {
7378
7378
  'postAllowance'?: number;
7379
7379
  'postWindowStart'?: string | null;
7380
7380
  'postWindowEnd'?: string | null;
7381
- 'staffPassAllowance'?: number;
7382
- 'staffPassTypeId'?: string | null;
7381
+ 'sponsorCouponPassLimit'?: number;
7382
+ 'sponsorCouponPassTypeId'?: string | null;
7383
7383
  'bookingSpaceAllowance'?: number;
7384
7384
  }
7385
7385
  export interface EventSponsorshipLevelSurvey {
@@ -7420,8 +7420,8 @@ export interface EventSponsorshipLevelUpdateInputs {
7420
7420
  'postAllowance'?: number;
7421
7421
  'postWindowStart'?: string | null;
7422
7422
  'postWindowEnd'?: string | null;
7423
- 'staffPassAllowance'?: number;
7424
- 'staffPassTypeId'?: string | null;
7423
+ 'sponsorCouponPassLimit'?: number;
7424
+ 'sponsorCouponPassTypeId'?: string | null;
7425
7425
  'bookingSpaceAllowance'?: number;
7426
7426
  }
7427
7427
  export interface EventSponsorshipProgress {
@@ -11367,12 +11367,23 @@ export interface GetThreadMessages200Response {
11367
11367
  'status': GetThreadMessages200ResponseStatusEnum;
11368
11368
  'message': string;
11369
11369
  'data': Array<ThreadMessage>;
11370
+ 'count'?: number;
11370
11371
  }
11371
11372
 
11372
11373
  export enum GetThreadMessages200ResponseStatusEnum {
11373
11374
  Ok = 'ok'
11374
11375
  }
11375
11376
 
11377
+ export interface GetThreadMessagesPoll200Response {
11378
+ 'status': GetThreadMessagesPoll200ResponseStatusEnum;
11379
+ 'message': string;
11380
+ 'data': Array<ThreadMessage>;
11381
+ }
11382
+
11383
+ export enum GetThreadMessagesPoll200ResponseStatusEnum {
11384
+ Ok = 'ok'
11385
+ }
11386
+
11376
11387
  export interface GetVideo200Response {
11377
11388
  'status': GetVideo200ResponseStatusEnum;
11378
11389
  'message': string;
@@ -15040,6 +15051,17 @@ export enum SponsorshipBrandingProgressTypeEnum {
15040
15051
  Branding = 'branding'
15041
15052
  }
15042
15053
 
15054
+ export interface SponsorshipCouponProgress {
15055
+ 'type': SponsorshipCouponProgressTypeEnum;
15056
+ 'complete': boolean;
15057
+ 'used': number;
15058
+ 'allowance': number;
15059
+ }
15060
+
15061
+ export enum SponsorshipCouponProgressTypeEnum {
15062
+ SponsorCoupon = 'sponsorCoupon'
15063
+ }
15064
+
15043
15065
  export interface SponsorshipLevelTranslation {
15044
15066
  'id': number;
15045
15067
  'locale': string;
@@ -15057,18 +15079,7 @@ export interface SponsorshipProgress {
15057
15079
  /**
15058
15080
  * @type SponsorshipProgressCheck
15059
15081
  */
15060
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBookingSpaceProgress | SponsorshipBrandingProgress | SponsorshipStaffPassesProgress | SponsorshipSurveyProgress;
15061
-
15062
- export interface SponsorshipStaffPassesProgress {
15063
- 'type': SponsorshipStaffPassesProgressTypeEnum;
15064
- 'complete': boolean;
15065
- 'used': number;
15066
- 'allowance': number;
15067
- }
15068
-
15069
- export enum SponsorshipStaffPassesProgressTypeEnum {
15070
- StaffPasses = 'staffPasses'
15071
- }
15082
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBookingSpaceProgress | SponsorshipBrandingProgress | SponsorshipCouponProgress | SponsorshipSurveyProgress;
15072
15083
 
15073
15084
  export interface SponsorshipSurveyProgress {
15074
15085
  'type': SponsorshipSurveyProgressTypeEnum;
@@ -163891,13 +163902,17 @@ export const ThreadsMessagesApiAxiosParamCreator = function (configuration?: Con
163891
163902
  };
163892
163903
  },
163893
163904
  /**
163894
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
163905
+ * 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.
163895
163906
  * @summary List a thread\'s messages
163896
163907
  * @param {string} threadId The thread identifier
163908
+ * @param {number} [page] Page number
163909
+ * @param {number} [pageSize] Number of items per page
163910
+ * @param {string} [orderBy] Field to order by
163911
+ * @param {string} [search] Search query
163897
163912
  * @param {*} [options] Override http request option.
163898
163913
  * @throws {RequiredError}
163899
163914
  */
163900
- getThreadMessages: async (threadId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
163915
+ getThreadMessages: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
163901
163916
  // verify required parameter 'threadId' is not null or undefined
163902
163917
  assertParamExists('getThreadMessages', 'threadId', threadId)
163903
163918
  const localVarPath = `/threads/{threadId}/messages`
@@ -163919,6 +163934,22 @@ export const ThreadsMessagesApiAxiosParamCreator = function (configuration?: Con
163919
163934
  // authentication OrganizationId required
163920
163935
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
163921
163936
 
163937
+ if (page !== undefined) {
163938
+ localVarQueryParameter['page'] = page;
163939
+ }
163940
+
163941
+ if (pageSize !== undefined) {
163942
+ localVarQueryParameter['pageSize'] = pageSize;
163943
+ }
163944
+
163945
+ if (orderBy !== undefined) {
163946
+ localVarQueryParameter['orderBy'] = orderBy;
163947
+ }
163948
+
163949
+ if (search !== undefined) {
163950
+ localVarQueryParameter['search'] = search;
163951
+ }
163952
+
163922
163953
  localVarHeaderParameter['Accept'] = 'application/json';
163923
163954
 
163924
163955
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -164078,14 +164109,18 @@ export const ThreadsMessagesApiFp = function(configuration?: Configuration) {
164078
164109
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
164079
164110
  },
164080
164111
  /**
164081
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
164112
+ * 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.
164082
164113
  * @summary List a thread\'s messages
164083
164114
  * @param {string} threadId The thread identifier
164115
+ * @param {number} [page] Page number
164116
+ * @param {number} [pageSize] Number of items per page
164117
+ * @param {string} [orderBy] Field to order by
164118
+ * @param {string} [search] Search query
164084
164119
  * @param {*} [options] Override http request option.
164085
164120
  * @throws {RequiredError}
164086
164121
  */
164087
- async getThreadMessages(threadId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>> {
164088
- const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadMessages(threadId, options);
164122
+ async getThreadMessages(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>> {
164123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadMessages(threadId, page, pageSize, orderBy, search, options);
164089
164124
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
164090
164125
  const localVarOperationServerBasePath = operationServerMap['ThreadsMessagesApi.getThreadMessages']?.[localVarOperationServerIndex]?.url;
164091
164126
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -164098,7 +164133,7 @@ export const ThreadsMessagesApiFp = function(configuration?: Configuration) {
164098
164133
  * @param {*} [options] Override http request option.
164099
164134
  * @throws {RequiredError}
164100
164135
  */
164101
- async getThreadMessagesPoll(threadId: string, lastMessageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>> {
164136
+ async getThreadMessagesPoll(threadId: string, lastMessageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessagesPoll200Response>> {
164102
164137
  const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadMessagesPoll(threadId, lastMessageId, options);
164103
164138
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
164104
164139
  const localVarOperationServerBasePath = operationServerMap['ThreadsMessagesApi.getThreadMessagesPoll']?.[localVarOperationServerIndex]?.url;
@@ -164159,14 +164194,14 @@ export const ThreadsMessagesApiFactory = function (configuration?: Configuration
164159
164194
  return localVarFp.getThreadMessage(requestParameters.threadId, requestParameters.messageId, options).then((request) => request(axios, basePath));
164160
164195
  },
164161
164196
  /**
164162
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
164197
+ * 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.
164163
164198
  * @summary List a thread\'s messages
164164
164199
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
164165
164200
  * @param {*} [options] Override http request option.
164166
164201
  * @throws {RequiredError}
164167
164202
  */
164168
164203
  getThreadMessages(requestParameters: ThreadsMessagesApiGetThreadMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadMessages200Response> {
164169
- return localVarFp.getThreadMessages(requestParameters.threadId, options).then((request) => request(axios, basePath));
164204
+ return localVarFp.getThreadMessages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
164170
164205
  },
164171
164206
  /**
164172
164207
  * Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
@@ -164175,7 +164210,7 @@ export const ThreadsMessagesApiFactory = function (configuration?: Configuration
164175
164210
  * @param {*} [options] Override http request option.
164176
164211
  * @throws {RequiredError}
164177
164212
  */
164178
- getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadMessages200Response> {
164213
+ getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadMessagesPoll200Response> {
164179
164214
  return localVarFp.getThreadMessagesPoll(requestParameters.threadId, requestParameters.lastMessageId, options).then((request) => request(axios, basePath));
164180
164215
  },
164181
164216
  /**
@@ -164241,6 +164276,26 @@ export interface ThreadsMessagesApiGetThreadMessagesRequest {
164241
164276
  * The thread identifier
164242
164277
  */
164243
164278
  readonly threadId: string
164279
+
164280
+ /**
164281
+ * Page number
164282
+ */
164283
+ readonly page?: number
164284
+
164285
+ /**
164286
+ * Number of items per page
164287
+ */
164288
+ readonly pageSize?: number
164289
+
164290
+ /**
164291
+ * Field to order by
164292
+ */
164293
+ readonly orderBy?: string
164294
+
164295
+ /**
164296
+ * Search query
164297
+ */
164298
+ readonly search?: string
164244
164299
  }
164245
164300
 
164246
164301
  /**
@@ -164313,14 +164368,14 @@ export class ThreadsMessagesApi extends BaseAPI {
164313
164368
  }
164314
164369
 
164315
164370
  /**
164316
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
164371
+ * 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.
164317
164372
  * @summary List a thread\'s messages
164318
164373
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
164319
164374
  * @param {*} [options] Override http request option.
164320
164375
  * @throws {RequiredError}
164321
164376
  */
164322
164377
  public getThreadMessages(requestParameters: ThreadsMessagesApiGetThreadMessagesRequest, options?: RawAxiosRequestConfig) {
164323
- return ThreadsMessagesApiFp(this.configuration).getThreadMessages(requestParameters.threadId, options).then((request) => request(this.axios, this.basePath));
164378
+ return ThreadsMessagesApiFp(this.configuration).getThreadMessages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
164324
164379
  }
164325
164380
 
164326
164381
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.6.0
7
+ * The version of the OpenAPI document: 16.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.6.0
7
+ * The version of the OpenAPI document: 16.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 16.6.0
6
+ * The version of the OpenAPI document: 16.7.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 16.6.0
5
+ * The version of the OpenAPI document: 16.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1977,8 +1977,8 @@ export interface BaseEventSponsorshipLevel {
1977
1977
  'postAllowance': number;
1978
1978
  'postWindowStart': string | null;
1979
1979
  'postWindowEnd': string | null;
1980
- 'staffPassAllowance': number;
1981
- 'staffPassTypeId': string | null;
1980
+ 'sponsorCouponPassLimit': number;
1981
+ 'sponsorCouponPassTypeId': string | null;
1982
1982
  'bookingSpaceAllowance': number;
1983
1983
  }
1984
1984
  export interface BaseEventTrack {
@@ -6710,8 +6710,8 @@ export interface EventSponsorship {
6710
6710
  'url': string | null;
6711
6711
  'account': BaseAccount | null;
6712
6712
  'image': BaseImage | null;
6713
- 'staffCouponId': string | null;
6714
- 'staffCoupon': BaseCoupon | null;
6713
+ 'sponsorCouponId': string | null;
6714
+ 'sponsorCoupon': BaseCoupon | null;
6715
6715
  'createdAt': string;
6716
6716
  'updatedAt': string;
6717
6717
  }
@@ -6737,10 +6737,10 @@ export interface EventSponsorshipLevel {
6737
6737
  'postAllowance': number;
6738
6738
  'postWindowStart': string | null;
6739
6739
  'postWindowEnd': string | null;
6740
- 'staffPassAllowance': number;
6741
- 'staffPassTypeId': string | null;
6740
+ 'sponsorCouponPassLimit': number;
6741
+ 'sponsorCouponPassTypeId': string | null;
6742
6742
  'bookingSpaceAllowance': number;
6743
- 'staffPassType': BaseEventPassType | null;
6743
+ 'sponsorCouponPassType': BaseEventPassType | null;
6744
6744
  'sortOrder': number;
6745
6745
  'sponsors': Array<BaseEventSponsorship>;
6746
6746
  'createdAt': string;
@@ -6759,8 +6759,8 @@ export interface EventSponsorshipLevelCreateInputs {
6759
6759
  'postAllowance'?: number;
6760
6760
  'postWindowStart'?: string | null;
6761
6761
  'postWindowEnd'?: string | null;
6762
- 'staffPassAllowance'?: number;
6763
- 'staffPassTypeId'?: string | null;
6762
+ 'sponsorCouponPassLimit'?: number;
6763
+ 'sponsorCouponPassTypeId'?: string | null;
6764
6764
  'bookingSpaceAllowance'?: number;
6765
6765
  }
6766
6766
  export interface EventSponsorshipLevelSurvey {
@@ -6799,8 +6799,8 @@ export interface EventSponsorshipLevelUpdateInputs {
6799
6799
  'postAllowance'?: number;
6800
6800
  'postWindowStart'?: string | null;
6801
6801
  'postWindowEnd'?: string | null;
6802
- 'staffPassAllowance'?: number;
6803
- 'staffPassTypeId'?: string | null;
6802
+ 'sponsorCouponPassLimit'?: number;
6803
+ 'sponsorCouponPassTypeId'?: string | null;
6804
6804
  'bookingSpaceAllowance'?: number;
6805
6805
  }
6806
6806
  export interface EventSponsorshipProgress {
@@ -10038,10 +10038,19 @@ export interface GetThreadMessages200Response {
10038
10038
  'status': GetThreadMessages200ResponseStatusEnum;
10039
10039
  'message': string;
10040
10040
  'data': Array<ThreadMessage>;
10041
+ 'count'?: number;
10041
10042
  }
10042
10043
  export declare enum GetThreadMessages200ResponseStatusEnum {
10043
10044
  Ok = "ok"
10044
10045
  }
10046
+ export interface GetThreadMessagesPoll200Response {
10047
+ 'status': GetThreadMessagesPoll200ResponseStatusEnum;
10048
+ 'message': string;
10049
+ 'data': Array<ThreadMessage>;
10050
+ }
10051
+ export declare enum GetThreadMessagesPoll200ResponseStatusEnum {
10052
+ Ok = "ok"
10053
+ }
10045
10054
  export interface GetVideo200Response {
10046
10055
  'status': GetVideo200ResponseStatusEnum;
10047
10056
  'message': string;
@@ -13360,6 +13369,15 @@ export interface SponsorshipBrandingProgress {
13360
13369
  export declare enum SponsorshipBrandingProgressTypeEnum {
13361
13370
  Branding = "branding"
13362
13371
  }
13372
+ export interface SponsorshipCouponProgress {
13373
+ 'type': SponsorshipCouponProgressTypeEnum;
13374
+ 'complete': boolean;
13375
+ 'used': number;
13376
+ 'allowance': number;
13377
+ }
13378
+ export declare enum SponsorshipCouponProgressTypeEnum {
13379
+ SponsorCoupon = "sponsorCoupon"
13380
+ }
13363
13381
  export interface SponsorshipLevelTranslation {
13364
13382
  'id': number;
13365
13383
  'locale': string;
@@ -13377,16 +13395,7 @@ export interface SponsorshipProgress {
13377
13395
  /**
13378
13396
  * @type SponsorshipProgressCheck
13379
13397
  */
13380
- export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBookingSpaceProgress | SponsorshipBrandingProgress | SponsorshipStaffPassesProgress | SponsorshipSurveyProgress;
13381
- export interface SponsorshipStaffPassesProgress {
13382
- 'type': SponsorshipStaffPassesProgressTypeEnum;
13383
- 'complete': boolean;
13384
- 'used': number;
13385
- 'allowance': number;
13386
- }
13387
- export declare enum SponsorshipStaffPassesProgressTypeEnum {
13388
- StaffPasses = "staffPasses"
13389
- }
13398
+ export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBookingSpaceProgress | SponsorshipBrandingProgress | SponsorshipCouponProgress | SponsorshipSurveyProgress;
13390
13399
  export interface SponsorshipSurveyProgress {
13391
13400
  'type': SponsorshipSurveyProgressTypeEnum;
13392
13401
  'complete': boolean;
@@ -89178,13 +89187,17 @@ export declare const ThreadsMessagesApiAxiosParamCreator: (configuration?: Confi
89178
89187
  */
89179
89188
  getThreadMessage: (threadId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89180
89189
  /**
89181
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
89190
+ * 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.
89182
89191
  * @summary List a thread\'s messages
89183
89192
  * @param {string} threadId The thread identifier
89193
+ * @param {number} [page] Page number
89194
+ * @param {number} [pageSize] Number of items per page
89195
+ * @param {string} [orderBy] Field to order by
89196
+ * @param {string} [search] Search query
89184
89197
  * @param {*} [options] Override http request option.
89185
89198
  * @throws {RequiredError}
89186
89199
  */
89187
- getThreadMessages: (threadId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89200
+ getThreadMessages: (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
89188
89201
  /**
89189
89202
  * Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
89190
89203
  * @summary Poll a thread for new messages
@@ -89237,13 +89250,17 @@ export declare const ThreadsMessagesApiFp: (configuration?: Configuration) => {
89237
89250
  */
89238
89251
  getThreadMessage(threadId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadMessage200Response>>;
89239
89252
  /**
89240
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
89253
+ * 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.
89241
89254
  * @summary List a thread\'s messages
89242
89255
  * @param {string} threadId The thread identifier
89256
+ * @param {number} [page] Page number
89257
+ * @param {number} [pageSize] Number of items per page
89258
+ * @param {string} [orderBy] Field to order by
89259
+ * @param {string} [search] Search query
89243
89260
  * @param {*} [options] Override http request option.
89244
89261
  * @throws {RequiredError}
89245
89262
  */
89246
- getThreadMessages(threadId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>>;
89263
+ getThreadMessages(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>>;
89247
89264
  /**
89248
89265
  * Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
89249
89266
  * @summary Poll a thread for new messages
@@ -89252,7 +89269,7 @@ export declare const ThreadsMessagesApiFp: (configuration?: Configuration) => {
89252
89269
  * @param {*} [options] Override http request option.
89253
89270
  * @throws {RequiredError}
89254
89271
  */
89255
- getThreadMessagesPoll(threadId: string, lastMessageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessages200Response>>;
89272
+ getThreadMessagesPoll(threadId: string, lastMessageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMessagesPoll200Response>>;
89256
89273
  /**
89257
89274
  * Updates the content of an existing message within a thread; requires the \"read\" and \"update\" permissions on threads.
89258
89275
  * @summary Edit a thread message
@@ -89293,7 +89310,7 @@ export declare const ThreadsMessagesApiFactory: (configuration?: Configuration,
89293
89310
  */
89294
89311
  getThreadMessage(requestParameters: ThreadsMessagesApiGetThreadMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadMessage200Response>;
89295
89312
  /**
89296
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
89313
+ * 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.
89297
89314
  * @summary List a thread\'s messages
89298
89315
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
89299
89316
  * @param {*} [options] Override http request option.
@@ -89307,7 +89324,7 @@ export declare const ThreadsMessagesApiFactory: (configuration?: Configuration,
89307
89324
  * @param {*} [options] Override http request option.
89308
89325
  * @throws {RequiredError}
89309
89326
  */
89310
- getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadMessages200Response>;
89327
+ getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadMessagesPoll200Response>;
89311
89328
  /**
89312
89329
  * Updates the content of an existing message within a thread; requires the \"read\" and \"update\" permissions on threads.
89313
89330
  * @summary Edit a thread message
@@ -89361,6 +89378,22 @@ export interface ThreadsMessagesApiGetThreadMessagesRequest {
89361
89378
  * The thread identifier
89362
89379
  */
89363
89380
  readonly threadId: string;
89381
+ /**
89382
+ * Page number
89383
+ */
89384
+ readonly page?: number;
89385
+ /**
89386
+ * Number of items per page
89387
+ */
89388
+ readonly pageSize?: number;
89389
+ /**
89390
+ * Field to order by
89391
+ */
89392
+ readonly orderBy?: string;
89393
+ /**
89394
+ * Search query
89395
+ */
89396
+ readonly search?: string;
89364
89397
  }
89365
89398
  /**
89366
89399
  * Request parameters for getThreadMessagesPoll operation in ThreadsMessagesApi.
@@ -89418,7 +89451,7 @@ export declare class ThreadsMessagesApi extends BaseAPI {
89418
89451
  */
89419
89452
  getThreadMessage(requestParameters: ThreadsMessagesApiGetThreadMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateThreadMessage200Response, any, {}, any>>;
89420
89453
  /**
89421
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
89454
+ * 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.
89422
89455
  * @summary List a thread\'s messages
89423
89456
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
89424
89457
  * @param {*} [options] Override http request option.
@@ -89432,7 +89465,7 @@ export declare class ThreadsMessagesApi extends BaseAPI {
89432
89465
  * @param {*} [options] Override http request option.
89433
89466
  * @throws {RequiredError}
89434
89467
  */
89435
- getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetThreadMessages200Response, any, {}, any>>;
89468
+ getThreadMessagesPoll(requestParameters: ThreadsMessagesApiGetThreadMessagesPollRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetThreadMessagesPoll200Response, any, {}, any>>;
89436
89469
  /**
89437
89470
  * Updates the content of an existing message within a thread; requires the \"read\" and \"update\" permissions on threads.
89438
89471
  * @summary Edit a thread message