@l7mp/tivadar-ai-api-sdk 0.2.1 → 0.2.2

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.
@@ -35,6 +35,14 @@ export interface Call {
35
35
  data?: {
36
36
  [key: string]: any;
37
37
  } | null;
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: any; }}
41
+ * @memberof Call
42
+ */
43
+ metadata?: {
44
+ [key: string]: any;
45
+ } | null;
38
46
  /**
39
47
  *
40
48
  * @type {string}
@@ -32,6 +32,7 @@ export function CallFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'id': json['id'],
33
33
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
34
34
  'data': json['data'] == null ? undefined : json['data'],
35
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
35
36
  'caller': json['caller'] == null ? undefined : json['caller'],
36
37
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
37
38
  'created_at': (new Date(json['created_at'])),
@@ -48,6 +49,7 @@ export function CallToJSONTyped(value, ignoreDiscriminator = false) {
48
49
  'id': value['id'],
49
50
  'voice_agent_id': value['voice_agent_id'],
50
51
  'data': value['data'],
52
+ 'metadata': value['metadata'],
51
53
  'caller': value['caller'],
52
54
  'sandbox': value['sandbox'],
53
55
  'created_at': value['created_at'].toISOString(),
@@ -29,6 +29,14 @@ export interface CallCreate {
29
29
  data?: {
30
30
  [key: string]: any;
31
31
  } | null;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof CallCreate
36
+ */
37
+ metadata?: {
38
+ [key: string]: any;
39
+ } | null;
32
40
  /**
33
41
  *
34
42
  * @type {string}
@@ -27,6 +27,7 @@ export function CallCreateFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
29
29
  'data': json['data'] == null ? undefined : json['data'],
30
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
30
31
  'caller': json['caller'] == null ? undefined : json['caller'],
31
32
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
32
33
  };
@@ -41,6 +42,7 @@ export function CallCreateToJSONTyped(value, ignoreDiscriminator = false) {
41
42
  return {
42
43
  'voice_agent_id': value['voice_agent_id'],
43
44
  'data': value['data'],
45
+ 'metadata': value['metadata'],
44
46
  'caller': value['caller'],
45
47
  'sandbox': value['sandbox'],
46
48
  };
@@ -29,6 +29,14 @@ export interface CallUpdate {
29
29
  data?: {
30
30
  [key: string]: any;
31
31
  } | null;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof CallUpdate
36
+ */
37
+ metadata?: {
38
+ [key: string]: any;
39
+ } | null;
32
40
  /**
33
41
  *
34
42
  * @type {string}
@@ -27,6 +27,7 @@ export function CallUpdateFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
29
29
  'data': json['data'] == null ? undefined : json['data'],
30
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
30
31
  'caller': json['caller'] == null ? undefined : json['caller'],
31
32
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
32
33
  };
@@ -41,6 +42,7 @@ export function CallUpdateToJSONTyped(value, ignoreDiscriminator = false) {
41
42
  return {
42
43
  'voice_agent_id': value['voice_agent_id'],
43
44
  'data': value['data'],
45
+ 'metadata': value['metadata'],
44
46
  'caller': value['caller'],
45
47
  'sandbox': value['sandbox'],
46
48
  };
@@ -35,6 +35,14 @@ export interface Call {
35
35
  data?: {
36
36
  [key: string]: any;
37
37
  } | null;
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: any; }}
41
+ * @memberof Call
42
+ */
43
+ metadata?: {
44
+ [key: string]: any;
45
+ } | null;
38
46
  /**
39
47
  *
40
48
  * @type {string}
@@ -39,6 +39,7 @@ function CallFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'id': json['id'],
40
40
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
41
41
  'data': json['data'] == null ? undefined : json['data'],
42
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
42
43
  'caller': json['caller'] == null ? undefined : json['caller'],
43
44
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
44
45
  'created_at': (new Date(json['created_at'])),
@@ -55,6 +56,7 @@ function CallToJSONTyped(value, ignoreDiscriminator = false) {
55
56
  'id': value['id'],
56
57
  'voice_agent_id': value['voice_agent_id'],
57
58
  'data': value['data'],
59
+ 'metadata': value['metadata'],
58
60
  'caller': value['caller'],
59
61
  'sandbox': value['sandbox'],
60
62
  'created_at': value['created_at'].toISOString(),
@@ -29,6 +29,14 @@ export interface CallCreate {
29
29
  data?: {
30
30
  [key: string]: any;
31
31
  } | null;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof CallCreate
36
+ */
37
+ metadata?: {
38
+ [key: string]: any;
39
+ } | null;
32
40
  /**
33
41
  *
34
42
  * @type {string}
@@ -34,6 +34,7 @@ function CallCreateFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
36
36
  'data': json['data'] == null ? undefined : json['data'],
37
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
37
38
  'caller': json['caller'] == null ? undefined : json['caller'],
38
39
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
39
40
  };
@@ -48,6 +49,7 @@ function CallCreateToJSONTyped(value, ignoreDiscriminator = false) {
48
49
  return {
49
50
  'voice_agent_id': value['voice_agent_id'],
50
51
  'data': value['data'],
52
+ 'metadata': value['metadata'],
51
53
  'caller': value['caller'],
52
54
  'sandbox': value['sandbox'],
53
55
  };
@@ -29,6 +29,14 @@ export interface CallUpdate {
29
29
  data?: {
30
30
  [key: string]: any;
31
31
  } | null;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: any; }}
35
+ * @memberof CallUpdate
36
+ */
37
+ metadata?: {
38
+ [key: string]: any;
39
+ } | null;
32
40
  /**
33
41
  *
34
42
  * @type {string}
@@ -34,6 +34,7 @@ function CallUpdateFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
36
36
  'data': json['data'] == null ? undefined : json['data'],
37
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
37
38
  'caller': json['caller'] == null ? undefined : json['caller'],
38
39
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
39
40
  };
@@ -48,6 +49,7 @@ function CallUpdateToJSONTyped(value, ignoreDiscriminator = false) {
48
49
  return {
49
50
  'voice_agent_id': value['voice_agent_id'],
50
51
  'data': value['data'],
52
+ 'metadata': value['metadata'],
51
53
  'caller': value['caller'],
52
54
  'sandbox': value['sandbox'],
53
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@l7mp/tivadar-ai-api-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "TypeScript/JavaScript SDK for Tivadar AI Backend API",
5
5
  "author": "L7mp Technologies",
6
6
  "repository": {
@@ -37,6 +37,12 @@ export interface Call {
37
37
  * @memberof Call
38
38
  */
