@l7mp/tivadar-ai-api-sdk 0.2.19 → 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/SubscriptionStatus.d.ts +6 -0
- package/dist/esm/models/SubscriptionStatus.js +2 -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/SubscriptionStatus.d.ts +6 -0
- package/dist/models/SubscriptionStatus.js +2 -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/SubscriptionStatus.ts +8 -0
- package/src/models/index.ts +21 -0
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AccountDeletionBlocker } from './AccountDeletionBlocker';
|
|
17
|
+
import {
|
|
18
|
+
AccountDeletionBlockerFromJSON,
|
|
19
|
+
AccountDeletionBlockerFromJSONTyped,
|
|
20
|
+
AccountDeletionBlockerToJSON,
|
|
21
|
+
AccountDeletionBlockerToJSONTyped,
|
|
22
|
+
} from './AccountDeletionBlocker';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProfileDeletionPost409ResponseErrorDetails
|
|
28
|
+
*/
|
|
29
|
+
export interface ProfileDeletionPost409ResponseErrorDetails {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<AccountDeletionBlocker>}
|
|
33
|
+
* @memberof ProfileDeletionPost409ResponseErrorDetails
|
|
34
|
+
*/
|
|
35
|
+
organizations?: Array<AccountDeletionBlocker>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProfileDeletionPost409ResponseErrorDetails interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProfileDeletionPost409ResponseErrorDetails(value: object): value is ProfileDeletionPost409ResponseErrorDetails {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ProfileDeletionPost409ResponseErrorDetailsFromJSON(json: any): ProfileDeletionPost409ResponseErrorDetails {
|
|
46
|
+
return ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPost409ResponseErrorDetails {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'organizations': json['organizations'] == null ? undefined : ((json['organizations'] as Array<any>).map(AccountDeletionBlockerFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ProfileDeletionPost409ResponseErrorDetailsToJSON(json: any): ProfileDeletionPost409ResponseErrorDetails {
|
|
60
|
+
return ProfileDeletionPost409ResponseErrorDetailsToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ProfileDeletionPost409ResponseErrorDetailsToJSONTyped(value?: ProfileDeletionPost409ResponseErrorDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'organizations': value['organizations'] == null ? undefined : ((value['organizations'] as Array<any>).map(AccountDeletionBlockerToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProfileDeletionPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ProfileDeletionPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Exact confirmation phrase, required to prevent accidental requests.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProfileDeletionPostRequest
|
|
26
|
+
*/
|
|
27
|
+
confirm: ProfileDeletionPostRequestConfirmEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProfileDeletionPostRequest
|
|
32
|
+
*/
|
|
33
|
+
reason?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const ProfileDeletionPostRequestConfirmEnum = {
|
|
41
|
+
DeleteMyAccount: 'DELETE MY ACCOUNT'
|
|
42
|
+
} as const;
|
|
43
|
+
export type ProfileDeletionPostRequestConfirmEnum = typeof ProfileDeletionPostRequestConfirmEnum[keyof typeof ProfileDeletionPostRequestConfirmEnum];
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ProfileDeletionPostRequest interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfProfileDeletionPostRequest(value: object): value is ProfileDeletionPostRequest {
|
|
50
|
+
if (!('confirm' in value) || value['confirm'] === undefined) return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ProfileDeletionPostRequestFromJSON(json: any): ProfileDeletionPostRequest {
|
|
55
|
+
return ProfileDeletionPostRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ProfileDeletionPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPostRequest {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'confirm': json['confirm'],
|
|
65
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ProfileDeletionPostRequestToJSON(json: any): ProfileDeletionPostRequest {
|
|
70
|
+
return ProfileDeletionPostRequestToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ProfileDeletionPostRequestToJSONTyped(value?: ProfileDeletionPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'confirm': value['confirm'],
|
|
81
|
+
'reason': value['reason'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Only the supplied fields are changed. Email is not editable here - it is owned by the identity provider.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProfileUpdate
|
|
20
|
+
*/
|
|
21
|
+
export interface ProfileUpdate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProfileUpdate
|
|
26
|
+
*/
|
|
27
|
+
name?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProfileUpdate
|
|
32
|
+
*/
|
|
33
|
+
avatar_url?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProfileUpdate
|
|
38
|
+
*/
|
|
39
|
+
preferred_language?: string | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ProfileUpdate interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfProfileUpdate(value: object): value is ProfileUpdate {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProfileUpdateFromJSON(json: any): ProfileUpdate {
|
|
50
|
+
return ProfileUpdateFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ProfileUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileUpdate {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
60
|
+
'avatar_url': json['avatar_url'] == null ? undefined : json['avatar_url'],
|
|
61
|
+
'preferred_language': json['preferred_language'] == null ? undefined : json['preferred_language'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ProfileUpdateToJSON(json: any): ProfileUpdate {
|
|
66
|
+
return ProfileUpdateToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ProfileUpdateToJSONTyped(value?: ProfileUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'avatar_url': value['avatar_url'],
|
|
78
|
+
'preferred_language': value['preferred_language'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SipReconciliationReportDeleted } from './SipReconciliationReportDeleted';
|
|
17
|
+
import {
|
|
18
|
+
SipReconciliationReportDeletedFromJSON,
|
|
19
|
+
SipReconciliationReportDeletedFromJSONTyped,
|
|
20
|
+
SipReconciliationReportDeletedToJSON,
|
|
21
|
+
SipReconciliationReportDeletedToJSONTyped,
|
|
22
|
+
} from './SipReconciliationReportDeleted';
|
|
23
|
+
import type { SipReconciliationReportOrphanTrunksInner } from './SipReconciliationReportOrphanTrunksInner';
|
|
24
|
+
import {
|
|
25
|
+
SipReconciliationReportOrphanTrunksInnerFromJSON,
|
|
26
|
+
SipReconciliationReportOrphanTrunksInnerFromJSONTyped,
|
|
27
|
+
SipReconciliationReportOrphanTrunksInnerToJSON,
|
|
28
|
+
SipReconciliationReportOrphanTrunksInnerToJSONTyped,
|
|
29
|
+
} from './SipReconciliationReportOrphanTrunksInner';
|
|
30
|
+
import type { SipReconciliationReportFailedInner } from './SipReconciliationReportFailedInner';
|
|
31
|
+
import {
|
|
32
|
+
SipReconciliationReportFailedInnerFromJSON,
|
|
33
|
+
SipReconciliationReportFailedInnerFromJSONTyped,
|
|
34
|
+
SipReconciliationReportFailedInnerToJSON,
|
|
35
|
+
SipReconciliationReportFailedInnerToJSONTyped,
|
|
36
|
+
} from './SipReconciliationReportFailedInner';
|
|
37
|
+
import type { SipReconciliationReportOrphanDispatchRulesInner } from './SipReconciliationReportOrphanDispatchRulesInner';
|
|
38
|
+
import {
|
|
39
|
+
SipReconciliationReportOrphanDispatchRulesInnerFromJSON,
|
|
40
|
+
SipReconciliationReportOrphanDispatchRulesInnerFromJSONTyped,
|
|
41
|
+
SipReconciliationReportOrphanDispatchRulesInnerToJSON,
|
|
42
|
+
SipReconciliationReportOrphanDispatchRulesInnerToJSONTyped,
|
|
43
|
+
} from './SipReconciliationReportOrphanDispatchRulesInner';
|
|
44
|
+
import type { SipReconciliationReportMissingTrunksInner } from './SipReconciliationReportMissingTrunksInner';
|
|
45
|
+
import {
|
|
46
|
+
SipReconciliationReportMissingTrunksInnerFromJSON,
|
|
47
|
+
SipReconciliationReportMissingTrunksInnerFromJSONTyped,
|
|
48
|
+
SipReconciliationReportMissingTrunksInnerToJSON,
|
|
49
|
+
SipReconciliationReportMissingTrunksInnerToJSONTyped,
|
|
50
|
+
} from './SipReconciliationReportMissingTrunksInner';
|
|
51
|
+
import type { SipReconciliationReportMissingDispatchRulesInner } from './SipReconciliationReportMissingDispatchRulesInner';
|
|
52
|
+
import {
|
|
53
|
+
SipReconciliationReportMissingDispatchRulesInnerFromJSON,
|
|
54
|
+
SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped,
|
|
55
|
+
SipReconciliationReportMissingDispatchRulesInnerToJSON,
|
|
56
|
+
SipReconciliationReportMissingDispatchRulesInnerToJSONTyped,
|
|
57
|
+
} from './SipReconciliationReportMissingDispatchRulesInner';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Drift between the LiveKit SIP state and the database.
|
|
61
|
+
* @export
|
|
62
|
+
* @interface SipReconciliationReport
|
|
63
|
+
*/
|
|
64
|
+
export interface SipReconciliationReport {
|
|
65
|
+
/**
|
|
66
|
+
* Whether this was an apply run rather than a dry run. What was actually deleted is in `deleted`.
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof SipReconciliationReport
|
|
69
|
+
*/
|
|
70
|
+
applied?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<SipReconciliationReportOrphanTrunksInner>}
|
|
74
|
+
* @memberof SipReconciliationReport
|
|
75
|
+
*/
|
|
76
|
+
orphan_trunks?: Array<SipReconciliationReportOrphanTrunksInner>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<SipReconciliationReportOrphanDispatchRulesInner>}
|
|
80
|
+
* @memberof SipReconciliationReport
|
|
81
|
+
*/
|
|
82
|
+
orphan_dispatch_rules?: Array<SipReconciliationReportOrphanDispatchRulesInner>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Array<SipReconciliationReportOrphanTrunksInner>}
|
|
86
|
+
* @memberof SipReconciliationReport
|
|
87
|
+
*/
|
|
88
|
+
orphan_outbound_trunks?: Array<SipReconciliationReportOrphanTrunksInner>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<SipReconciliationReportMissingTrunksInner>}
|
|
92
|
+
* @memberof SipReconciliationReport
|
|
93
|
+
*/
|
|
94
|
+
missing_trunks?: Array<SipReconciliationReportMissingTrunksInner>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<SipReconciliationReportMissingDispatchRulesInner>}
|
|
98
|
+
* @memberof SipReconciliationReport
|
|
99
|
+
*/
|
|
100
|
+
missing_dispatch_rules?: Array<SipReconciliationReportMissingDispatchRulesInner>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {SipReconciliationReportDeleted}
|
|
104
|
+
* @memberof SipReconciliationReport
|
|
105
|
+
*/
|
|
106
|
+
deleted?: SipReconciliationReportDeleted;
|
|
107
|
+
/**
|
|
108
|
+
* Resources this run tried and failed to delete.
|
|
109
|
+
* @type {Array<SipReconciliationReportFailedInner>}
|
|
110
|
+
* @memberof SipReconciliationReport
|
|
111
|
+
*/
|
|
112
|
+
failed?: Array<SipReconciliationReportFailedInner>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the SipReconciliationReport interface.
|
|
117
|
+
*/
|
|
118
|
+
export function instanceOfSipReconciliationReport(value: object): value is SipReconciliationReport {
|
|
119
|
+
return true;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function SipReconciliationReportFromJSON(json: any): SipReconciliationReport {
|
|
123
|
+
return SipReconciliationReportFromJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function SipReconciliationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReport {
|
|
127
|
+
if (json == null) {
|
|
128
|
+
return json;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
|
|
132
|
+
'applied': json['applied'] == null ? undefined : json['applied'],
|
|
133
|
+
'orphan_trunks': json['orphan_trunks'] == null ? undefined : ((json['orphan_trunks'] as Array<any>).map(SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
134
|
+
'orphan_dispatch_rules': json['orphan_dispatch_rules'] == null ? undefined : ((json['orphan_dispatch_rules'] as Array<any>).map(SipReconciliationReportOrphanDispatchRulesInnerFromJSON)),
|
|
135
|
+
'orphan_outbound_trunks': json['orphan_outbound_trunks'] == null ? undefined : ((json['orphan_outbound_trunks'] as Array<any>).map(SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
136
|
+
'missing_trunks': json['missing_trunks'] == null ? undefined : ((json['missing_trunks'] as Array<any>).map(SipReconciliationReportMissingTrunksInnerFromJSON)),
|
|
137
|
+
'missing_dispatch_rules': json['missing_dispatch_rules'] == null ? undefined : ((json['missing_dispatch_rules'] as Array<any>).map(SipReconciliationReportMissingDispatchRulesInnerFromJSON)),
|
|
138
|
+
'deleted': json['deleted'] == null ? undefined : SipReconciliationReportDeletedFromJSON(json['deleted']),
|
|
139
|
+
'failed': json['failed'] == null ? undefined : ((json['failed'] as Array<any>).map(SipReconciliationReportFailedInnerFromJSON)),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function SipReconciliationReportToJSON(json: any): SipReconciliationReport {
|
|
144
|
+
return SipReconciliationReportToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function SipReconciliationReportToJSONTyped(value?: SipReconciliationReport | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'applied': value['applied'],
|
|
155
|
+
'orphan_trunks': value['orphan_trunks'] == null ? undefined : ((value['orphan_trunks'] as Array<any>).map(SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
156
|
+
'orphan_dispatch_rules': value['orphan_dispatch_rules'] == null ? undefined : ((value['orphan_dispatch_rules'] as Array<any>).map(SipReconciliationReportOrphanDispatchRulesInnerToJSON)),
|
|
157
|
+
'orphan_outbound_trunks': value['orphan_outbound_trunks'] == null ? undefined : ((value['orphan_outbound_trunks'] as Array<any>).map(SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
158
|
+
'missing_trunks': value['missing_trunks'] == null ? undefined : ((value['missing_trunks'] as Array<any>).map(SipReconciliationReportMissingTrunksInnerToJSON)),
|
|
159
|
+
'missing_dispatch_rules': value['missing_dispatch_rules'] == null ? undefined : ((value['missing_dispatch_rules'] as Array<any>).map(SipReconciliationReportMissingDispatchRulesInnerToJSON)),
|
|
160
|
+
'deleted': SipReconciliationReportDeletedToJSON(value['deleted']),
|
|
161
|
+
'failed': value['failed'] == null ? undefined : ((value['failed'] as Array<any>).map(SipReconciliationReportFailedInnerToJSON)),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SipReconciliationReportDeleted
|
|
20
|
+
*/
|
|
21
|
+
export interface SipReconciliationReportDeleted {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof SipReconciliationReportDeleted
|
|
26
|
+
*/
|
|
27
|
+
trunks?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof SipReconciliationReportDeleted
|
|
32
|
+
*/
|
|
33
|
+
dispatch_rules?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof SipReconciliationReportDeleted
|
|
38
|
+
*/
|
|
39
|
+
outbound_trunks?: Array<string>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SipReconciliationReportDeleted interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSipReconciliationReportDeleted(value: object): value is SipReconciliationReportDeleted {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SipReconciliationReportDeletedFromJSON(json: any): SipReconciliationReportDeleted {
|
|
50
|
+
return SipReconciliationReportDeletedFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SipReconciliationReportDeletedFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportDeleted {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'trunks': json['trunks'] == null ? undefined : json['trunks'],
|
|
60
|
+
'dispatch_rules': json['dispatch_rules'] == null ? undefined : json['dispatch_rules'],
|
|
61
|
+
'outbound_trunks': json['outbound_trunks'] == null ? undefined : json['outbound_trunks'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function SipReconciliationReportDeletedToJSON(json: any): SipReconciliationReportDeleted {
|
|
66
|
+
return SipReconciliationReportDeletedToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function SipReconciliationReportDeletedToJSONTyped(value?: SipReconciliationReportDeleted | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'trunks': value['trunks'],
|
|
77
|
+
'dispatch_rules': value['dispatch_rules'],
|
|
78
|
+
'outbound_trunks': value['outbound_trunks'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SipReconciliationReportFailedInner
|
|
20
|
+
*/
|
|
21
|
+
export interface SipReconciliationReportFailedInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SipReconciliationReportFailedInner
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SipReconciliationReportFailedInner
|
|
32
|
+
*/
|
|
33
|
+
kind?: SipReconciliationReportFailedInnerKindEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SipReconciliationReportFailedInner
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const SipReconciliationReportFailedInnerKindEnum = {
|
|
47
|
+
Trunk: 'trunk',
|
|
48
|
+
DispatchRule: 'dispatch_rule',
|
|
49
|
+
OutboundTrunk: 'outbound_trunk'
|
|
50
|
+
} as const;
|
|
51
|
+
export type SipReconciliationReportFailedInnerKindEnum = typeof SipReconciliationReportFailedInnerKindEnum[keyof typeof SipReconciliationReportFailedInnerKindEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the SipReconciliationReportFailedInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfSipReconciliationReportFailedInner(value: object): value is SipReconciliationReportFailedInner {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function SipReconciliationReportFailedInnerFromJSON(json: any): SipReconciliationReportFailedInner {
|
|
62
|
+
return SipReconciliationReportFailedInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function SipReconciliationReportFailedInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportFailedInner {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
73
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function SipReconciliationReportFailedInnerToJSON(json: any): SipReconciliationReportFailedInner {
|
|
78
|
+
return SipReconciliationReportFailedInnerToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function SipReconciliationReportFailedInnerToJSONTyped(value?: SipReconciliationReportFailedInner | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'id': value['id'],
|
|
89
|
+
'kind': value['kind'],
|
|
90
|
+
'error': value['error'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SipReconciliationReportMissingDispatchRulesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface SipReconciliationReportMissingDispatchRulesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
26
|
+
*/
|
|
27
|
+
dispatch_id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
32
|
+
*/
|
|
33
|
+
trunk_id?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SipReconciliationReportMissingDispatchRulesInner
|
|
38
|
+
*/
|
|
39
|
+
organization_id?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SipReconciliationReportMissingDispatchRulesInner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSipReconciliationReportMissingDispatchRulesInner(value: object): value is SipReconciliationReportMissingDispatchRulesInner {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SipReconciliationReportMissingDispatchRulesInnerFromJSON(json: any): SipReconciliationReportMissingDispatchRulesInner {
|
|
50
|
+
return SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SipReconciliationReportMissingDispatchRulesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SipReconciliationReportMissingDispatchRulesInner {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'dispatch_id': json['dispatch_id'] == null ? undefined : json['dispatch_id'],
|
|
60
|
+
'trunk_id': json['trunk_id'] == null ? undefined : json['trunk_id'],
|
|
61
|
+
'organization_id': json['organization_id'] == null ? undefined : json['organization_id'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function SipReconciliationReportMissingDispatchRulesInnerToJSON(json: any): SipReconciliationReportMissingDispatchRulesInner {
|
|
66
|
+
return SipReconciliationReportMissingDispatchRulesInnerToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function SipReconciliationReportMissingDispatchRulesInnerToJSONTyped(value?: SipReconciliationReportMissingDispatchRulesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'dispatch_id': value['dispatch_id'],
|
|
77
|
+
'trunk_id': value['trunk_id'],
|
|
78
|
+
'organization_id': value['organization_id'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|