@l7mp/tivadar-ai-api-sdk 0.1.5 → 0.1.7

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.
Files changed (41) hide show
  1. package/dist/api-client.d.ts +11 -2
  2. package/dist/api-client.js +10 -1
  3. package/dist/apis/CallsApi.d.ts +92 -0
  4. package/dist/apis/CallsApi.js +256 -0
  5. package/dist/apis/RecordingsApi.d.ts +6 -6
  6. package/dist/apis/RecordingsApi.js +10 -10
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/api-client.d.ts +11 -2
  10. package/dist/esm/api-client.js +10 -1
  11. package/dist/esm/apis/CallsApi.d.ts +92 -0
  12. package/dist/esm/apis/CallsApi.js +252 -0
  13. package/dist/esm/apis/RecordingsApi.d.ts +6 -6
  14. package/dist/esm/apis/RecordingsApi.js +10 -10
  15. package/dist/esm/apis/index.d.ts +1 -0
  16. package/dist/esm/apis/index.js +1 -0
  17. package/dist/esm/models/Call.d.ts +64 -0
  18. package/dist/esm/models/Call.js +55 -0
  19. package/dist/esm/models/CallCreate.d.ts +52 -0
  20. package/dist/esm/models/CallCreate.js +47 -0
  21. package/dist/esm/models/CallUpdate.d.ts +52 -0
  22. package/dist/esm/models/CallUpdate.js +47 -0
  23. package/dist/esm/models/index.d.ts +3 -0
  24. package/dist/esm/models/index.js +3 -0
  25. package/dist/models/Call.d.ts +64 -0
  26. package/dist/models/Call.js +62 -0
  27. package/dist/models/CallCreate.d.ts +52 -0
  28. package/dist/models/CallCreate.js +54 -0
  29. package/dist/models/CallUpdate.d.ts +52 -0
  30. package/dist/models/CallUpdate.js +54 -0
  31. package/dist/models/index.d.ts +3 -0
  32. package/dist/models/index.js +3 -0
  33. package/package.json +1 -2
  34. package/src/api-client.ts +22 -2
  35. package/src/apis/CallsApi.ts +352 -0
  36. package/src/apis/RecordingsApi.ts +13 -13
  37. package/src/apis/index.ts +1 -0
  38. package/src/models/Call.ts +107 -0
  39. package/src/models/CallCreate.ts +89 -0
  40. package/src/models/CallUpdate.ts +89 -0
  41. package/src/models/index.ts +3 -0
@@ -0,0 +1,89 @@
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 CallUpdate
20
+ */
21
+ export interface CallUpdate {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CallUpdate
26
+ */
27
+ voice_agent_id?: string | null;
28
+ /**
29
+ *
30
+ * @type {{ [key: string]: any; }}
31
+ * @memberof CallUpdate
32
+ */
33
+ data?: { [key: string]: any; } | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof CallUpdate
38
+ */
39
+ caller?: string | null;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof CallUpdate
44
+ */
45
+ sandbox?: boolean | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the CallUpdate interface.
50
+ */
51
+ export function instanceOfCallUpdate(value: object): value is CallUpdate {
52
+ return true;
53
+ }
54
+
55
+ export function CallUpdateFromJSON(json: any): CallUpdate {
56
+ return CallUpdateFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function CallUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallUpdate {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
66
+ 'data': json['data'] == null ? undefined : json['data'],
67
+ 'caller': json['caller'] == null ? undefined : json['caller'],
68
+ 'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
69
+ };
70
+ }
71
+
72
+ export function CallUpdateToJSON(json: any): CallUpdate {
73
+ return CallUpdateToJSONTyped(json, false);
74
+ }
75
+
76
+ export function CallUpdateToJSONTyped(value?: CallUpdate | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'voice_agent_id': value['voice_agent_id'],
84
+ 'data': value['data'],
85
+ 'caller': value['caller'],
86
+ 'sandbox': value['sandbox'],
87
+ };
88
+ }
89
+
@@ -10,6 +10,9 @@ export * from './CalendarEventListResponse';
10
10
  export * from './CalendarEventUpdate';
11
11
  export * from './CalendarListResponse';
12
12
  export * from './CalendarUpdate';
13
+ export * from './Call';
14
+ export * from './CallCreate';
15
+ export * from './CallUpdate';
13
16
  export * from './CancelSubscriptionRequest';
14
17
  export * from './CancelSubscriptionResponse';
15
18
  export * from './ChatAgent';