@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/dist/esm/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
package/dist/esm/api.js 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).
@@ -2156,6 +2156,10 @@ export var GetThreadMessages200ResponseStatusEnum;
2156
2156
  (function (GetThreadMessages200ResponseStatusEnum) {
2157
2157
  GetThreadMessages200ResponseStatusEnum["Ok"] = "ok";
2158
2158
  })(GetThreadMessages200ResponseStatusEnum || (GetThreadMessages200ResponseStatusEnum = {}));
2159
+ export var GetThreadMessagesPoll200ResponseStatusEnum;
2160
+ (function (GetThreadMessagesPoll200ResponseStatusEnum) {
2161
+ GetThreadMessagesPoll200ResponseStatusEnum["Ok"] = "ok";
2162
+ })(GetThreadMessagesPoll200ResponseStatusEnum || (GetThreadMessagesPoll200ResponseStatusEnum = {}));
2159
2163
  export var GetVideo200ResponseStatusEnum;
2160
2164
  (function (GetVideo200ResponseStatusEnum) {
2161
2165
  GetVideo200ResponseStatusEnum["Ok"] = "ok";
@@ -2838,10 +2842,10 @@ export var SponsorshipBrandingProgressTypeEnum;
2838
2842
  (function (SponsorshipBrandingProgressTypeEnum) {
2839
2843
  SponsorshipBrandingProgressTypeEnum["Branding"] = "branding";
2840
2844
  })(SponsorshipBrandingProgressTypeEnum || (SponsorshipBrandingProgressTypeEnum = {}));
2841
- export var SponsorshipStaffPassesProgressTypeEnum;
2842
- (function (SponsorshipStaffPassesProgressTypeEnum) {
2843
- SponsorshipStaffPassesProgressTypeEnum["StaffPasses"] = "staffPasses";
2844
- })(SponsorshipStaffPassesProgressTypeEnum || (SponsorshipStaffPassesProgressTypeEnum = {}));
2845
+ export var SponsorshipCouponProgressTypeEnum;
2846
+ (function (SponsorshipCouponProgressTypeEnum) {
2847
+ SponsorshipCouponProgressTypeEnum["SponsorCoupon"] = "sponsorCoupon";
2848
+ })(SponsorshipCouponProgressTypeEnum || (SponsorshipCouponProgressTypeEnum = {}));
2845
2849
  export var SponsorshipSurveyProgressTypeEnum;
2846
2850
  (function (SponsorshipSurveyProgressTypeEnum) {
2847
2851
  SponsorshipSurveyProgressTypeEnum["Surveys"] = "surveys";
@@ -115850,13 +115854,17 @@ export const ThreadsMessagesApiAxiosParamCreator = function (configuration) {
115850
115854
  };
115851
115855
  }),
115852
115856
  /**
115853
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
115857
+ * 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.
115854
115858
  * @summary List a thread\'s messages
115855
115859
  * @param {string} threadId The thread identifier
115860
+ * @param {number} [page] Page number
115861
+ * @param {number} [pageSize] Number of items per page
115862
+ * @param {string} [orderBy] Field to order by
115863
+ * @param {string} [search] Search query
115856
115864
  * @param {*} [options] Override http request option.
115857
115865
  * @throws {RequiredError}
115858
115866
  */
115859
- getThreadMessages: (threadId_1, ...args_1) => __awaiter(this, [threadId_1, ...args_1], void 0, function* (threadId, options = {}) {
115867
+ getThreadMessages: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
115860
115868
  // verify required parameter 'threadId' is not null or undefined
115861
115869
  assertParamExists('getThreadMessages', 'threadId', threadId);
115862
115870
  const localVarPath = `/threads/{threadId}/messages`
@@ -115874,6 +115882,18 @@ export const ThreadsMessagesApiAxiosParamCreator = function (configuration) {
115874
115882
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
115875
115883
  // authentication OrganizationId required
115876
115884
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
115885
+ if (page !== undefined) {
115886
+ localVarQueryParameter['page'] = page;
115887
+ }
115888
+ if (pageSize !== undefined) {
115889
+ localVarQueryParameter['pageSize'] = pageSize;
115890
+ }
115891
+ if (orderBy !== undefined) {
115892
+ localVarQueryParameter['orderBy'] = orderBy;
115893
+ }
115894
+ if (search !== undefined) {
115895
+ localVarQueryParameter['search'] = search;
115896
+ }
115877
115897
  localVarHeaderParameter['Accept'] = 'application/json';
115878
115898
  setSearchParams(localVarUrlObj, localVarQueryParameter);
115879
115899
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -116026,16 +116046,20 @@ export const ThreadsMessagesApiFp = function (configuration) {
116026
116046
  });
116027
116047
  },
116028
116048
  /**
116029
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
116049
+ * 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.
116030
116050
  * @summary List a thread\'s messages
116031
116051
  * @param {string} threadId The thread identifier
116052
+ * @param {number} [page] Page number
116053
+ * @param {number} [pageSize] Number of items per page
116054
+ * @param {string} [orderBy] Field to order by
116055
+ * @param {string} [search] Search query
116032
116056
  * @param {*} [options] Override http request option.
116033
116057
  * @throws {RequiredError}
116034
116058
  */
116035
- getThreadMessages(threadId, options) {
116059
+ getThreadMessages(threadId, page, pageSize, orderBy, search, options) {
116036
116060
  return __awaiter(this, void 0, void 0, function* () {
116037
116061
  var _a, _b, _c;
116038
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadMessages(threadId, options);
116062
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadMessages(threadId, page, pageSize, orderBy, search, options);
116039
116063
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
116040
116064
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsMessagesApi.getThreadMessages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
116041
116065
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -116115,14 +116139,14 @@ export const ThreadsMessagesApiFactory = function (configuration, basePath, axio
116115
116139
  return localVarFp.getThreadMessage(requestParameters.threadId, requestParameters.messageId, options).then((request) => request(axios, basePath));
116116
116140
  },
116117
116141
  /**
116118
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
116142
+ * 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.
116119
116143
  * @summary List a thread\'s messages
116120
116144
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
116121
116145
  * @param {*} [options] Override http request option.
116122
116146
  * @throws {RequiredError}
116123
116147
  */
116124
116148
  getThreadMessages(requestParameters, options) {
116125
- return localVarFp.getThreadMessages(requestParameters.threadId, options).then((request) => request(axios, basePath));
116149
+ return localVarFp.getThreadMessages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
116126
116150
  },
116127
116151
  /**
116128
116152
  * Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
@@ -116181,14 +116205,14 @@ export class ThreadsMessagesApi extends BaseAPI {
116181
116205
  return ThreadsMessagesApiFp(this.configuration).getThreadMessage(requestParameters.threadId, requestParameters.messageId, options).then((request) => request(this.axios, this.basePath));
116182
116206
  }
116183
116207
  /**
116184
- * Returns a cursor-paginated list of messages in the given thread, ordered by send time, with optional search; requires read permission on threads.
116208
+ * 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.
116185
116209
  * @summary List a thread\'s messages
116186
116210
  * @param {ThreadsMessagesApiGetThreadMessagesRequest} requestParameters Request parameters.
116187
116211
  * @param {*} [options] Override http request option.
116188
116212
  * @throws {RequiredError}
116189
116213
  */
116190
116214
  getThreadMessages(requestParameters, options) {
116191
- return ThreadsMessagesApiFp(this.configuration).getThreadMessages(requestParameters.threadId, options).then((request) => request(this.axios, this.basePath));
116215
+ return ThreadsMessagesApiFp(this.configuration).getThreadMessages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
116192
116216
  }
116193
116217
  /**
116194
116218
  * Returns any messages sent in the given thread after the provided lastMessageId, for lightweight polling-based updates; requires read permission on threads.
@@ -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).
package/dist/esm/base.js 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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  **postAllowance** | **number** | | [default to undefined]
18
18
  **postWindowStart** | **string** | | [default to undefined]
19
19
  **postWindowEnd** | **string** | | [default to undefined]
20
- **staffPassAllowance** | **number** | | [default to undefined]
21
- **staffPassTypeId** | **string** | | [default to undefined]
20
+ **sponsorCouponPassLimit** | **number** | | [default to undefined]
21
+ **sponsorCouponPassTypeId** | **string** | | [default to undefined]
22
22
  **bookingSpaceAllowance** | **number** | | [default to undefined]
23
23
 
24
24
  ## Example
@@ -39,8 +39,8 @@ const instance: BaseEventSponsorshipLevel = {
39
39
  postAllowance,
40
40
  postWindowStart,
41
41
  postWindowEnd,
42
- staffPassAllowance,
43
- staffPassTypeId,
42
+ sponsorCouponPassLimit,
43
+ sponsorCouponPassTypeId,
44
44
  bookingSpaceAllowance,
45
45
  };
46
46
  ```
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
12
12
  **url** | **string** | | [default to undefined]
13
13
  **account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
14
14
  **image** | [**BaseImage**](BaseImage.md) | | [default to undefined]
15
- **staffCouponId** | **string** | | [default to undefined]
16
- **staffCoupon** | [**BaseCoupon**](BaseCoupon.md) | | [default to undefined]
15
+ **sponsorCouponId** | **string** | | [default to undefined]
16
+ **sponsorCoupon** | [**BaseCoupon**](BaseCoupon.md) | | [default to undefined]
17
17
  **createdAt** | **string** | | [default to undefined]
18
18
  **updatedAt** | **string** | | [default to undefined]
19
19
 
@@ -30,8 +30,8 @@ const instance: EventSponsorship = {
30
30
  url,
31
31
  account,
32
32
  image,
33
- staffCouponId,
34
- staffCoupon,
33
+ sponsorCouponId,
34
+ sponsorCoupon,
35
35
  createdAt,
36
36
  updatedAt,
37
37
  };
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
17
17
  **postAllowance** | **number** | | [default to undefined]
18
18
  **postWindowStart** | **string** | | [default to undefined]
19
19
  **postWindowEnd** | **string** | | [default to undefined]
20
- **staffPassAllowance** | **number** | | [default to undefined]
21
- **staffPassTypeId** | **string** | | [default to undefined]
20
+ **sponsorCouponPassLimit** | **number** | | [default to undefined]
21
+ **sponsorCouponPassTypeId** | **string** | | [default to undefined]
22
22
  **bookingSpaceAllowance** | **number** | | [default to undefined]
23
- **staffPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
23
+ **sponsorCouponPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
24
24
  **sortOrder** | **number** | | [default to undefined]
25
25
  **sponsors** | [**Array&lt;BaseEventSponsorship&gt;**](BaseEventSponsorship.md) | | [default to undefined]
26
26
  **createdAt** | **string** | | [default to undefined]
@@ -44,10 +44,10 @@ const instance: EventSponsorshipLevel = {
44
44
  postAllowance,
45
45
  postWindowStart,
46
46
  postWindowEnd,
47
- staffPassAllowance,
48
- staffPassTypeId,
47
+ sponsorCouponPassLimit,
48
+ sponsorCouponPassTypeId,
49
49
  bookingSpaceAllowance,
50
- staffPassType,
50
+ sponsorCouponPassType,
51
51
  sortOrder,
52
52
  sponsors,
53
53
  createdAt,
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  **postAllowance** | **number** | | [optional] [default to undefined]
18
18
  **postWindowStart** | **string** | | [optional] [default to undefined]
19
19
  **postWindowEnd** | **string** | | [optional] [default to undefined]
20
- **staffPassAllowance** | **number** | | [optional] [default to undefined]
21
- **staffPassTypeId** | **string** | | [optional] [default to undefined]
20
+ **sponsorCouponPassLimit** | **number** | | [optional] [default to undefined]
21
+ **sponsorCouponPassTypeId** | **string** | | [optional] [default to undefined]
22
22
  **bookingSpaceAllowance** | **number** | | [optional] [default to undefined]
23
23
 
24
24
  ## Example
@@ -39,8 +39,8 @@ const instance: EventSponsorshipLevelCreateInputs = {
39
39
  postAllowance,
40
40
  postWindowStart,
41
41
  postWindowEnd,
42
- staffPassAllowance,
43
- staffPassTypeId,
42
+ sponsorCouponPassLimit,
43
+ sponsorCouponPassTypeId,
44
44
  bookingSpaceAllowance,
45
45
  };
46
46
  ```
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  **postAllowance** | **number** | | [optional] [default to undefined]
18
18
  **postWindowStart** | **string** | | [optional] [default to undefined]
19
19
  **postWindowEnd** | **string** | | [optional] [default to undefined]
20
- **staffPassAllowance** | **number** | | [optional] [default to undefined]
21
- **staffPassTypeId** | **string** | | [optional] [default to undefined]
20
+ **sponsorCouponPassLimit** | **number** | | [optional] [default to undefined]
21
+ **sponsorCouponPassTypeId** | **string** | | [optional] [default to undefined]
22
22
  **bookingSpaceAllowance** | **number** | | [optional] [default to undefined]
23
23
 
24
24
  ## Example
@@ -39,8 +39,8 @@ const instance: EventSponsorshipLevelUpdateInputs = {
39
39
  postAllowance,
40
40
  postWindowStart,
41
41
  postWindowEnd,
42
- staffPassAllowance,
43
- staffPassTypeId,
42
+ sponsorCouponPassLimit,
43
+ sponsorCouponPassTypeId,
44
44
  bookingSpaceAllowance,
45
45
  };
46
46
  ```
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **status** | **string** | | [default to undefined]
9
9
  **message** | **string** | | [default to undefined]
10
10
  **data** | [**Array&lt;ThreadMessage&gt;**](ThreadMessage.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: GetThreadMessages200Response = {
18
19
  status,
19
20
  message,
20
21
  data,
22
+ count,
21
23
  };
22
24
  ```
23
25
 
@@ -0,0 +1,24 @@
1
+ # GetThreadMessagesPoll200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **data** | [**Array&lt;ThreadMessage&gt;**](ThreadMessage.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetThreadMessagesPoll200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetThreadMessagesPoll200Response = {
18
+ status,
19
+ message,
20
+ data,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,4 +1,4 @@
1
- # SponsorshipStaffPassesProgress
1
+ # SponsorshipCouponProgress
2
2
 
3
3
 
4
4
  ## Properties
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { SponsorshipStaffPassesProgress } from '@connectedxm/admin-sdk';
16
+ import { SponsorshipCouponProgress } from '@connectedxm/admin-sdk';
17
17
 
18
- const instance: SponsorshipStaffPassesProgress = {
18
+ const instance: SponsorshipCouponProgress = {
19
19
  type,
20
20
  complete,
21
21
  used,