@connectedxm/admin-sdk 13.7.0 → 13.8.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/README.md +2 -2
- package/api.ts +95 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +48 -1
- package/dist/api.js +76 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +48 -1
- package/dist/esm/api.js +76 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/StreamsSessionsApi.md +55 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@13.
|
|
1
|
+
## @connectedxm/admin-sdk@13.8.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@13.
|
|
39
|
+
npm install @connectedxm/admin-sdk@13.8.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -151898,6 +151898,50 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
151898
151898
|
options: localVarRequestOptions,
|
|
151899
151899
|
};
|
|
151900
151900
|
},
|
|
151901
|
+
/**
|
|
151902
|
+
* 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.
|
|
151903
|
+
* @summary Delete a stream session chat message
|
|
151904
|
+
* @param {string} sessionId The session identifier
|
|
151905
|
+
* @param {string} messageId The message identifier
|
|
151906
|
+
* @param {*} [options] Override http request option.
|
|
151907
|
+
* @throws {RequiredError}
|
|
151908
|
+
*/
|
|
151909
|
+
deleteStreamSessionChatMessage: async (sessionId: string, messageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
151910
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
151911
|
+
assertParamExists('deleteStreamSessionChatMessage', 'sessionId', sessionId)
|
|
151912
|
+
// verify required parameter 'messageId' is not null or undefined
|
|
151913
|
+
assertParamExists('deleteStreamSessionChatMessage', 'messageId', messageId)
|
|
151914
|
+
const localVarPath = `/streams/sessions/{sessionId}/chat/{messageId}`
|
|
151915
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
151916
|
+
.replace('{messageId}', encodeURIComponent(String(messageId)));
|
|
151917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151919
|
+
let baseOptions;
|
|
151920
|
+
if (configuration) {
|
|
151921
|
+
baseOptions = configuration.baseOptions;
|
|
151922
|
+
}
|
|
151923
|
+
|
|
151924
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
151925
|
+
const localVarHeaderParameter = {} as any;
|
|
151926
|
+
const localVarQueryParameter = {} as any;
|
|
151927
|
+
|
|
151928
|
+
// authentication ApiKeyAuth required
|
|
151929
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
151930
|
+
|
|
151931
|
+
// authentication OrganizationId required
|
|
151932
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
151933
|
+
|
|
151934
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
151935
|
+
|
|
151936
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151937
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151938
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
151939
|
+
|
|
151940
|
+
return {
|
|
151941
|
+
url: toPathString(localVarUrlObj),
|
|
151942
|
+
options: localVarRequestOptions,
|
|
151943
|
+
};
|
|
151944
|
+
},
|
|
151901
151945
|
/**
|
|
151902
151946
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
151903
151947
|
* @summary Request an export of a stream session
|
|
@@ -152553,6 +152597,20 @@ export const StreamsSessionsApiFp = function(configuration?: Configuration) {
|
|
|
152553
152597
|
const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.closeStreamSession']?.[localVarOperationServerIndex]?.url;
|
|
152554
152598
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
152555
152599
|
},
|
|
152600
|
+
/**
|
|
152601
|
+
* 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.
|
|
152602
|
+
* @summary Delete a stream session chat message
|
|
152603
|
+
* @param {string} sessionId The session identifier
|
|
152604
|
+
* @param {string} messageId The message identifier
|
|
152605
|
+
* @param {*} [options] Override http request option.
|
|
152606
|
+
* @throws {RequiredError}
|
|
152607
|
+
*/
|
|
152608
|
+
async deleteStreamSessionChatMessage(sessionId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
152609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStreamSessionChatMessage(sessionId, messageId, options);
|
|
152610
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
152611
|
+
const localVarOperationServerBasePath = operationServerMap['StreamsSessionsApi.deleteStreamSessionChatMessage']?.[localVarOperationServerIndex]?.url;
|
|
152612
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
152613
|
+
},
|
|
152556
152614
|
/**
|
|
152557
152615
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
152558
152616
|
* @summary Request an export of a stream session
|
|
@@ -152759,6 +152817,16 @@ export const StreamsSessionsApiFactory = function (configuration?: Configuration
|
|
|
152759
152817
|
closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
152760
152818
|
return localVarFp.closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
152761
152819
|
},
|
|
152820
|
+
/**
|
|
152821
|
+
* 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.
|
|
152822
|
+
* @summary Delete a stream session chat message
|
|
152823
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
152824
|
+
* @param {*} [options] Override http request option.
|
|
152825
|
+
* @throws {RequiredError}
|
|
152826
|
+
*/
|
|
152827
|
+
deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
152828
|
+
return localVarFp.deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(axios, basePath));
|
|
152829
|
+
},
|
|
152762
152830
|
/**
|
|
152763
152831
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
152764
152832
|
* @summary Request an export of a stream session
|
|
@@ -152897,6 +152965,21 @@ export interface StreamsSessionsApiCloseStreamSessionRequest {
|
|
|
152897
152965
|
readonly sessionId: string
|
|
152898
152966
|
}
|
|
152899
152967
|
|
|
152968
|
+
/**
|
|
152969
|
+
* Request parameters for deleteStreamSessionChatMessage operation in StreamsSessionsApi.
|
|
152970
|
+
*/
|
|
152971
|
+
export interface StreamsSessionsApiDeleteStreamSessionChatMessageRequest {
|
|
152972
|
+
/**
|
|
152973
|
+
* The session identifier
|
|
152974
|
+
*/
|
|
152975
|
+
readonly sessionId: string
|
|
152976
|
+
|
|
152977
|
+
/**
|
|
152978
|
+
* The message identifier
|
|
152979
|
+
*/
|
|
152980
|
+
readonly messageId: string
|
|
152981
|
+
}
|
|
152982
|
+
|
|
152900
152983
|
/**
|
|
152901
152984
|
* Request parameters for exportStreamSession operation in StreamsSessionsApi.
|
|
152902
152985
|
*/
|
|
@@ -153184,6 +153267,17 @@ export class StreamsSessionsApi extends BaseAPI {
|
|
|
153184
153267
|
return StreamsSessionsApiFp(this.configuration).closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
153185
153268
|
}
|
|
153186
153269
|
|
|
153270
|
+
/**
|
|
153271
|
+
* 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.
|
|
153272
|
+
* @summary Delete a stream session chat message
|
|
153273
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
153274
|
+
* @param {*} [options] Override http request option.
|
|
153275
|
+
* @throws {RequiredError}
|
|
153276
|
+
*/
|
|
153277
|
+
public deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig) {
|
|
153278
|
+
return StreamsSessionsApiFp(this.configuration).deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(this.axios, this.basePath));
|
|
153279
|
+
}
|
|
153280
|
+
|
|
153187
153281
|
/**
|
|
153188
153282
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
153189
153283
|
* @summary Request an export of a stream session
|
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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
6
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -83082,6 +83082,15 @@ export declare const StreamsSessionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
83082
83082
|
* @throws {RequiredError}
|
|
83083
83083
|
*/
|
|
83084
83084
|
closeStreamSession: (streamId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83085
|
+
/**
|
|
83086
|
+
* 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.
|
|
83087
|
+
* @summary Delete a stream session chat message
|
|
83088
|
+
* @param {string} sessionId The session identifier
|
|
83089
|
+
* @param {string} messageId The message identifier
|
|
83090
|
+
* @param {*} [options] Override http request option.
|
|
83091
|
+
* @throws {RequiredError}
|
|
83092
|
+
*/
|
|
83093
|
+
deleteStreamSessionChatMessage: (sessionId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83085
83094
|
/**
|
|
83086
83095
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83087
83096
|
* @summary Request an export of a stream session
|
|
@@ -83223,6 +83232,15 @@ export declare const StreamsSessionsApiFp: (configuration?: Configuration) => {
|
|
|
83223
83232
|
* @throws {RequiredError}
|
|
83224
83233
|
*/
|
|
83225
83234
|
closeStreamSession(streamId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
83235
|
+
/**
|
|
83236
|
+
* 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.
|
|
83237
|
+
* @summary Delete a stream session chat message
|
|
83238
|
+
* @param {string} sessionId The session identifier
|
|
83239
|
+
* @param {string} messageId The message identifier
|
|
83240
|
+
* @param {*} [options] Override http request option.
|
|
83241
|
+
* @throws {RequiredError}
|
|
83242
|
+
*/
|
|
83243
|
+
deleteStreamSessionChatMessage(sessionId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
83226
83244
|
/**
|
|
83227
83245
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83228
83246
|
* @summary Request an export of a stream session
|
|
@@ -83363,6 +83381,14 @@ export declare const StreamsSessionsApiFactory: (configuration?: Configuration,
|
|
|
83363
83381
|
* @throws {RequiredError}
|
|
83364
83382
|
*/
|
|
83365
83383
|
closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
83384
|
+
/**
|
|
83385
|
+
* 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.
|
|
83386
|
+
* @summary Delete a stream session chat message
|
|
83387
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
83388
|
+
* @param {*} [options] Override http request option.
|
|
83389
|
+
* @throws {RequiredError}
|
|
83390
|
+
*/
|
|
83391
|
+
deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
83366
83392
|
/**
|
|
83367
83393
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83368
83394
|
* @summary Request an export of a stream session
|
|
@@ -83473,6 +83499,19 @@ export interface StreamsSessionsApiCloseStreamSessionRequest {
|
|
|
83473
83499
|
*/
|
|
83474
83500
|
readonly sessionId: string;
|
|
83475
83501
|
}
|
|
83502
|
+
/**
|
|
83503
|
+
* Request parameters for deleteStreamSessionChatMessage operation in StreamsSessionsApi.
|
|
83504
|
+
*/
|
|
83505
|
+
export interface StreamsSessionsApiDeleteStreamSessionChatMessageRequest {
|
|
83506
|
+
/**
|
|
83507
|
+
* The session identifier
|
|
83508
|
+
*/
|
|
83509
|
+
readonly sessionId: string;
|
|
83510
|
+
/**
|
|
83511
|
+
* The message identifier
|
|
83512
|
+
*/
|
|
83513
|
+
readonly messageId: string;
|
|
83514
|
+
}
|
|
83476
83515
|
/**
|
|
83477
83516
|
* Request parameters for exportStreamSession operation in StreamsSessionsApi.
|
|
83478
83517
|
*/
|
|
@@ -83714,6 +83753,14 @@ export declare class StreamsSessionsApi extends BaseAPI {
|
|
|
83714
83753
|
* @throws {RequiredError}
|
|
83715
83754
|
*/
|
|
83716
83755
|
closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
83756
|
+
/**
|
|
83757
|
+
* 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.
|
|
83758
|
+
* @summary Delete a stream session chat message
|
|
83759
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
83760
|
+
* @param {*} [options] Override http request option.
|
|
83761
|
+
* @throws {RequiredError}
|
|
83762
|
+
*/
|
|
83763
|
+
deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
83717
83764
|
/**
|
|
83718
83765
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83719
83766
|
* @summary Request an export of a stream session
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 13.
|
|
8
|
+
* The version of the OpenAPI document: 13.8.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -107571,6 +107571,44 @@ const StreamsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
107571
107571
|
options: localVarRequestOptions,
|
|
107572
107572
|
};
|
|
107573
107573
|
}),
|
|
107574
|
+
/**
|
|
107575
|
+
* 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.
|
|
107576
|
+
* @summary Delete a stream session chat message
|
|
107577
|
+
* @param {string} sessionId The session identifier
|
|
107578
|
+
* @param {string} messageId The message identifier
|
|
107579
|
+
* @param {*} [options] Override http request option.
|
|
107580
|
+
* @throws {RequiredError}
|
|
107581
|
+
*/
|
|
107582
|
+
deleteStreamSessionChatMessage: (sessionId_1, messageId_1, ...args_1) => __awaiter(this, [sessionId_1, messageId_1, ...args_1], void 0, function* (sessionId, messageId, options = {}) {
|
|
107583
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
107584
|
+
(0, common_1.assertParamExists)('deleteStreamSessionChatMessage', 'sessionId', sessionId);
|
|
107585
|
+
// verify required parameter 'messageId' is not null or undefined
|
|
107586
|
+
(0, common_1.assertParamExists)('deleteStreamSessionChatMessage', 'messageId', messageId);
|
|
107587
|
+
const localVarPath = `/streams/sessions/{sessionId}/chat/{messageId}`
|
|
107588
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
107589
|
+
.replace('{messageId}', encodeURIComponent(String(messageId)));
|
|
107590
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107591
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107592
|
+
let baseOptions;
|
|
107593
|
+
if (configuration) {
|
|
107594
|
+
baseOptions = configuration.baseOptions;
|
|
107595
|
+
}
|
|
107596
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
107597
|
+
const localVarHeaderParameter = {};
|
|
107598
|
+
const localVarQueryParameter = {};
|
|
107599
|
+
// authentication ApiKeyAuth required
|
|
107600
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
107601
|
+
// authentication OrganizationId required
|
|
107602
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
107603
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
107604
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107605
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107606
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
107607
|
+
return {
|
|
107608
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
107609
|
+
options: localVarRequestOptions,
|
|
107610
|
+
};
|
|
107611
|
+
}),
|
|
107574
107612
|
/**
|
|
107575
107613
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
107576
107614
|
* @summary Request an export of a stream session
|
|
@@ -108130,6 +108168,23 @@ const StreamsSessionsApiFp = function (configuration) {
|
|
|
108130
108168
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108131
108169
|
});
|
|
108132
108170
|
},
|
|
108171
|
+
/**
|
|
108172
|
+
* 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.
|
|
108173
|
+
* @summary Delete a stream session chat message
|
|
108174
|
+
* @param {string} sessionId The session identifier
|
|
108175
|
+
* @param {string} messageId The message identifier
|
|
108176
|
+
* @param {*} [options] Override http request option.
|
|
108177
|
+
* @throws {RequiredError}
|
|
108178
|
+
*/
|
|
108179
|
+
deleteStreamSessionChatMessage(sessionId, messageId, options) {
|
|
108180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108181
|
+
var _a, _b, _c;
|
|
108182
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteStreamSessionChatMessage(sessionId, messageId, options);
|
|
108183
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
108184
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StreamsSessionsApi.deleteStreamSessionChatMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
108185
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108186
|
+
});
|
|
108187
|
+
},
|
|
108133
108188
|
/**
|
|
108134
108189
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
108135
108190
|
* @summary Request an export of a stream session
|
|
@@ -108372,6 +108427,16 @@ const StreamsSessionsApiFactory = function (configuration, basePath, axios) {
|
|
|
108372
108427
|
closeStreamSession(requestParameters, options) {
|
|
108373
108428
|
return localVarFp.closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
108374
108429
|
},
|
|
108430
|
+
/**
|
|
108431
|
+
* 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.
|
|
108432
|
+
* @summary Delete a stream session chat message
|
|
108433
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
108434
|
+
* @param {*} [options] Override http request option.
|
|
108435
|
+
* @throws {RequiredError}
|
|
108436
|
+
*/
|
|
108437
|
+
deleteStreamSessionChatMessage(requestParameters, options) {
|
|
108438
|
+
return localVarFp.deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(axios, basePath));
|
|
108439
|
+
},
|
|
108375
108440
|
/**
|
|
108376
108441
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
108377
108442
|
* @summary Request an export of a stream session
|
|
@@ -108509,6 +108574,16 @@ class StreamsSessionsApi extends base_1.BaseAPI {
|
|
|
108509
108574
|
closeStreamSession(requestParameters, options) {
|
|
108510
108575
|
return (0, exports.StreamsSessionsApiFp)(this.configuration).closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
108511
108576
|
}
|
|
108577
|
+
/**
|
|
108578
|
+
* 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.
|
|
108579
|
+
* @summary Delete a stream session chat message
|
|
108580
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
108581
|
+
* @param {*} [options] Override http request option.
|
|
108582
|
+
* @throws {RequiredError}
|
|
108583
|
+
*/
|
|
108584
|
+
deleteStreamSessionChatMessage(requestParameters, options) {
|
|
108585
|
+
return (0, exports.StreamsSessionsApiFp)(this.configuration).deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(this.axios, this.basePath));
|
|
108586
|
+
}
|
|
108512
108587
|
/**
|
|
108513
108588
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
108514
108589
|
* @summary Request an export of a stream session
|
package/dist/base.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 13.
|
|
8
|
+
* The version of the OpenAPI document: 13.8.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 13.
|
|
8
|
+
* The version of the OpenAPI document: 13.8.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -83082,6 +83082,15 @@ export declare const StreamsSessionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
83082
83082
|
* @throws {RequiredError}
|
|
83083
83083
|
*/
|
|
83084
83084
|
closeStreamSession: (streamId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83085
|
+
/**
|
|
83086
|
+
* 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.
|
|
83087
|
+
* @summary Delete a stream session chat message
|
|
83088
|
+
* @param {string} sessionId The session identifier
|
|
83089
|
+
* @param {string} messageId The message identifier
|
|
83090
|
+
* @param {*} [options] Override http request option.
|
|
83091
|
+
* @throws {RequiredError}
|
|
83092
|
+
*/
|
|
83093
|
+
deleteStreamSessionChatMessage: (sessionId: string, messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83085
83094
|
/**
|
|
83086
83095
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83087
83096
|
* @summary Request an export of a stream session
|
|
@@ -83223,6 +83232,15 @@ export declare const StreamsSessionsApiFp: (configuration?: Configuration) => {
|
|
|
83223
83232
|
* @throws {RequiredError}
|
|
83224
83233
|
*/
|
|
83225
83234
|
closeStreamSession(streamId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
83235
|
+
/**
|
|
83236
|
+
* 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.
|
|
83237
|
+
* @summary Delete a stream session chat message
|
|
83238
|
+
* @param {string} sessionId The session identifier
|
|
83239
|
+
* @param {string} messageId The message identifier
|
|
83240
|
+
* @param {*} [options] Override http request option.
|
|
83241
|
+
* @throws {RequiredError}
|
|
83242
|
+
*/
|
|
83243
|
+
deleteStreamSessionChatMessage(sessionId: string, messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
83226
83244
|
/**
|
|
83227
83245
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83228
83246
|
* @summary Request an export of a stream session
|
|
@@ -83363,6 +83381,14 @@ export declare const StreamsSessionsApiFactory: (configuration?: Configuration,
|
|
|
83363
83381
|
* @throws {RequiredError}
|
|
83364
83382
|
*/
|
|
83365
83383
|
closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
83384
|
+
/**
|
|
83385
|
+
* 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.
|
|
83386
|
+
* @summary Delete a stream session chat message
|
|
83387
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
83388
|
+
* @param {*} [options] Override http request option.
|
|
83389
|
+
* @throws {RequiredError}
|
|
83390
|
+
*/
|
|
83391
|
+
deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
|
|
83366
83392
|
/**
|
|
83367
83393
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83368
83394
|
* @summary Request an export of a stream session
|
|
@@ -83473,6 +83499,19 @@ export interface StreamsSessionsApiCloseStreamSessionRequest {
|
|
|
83473
83499
|
*/
|
|
83474
83500
|
readonly sessionId: string;
|
|
83475
83501
|
}
|
|
83502
|
+
/**
|
|
83503
|
+
* Request parameters for deleteStreamSessionChatMessage operation in StreamsSessionsApi.
|
|
83504
|
+
*/
|
|
83505
|
+
export interface StreamsSessionsApiDeleteStreamSessionChatMessageRequest {
|
|
83506
|
+
/**
|
|
83507
|
+
* The session identifier
|
|
83508
|
+
*/
|
|
83509
|
+
readonly sessionId: string;
|
|
83510
|
+
/**
|
|
83511
|
+
* The message identifier
|
|
83512
|
+
*/
|
|
83513
|
+
readonly messageId: string;
|
|
83514
|
+
}
|
|
83476
83515
|
/**
|
|
83477
83516
|
* Request parameters for exportStreamSession operation in StreamsSessionsApi.
|
|
83478
83517
|
*/
|
|
@@ -83714,6 +83753,14 @@ export declare class StreamsSessionsApi extends BaseAPI {
|
|
|
83714
83753
|
* @throws {RequiredError}
|
|
83715
83754
|
*/
|
|
83716
83755
|
closeStreamSession(requestParameters: StreamsSessionsApiCloseStreamSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
83756
|
+
/**
|
|
83757
|
+
* 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.
|
|
83758
|
+
* @summary Delete a stream session chat message
|
|
83759
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
83760
|
+
* @param {*} [options] Override http request option.
|
|
83761
|
+
* @throws {RequiredError}
|
|
83762
|
+
*/
|
|
83763
|
+
deleteStreamSessionChatMessage(requestParameters: StreamsSessionsApiDeleteStreamSessionChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}, any>>;
|
|
83717
83764
|
/**
|
|
83718
83765
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
83719
83766
|
* @summary Request an export of a stream session
|
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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -106795,6 +106795,44 @@ export const StreamsSessionsApiAxiosParamCreator = function (configuration) {
|
|
|
106795
106795
|
options: localVarRequestOptions,
|
|
106796
106796
|
};
|
|
106797
106797
|
}),
|
|
106798
|
+
/**
|
|
106799
|
+
* 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.
|
|
106800
|
+
* @summary Delete a stream session chat message
|
|
106801
|
+
* @param {string} sessionId The session identifier
|
|
106802
|
+
* @param {string} messageId The message identifier
|
|
106803
|
+
* @param {*} [options] Override http request option.
|
|
106804
|
+
* @throws {RequiredError}
|
|
106805
|
+
*/
|
|
106806
|
+
deleteStreamSessionChatMessage: (sessionId_1, messageId_1, ...args_1) => __awaiter(this, [sessionId_1, messageId_1, ...args_1], void 0, function* (sessionId, messageId, options = {}) {
|
|
106807
|
+
// verify required parameter 'sessionId' is not null or undefined
|
|
106808
|
+
assertParamExists('deleteStreamSessionChatMessage', 'sessionId', sessionId);
|
|
106809
|
+
// verify required parameter 'messageId' is not null or undefined
|
|
106810
|
+
assertParamExists('deleteStreamSessionChatMessage', 'messageId', messageId);
|
|
106811
|
+
const localVarPath = `/streams/sessions/{sessionId}/chat/{messageId}`
|
|
106812
|
+
.replace('{sessionId}', encodeURIComponent(String(sessionId)))
|
|
106813
|
+
.replace('{messageId}', encodeURIComponent(String(messageId)));
|
|
106814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106816
|
+
let baseOptions;
|
|
106817
|
+
if (configuration) {
|
|
106818
|
+
baseOptions = configuration.baseOptions;
|
|
106819
|
+
}
|
|
106820
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
106821
|
+
const localVarHeaderParameter = {};
|
|
106822
|
+
const localVarQueryParameter = {};
|
|
106823
|
+
// authentication ApiKeyAuth required
|
|
106824
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
106825
|
+
// authentication OrganizationId required
|
|
106826
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
106827
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
106828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106830
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106831
|
+
return {
|
|
106832
|
+
url: toPathString(localVarUrlObj),
|
|
106833
|
+
options: localVarRequestOptions,
|
|
106834
|
+
};
|
|
106835
|
+
}),
|
|
106798
106836
|
/**
|
|
106799
106837
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
106800
106838
|
* @summary Request an export of a stream session
|
|
@@ -107353,6 +107391,23 @@ export const StreamsSessionsApiFp = function (configuration) {
|
|
|
107353
107391
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107354
107392
|
});
|
|
107355
107393
|
},
|
|
107394
|
+
/**
|
|
107395
|
+
* 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.
|
|
107396
|
+
* @summary Delete a stream session chat message
|
|
107397
|
+
* @param {string} sessionId The session identifier
|
|
107398
|
+
* @param {string} messageId The message identifier
|
|
107399
|
+
* @param {*} [options] Override http request option.
|
|
107400
|
+
* @throws {RequiredError}
|
|
107401
|
+
*/
|
|
107402
|
+
deleteStreamSessionChatMessage(sessionId, messageId, options) {
|
|
107403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107404
|
+
var _a, _b, _c;
|
|
107405
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteStreamSessionChatMessage(sessionId, messageId, options);
|
|
107406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
107407
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsSessionsApi.deleteStreamSessionChatMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
107408
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107409
|
+
});
|
|
107410
|
+
},
|
|
107356
107411
|
/**
|
|
107357
107412
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
107358
107413
|
* @summary Request an export of a stream session
|
|
@@ -107594,6 +107649,16 @@ export const StreamsSessionsApiFactory = function (configuration, basePath, axio
|
|
|
107594
107649
|
closeStreamSession(requestParameters, options) {
|
|
107595
107650
|
return localVarFp.closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
107596
107651
|
},
|
|
107652
|
+
/**
|
|
107653
|
+
* 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.
|
|
107654
|
+
* @summary Delete a stream session chat message
|
|
107655
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
107656
|
+
* @param {*} [options] Override http request option.
|
|
107657
|
+
* @throws {RequiredError}
|
|
107658
|
+
*/
|
|
107659
|
+
deleteStreamSessionChatMessage(requestParameters, options) {
|
|
107660
|
+
return localVarFp.deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(axios, basePath));
|
|
107661
|
+
},
|
|
107597
107662
|
/**
|
|
107598
107663
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
107599
107664
|
* @summary Request an export of a stream session
|
|
@@ -107730,6 +107795,16 @@ export class StreamsSessionsApi extends BaseAPI {
|
|
|
107730
107795
|
closeStreamSession(requestParameters, options) {
|
|
107731
107796
|
return StreamsSessionsApiFp(this.configuration).closeStreamSession(requestParameters.streamId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
107732
107797
|
}
|
|
107798
|
+
/**
|
|
107799
|
+
* 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.
|
|
107800
|
+
* @summary Delete a stream session chat message
|
|
107801
|
+
* @param {StreamsSessionsApiDeleteStreamSessionChatMessageRequest} requestParameters Request parameters.
|
|
107802
|
+
* @param {*} [options] Override http request option.
|
|
107803
|
+
* @throws {RequiredError}
|
|
107804
|
+
*/
|
|
107805
|
+
deleteStreamSessionChatMessage(requestParameters, options) {
|
|
107806
|
+
return StreamsSessionsApiFp(this.configuration).deleteStreamSessionChatMessage(requestParameters.sessionId, requestParameters.messageId, options).then((request) => request(this.axios, this.basePath));
|
|
107807
|
+
}
|
|
107733
107808
|
/**
|
|
107734
107809
|
* Queues an asynchronous export job for the given stream session (sessionId), emailing the requesting user a download when the export completes; requires the read permission on streams.
|
|
107735
107810
|
* @summary Request an export of a stream session
|
package/dist/esm/base.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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: 13.
|
|
7
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
5
|
+
* The version of the OpenAPI document: 13.8.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: 13.
|
|
6
|
+
* The version of the OpenAPI document: 13.8.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**closeStreamSession**](#closestreamsession) | **PUT** /streams/{streamId}/sessions/{sessionId}/close | Close an active stream session|
|
|
8
|
+
|[**deleteStreamSessionChatMessage**](#deletestreamsessionchatmessage) | **DELETE** /streams/sessions/{sessionId}/chat/{messageId} | Delete a stream session chat message|
|
|
8
9
|
|[**exportStreamSession**](#exportstreamsession) | **POST** /streams/{streamId}/sessions/{sessionId}/export | Request an export of a stream session|
|
|
9
10
|
|[**exportStreamSessionById**](#exportstreamsessionbyid) | **POST** /streams/sessions/{sessionId}/export | Request an export of a stream session by session id|
|
|
10
11
|
|[**getAllStreamSessions**](#getallstreamsessions) | **GET** /streams/sessions | List stream sessions across all stream inputs|
|
|
@@ -51,6 +52,60 @@ const { status, data } = await apiInstance.closeStreamSession(
|
|
|
51
52
|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
52
53
|
|
|
53
54
|
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
**CreateAccountInvitations200Response**
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: Not defined
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### HTTP response details
|
|
70
|
+
| Status code | Description | Response headers |
|
|
71
|
+
|-------------|-------------|------------------|
|
|
72
|
+
|**200** | Successful response | - |
|
|
73
|
+
|
|
74
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
75
|
+
|
|
76
|
+
# **deleteStreamSessionChatMessage**
|
|
77
|
+
> CreateAccountInvitations200Response deleteStreamSessionChatMessage()
|
|
78
|
+
|
|
79
|
+
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.
|
|
80
|
+
|
|
81
|
+
### Example
|
|
82
|
+
|
|
83
|
+
```typescript
|
|
84
|
+
import {
|
|
85
|
+
StreamsSessionsApi,
|
|
86
|
+
Configuration
|
|
87
|
+
} from '@connectedxm/admin-sdk';
|
|
88
|
+
|
|
89
|
+
const configuration = new Configuration();
|
|
90
|
+
const apiInstance = new StreamsSessionsApi(configuration);
|
|
91
|
+
|
|
92
|
+
let sessionId: string; //The session identifier (default to undefined)
|
|
93
|
+
let messageId: string; //The message identifier (default to undefined)
|
|
94
|
+
|
|
95
|
+
const { status, data } = await apiInstance.deleteStreamSessionChatMessage(
|
|
96
|
+
sessionId,
|
|
97
|
+
messageId
|
|
98
|
+
);
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|Name | Type | Description | Notes|
|
|
104
|
+
|------------- | ------------- | ------------- | -------------|
|
|
105
|
+
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
|
|
106
|
+
| **messageId** | [**string**] | The message identifier | defaults to undefined|
|
|
107
|
+
|
|
108
|
+
|
|
54
109
|
### Return type
|
|
55
110
|
|
|
56
111
|
**CreateAccountInvitations200Response**
|