yellowgrid-api-ts 3.2.358 → 3.2.359
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/api.ts +7 -2
- package/dist/api.d.ts +7 -3
- package/dist/api.js +1 -0
- package/docs/Class3CXApi.md +4 -4
- package/docs/TcxServicePrincipalEntity.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10912,6 +10912,10 @@ export interface TcxServicePrincipalEntity {
|
|
|
10912
10912
|
* id
|
|
10913
10913
|
*/
|
|
10914
10914
|
'id': string;
|
|
10915
|
+
/**
|
|
10916
|
+
* customerId
|
|
10917
|
+
*/
|
|
10918
|
+
'customerId': number;
|
|
10915
10919
|
/**
|
|
10916
10920
|
* pbxBase
|
|
10917
10921
|
*/
|
|
@@ -21092,6 +21096,7 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
21092
21096
|
const localVarHeaderParameter = {} as any;
|
|
21093
21097
|
const localVarQueryParameter = {} as any;
|
|
21094
21098
|
|
|
21099
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
21095
21100
|
|
|
21096
21101
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21097
21102
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -21260,7 +21265,7 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
21260
21265
|
* @param {*} [options] Override http request option.
|
|
21261
21266
|
* @throws {RequiredError}
|
|
21262
21267
|
*/
|
|
21263
|
-
async postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
21268
|
+
async postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationModel>> {
|
|
21264
21269
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAuthenticateInstanceWebsocket(id, options);
|
|
21265
21270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21266
21271
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.postAuthenticateInstanceWebsocket']?.[localVarOperationServerIndex]?.url;
|
|
@@ -21377,7 +21382,7 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
21377
21382
|
* @param {*} [options] Override http request option.
|
|
21378
21383
|
* @throws {RequiredError}
|
|
21379
21384
|
*/
|
|
21380
|
-
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
21385
|
+
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationModel> {
|
|
21381
21386
|
return localVarFp.postAuthenticateInstanceWebsocket(id, options).then((request) => request(axios, basePath));
|
|
21382
21387
|
},
|
|
21383
21388
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -10714,6 +10714,10 @@ export interface TcxServicePrincipalEntity {
|
|
|
10714
10714
|
* id
|
|
10715
10715
|
*/
|
|
10716
10716
|
'id': string;
|
|
10717
|
+
/**
|
|
10718
|
+
* customerId
|
|
10719
|
+
*/
|
|
10720
|
+
'customerId': number;
|
|
10717
10721
|
/**
|
|
10718
10722
|
* pbxBase
|
|
10719
10723
|
*/
|
|
@@ -15700,7 +15704,7 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
15700
15704
|
* @param {*} [options] Override http request option.
|
|
15701
15705
|
* @throws {RequiredError}
|
|
15702
15706
|
*/
|
|
15703
|
-
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
15707
|
+
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxInstallationModel>>;
|
|
15704
15708
|
/**
|
|
15705
15709
|
* Get Bulk 3CX Licence Details
|
|
15706
15710
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -15785,7 +15789,7 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
15785
15789
|
* @param {*} [options] Override http request option.
|
|
15786
15790
|
* @throws {RequiredError}
|
|
15787
15791
|
*/
|
|
15788
|
-
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
15792
|
+
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxInstallationModel>;
|
|
15789
15793
|
/**
|
|
15790
15794
|
* Get Bulk 3CX Licence Details
|
|
15791
15795
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -15870,7 +15874,7 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
15870
15874
|
* @param {*} [options] Override http request option.
|
|
15871
15875
|
* @throws {RequiredError}
|
|
15872
15876
|
*/
|
|
15873
|
-
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<
|
|
15877
|
+
postAuthenticateInstanceWebsocket(id: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxInstallationModel, any, {}, any>>;
|
|
15874
15878
|
/**
|
|
15875
15879
|
* Get Bulk 3CX Licence Details
|
|
15876
15880
|
* @summary Get bulk 3CX Licence Details
|
package/dist/api.js
CHANGED
|
@@ -9381,6 +9381,7 @@ const Class3CXApiAxiosParamCreator = function (configuration) {
|
|
|
9381
9381
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
9382
9382
|
const localVarHeaderParameter = {};
|
|
9383
9383
|
const localVarQueryParameter = {};
|
|
9384
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9384
9385
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9385
9386
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9386
9387
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
package/docs/Class3CXApi.md
CHANGED
|
@@ -471,7 +471,7 @@ No authorization required
|
|
|
471
471
|
[[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)
|
|
472
472
|
|
|
473
473
|
# **postAuthenticateInstanceWebsocket**
|
|
474
|
-
> postAuthenticateInstanceWebsocket()
|
|
474
|
+
> TcxInstallationModel postAuthenticateInstanceWebsocket()
|
|
475
475
|
|
|
476
476
|
Get 3CX service principals
|
|
477
477
|
|
|
@@ -502,7 +502,7 @@ const { status, data } = await apiInstance.postAuthenticateInstanceWebsocket(
|
|
|
502
502
|
|
|
503
503
|
### Return type
|
|
504
504
|
|
|
505
|
-
|
|
505
|
+
**TcxInstallationModel**
|
|
506
506
|
|
|
507
507
|
### Authorization
|
|
508
508
|
|
|
@@ -511,13 +511,13 @@ No authorization required
|
|
|
511
511
|
### HTTP request headers
|
|
512
512
|
|
|
513
513
|
- **Content-Type**: Not defined
|
|
514
|
-
- **Accept**:
|
|
514
|
+
- **Accept**: application/json
|
|
515
515
|
|
|
516
516
|
|
|
517
517
|
### HTTP response details
|
|
518
518
|
| Status code | Description | Response headers |
|
|
519
519
|
|-------------|-------------|------------------|
|
|
520
|
-
|**200** |
|
|
520
|
+
|**200** | Instance Details | - |
|
|
521
521
|
|**400** | Bad Request | - |
|
|
522
522
|
|**401** | Unauthorised | - |
|
|
523
523
|
|**403** | Access Denied | - |
|
|
@@ -7,6 +7,7 @@ TcxServicePrincipalsEntity
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**id** | **string** | id | [default to undefined]
|
|
10
|
+
**customerId** | **number** | customerId | [default to undefined]
|
|
10
11
|
**pbxBase** | **string** | pbxBase | [default to undefined]
|
|
11
12
|
**appId** | **string** | appId | [default to undefined]
|
|
12
13
|
**appSecret** | **string** | appSecret | [default to undefined]
|
|
@@ -18,6 +19,7 @@ import { TcxServicePrincipalEntity } from 'yellowgrid-api-ts';
|
|
|
18
19
|
|
|
19
20
|
const instance: TcxServicePrincipalEntity = {
|
|
20
21
|
id,
|
|
22
|
+
customerId,
|
|
21
23
|
pbxBase,
|
|
22
24
|
appId,
|
|
23
25
|
appSecret,
|