@l7mp/tivadar-ai-api-sdk 0.2.20 → 0.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-client.d.ts +36 -1
- package/dist/api-client.js +13 -0
- package/dist/apis/AdminSIPApi.d.ts +16 -1
- package/dist/apis/AdminSIPApi.js +43 -0
- package/dist/apis/OrganizationsApi.d.ts +40 -1
- package/dist/apis/OrganizationsApi.js +117 -0
- package/dist/apis/ProfileApi.d.ts +53 -1
- package/dist/apis/ProfileApi.js +181 -0
- package/dist/esm/api-client.d.ts +36 -1
- package/dist/esm/api-client.js +13 -0
- package/dist/esm/apis/AdminSIPApi.d.ts +16 -1
- package/dist/esm/apis/AdminSIPApi.js +44 -1
- package/dist/esm/apis/OrganizationsApi.d.ts +40 -1
- package/dist/esm/apis/OrganizationsApi.js +118 -1
- package/dist/esm/apis/ProfileApi.d.ts +53 -1
- package/dist/esm/apis/ProfileApi.js +182 -1
- package/dist/esm/models/AccountDeletionBlocker.d.ts +44 -0
- package/dist/esm/models/AccountDeletionBlocker.js +51 -0
- package/dist/esm/models/AccountDeletionStatus.d.ts +50 -0
- package/dist/esm/models/AccountDeletionStatus.js +49 -0
- package/dist/esm/models/AdminSipReconcilePostRequest.d.ts +38 -0
- package/dist/esm/models/AdminSipReconcilePostRequest.js +43 -0
- package/dist/esm/models/Organization.d.ts +7 -0
- package/dist/esm/models/Organization.js +3 -0
- package/dist/esm/models/OrganizationDeletionBillingBlock.d.ts +44 -0
- package/dist/esm/models/OrganizationDeletionBillingBlock.js +51 -0
- package/dist/esm/models/OrganizationDeletionStatus.d.ts +56 -0
- package/dist/esm/models/OrganizationDeletionStatus.js +51 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409Response.js +44 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409ResponseError.d.ts +45 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409ResponseError.js +46 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails.d.ts +33 -0
- package/dist/esm/models/OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails.js +42 -0
- package/dist/esm/models/Profile.d.ts +69 -0
- package/dist/esm/models/Profile.js +66 -0
- package/dist/esm/models/ProfileDeletionPost409Response.d.ts +39 -0
- package/dist/esm/models/ProfileDeletionPost409Response.js +44 -0
- package/dist/esm/models/ProfileDeletionPost409ResponseError.d.ts +45 -0
- package/dist/esm/models/ProfileDeletionPost409ResponseError.js +46 -0
- package/dist/esm/models/ProfileDeletionPost409ResponseErrorDetails.d.ts +33 -0
- package/dist/esm/models/ProfileDeletionPost409ResponseErrorDetails.js +42 -0
- package/dist/esm/models/ProfileDeletionPostRequest.d.ts +45 -0
- package/dist/esm/models/ProfileDeletionPostRequest.js +51 -0
- package/dist/esm/models/ProfileUpdate.d.ts +44 -0
- package/dist/esm/models/ProfileUpdate.js +45 -0
- package/dist/esm/models/SipReconciliationReport.d.ts +80 -0
- package/dist/esm/models/SipReconciliationReport.js +61 -0
- package/dist/esm/models/SipReconciliationReportDeleted.d.ts +44 -0
- package/dist/esm/models/SipReconciliationReportDeleted.js +45 -0
- package/dist/esm/models/SipReconciliationReportFailedInner.d.ts +53 -0
- package/dist/esm/models/SipReconciliationReportFailedInner.js +53 -0
- package/dist/esm/models/SipReconciliationReportMissingDispatchRulesInner.d.ts +44 -0
- package/dist/esm/models/SipReconciliationReportMissingDispatchRulesInner.js +45 -0
- package/dist/esm/models/SipReconciliationReportMissingTrunksInner.d.ts +44 -0
- package/dist/esm/models/SipReconciliationReportMissingTrunksInner.js +45 -0
- package/dist/esm/models/SipReconciliationReportOrphanDispatchRulesInner.d.ts +44 -0
- package/dist/esm/models/SipReconciliationReportOrphanDispatchRulesInner.js +45 -0
- package/dist/esm/models/SipReconciliationReportOrphanTrunksInner.d.ts +44 -0
- package/dist/esm/models/SipReconciliationReportOrphanTrunksInner.js +45 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/models/AccountDeletionBlocker.d.ts +44 -0
- package/dist/models/AccountDeletionBlocker.js +58 -0
- package/dist/models/AccountDeletionStatus.d.ts +50 -0
- package/dist/models/AccountDeletionStatus.js +56 -0
- package/dist/models/AdminSipReconcilePostRequest.d.ts +38 -0
- package/dist/models/AdminSipReconcilePostRequest.js +50 -0
- package/dist/models/Organization.d.ts +7 -0
- package/dist/models/Organization.js +3 -0
- package/dist/models/OrganizationDeletionBillingBlock.d.ts +44 -0
- package/dist/models/OrganizationDeletionBillingBlock.js +58 -0
- package/dist/models/OrganizationDeletionStatus.d.ts +56 -0
- package/dist/models/OrganizationDeletionStatus.js +58 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409Response.d.ts +39 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409Response.js +51 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409ResponseError.d.ts +45 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409ResponseError.js +53 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails.d.ts +33 -0
- package/dist/models/OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails.js +49 -0
- package/dist/models/Profile.d.ts +69 -0
- package/dist/models/Profile.js +73 -0
- package/dist/models/ProfileDeletionPost409Response.d.ts +39 -0
- package/dist/models/ProfileDeletionPost409Response.js +51 -0
- package/dist/models/ProfileDeletionPost409ResponseError.d.ts +45 -0
- package/dist/models/ProfileDeletionPost409ResponseError.js +53 -0
- package/dist/models/ProfileDeletionPost409ResponseErrorDetails.d.ts +33 -0
- package/dist/models/ProfileDeletionPost409ResponseErrorDetails.js +49 -0
- package/dist/models/ProfileDeletionPostRequest.d.ts +45 -0
- package/dist/models/ProfileDeletionPostRequest.js +59 -0
- package/dist/models/ProfileUpdate.d.ts +44 -0
- package/dist/models/ProfileUpdate.js +52 -0
- package/dist/models/SipReconciliationReport.d.ts +80 -0
- package/dist/models/SipReconciliationReport.js +68 -0
- package/dist/models/SipReconciliationReportDeleted.d.ts +44 -0
- package/dist/models/SipReconciliationReportDeleted.js +52 -0
- package/dist/models/SipReconciliationReportFailedInner.d.ts +53 -0
- package/dist/models/SipReconciliationReportFailedInner.js +61 -0
- package/dist/models/SipReconciliationReportMissingDispatchRulesInner.d.ts +44 -0
- package/dist/models/SipReconciliationReportMissingDispatchRulesInner.js +52 -0
- package/dist/models/SipReconciliationReportMissingTrunksInner.d.ts +44 -0
- package/dist/models/SipReconciliationReportMissingTrunksInner.js +52 -0
- package/dist/models/SipReconciliationReportOrphanDispatchRulesInner.d.ts +44 -0
- package/dist/models/SipReconciliationReportOrphanDispatchRulesInner.js +52 -0
- package/dist/models/SipReconciliationReportOrphanTrunksInner.d.ts +44 -0
- package/dist/models/SipReconciliationReportOrphanTrunksInner.js +52 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/package.json +1 -1
- package/src/api-client.ts +47 -0
- package/src/apis/AdminSIPApi.ts +62 -0
- package/src/apis/OrganizationsApi.ts +159 -0
- package/src/apis/ProfileApi.ts +234 -0
- package/src/models/AccountDeletionBlocker.ts +84 -0
- package/src/models/AccountDeletionStatus.ts +90 -0
- package/src/models/AdminSipReconcilePostRequest.ts +73 -0
- package/src/models/Organization.ts +16 -0
- package/src/models/OrganizationDeletionBillingBlock.ts +84 -0
- package/src/models/OrganizationDeletionStatus.ts +98 -0
- package/src/models/OrganizationsOrganizationIdDeletionPost409Response.ts +81 -0
- package/src/models/OrganizationsOrganizationIdDeletionPost409ResponseError.ts +89 -0
- package/src/models/OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails.ts +73 -0
- package/src/models/Profile.ts +127 -0
- package/src/models/ProfileDeletionPost409Response.ts +81 -0
- package/src/models/ProfileDeletionPost409ResponseError.ts +89 -0
- package/src/models/ProfileDeletionPost409ResponseErrorDetails.ts +73 -0
- package/src/models/ProfileDeletionPostRequest.ts +84 -0
- package/src/models/ProfileUpdate.ts +81 -0
- package/src/models/SipReconciliationReport.ts +164 -0
- package/src/models/SipReconciliationReportDeleted.ts +81 -0
- package/src/models/SipReconciliationReportFailedInner.ts +93 -0
- package/src/models/SipReconciliationReportMissingDispatchRulesInner.ts +81 -0
- package/src/models/SipReconciliationReportMissingTrunksInner.ts +81 -0
- package/src/models/SipReconciliationReportOrphanDispatchRulesInner.ts +81 -0
- package/src/models/SipReconciliationReportOrphanTrunksInner.ts +81 -0
- package/src/models/index.ts +21 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ProfileUpdate interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfProfileUpdate(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ProfileUpdateFromJSON(json) {
|
|
21
|
+
return ProfileUpdateFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ProfileUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'avatar_url': json['avatar_url'] == null ? undefined : json['avatar_url'],
|
|
30
|
+
'preferred_language': json['preferred_language'] == null ? undefined : json['preferred_language'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ProfileUpdateToJSON(json) {
|
|
34
|
+
return ProfileUpdateToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ProfileUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': value['name'],
|
|
42
|
+
'avatar_url': value['avatar_url'],
|
|
43
|
+
'preferred_language': value['preferred_language'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SipReconciliationReportDeleted } from './SipReconciliationReportDeleted';
|
|
13
|
+
import type { SipReconciliationReportOrphanTrunksInner } from './SipReconciliationReportOrphanTrunksInner';
|
|
14
|
+
import type { SipReconciliationReportFailedInner } from './SipReconciliationReportFailedInner';
|
|
15
|
+
import type { SipReconciliationReportOrphanDispatchRulesInner } from './SipReconciliationReportOrphanDispatchRulesInner';
|
|
16
|
+
import type { SipReconciliationReportMissingTrunksInner } from './SipReconciliationReportMissingTrunksInner';
|
|
17
|
+
import type { SipReconciliationReportMissingDispatchRulesInner } from './SipReconciliationReportMissingDispatchRulesInner';
|
|
18
|
+
/**
|
|
19
|
+
* Drift between the LiveKit SIP state and the database.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SipReconciliationReport
|
|
22
|
+
*/
|
|
23
|
+
export interface SipReconciliationReport {
|
|
24
|
+
/**
|
|
25
|
+
* Whether this was an apply run rather than a dry run. What was actually deleted is in `deleted`.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SipReconciliationReport
|
|
28
|
+
*/
|
|
29
|
+
applied?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<SipReconciliationReportOrphanTrunksInner>}
|
|
33
|
+
* @memberof SipReconciliationReport
|
|
34
|
+
*/
|
|
35
|
+
orphan_trunks?: Array<SipReconciliationReportOrphanTrunksInner>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<SipReconciliationReportOrphanDispatchRulesInner>}
|
|
39
|
+
* @memberof SipReconciliationReport
|
|
40
|
+
*/
|
|
41
|
+
orphan_dispatch_rules?: Array<SipReconciliationReportOrphanDispatchRulesInner>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<SipReconciliationReportOrphanTrunksInner>}
|
|
45
|
+
* @memberof SipReconciliationReport
|
|
46
|
+
*/
|
|
47
|
+
orphan_outbound_trunks?: Array<SipReconciliationReportOrphanTrunksInner>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<SipReconciliationReportMissingTrunksInner>}
|
|
51
|
+
* @memberof SipReconciliationReport
|
|
52
|
+
*/
|
|
53
|
+
missing_trunks?: Array<SipReconciliationReportMissingTrunksInner>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<SipReconciliationReportMissingDispatchRulesInner>}
|
|
57
|
+
* @memberof SipReconciliationReport
|
|
58
|
+
*/
|
|
59
|
+
missing_dispatch_rules?: Array<SipReconciliationReportMissingDispatchRulesInner>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {SipReconciliationReportDeleted}
|
|
63
|
+
* @memberof SipReconciliationReport
|
|
64
|
+
*/
|
|
65
|
+
deleted?: SipReconciliationReportDeleted;
|
|
66
|
+
/**
|
|
67
|
+
* Resources this run tried and failed to delete.
|
|
68
|
+
* @type {Array<SipReconciliationReportFailedInner>}
|
|
69
|
+
* @memberof SipReconciliationReport
|
|
70
|
+
*/
|
|
71
|
+
failed?: Array<SipReconciliationReportFailedInner>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the SipReconciliationReport interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfSipReconciliationReport(value: object): value is SipReconciliationReport;
|
|
77
|
+
export declare function SipReconciliationReportFromJSON(json: any): SipReconciliationReport;
|
|
78
|
+
export declare function SipReconciliationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReport;
|
|
79
|
+
export declare function SipReconciliationReportToJSON(json: any): SipReconciliationReport;
|
|
80
|
+
export declare function SipReconciliationReportToJSONTyped(value?: SipReconciliationReport | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SipReconciliationReportDeletedFromJSON, SipReconciliationReportDeletedToJSON, } from './SipReconciliationReportDeleted';
|
|
15
|
+
import { SipReconciliationReportOrphanTrunksInnerFromJSON, SipReconciliationReportOrphanTrunksInnerToJSON, } from './SipReconciliationReportOrphanTrunksInner';
|
|
16
|
+
import { SipReconciliationReportFailedInnerFromJSON, SipReconciliationReportFailedInnerToJSON, } from './SipReconciliationReportFailedInner';
|
|
17
|
+
import { SipReconciliationReportOrphanDispatchRulesInnerFromJSON, SipReconciliationReportOrphanDispatchRulesInnerToJSON, } from './SipReconciliationReportOrphanDispatchRulesInner';
|
|
18
|
+
import { SipReconciliationReportMissingTrunksInnerFromJSON, SipReconciliationReportMissingTrunksInnerToJSON, } from './SipReconciliationReportMissingTrunksInner';
|
|
19
|
+
import { SipReconciliationReportMissingDispatchRulesInnerFromJSON, SipReconciliationReportMissingDispatchRulesInnerToJSON, } from './SipReconciliationReportMissingDispatchRulesInner';
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SipReconciliationReport interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfSipReconciliationReport(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SipReconciliationReportFromJSON(json) {
|
|
27
|
+
return SipReconciliationReportFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SipReconciliationReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'applied': json['applied'] == null ? undefined : json['applied'],
|
|
35
|
+
'orphan_trunks': json['orphan_trunks'] == null ? undefined : (json['orphan_trunks'].map(SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
36
|
+
'orphan_dispatch_rules': json['orphan_dispatch_rules'] == null ? undefined : (json['orphan_dispatch_rules'].map(SipReconciliationReportOrphanDispatchRulesInnerFromJSON)),
|
|
37
|
+
'orphan_outbound_trunks': json['orphan_outbound_trunks'] == null ? undefined : (json['orphan_outbound_trunks'].map(SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
38
|
+
'missing_trunks': json['missing_trunks'] == null ? undefined : (json['missing_trunks'].map(SipReconciliationReportMissingTrunksInnerFromJSON)),
|
|
39
|
+
'missing_dispatch_rules': json['missing_dispatch_rules'] == null ? undefined : (json['missing_dispatch_rules'].map(SipReconciliationReportMissingDispatchRulesInnerFromJSON)),
|
|
40
|
+
'deleted': json['deleted'] == null ? undefined : SipReconciliationReportDeletedFromJSON(json['deleted']),
|
|
41
|
+
'failed': json['failed'] == null ? undefined : (json['failed'].map(SipReconciliationReportFailedInnerFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function SipReconciliationReportToJSON(json) {
|
|
45
|
+
return SipReconciliationReportToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function SipReconciliationReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'applied': value['applied'],
|
|
53
|
+
'orphan_trunks': value['orphan_trunks'] == null ? undefined : (value['orphan_trunks'].map(SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
54
|
+
'orphan_dispatch_rules': value['orphan_dispatch_rules'] == null ? undefined : (value['orphan_dispatch_rules'].map(SipReconciliationReportOrphanDispatchRulesInnerToJSON)),
|
|
55
|
+
'orphan_outbound_trunks': value['orphan_outbound_trunks'] == null ? undefined : (value['orphan_outbound_trunks'].map(SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
56
|
+
'missing_trunks': value['missing_trunks'] == null ? undefined : (value['missing_trunks'].map(SipReconciliationReportMissingTrunksInnerToJSON)),
|
|
57
|
+
'missing_dispatch_rules': value['missing_dispatch_rules'] == null ? undefined : (value['missing_dispatch_rules'].map(SipReconciliationReportMissingDispatchRulesInnerToJSON)),
|
|
58
|
+
'deleted': SipReconciliationReportDeletedToJSON(value['deleted']),
|
|
59
|
+
'failed': value['failed'] == null ? undefined : (value['failed'].map(SipReconciliationReportFailedInnerToJSON)),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SipReconciliationReportDeleted
|
|
16
|
+
*/
|
|
17
|
+
export interface SipReconciliationReportDeleted {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SipReconciliationReportDeleted
|
|
22
|
+
*/
|
|
23
|
+
trunks?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SipReconciliationReportDeleted
|
|
28
|
+
*/
|
|
29
|
+
dispatch_rules?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SipReconciliationReportDeleted
|
|
34
|
+
*/
|
|
35
|
+
outbound_trunks?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SipReconciliationReportDeleted interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSipReconciliationReportDeleted(value: object): value is SipReconciliationReportDeleted;
|
|
41
|
+
export declare function SipReconciliationReportDeletedFromJSON(json: any): SipReconciliationReportDeleted;
|
|
42
|
+
export declare function SipReconciliationReportDeletedFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportDeleted;
|
|
43
|
+
export declare function SipReconciliationReportDeletedToJSON(json: any): SipReconciliationReportDeleted;
|
|
44
|
+
export declare function SipReconciliationReportDeletedToJSONTyped(value?: SipReconciliationReportDeleted | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SipReconciliationReportDeleted interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSipReconciliationReportDeleted(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SipReconciliationReportDeletedFromJSON(json) {
|
|
21
|
+
return SipReconciliationReportDeletedFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SipReconciliationReportDeletedFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'trunks': json['trunks'] == null ? undefined : json['trunks'],
|
|
29
|
+
'dispatch_rules': json['dispatch_rules'] == null ? undefined : json['dispatch_rules'],
|
|
30
|
+
'outbound_trunks': json['outbound_trunks'] == null ? undefined : json['outbound_trunks'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SipReconciliationReportDeletedToJSON(json) {
|
|
34
|
+
return SipReconciliationReportDeletedToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SipReconciliationReportDeletedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'trunks': value['trunks'],
|
|
42
|
+
'dispatch_rules': value['dispatch_rules'],
|
|
43
|
+
'outbound_trunks': value['outbound_trunks'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SipReconciliationReportFailedInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SipReconciliationReportFailedInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SipReconciliationReportFailedInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SipReconciliationReportFailedInner
|
|
28
|
+
*/
|
|
29
|
+
kind?: SipReconciliationReportFailedInnerKindEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SipReconciliationReportFailedInner
|
|
34
|
+
*/
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const SipReconciliationReportFailedInnerKindEnum: {
|
|
41
|
+
readonly Trunk: "trunk";
|
|
42
|
+
readonly DispatchRule: "dispatch_rule";
|
|
43
|
+
readonly OutboundTrunk: "outbound_trunk";
|
|
44
|
+
};
|
|
45
|
+
export type SipReconciliationReportFailedInnerKindEnum = typeof SipReconciliationReportFailedInnerKindEnum[keyof typeof SipReconciliationReportFailedInnerKindEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the SipReconciliationReportFailedInner interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfSipReconciliationReportFailedInner(value: object): value is SipReconciliationReportFailedInner;
|
|
50
|
+
export declare function SipReconciliationReportFailedInnerFromJSON(json: any): SipReconciliationReportFailedInner;
|
|
51
|
+
export declare function SipReconciliationReportFailedInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportFailedInner;
|
|
52
|
+
export declare function SipReconciliationReportFailedInnerToJSON(json: any): SipReconciliationReportFailedInner;
|
|
53
|
+
export declare function SipReconciliationReportFailedInnerToJSONTyped(value?: SipReconciliationReportFailedInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SipReconciliationReportFailedInnerKindEnum = {
|
|
18
|
+
Trunk: 'trunk',
|
|
19
|
+
DispatchRule: 'dispatch_rule',
|
|
20
|
+
OutboundTrunk: 'outbound_trunk'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SipReconciliationReportFailedInner interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSipReconciliationReportFailedInner(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function SipReconciliationReportFailedInnerFromJSON(json) {
|
|
29
|
+
return SipReconciliationReportFailedInnerFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SipReconciliationReportFailedInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
38
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function SipReconciliationReportFailedInnerToJSON(json) {
|
|
42
|
+
return SipReconciliationReportFailedInnerToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function SipReconciliationReportFailedInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value['id'],
|
|
50
|
+
'kind': value['kind'],
|
|
51
|
+
'error': value['error'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SipReconciliationReportMissingDispatchRulesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SipReconciliationReportMissingDispatchRulesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
22
|
+
*/
|
|
23
|
+
dispatch_id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
28
|
+
*/
|
|
29
|
+
trunk_id?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
34
|
+
*/
|
|
35
|
+
organization_id?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SipReconciliationReportMissingDispatchRulesInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSipReconciliationReportMissingDispatchRulesInner(value: object): value is SipReconciliationReportMissingDispatchRulesInner;
|
|
41
|
+
export declare function SipReconciliationReportMissingDispatchRulesInnerFromJSON(json: any): SipReconciliationReportMissingDispatchRulesInner;
|
|
42
|
+
export declare function SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportMissingDispatchRulesInner;
|
|
43
|
+
export declare function SipReconciliationReportMissingDispatchRulesInnerToJSON(json: any): SipReconciliationReportMissingDispatchRulesInner;
|
|
44
|
+
export declare function SipReconciliationReportMissingDispatchRulesInnerToJSONTyped(value?: SipReconciliationReportMissingDispatchRulesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SipReconciliationReportMissingDispatchRulesInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSipReconciliationReportMissingDispatchRulesInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SipReconciliationReportMissingDispatchRulesInnerFromJSON(json) {
|
|
21
|
+
return SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'dispatch_id': json['dispatch_id'] == null ? undefined : json['dispatch_id'],
|
|
29
|
+
'trunk_id': json['trunk_id'] == null ? undefined : json['trunk_id'],
|
|
30
|
+
'organization_id': json['organization_id'] == null ? undefined : json['organization_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SipReconciliationReportMissingDispatchRulesInnerToJSON(json) {
|
|
34
|
+
return SipReconciliationReportMissingDispatchRulesInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SipReconciliationReportMissingDispatchRulesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'dispatch_id': value['dispatch_id'],
|
|
42
|
+
'trunk_id': value['trunk_id'],
|
|
43
|
+
'organization_id': value['organization_id'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SipReconciliationReportMissingTrunksInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SipReconciliationReportMissingTrunksInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SipReconciliationReportMissingTrunksInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SipReconciliationReportMissingTrunksInner
|
|
28
|
+
*/
|
|
29
|
+
number?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SipReconciliationReportMissingTrunksInner
|
|
34
|
+
*/
|
|
35
|
+
organization_id?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SipReconciliationReportMissingTrunksInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSipReconciliationReportMissingTrunksInner(value: object): value is SipReconciliationReportMissingTrunksInner;
|
|
41
|
+
export declare function SipReconciliationReportMissingTrunksInnerFromJSON(json: any): SipReconciliationReportMissingTrunksInner;
|
|
42
|
+
export declare function SipReconciliationReportMissingTrunksInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportMissingTrunksInner;
|
|
43
|
+
export declare function SipReconciliationReportMissingTrunksInnerToJSON(json: any): SipReconciliationReportMissingTrunksInner;
|
|
44
|
+
export declare function SipReconciliationReportMissingTrunksInnerToJSONTyped(value?: SipReconciliationReportMissingTrunksInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SipReconciliationReportMissingTrunksInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSipReconciliationReportMissingTrunksInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SipReconciliationReportMissingTrunksInnerFromJSON(json) {
|
|
21
|
+
return SipReconciliationReportMissingTrunksInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SipReconciliationReportMissingTrunksInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
30
|
+
'organization_id': json['organization_id'] == null ? undefined : json['organization_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SipReconciliationReportMissingTrunksInnerToJSON(json) {
|
|
34
|
+
return SipReconciliationReportMissingTrunksInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SipReconciliationReportMissingTrunksInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value['id'],
|
|
42
|
+
'number': value['number'],
|
|
43
|
+
'organization_id': value['organization_id'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SipReconciliationReportOrphanDispatchRulesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SipReconciliationReportOrphanDispatchRulesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SipReconciliationReportOrphanDispatchRulesInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SipReconciliationReportOrphanDispatchRulesInner
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SipReconciliationReportOrphanDispatchRulesInner
|
|
34
|
+
*/
|
|
35
|
+
trunk_ids?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SipReconciliationReportOrphanDispatchRulesInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSipReconciliationReportOrphanDispatchRulesInner(value: object): value is SipReconciliationReportOrphanDispatchRulesInner;
|
|
41
|
+
export declare function SipReconciliationReportOrphanDispatchRulesInnerFromJSON(json: any): SipReconciliationReportOrphanDispatchRulesInner;
|
|
42
|
+
export declare function SipReconciliationReportOrphanDispatchRulesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportOrphanDispatchRulesInner;
|
|
43
|
+
export declare function SipReconciliationReportOrphanDispatchRulesInnerToJSON(json: any): SipReconciliationReportOrphanDispatchRulesInner;
|
|
44
|
+
export declare function SipReconciliationReportOrphanDispatchRulesInnerToJSONTyped(value?: SipReconciliationReportOrphanDispatchRulesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SipReconciliationReportOrphanDispatchRulesInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSipReconciliationReportOrphanDispatchRulesInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SipReconciliationReportOrphanDispatchRulesInnerFromJSON(json) {
|
|
21
|
+
return SipReconciliationReportOrphanDispatchRulesInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SipReconciliationReportOrphanDispatchRulesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
'trunk_ids': json['trunk_ids'] == null ? undefined : json['trunk_ids'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SipReconciliationReportOrphanDispatchRulesInnerToJSON(json) {
|
|
34
|
+
return SipReconciliationReportOrphanDispatchRulesInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SipReconciliationReportOrphanDispatchRulesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value['id'],
|
|
42
|
+
'name': value['name'],
|
|
43
|
+
'trunk_ids': value['trunk_ids'],
|
|
44
|
+
};
|
|
45
|
+
}
|