@droz-js/sdk 0.5.18 → 0.5.19
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 +6 -0
- package/src/drozchat.d.ts +6 -0
- package/src/sdks/casasbahia.d.ts +34 -0
- package/src/sdks/chatwidget.d.ts +34 -0
- package/src/sdks/drozbot.d.ts +34 -0
- package/src/sdks/drozchat.d.ts +75 -0
- package/src/sdks/drozchat.js +31 -1
- package/src/sdks/drozcommons.d.ts +34 -0
- package/src/sdks/droznexo.d.ts +34 -0
- package/src/sdks/nucleus.d.ts +34 -0
- package/src/sdks/reclameaqui.d.ts +34 -0
- package/src/sdks/zendesk.d.ts +34 -0
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -56,6 +56,12 @@ export declare const DrozChatWs: new () => {
|
|
|
56
56
|
channelId: string;
|
|
57
57
|
next?: object;
|
|
58
58
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
|
|
59
|
+
searchTickets(variables?: import("./sdks/drozchat").Exact<{
|
|
60
|
+
q?: string;
|
|
61
|
+
filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
|
|
62
|
+
sortBy?: string | string[];
|
|
63
|
+
page?: number;
|
|
64
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
|
|
59
65
|
createTicket(variables: import("./sdks/drozchat").Exact<{
|
|
60
66
|
input: import("./sdks/drozchat").CreateTicketInput;
|
|
61
67
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMutation>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -59,6 +59,12 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
59
59
|
channelId: string;
|
|
60
60
|
next?: object;
|
|
61
61
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
|
|
62
|
+
searchTickets(variables?: import("./sdks/drozchat").Exact<{
|
|
63
|
+
q?: string;
|
|
64
|
+
filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
|
|
65
|
+
sortBy?: string | string[];
|
|
66
|
+
page?: number;
|
|
67
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
|
|
62
68
|
createTicket(variables: import("./sdks/drozchat").Exact<{
|
|
63
69
|
input: import("./sdks/drozchat").CreateTicketInput;
|
|
64
70
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMutation>;
|
package/src/sdks/casasbahia.d.ts
CHANGED
|
@@ -139,6 +139,15 @@ export type MutationRemoveCasasBahiaInstanceArgs = {
|
|
|
139
139
|
export type MutationUpdateCasasBahiaInstanceArgs = {
|
|
140
140
|
input: UpdateCasasBahiaInstanceInput;
|
|
141
141
|
};
|
|
142
|
+
export type NumberFilterInput = {
|
|
143
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
144
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
145
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
146
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
147
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
148
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
149
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
150
|
+
};
|
|
142
151
|
export type PageInfo = {
|
|
143
152
|
hasNext: Scalars['Boolean']['output'];
|
|
144
153
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -160,6 +169,26 @@ export type QueryListAvailableSolutionsArgs = {
|
|
|
160
169
|
export type RemoveCasasBahiaInstanceInput = {
|
|
161
170
|
id: Scalars['ID']['input'];
|
|
162
171
|
};
|
|
172
|
+
export type SearchResultsFacet = {
|
|
173
|
+
name: Scalars['String']['output'];
|
|
174
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
175
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
176
|
+
};
|
|
177
|
+
export type SearchResultsFacetStats = {
|
|
178
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
179
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
180
|
+
};
|
|
181
|
+
export type SearchResultsFacetValue = {
|
|
182
|
+
count: Scalars['Float']['output'];
|
|
183
|
+
value: Scalars['String']['output'];
|
|
184
|
+
};
|
|
185
|
+
export type SearchResultsStats = {
|
|
186
|
+
found: Scalars['Float']['output'];
|
|
187
|
+
page: Scalars['Float']['output'];
|
|
188
|
+
perPage: Scalars['Float']['output'];
|
|
189
|
+
searchTime: Scalars['Float']['output'];
|
|
190
|
+
totalPages: Scalars['Float']['output'];
|
|
191
|
+
};
|
|
163
192
|
export type SolutionField = {
|
|
164
193
|
format?: Maybe<Scalars['String']['output']>;
|
|
165
194
|
minLength?: Maybe<Scalars['Int']['output']>;
|
|
@@ -177,6 +206,11 @@ export type Solutions = {
|
|
|
177
206
|
id: Scalars['Int']['output'];
|
|
178
207
|
name: Scalars['String']['output'];
|
|
179
208
|
};
|
|
209
|
+
export type StringFilterInput = {
|
|
210
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
211
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
212
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
213
|
+
};
|
|
180
214
|
export declare enum Typenames {
|
|
181
215
|
Any = "Any",
|
|
182
216
|
CasasBahiaInstance = "CasasBahiaInstance",
|
package/src/sdks/chatwidget.d.ts
CHANGED
|
@@ -136,6 +136,15 @@ export type MutationStartChatWidgetSessionArgs = {
|
|
|
136
136
|
export type MutationUpdateChatWidgetArgs = {
|
|
137
137
|
input: UpdateChatWidgetInput;
|
|
138
138
|
};
|
|
139
|
+
export type NumberFilterInput = {
|
|
140
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
141
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
142
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
143
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
144
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
145
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
146
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
147
|
+
};
|
|
139
148
|
export type PageInfo = {
|
|
140
149
|
hasNext: Scalars['Boolean']['output'];
|
|
141
150
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -154,6 +163,26 @@ export type QueryGetChatWidgetArgs = {
|
|
|
154
163
|
export type RemoveChatWidgetInput = {
|
|
155
164
|
id: Scalars['ID']['input'];
|
|
156
165
|
};
|
|
166
|
+
export type SearchResultsFacet = {
|
|
167
|
+
name: Scalars['String']['output'];
|
|
168
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
169
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
170
|
+
};
|
|
171
|
+
export type SearchResultsFacetStats = {
|
|
172
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
173
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
174
|
+
};
|
|
175
|
+
export type SearchResultsFacetValue = {
|
|
176
|
+
count: Scalars['Float']['output'];
|
|
177
|
+
value: Scalars['String']['output'];
|
|
178
|
+
};
|
|
179
|
+
export type SearchResultsStats = {
|
|
180
|
+
found: Scalars['Float']['output'];
|
|
181
|
+
page: Scalars['Float']['output'];
|
|
182
|
+
perPage: Scalars['Float']['output'];
|
|
183
|
+
searchTime: Scalars['Float']['output'];
|
|
184
|
+
totalPages: Scalars['Float']['output'];
|
|
185
|
+
};
|
|
157
186
|
export type SendMessageToChatWidgetInput = {
|
|
158
187
|
content: Scalars['String']['input'];
|
|
159
188
|
contentType: Scalars['String']['input'];
|
|
@@ -163,6 +192,11 @@ export type StartChatWidgetSessionInput = {
|
|
|
163
192
|
chatId: Scalars['ID']['input'];
|
|
164
193
|
userIdentifier: Scalars['ID']['input'];
|
|
165
194
|
};
|
|
195
|
+
export type StringFilterInput = {
|
|
196
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
197
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
198
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
199
|
+
};
|
|
166
200
|
export type Subscription = {
|
|
167
201
|
onChatWidgetMessage: ChatWidgetMessage;
|
|
168
202
|
version?: Maybe<Scalars['String']['output']>;
|
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -158,6 +158,15 @@ export type MutationRemoveDrozBotInstanceArgs = {
|
|
|
158
158
|
export type MutationUpdateDrozBotInstanceArgs = {
|
|
159
159
|
input: UpdateDrozBotInstanceInput;
|
|
160
160
|
};
|
|
161
|
+
export type NumberFilterInput = {
|
|
162
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
163
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
164
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
165
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
166
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
167
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
168
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
169
|
+
};
|
|
161
170
|
export type PageInfo = {
|
|
162
171
|
hasNext: Scalars['Boolean']['output'];
|
|
163
172
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -175,6 +184,31 @@ export type QueryGetDrozBotInstanceArgs = {
|
|
|
175
184
|
export type RemoveDrozBotInstanceInput = {
|
|
176
185
|
id: Scalars['ID']['input'];
|
|
177
186
|
};
|
|
187
|
+
export type SearchResultsFacet = {
|
|
188
|
+
name: Scalars['String']['output'];
|
|
189
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
190
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
191
|
+
};
|
|
192
|
+
export type SearchResultsFacetStats = {
|
|
193
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
194
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
195
|
+
};
|
|
196
|
+
export type SearchResultsFacetValue = {
|
|
197
|
+
count: Scalars['Float']['output'];
|
|
198
|
+
value: Scalars['String']['output'];
|
|
199
|
+
};
|
|
200
|
+
export type SearchResultsStats = {
|
|
201
|
+
found: Scalars['Float']['output'];
|
|
202
|
+
page: Scalars['Float']['output'];
|
|
203
|
+
perPage: Scalars['Float']['output'];
|
|
204
|
+
searchTime: Scalars['Float']['output'];
|
|
205
|
+
totalPages: Scalars['Float']['output'];
|
|
206
|
+
};
|
|
207
|
+
export type StringFilterInput = {
|
|
208
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
209
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
210
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
211
|
+
};
|
|
178
212
|
export declare enum Typenames {
|
|
179
213
|
Any = "Any",
|
|
180
214
|
DrozBotInstance = "DrozBotInstance",
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -245,6 +245,15 @@ export type MutationUnassignTicketArgs = {
|
|
|
245
245
|
export type MutationUpdateDrozChatChannelArgs = {
|
|
246
246
|
input: UpdateDrozChatChannelInput;
|
|
247
247
|
};
|
|
248
|
+
export type NumberFilterInput = {
|
|
249
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
250
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
251
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
252
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
253
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
254
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
255
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
256
|
+
};
|
|
248
257
|
export type PageInfo = {
|
|
249
258
|
hasNext: Scalars['Boolean']['output'];
|
|
250
259
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -261,6 +270,7 @@ export type Query = {
|
|
|
261
270
|
listTicketMessages: TicketMessagesConnection;
|
|
262
271
|
listTickets: TicketsConnection;
|
|
263
272
|
listTicketsInProgressMine: TicketsConnection;
|
|
273
|
+
searchTickets?: Maybe<TicketsSearchResults>;
|
|
264
274
|
version?: Maybe<Scalars['String']['output']>;
|
|
265
275
|
};
|
|
266
276
|
export type QueryGetDrozChatChannelArgs = {
|
|
@@ -289,6 +299,12 @@ export type QueryListTicketsArgs = {
|
|
|
289
299
|
export type QueryListTicketsInProgressMineArgs = {
|
|
290
300
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
291
301
|
};
|
|
302
|
+
export type QuerySearchTicketsArgs = {
|
|
303
|
+
filters?: InputMaybe<Array<TicketSearchFilterInput>>;
|
|
304
|
+
page?: InputMaybe<Scalars['Float']['input']>;
|
|
305
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
306
|
+
sortBy?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
307
|
+
};
|
|
292
308
|
export type RemoveDrozChatChannelAgentInput = {
|
|
293
309
|
agentId: Scalars['ID']['input'];
|
|
294
310
|
channelId: Scalars['ID']['input'];
|
|
@@ -297,6 +313,31 @@ export type RemoveTagsFromTicketInput = {
|
|
|
297
313
|
tags: Array<Scalars['String']['input']>;
|
|
298
314
|
ticketId: Scalars['ID']['input'];
|
|
299
315
|
};
|
|
316
|
+
export type SearchResultsFacet = {
|
|
317
|
+
name: Scalars['String']['output'];
|
|
318
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
319
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
320
|
+
};
|
|
321
|
+
export type SearchResultsFacetStats = {
|
|
322
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
323
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
324
|
+
};
|
|
325
|
+
export type SearchResultsFacetValue = {
|
|
326
|
+
count: Scalars['Float']['output'];
|
|
327
|
+
value: Scalars['String']['output'];
|
|
328
|
+
};
|
|
329
|
+
export type SearchResultsStats = {
|
|
330
|
+
found: Scalars['Float']['output'];
|
|
331
|
+
page: Scalars['Float']['output'];
|
|
332
|
+
perPage: Scalars['Float']['output'];
|
|
333
|
+
searchTime: Scalars['Float']['output'];
|
|
334
|
+
totalPages: Scalars['Float']['output'];
|
|
335
|
+
};
|
|
336
|
+
export type StringFilterInput = {
|
|
337
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
338
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
339
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
340
|
+
};
|
|
300
341
|
export type Subscription = {
|
|
301
342
|
onTicketByState: TicketSubscription;
|
|
302
343
|
onTicketInProgressMine: TicketSubscription;
|
|
@@ -387,6 +428,17 @@ export declare enum TicketPriority {
|
|
|
387
428
|
Medium = "MEDIUM",
|
|
388
429
|
Urgent = "URGENT"
|
|
389
430
|
}
|
|
431
|
+
export type TicketSearchFilterInput = {
|
|
432
|
+
AND?: InputMaybe<Array<TicketSearchFilterInput>>;
|
|
433
|
+
OR?: InputMaybe<Array<TicketSearchFilterInput>>;
|
|
434
|
+
assigneeId?: InputMaybe<StringFilterInput>;
|
|
435
|
+
channelId?: InputMaybe<StringFilterInput>;
|
|
436
|
+
createdAt?: InputMaybe<NumberFilterInput>;
|
|
437
|
+
priority?: InputMaybe<StringFilterInput>;
|
|
438
|
+
state?: InputMaybe<StringFilterInput>;
|
|
439
|
+
status?: InputMaybe<StringFilterInput>;
|
|
440
|
+
tags?: InputMaybe<StringFilterInput>;
|
|
441
|
+
};
|
|
390
442
|
export type TicketSessionAttributes = {
|
|
391
443
|
order?: Maybe<Scalars['JSON']['output']>;
|
|
392
444
|
organization?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -435,6 +487,11 @@ export type TicketsConnection = {
|
|
|
435
487
|
nodes: Array<Ticket>;
|
|
436
488
|
pageInfo: PageInfo;
|
|
437
489
|
};
|
|
490
|
+
export type TicketsSearchResults = {
|
|
491
|
+
facets: Array<SearchResultsFacet>;
|
|
492
|
+
nodes: Array<Ticket>;
|
|
493
|
+
stats: SearchResultsStats;
|
|
494
|
+
};
|
|
438
495
|
export type TransferTicketToChannelInput = {
|
|
439
496
|
channelId: Scalars['ID']['input'];
|
|
440
497
|
ticketId: Scalars['ID']['input'];
|
|
@@ -589,6 +646,22 @@ export type ListTicketMessagesQuery = {
|
|
|
589
646
|
nodes: Array<TicketMessageFragment>;
|
|
590
647
|
};
|
|
591
648
|
};
|
|
649
|
+
export type SearchTicketsQueryVariables = Exact<{
|
|
650
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
651
|
+
filters?: InputMaybe<Array<TicketSearchFilterInput> | TicketSearchFilterInput>;
|
|
652
|
+
sortBy?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
653
|
+
page?: InputMaybe<Scalars['Float']['input']>;
|
|
654
|
+
}>;
|
|
655
|
+
export type SearchTicketsQuery = {
|
|
656
|
+
searchTickets?: Maybe<{
|
|
657
|
+
nodes: Array<TicketFragment>;
|
|
658
|
+
stats: Pick<SearchResultsStats, 'found' | 'page' | 'perPage' | 'totalPages' | 'searchTime'>;
|
|
659
|
+
facets: Array<(Pick<SearchResultsFacet, 'name'> & {
|
|
660
|
+
values?: Maybe<Array<Pick<SearchResultsFacetValue, 'value' | 'count'>>>;
|
|
661
|
+
stats?: Maybe<Pick<SearchResultsFacetStats, 'min' | 'max'>>;
|
|
662
|
+
})>;
|
|
663
|
+
}>;
|
|
664
|
+
};
|
|
592
665
|
export type CreateTicketMutationVariables = Exact<{
|
|
593
666
|
input: CreateTicketInput;
|
|
594
667
|
}>;
|
|
@@ -702,6 +775,7 @@ export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n g
|
|
|
702
775
|
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
703
776
|
export declare const ListTicketsInProgressMineDocument = "\n query listTicketsInProgressMine($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
704
777
|
export declare const ListTicketMessagesDocument = "\n query listTicketMessages($ticketId: ID!, $channelId: ID!, $next: Base64) {\n listTicketMessages(ticketId: $ticketId, channelId: $channelId, next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...ticketMessage\n }\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
778
|
+
export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [String!], $page: Float) {\n searchTickets(q: $q, filters: $filters, sortBy: $sortBy, page: $page) {\n nodes {\n ...ticket\n }\n stats {\n found\n page\n perPage\n totalPages\n searchTime\n }\n facets {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
705
779
|
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticketWithSession\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
706
780
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
707
781
|
export declare const CreateTicketMessageDocument = "\n mutation createTicketMessage($input: CreateTicketMessageInput!) {\n createTicketMessage(input: $input) {\n ...ticketMessage\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
@@ -734,6 +808,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
734
808
|
listTickets(variables: ListTicketsQueryVariables, options?: C): Promise<ListTicketsQuery>;
|
|
735
809
|
listTicketsInProgressMine(variables?: ListTicketsInProgressMineQueryVariables, options?: C): Promise<ListTicketsInProgressMineQuery>;
|
|
736
810
|
listTicketMessages(variables: ListTicketMessagesQueryVariables, options?: C): Promise<ListTicketMessagesQuery>;
|
|
811
|
+
searchTickets(variables?: SearchTicketsQueryVariables, options?: C): Promise<SearchTicketsQuery>;
|
|
737
812
|
createTicket(variables: CreateTicketMutationVariables, options?: C): Promise<CreateTicketMutation>;
|
|
738
813
|
markTicketMessagesAsRead(variables: MarkTicketMessagesAsReadMutationVariables, options?: C): Promise<MarkTicketMessagesAsReadMutation>;
|
|
739
814
|
createTicketMessage(variables: CreateTicketMessageMutationVariables, options?: C): Promise<CreateTicketMessageMutation>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -319,6 +319,33 @@ exports.ListTicketMessagesDocument = `
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
${exports.TicketMessageFragmentDoc}`;
|
|
322
|
+
exports.SearchTicketsDocument = `
|
|
323
|
+
query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [String!], $page: Float) {
|
|
324
|
+
searchTickets(q: $q, filters: $filters, sortBy: $sortBy, page: $page) {
|
|
325
|
+
nodes {
|
|
326
|
+
...ticket
|
|
327
|
+
}
|
|
328
|
+
stats {
|
|
329
|
+
found
|
|
330
|
+
page
|
|
331
|
+
perPage
|
|
332
|
+
totalPages
|
|
333
|
+
searchTime
|
|
334
|
+
}
|
|
335
|
+
facets {
|
|
336
|
+
name
|
|
337
|
+
values {
|
|
338
|
+
value
|
|
339
|
+
count
|
|
340
|
+
}
|
|
341
|
+
stats {
|
|
342
|
+
min
|
|
343
|
+
max
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
${exports.TicketFragmentDoc}`;
|
|
322
349
|
exports.CreateTicketDocument = `
|
|
323
350
|
mutation createTicket($input: CreateTicketInput!) {
|
|
324
351
|
createTicket(input: $input) {
|
|
@@ -474,6 +501,9 @@ function getSdk(requester) {
|
|
|
474
501
|
listTicketMessages(variables, options) {
|
|
475
502
|
return requester(exports.ListTicketMessagesDocument, variables, options);
|
|
476
503
|
},
|
|
504
|
+
searchTickets(variables, options) {
|
|
505
|
+
return requester(exports.SearchTicketsDocument, variables, options);
|
|
506
|
+
},
|
|
477
507
|
createTicket(variables, options) {
|
|
478
508
|
return requester(exports.CreateTicketDocument, variables, options);
|
|
479
509
|
},
|
|
@@ -211,6 +211,15 @@ export type MutationUpdateAccountParametersArgs = {
|
|
|
211
211
|
export type MutationUpdateTenantArgs = {
|
|
212
212
|
input: UpdateTenantInput;
|
|
213
213
|
};
|
|
214
|
+
export type NumberFilterInput = {
|
|
215
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
216
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
217
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
218
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
219
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
220
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
221
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
222
|
+
};
|
|
214
223
|
export type PageInfo = {
|
|
215
224
|
hasNext: Scalars['Boolean']['output'];
|
|
216
225
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -269,6 +278,26 @@ export type Region = {
|
|
|
269
278
|
export type RemoveTenantInput = {
|
|
270
279
|
tenantId: Scalars['ID']['input'];
|
|
271
280
|
};
|
|
281
|
+
export type SearchResultsFacet = {
|
|
282
|
+
name: Scalars['String']['output'];
|
|
283
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
284
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
285
|
+
};
|
|
286
|
+
export type SearchResultsFacetStats = {
|
|
287
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
288
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
289
|
+
};
|
|
290
|
+
export type SearchResultsFacetValue = {
|
|
291
|
+
count: Scalars['Float']['output'];
|
|
292
|
+
value: Scalars['String']['output'];
|
|
293
|
+
};
|
|
294
|
+
export type SearchResultsStats = {
|
|
295
|
+
found: Scalars['Float']['output'];
|
|
296
|
+
page: Scalars['Float']['output'];
|
|
297
|
+
perPage: Scalars['Float']['output'];
|
|
298
|
+
searchTime: Scalars['Float']['output'];
|
|
299
|
+
totalPages: Scalars['Float']['output'];
|
|
300
|
+
};
|
|
272
301
|
export type Service = {
|
|
273
302
|
accountId: Scalars['ID']['output'];
|
|
274
303
|
endpoint: Scalars['String']['output'];
|
|
@@ -276,6 +305,11 @@ export type Service = {
|
|
|
276
305
|
tenantId: Scalars['ID']['output'];
|
|
277
306
|
type: Scalars['String']['output'];
|
|
278
307
|
};
|
|
308
|
+
export type StringFilterInput = {
|
|
309
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
310
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
311
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
312
|
+
};
|
|
279
313
|
export type Tenant = {
|
|
280
314
|
account: AwsAccount;
|
|
281
315
|
accountId: Scalars['ID']['output'];
|
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -147,6 +147,15 @@ export type MutationCreateDrozNexoConnectionArgs = {
|
|
|
147
147
|
export type MutationRemoveDrozNexoConnectionArgs = {
|
|
148
148
|
input: RemoveDrozNexoConnectionInput;
|
|
149
149
|
};
|
|
150
|
+
export type NumberFilterInput = {
|
|
151
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
152
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
153
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
154
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
155
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
156
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
157
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
158
|
+
};
|
|
150
159
|
export type PageInfo = {
|
|
151
160
|
hasNext: Scalars['Boolean']['output'];
|
|
152
161
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -166,6 +175,31 @@ export type RemoveDrozNexoConnectionInput = {
|
|
|
166
175
|
id: Scalars['ID']['input'];
|
|
167
176
|
versionId: Scalars['ID']['input'];
|
|
168
177
|
};
|
|
178
|
+
export type SearchResultsFacet = {
|
|
179
|
+
name: Scalars['String']['output'];
|
|
180
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
181
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
182
|
+
};
|
|
183
|
+
export type SearchResultsFacetStats = {
|
|
184
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
185
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
186
|
+
};
|
|
187
|
+
export type SearchResultsFacetValue = {
|
|
188
|
+
count: Scalars['Float']['output'];
|
|
189
|
+
value: Scalars['String']['output'];
|
|
190
|
+
};
|
|
191
|
+
export type SearchResultsStats = {
|
|
192
|
+
found: Scalars['Float']['output'];
|
|
193
|
+
page: Scalars['Float']['output'];
|
|
194
|
+
perPage: Scalars['Float']['output'];
|
|
195
|
+
searchTime: Scalars['Float']['output'];
|
|
196
|
+
totalPages: Scalars['Float']['output'];
|
|
197
|
+
};
|
|
198
|
+
export type StringFilterInput = {
|
|
199
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
200
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
201
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
202
|
+
};
|
|
169
203
|
export declare enum Typenames {
|
|
170
204
|
Any = "Any",
|
|
171
205
|
GraphqlConnections = "GraphqlConnections",
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -419,6 +419,15 @@ export type MutationUpdateStateMachineConfigArgs = {
|
|
|
419
419
|
export type MutationUpdateStateMachineConfigStateArgs = {
|
|
420
420
|
input: UpdateStateMachineConfigStateInput;
|
|
421
421
|
};
|
|
422
|
+
export type NumberFilterInput = {
|
|
423
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
424
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
425
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
426
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
427
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
428
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
429
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
430
|
+
};
|
|
422
431
|
export type OAuth2Credentials = {
|
|
423
432
|
clientId: Scalars['String']['output'];
|
|
424
433
|
clientSecret: Scalars['String']['output'];
|
|
@@ -623,6 +632,26 @@ export type SafeCredentials = ICredentials & {
|
|
|
623
632
|
type: CredentialsType;
|
|
624
633
|
updatedAt: Scalars['DateTime']['output'];
|
|
625
634
|
};
|
|
635
|
+
export type SearchResultsFacet = {
|
|
636
|
+
name: Scalars['String']['output'];
|
|
637
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
638
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
639
|
+
};
|
|
640
|
+
export type SearchResultsFacetStats = {
|
|
641
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
642
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
643
|
+
};
|
|
644
|
+
export type SearchResultsFacetValue = {
|
|
645
|
+
count: Scalars['Float']['output'];
|
|
646
|
+
value: Scalars['String']['output'];
|
|
647
|
+
};
|
|
648
|
+
export type SearchResultsStats = {
|
|
649
|
+
found: Scalars['Float']['output'];
|
|
650
|
+
page: Scalars['Float']['output'];
|
|
651
|
+
perPage: Scalars['Float']['output'];
|
|
652
|
+
searchTime: Scalars['Float']['output'];
|
|
653
|
+
totalPages: Scalars['Float']['output'];
|
|
654
|
+
};
|
|
626
655
|
export type SecureCronJob = {
|
|
627
656
|
appId: Scalars['ID']['output'];
|
|
628
657
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -699,6 +728,11 @@ export type Storage = {
|
|
|
699
728
|
updatedAt: Scalars['DateTime']['output'];
|
|
700
729
|
versionId: Scalars['String']['output'];
|
|
701
730
|
};
|
|
731
|
+
export type StringFilterInput = {
|
|
732
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
733
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
734
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
735
|
+
};
|
|
702
736
|
export declare enum Typenames {
|
|
703
737
|
Agents = "Agents",
|
|
704
738
|
Any = "Any",
|
|
@@ -130,6 +130,15 @@ export type MutationSendReclameAquiModerationRequestArgs = {
|
|
|
130
130
|
export type MutationUpdateReclameAquiInstanceArgs = {
|
|
131
131
|
input: UpdateReclameAquiInstanceInput;
|
|
132
132
|
};
|
|
133
|
+
export type NumberFilterInput = {
|
|
134
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
135
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
136
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
137
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
138
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
139
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
140
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
141
|
+
};
|
|
133
142
|
export type PageInfo = {
|
|
134
143
|
hasNext: Scalars['Boolean']['output'];
|
|
135
144
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -191,12 +200,37 @@ export type RemoveReclameAquiInstanceInput = {
|
|
|
191
200
|
export type RequestReclameAquiTicketEvaluationInput = {
|
|
192
201
|
sessionId: Scalars['ID']['input'];
|
|
193
202
|
};
|
|
203
|
+
export type SearchResultsFacet = {
|
|
204
|
+
name: Scalars['String']['output'];
|
|
205
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
206
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
207
|
+
};
|
|
208
|
+
export type SearchResultsFacetStats = {
|
|
209
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
210
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
211
|
+
};
|
|
212
|
+
export type SearchResultsFacetValue = {
|
|
213
|
+
count: Scalars['Float']['output'];
|
|
214
|
+
value: Scalars['String']['output'];
|
|
215
|
+
};
|
|
216
|
+
export type SearchResultsStats = {
|
|
217
|
+
found: Scalars['Float']['output'];
|
|
218
|
+
page: Scalars['Float']['output'];
|
|
219
|
+
perPage: Scalars['Float']['output'];
|
|
220
|
+
searchTime: Scalars['Float']['output'];
|
|
221
|
+
totalPages: Scalars['Float']['output'];
|
|
222
|
+
};
|
|
194
223
|
export type SendReclameAquiModerationRequestInput = {
|
|
195
224
|
moderationAttachmentUrl?: InputMaybe<Scalars['String']['input']>;
|
|
196
225
|
moderationReasonCode: Scalars['ID']['input'];
|
|
197
226
|
moderationReasonDescription: Scalars['String']['input'];
|
|
198
227
|
sessionId: Scalars['ID']['input'];
|
|
199
228
|
};
|
|
229
|
+
export type StringFilterInput = {
|
|
230
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
231
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
232
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
233
|
+
};
|
|
200
234
|
export declare enum Typenames {
|
|
201
235
|
Any = "Any",
|
|
202
236
|
GraphqlConnections = "GraphqlConnections",
|
package/src/sdks/zendesk.d.ts
CHANGED
|
@@ -118,6 +118,15 @@ export type MutationUpdateZendeskInstanceArgs = {
|
|
|
118
118
|
export type MutationValidateZendeskInstanceArgs = {
|
|
119
119
|
input: ValidateZendeskInstanceInput;
|
|
120
120
|
};
|
|
121
|
+
export type NumberFilterInput = {
|
|
122
|
+
btw?: InputMaybe<Array<Scalars['Float']['input']>>;
|
|
123
|
+
eq?: InputMaybe<Scalars['Float']['input']>;
|
|
124
|
+
gt?: InputMaybe<Scalars['Float']['input']>;
|
|
125
|
+
gte?: InputMaybe<Scalars['Float']['input']>;
|
|
126
|
+
lt?: InputMaybe<Scalars['Float']['input']>;
|
|
127
|
+
lte?: InputMaybe<Scalars['Float']['input']>;
|
|
128
|
+
ne?: InputMaybe<Scalars['Float']['input']>;
|
|
129
|
+
};
|
|
121
130
|
export type PageInfo = {
|
|
122
131
|
hasNext: Scalars['Boolean']['output'];
|
|
123
132
|
next?: Maybe<Scalars['Base64']['output']>;
|
|
@@ -154,6 +163,31 @@ export type QueryListZendeskTicketCustomFieldsArgs = {
|
|
|
154
163
|
export type RemoveZendeskInstanceInput = {
|
|
155
164
|
id: Scalars['ID']['input'];
|
|
156
165
|
};
|
|
166
|
+
export type SearchResultsFacet = {
|
|
167
|
+
name: Scalars['String']['output'];
|
|
168
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
169
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
170
|
+
};
|
|
171
|
+
export type SearchResultsFacetStats = {
|
|
172
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
173
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
174
|
+
};
|
|
175
|
+
export type SearchResultsFacetValue = {
|
|
176
|
+
count: Scalars['Float']['output'];
|
|
177
|
+
value: Scalars['String']['output'];
|
|
178
|
+
};
|
|
179
|
+
export type SearchResultsStats = {
|
|
180
|
+
found: Scalars['Float']['output'];
|
|
181
|
+
page: Scalars['Float']['output'];
|
|
182
|
+
perPage: Scalars['Float']['output'];
|
|
183
|
+
searchTime: Scalars['Float']['output'];
|
|
184
|
+
totalPages: Scalars['Float']['output'];
|
|
185
|
+
};
|
|
186
|
+
export type StringFilterInput = {
|
|
187
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
188
|
+
in?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
189
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
190
|
+
};
|
|
157
191
|
export type TriggerApp = {
|
|
158
192
|
description?: Maybe<Scalars['String']['output']>;
|
|
159
193
|
id: Scalars['ID']['output'];
|