@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,56 @@
|
|
|
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 OrganizationDeletionStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationDeletionStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof OrganizationDeletionStatus
|
|
22
|
+
*/
|
|
23
|
+
pending: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof OrganizationDeletionStatus
|
|
28
|
+
*/
|
|
29
|
+
requested_at?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationDeletionStatus
|
|
34
|
+
*/
|
|
35
|
+
requested_by?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* When the purge becomes eligible. Must be cancelled manually before then.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof OrganizationDeletionStatus
|
|
40
|
+
*/
|
|
41
|
+
scheduled_for?: Date | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OrganizationDeletionStatus
|
|
46
|
+
*/
|
|
47
|
+
days_remaining?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OrganizationDeletionStatus interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOrganizationDeletionStatus(value: object): value is OrganizationDeletionStatus;
|
|
53
|
+
export declare function OrganizationDeletionStatusFromJSON(json: any): OrganizationDeletionStatus;
|
|
54
|
+
export declare function OrganizationDeletionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationDeletionStatus;
|
|
55
|
+
export declare function OrganizationDeletionStatusToJSON(json: any): OrganizationDeletionStatus;
|
|
56
|
+
export declare function OrganizationDeletionStatusToJSONTyped(value?: OrganizationDeletionStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfOrganizationDeletionStatus = instanceOfOrganizationDeletionStatus;
|
|
17
|
+
exports.OrganizationDeletionStatusFromJSON = OrganizationDeletionStatusFromJSON;
|
|
18
|
+
exports.OrganizationDeletionStatusFromJSONTyped = OrganizationDeletionStatusFromJSONTyped;
|
|
19
|
+
exports.OrganizationDeletionStatusToJSON = OrganizationDeletionStatusToJSON;
|
|
20
|
+
exports.OrganizationDeletionStatusToJSONTyped = OrganizationDeletionStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganizationDeletionStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganizationDeletionStatus(value) {
|
|
25
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function OrganizationDeletionStatusFromJSON(json) {
|
|
30
|
+
return OrganizationDeletionStatusFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function OrganizationDeletionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pending': json['pending'],
|
|
38
|
+
'requested_at': json['requested_at'] == null ? undefined : (new Date(json['requested_at'])),
|
|
39
|
+
'requested_by': json['requested_by'] == null ? undefined : json['requested_by'],
|
|
40
|
+
'scheduled_for': json['scheduled_for'] == null ? undefined : (new Date(json['scheduled_for'])),
|
|
41
|
+
'days_remaining': json['days_remaining'] == null ? undefined : json['days_remaining'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function OrganizationDeletionStatusToJSON(json) {
|
|
45
|
+
return OrganizationDeletionStatusToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function OrganizationDeletionStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'pending': value['pending'],
|
|
53
|
+
'requested_at': value['requested_at'] == null ? value['requested_at'] : value['requested_at'].toISOString(),
|
|
54
|
+
'requested_by': value['requested_by'],
|
|
55
|
+
'scheduled_for': value['scheduled_for'] == null ? value['scheduled_for'] : value['scheduled_for'].toISOString(),
|
|
56
|
+
'days_remaining': value['days_remaining'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { OrganizationsOrganizationIdDeletionPost409ResponseError } from './OrganizationsOrganizationIdDeletionPost409ResponseError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrganizationIdDeletionPost409Response
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrganizationIdDeletionPost409Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrganizationsOrganizationIdDeletionPost409ResponseError}
|
|
28
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409Response
|
|
29
|
+
*/
|
|
30
|
+
error?: OrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationsOrganizationIdDeletionPost409Response(value: object): value is OrganizationsOrganizationIdDeletionPost409Response;
|
|
36
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseFromJSON(json: any): OrganizationsOrganizationIdDeletionPost409Response;
|
|
37
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdDeletionPost409Response;
|
|
38
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseToJSON(json: any): OrganizationsOrganizationIdDeletionPost409Response;
|
|
39
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseToJSONTyped(value?: OrganizationsOrganizationIdDeletionPost409Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfOrganizationsOrganizationIdDeletionPost409Response = instanceOfOrganizationsOrganizationIdDeletionPost409Response;
|
|
17
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseFromJSON = OrganizationsOrganizationIdDeletionPost409ResponseFromJSON;
|
|
18
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseFromJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseFromJSONTyped;
|
|
19
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseToJSON = OrganizationsOrganizationIdDeletionPost409ResponseToJSON;
|
|
20
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseToJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseToJSONTyped;
|
|
21
|
+
const OrganizationsOrganizationIdDeletionPost409ResponseError_1 = require("./OrganizationsOrganizationIdDeletionPost409ResponseError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationsOrganizationIdDeletionPost409Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseFromJSON(json) {
|
|
29
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
37
|
+
'error': json['error'] == null ? undefined : (0, OrganizationsOrganizationIdDeletionPost409ResponseError_1.OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSON)(json['error']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseToJSON(json) {
|
|
41
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'error': (0, OrganizationsOrganizationIdDeletionPost409ResponseError_1.OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSON)(value['error']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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
|
+
import type { OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails } from './OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrganizationIdDeletionPost409ResponseError
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrganizationIdDeletionPost409ResponseError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409ResponseError
|
|
23
|
+
*/
|
|
24
|
+
code?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409ResponseError
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails}
|
|
34
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409ResponseError
|
|
35
|
+
*/
|
|
36
|
+
details?: OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409ResponseError interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfOrganizationsOrganizationIdDeletionPost409ResponseError(value: object): value is OrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
42
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSON(json: any): OrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
43
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
44
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSON(json: any): OrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
45
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSONTyped(value?: OrganizationsOrganizationIdDeletionPost409ResponseError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfOrganizationsOrganizationIdDeletionPost409ResponseError = instanceOfOrganizationsOrganizationIdDeletionPost409ResponseError;
|
|
17
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSON = OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSON;
|
|
18
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSONTyped;
|
|
19
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSON = OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSON;
|
|
20
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSONTyped;
|
|
21
|
+
const OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails_1 = require("./OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409ResponseError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationsOrganizationIdDeletionPost409ResponseError(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSON(json) {
|
|
29
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorFromJSONTyped(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, OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails_1.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSON)(json['details']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSON(json) {
|
|
42
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'details': (0, OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails_1.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSON)(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 { OrganizationDeletionBillingBlock } from './OrganizationDeletionBillingBlock';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {OrganizationDeletionBillingBlock}
|
|
22
|
+
* @memberof OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails
|
|
23
|
+
*/
|
|
24
|
+
subscription?: OrganizationDeletionBillingBlock;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationsOrganizationIdDeletionPost409ResponseErrorDetails(value: object): value is OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
30
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSON(json: any): OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
31
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
32
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSON(json: any): OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
33
|
+
export declare function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSONTyped(value?: OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails | 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.instanceOfOrganizationsOrganizationIdDeletionPost409ResponseErrorDetails = instanceOfOrganizationsOrganizationIdDeletionPost409ResponseErrorDetails;
|
|
17
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSON = OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSON;
|
|
18
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSONTyped;
|
|
19
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSON = OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSON;
|
|
20
|
+
exports.OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSONTyped = OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSONTyped;
|
|
21
|
+
const OrganizationDeletionBillingBlock_1 = require("./OrganizationDeletionBillingBlock");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationsOrganizationIdDeletionPost409ResponseErrorDetails interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationsOrganizationIdDeletionPost409ResponseErrorDetails(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSON(json) {
|
|
29
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'subscription': json['subscription'] == null ? undefined : (0, OrganizationDeletionBillingBlock_1.OrganizationDeletionBillingBlockFromJSON)(json['subscription']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSON(json) {
|
|
40
|
+
return OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function OrganizationsOrganizationIdDeletionPost409ResponseErrorDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'subscription': (0, OrganizationDeletionBillingBlock_1.OrganizationDeletionBillingBlockToJSON)(value['subscription']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { AccountDeletionStatus } from './AccountDeletionStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Profile
|
|
17
|
+
*/
|
|
18
|
+
export interface Profile {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Profile
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Profile
|
|
29
|
+
*/
|
|
30
|
+
email: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Profile
|
|
35
|
+
*/
|
|
36
|
+
name: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Profile
|
|
41
|
+
*/
|
|
42
|
+
avatar_url: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* User preferred locale in BCP-47 format (for example en, en-US, hu-HU)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Profile
|
|
47
|
+
*/
|
|
48
|
+
preferred_language: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof Profile
|
|
53
|
+
*/
|
|
54
|
+
last_seen_at?: Date | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {AccountDeletionStatus}
|
|
58
|
+
* @memberof Profile
|
|
59
|
+
*/
|
|
60
|
+
deletion: AccountDeletionStatus;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the Profile interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfProfile(value: object): value is Profile;
|
|
66
|
+
export declare function ProfileFromJSON(json: any): Profile;
|
|
67
|
+
export declare function ProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): Profile;
|
|
68
|
+
export declare function ProfileToJSON(json: any): Profile;
|
|
69
|
+
export declare function ProfileToJSONTyped(value?: Profile | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.instanceOfProfile = instanceOfProfile;
|
|
17
|
+
exports.ProfileFromJSON = ProfileFromJSON;
|
|
18
|
+
exports.ProfileFromJSONTyped = ProfileFromJSONTyped;
|
|
19
|
+
exports.ProfileToJSON = ProfileToJSON;
|
|
20
|
+
exports.ProfileToJSONTyped = ProfileToJSONTyped;
|
|
21
|
+
const AccountDeletionStatus_1 = require("./AccountDeletionStatus");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Profile interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProfile(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('avatar_url' in value) || value['avatar_url'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('preferred_language' in value) || value['preferred_language'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('deletion' in value) || value['deletion'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function ProfileFromJSON(json) {
|
|
41
|
+
return ProfileFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'email': json['email'],
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'avatar_url': json['avatar_url'],
|
|
52
|
+
'preferred_language': json['preferred_language'],
|
|
53
|
+
'last_seen_at': json['last_seen_at'] == null ? undefined : (new Date(json['last_seen_at'])),
|
|
54
|
+
'deletion': (0, AccountDeletionStatus_1.AccountDeletionStatusFromJSON)(json['deletion']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function ProfileToJSON(json) {
|
|
58
|
+
return ProfileToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function ProfileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'email': value['email'],
|
|
67
|
+
'name': value['name'],
|
|
68
|
+
'avatar_url': value['avatar_url'],
|
|
69
|
+
'preferred_language': value['preferred_language'],
|
|
70
|
+
'last_seen_at': value['last_seen_at'] == null ? value['last_seen_at'] : value['last_seen_at'].toISOString(),
|
|
71
|
+
'deletion': (0, AccountDeletionStatus_1.AccountDeletionStatusToJSON)(value['deletion']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { ProfileDeletionPost409ResponseError } from './ProfileDeletionPost409ResponseError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProfileDeletionPost409Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ProfileDeletionPost409Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ProfileDeletionPost409Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ProfileDeletionPost409ResponseError}
|
|
28
|
+
* @memberof ProfileDeletionPost409Response
|
|
29
|
+
*/
|
|
30
|
+
error?: ProfileDeletionPost409ResponseError;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ProfileDeletionPost409Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfProfileDeletionPost409Response(value: object): value is ProfileDeletionPost409Response;
|
|
36
|
+
export declare function ProfileDeletionPost409ResponseFromJSON(json: any): ProfileDeletionPost409Response;
|
|
37
|
+
export declare function ProfileDeletionPost409ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPost409Response;
|
|
38
|
+
export declare function ProfileDeletionPost409ResponseToJSON(json: any): ProfileDeletionPost409Response;
|
|
39
|
+
export declare function ProfileDeletionPost409ResponseToJSONTyped(value?: ProfileDeletionPost409Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfProfileDeletionPost409Response = instanceOfProfileDeletionPost409Response;
|
|
17
|
+
exports.ProfileDeletionPost409ResponseFromJSON = ProfileDeletionPost409ResponseFromJSON;
|
|
18
|
+
exports.ProfileDeletionPost409ResponseFromJSONTyped = ProfileDeletionPost409ResponseFromJSONTyped;
|
|
19
|
+
exports.ProfileDeletionPost409ResponseToJSON = ProfileDeletionPost409ResponseToJSON;
|
|
20
|
+
exports.ProfileDeletionPost409ResponseToJSONTyped = ProfileDeletionPost409ResponseToJSONTyped;
|
|
21
|
+
const ProfileDeletionPost409ResponseError_1 = require("./ProfileDeletionPost409ResponseError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ProfileDeletionPost409Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfProfileDeletionPost409Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ProfileDeletionPost409ResponseFromJSON(json) {
|
|
29
|
+
return ProfileDeletionPost409ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ProfileDeletionPost409ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
37
|
+
'error': json['error'] == null ? undefined : (0, ProfileDeletionPost409ResponseError_1.ProfileDeletionPost409ResponseErrorFromJSON)(json['error']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ProfileDeletionPost409ResponseToJSON(json) {
|
|
41
|
+
return ProfileDeletionPost409ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ProfileDeletionPost409ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'error': (0, ProfileDeletionPost409ResponseError_1.ProfileDeletionPost409ResponseErrorToJSON)(value['error']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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
|
+
import type { ProfileDeletionPost409ResponseErrorDetails } from './ProfileDeletionPost409ResponseErrorDetails';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProfileDeletionPost409ResponseError
|
|
17
|
+
*/
|
|
18
|
+
export interface ProfileDeletionPost409ResponseError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProfileDeletionPost409ResponseError
|
|
23
|
+
*/
|
|
24
|
+
code?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProfileDeletionPost409ResponseError
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ProfileDeletionPost409ResponseErrorDetails}
|
|
34
|
+
* @memberof ProfileDeletionPost409ResponseError
|
|
35
|
+
*/
|
|
36
|
+
details?: ProfileDeletionPost409ResponseErrorDetails;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProfileDeletionPost409ResponseError interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfProfileDeletionPost409ResponseError(value: object): value is ProfileDeletionPost409ResponseError;
|
|
42
|
+
export declare function ProfileDeletionPost409ResponseErrorFromJSON(json: any): ProfileDeletionPost409ResponseError;
|
|
43
|
+
export declare function ProfileDeletionPost409ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProfileDeletionPost409ResponseError;
|
|
44
|
+
export declare function ProfileDeletionPost409ResponseErrorToJSON(json: any): ProfileDeletionPost409ResponseError;
|
|
45
|
+
export declare function ProfileDeletionPost409ResponseErrorToJSONTyped(value?: ProfileDeletionPost409ResponseError | null, ignoreDiscriminator?: boolean): any;
|