@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,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProfileDeletionPost409ResponseError = instanceOfProfileDeletionPost409ResponseError;
|
|
17
|
+
exports.ProfileDeletionPost409ResponseErrorFromJSON = ProfileDeletionPost409ResponseErrorFromJSON;
|
|
18
|
+
exports.ProfileDeletionPost409ResponseErrorFromJSONTyped = ProfileDeletionPost409ResponseErrorFromJSONTyped;
|
|
19
|
+
exports.ProfileDeletionPost409ResponseErrorToJSON = ProfileDeletionPost409ResponseErrorToJSON;
|
|
20
|
+
exports.ProfileDeletionPost409ResponseErrorToJSONTyped = ProfileDeletionPost409ResponseErrorToJSONTyped;
|
|
21
|
+
const ProfileDeletionPost409ResponseErrorDetails_1 = require("./ProfileDeletionPost409ResponseErrorDetails");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProfileDeletionPost409ResponseError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProfileDeletionPost409ResponseError(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProfileDeletionPost409ResponseErrorFromJSON(json) {
|
|
29
|
+
return ProfileDeletionPost409ResponseErrorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProfileDeletionPost409ResponseErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
37
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
38
|
+
'details': json['details'] == null ? undefined : (0, ProfileDeletionPost409ResponseErrorDetails_1.ProfileDeletionPost409ResponseErrorDetailsFromJSON)(json['details']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ProfileDeletionPost409ResponseErrorToJSON(json) {
|
|
42
|
+
return ProfileDeletionPost409ResponseErrorToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ProfileDeletionPost409ResponseErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'details': (0, ProfileDeletionPost409ResponseErrorDetails_1.ProfileDeletionPost409ResponseErrorDetailsToJSON)(value['details']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { AccountDeletionBlocker } from './AccountDeletionBlocker';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProfileDeletionPost409ResponseErrorDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface ProfileDeletionPost409ResponseErrorDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AccountDeletionBlocker>}
|
|
22
|
+
* @memberof ProfileDeletionPost409ResponseErrorDetails
|
|
23
|
+
*/
|
|
24
|
+
organizations?: Array<AccountDeletionBlocker>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProfileDeletionPost409ResponseErrorDetails interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProfileDeletionPost409ResponseErrorDetails(value: object): value is ProfileDeletionPost409ResponseErrorDetails;
|
|
30
|
+
export declare function ProfileDeletionPost409ResponseErrorDetailsFromJSON(json: any): ProfileDeletionPost409ResponseErrorDetails;
|
|
31
|
+
export declare function ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPost409ResponseErrorDetails;
|
|
32
|
+
export declare function ProfileDeletionPost409ResponseErrorDetailsToJSON(json: any): ProfileDeletionPost409ResponseErrorDetails;
|
|
33
|
+
export declare function ProfileDeletionPost409ResponseErrorDetailsToJSONTyped(value?: ProfileDeletionPost409ResponseErrorDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProfileDeletionPost409ResponseErrorDetails = instanceOfProfileDeletionPost409ResponseErrorDetails;
|
|
17
|
+
exports.ProfileDeletionPost409ResponseErrorDetailsFromJSON = ProfileDeletionPost409ResponseErrorDetailsFromJSON;
|
|
18
|
+
exports.ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped = ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped;
|
|
19
|
+
exports.ProfileDeletionPost409ResponseErrorDetailsToJSON = ProfileDeletionPost409ResponseErrorDetailsToJSON;
|
|
20
|
+
exports.ProfileDeletionPost409ResponseErrorDetailsToJSONTyped = ProfileDeletionPost409ResponseErrorDetailsToJSONTyped;
|
|
21
|
+
const AccountDeletionBlocker_1 = require("./AccountDeletionBlocker");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProfileDeletionPost409ResponseErrorDetails interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProfileDeletionPost409ResponseErrorDetails(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProfileDeletionPost409ResponseErrorDetailsFromJSON(json) {
|
|
29
|
+
return ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProfileDeletionPost409ResponseErrorDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'organizations': json['organizations'] == null ? undefined : (json['organizations'].map(AccountDeletionBlocker_1.AccountDeletionBlockerFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ProfileDeletionPost409ResponseErrorDetailsToJSON(json) {
|
|
40
|
+
return ProfileDeletionPost409ResponseErrorDetailsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ProfileDeletionPost409ResponseErrorDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'organizations': value['organizations'] == null ? undefined : (value['organizations'].map(AccountDeletionBlocker_1.AccountDeletionBlockerToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 ProfileDeletionPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ProfileDeletionPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Exact confirmation phrase, required to prevent accidental requests.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProfileDeletionPostRequest
|
|
22
|
+
*/
|
|
23
|
+
confirm: ProfileDeletionPostRequestConfirmEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProfileDeletionPostRequest
|
|
28
|
+
*/
|
|
29
|
+
reason?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const ProfileDeletionPostRequestConfirmEnum: {
|
|
35
|
+
readonly DeleteMyAccount: "DELETE MY ACCOUNT";
|
|
36
|
+
};
|
|
37
|
+
export type ProfileDeletionPostRequestConfirmEnum = typeof ProfileDeletionPostRequestConfirmEnum[keyof typeof ProfileDeletionPostRequestConfirmEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProfileDeletionPostRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfProfileDeletionPostRequest(value: object): value is ProfileDeletionPostRequest;
|
|
42
|
+
export declare function ProfileDeletionPostRequestFromJSON(json: any): ProfileDeletionPostRequest;
|
|
43
|
+
export declare function ProfileDeletionPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPostRequest;
|
|
44
|
+
export declare function ProfileDeletionPostRequestToJSON(json: any): ProfileDeletionPostRequest;
|
|
45
|
+
export declare function ProfileDeletionPostRequestToJSONTyped(value?: ProfileDeletionPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProfileDeletionPostRequestConfirmEnum = void 0;
|
|
17
|
+
exports.instanceOfProfileDeletionPostRequest = instanceOfProfileDeletionPostRequest;
|
|
18
|
+
exports.ProfileDeletionPostRequestFromJSON = ProfileDeletionPostRequestFromJSON;
|
|
19
|
+
exports.ProfileDeletionPostRequestFromJSONTyped = ProfileDeletionPostRequestFromJSONTyped;
|
|
20
|
+
exports.ProfileDeletionPostRequestToJSON = ProfileDeletionPostRequestToJSON;
|
|
21
|
+
exports.ProfileDeletionPostRequestToJSONTyped = ProfileDeletionPostRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ProfileDeletionPostRequestConfirmEnum = {
|
|
26
|
+
DeleteMyAccount: 'DELETE MY ACCOUNT'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ProfileDeletionPostRequest interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfProfileDeletionPostRequest(value) {
|
|
32
|
+
if (!('confirm' in value) || value['confirm'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ProfileDeletionPostRequestFromJSON(json) {
|
|
37
|
+
return ProfileDeletionPostRequestFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ProfileDeletionPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'confirm': json['confirm'],
|
|
45
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ProfileDeletionPostRequestToJSON(json) {
|
|
49
|
+
return ProfileDeletionPostRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ProfileDeletionPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'confirm': value['confirm'],
|
|
57
|
+
'reason': value['reason'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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
|
+
* Only the supplied fields are changed. Email is not editable here - it is owned by the identity provider.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProfileUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface ProfileUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProfileUpdate
|
|
22
|
+
*/
|
|
23
|
+
name?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProfileUpdate
|
|
28
|
+
*/
|
|
29
|
+
avatar_url?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProfileUpdate
|
|
34
|
+
*/
|
|
35
|
+
preferred_language?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProfileUpdate interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfProfileUpdate(value: object): value is ProfileUpdate;
|
|
41
|
+
export declare function ProfileUpdateFromJSON(json: any): ProfileUpdate;
|
|
42
|
+
export declare function ProfileUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileUpdate;
|
|
43
|
+
export declare function ProfileUpdateToJSON(json: any): ProfileUpdate;
|
|
44
|
+
export declare function ProfileUpdateToJSONTyped(value?: ProfileUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProfileUpdate = instanceOfProfileUpdate;
|
|
17
|
+
exports.ProfileUpdateFromJSON = ProfileUpdateFromJSON;
|
|
18
|
+
exports.ProfileUpdateFromJSONTyped = ProfileUpdateFromJSONTyped;
|
|
19
|
+
exports.ProfileUpdateToJSON = ProfileUpdateToJSON;
|
|
20
|
+
exports.ProfileUpdateToJSONTyped = ProfileUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProfileUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProfileUpdate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ProfileUpdateFromJSON(json) {
|
|
28
|
+
return ProfileUpdateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ProfileUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'avatar_url': json['avatar_url'] == null ? undefined : json['avatar_url'],
|
|
37
|
+
'preferred_language': json['preferred_language'] == null ? undefined : json['preferred_language'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ProfileUpdateToJSON(json) {
|
|
41
|
+
return ProfileUpdateToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ProfileUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
'avatar_url': value['avatar_url'],
|
|
50
|
+
'preferred_language': value['preferred_language'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSipReconciliationReport = instanceOfSipReconciliationReport;
|
|
17
|
+
exports.SipReconciliationReportFromJSON = SipReconciliationReportFromJSON;
|
|
18
|
+
exports.SipReconciliationReportFromJSONTyped = SipReconciliationReportFromJSONTyped;
|
|
19
|
+
exports.SipReconciliationReportToJSON = SipReconciliationReportToJSON;
|
|
20
|
+
exports.SipReconciliationReportToJSONTyped = SipReconciliationReportToJSONTyped;
|
|
21
|
+
const SipReconciliationReportDeleted_1 = require("./SipReconciliationReportDeleted");
|
|
22
|
+
const SipReconciliationReportOrphanTrunksInner_1 = require("./SipReconciliationReportOrphanTrunksInner");
|
|
23
|
+
const SipReconciliationReportFailedInner_1 = require("./SipReconciliationReportFailedInner");
|
|
24
|
+
const SipReconciliationReportOrphanDispatchRulesInner_1 = require("./SipReconciliationReportOrphanDispatchRulesInner");
|
|
25
|
+
const SipReconciliationReportMissingTrunksInner_1 = require("./SipReconciliationReportMissingTrunksInner");
|
|
26
|
+
const SipReconciliationReportMissingDispatchRulesInner_1 = require("./SipReconciliationReportMissingDispatchRulesInner");
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the SipReconciliationReport interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfSipReconciliationReport(value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SipReconciliationReportFromJSON(json) {
|
|
34
|
+
return SipReconciliationReportFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SipReconciliationReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'applied': json['applied'] == null ? undefined : json['applied'],
|
|
42
|
+
'orphan_trunks': json['orphan_trunks'] == null ? undefined : (json['orphan_trunks'].map(SipReconciliationReportOrphanTrunksInner_1.SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
43
|
+
'orphan_dispatch_rules': json['orphan_dispatch_rules'] == null ? undefined : (json['orphan_dispatch_rules'].map(SipReconciliationReportOrphanDispatchRulesInner_1.SipReconciliationReportOrphanDispatchRulesInnerFromJSON)),
|
|
44
|
+
'orphan_outbound_trunks': json['orphan_outbound_trunks'] == null ? undefined : (json['orphan_outbound_trunks'].map(SipReconciliationReportOrphanTrunksInner_1.SipReconciliationReportOrphanTrunksInnerFromJSON)),
|
|
45
|
+
'missing_trunks': json['missing_trunks'] == null ? undefined : (json['missing_trunks'].map(SipReconciliationReportMissingTrunksInner_1.SipReconciliationReportMissingTrunksInnerFromJSON)),
|
|
46
|
+
'missing_dispatch_rules': json['missing_dispatch_rules'] == null ? undefined : (json['missing_dispatch_rules'].map(SipReconciliationReportMissingDispatchRulesInner_1.SipReconciliationReportMissingDispatchRulesInnerFromJSON)),
|
|
47
|
+
'deleted': json['deleted'] == null ? undefined : (0, SipReconciliationReportDeleted_1.SipReconciliationReportDeletedFromJSON)(json['deleted']),
|
|
48
|
+
'failed': json['failed'] == null ? undefined : (json['failed'].map(SipReconciliationReportFailedInner_1.SipReconciliationReportFailedInnerFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function SipReconciliationReportToJSON(json) {
|
|
52
|
+
return SipReconciliationReportToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function SipReconciliationReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'applied': value['applied'],
|
|
60
|
+
'orphan_trunks': value['orphan_trunks'] == null ? undefined : (value['orphan_trunks'].map(SipReconciliationReportOrphanTrunksInner_1.SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
61
|
+
'orphan_dispatch_rules': value['orphan_dispatch_rules'] == null ? undefined : (value['orphan_dispatch_rules'].map(SipReconciliationReportOrphanDispatchRulesInner_1.SipReconciliationReportOrphanDispatchRulesInnerToJSON)),
|
|
62
|
+
'orphan_outbound_trunks': value['orphan_outbound_trunks'] == null ? undefined : (value['orphan_outbound_trunks'].map(SipReconciliationReportOrphanTrunksInner_1.SipReconciliationReportOrphanTrunksInnerToJSON)),
|
|
63
|
+
'missing_trunks': value['missing_trunks'] == null ? undefined : (value['missing_trunks'].map(SipReconciliationReportMissingTrunksInner_1.SipReconciliationReportMissingTrunksInnerToJSON)),
|
|
64
|
+
'missing_dispatch_rules': value['missing_dispatch_rules'] == null ? undefined : (value['missing_dispatch_rules'].map(SipReconciliationReportMissingDispatchRulesInner_1.SipReconciliationReportMissingDispatchRulesInnerToJSON)),
|
|
65
|
+
'deleted': (0, SipReconciliationReportDeleted_1.SipReconciliationReportDeletedToJSON)(value['deleted']),
|
|
66
|
+
'failed': value['failed'] == null ? undefined : (value['failed'].map(SipReconciliationReportFailedInner_1.SipReconciliationReportFailedInnerToJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -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,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSipReconciliationReportDeleted = instanceOfSipReconciliationReportDeleted;
|
|
17
|
+
exports.SipReconciliationReportDeletedFromJSON = SipReconciliationReportDeletedFromJSON;
|
|
18
|
+
exports.SipReconciliationReportDeletedFromJSONTyped = SipReconciliationReportDeletedFromJSONTyped;
|
|
19
|
+
exports.SipReconciliationReportDeletedToJSON = SipReconciliationReportDeletedToJSON;
|
|
20
|
+
exports.SipReconciliationReportDeletedToJSONTyped = SipReconciliationReportDeletedToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SipReconciliationReportDeleted interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSipReconciliationReportDeleted(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SipReconciliationReportDeletedFromJSON(json) {
|
|
28
|
+
return SipReconciliationReportDeletedFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SipReconciliationReportDeletedFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'trunks': json['trunks'] == null ? undefined : json['trunks'],
|
|
36
|
+
'dispatch_rules': json['dispatch_rules'] == null ? undefined : json['dispatch_rules'],
|
|
37
|
+
'outbound_trunks': json['outbound_trunks'] == null ? undefined : json['outbound_trunks'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SipReconciliationReportDeletedToJSON(json) {
|
|
41
|
+
return SipReconciliationReportDeletedToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SipReconciliationReportDeletedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'trunks': value['trunks'],
|
|
49
|
+
'dispatch_rules': value['dispatch_rules'],
|
|
50
|
+
'outbound_trunks': value['outbound_trunks'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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;
|