@droz-js/sdk 0.6.8 → 0.6.10
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/package.json +1 -1
- package/src/drozchat-ws.d.ts +2 -2
- package/src/drozchat.d.ts +2 -2
- package/src/sdks/ai.d.ts +44 -10
- package/src/sdks/casasbahia.d.ts +44 -10
- package/src/sdks/chatwidget.d.ts +44 -10
- package/src/sdks/drozbot.d.ts +44 -10
- package/src/sdks/drozchat.d.ts +76 -42
- package/src/sdks/drozchat.js +108 -25
- package/src/sdks/drozcommons.d.ts +49 -15
- package/src/sdks/drozcommons.js +8 -5
- package/src/sdks/droznexo.d.ts +59 -25
- package/src/sdks/droznexo.js +40 -17
- package/src/sdks/logger.d.ts +44 -10
- package/src/sdks/nucleus.d.ts +69 -35
- package/src/sdks/nucleus.js +54 -24
- package/src/sdks/reclameaqui.d.ts +44 -10
- package/src/sdks/utilities.d.ts +128 -63
- package/src/sdks/utilities.js +131 -34
- package/src/sdks/whatsapp.d.ts +44 -10
- package/src/sdks/zendesk.d.ts +44 -10
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export declare const DrozChatWs: new () => {
|
|
|
60
60
|
q?: string;
|
|
61
61
|
filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
|
|
62
62
|
sortBy?: import("./sdks/drozchat").TicketSearchSortBy | import("./sdks/drozchat").TicketSearchSortBy[];
|
|
63
|
-
page?: number;
|
|
64
|
-
perPage?: number;
|
|
63
|
+
page?: string | number;
|
|
64
|
+
perPage?: string | number;
|
|
65
65
|
}>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
|
|
66
66
|
createTicket(variables: import("./sdks/drozchat").Exact<{
|
|
67
67
|
input: import("./sdks/drozchat").CreateTicketInput;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -63,8 +63,8 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
63
63
|
q?: string;
|
|
64
64
|
filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
|
|
65
65
|
sortBy?: import("./sdks/drozchat").TicketSearchSortBy | import("./sdks/drozchat").TicketSearchSortBy[];
|
|
66
|
-
page?: number;
|
|
67
|
-
perPage?: number;
|
|
66
|
+
page?: string | number;
|
|
67
|
+
perPage?: string | number;
|
|
68
68
|
}>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
|
|
69
69
|
createTicket(variables: import("./sdks/drozchat").Exact<{
|
|
70
70
|
input: import("./sdks/drozchat").CreateTicketInput;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export type Scalars = {
|
|
|
85
85
|
input: string;
|
|
86
86
|
output: string;
|
|
87
87
|
};
|
|
88
|
+
Number: {
|
|
89
|
+
input: string | number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
88
92
|
PhoneNumber: {
|
|
89
93
|
input: string;
|
|
90
94
|
output: string;
|
|
@@ -167,14 +171,23 @@ export type NlpOptionInput = {
|
|
|
167
171
|
samples: Array<Scalars['String']['input']>;
|
|
168
172
|
transition: Scalars['VariableName']['input'];
|
|
169
173
|
};
|
|
170
|
-
export type
|
|
171
|
-
btw?:
|
|
172
|
-
eq?:
|
|
173
|
-
gt?:
|
|
174
|
-
gte?:
|
|
175
|
-
lt?:
|
|
176
|
-
lte?:
|
|
177
|
-
ne?:
|
|
174
|
+
export type NumberMatcher = {
|
|
175
|
+
btw?: Maybe<Array<Scalars['Number']['output']>>;
|
|
176
|
+
eq?: Maybe<Scalars['Number']['output']>;
|
|
177
|
+
gt?: Maybe<Scalars['Number']['output']>;
|
|
178
|
+
gte?: Maybe<Scalars['Number']['output']>;
|
|
179
|
+
lt?: Maybe<Scalars['Number']['output']>;
|
|
180
|
+
lte?: Maybe<Scalars['Number']['output']>;
|
|
181
|
+
ne?: Maybe<Scalars['Number']['output']>;
|
|
182
|
+
};
|
|
183
|
+
export type NumberMatcherInput = {
|
|
184
|
+
btw?: InputMaybe<Array<Scalars['Number']['input']>>;
|
|
185
|
+
eq?: InputMaybe<Scalars['Number']['input']>;
|
|
186
|
+
gt?: InputMaybe<Scalars['Number']['input']>;
|
|
187
|
+
gte?: InputMaybe<Scalars['Number']['input']>;
|
|
188
|
+
lt?: InputMaybe<Scalars['Number']['input']>;
|
|
189
|
+
lte?: InputMaybe<Scalars['Number']['input']>;
|
|
190
|
+
ne?: InputMaybe<Scalars['Number']['input']>;
|
|
178
191
|
};
|
|
179
192
|
export type PageInfo = {
|
|
180
193
|
hasNext: Scalars['Boolean']['output'];
|
|
@@ -219,9 +232,30 @@ export type SearchResultsStats = {
|
|
|
219
232
|
searchTime: Scalars['Float']['output'];
|
|
220
233
|
totalPages: Scalars['Float']['output'];
|
|
221
234
|
};
|
|
222
|
-
export type
|
|
235
|
+
export type StringMatcher = {
|
|
236
|
+
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
237
|
+
ct?: Maybe<Scalars['String']['output']>;
|
|
238
|
+
cti?: Maybe<Scalars['String']['output']>;
|
|
239
|
+
eq?: Maybe<Scalars['String']['output']>;
|
|
240
|
+
eqi?: Maybe<Scalars['String']['output']>;
|
|
241
|
+
gt?: Maybe<Scalars['String']['output']>;
|
|
242
|
+
gte?: Maybe<Scalars['String']['output']>;
|
|
243
|
+
in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
244
|
+
lt?: Maybe<Scalars['String']['output']>;
|
|
245
|
+
lte?: Maybe<Scalars['String']['output']>;
|
|
246
|
+
ne?: Maybe<Scalars['String']['output']>;
|
|
247
|
+
};
|
|
248
|
+
export type StringMatcherInput = {
|
|
249
|
+
btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
250
|
+
ct?: InputMaybe<Scalars['String']['input']>;
|
|
251
|
+
cti?: InputMaybe<Scalars['String']['input']>;
|
|
223
252
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
224
|
-
|
|
253
|
+
eqi?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
255
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
256
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
257
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
258
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
225
259
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
226
260
|
};
|
|
227
261
|
export type TestNlpInstanceResult = {
|
package/src/sdks/casasbahia.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export type Scalars = {
|
|
|
85
85
|
input: string;
|
|
86
86
|
output: string;
|
|
87
87
|
};
|
|
88
|
+
Number: {
|
|
89
|
+
input: string | number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
88
92
|
PhoneNumber: {
|
|
89
93
|
input: string;
|
|
90
94
|
output: string;
|
|
@@ -181,14 +185,23 @@ export type MutationRemoveCasasBahiaInstanceArgs = {
|
|
|
181
185
|
export type MutationUpdateCasasBahiaInstanceArgs = {
|
|
182
186
|
input: UpdateCasasBahiaInstanceInput;
|
|
183
187
|
};
|
|
184
|
-
export type
|
|
185
|
-
btw?:
|
|
186
|
-
eq?:
|
|
187
|
-
gt?:
|
|
188
|
-
gte?:
|
|
189
|
-
lt?:
|
|
190
|
-
lte?:
|
|
191
|
-
ne?:
|
|
188
|
+
export type NumberMatcher = {
|
|
189
|
+
btw?: Maybe<Array<Scalars['Number']['output']>>;
|
|
190
|
+
eq?: Maybe<Scalars['Number']['output']>;
|
|
191
|
+
gt?: Maybe<Scalars['Number']['output']>;
|
|
192
|
+
gte?: Maybe<Scalars['Number']['output']>;
|
|
193
|
+
lt?: Maybe<Scalars['Number']['output']>;
|
|
194
|
+
lte?: Maybe<Scalars['Number']['output']>;
|
|
195
|
+
ne?: Maybe<Scalars['Number']['output']>;
|
|
196
|
+
};
|
|
197
|
+
export type NumberMatcherInput = {
|
|
198
|
+
btw?: InputMaybe<Array<Scalars['Number']['input']>>;
|
|
199
|
+
eq?: InputMaybe<Scalars['Number']['input']>;
|
|
200
|
+
gt?: InputMaybe<Scalars['Number']['input']>;
|
|
201
|
+
gte?: InputMaybe<Scalars['Number']['input']>;
|
|
202
|
+
lt?: InputMaybe<Scalars['Number']['input']>;
|
|
203
|
+
lte?: InputMaybe<Scalars['Number']['input']>;
|
|
204
|
+
ne?: InputMaybe<Scalars['Number']['input']>;
|
|
192
205
|
};
|
|
193
206
|
export type PageInfo = {
|
|
194
207
|
hasNext: Scalars['Boolean']['output'];
|
|
@@ -249,9 +262,30 @@ export type Solutions = {
|
|
|
249
262
|
id: Scalars['Int']['output'];
|
|
250
263
|
name: Scalars['String']['output'];
|
|
251
264
|
};
|
|
252
|
-
export type
|
|
265
|
+
export type StringMatcher = {
|
|
266
|
+
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
267
|
+
ct?: Maybe<Scalars['String']['output']>;
|
|
268
|
+
cti?: Maybe<Scalars['String']['output']>;
|
|
269
|
+
eq?: Maybe<Scalars['String']['output']>;
|
|
270
|
+
eqi?: Maybe<Scalars['String']['output']>;
|
|
271
|
+
gt?: Maybe<Scalars['String']['output']>;
|
|
272
|
+
gte?: Maybe<Scalars['String']['output']>;
|
|
273
|
+
in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
274
|
+
lt?: Maybe<Scalars['String']['output']>;
|
|
275
|
+
lte?: Maybe<Scalars['String']['output']>;
|
|
276
|
+
ne?: Maybe<Scalars['String']['output']>;
|
|
277
|
+
};
|
|
278
|
+
export type StringMatcherInput = {
|
|
279
|
+
btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
280
|
+
ct?: InputMaybe<Scalars['String']['input']>;
|
|
281
|
+
cti?: InputMaybe<Scalars['String']['input']>;
|
|
253
282
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
-
|
|
283
|
+
eqi?: InputMaybe<Scalars['String']['input']>;
|
|
284
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
285
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
286
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
287
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
288
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
255
289
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
256
290
|
};
|
|
257
291
|
export declare enum Typenames {
|
package/src/sdks/chatwidget.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export type Scalars = {
|
|
|
85
85
|
input: string;
|
|
86
86
|
output: string;
|
|
87
87
|
};
|
|
88
|
+
Number: {
|
|
89
|
+
input: string | number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
88
92
|
PhoneNumber: {
|
|
89
93
|
input: string;
|
|
90
94
|
output: string;
|
|
@@ -178,14 +182,23 @@ export type MutationStartChatWidgetSessionArgs = {
|
|
|
178
182
|
export type MutationUpdateChatWidgetArgs = {
|
|
179
183
|
input: UpdateChatWidgetInput;
|
|
180
184
|
};
|
|
181
|
-
export type
|
|
182
|
-
btw?:
|
|
183
|
-
eq?:
|
|
184
|
-
gt?:
|
|
185
|
-
gte?:
|
|
186
|
-
lt?:
|
|
187
|
-
lte?:
|
|
188
|
-
ne?:
|
|
185
|
+
export type NumberMatcher = {
|
|
186
|
+
btw?: Maybe<Array<Scalars['Number']['output']>>;
|
|
187
|
+
eq?: Maybe<Scalars['Number']['output']>;
|
|
188
|
+
gt?: Maybe<Scalars['Number']['output']>;
|
|
189
|
+
gte?: Maybe<Scalars['Number']['output']>;
|
|
190
|
+
lt?: Maybe<Scalars['Number']['output']>;
|
|
191
|
+
lte?: Maybe<Scalars['Number']['output']>;
|
|
192
|
+
ne?: Maybe<Scalars['Number']['output']>;
|
|
193
|
+
};
|
|
194
|
+
export type NumberMatcherInput = {
|
|
195
|
+
btw?: InputMaybe<Array<Scalars['Number']['input']>>;
|
|
196
|
+
eq?: InputMaybe<Scalars['Number']['input']>;
|
|
197
|
+
gt?: InputMaybe<Scalars['Number']['input']>;
|
|
198
|
+
gte?: InputMaybe<Scalars['Number']['input']>;
|
|
199
|
+
lt?: InputMaybe<Scalars['Number']['input']>;
|
|
200
|
+
lte?: InputMaybe<Scalars['Number']['input']>;
|
|
201
|
+
ne?: InputMaybe<Scalars['Number']['input']>;
|
|
189
202
|
};
|
|
190
203
|
export type PageInfo = {
|
|
191
204
|
hasNext: Scalars['Boolean']['output'];
|
|
@@ -235,9 +248,30 @@ export type StartChatWidgetSessionInput = {
|
|
|
235
248
|
chatId: Scalars['ID']['input'];
|
|
236
249
|
userIdentifier: Scalars['ID']['input'];
|
|
237
250
|
};
|
|
238
|
-
export type
|
|
251
|
+
export type StringMatcher = {
|
|
252
|
+
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
253
|
+
ct?: Maybe<Scalars['String']['output']>;
|
|
254
|
+
cti?: Maybe<Scalars['String']['output']>;
|
|
255
|
+
eq?: Maybe<Scalars['String']['output']>;
|
|
256
|
+
eqi?: Maybe<Scalars['String']['output']>;
|
|
257
|
+
gt?: Maybe<Scalars['String']['output']>;
|
|
258
|
+
gte?: Maybe<Scalars['String']['output']>;
|
|
259
|
+
in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
260
|
+
lt?: Maybe<Scalars['String']['output']>;
|
|
261
|
+
lte?: Maybe<Scalars['String']['output']>;
|
|
262
|
+
ne?: Maybe<Scalars['String']['output']>;
|
|
263
|
+
};
|
|
264
|
+
export type StringMatcherInput = {
|
|
265
|
+
btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
266
|
+
ct?: InputMaybe<Scalars['String']['input']>;
|
|
267
|
+
cti?: InputMaybe<Scalars['String']['input']>;
|
|
239
268
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
240
|
-
|
|
269
|
+
eqi?: InputMaybe<Scalars['String']['input']>;
|
|
270
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
271
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
272
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
273
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
274
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
241
275
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
242
276
|
};
|
|
243
277
|
export type Subscription = {
|
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ export type Scalars = {
|
|
|
85
85
|
input: string;
|
|
86
86
|
output: string;
|
|
87
87
|
};
|
|
88
|
+
Number: {
|
|
89
|
+
input: string | number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
88
92
|
PhoneNumber: {
|
|
89
93
|
input: string;
|
|
90
94
|
output: string;
|
|
@@ -200,14 +204,23 @@ export type MutationRemoveDrozBotInstanceArgs = {
|
|
|
200
204
|
export type MutationUpdateDrozBotInstanceArgs = {
|
|
201
205
|
input: UpdateDrozBotInstanceInput;
|
|
202
206
|
};
|
|
203
|
-
export type
|
|
204
|
-
btw?:
|
|
205
|
-
eq?:
|
|
206
|
-
gt?:
|
|
207
|
-
gte?:
|
|
208
|
-
lt?:
|
|
209
|
-
lte?:
|
|
210
|
-
ne?:
|
|
207
|
+
export type NumberMatcher = {
|
|
208
|
+
btw?: Maybe<Array<Scalars['Number']['output']>>;
|
|
209
|
+
eq?: Maybe<Scalars['Number']['output']>;
|
|
210
|
+
gt?: Maybe<Scalars['Number']['output']>;
|
|
211
|
+
gte?: Maybe<Scalars['Number']['output']>;
|
|
212
|
+
lt?: Maybe<Scalars['Number']['output']>;
|
|
213
|
+
lte?: Maybe<Scalars['Number']['output']>;
|
|
214
|
+
ne?: Maybe<Scalars['Number']['output']>;
|
|
215
|
+
};
|
|
216
|
+
export type NumberMatcherInput = {
|
|
217
|
+
btw?: InputMaybe<Array<Scalars['Number']['input']>>;
|
|
218
|
+
eq?: InputMaybe<Scalars['Number']['input']>;
|
|
219
|
+
gt?: InputMaybe<Scalars['Number']['input']>;
|
|
220
|
+
gte?: InputMaybe<Scalars['Number']['input']>;
|
|
221
|
+
lt?: InputMaybe<Scalars['Number']['input']>;
|
|
222
|
+
lte?: InputMaybe<Scalars['Number']['input']>;
|
|
223
|
+
ne?: InputMaybe<Scalars['Number']['input']>;
|
|
211
224
|
};
|
|
212
225
|
export type PageInfo = {
|
|
213
226
|
hasNext: Scalars['Boolean']['output'];
|
|
@@ -247,9 +260,30 @@ export type SearchResultsStats = {
|
|
|
247
260
|
searchTime: Scalars['Float']['output'];
|
|
248
261
|
totalPages: Scalars['Float']['output'];
|
|
249
262
|
};
|
|
250
|
-
export type
|
|
263
|
+
export type StringMatcher = {
|
|
264
|
+
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
265
|
+
ct?: Maybe<Scalars['String']['output']>;
|
|
266
|
+
cti?: Maybe<Scalars['String']['output']>;
|
|
267
|
+
eq?: Maybe<Scalars['String']['output']>;
|
|
268
|
+
eqi?: Maybe<Scalars['String']['output']>;
|
|
269
|
+
gt?: Maybe<Scalars['String']['output']>;
|
|
270
|
+
gte?: Maybe<Scalars['String']['output']>;
|
|
271
|
+
in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
272
|
+
lt?: Maybe<Scalars['String']['output']>;
|
|
273
|
+
lte?: Maybe<Scalars['String']['output']>;
|
|
274
|
+
ne?: Maybe<Scalars['String']['output']>;
|
|
275
|
+
};
|
|
276
|
+
export type StringMatcherInput = {
|
|
277
|
+
btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
278
|
+
ct?: InputMaybe<Scalars['String']['input']>;
|
|
279
|
+
cti?: InputMaybe<Scalars['String']['input']>;
|
|
251
280
|
eq?: InputMaybe<Scalars['String']['input']>;
|
|
252
|
-
|
|
281
|
+
eqi?: InputMaybe<Scalars['String']['input']>;
|
|
282
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
283
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
284
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
285
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
286
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
253
287
|
ne?: InputMaybe<Scalars['String']['input']>;
|
|
254
288
|
};
|
|
255
289
|
export declare enum Typenames {
|