@connectedxm/admin-sdk 15.5.0 → 15.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.
@@ -500,6 +500,7 @@ docs/CreateSeriesQuestionChoice200Response.md
500
500
  docs/CreateSeriesRegistration200Response.md
501
501
  docs/CreateStreamInput200Response.md
502
502
  docs/CreateStreamInputOutput200Response.md
503
+ docs/CreateStreamSessionChatMessage200Response.md
503
504
  docs/CreateSupportTicket200Response.md
504
505
  docs/CreateSupportTicketMessage200Response.md
505
506
  docs/CreateSurvey200Response.md
@@ -1472,6 +1473,8 @@ docs/ReorderSurveyQuestionChoices200Response.md
1472
1473
  docs/ReorderSurveyQuestionMatrixRows200Response.md
1473
1474
  docs/ReorderSurveyQuestionMatrixRowsRequest.md
1474
1475
  docs/ReorderSurveySectionQuestions200Response.md
1476
+ docs/ReorderTiers200Response.md
1477
+ docs/ReorderTiersRequest.md
1475
1478
  docs/ReportExport.md
1476
1479
  docs/ReportFilters.md
1477
1480
  docs/ReportType.md
@@ -1569,8 +1572,10 @@ docs/StreamInputOutputCreateInputs.md
1569
1572
  docs/StreamInputOutputUpdateInputs.md
1570
1573
  docs/StreamInputUpdateInputs.md
1571
1574
  docs/StreamOutputCreateInputs.md
1575
+ docs/StreamReaction.md
1572
1576
  docs/StreamSession.md
1573
1577
  docs/StreamSessionChatMessage.md
1578
+ docs/StreamSessionChatMessageCreateInputs.md
1574
1579
  docs/StreamSessionStatus.md
1575
1580
  docs/StreamSessionSubscription.md
1576
1581
  docs/StreamSessionUpdateInputs.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@15.5.0
1
+ ## @connectedxm/admin-sdk@15.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@15.5.0 --save
39
+ npm install @connectedxm/admin-sdk@15.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: 15.5.0
7
+ * The version of the OpenAPI document: 15.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3010,6 +3010,8 @@ export interface BaseStreamInput {
3010
3010
  'locale': string;
3011
3011
  'webRTC': boolean;
3012
3012
  'webRTCPlaybackUrl': string | null;
3013
+ 'dvrEnabled': boolean;
3014
+ 'connected': boolean;
3013
3015
  }