39
39
  data?: { [key: string]: any; } | null;
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof Call
44
+ */
45
+ metadata?: { [key: string]: any; } | null;
40
46
  /**
41
47
  *
42
48
  * @type {string}
@@ -79,6 +85,7 @@ export function CallFromJSONTyped(json: any, ignoreDiscriminator: boolean): Call
79
85
  'id': json['id'],
80
86
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
81
87
  'data': json['data'] == null ? undefined : json['data'],
88
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
82
89
  'caller': json['caller'] == null ? undefined : json['caller'],
83
90
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
84
91
  'created_at': (new Date(json['created_at'])),
@@ -99,9 +106,9 @@ export function CallToJSONTyped(value?: Call | null, ignoreDiscriminator: boolea
99
106
  'id': value['id'],
100
107
  'voice_agent_id': value['voice_agent_id'],
101
108
  'data': value['data'],
109
+ 'metadata': value['metadata'],
102
110
  'caller': value['caller'],
103
111
  'sandbox': value['sandbox'],
104
112
  'created_at': value['created_at'].toISOString(),
105
113
  };
106
114
  }
107
-
@@ -31,6 +31,12 @@ export interface CallCreate {
31
31
  * @memberof CallCreate
32
32
  */
33
33
  data?: { [key: string]: any; } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any; }}
37
+ * @memberof CallCreate
38
+ */
39
+ metadata?: { [key: string]: any; } | null;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -64,6 +70,7 @@ export function CallCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean)
64
70
 
65
71
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
66
72
  'data': json['data'] == null ? undefined : json['data'],
73
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
67
74
  'caller': json['caller'] == null ? undefined : json['caller'],
68
75
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
69
76
  };
@@ -82,8 +89,8 @@ export function CallCreateToJSONTyped(value?: CallCreate | null, ignoreDiscrimin
82
89
 
83
90
  'voice_agent_id': value['voice_agent_id'],
84
91
  'data': value['data'],
92
+ 'metadata': value['metadata'],
85
93
  'caller': value['caller'],
86
94
  'sandbox': value['sandbox'],
87
95
  };
88
96
  }
89
-
@@ -31,6 +31,12 @@ export interface CallUpdate {
31
31
  * @memberof CallUpdate
32
32
  */
33
33
  data?: { [key: string]: any; } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any; }}
37
+ * @memberof CallUpdate
38
+ */
39
+ metadata?: { [key: string]: any; } | null;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -64,6 +70,7 @@ export function CallUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean)
64
70
 
65
71
  'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
66
72
  'data': json['data'] == null ? undefined : json['data'],
73
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
67
74
  'caller': json['caller'] == null ? undefined : json['caller'],
68
75
  'sandbox': json['sandbox'] == null ? undefined : json['sandbox'],
69
76
  };
@@ -82,8 +89,8 @@ export function CallUpdateToJSONTyped(value?: CallUpdate | null, ignoreDiscrimin
82
89
 
83
90
  'voice_agent_id': value['voice_agent_id'],
84
91
  'data': value['data'],
92
+ 'metadata': value['metadata'],
85
93
  'caller': value['caller'],
86
94
  'sandbox': value['sandbox'],
87
95
  };
88
96
  }
89
-