@droz-js/sdk 0.6.9 → 0.6.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.6.9",
4
+ "version": "0.6.11",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
@@ -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;
@@ -168,22 +172,22 @@ export type NlpOptionInput = {
168
172
  transition: Scalars['VariableName']['input'];
169
173
  };
170
174
  export type NumberMatcher = {
171
- btw?: Maybe<Array<Scalars['Float']['output']>>;
172
- eq?: Maybe<Scalars['Float']['output']>;
173
- gt?: Maybe<Scalars['Float']['output']>;
174
- gte?: Maybe<Scalars['Float']['output']>;
175
- lt?: Maybe<Scalars['Float']['output']>;
176
- lte?: Maybe<Scalars['Float']['output']>;
177
- ne?: Maybe<Scalars['Float']['output']>;
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']>;
178
182
  };
179
183
  export type NumberMatcherInput = {
180
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
181
- eq?: InputMaybe<Scalars['Float']['input']>;
182
- gt?: InputMaybe<Scalars['Float']['input']>;
183
- gte?: InputMaybe<Scalars['Float']['input']>;
184
- lt?: InputMaybe<Scalars['Float']['input']>;
185
- lte?: InputMaybe<Scalars['Float']['input']>;
186
- ne?: InputMaybe<Scalars['Float']['input']>;
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']>;
187
191
  };
