yellowgrid-api-ts 3.2.360 → 3.2.362
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/.openapi-generator/FILES +3 -0
- package/README.md +5 -0
- package/api.ts +283 -15
- package/dist/api.d.ts +184 -11
- package/dist/api.js +181 -16
- package/docs/Class3CXApi.md +131 -6
- package/docs/TcxServicePrincipalModel.md +33 -0
- package/docs/TcxTccAlertsEntity.md +27 -0
- package/docs/TcxTccMonitoringEntity.md +33 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1320,6 +1320,8 @@ export declare const AuditLogEntityTypeEnum: {
|
|
|
1320
1320
|
readonly Pops3cxUsers: "pops_3cx_users";
|
|
1321
1321
|
readonly _3cxServicePrincipals: "3cx_service_principals";
|
|
1322
1322
|
readonly _3cxCallLog: "3cx_call_log";
|
|
1323
|
+
readonly _3cxTccMonitoring: "3cx_tcc_monitoring";
|
|
1324
|
+
readonly _3cxTccAlerts: "3cx_tcc_alerts";
|
|
1323
1325
|
readonly PopsUsers: "pops_users";
|
|
1324
1326
|
readonly PopsVideoRequests: "pops_video_requests";
|
|
1325
1327
|
readonly Webhook: "webhook";
|
|
@@ -10731,6 +10733,39 @@ export interface TcxServicePrincipalEntity {
|
|
|
10731
10733
|
*/
|
|
10732
10734
|
'appSecret': string;
|
|
10733
10735
|
}
|
|
10736
|
+
/**
|
|
10737
|
+
* 3CX Service Principal
|
|
10738
|
+
*/
|
|
10739
|
+
export interface TcxServicePrincipalModel {
|
|
10740
|
+
/**
|
|
10741
|
+
* id
|
|
10742
|
+
*/
|
|
10743
|
+
'id': string;
|
|
10744
|
+
/**
|
|
10745
|
+
* customerId
|
|
10746
|
+
*/
|
|
10747
|
+
'customerId': number;
|
|
10748
|
+
/**
|
|
10749
|
+
* pbxBase
|
|
10750
|
+
*/
|
|
10751
|
+
'pbxBase': string;
|
|
10752
|
+
/**
|
|
10753
|
+
* appId
|
|
10754
|
+
*/
|
|
10755
|
+
'appId': string;
|
|
10756
|
+
/**
|
|
10757
|
+
* appSecret
|
|
10758
|
+
*/
|
|
10759
|
+
'appSecret': string;
|
|
10760
|
+
/**
|
|
10761
|
+
* Monitoring
|
|
10762
|
+
*/
|
|
10763
|
+
'monitoring'?: Array<TcxTccMonitoringEntity>;
|
|
10764
|
+
/**
|
|
10765
|
+
* Alerts
|
|
10766
|
+
*/
|
|
10767
|
+
'alerts'?: Array<TcxTccAlertsEntity>;
|
|
10768
|
+
}
|
|
10734
10769
|
/**
|
|
10735
10770
|
* 3CX Wizard Setup Config
|
|
10736
10771
|
*/
|
|
@@ -10950,6 +10985,60 @@ export interface TcxSummaryDTO {
|
|
|
10950
10985
|
*/
|
|
10951
10986
|
'licenceKey': string;
|
|
10952
10987
|
}
|
|
10988
|
+
/**
|
|
10989
|
+
* TcxTccAlertsEntity
|
|
10990
|
+
*/
|
|
10991
|
+
export interface TcxTccAlertsEntity {
|
|
10992
|
+
/**
|
|
10993
|
+
* instanceId
|
|
10994
|
+
*/
|
|
10995
|
+
'instanceId': string;
|
|
10996
|
+
/**
|
|
10997
|
+
* monitoring_id
|
|
10998
|
+
*/
|
|
10999
|
+
'monitoringId': number;
|
|
11000
|
+
/**
|
|
11001
|
+
* timestamp
|
|
11002
|
+
*/
|
|
11003
|
+
'timestamp': string;
|
|
11004
|
+
/**
|
|
11005
|
+
* alertSent
|
|
11006
|
+
*/
|
|
11007
|
+
'alertSent': number;
|
|
11008
|
+
}
|
|
11009
|
+
/**
|
|
11010
|
+
* TcxTccMonitoringEntity
|
|
11011
|
+
*/
|
|
11012
|
+
export interface TcxTccMonitoringEntity {
|
|
11013
|
+
/**
|
|
11014
|
+
* id
|
|
11015
|
+
*/
|
|
11016
|
+
'id': number;
|
|
11017
|
+
/**
|
|
11018
|
+
* instanceId
|
|
11019
|
+
*/
|
|
11020
|
+
'instanceId': string;
|
|
11021
|
+
/**
|
|
11022
|
+
* maxCalls
|
|
11023
|
+
*/
|
|
11024
|
+
'maxCalls': number;
|
|
11025
|
+
/**
|
|
11026
|
+
* trunk
|
|
11027
|
+
*/
|
|
11028
|
+
'trunk': string;
|
|
11029
|
+
/**
|
|
11030
|
+
* type
|
|
11031
|
+
*/
|
|
11032
|
+
'type': string;
|
|
11033
|
+
/**
|
|
11034
|
+
* emails
|
|
11035
|
+
*/
|
|
11036
|
+
'emails': string;
|
|
11037
|
+
/**
|
|
11038
|
+
* sms
|
|
11039
|
+
*/
|
|
11040
|
+
'sms': string;
|
|
11041
|
+
}
|
|
10953
11042
|
/**
|
|
10954
11043
|
* 3CX Template
|
|
10955
11044
|
*/
|
|
@@ -15548,6 +15637,16 @@ export type GetGetCrmActivitiesTypeEnum = typeof GetGetCrmActivitiesTypeEnum[key
|
|
|
15548
15637
|
* Class3CXApi - axios parameter creator
|
|
15549
15638
|
*/
|
|
15550
15639
|
export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
15640
|
+
/**
|
|
15641
|
+
* Get 3CX call control alerts
|
|
15642
|
+
* @param {string} id Instance ID
|
|
15643
|
+
* @param {string} [start] Start Date
|
|
15644
|
+
* @param {string} [end] End Date
|
|
15645
|
+
* @param {number} [monitoringId] Monitoring ID
|
|
15646
|
+
* @param {*} [options] Override http request option.
|
|
15647
|
+
* @throws {RequiredError}
|
|
15648
|
+
*/
|
|
15649
|
+
getAddAlert: (id: string, start?: string, end?: string, monitoringId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15551
15650
|
/**
|
|
15552
15651
|
* Get a list of 3CX call control devices
|
|
15553
15652
|
* @param {*} [options] Override http request option.
|
|
@@ -15557,13 +15656,14 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
15557
15656
|
/**
|
|
15558
15657
|
* Get 3CX call history
|
|
15559
15658
|
* @param {string} id Instance ID
|
|
15560
|
-
* @param {string} trunk Trunk
|
|
15561
15659
|
* @param {string} [start] Start Date
|
|
15562
15660
|
* @param {string} [end] End Date
|
|
15661
|
+
* @param {string} [trunk] Trunk
|
|
15662
|
+
* @param {GetGetCallHistoryTypeEnum} [type] Type
|
|
15563
15663
|
* @param {*} [options] Override http request option.
|
|
15564
15664
|
* @throws {RequiredError}
|
|
15565
15665
|
*/
|
|
15566
|
-
getGetCallHistory: (id: string,
|
|
15666
|
+
getGetCallHistory: (id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15567
15667
|
/**
|
|
15568
15668
|
* Get 3CX Licence Details
|
|
15569
15669
|
* @summary Get 3CX Licence Details
|
|
@@ -15606,6 +15706,14 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
15606
15706
|
* @throws {RequiredError}
|
|
15607
15707
|
*/
|
|
15608
15708
|
getGetTcxPartners: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15709
|
+
/**
|
|
15710
|
+
* Add to 3CX call control alert
|
|
15711
|
+
* @param {string} id Instance ID
|
|
15712
|
+
* @param {number} monitoringId Monitoring ID
|
|
15713
|
+
* @param {*} [options] Override http request option.
|
|
15714
|
+
* @throws {RequiredError}
|
|
15715
|
+
*/
|
|
15716
|
+
postAddAlert: (id: string, monitoringId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15609
15717
|
/**
|
|
15610
15718
|
* Add to 3CX call log
|
|
15611
15719
|
* @param {TcxCallLogEntity} [tcxCallLogEntity] Call Log
|
|
@@ -15633,6 +15741,16 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
15633
15741
|
* Class3CXApi - functional programming interface
|
|
15634
15742
|
*/
|
|
15635
15743
|
export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
15744
|
+
/**
|
|
15745
|
+
* Get 3CX call control alerts
|
|
15746
|
+
* @param {string} id Instance ID
|
|
15747
|
+
* @param {string} [start] Start Date
|
|
15748
|
+
* @param {string} [end] End Date
|
|
15749
|
+
* @param {number} [monitoringId] Monitoring ID
|
|
15750
|
+
* @param {*} [options] Override http request option.
|
|
15751
|
+
* @throws {RequiredError}
|
|
15752
|
+
*/
|
|
15753
|
+
getAddAlert(id: string, start?: string, end?: string, monitoringId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxTccAlertsEntity>>>;
|
|
15636
15754
|
/**
|
|
15637
15755
|
* Get a list of 3CX call control devices
|
|
15638
15756
|
* @param {*} [options] Override http request option.
|
|
@@ -15642,13 +15760,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
15642
15760
|
/**
|
|
15643
15761
|
* Get 3CX call history
|
|
15644
15762
|
* @param {string} id Instance ID
|
|
15645
|
-
* @param {string} trunk Trunk
|
|
15646
15763
|
* @param {string} [start] Start Date
|
|
15647
15764
|
* @param {string} [end] End Date
|
|
15765
|
+
* @param {string} [trunk] Trunk
|
|
15766
|
+
* @param {GetGetCallHistoryTypeEnum} [type] Type
|
|
15648
15767
|
* @param {*} [options] Override http request option.
|
|
15649
15768
|
* @throws {RequiredError}
|
|
15650
15769
|
*/
|
|
15651
|
-
getGetCallHistory(id: string,
|
|
15770
|
+
getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TcxCallLogCollectionModel>>;
|
|
15652
15771
|
/**
|
|
15653
15772
|
* Get 3CX Licence Details
|
|
15654
15773
|
* @summary Get 3CX Licence Details
|
|
@@ -15662,7 +15781,7 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
15662
15781
|
* @param {*} [options] Override http request option.
|
|
15663
15782
|
* @throws {RequiredError}
|
|
15664
15783
|
*/
|
|
15665
|
-
getGetServicePrincipals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
15784
|
+
getGetServicePrincipals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TcxServicePrincipalModel>>>;
|
|
15666
15785
|
/**
|
|
15667
15786
|
* Get 3CX Credit Status
|
|
15668
15787
|
* @summary Get 3CX Credit Status
|
|
@@ -15691,6 +15810,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
15691
15810
|
* @throws {RequiredError}
|
|
15692
15811
|
*/
|
|
15693
15812
|
getGetTcxPartners(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartnerDTO>>>;
|
|
15813
|
+
/**
|
|
15814
|
+
* Add to 3CX call control alert
|
|
15815
|
+
* @param {string} id Instance ID
|
|
15816
|
+
* @param {number} monitoringId Monitoring ID
|
|
15817
|
+
* @param {*} [options] Override http request option.
|
|
15818
|
+
* @throws {RequiredError}
|
|
15819
|
+
*/
|
|
15820
|
+
postAddAlert(id: string, monitoringId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
15694
15821
|
/**
|
|
15695
15822
|
* Add to 3CX call log
|
|
15696
15823
|
* @param {TcxCallLogEntity} [tcxCallLogEntity] Call Log
|
|
@@ -15718,6 +15845,16 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
|
|
|
15718
15845
|
* Class3CXApi - factory interface
|
|
15719
15846
|
*/
|
|
15720
15847
|
export declare const Class3CXApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
15848
|
+
/**
|
|
15849
|
+
* Get 3CX call control alerts
|
|
15850
|
+
* @param {string} id Instance ID
|
|
15851
|
+
* @param {string} [start] Start Date
|
|
15852
|
+
* @param {string} [end] End Date
|
|
15853
|
+
* @param {number} [monitoringId] Monitoring ID
|
|
15854
|
+
* @param {*} [options] Override http request option.
|
|
15855
|
+
* @throws {RequiredError}
|
|
15856
|
+
*/
|
|
15857
|
+
getAddAlert(id: string, start?: string, end?: string, monitoringId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTccAlertsEntity>>;
|
|
15721
15858
|
/**
|
|
15722
15859
|
* Get a list of 3CX call control devices
|
|
15723
15860
|
* @param {*} [options] Override http request option.
|
|
@@ -15727,13 +15864,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
15727
15864
|
/**
|
|
15728
15865
|
* Get 3CX call history
|
|
15729
15866
|
* @param {string} id Instance ID
|
|
15730
|
-
* @param {string} trunk Trunk
|
|
15731
15867
|
* @param {string} [start] Start Date
|
|
15732
15868
|
* @param {string} [end] End Date
|
|
15869
|
+
* @param {string} [trunk] Trunk
|
|
15870
|
+
* @param {GetGetCallHistoryTypeEnum} [type] Type
|
|
15733
15871
|
* @param {*} [options] Override http request option.
|
|
15734
15872
|
* @throws {RequiredError}
|
|
15735
15873
|
*/
|
|
15736
|
-
getGetCallHistory(id: string,
|
|
15874
|
+
getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<TcxCallLogCollectionModel>;
|
|
15737
15875
|
/**
|
|
15738
15876
|
* Get 3CX Licence Details
|
|
15739
15877
|
* @summary Get 3CX Licence Details
|
|
@@ -15747,7 +15885,7 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
15747
15885
|
* @param {*} [options] Override http request option.
|
|
15748
15886
|
* @throws {RequiredError}
|
|
15749
15887
|
*/
|
|
15750
|
-
getGetServicePrincipals(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
15888
|
+
getGetServicePrincipals(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxServicePrincipalModel>>;
|
|
15751
15889
|
/**
|
|
15752
15890
|
* Get 3CX Credit Status
|
|
15753
15891
|
* @summary Get 3CX Credit Status
|
|
@@ -15776,6 +15914,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
15776
15914
|
* @throws {RequiredError}
|
|
15777
15915
|
*/
|
|
15778
15916
|
getGetTcxPartners(options?: RawAxiosRequestConfig): AxiosPromise<Array<PartnerDTO>>;
|
|
15917
|
+
/**
|
|
15918
|
+
* Add to 3CX call control alert
|
|
15919
|
+
* @param {string} id Instance ID
|
|
15920
|
+
* @param {number} monitoringId Monitoring ID
|
|
15921
|
+
* @param {*} [options] Override http request option.
|
|
15922
|
+
* @throws {RequiredError}
|
|
15923
|
+
*/
|
|
15924
|
+
postAddAlert(id: string, monitoringId: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
15779
15925
|
/**
|
|
15780
15926
|
* Add to 3CX call log
|
|
15781
15927
|
* @param {TcxCallLogEntity} [tcxCallLogEntity] Call Log
|
|
@@ -15803,6 +15949,16 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
|
|
|
15803
15949
|
* Class3CXApi - object-oriented interface
|
|
15804
15950
|
*/
|
|
15805
15951
|
export declare class Class3CXApi extends BaseAPI {
|
|
15952
|
+
/**
|
|
15953
|
+
* Get 3CX call control alerts
|
|
15954
|
+
* @param {string} id Instance ID
|
|
15955
|
+
* @param {string} [start] Start Date
|
|
15956
|
+
* @param {string} [end] End Date
|
|
15957
|
+
* @param {number} [monitoringId] Monitoring ID
|
|
15958
|
+
* @param {*} [options] Override http request option.
|
|
15959
|
+
* @throws {RequiredError}
|
|
15960
|
+
*/
|
|
15961
|
+
getAddAlert(id: string, start?: string, end?: string, monitoringId?: number, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxTccAlertsEntity[], any, {}, any>>;
|
|
15806
15962
|
/**
|
|
15807
15963
|
* Get a list of 3CX call control devices
|
|
15808
15964
|
* @param {*} [options] Override http request option.
|
|
@@ -15812,13 +15968,14 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
15812
15968
|
/**
|
|
15813
15969
|
* Get 3CX call history
|
|
15814
15970
|
* @param {string} id Instance ID
|
|
15815
|
-
* @param {string} trunk Trunk
|
|
15816
15971
|
* @param {string} [start] Start Date
|
|
15817
15972
|
* @param {string} [end] End Date
|
|
15973
|
+
* @param {string} [trunk] Trunk
|
|
15974
|
+
* @param {GetGetCallHistoryTypeEnum} [type] Type
|
|
15818
15975
|
* @param {*} [options] Override http request option.
|
|
15819
15976
|
* @throws {RequiredError}
|
|
15820
15977
|
*/
|
|
15821
|
-
getGetCallHistory(id: string,
|
|
15978
|
+
getGetCallHistory(id: string, start?: string, end?: string, trunk?: string, type?: GetGetCallHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxCallLogCollectionModel, any, {}, any>>;
|
|
15822
15979
|
/**
|
|
15823
15980
|
* Get 3CX Licence Details
|
|
15824
15981
|
* @summary Get 3CX Licence Details
|
|
@@ -15832,7 +15989,7 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
15832
15989
|
* @param {*} [options] Override http request option.
|
|
15833
15990
|
* @throws {RequiredError}
|
|
15834
15991
|
*/
|
|
15835
|
-
getGetServicePrincipals(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<
|
|
15992
|
+
getGetServicePrincipals(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxServicePrincipalModel[], any, {}, any>>;
|
|
15836
15993
|
/**
|
|
15837
15994
|
* Get 3CX Credit Status
|
|
15838
15995
|
* @summary Get 3CX Credit Status
|
|
@@ -15861,6 +16018,14 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
15861
16018
|
* @throws {RequiredError}
|
|
15862
16019
|
*/
|
|
15863
16020
|
getGetTcxPartners(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PartnerDTO[], any, {}, any>>;
|
|
16021
|
+
/**
|
|
16022
|
+
* Add to 3CX call control alert
|
|
16023
|
+
* @param {string} id Instance ID
|
|
16024
|
+
* @param {number} monitoringId Monitoring ID
|
|
16025
|
+
* @param {*} [options] Override http request option.
|
|
16026
|
+
* @throws {RequiredError}
|
|
16027
|
+
*/
|
|
16028
|
+
postAddAlert(id: string, monitoringId: number, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}, any>>;
|
|
15864
16029
|
/**
|
|
15865
16030
|
* Add to 3CX call log
|
|
15866
16031
|
* @param {TcxCallLogEntity} [tcxCallLogEntity] Call Log
|
|
@@ -15884,6 +16049,14 @@ export declare class Class3CXApi extends BaseAPI {
|
|
|
15884
16049
|
*/
|
|
15885
16050
|
postGetBulkLicenceDetails(requestBody?: Array<string>, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TcxBulkLicenceDetailsModel, any, {}, any>>;
|
|
15886
16051
|
}
|
|
16052
|
+
export declare const GetGetCallHistoryTypeEnum: {
|
|
16053
|
+
readonly Dialing: "dialing";
|
|
16054
|
+
readonly Ended: "ended";
|
|
16055
|
+
readonly Call: "call";
|
|
16056
|
+
readonly Ringing: "ringing";
|
|
16057
|
+
readonly Connected: "connected";
|
|
16058
|
+
};
|
|
16059
|
+
export type GetGetCallHistoryTypeEnum = typeof GetGetCallHistoryTypeEnum[keyof typeof GetGetCallHistoryTypeEnum];
|
|
15887
16060
|
/**
|
|
15888
16061
|
* Class3CXInstallationWizardApi - axios parameter creator
|
|
15889
16062
|
*/
|