3014
3016
  export interface BaseStreamSession {
3015
3017
  'id': string;
@@ -3019,6 +3021,7 @@ export interface BaseStreamSession {
3019
3021
  'eventId': string | null;
3020
3022
  'eventSessionId': string | null;
3021
3023
  'status': StreamSessionStatus;
3024
+ 'slowModeSeconds': number;
3022
3025
  'startedAt': string | null;
3023
3026
  'endedAt': string | null;
3024
3027
  'createdAt': string;
@@ -5160,6 +5163,16 @@ export enum CreateStreamInputOutput200ResponseStatusEnum {
5160
5163
  Ok = 'ok'
5161
5164
  }
5162
5165
 
5166
+ export interface CreateStreamSessionChatMessage200Response {
5167
+ 'status': CreateStreamSessionChatMessage200ResponseStatusEnum;
5168
+ 'message': string;
5169
+ 'data': StreamSessionChatMessage;
5170
+ }
5171
+
5172
+ export enum CreateStreamSessionChatMessage200ResponseStatusEnum {
5173
+ Ok = 'ok'
5174
+ }
5175
+
5163
5176
  export interface CreateSupportTicket200Response {
5164
5177
  'status': CreateSupportTicket200ResponseStatusEnum;
5165
5178
  'message': string;
@@ -14330,6 +14343,19 @@ export enum ReorderSurveySectionQuestions200ResponseStatusEnum {
14330
14343
  Ok = 'ok'
14331
14344
  }
14332
14345
 
14346
+ export interface ReorderTiers200Response {
14347
+ 'status': ReorderTiers200ResponseStatusEnum;
14348
+ 'message': string;
14349
+ 'data': Array<Tier>;
14350
+ }
14351
+
14352
+ export enum ReorderTiers200ResponseStatusEnum {
14353
+ Ok = 'ok'
14354
+ }
14355
+
14356
+ export interface ReorderTiersRequest {
14357
+ 'tierIds': Array<string>;
14358
+ }
14333
14359
  export interface ReportExport {
14334
14360
  'id': string;
14335
14361
  'status': ExportStatus;
@@ -15140,6 +15166,8 @@ export interface StreamInput {
15140
15166
  'locale': string;
15141
15167
  'webRTC': boolean;
15142
15168
  'webRTCPlaybackUrl': string | null;
15169
+ 'dvrEnabled': boolean;
15170
+ 'connected': boolean;
15143
15171
  'event': BaseEvent | null;
15144
15172
  'session': BaseEventSession | null;
15145
15173
  'group': BaseGroup | null;
@@ -15165,6 +15193,7 @@ export interface StreamInputCreateInputs {
15165
15193
  'public'?: boolean;
15166
15194
  'locale'?: string | null;
15167
15195
  'webRTC'?: boolean;
15196
+ 'dvrEnabled'?: boolean;
15168
15197
  }
15169
15198
  export interface StreamInputDetails {
15170
15199
  'uid': string;
@@ -15233,12 +15262,21 @@ export interface StreamInputUpdateInputs {
15233
15262
  'public'?: boolean;
15234
15263
  'locale'?: string | null;
15235
15264
  'webRTC'?: boolean;
15265
+ 'dvrEnabled'?: boolean;
15236
15266
  }
15237
15267
  export interface StreamOutputCreateInputs {
15238
15268
  'enabled': boolean;
15239
15269
  'streamKey': string;
15240
15270
  'url': string;
15241
15271
  }
15272
+
15273
+ export enum StreamReaction {
15274
+ Love = 'love',
15275
+ Applause = 'applause',
15276
+ Agree = 'agree'
15277
+ }
15278
+
15279
+
15242
15280
  export interface StreamSession {
15243
15281
  'id': string;
15244
15282
  'organizationId': string;
@@ -15247,6 +15285,7 @@ export interface StreamSession {
15247
15285
  'eventId': string | null;
15248
15286
  'eventSessionId': string | null;
15249
15287
  'status': StreamSessionStatus;
15288
+ 'slowModeSeconds': number;
15250
15289
  'startedAt': string | null;
15251
15290
  'endedAt': string | null;
15252
15291
  'createdAt': string;
@@ -15255,6 +15294,7 @@ export interface StreamSession {
15255
15294
  'event': BaseEvent | null;
15256
15295
  'eventSession': BaseEventSession | null;
15257
15296
  'organization': BaseOrganization;
15297
+ 'reactions'?: { [key: string]: any; };
15258
15298
  }
15259
15299
 
15260
15300
 
@@ -15267,6 +15307,19 @@ export interface StreamSessionChatMessage {
15267
15307
  'connectionId': string;
15268
15308
  'message': string;
15269
15309
  'timestamp': number;
15310
+ 'videoTime': number | null;
15311
+ 'videoId': string | null;
15312
+ 'role': StreamSessionChatMessageRoleEnum | null;
15313
+ }
15314
+
15315
+ export enum StreamSessionChatMessageRoleEnum {
15316
+ Host = 'host',
15317
+ Moderator = 'moderator'
15318
+ }
15319
+
15320
+ export interface StreamSessionChatMessageCreateInputs {
15321
+ 'message': string;
15322
+ 'name'?: string;
15270
15323
  }
15271
15324
 
15272
15325
  export enum StreamSessionStatus {
@@ -15290,6 +15343,7 @@ export interface StreamSessionUpdateInputs {
15290
15343
  'name'?: string | null;
15291
15344
  'eventId'?: string | null;
15292
15345
  'eventSessionId'?: string | null;
15346
+ 'slowModeSeconds'?: number;
15293
15347
  }
15294
15348
  export interface StreamSessionViewer {
15295
15349
  'accountId': string | null;
@@ -16179,6 +16233,10 @@ export interface TierCreateInputs {
16179
16233
  'name': string;
16180
16234
  'slug'?: string | null;
16181
16235
  'iconName'?: string | null;
16236
+ /**
16237
+ * Ignored: new tiers are always added last. Use ReorderTiers to change the order.
16238
+ * @deprecated
16239
+ */
16182
16240
  'priority'?: number | null;
16183
16241
  'description'?: string | null;
16184
16242
  'imageId'?: string | null;
@@ -16191,6 +16249,10 @@ export interface TierUpdateInputs {
16191
16249
  'name'?: string | null;
16192
16250
  'slug'?: string | null;
16193
16251
  'iconName'?: string | null;
16252
+ /**
16253
+ * Use ReorderTiers to change the order of tiers.
16254
+ * @deprecated
16255
+ */
16194
16256
  'priority'?: number | null;
16195
16257
  'description'?: string | null;
16196
16258
  'imageId'?: string | null;
@@ -152547,6 +152609,51 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration?: Con
152547
152609
  options: localVarRequestOptions,
152548
152610
  };
152549
152611
  },
152612
+ /**
152613
+ * Posts a chat message to an active stream session (sessionId) as the host, under the organization\'s name unless a name is given. Viewers see it with a host badge, and slow mode doesn\'t apply; requires the read and update permissions on streams.
152614
+ * @summary Post a chat message as the host
152615
+ * @param {string} sessionId The session identifier
152616
+ * @param {StreamSessionChatMessageCreateInputs} streamSessionChatMessageCreateInputs
152617
+ * @param {*} [options] Override http request option.
152618
+ * @throws {RequiredError}
152619
+ */
152620
+ createStreamSessionChatMessage: async (sessionId: string, streamSessionChatMessageCreateInputs: StreamSessionChatMessageCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
152621
+ // verify required parameter 'sessionId' is not null or undefined
152622
+ assertParamExists('createStreamSessionChatMessage', 'sessionId', sessionId)
152623
+ // verify required parameter 'streamSessionChatMessageCreateInputs' is not null or undefined
152624
+ assertParamExists('createStreamSessionChatMessage', 'streamSessionChatMessageCreateInputs', streamSessionChatMessageCreateInputs)
152625
+ const localVarPath = `/streams/sessions/{sessionId}/chat`
152626
+ .replace('{sessionId}', encodeURIComponent(String(sessionId)));
152627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
152628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152629
+ let baseOptions;
152630
+ if (configuration) {
152631
+ baseOptions = configuration.baseOptions;
152632
+ }
152633
+
152634
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
152635
+ const localVarHeaderParameter = {} as any;
152636
+ const localVarQueryParameter = {} as any;
152637
+
152638
+ // authentication ApiKeyAuth required
152639
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
152640
+
152641
+ // authentication OrganizationId required
152642
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
152643
+
152644
+ localVarHeaderParameter['Content-Type'] = 'application/json';
152645
+ localVarHeaderParameter['Accept'] = 'application/json';
152646
+
152647
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
152648
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152649
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
152650
+ localVarRequestOptions.data = serializeDataIfNeeded(streamSessionChatMessageCreateInputs, localVarRequestOptions, configuration)
152651
+
152652
+ return {
152653
+ url: toPathString(localVarUrlObj),
152654
+ options: localVarRequestOptions,
152655
+ };
152656
+ },
152550
152657
  /**
152551
152658
  * Permanently deletes a chat message (messageId) from the given stream session (sessionId), whether the session is active or ended and whether or not its stream input still exists; requires the read and update permissions on streams.
152552
152659
  * @summary Delete a stream session chat message
@@ -153251,6 +153358,20 @@ export const StreamsSessionsApiFp = function(configuration?: Configuration) {
153251
153358
  const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.closeStreamSession']?.[localVarOperationServerIndex]?.url;
153252
153359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153253
153360
  },
153361
+ /**
153362
+ * Posts a chat message to an active stream session (sessionId) as the host, under the organization\'s name unless a name is given. Viewers see it with a host badge, and slow mode doesn\'t apply; requires the read and update permissions on streams.
153363
+ * @summary Post a chat message as the host
153364
+ * @param {string} sessionId The session identifier
153365
+ * @param {StreamSessionChatMessageCreateInputs} streamSessionChatMessageCreateInputs
153366
+ * @param {*} [options] Override http request option.
153367
+ * @throws {RequiredError}
153368
+ */
153369
+ async createStreamSessionChatMessage(sessionId: string, streamSessionChatMessageCreateInputs: StreamSessionChatMessageCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateStreamSessionChatMessage200Response>> {
153370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createStreamSessionChatMessage(sessionId, streamSessionChatMessageCreateInputs, options);
153371
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
153372
+ const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.createStreamSessionChatMessage']?.[localVarOperationServerIndex]?.url;
153373
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
153374
+ },
153254
153375
  /**
153255
153376
  * Permanently deletes a chat message (messageId) from the given stream session (sessionId), whether the session is active or ended and whether or not its stream input still exists; requires the read and update permissions on streams.
153256
153377
  * @summary Delete a stream session chat message
@@ -153472,6 +153593,16 @@ export const StreamsSessionsApiFactory = function (configuration?: Configuration
153472
153593
  closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
153473
153594
  return localVarFp.closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
153474
153595
  },
153596
+ /**
153597
+ * Posts a chat message to an active stream session (sessionId) as the host, under the organization\'s name unless a name is given. Viewers see it with a host badge, and slow mode doesn\'t apply; requires the read and update permissions on streams.
153598
+ * @summary Post a chat message as the host
153599
+ * @param {StreamsSessionsApiCreateStreamSessionChatMessageRequest} requestParameters Request parameters.
153600
+ * @param {*} [options] Override http request option.
153601
+ * @throws {RequiredError}
153602
+ */
153603
+ createStreamSessionChatMessage(requestParameters: StreamsSessionsApiCreateStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateStreamSessionChatMessage200Response> {
153604
+ return localVarFp.createStreamSessionChatMessage(requestParameters.sessionId, requestParameters.streamSessionChatMessageCreateInputs, options).then((request) => request(axios, basePath));
153605
+ },
153475
153606
  /**
153476
153607
  * Permanently deletes a chat message (messageId) from the given stream session (sessionId), whether the session is active or ended and whether or not its stream input still exists; requires the read and update permissions on streams.
153477
153608
  * @summary Delete a stream session chat message
@@ -153620,6 +153751,18 @@ export interface StreamsSessionsApiCloseStreamSessionRequest {
153620
153751
  readonly sessionId: string
153621
153752
  }
153622
153753
 
153754
+ /**
153755
+ * Request parameters for createStreamSessionChatMessage operation in StreamsSessionsApi.
153756
+ */
153757
+ export interface StreamsSessionsApiCreateStreamSessionChatMessageRequest {
153758
+ /**
153759
+ * The session identifier
153760
+ */
153761
+ readonly sessionId: string
153762
+
153763
+ readonly streamSessionChatMessageCreateInputs: StreamSessionChatMessageCreateInputs
153764
+ }
153765
+
153623
153766
  /**
153624
153767
  * Request parameters for deleteStreamSessionChatMessage operation in StreamsSessionsApi.
153625
153768
  */
@@ -153927,6 +154070,17 @@ export class StreamsSessionsApi extends BaseAPI {
153927
154070
  return StreamsSessionsApiFp(this.configuration).closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
153928
154071
  }
153929
154072
 
154073
+ /**
154074
+ * Posts a chat message to an active stream session (sessionId) as the host, under the organization\'s name unless a name is given. Viewers see it with a host badge, and slow mode doesn\'t apply; requires the read and update permissions on streams.
154075
+ * @summary Post a chat message as the host
154076
+ * @param {StreamsSessionsApiCreateStreamSessionChatMessageRequest} requestParameters Request parameters.
154077
+ * @param {*} [options] Override http request option.
154078
+ * @throws {RequiredError}
154079
+ */
154080
+ public createStreamSessionChatMessage(requestParameters: StreamsSessionsApiCreateStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig) {
154081
+ return StreamsSessionsApiFp(this.configuration).createStreamSessionChatMessage(requestParameters.sessionId, requestParameters.streamSessionChatMessageCreateInputs, options).then((request) => request(this.axios, this.basePath));
154082
+ }
154083
+
153930
154084
  /**
153931
154085
  * Permanently deletes a chat message (messageId) from the given stream session (sessionId), whether the session is active or ended and whether or not its stream input still exists; requires the read and update permissions on streams.
153932
154086
  * @summary Delete a stream session chat message
@@ -166354,6 +166508,47 @@ export const TiersApiAxiosParamCreator = function (configuration?: Configuration
166354
166508
  options: localVarRequestOptions,
166355
166509
  };
166356
166510
  },
166511
+ /**
166512
+ * Sets the priority of every account tier in the organization from a complete, ordered array of tier IDs (archived and internal tiers included); any missing or unknown tier ID rejects the request, and update permission on tiers is required.
166513
+ * @summary Reorder account tiers
166514
+ * @param {ReorderTiersRequest} reorderTiersRequest
166515
+ * @param {*} [options] Override http request option.
166516
+ * @throws {RequiredError}
166517
+ */
166518
+ reorderTiers: async (reorderTiersRequest: ReorderTiersRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
166519
+ // verify required parameter 'reorderTiersRequest' is not null or undefined
166520
+ assertParamExists('reorderTiers', 'reorderTiersRequest', reorderTiersRequest)
166521
+ const localVarPath = `/tiers/reorder`;
166522
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
166523
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
166524
+ let baseOptions;
166525
+ if (configuration) {
166526
+ baseOptions = configuration.baseOptions;
166527
+ }
166528
+
166529
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
166530
+ const localVarHeaderParameter = {} as any;
166531
+ const localVarQueryParameter = {} as any;
166532
+
166533
+ // authentication ApiKeyAuth required
166534
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
166535
+
166536
+ // authentication OrganizationId required
166537
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
166538
+
166539
+ localVarHeaderParameter['Content-Type'] = 'application/json';
166540
+ localVarHeaderParameter['Accept'] = 'application/json';
166541
+
166542
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
166543
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
166544
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
166545
+ localVarRequestOptions.data = serializeDataIfNeeded(reorderTiersRequest, localVarRequestOptions, configuration)
166546
+
166547
+ return {
166548
+ url: toPathString(localVarUrlObj),
166549
+ options: localVarRequestOptions,
166550
+ };
166551
+ },
166357
166552
  /**
166358
166553
  * Updates the fields of an existing account tier identified by tierId, requiring read and update permission on tiers.
166359
166554
  * @summary Update an account tier
@@ -166545,6 +166740,19 @@ export const TiersApiFp = function(configuration?: Configuration) {
166545
166740
  const localVarOperationServerBasePath = operationServerMap['TiersApi.removeTierAccounts']?.[localVarOperationServerIndex]?.url;
166546
166741
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
166547
166742
  },
166743
+ /**
166744
+ * Sets the priority of every account tier in the organization from a complete, ordered array of tier IDs (archived and internal tiers included); any missing or unknown tier ID rejects the request, and update permission on tiers is required.
166745
+ * @summary Reorder account tiers
166746
+ * @param {ReorderTiersRequest} reorderTiersRequest
166747
+ * @param {*} [options] Override http request option.
166748
+ * @throws {RequiredError}
166749
+ */
166750
+ async reorderTiers(reorderTiersRequest: ReorderTiersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReorderTiers200Response>> {
166751
+ const localVarAxiosArgs = await localVarAxiosParamCreator.reorderTiers(reorderTiersRequest, options);
166752
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
166753
+ const localVarOperationServerBasePath = operationServerMap['TiersApi.reorderTiers']?.[localVarOperationServerIndex]?.url;
166754
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
166755
+ },
166548
166756
  /**
166549
166757
  * Updates the fields of an existing account tier identified by tierId, requiring read and update permission on tiers.
166550
166758
  * @summary Update an account tier
@@ -166658,6 +166866,16 @@ export const TiersApiFactory = function (configuration?: Configuration, basePath
166658
166866
  removeTierAccounts(requestParameters: TiersApiRemoveTierAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateTier200Response> {
166659
166867
  return localVarFp.removeTierAccounts(requestParameters.tierId, options).then((request) => request(axios, basePath));
166660
166868
  },
166869
+ /**
166870
+ * Sets the priority of every account tier in the organization from a complete, ordered array of tier IDs (archived and internal tiers included); any missing or unknown tier ID rejects the request, and update permission on tiers is required.
166871
+ * @summary Reorder account tiers
166872
+ * @param {TiersApiReorderTiersRequest} requestParameters Request parameters.
166873
+ * @param {*} [options] Override http request option.
166874
+ * @throws {RequiredError}
166875
+ */
166876
+ reorderTiers(requestParameters: TiersApiReorderTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReorderTiers200Response> {
166877
+ return localVarFp.reorderTiers(requestParameters.reorderTiersRequest, options).then((request) => request(axios, basePath));
166878
+ },
166661
166879
  /**
166662
166880
  * Updates the fields of an existing account tier identified by tierId, requiring read and update permission on tiers.
166663
166881
  * @summary Update an account tier
@@ -166858,6 +167076,13 @@ export interface TiersApiRemoveTierAccountsRequest {
166858
167076
  readonly tierId: string
166859
167077
  }
166860
167078
 
167079
+ /**
167080
+ * Request parameters for reorderTiers operation in TiersApi.
167081
+ */
167082
+ export interface TiersApiReorderTiersRequest {
167083
+ readonly reorderTiersRequest: ReorderTiersRequest
167084
+ }
167085
+
166861
167086
  /**
166862
167087
  * Request parameters for updateTier operation in TiersApi.
166863
167088
  */
@@ -166973,6 +167198,17 @@ export class TiersApi extends BaseAPI {
166973
167198
  return TiersApiFp(this.configuration).removeTierAccounts(requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
166974
167199
  }
166975
167200
 
167201
+ /**
167202
+ * Sets the priority of every account tier in the organization from a complete, ordered array of tier IDs (archived and internal tiers included); any missing or unknown tier ID rejects the request, and update permission on tiers is required.
167203
+ * @summary Reorder account tiers
167204
+ * @param {TiersApiReorderTiersRequest} requestParameters Request parameters.
167205
+ * @param {*} [options] Override http request option.
167206
+ * @throws {RequiredError}
167207
+ */
167208
+ public reorderTiers(requestParameters: TiersApiReorderTiersRequest, options?: RawAxiosRequestConfig) {
167209
+ return TiersApiFp(this.configuration).reorderTiers(requestParameters.reorderTiersRequest, options).then((request) => request(this.axios, this.basePath));
167210
+ }
167211
+
166976
167212
  /**
166977
167213
  * Updates the fields of an existing account tier identified by tierId, requiring read and update permission on tiers.
166978
167214
  * @summary Update an account tier
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: 15.5.0
7
+ * The version of the OpenAPI document: 15.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: 15.5.0
7
+ * The version of the OpenAPI document: 15.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: 15.5.0
6
+ * The version of the OpenAPI document: 15.7.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).