@droz-js/sdk 0.5.2 → 0.5.3
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 -12
- package/src/drozchat.d.ts +6 -12
- package/src/sdks/drozchat.d.ts +22 -52
- package/src/sdks/drozchat.js +16 -51
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare const DrozChatWs: new () => {
|
|
|
9
9
|
listDrozChatChannels(variables?: import("./sdks/drozchat").Exact<{
|
|
10
10
|
[key: string]: never;
|
|
11
11
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListDrozChatChannelsQuery>;
|
|
12
|
+
listDrozChatAgentChannels(variables: import("./sdks/drozchat").Exact<{
|
|
13
|
+
agentId: string;
|
|
14
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListDrozChatAgentChannelsQuery>;
|
|
12
15
|
createDrozChatChannel(variables: import("./sdks/drozchat").Exact<{
|
|
13
16
|
input: import("./sdks/drozchat").CreateDrozChatChannelInput;
|
|
14
17
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateDrozChatChannelMutation>;
|
|
@@ -32,15 +35,9 @@ export declare const DrozChatWs: new () => {
|
|
|
32
35
|
assigneeId?: string;
|
|
33
36
|
next?: object;
|
|
34
37
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsQuery>;
|
|
35
|
-
listTicketsInQueue(variables?: import("./sdks/drozchat").Exact<{
|
|
36
|
-
next?: object;
|
|
37
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsInQueueQuery>;
|
|
38
38
|
listTicketsInProgressMine(variables?: import("./sdks/drozchat").Exact<{
|
|
39
39
|
next?: object;
|
|
40
40
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsInProgressMineQuery>;
|
|
41
|
-
listTicketsClosed(variables?: import("./sdks/drozchat").Exact<{
|
|
42
|
-
next?: object;
|
|
43
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsClosedQuery>;
|
|
44
41
|
listTicketMessages(variables: import("./sdks/drozchat").Exact<{
|
|
45
42
|
ticketId: string;
|
|
46
43
|
channelId: string;
|
|
@@ -70,15 +67,12 @@ export declare const DrozChatWs: new () => {
|
|
|
70
67
|
closeTicket(variables: import("./sdks/drozchat").Exact<{
|
|
71
68
|
input: import("./sdks/drozchat").CloseTicketInput;
|
|
72
69
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CloseTicketMutation>;
|
|
73
|
-
onTicketInQueue(variables?: import("./sdks/drozchat").Exact<{
|
|
74
|
-
[key: string]: never;
|
|
75
|
-
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInQueueSubscription>;
|
|
76
70
|
onTicketInProgressMine(variables?: import("./sdks/drozchat").Exact<{
|
|
77
71
|
[key: string]: never;
|
|
78
72
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInProgressMineSubscription>;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").
|
|
73
|
+
onTicketByState(variables: import("./sdks/drozchat").Exact<{
|
|
74
|
+
state: import("./sdks/drozchat").TicketState;
|
|
75
|
+
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketByStateSubscription>;
|
|
82
76
|
onTicketMessage(variables: import("./sdks/drozchat").Exact<{
|
|
83
77
|
ticketId: string;
|
|
84
78
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
11
11
|
listDrozChatChannels(variables?: import("./sdks/drozchat").Exact<{
|
|
12
12
|
[key: string]: never;
|
|
13
13
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListDrozChatChannelsQuery>;
|
|
14
|
+
listDrozChatAgentChannels(variables: import("./sdks/drozchat").Exact<{
|
|
15
|
+
agentId: string;
|
|
16
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListDrozChatAgentChannelsQuery>;
|
|
14
17
|
createDrozChatChannel(variables: import("./sdks/drozchat").Exact<{
|
|
15
18
|
input: import("./sdks/drozchat").CreateDrozChatChannelInput;
|
|
16
19
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateDrozChatChannelMutation>;
|
|
@@ -34,15 +37,9 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
34
37
|
assigneeId?: string;
|
|
35
38
|
next?: object;
|
|
36
39
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsQuery>;
|
|
37
|
-
listTicketsInQueue(variables?: import("./sdks/drozchat").Exact<{
|
|
38
|
-
next?: object;
|
|
39
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsInQueueQuery>;
|
|
40
40
|
listTicketsInProgressMine(variables?: import("./sdks/drozchat").Exact<{
|
|
41
41
|
next?: object;
|
|
42
42
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsInProgressMineQuery>;
|
|
43
|
-
listTicketsClosed(variables?: import("./sdks/drozchat").Exact<{
|
|
44
|
-
next?: object;
|
|
45
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsClosedQuery>;
|
|
46
43
|
listTicketMessages(variables: import("./sdks/drozchat").Exact<{
|
|
47
44
|
ticketId: string;
|
|
48
45
|
channelId: string;
|
|
@@ -72,15 +69,12 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
72
69
|
closeTicket(variables: import("./sdks/drozchat").Exact<{
|
|
73
70
|
input: import("./sdks/drozchat").CloseTicketInput;
|
|
74
71
|
}>, options?: unknown): Promise<import("./sdks/drozchat").CloseTicketMutation>;
|
|
75
|
-
onTicketInQueue(variables?: import("./sdks/drozchat").Exact<{
|
|
76
|
-
[key: string]: never;
|
|
77
|
-
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInQueueSubscription>;
|
|
78
72
|
onTicketInProgressMine(variables?: import("./sdks/drozchat").Exact<{
|
|
79
73
|
[key: string]: never;
|
|
80
74
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketInProgressMineSubscription>;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").
|
|
75
|
+
onTicketByState(variables: import("./sdks/drozchat").Exact<{
|
|
76
|
+
state: import("./sdks/drozchat").TicketState;
|
|
77
|
+
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketByStateSubscription>;
|
|
84
78
|
onTicketMessage(variables: import("./sdks/drozchat").Exact<{
|
|
85
79
|
ticketId: string;
|
|
86
80
|
}>, options?: unknown): AsyncIterableIterator<import("./sdks/drozchat").OnTicketMessageSubscription>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -215,13 +215,11 @@ export type Query = {
|
|
|
215
215
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
216
216
|
getTicket?: Maybe<Ticket>;
|
|
217
217
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
218
|
+
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
218
219
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
219
220
|
listTicketMessages: TicketMessagesConnection;
|
|
220
221
|
listTickets: TicketsConnection;
|
|
221
|
-
listTicketsClosed: TicketsConnection;
|
|
222
|
-
listTicketsInProgress: TicketsConnection;
|
|
223
222
|
listTicketsInProgressMine: TicketsConnection;
|
|
224
|
-
listTicketsInQueue: TicketsConnection;
|
|
225
223
|
version?: Maybe<Scalars['String']['output']>;
|
|
226
224
|
};
|
|
227
225
|
export type QueryGetDrozChatChannelArgs = {
|
|
@@ -230,6 +228,9 @@ export type QueryGetDrozChatChannelArgs = {
|
|
|
230
228
|
export type QueryGetTicketArgs = {
|
|
231
229
|
id: Scalars['ID']['input'];
|
|
232
230
|
};
|
|
231
|
+
export type QueryListDrozChatAgentChannelsArgs = {
|
|
232
|
+
agentId: Scalars['ID']['input'];
|
|
233
|
+
};
|
|
233
234
|
export type QueryListTicketMessagesArgs = {
|
|
234
235
|
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
235
236
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
@@ -240,18 +241,9 @@ export type QueryListTicketsArgs = {
|
|
|
240
241
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
241
242
|
state: TicketState;
|
|
242
243
|
};
|
|
243
|
-
export type QueryListTicketsClosedArgs = {
|
|
244
|
-
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
245
|
-
};
|
|
246
|
-
export type QueryListTicketsInProgressArgs = {
|
|
247
|
-
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
248
|
-
};
|
|
249
244
|
export type QueryListTicketsInProgressMineArgs = {
|
|
250
245
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
251
246
|
};
|
|
252
|
-
export type QueryListTicketsInQueueArgs = {
|
|
253
|
-
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
254
|
-
};
|
|
255
247
|
export type RemoveDrozChatChannelAgentInput = {
|
|
256
248
|
agentId: Scalars['ID']['input'];
|
|
257
249
|
channelId: Scalars['ID']['input'];
|
|
@@ -260,12 +252,14 @@ export type RemoveDrozChatChannelInput = {
|
|
|
260
252
|
id: Scalars['ID']['input'];
|
|
261
253
|
};
|
|
262
254
|
export type Subscription = {
|
|
263
|
-
|
|
255
|
+
onTicketByState: TicketSubscription;
|
|
264
256
|
onTicketInProgressMine: TicketSubscription;
|
|
265
|
-
onTicketInQueue: TicketSubscription;
|
|
266
257
|
onTicketMessage: TicketMessageSubscription;
|
|
267
258
|
version?: Maybe<Scalars['String']['output']>;
|
|
268
259
|
};
|
|
260
|
+
export type SubscriptionOnTicketByStateArgs = {
|
|
261
|
+
state: TicketState;
|
|
262
|
+
};
|
|
269
263
|
export type SubscriptionOnTicketMessageArgs = {
|
|
270
264
|
ticketId: Scalars['ID']['input'];
|
|
271
265
|
};
|
|
@@ -409,6 +403,12 @@ export type ListDrozChatChannelsQueryVariables = Exact<{
|
|
|
409
403
|
export type ListDrozChatChannelsQuery = {
|
|
410
404
|
listDrozChatChannels: Array<DrozChatChannelFragment>;
|
|
411
405
|
};
|
|
406
|
+
export type ListDrozChatAgentChannelsQueryVariables = Exact<{
|
|
407
|
+
agentId: Scalars['ID']['input'];
|
|
408
|
+
}>;
|
|
409
|
+
export type ListDrozChatAgentChannelsQuery = {
|
|
410
|
+
listDrozChatAgentChannels: Array<DrozChatChannelFragment>;
|
|
411
|
+
};
|
|
412
412
|
export type CreateDrozChatChannelMutationVariables = Exact<{
|
|
413
413
|
input: CreateDrozChatChannelInput;
|
|
414
414
|
}>;
|
|
@@ -471,15 +471,6 @@ export type ListTicketsQuery = {
|
|
|
471
471
|
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
472
472
|
};
|
|
473
473
|
};
|
|
474
|
-
export type ListTicketsInQueueQueryVariables = Exact<{
|
|
475
|
-
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
476
|
-
}>;
|
|
477
|
-
export type ListTicketsInQueueQuery = {
|
|
478
|
-
listTicketsInQueue: {
|
|
479
|
-
nodes: Array<TicketFragment>;
|
|
480
|
-
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
474
|
export type ListTicketsInProgressMineQueryVariables = Exact<{
|
|
484
475
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
485
476
|
}>;
|
|
@@ -489,15 +480,6 @@ export type ListTicketsInProgressMineQuery = {
|
|
|
489
480
|
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
490
481
|
};
|
|
491
482
|
};
|
|
492
|
-
export type ListTicketsClosedQueryVariables = Exact<{
|
|
493
|
-
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
494
|
-
}>;
|
|
495
|
-
export type ListTicketsClosedQuery = {
|
|
496
|
-
listTicketsClosed: {
|
|
497
|
-
nodes: Array<TicketFragment>;
|
|
498
|
-
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
483
|
export type ListTicketMessagesQueryVariables = Exact<{
|
|
502
484
|
ticketId: Scalars['ID']['input'];
|
|
503
485
|
channelId: Scalars['ID']['input'];
|
|
@@ -555,14 +537,6 @@ export type CloseTicketMutationVariables = Exact<{
|
|
|
555
537
|
export type CloseTicketMutation = {
|
|
556
538
|
closeTicket: TicketWithSessionFragment;
|
|
557
539
|
};
|
|
558
|
-
export type OnTicketInQueueSubscriptionVariables = Exact<{
|
|
559
|
-
[key: string]: never;
|
|
560
|
-
}>;
|
|
561
|
-
export type OnTicketInQueueSubscription = {
|
|
562
|
-
onTicketInQueue: (Pick<TicketSubscription, 'action'> & {
|
|
563
|
-
ticket: TicketWithSessionFragment;
|
|
564
|
-
});
|
|
565
|
-
};
|
|
566
540
|
export type OnTicketInProgressMineSubscriptionVariables = Exact<{
|
|
567
541
|
[key: string]: never;
|
|
568
542
|
}>;
|
|
@@ -571,11 +545,11 @@ export type OnTicketInProgressMineSubscription = {
|
|
|
571
545
|
ticket: TicketWithSessionFragment;
|
|
572
546
|
});
|
|
573
547
|
};
|
|
574
|
-
export type
|
|
575
|
-
|
|
548
|
+
export type OnTicketByStateSubscriptionVariables = Exact<{
|
|
549
|
+
state: TicketState;
|
|
576
550
|
}>;
|
|
577
|
-
export type
|
|
578
|
-
|
|
551
|
+
export type OnTicketByStateSubscription = {
|
|
552
|
+
onTicketByState: (Pick<TicketSubscription, 'action'> & {
|
|
579
553
|
ticket: TicketWithSessionFragment;
|
|
580
554
|
});
|
|
581
555
|
};
|
|
@@ -597,6 +571,7 @@ export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSe
|
|
|
597
571
|
export declare const TicketMessageFragmentDoc = "\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 ";
|
|
598
572
|
export declare const GetDrozChatChannelDocument = "\n query getDrozChatChannel($id: ID!) {\n getDrozChatChannel(id: $id) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
599
573
|
export declare const ListDrozChatChannelsDocument = "\n query listDrozChatChannels {\n listDrozChatChannels {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
574
|
+
export declare const ListDrozChatAgentChannelsDocument = "\n query listDrozChatAgentChannels($agentId: ID!) {\n listDrozChatAgentChannels(agentId: $agentId) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
600
575
|
export declare const CreateDrozChatChannelDocument = "\n mutation createDrozChatChannel($input: CreateDrozChatChannelInput!) {\n createDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
601
576
|
export declare const UpdateDrozChatChannelDocument = "\n mutation updateDrozChatChannel($input: UpdateDrozChatChannelInput!) {\n updateDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
602
577
|
export declare const RemoveDrozChatChannelDocument = "\n mutation removeDrozChatChannel($input: RemoveDrozChatChannelInput!) {\n removeDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
@@ -604,9 +579,7 @@ export declare const AddDrozChatChannelAgentDocument = "\n mutation addDrozCh
|
|
|
604
579
|
export declare const RemoveDrozChatChannelAgentDocument = "\n mutation removeDrozChatChannelAgent($input: RemoveDrozChatChannelAgentInput!) {\n removeDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
605
580
|
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
606
581
|
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $assigneeId: ID, $next: Base64) {\n listTickets(state: $state, assigneeId: $assigneeId, 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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 ";
|
|
607
|
-
export declare const ListTicketsInQueueDocument = "\n query listTicketsInQueue($next: Base64) {\n listTicketsInQueue(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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 ";
|
|
608
582
|
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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 ";
|
|
609
|
-
export declare const ListTicketsClosedDocument = "\n query listTicketsClosed($next: Base64) {\n listTicketsClosed(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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 ";
|
|
610
583
|
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 ";
|
|
611
584
|
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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
612
585
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
@@ -616,14 +589,14 @@ export declare const AssignTicketDocument = "\n mutation assignTicket($input:
|
|
|
616
589
|
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
617
590
|
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
618
591
|
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
619
|
-
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...ticketWithSession\n }\n action\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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
620
592
|
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticketWithSession\n }\n action\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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
621
|
-
export declare const
|
|
593
|
+
export declare const OnTicketByStateDocument = "\n subscription onTicketByState($state: TicketState!) {\n onTicketByState(state: $state) {\n ticket {\n ...ticketWithSession\n }\n action\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 externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n messagesCount\n lastMessage\n lastMessageAt\n unreadMessagesCount\n createdAt\n updatedAt\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 sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
622
594
|
export declare const OnTicketMessageDocument = "\n subscription onTicketMessage($ticketId: ID!) {\n onTicketMessage(ticketId: $ticketId) {\n message {\n ...ticketMessage\n }\n action\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 ";
|
|
623
595
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
624
596
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
625
597
|
getDrozChatChannel(variables: GetDrozChatChannelQueryVariables, options?: C): Promise<GetDrozChatChannelQuery>;
|
|
626
598
|
listDrozChatChannels(variables?: ListDrozChatChannelsQueryVariables, options?: C): Promise<ListDrozChatChannelsQuery>;
|
|
599
|
+
listDrozChatAgentChannels(variables: ListDrozChatAgentChannelsQueryVariables, options?: C): Promise<ListDrozChatAgentChannelsQuery>;
|
|
627
600
|
createDrozChatChannel(variables: CreateDrozChatChannelMutationVariables, options?: C): Promise<CreateDrozChatChannelMutation>;
|
|
628
601
|
updateDrozChatChannel(variables: UpdateDrozChatChannelMutationVariables, options?: C): Promise<UpdateDrozChatChannelMutation>;
|
|
629
602
|
removeDrozChatChannel(variables: RemoveDrozChatChannelMutationVariables, options?: C): Promise<RemoveDrozChatChannelMutation>;
|
|
@@ -631,9 +604,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
631
604
|
removeDrozChatChannelAgent(variables: RemoveDrozChatChannelAgentMutationVariables, options?: C): Promise<RemoveDrozChatChannelAgentMutation>;
|
|
632
605
|
getTicket(variables: GetTicketQueryVariables, options?: C): Promise<GetTicketQuery>;
|
|
633
606
|
listTickets(variables: ListTicketsQueryVariables, options?: C): Promise<ListTicketsQuery>;
|
|
634
|
-
listTicketsInQueue(variables?: ListTicketsInQueueQueryVariables, options?: C): Promise<ListTicketsInQueueQuery>;
|
|
635
607
|
listTicketsInProgressMine(variables?: ListTicketsInProgressMineQueryVariables, options?: C): Promise<ListTicketsInProgressMineQuery>;
|
|
636
|
-
listTicketsClosed(variables?: ListTicketsClosedQueryVariables, options?: C): Promise<ListTicketsClosedQuery>;
|
|
637
608
|
listTicketMessages(variables: ListTicketMessagesQueryVariables, options?: C): Promise<ListTicketMessagesQuery>;
|
|
638
609
|
createTicket(variables: CreateTicketMutationVariables, options?: C): Promise<CreateTicketMutation>;
|
|
639
610
|
markTicketMessagesAsRead(variables: MarkTicketMessagesAsReadMutationVariables, options?: C): Promise<MarkTicketMessagesAsReadMutation>;
|
|
@@ -643,9 +614,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
643
614
|
assignTicketMyself(variables: AssignTicketMyselfMutationVariables, options?: C): Promise<AssignTicketMyselfMutation>;
|
|
644
615
|
unassignTicket(variables: UnassignTicketMutationVariables, options?: C): Promise<UnassignTicketMutation>;
|
|
645
616
|
closeTicket(variables: CloseTicketMutationVariables, options?: C): Promise<CloseTicketMutation>;
|
|
646
|
-
onTicketInQueue(variables?: OnTicketInQueueSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketInQueueSubscription>;
|
|
647
617
|
onTicketInProgressMine(variables?: OnTicketInProgressMineSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketInProgressMineSubscription>;
|
|
648
|
-
|
|
618
|
+
onTicketByState(variables: OnTicketByStateSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketByStateSubscription>;
|
|
649
619
|
onTicketMessage(variables: OnTicketMessageSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketMessageSubscription>;
|
|
650
620
|
};
|
|
651
621
|
export type Sdk = ReturnType<typeof getSdk>;
|
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.
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = 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.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.RemoveDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.DrozChatChannelFragmentDoc = 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";
|
|
@@ -172,6 +172,13 @@ exports.ListDrozChatChannelsDocument = `
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
${exports.DrozChatChannelFragmentDoc}`;
|
|
175
|
+
exports.ListDrozChatAgentChannelsDocument = `
|
|
176
|
+
query listDrozChatAgentChannels($agentId: ID!) {
|
|
177
|
+
listDrozChatAgentChannels(agentId: $agentId) {
|
|
178
|
+
...drozChatChannel
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
${exports.DrozChatChannelFragmentDoc}`;
|
|
175
182
|
exports.CreateDrozChatChannelDocument = `
|
|
176
183
|
mutation createDrozChatChannel($input: CreateDrozChatChannelInput!) {
|
|
177
184
|
createDrozChatChannel(input: $input) {
|
|
@@ -227,19 +234,6 @@ exports.ListTicketsDocument = `
|
|
|
227
234
|
}
|
|
228
235
|
}
|
|
229
236
|
${exports.TicketFragmentDoc}`;
|
|
230
|
-
exports.ListTicketsInQueueDocument = `
|
|
231
|
-
query listTicketsInQueue($next: Base64) {
|
|
232
|
-
listTicketsInQueue(next: $next) {
|
|
233
|
-
nodes {
|
|
234
|
-
...ticket
|
|
235
|
-
}
|
|
236
|
-
pageInfo {
|
|
237
|
-
hasNext
|
|
238
|
-
next
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
${exports.TicketFragmentDoc}`;
|
|
243
237
|
exports.ListTicketsInProgressMineDocument = `
|
|
244
238
|
query listTicketsInProgressMine($next: Base64) {
|
|
245
239
|
listTicketsInProgressMine(next: $next) {
|
|
@@ -253,19 +247,6 @@ exports.ListTicketsInProgressMineDocument = `
|
|
|
253
247
|
}
|
|
254
248
|
}
|
|
255
249
|
${exports.TicketFragmentDoc}`;
|
|
256
|
-
exports.ListTicketsClosedDocument = `
|
|
257
|
-
query listTicketsClosed($next: Base64) {
|
|
258
|
-
listTicketsClosed(next: $next) {
|
|
259
|
-
nodes {
|
|
260
|
-
...ticket
|
|
261
|
-
}
|
|
262
|
-
pageInfo {
|
|
263
|
-
hasNext
|
|
264
|
-
next
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
${exports.TicketFragmentDoc}`;
|
|
269
250
|
exports.ListTicketMessagesDocument = `
|
|
270
251
|
query listTicketMessages($ticketId: ID!, $channelId: ID!, $next: Base64) {
|
|
271
252
|
listTicketMessages(ticketId: $ticketId, channelId: $channelId, next: $next) {
|
|
@@ -333,16 +314,6 @@ exports.CloseTicketDocument = `
|
|
|
333
314
|
}
|
|
334
315
|
}
|
|
335
316
|
${exports.TicketWithSessionFragmentDoc}`;
|
|
336
|
-
exports.OnTicketInQueueDocument = `
|
|
337
|
-
subscription onTicketInQueue {
|
|
338
|
-
onTicketInQueue {
|
|
339
|
-
ticket {
|
|
340
|
-
...ticketWithSession
|
|
341
|
-
}
|
|
342
|
-
action
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
${exports.TicketWithSessionFragmentDoc}`;
|
|
346
317
|
exports.OnTicketInProgressMineDocument = `
|
|
347
318
|
subscription onTicketInProgressMine {
|
|
348
319
|
onTicketInProgressMine {
|
|
@@ -353,9 +324,9 @@ exports.OnTicketInProgressMineDocument = `
|
|
|
353
324
|
}
|
|
354
325
|
}
|
|
355
326
|
${exports.TicketWithSessionFragmentDoc}`;
|
|
356
|
-
exports.
|
|
357
|
-
subscription
|
|
358
|
-
|
|
327
|
+
exports.OnTicketByStateDocument = `
|
|
328
|
+
subscription onTicketByState($state: TicketState!) {
|
|
329
|
+
onTicketByState(state: $state) {
|
|
359
330
|
ticket {
|
|
360
331
|
...ticketWithSession
|
|
361
332
|
}
|
|
@@ -381,6 +352,9 @@ function getSdk(requester) {
|
|
|
381
352
|
listDrozChatChannels(variables, options) {
|
|
382
353
|
return requester(exports.ListDrozChatChannelsDocument, variables, options);
|
|
383
354
|
},
|
|
355
|
+
listDrozChatAgentChannels(variables, options) {
|
|
356
|
+
return requester(exports.ListDrozChatAgentChannelsDocument, variables, options);
|
|
357
|
+
},
|
|
384
358
|
createDrozChatChannel(variables, options) {
|
|
385
359
|
return requester(exports.CreateDrozChatChannelDocument, variables, options);
|
|
386
360
|
},
|
|
@@ -402,15 +376,9 @@ function getSdk(requester) {
|
|
|
402
376
|
listTickets(variables, options) {
|
|
403
377
|
return requester(exports.ListTicketsDocument, variables, options);
|
|
404
378
|
},
|
|
405
|
-
listTicketsInQueue(variables, options) {
|
|
406
|
-
return requester(exports.ListTicketsInQueueDocument, variables, options);
|
|
407
|
-
},
|
|
408
379
|
listTicketsInProgressMine(variables, options) {
|
|
409
380
|
return requester(exports.ListTicketsInProgressMineDocument, variables, options);
|
|
410
381
|
},
|
|
411
|
-
listTicketsClosed(variables, options) {
|
|
412
|
-
return requester(exports.ListTicketsClosedDocument, variables, options);
|
|
413
|
-
},
|
|
414
382
|
listTicketMessages(variables, options) {
|
|
415
383
|
return requester(exports.ListTicketMessagesDocument, variables, options);
|
|
416
384
|
},
|
|
@@ -438,14 +406,11 @@ function getSdk(requester) {
|
|
|
438
406
|
closeTicket(variables, options) {
|
|
439
407
|
return requester(exports.CloseTicketDocument, variables, options);
|
|
440
408
|
},
|
|
441
|
-
onTicketInQueue(variables, options) {
|
|
442
|
-
return requester(exports.OnTicketInQueueDocument, variables, options);
|
|
443
|
-
},
|
|
444
409
|
onTicketInProgressMine(variables, options) {
|
|
445
410
|
return requester(exports.OnTicketInProgressMineDocument, variables, options);
|
|
446
411
|
},
|
|
447
|
-
|
|
448
|
-
return requester(exports.
|
|
412
|
+
onTicketByState(variables, options) {
|
|
413
|
+
return requester(exports.OnTicketByStateDocument, variables, options);
|
|
449
414
|
},
|
|
450
415
|
onTicketMessage(variables, options) {
|
|
451
416
|
return requester(exports.OnTicketMessageDocument, variables, options);
|