@lorikeetai/node-sdk 0.6.1 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2 (2024-12-09)
4
+
5
+ Full Changelog: [v0.6.1...v0.6.2](https://github.com/optechai/node-sdk/compare/v0.6.1...v0.6.2)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#109](https://github.com/optechai/node-sdk/issues/109)) ([5f2835c](https://github.com/optechai/node-sdk/commit/5f2835c1fc9583190e913b7d9e91685d059e406b))
10
+
3
11
  ## 0.6.1 (2024-12-08)
4
12
 
5
13
  Full Changelog: [v0.6.0...v0.6.1](https://github.com/optechai/node-sdk/compare/v0.6.0...v0.6.1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorikeetai/node-sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "The official TypeScript library for the Lorikeet API",
5
5
  "author": "Lorikeet <support@lorikeetcx.ai>",
6
6
  "types": "./index.d.ts",
@@ -158,6 +158,11 @@ export interface ChatGenerateParams {
158
158
  * The message to be sent to the user. This endpoint supports markdown.
159
159
  */
160
160
  message: string;
161
+ /**
162
+ * Any additional customer information, that has changed in the course of the
163
+ * conversation.
164
+ */
165
+ customer?: unknown;
161
166
  }
162
167
  export interface ChatGetParams {
163
168
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/conversation/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAGnC,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAA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AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -116,6 +116,11 @@ export interface EmailGenerateParams {
116
116
  * The message to be sent to the user. This endpoint supports markdown.
117
117
  */
118
118
  message: string;
119
+ /**
120
+ * Any additional customer information, that has changed in the course of the
121
+ * conversation.
122
+ */
123
+ customer?: unknown;
119
124
  }
120
125
  export interface EmailGetParams {
121
126
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../src/resources/conversation/email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAI1G,GAAG,CAA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 -15,32 +15,32 @@ export interface CustomerCreateResponse {
15
15
  * The timestamp of the when the customer was created in our system
16
16
  */
17
17
  createdAt: string;
18
+ /**
19
+ * The display name of the customer
20
+ */
21
+ displayName?: string;
18
22
  /**
19
23
  * The email of the customer
20
24
  */
21
- email: string;
25
+ email?: string;
22
26
  /**
23
27
  * The first name of the customer
24
28
  */
25
- firstName: string;
29
+ firstName?: string;
26
30
  /**
27
31
  * The last name of the customer
28
32
  */
29
- lastName: string;
33
+ lastName?: string;
30
34
  /**
31
35
  * The id of the customer in the ticketing system. For the SDK this needs to be
32
36
  * stable and unique
33
37
  */
34
- remoteId: string;
38
+ remoteId?: string;
35
39
  /**
36
40
  * The id of the customer in your own primary database or a unique identifier, for
37
41
  * example a cookie
38
42
  */
39
- subscriberCustomerId: string;
40
- /**
41
- * The display name of the customer
42
- */
43
- displayName?: string;
43
+ subscriberCustomerId?: string;
44
44
  }
45
45
  export interface CustomerUpdateResponse {
46
46
  /**
@@ -51,32 +51,32 @@ export interface CustomerUpdateResponse {
51
51
  * The timestamp of the when the customer was created in our system
52
52
  */
53
53
  createdAt: string;
54
+ /**
55
+ * The display name of the customer
56
+ */
57
+ displayName?: string;
54
58
  /**
55
59
  * The email of the customer
56
60
  */
57
- email: string;
61
+ email?: string;
58
62
  /**
59
63
  * The first name of the customer
60
64
  */
61
- firstName: string;
65
+ firstName?: string;
62
66
  /**
63
67
  * The last name of the customer
64
68
  */
65
- lastName: string;
69
+ lastName?: string;
66
70
  /**
67
71
  * The id of the customer in the ticketing system. For the SDK this needs to be
68
72
  * stable and unique
69
73
  */
70
- remoteId: string;
74
+ remoteId?: string;
71
75
  /**
72
76
  * The id of the customer in your own primary database or a unique identifier, for
73
77
  * example a cookie
74
78
  */
75
- subscriberCustomerId: string;
76
- /**
77
- * The display name of the customer
78
- */
79
- displayName?: string;
79
+ subscriberCustomerId?: string;
80
80
  }
81
81
  export interface CustomerGetResponse {
82
82
  /**
@@ -87,117 +87,117 @@ export interface CustomerGetResponse {
87
87
  * The timestamp of the when the customer was created in our system
88
88
  */
89
89
  createdAt: string;
90
+ /**
91
+ * The display name of the customer
92
+ */
93
+ displayName?: string;
90
94
  /**
91
95
  * The email of the customer
92
96
  */
93
- email: string;
97
+ email?: string;
94
98
  /**
95
99
  * The first name of the customer
96
100
  */
97
- firstName: string;
101
+ firstName?: string;
98
102
  /**
99
103
  * The last name of the customer
100
104
  */
101
- lastName: string;
105
+ lastName?: string;
102
106
  /**
103
107
  * The id of the customer in the ticketing system. For the SDK this needs to be
104
108
  * stable and unique
105
109
  */
106
- remoteId: string;
110
+ remoteId?: string;
107
111
  /**
108
112
  * The id of the customer in your own primary database or a unique identifier, for
109
113
  * example a cookie
110
114
  */
111
- subscriberCustomerId: string;
115
+ subscriberCustomerId?: string;
116
+ }
117
+ export type CustomerTokenResponse = string;
118
+ export interface CustomerCreateParams {
112
119
  /**
113
120
  * The display name of the customer
114
121
  */
115
122
  displayName?: string;
116
- }
117
- export type CustomerTokenResponse = string;
118
- export interface CustomerCreateParams {
119
123
  /**
120
124
  * The email of the customer
121
125
  */
122
- email: string;
126
+ email?: string;
123
127
  /**
124
128
  * The first name of the customer
125
129
  */
126
- firstName: string;
130
+ firstName?: string;
127
131
  /**
128
132
  * The last name of the customer
129
133
  */
130
- lastName: string;
134
+ lastName?: string;
131
135
  /**
132
136
  * The id of the customer in the ticketing system. For the SDK this needs to be
133
137
  * stable and unique
134
138
  */
135
- remoteId: string;
139
+ remoteId?: string;
136
140
  /**
137
141
  * The id of the customer in your own primary database or a unique identifier, for
138
142
  * example a cookie
139
143
  */
140
- subscriberCustomerId: string;
144
+ subscriberCustomerId?: string;
145
+ }
146
+ export interface CustomerUpdateParams {
141
147
  /**
142
148
  * The display name of the customer
143
149
  */
144
150
  displayName?: string;
145
- }
146
- export interface CustomerUpdateParams {
147
151
  /**
148
152
  * The email of the customer
149
153
  */
150
- email: string;
154
+ email?: string;
151
155
  /**
152
156
  * The first name of the customer
153
157
  */
154
- firstName: string;
158
+ firstName?: string;
155
159
  /**
156
160
  * The last name of the customer
157
161
  */
158
- lastName: string;
162
+ lastName?: string;
159
163
  /**
160
164
  * The id of the customer in the ticketing system. For the SDK this needs to be
161
165
  * stable and unique
162
166
  */
163
- remoteId: string;
167
+ remoteId?: string;
164
168
  /**
165
169
  * The id of the customer in your own primary database or a unique identifier, for
166
170
  * example a cookie
167
171
  */
168
- subscriberCustomerId: string;
172
+ subscriberCustomerId?: string;
173
+ }
174
+ export interface CustomerTokenParams {
169
175
  /**
170
176
  * The display name of the customer
171
177
  */
172
178
  displayName?: string;
173
- }
174
- export interface CustomerTokenParams {
175
179
  /**
176
180
  * The email of the customer
177
181
  */
178
- email: string;
182
+ email?: string;
179
183
  /**
180
184
  * The first name of the customer
181
185
  */
182
- firstName: string;
186
+ firstName?: string;
183
187
  /**
184
188
  * The last name of the customer
185
189
  */
186
- lastName: string;
190
+ lastName?: string;
187
191
  /**
188
192
  * The id of the customer in the ticketing system. For the SDK this needs to be
189
193
  * stable and unique
190
194
  */
191
- remoteId: string;
195
+ remoteId?: string;
192
196
  /**
193
197
  * The id of the customer in your own primary database or a unique identifier, for
194
198
  * example a cookie
195
199
  */
196
- subscriberCustomerId: string;
197
- /**
198
- * The display name of the customer
199
- */
200
- displayName?: string;
200
+ subscriberCustomerId?: string;
201
201
  }
202
202
  export declare namespace Customer {
203
203
  export { type CustomerCreateResponse as CustomerCreateResponse, type CustomerUpdateResponse as CustomerUpdateResponse, type CustomerGetResponse as CustomerGetResponse, type CustomerTokenResponse as CustomerTokenResponse, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerTokenParams as CustomerTokenParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../src/resources/customer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,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,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -209,6 +209,12 @@ export interface ChatGenerateParams {
209
209
  * The message to be sent to the user. This endpoint supports markdown.
210
210
  */
211
211
  message: string;
212
+
213
+ /**
214
+ * Any additional customer information, that has changed in the course of the
215
+ * conversation.
216
+ */
217
+ customer?: unknown;
212
218
  }
213
219
 
214
220
  export interface ChatGetParams {
@@ -151,6 +151,12 @@ export interface EmailGenerateParams {
151
151
  * The message to be sent to the user. This endpoint supports markdown.
152
152
  */
153
153
  message: string;
154
+
155
+ /**
156
+ * Any additional customer information, that has changed in the course of the
157
+ * conversation.
158
+ */
159
+ customer?: unknown;
154
160
  }
155
161
 
156
162
  export interface EmailGetParams {
@@ -40,37 +40,37 @@ export interface CustomerCreateResponse {
40
40
  */
41
41
  createdAt: string;
42
42
 
43
+ /**
44
+ * The display name of the customer
45
+ */
46
+ displayName?: string;
47
+
43
48
  /**
44
49
  * The email of the customer
45
50
  */
46
- email: string;
51
+ email?: string;
47
52
 
48
53
  /**
49
54
  * The first name of the customer
50
55
  */
51
- firstName: string;
56
+ firstName?: string;
52
57
 
53
58
  /**
54
59
  * The last name of the customer
55
60
  */
56
- lastName: string;
61
+ lastName?: string;
57
62
 
58
63
  /**
59
64
  * The id of the customer in the ticketing system. For the SDK this needs to be
60
65
  * stable and unique
61
66
  */
62
- remoteId: string;
67
+ remoteId?: string;
63
68
 
64
69
  /**
65
70
  * The id of the customer in your own primary database or a unique identifier, for
66
71
  * example a cookie
67
72
  */
68
- subscriberCustomerId: string;
69
-
70
- /**
71
- * The display name of the customer
72
- */
73
- displayName?: string;
73
+ subscriberCustomerId?: string;
74
74
  }
75
75
 
76
76
  export interface CustomerUpdateResponse {
@@ -84,37 +84,37 @@ export interface CustomerUpdateResponse {
84
84
  */
85
85
  createdAt: string;
86
86
 
87
+ /**
88
+ * The display name of the customer
89
+ */
90
+ displayName?: string;
91
+
87
92
  /**
88
93
  * The email of the customer
89
94
  */
90
- email: string;
95
+ email?: string;
91
96
 
92
97
  /**
93
98
  * The first name of the customer
94
99
  */
95
- firstName: string;
100
+ firstName?: string;
96
101
 
97
102
  /**
98
103
  * The last name of the customer
99
104
  */
100
- lastName: string;
105
+ lastName?: string;
101
106
 
102
107
  /**
103
108
  * The id of the customer in the ticketing system. For the SDK this needs to be
104
109
  * stable and unique
105
110
  */
106
- remoteId: string;
111
+ remoteId?: string;
107
112
 
108
113
  /**
109
114
  * The id of the customer in your own primary database or a unique identifier, for
110
115
  * example a cookie
111
116
  */
112
- subscriberCustomerId: string;
113
-
114
- /**
115
- * The display name of the customer
116
- */
117
- displayName?: string;
117
+ subscriberCustomerId?: string;
118
118
  }
119
119
 
120
120
  export interface CustomerGetResponse {
@@ -128,141 +128,141 @@ export interface CustomerGetResponse {
128
128
  */
129
129
  createdAt: string;
130
130
 
131
+ /**
132
+ * The display name of the customer
133
+ */
134
+ displayName?: string;
135
+
131
136
  /**
132
137
  * The email of the customer
133
138
  */
134
- email: string;
139
+ email?: string;
135
140
 
136
141
  /**
137
142
  * The first name of the customer
138
143
  */
139
- firstName: string;
144
+ firstName?: string;
140
145
 
141
146
  /**
142
147
  * The last name of the customer
143
148
  */
144
- lastName: string;
149
+ lastName?: string;
145
150
 
146
151
  /**
147
152
  * The id of the customer in the ticketing system. For the SDK this needs to be
148
153
  * stable and unique
149
154
  */
150
- remoteId: string;
155
+ remoteId?: string;
151
156
 
152
157
  /**
153
158
  * The id of the customer in your own primary database or a unique identifier, for
154
159
  * example a cookie
155
160
  */
156
- subscriberCustomerId: string;
161
+ subscriberCustomerId?: string;
162
+ }
157
163
 
164
+ export type CustomerTokenResponse = string;
165
+
166
+ export interface CustomerCreateParams {
158
167
  /**
159
168
  * The display name of the customer
160
169
  */
161
170
  displayName?: string;
162
- }
163
-
164
- export type CustomerTokenResponse = string;
165
171
 
166
- export interface CustomerCreateParams {
167
172
  /**
168
173
  * The email of the customer
169
174
  */
170
- email: string;
175
+ email?: string;
171
176
 
172
177
  /**
173
178
  * The first name of the customer
174
179
  */
175
- firstName: string;
180
+ firstName?: string;
176
181
 
177
182
  /**
178
183
  * The last name of the customer
179
184
  */
180
- lastName: string;
185
+ lastName?: string;
181
186
 
182
187
  /**
183
188
  * The id of the customer in the ticketing system. For the SDK this needs to be
184
189
  * stable and unique
185
190
  */
186
- remoteId: string;
191
+ remoteId?: string;
187
192
 
188
193
  /**
189
194
  * The id of the customer in your own primary database or a unique identifier, for
190
195
  * example a cookie
191
196
  */
192
- subscriberCustomerId: string;
197
+ subscriberCustomerId?: string;
198
+ }
193
199
 
200
+ export interface CustomerUpdateParams {
194
201
  /**
195
202
  * The display name of the customer
196
203
  */
197
204
  displayName?: string;
198
- }
199
205
 
200
- export interface CustomerUpdateParams {
201
206
  /**
202
207
  * The email of the customer
203
208
  */
204
- email: string;
209
+ email?: string;
205
210
 
206
211
  /**
207
212
  * The first name of the customer
208
213
  */
209
- firstName: string;
214
+ firstName?: string;
210
215
 
211
216
  /**
212
217
  * The last name of the customer
213
218
  */
214
- lastName: string;
219
+ lastName?: string;
215
220
 
216
221
  /**
217
222
  * The id of the customer in the ticketing system. For the SDK this needs to be
218
223
  * stable and unique
219
224
  */
220
- remoteId: string;
225
+ remoteId?: string;
221
226
 
222
227
  /**
223
228
  * The id of the customer in your own primary database or a unique identifier, for
224
229
  * example a cookie
225
230
  */
226
- subscriberCustomerId: string;
231
+ subscriberCustomerId?: string;
232
+ }
227
233
 
234
+ export interface CustomerTokenParams {
228
235
  /**
229
236
  * The display name of the customer
230
237
  */
231
238
  displayName?: string;
232
- }
233
239
 
234
- export interface CustomerTokenParams {
235
240
  /**
236
241
  * The email of the customer
237
242
  */
238
- email: string;
243
+ email?: string;
239
244
 
240
245
  /**
241
246
  * The first name of the customer
242
247
  */
243
- firstName: string;
248
+ firstName?: string;
244
249
 
245
250
  /**
246
251
  * The last name of the customer
247
252
  */
248
- lastName: string;
253
+ lastName?: string;
249
254
 
250
255
  /**
251
256
  * The id of the customer in the ticketing system. For the SDK this needs to be
252
257
  * stable and unique
253
258
  */
254
- remoteId: string;
259
+ remoteId?: string;
255
260
 
256
261
  /**
257
262
  * The id of the customer in your own primary database or a unique identifier, for
258
263
  * example a cookie
259
264
  */
260
- subscriberCustomerId: string;
261
-
262
- /**
263
- * The display name of the customer
264
- */
265
- displayName?: string;
265
+ subscriberCustomerId?: string;
266
266
  }
267
267
 
268
268
  export declare namespace Customer {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.6.1'; // x-release-please-version
1
+ export const VERSION = '0.6.2'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.6.1";
1
+ export declare const VERSION = "0.6.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.6.1'; // x-release-please-version
4
+ exports.VERSION = '0.6.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.6.1'; // x-release-please-version
1
+ export const VERSION = '0.6.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map