@droz-js/sdk 0.2.11 → 0.2.12
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/nucleus.d.ts +3 -0
- package/src/sdks/drozchat.d.ts +36 -20
- package/src/sdks/drozchat.js +15 -2
- package/src/sdks/nucleus.d.ts +18 -0
- package/src/sdks/nucleus.js +16 -2
package/package.json
CHANGED
package/src/nucleus.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ export declare const Nucleus: new (options?: import("./client/http").HttpClientO
|
|
|
27
27
|
type?: import("./sdks/nucleus").AppType;
|
|
28
28
|
withInstances?: boolean;
|
|
29
29
|
}>, options?: unknown): Promise<import("./sdks/nucleus").ListAppsQuery>;
|
|
30
|
+
getAppInstance(variables: import("./sdks/nucleus").Exact<{
|
|
31
|
+
drn: string;
|
|
32
|
+
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAppInstanceQuery>;
|
|
30
33
|
listAppInstances(variables?: import("./sdks/nucleus").Exact<{
|
|
31
34
|
appId?: string;
|
|
32
35
|
appType?: import("./sdks/nucleus").AppType;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -69,6 +69,10 @@ export type Scalars = {
|
|
|
69
69
|
input: any;
|
|
70
70
|
output: any;
|
|
71
71
|
};
|
|
72
|
+
PhoneNumber: {
|
|
73
|
+
input: any;
|
|
74
|
+
output: any;
|
|
75
|
+
};
|
|
72
76
|
Set: {
|
|
73
77
|
input: Set<any>;
|
|
74
78
|
output: any[];
|
|
@@ -115,6 +119,7 @@ export type Customer = {
|
|
|
115
119
|
email?: Maybe<Scalars['EmailAddress']['output']>;
|
|
116
120
|
id: Scalars['ID']['output'];
|
|
117
121
|
name?: Maybe<Scalars['String']['output']>;
|
|
122
|
+
phone?: Maybe<Scalars['PhoneNumber']['output']>;
|
|
118
123
|
updatedAt: Scalars['DateTime']['output'];
|
|
119
124
|
};
|
|
120
125
|
export type CustomersConnection = {
|
|
@@ -257,6 +262,7 @@ export declare enum SubscriptionAction {
|
|
|
257
262
|
export type Ticket = {
|
|
258
263
|
assignee?: Maybe<DrozChatAgent>;
|
|
259
264
|
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
265
|
+
channel?: Maybe<TicketChannel>;
|
|
260
266
|
createdAt: Scalars['DateTime']['output'];
|
|
261
267
|
customer: Customer;
|
|
262
268
|
customerId: Scalars['ID']['output'];
|
|
@@ -268,9 +274,16 @@ export type Ticket = {
|
|
|
268
274
|
state: TicketState;
|
|
269
275
|
status: TicketStatus;
|
|
270
276
|
subject?: Maybe<Scalars['String']['output']>;
|
|
277
|
+
triggerDrn?: Maybe<Scalars['DRN']['output']>;
|
|
271
278
|
unreadMessagesCount: Scalars['Int']['output'];
|
|
272
279
|
updatedAt: Scalars['DateTime']['output'];
|
|
273
280
|
};
|
|
281
|
+
export type TicketChannel = {
|
|
282
|
+
appId?: Maybe<Scalars['ID']['output']>;
|
|
283
|
+
appName?: Maybe<Scalars['String']['output']>;
|
|
284
|
+
drn?: Maybe<Scalars['DRN']['output']>;
|
|
285
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
286
|
+
};
|
|
274
287
|
export type TicketMessage = {
|
|
275
288
|
body: Scalars['String']['output'];
|
|
276
289
|
contentType: Scalars['String']['output'];
|
|
@@ -362,7 +375,7 @@ export type GetDrozChatAgentQueryVariables = Exact<{
|
|
|
362
375
|
export type GetDrozChatAgentQuery = {
|
|
363
376
|
getDrozChatAgent?: Maybe<DrozChatAgentFragment>;
|
|
364
377
|
};
|
|
365
|
-
export type CustomerFragment = Pick<Customer, 'id' | 'name' | 'email' | 'createdAt' | 'updatedAt'>;
|
|
378
|
+
export type CustomerFragment = Pick<Customer, 'id' | 'name' | 'email' | 'phone' | 'createdAt' | 'updatedAt'>;
|
|
366
379
|
export type CreateCustomerMutationVariables = Exact<{
|
|
367
380
|
input: CreateCustomerInput;
|
|
368
381
|
}>;
|
|
@@ -390,9 +403,11 @@ export type GetCustomerQueryVariables = Exact<{
|
|
|
390
403
|
export type GetCustomerQuery = {
|
|
391
404
|
getCustomer?: Maybe<CustomerFragment>;
|
|
392
405
|
};
|
|
406
|
+
export type DrozChatChannelFragment = Pick<TicketChannel, 'drn' | 'name' | 'appId' | 'appName'>;
|
|
393
407
|
export type TicketFragment = (Pick<Ticket, 'id' | 'state' | 'status' | 'priority' | 'messagesCount' | 'lastMessage' | 'lastMessageAt' | 'unreadMessagesCount' | 'createdAt' | 'updatedAt'> & {
|
|
394
408
|
assignee?: Maybe<DrozChatAgentFragment>;
|
|
395
409
|
customer: CustomerFragment;
|
|
410
|
+
channel?: Maybe<DrozChatChannelFragment>;
|
|
396
411
|
});
|
|
397
412
|
export type TicketMessageFragment = Pick<TicketMessage, 'id' | 'ticketId' | 'sentBy' | 'type' | 'contentType' | 'body' | 'createdAt' | 'updatedAt'>;
|
|
398
413
|
export type GetTicketQueryVariables = Exact<{
|
|
@@ -522,32 +537,33 @@ export type OnTicketMessageSubscription = {
|
|
|
522
537
|
});
|
|
523
538
|
};
|
|
524
539
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n createdAt\n updatedAt\n extension {\n id\n }\n}\n ";
|
|
525
|
-
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
526
|
-
export declare const
|
|
540
|
+
export declare const CustomerFragmentDoc = "\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
541
|
+
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
542
|
+
export declare const TicketFragmentDoc = "\n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
527
543
|
export declare const TicketMessageFragmentDoc = "\n fragment ticketMessage on TicketMessage {\n id\n ticketId\n sentBy\n type\n contentType\n body\n createdAt\n updatedAt\n}\n ";
|
|
528
544
|
export declare const CreateDrozChatAgentDocument = "\n mutation createDrozChatAgent($input: CreateDrozChatAgentInput!) {\n createDrozChatAgent(input: $input) {\n ...drozChatAgent\n }\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n createdAt\n updatedAt\n extension {\n id\n }\n}\n ";
|
|
529
545
|
export declare const ListDrozChatAgentsDocument = "\n query listDrozChatAgents($next: Base64) {\n listDrozChatAgents(next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...drozChatAgent\n }\n }\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n createdAt\n updatedAt\n extension {\n id\n }\n}\n ";
|
|
530
546
|
export declare const GetDrozChatAgentDocument = "\n query getDrozChatAgent($id: ID!) {\n getDrozChatAgent(id: $id) {\n ...drozChatAgent\n }\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n createdAt\n updatedAt\n extension {\n id\n }\n}\n ";
|
|
531
|
-
export declare const CreateCustomerDocument = "\n mutation createCustomer($input: CreateCustomerInput!) {\n createCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
532
|
-
export declare const UpdateCustomerDocument = "\n mutation updateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
533
|
-
export declare const ListCustomersDocument = "\n query listCustomers($next: Base64) {\n listCustomers(next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...customer\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
534
|
-
export declare const GetCustomerDocument = "\n query getCustomer($id: ID!) {\n getCustomer(id: $id) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
535
|
-
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
536
|
-
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
537
|
-
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
538
|
-
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
539
|
-
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
547
|
+
export declare const CreateCustomerDocument = "\n mutation createCustomer($input: CreateCustomerInput!) {\n createCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
548
|
+
export declare const UpdateCustomerDocument = "\n mutation updateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
549
|
+
export declare const ListCustomersDocument = "\n query listCustomers($next: Base64) {\n listCustomers(next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...customer\n }\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
550
|
+
export declare const GetCustomerDocument = "\n query getCustomer($id: ID!) {\n getCustomer(id: $id) {\n ...customer\n }\n}\n \n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n ";
|
|
551
|
+
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
552
|
+
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
553
|
+
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
554
|
+
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
555
|
+
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 id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
540
556
|
export declare const ListTicketMessagesDocument = "\n query listTicketMessages($ticketId: ID!, $next: Base64) {\n listTicketMessages(ticketId: $ticketId, 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 sentBy\n type\n contentType\n body\n createdAt\n updatedAt\n}\n ";
|
|
541
|
-
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
557
|
+
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
542
558
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
543
559
|
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 sentBy\n type\n contentType\n body\n createdAt\n updatedAt\n}\n ";
|
|
544
|
-
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
545
|
-
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
546
|
-
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
547
|
-
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
548
|
-
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
549
|
-
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
550
|
-
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n createdAt\n updatedAt\n}\n ";
|
|
560
|
+
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
561
|
+
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
562
|
+
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
563
|
+
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
564
|
+
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
565
|
+
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
566
|
+
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\n ticket {\n ...ticket\n }\n action\n }\n}\n \n fragment ticket on Ticket {\n id\n state\n status\n priority\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n channel {\n ...drozChatChannel\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 createdAt\n updatedAt\n extension {\n id\n }\n}\n \n\n fragment customer on Customer {\n id\n name\n email\n phone\n createdAt\n updatedAt\n}\n \n\n fragment drozChatChannel on TicketChannel {\n drn\n name\n appId\n appName\n}\n ";
|
|
551
567
|
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 sentBy\n type\n contentType\n body\n createdAt\n updatedAt\n}\n ";
|
|
552
568
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
553
569
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
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.OnTicketClosedDocument = exports.OnTicketInProgressMineDocument = exports.OnTicketInQueueDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsClosedDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsInQueueDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.GetCustomerDocument = exports.ListCustomersDocument = exports.UpdateCustomerDocument = exports.CreateCustomerDocument = exports.GetDrozChatAgentDocument = exports.ListDrozChatAgentsDocument = exports.CreateDrozChatAgentDocument = exports.TicketMessageFragmentDoc = exports.TicketFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageType = exports.SubscriptionAction = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketClosedDocument = exports.OnTicketInProgressMineDocument = exports.OnTicketInQueueDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsClosedDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsInQueueDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.GetCustomerDocument = exports.ListCustomersDocument = exports.UpdateCustomerDocument = exports.CreateCustomerDocument = exports.GetDrozChatAgentDocument = exports.ListDrozChatAgentsDocument = exports.CreateDrozChatAgentDocument = exports.TicketMessageFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageType = exports.SubscriptionAction = void 0;
|
|
5
5
|
var SubscriptionAction;
|
|
6
6
|
(function (SubscriptionAction) {
|
|
7
7
|
SubscriptionAction["Created"] = "CREATED";
|
|
@@ -62,10 +62,19 @@ exports.CustomerFragmentDoc = `
|
|
|
62
62
|
id
|
|
63
63
|
name
|
|
64
64
|
email
|
|
65
|
+
phone
|
|
65
66
|
createdAt
|
|
66
67
|
updatedAt
|
|
67
68
|
}
|
|
68
69
|
`;
|
|
70
|
+
exports.DrozChatChannelFragmentDoc = `
|
|
71
|
+
fragment drozChatChannel on TicketChannel {
|
|
72
|
+
drn
|
|
73
|
+
name
|
|
74
|
+
appId
|
|
75
|
+
appName
|
|
76
|
+
}
|
|
77
|
+
`;
|
|
69
78
|
exports.TicketFragmentDoc = `
|
|
70
79
|
fragment ticket on Ticket {
|
|
71
80
|
id
|
|
@@ -78,6 +87,9 @@ exports.TicketFragmentDoc = `
|
|
|
78
87
|
customer {
|
|
79
88
|
...customer
|
|
80
89
|
}
|
|
90
|
+
channel {
|
|
91
|
+
...drozChatChannel
|
|
92
|
+
}
|
|
81
93
|
messagesCount
|
|
82
94
|
lastMessage
|
|
83
95
|
lastMessageAt
|
|
@@ -86,7 +98,8 @@ exports.TicketFragmentDoc = `
|
|
|
86
98
|
updatedAt
|
|
87
99
|
}
|
|
88
100
|
${exports.DrozChatAgentFragmentDoc}
|
|
89
|
-
${exports.CustomerFragmentDoc}
|
|
101
|
+
${exports.CustomerFragmentDoc}
|
|
102
|
+
${exports.DrozChatChannelFragmentDoc}`;
|
|
90
103
|
exports.TicketMessageFragmentDoc = `
|
|
91
104
|
fragment ticketMessage on TicketMessage {
|
|
92
105
|
id
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -69,6 +69,10 @@ export type Scalars = {
|
|
|
69
69
|
input: any;
|
|
70
70
|
output: any;
|
|
71
71
|
};
|
|
72
|
+
PhoneNumber: {
|
|
73
|
+
input: any;
|
|
74
|
+
output: any;
|
|
75
|
+
};
|
|
72
76
|
Set: {
|
|
73
77
|
input: Set<any>;
|
|
74
78
|
output: any[];
|
|
@@ -335,6 +339,7 @@ export type Query = {
|
|
|
335
339
|
authInfo?: Maybe<AuthInfo>;
|
|
336
340
|
getAgent?: Maybe<Agent>;
|
|
337
341
|
getApp?: Maybe<App>;
|
|
342
|
+
getAppInstance?: Maybe<AppInstance>;
|
|
338
343
|
getCredentials?: Maybe<SafeCredentials>;
|
|
339
344
|
getCredentialsSecret?: Maybe<Credentials>;
|
|
340
345
|
getCronJob?: Maybe<CronJob>;
|
|
@@ -360,6 +365,9 @@ export type QueryGetAgentArgs = {
|
|
|
360
365
|
export type QueryGetAppArgs = {
|
|
361
366
|
appId: Scalars['ID']['input'];
|
|
362
367
|
};
|
|
368
|
+
export type QueryGetAppInstanceArgs = {
|
|
369
|
+
drn: Scalars['DRN']['input'];
|
|
370
|
+
};
|
|
363
371
|
export type QueryGetCredentialsArgs = {
|
|
364
372
|
id: Scalars['ID']['input'];
|
|
365
373
|
};
|
|
@@ -596,6 +604,14 @@ export type ListAppsQuery = {
|
|
|
596
604
|
instances?: Array<AppInstanceFragment>;
|
|
597
605
|
} & AppFragment)>;
|
|
598
606
|
};
|
|
607
|
+
export type GetAppInstanceQueryVariables = Exact<{
|
|
608
|
+
drn: Scalars['DRN']['input'];
|
|
609
|
+
}>;
|
|
610
|
+
export type GetAppInstanceQuery = {
|
|
611
|
+
getAppInstance?: Maybe<({
|
|
612
|
+
app: AppFragment;
|
|
613
|
+
} & AppInstanceFragment)>;
|
|
614
|
+
};
|
|
599
615
|
export type ListAppInstancesQueryVariables = Exact<{
|
|
600
616
|
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
601
617
|
appType?: InputMaybe<AppType>;
|
|
@@ -819,6 +835,7 @@ export declare const UpdateAgentDocument = "\n mutation updateAgent($input: U
|
|
|
819
835
|
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
820
836
|
export declare const GetAppDocument = "\n query getApp($appId: ID!, $withInstances: Boolean = false) {\n getApp(appId: $appId) {\n ...app\n instances @include(if: $withInstances) {\n ...appInstance\n }\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
821
837
|
export declare const ListAppsDocument = "\n query listApps($type: AppType, $withInstances: Boolean = false) {\n listApps(type: $type) {\n ...app\n instances @include(if: $withInstances) {\n ...appInstance\n }\n }\n}\n \n fragment app on App {\n id\n type\n name\n description\n}\n \n\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
838
|
+
export declare const GetAppInstanceDocument = "\n query getAppInstance($drn: DRN!) {\n getAppInstance(drn: $drn) {\n ...appInstance\n app {\n ...app\n }\n }\n}\n \n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n \n\n fragment app on App {\n id\n type\n name\n description\n}\n ";
|
|
822
839
|
export declare const ListAppInstancesDocument = "\n query listAppInstances($appId: ID, $appType: AppType, $withApp: Boolean = false) {\n listAppInstances(appId: $appId, appType: $appType) {\n ...appInstance\n app @include(if: $withApp) {\n ...app\n }\n }\n}\n \n fragment appInstance on AppInstance {\n appId\n appType\n drn\n name\n transitions\n createdAt\n updatedAt\n}\n \n\n fragment app on App {\n id\n type\n name\n description\n}\n ";
|
|
823
840
|
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig {\n amplifyConfig\n}\n ";
|
|
824
841
|
export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n ";
|
|
@@ -859,6 +876,7 @@ export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
|
859
876
|
removeAgent(variables: RemoveAgentMutationVariables, options?: C): Promise<RemoveAgentMutation>;
|
|
860
877
|
getApp(variables: GetAppQueryVariables, options?: C): Promise<GetAppQuery>;
|
|
861
878
|
listApps(variables?: ListAppsQueryVariables, options?: C): Promise<ListAppsQuery>;
|
|
879
|
+
getAppInstance(variables: GetAppInstanceQueryVariables, options?: C): Promise<GetAppInstanceQuery>;
|
|
862
880
|
listAppInstances(variables?: ListAppInstancesQueryVariables, options?: C): Promise<ListAppInstancesQuery>;
|
|
863
881
|
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>;
|
|
864
882
|
getAuthInfo(variables?: GetAuthInfoQueryVariables, options?: C): Promise<GetAuthInfoQuery>;
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.getSdk = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = void 0;
|
|
4
|
+
exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.PatchSessionDataDocument = exports.SetSessionDataDocument = exports.GetSessionDataDocument = exports.ResolveSessionDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateCredentialsDocument = exports.ListCredentialsDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.ListAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateAgentDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.CronJobFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CredentialsType = exports.AppType = void 0;
|
|
5
|
+
exports.serviceName = exports.getSdk = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = void 0;
|
|
6
6
|
var AppType;
|
|
7
7
|
(function (AppType) {
|
|
8
8
|
AppType["Regular"] = "Regular";
|
|
@@ -209,6 +209,17 @@ exports.ListAppsDocument = `
|
|
|
209
209
|
}
|
|
210
210
|
${exports.AppFragmentDoc}
|
|
211
211
|
${exports.AppInstanceFragmentDoc}`;
|
|
212
|
+
exports.GetAppInstanceDocument = `
|
|
213
|
+
query getAppInstance($drn: DRN!) {
|
|
214
|
+
getAppInstance(drn: $drn) {
|
|
215
|
+
...appInstance
|
|
216
|
+
app {
|
|
217
|
+
...app
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
${exports.AppInstanceFragmentDoc}
|
|
222
|
+
${exports.AppFragmentDoc}`;
|
|
212
223
|
exports.ListAppInstancesDocument = `
|
|
213
224
|
query listAppInstances($appId: ID, $appType: AppType, $withApp: Boolean = false) {
|
|
214
225
|
listAppInstances(appId: $appId, appType: $appType) {
|
|
@@ -477,6 +488,9 @@ function getSdk(requester) {
|
|
|
477
488
|
listApps(variables, options) {
|
|
478
489
|
return requester(exports.ListAppsDocument, variables, options);
|
|
479
490
|
},
|
|
491
|
+
getAppInstance(variables, options) {
|
|
492
|
+
return requester(exports.GetAppInstanceDocument, variables, options);
|
|
493
|
+
},
|
|
480
494
|
listAppInstances(variables, options) {
|
|
481
495
|
return requester(exports.ListAppInstancesDocument, variables, options);
|
|
482
496
|
},
|