188
192
  export type PageInfo = {
189
193
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -182,22 +186,22 @@ export type MutationUpdateCasasBahiaInstanceArgs = {
182
186
  input: UpdateCasasBahiaInstanceInput;
183
187
  };
184
188
  export type NumberMatcher = {
185
- btw?: Maybe<Array<Scalars['Float']['output']>>;
186
- eq?: Maybe<Scalars['Float']['output']>;
187
- gt?: Maybe<Scalars['Float']['output']>;
188
- gte?: Maybe<Scalars['Float']['output']>;
189
- lt?: Maybe<Scalars['Float']['output']>;
190
- lte?: Maybe<Scalars['Float']['output']>;
191
- ne?: Maybe<Scalars['Float']['output']>;
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']>;
192
196
  };
193
197
  export type NumberMatcherInput = {
194
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
195
- eq?: InputMaybe<Scalars['Float']['input']>;
196
- gt?: InputMaybe<Scalars['Float']['input']>;
197
- gte?: InputMaybe<Scalars['Float']['input']>;
198
- lt?: InputMaybe<Scalars['Float']['input']>;
199
- lte?: InputMaybe<Scalars['Float']['input']>;
200
- ne?: InputMaybe<Scalars['Float']['input']>;
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']>;
201
205
  };
202
206
  export type PageInfo = {
203
207
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -179,22 +183,22 @@ export type MutationUpdateChatWidgetArgs = {
179
183
  input: UpdateChatWidgetInput;
180
184
  };
181
185
  export type NumberMatcher = {
182
- btw?: Maybe<Array<Scalars['Float']['output']>>;
183
- eq?: Maybe<Scalars['Float']['output']>;
184
- gt?: Maybe<Scalars['Float']['output']>;
185
- gte?: Maybe<Scalars['Float']['output']>;
186
- lt?: Maybe<Scalars['Float']['output']>;
187
- lte?: Maybe<Scalars['Float']['output']>;
188
- ne?: Maybe<Scalars['Float']['output']>;
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']>;
189
193
  };
190
194
  export type NumberMatcherInput = {
191
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
192
- eq?: InputMaybe<Scalars['Float']['input']>;
193
- gt?: InputMaybe<Scalars['Float']['input']>;
194
- gte?: InputMaybe<Scalars['Float']['input']>;
195
- lt?: InputMaybe<Scalars['Float']['input']>;
196
- lte?: InputMaybe<Scalars['Float']['input']>;
197
- ne?: InputMaybe<Scalars['Float']['input']>;
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']>;
198
202
  };
199
203
  export type PageInfo = {
200
204
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -201,22 +205,22 @@ export type MutationUpdateDrozBotInstanceArgs = {
201
205
  input: UpdateDrozBotInstanceInput;
202
206
  };
203
207
  export type NumberMatcher = {
204
- btw?: Maybe<Array<Scalars['Float']['output']>>;
205
- eq?: Maybe<Scalars['Float']['output']>;
206
- gt?: Maybe<Scalars['Float']['output']>;
207
- gte?: Maybe<Scalars['Float']['output']>;
208
- lt?: Maybe<Scalars['Float']['output']>;
209
- lte?: Maybe<Scalars['Float']['output']>;
210
- ne?: Maybe<Scalars['Float']['output']>;
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']>;
211
215
  };
212
216
  export type NumberMatcherInput = {
213
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
214
- eq?: InputMaybe<Scalars['Float']['input']>;
215
- gt?: InputMaybe<Scalars['Float']['input']>;
216
- gte?: InputMaybe<Scalars['Float']['input']>;
217
- lt?: InputMaybe<Scalars['Float']['input']>;
218
- lte?: InputMaybe<Scalars['Float']['input']>;
219
- ne?: InputMaybe<Scalars['Float']['input']>;
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']>;
220
224
  };
221
225
  export type PageInfo = {
222
226
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -320,22 +324,22 @@ export type MutationUpdateTicketArgs = {
320
324
  input: UpdateTicketInput;
321
325
  };
322
326
  export type NumberMatcher = {
323
- btw?: Maybe<Array<Scalars['Float']['output']>>;
324
- eq?: Maybe<Scalars['Float']['output']>;
325
- gt?: Maybe<Scalars['Float']['output']>;
326
- gte?: Maybe<Scalars['Float']['output']>;
327
- lt?: Maybe<Scalars['Float']['output']>;
328
- lte?: Maybe<Scalars['Float']['output']>;
329
- ne?: Maybe<Scalars['Float']['output']>;
327
+ btw?: Maybe<Array<Scalars['Number']['output']>>;
328
+ eq?: Maybe<Scalars['Number']['output']>;
329
+ gt?: Maybe<Scalars['Number']['output']>;
330
+ gte?: Maybe<Scalars['Number']['output']>;
331
+ lt?: Maybe<Scalars['Number']['output']>;
332
+ lte?: Maybe<Scalars['Number']['output']>;
333
+ ne?: Maybe<Scalars['Number']['output']>;
330
334
  };
331
335
  export type NumberMatcherInput = {
332
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
333
- eq?: InputMaybe<Scalars['Float']['input']>;
334
- gt?: InputMaybe<Scalars['Float']['input']>;
335
- gte?: InputMaybe<Scalars['Float']['input']>;
336
- lt?: InputMaybe<Scalars['Float']['input']>;
337
- lte?: InputMaybe<Scalars['Float']['input']>;
338
- ne?: InputMaybe<Scalars['Float']['input']>;
336
+ btw?: InputMaybe<Array<Scalars['Number']['input']>>;
337
+ eq?: InputMaybe<Scalars['Number']['input']>;
338
+ gt?: InputMaybe<Scalars['Number']['input']>;
339
+ gte?: InputMaybe<Scalars['Number']['input']>;
340
+ lt?: InputMaybe<Scalars['Number']['input']>;
341
+ lte?: InputMaybe<Scalars['Number']['input']>;
342
+ ne?: InputMaybe<Scalars['Number']['input']>;
339
343
  };
340
344
  export type PageInfo = {
341
345
  hasNext: Scalars['Boolean']['output'];
@@ -384,8 +388,8 @@ export type QueryListTicketsInProgressMineArgs = {
384
388
  };
385
389
  export type QuerySearchTicketsArgs = {
386
390
  filters?: InputMaybe<Array<TicketSearchFilterInput>>;
387
- page?: InputMaybe<Scalars['Int']['input']>;
388
- perPage?: InputMaybe<Scalars['Int']['input']>;
391
+ page?: InputMaybe<Scalars['Number']['input']>;
392
+ perPage?: InputMaybe<Scalars['Number']['input']>;
389
393
  q?: InputMaybe<Scalars['String']['input']>;
390
394
  sortBy?: InputMaybe<Array<TicketSearchSortBy>>;
391
395
  };
@@ -790,8 +794,8 @@ export type SearchTicketsQueryVariables = Exact<{
790
794
  q?: InputMaybe<Scalars['String']['input']>;
791
795
  filters?: InputMaybe<Array<TicketSearchFilterInput> | TicketSearchFilterInput>;
792
796
  sortBy?: InputMaybe<Array<TicketSearchSortBy> | TicketSearchSortBy>;
793
- page?: InputMaybe<Scalars['Int']['input']>;
794
- perPage?: InputMaybe<Scalars['Int']['input']>;
797
+ page?: InputMaybe<Scalars['Number']['input']>;
798
+ perPage?: InputMaybe<Scalars['Number']['input']>;
795
799
  }>;
796
800
  export type SearchTicketsQuery = {
797
801
  searchTickets?: Maybe<{
@@ -920,7 +924,7 @@ export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n g
920
924
  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 subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 ";
921
925
  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 subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 ";
922
926
  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 ";
923
- export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Int, $perPage: Int) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 facets on TicketsSearchResultsFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AgentSearchResultsFacet {\n name\n values {\n agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
927
+ export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 facets on TicketsSearchResultsFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AgentSearchResultsFacet {\n name\n values {\n agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
924
928
  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\n fragment ticket on Ticket {\n channelId\n id\n subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 ";
925
929
  export declare const UpdateTicketDocument = "\n mutation updateTicket($input: UpdateTicketInput!) {\n updateTicket(input: $input) {\n ...ticketWithSession\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n\n fragment ticket on Ticket {\n channelId\n id\n subject\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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\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 ";
926
930
  export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
@@ -403,7 +403,7 @@ exports.ListTicketMessagesDocument = `
403
403
  }
404
404
  ${exports.TicketMessageFragmentDoc}`;
405
405
  exports.SearchTicketsDocument = `
406
- query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Int, $perPage: Int) {
406
+ query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {
407
407
  searchTickets(
408
408
  q: $q
409
409
  filters: $filters
@@ -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;
@@ -259,22 +263,22 @@ export type MutationUpdateTenantArgs = {
259
263
  input: UpdateTenantInput;
260
264
  };
261
265
  export type NumberMatcher = {
262
- btw?: Maybe<Array<Scalars['Float']['output']>>;
263
- eq?: Maybe<Scalars['Float']['output']>;
264
- gt?: Maybe<Scalars['Float']['output']>;
265
- gte?: Maybe<Scalars['Float']['output']>;
266
- lt?: Maybe<Scalars['Float']['output']>;
267
- lte?: Maybe<Scalars['Float']['output']>;
268
- ne?: Maybe<Scalars['Float']['output']>;
266
+ btw?: Maybe<Array<Scalars['Number']['output']>>;
267
+ eq?: Maybe<Scalars['Number']['output']>;
268
+ gt?: Maybe<Scalars['Number']['output']>;
269
+ gte?: Maybe<Scalars['Number']['output']>;
270
+ lt?: Maybe<Scalars['Number']['output']>;
271
+ lte?: Maybe<Scalars['Number']['output']>;
272
+ ne?: Maybe<Scalars['Number']['output']>;
269
273
  };
270
274
  export type NumberMatcherInput = {
271
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
272
- eq?: InputMaybe<Scalars['Float']['input']>;
273
- gt?: InputMaybe<Scalars['Float']['input']>;
274
- gte?: InputMaybe<Scalars['Float']['input']>;
275
- lt?: InputMaybe<Scalars['Float']['input']>;
276
- lte?: InputMaybe<Scalars['Float']['input']>;
277
- ne?: InputMaybe<Scalars['Float']['input']>;
275
+ btw?: InputMaybe<Array<Scalars['Number']['input']>>;
276
+ eq?: InputMaybe<Scalars['Number']['input']>;
277
+ gt?: InputMaybe<Scalars['Number']['input']>;
278
+ gte?: InputMaybe<Scalars['Number']['input']>;
279
+ lt?: InputMaybe<Scalars['Number']['input']>;
280
+ lte?: InputMaybe<Scalars['Number']['input']>;
281
+ ne?: InputMaybe<Scalars['Number']['input']>;
278
282
  };
279
283
  export type PageInfo = {
280
284
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -249,22 +253,22 @@ export type NodeInput = {
249
253
  uidata?: InputMaybe<Scalars['JSON']['input']>;
250
254
  };
251
255
  export type NumberMatcher = {
252
- btw?: Maybe<Array<Scalars['Float']['output']>>;
253
- eq?: Maybe<Scalars['Float']['output']>;
254
- gt?: Maybe<Scalars['Float']['output']>;
255
- gte?: Maybe<Scalars['Float']['output']>;
256
- lt?: Maybe<Scalars['Float']['output']>;
257
- lte?: Maybe<Scalars['Float']['output']>;
258
- ne?: Maybe<Scalars['Float']['output']>;
256
+ btw?: Maybe<Array<Scalars['Number']['output']>>;
257
+ eq?: Maybe<Scalars['Number']['output']>;
258
+ gt?: Maybe<Scalars['Number']['output']>;
259
+ gte?: Maybe<Scalars['Number']['output']>;
260
+ lt?: Maybe<Scalars['Number']['output']>;
261
+ lte?: Maybe<Scalars['Number']['output']>;
262
+ ne?: Maybe<Scalars['Number']['output']>;
259
263
  };
260
264
  export type NumberMatcherInput = {
261
- btw?: InputMaybe<Array<Scalars['Float']['input']>>;
262
- eq?: InputMaybe<Scalars['Float']['input']>;
263
- gt?: InputMaybe<Scalars['Float']['input']>;
264
- gte?: InputMaybe<Scalars['Float']['input']>;
265
- lt?: InputMaybe<Scalars['Float']['input']>;
266
- lte?: InputMaybe<Scalars['Float']['input']>;
267
- ne?: InputMaybe<Scalars['Float']['input']>;
265
+ btw?: InputMaybe<Array<Scalars['Number']['input']>>;
266
+ eq?: InputMaybe<Scalars['Number']['input']>;
267
+ gt?: InputMaybe<Scalars['Number']['input']>;
268
+ gte?: InputMaybe<Scalars['Number']['input']>;
269
+ lt?: InputMaybe<Scalars['Number']['input']>;
270
+ lte?: InputMaybe<Scalars['Number']['input']>;
271
+ ne?: InputMaybe<Scalars['Number']['input']>;
268
272
  };
269
273
  export type PageInfo = {
270
274
  hasNext: Scalars['Boolean']['output'];
@@ -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;
@@ -150,22 +154,22 @@ export type Mutation = {
150
154
  version?: Maybe<Scalars['String']['output']>;
151
155
  };
152
156
  export type NumberMatcher = {
153
- btw?: Maybe<Array<Scalars['Float']['output']>>;
154
- eq?: Maybe<Scalars['Float']['output']>;
155
- gt?: Maybe<Scalars['Float']['output']>;
156
- gte?: Maybe<Scalars['Float']['output']>;
157
- lt?: Maybe<Scalars['Float']['output']>;
158
- lte?: Maybe<Scalars['Float']['output']>;
159
- ne?: Maybe<Scalars['Float']['output']>;
157
+ btw?: Maybe<Array<Scalars['Number']['output']>>;
158
+ eq?: Maybe<Scalars['Number']['output']>;
159
+ gt?: Maybe<Scalars['Number']['output']>;
160
+ gte?: Maybe<Scalars['Number']['output']>;
161
+ lt?: Maybe<Scalars['Number']['output']>;
162
+ lte?: Maybe<Scalars['Number']['output']>;
163
+ ne?: Maybe<Scalars['Number']['output']>;
160
164
  };
161
165
  export type NumberMatcherInput = {
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']>;
166
+ btw?: InputMaybe<Array<Scalars['Number']['input']>>;
167
+ eq?: InputMaybe<Scalars['Number']['input']>;
168
+ gt?: InputMaybe<Scalars['Number']['input']>;
169
+ gte?: InputMaybe<Scalars['Number']['input']>;
170
+ lt?: InputMaybe<Scalars['Number']['input']>;
171
+ lte?: InputMaybe<Scalars['Number']['input']>;
172
+ ne?: InputMaybe<Scalars['Number']['input']>;
169
173
  };
170
174
  export type PageInfo = {
171
175
  hasNext: Scalars['Boolean']['output'];