@droz-js/sdk 0.4.24 → 0.4.26
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/sdks/drozchat.d.ts +23 -21
- package/src/sdks/drozchat.js +38 -33
- package/src/sdks/reclameaqui.d.ts +10 -7
- package/src/sdks/reclameaqui.js +1 -0
package/package.json
CHANGED
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -420,15 +420,16 @@ export type TicketFragment = (Pick<Ticket, 'channelId' | 'id' | 'state' | 'statu
|
|
|
420
420
|
customer: CustomerFragment;
|
|
421
421
|
triggerApp?: Maybe<TicketTriggerAppFragment>;
|
|
422
422
|
});
|
|
423
|
+
export type TicketWithSessionFragment = ({
|
|
424
|
+
sessionAttributes?: Maybe<SessionAttributesFragment>;
|
|
425
|
+
} & TicketFragment);
|
|
423
426
|
export type TicketMessageFragment = Pick<TicketMessage, 'id' | 'ticketId' | 'from' | 'to' | 'channelId' | 'contentType' | 'content' | 'filename' | 'size' | 'createdAt' | 'updatedAt'>;
|
|
424
427
|
export type SessionAttributesFragment = Pick<TicketSessionAttributes, 'organization' | 'source' | 'order' | 'products' | 'rating' | 'tags'>;
|
|
425
428
|
export type GetTicketQueryVariables = Exact<{
|
|
426
429
|
id: Scalars['ID']['input'];
|
|
427
430
|
}>;
|
|
428
431
|
export type GetTicketQuery = {
|
|
429
|
-
getTicket?: Maybe<
|
|
430
|
-
sessionAttributes?: Maybe<SessionAttributesFragment>;
|
|
431
|
-
} & TicketFragment)>;
|
|
432
|
+
getTicket?: Maybe<TicketWithSessionFragment>;
|
|
432
433
|
};
|
|
433
434
|
export type ListTicketsQueryVariables = Exact<{
|
|
434
435
|
state: TicketState;
|
|
@@ -483,7 +484,7 @@ export type CreateTicketMutationVariables = Exact<{
|
|
|
483
484
|
input: CreateTicketInput;
|
|
484
485
|
}>;
|
|
485
486
|
export type CreateTicketMutation = {
|
|
486
|
-
createTicket:
|
|
487
|
+
createTicket: TicketWithSessionFragment;
|
|
487
488
|
};
|
|
488
489
|
export type MarkTicketMessagesAsReadMutationVariables = Exact<{
|
|
489
490
|
input: MarkTicketMessagesAsReadInput;
|
|
@@ -505,32 +506,32 @@ export type AssignTicketMutationVariables = Exact<{
|
|
|
505
506
|
input: AssignTicketInput;
|
|
506
507
|
}>;
|
|
507
508
|
export type AssignTicketMutation = {
|
|
508
|
-
assignTicket:
|
|
509
|
+
assignTicket: TicketWithSessionFragment;
|
|
509
510
|
};
|
|
510
511
|
export type AssignTicketMyselfMutationVariables = Exact<{
|
|
511
512
|
input: AssignTicketMyselfInput;
|
|
512
513
|
}>;
|
|
513
514
|
export type AssignTicketMyselfMutation = {
|
|
514
|
-
assignTicketMyself:
|
|
515
|
+
assignTicketMyself: TicketWithSessionFragment;
|
|
515
516
|
};
|
|
516
517
|
export type UnassignTicketMutationVariables = Exact<{
|
|
517
518
|
input: UnassignTicketInput;
|
|
518
519
|
}>;
|
|
519
520
|
export type UnassignTicketMutation = {
|
|
520
|
-
unassignTicket:
|
|
521
|
+
unassignTicket: TicketWithSessionFragment;
|
|
521
522
|
};
|
|
522
523
|
export type CloseTicketMutationVariables = Exact<{
|
|
523
524
|
input: CloseTicketInput;
|
|
524
525
|
}>;
|
|
525
526
|
export type CloseTicketMutation = {
|
|
526
|
-
closeTicket:
|
|
527
|
+
closeTicket: TicketWithSessionFragment;
|
|
527
528
|
};
|
|
528
529
|
export type OnTicketInQueueSubscriptionVariables = Exact<{
|
|
529
530
|
[key: string]: never;
|
|
530
531
|
}>;
|
|
531
532
|
export type OnTicketInQueueSubscription = {
|
|
532
533
|
onTicketInQueue: (Pick<TicketSubscription, 'action'> & {
|
|
533
|
-
ticket:
|
|
534
|
+
ticket: TicketWithSessionFragment;
|
|
534
535
|
});
|
|
535
536
|
};
|
|
536
537
|
export type OnTicketInProgressMineSubscriptionVariables = Exact<{
|
|
@@ -538,7 +539,7 @@ export type OnTicketInProgressMineSubscriptionVariables = Exact<{
|
|
|
538
539
|
}>;
|
|
539
540
|
export type OnTicketInProgressMineSubscription = {
|
|
540
541
|
onTicketInProgressMine: (Pick<TicketSubscription, 'action'> & {
|
|
541
|
-
ticket:
|
|
542
|
+
ticket: TicketWithSessionFragment;
|
|
542
543
|
});
|
|
543
544
|
};
|
|
544
545
|
export type OnTicketClosedSubscriptionVariables = Exact<{
|
|
@@ -546,7 +547,7 @@ export type OnTicketClosedSubscriptionVariables = Exact<{
|
|
|
546
547
|
}>;
|
|
547
548
|
export type OnTicketClosedSubscription = {
|
|
548
549
|
onTicketClosed: (Pick<TicketSubscription, 'action'> & {
|
|
549
|
-
ticket:
|
|
550
|
+
ticket: TicketWithSessionFragment;
|
|
550
551
|
});
|
|
551
552
|
};
|
|
552
553
|
export type OnTicketMessageSubscriptionVariables = Exact<{
|
|
@@ -562,30 +563,31 @@ export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on
|
|
|
562
563
|
export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n ";
|
|
563
564
|
export declare const TicketTriggerAppFragmentDoc = "\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 ";
|
|
564
565
|
export declare const TicketFragmentDoc = "\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 ";
|
|
565
|
-
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 ";
|
|
566
566
|
export declare const SessionAttributesFragmentDoc = "\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n rating\n tags\n}\n ";
|
|
567
|
+
export declare const TicketWithSessionFragmentDoc = "\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 rating\n tags\n}\n ";
|
|
568
|
+
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 ";
|
|
567
569
|
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 createdAt\n updatedAt\n}\n ";
|
|
568
570
|
export declare const ListDrozChatChannelsDocument = "\n query listDrozChatChannels {\n listDrozChatChannels {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n createdAt\n updatedAt\n}\n ";
|
|
569
571
|
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 createdAt\n updatedAt\n}\n ";
|
|
570
572
|
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 createdAt\n updatedAt\n}\n ";
|
|
571
573
|
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 createdAt\n updatedAt\n}\n ";
|
|
572
|
-
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...
|
|
574
|
+
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 rating\n tags\n}\n ";
|
|
573
575
|
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 ";
|
|
574
576
|
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 ";
|
|
575
577
|
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 ";
|
|
576
578
|
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 ";
|
|
577
579
|
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 ";
|
|
578
|
-
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticket\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 ";
|
|
580
|
+
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 rating\n tags\n}\n ";
|
|
579
581
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
580
582
|
export declare const CreateTicketMessageDocument = "\n mutation createTicketMessage($input: CreateTicketMessageInput!) {\n createTicketMessage(input: $input) {\n ...ticketMessage\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
581
583
|
export declare const CreateTicketMessageForStorageDocument = "\n mutation createTicketMessageForStorage($input: CreateTicketMessageForStorageInput!) {\n createTicketMessageForStorage(input: $input) {\n ...ticketMessage\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
|
|
582
|
-
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticket\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 ";
|
|
583
|
-
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticket\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 ";
|
|
584
|
-
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticket\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 ";
|
|
585
|
-
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticket\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 ";
|
|
586
|
-
export declare const OnTicketInQueueDocument = "\n subscription onTicketInQueue {\n onTicketInQueue {\n ticket {\n ...
|
|
587
|
-
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...
|
|
588
|
-
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\n ticket {\n ...
|
|
584
|
+
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(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 rating\n tags\n}\n ";
|
|
585
|
+
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 rating\n tags\n}\n ";
|
|
586
|
+
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 rating\n tags\n}\n ";
|
|
587
|
+
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 rating\n tags\n}\n ";
|
|
588
|
+
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 rating\n tags\n}\n ";
|
|
589
|
+
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 rating\n tags\n}\n ";
|
|
590
|
+
export declare const OnTicketClosedDocument = "\n subscription onTicketClosed {\n onTicketClosed {\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 rating\n tags\n}\n ";
|
|
589
591
|
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 ";
|
|
590
592
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
591
593
|
export declare function getSdk<C>(requester: Requester<C>): {
|
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.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsClosedDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsInQueueDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.RemoveDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketClosedDocument = exports.OnTicketInProgressMineDocument = exports.OnTicketInQueueDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsClosedDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsInQueueDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.RemoveDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = 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";
|
|
@@ -123,6 +123,25 @@ exports.TicketFragmentDoc = `
|
|
|
123
123
|
${exports.DrozChatAgentFragmentDoc}
|
|
124
124
|
${exports.CustomerFragmentDoc}
|
|
125
125
|
${exports.TicketTriggerAppFragmentDoc}`;
|
|
126
|
+
exports.SessionAttributesFragmentDoc = `
|
|
127
|
+
fragment sessionAttributes on TicketSessionAttributes {
|
|
128
|
+
organization
|
|
129
|
+
source
|
|
130
|
+
order
|
|
131
|
+
products
|
|
132
|
+
rating
|
|
133
|
+
tags
|
|
134
|
+
}
|
|
135
|
+
`;
|
|
136
|
+
exports.TicketWithSessionFragmentDoc = `
|
|
137
|
+
fragment ticketWithSession on Ticket {
|
|
138
|
+
...ticket
|
|
139
|
+
sessionAttributes {
|
|
140
|
+
...sessionAttributes
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
${exports.TicketFragmentDoc}
|
|
144
|
+
${exports.SessionAttributesFragmentDoc}`;
|
|
126
145
|
exports.TicketMessageFragmentDoc = `
|
|
127
146
|
fragment ticketMessage on TicketMessage {
|
|
128
147
|
id
|
|
@@ -138,16 +157,6 @@ exports.TicketMessageFragmentDoc = `
|
|
|
138
157
|
updatedAt
|
|
139
158
|
}
|
|
140
159
|
`;
|
|
141
|
-
exports.SessionAttributesFragmentDoc = `
|
|
142
|
-
fragment sessionAttributes on TicketSessionAttributes {
|
|
143
|
-
organization
|
|
144
|
-
source
|
|
145
|
-
order
|
|
146
|
-
products
|
|
147
|
-
rating
|
|
148
|
-
tags
|
|
149
|
-
}
|
|
150
|
-
`;
|
|
151
160
|
exports.GetDrozChatChannelDocument = `
|
|
152
161
|
query getDrozChatChannel($id: ID!) {
|
|
153
162
|
getDrozChatChannel(id: $id) {
|
|
@@ -186,14 +195,10 @@ exports.RemoveDrozChatChannelDocument = `
|
|
|
186
195
|
exports.GetTicketDocument = `
|
|
187
196
|
query getTicket($id: ID!) {
|
|
188
197
|
getTicket(id: $id) {
|
|
189
|
-
...
|
|
190
|
-
sessionAttributes {
|
|
191
|
-
...sessionAttributes
|
|
192
|
-
}
|
|
198
|
+
...ticketWithSession
|
|
193
199
|
}
|
|
194
200
|
}
|
|
195
|
-
${exports.
|
|
196
|
-
${exports.SessionAttributesFragmentDoc}`;
|
|
201
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
197
202
|
exports.ListTicketsDocument = `
|
|
198
203
|
query listTickets($state: TicketState!, $assigneeId: ID, $next: Base64) {
|
|
199
204
|
listTickets(state: $state, assigneeId: $assigneeId, next: $next) {
|
|
@@ -262,10 +267,10 @@ exports.ListTicketMessagesDocument = `
|
|
|
262
267
|
exports.CreateTicketDocument = `
|
|
263
268
|
mutation createTicket($input: CreateTicketInput!) {
|
|
264
269
|
createTicket(input: $input) {
|
|
265
|
-
...
|
|
270
|
+
...ticketWithSession
|
|
266
271
|
}
|
|
267
272
|
}
|
|
268
|
-
${exports.
|
|
273
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
269
274
|
exports.MarkTicketMessagesAsReadDocument = `
|
|
270
275
|
mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {
|
|
271
276
|
markTicketMessagesAsRead(input: $input)
|
|
@@ -288,61 +293,61 @@ exports.CreateTicketMessageForStorageDocument = `
|
|
|
288
293
|
exports.AssignTicketDocument = `
|
|
289
294
|
mutation assignTicket($input: AssignTicketInput!) {
|
|
290
295
|
assignTicket(input: $input) {
|
|
291
|
-
...
|
|
296
|
+
...ticketWithSession
|
|
292
297
|
}
|
|
293
298
|
}
|
|
294
|
-
${exports.
|
|
299
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
295
300
|
exports.AssignTicketMyselfDocument = `
|
|
296
301
|
mutation assignTicketMyself($input: AssignTicketMyselfInput!) {
|
|
297
302
|
assignTicketMyself(input: $input) {
|
|
298
|
-
...
|
|
303
|
+
...ticketWithSession
|
|
299
304
|
}
|
|
300
305
|
}
|
|
301
|
-
${exports.
|
|
306
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
302
307
|
exports.UnassignTicketDocument = `
|
|
303
308
|
mutation unassignTicket($input: UnassignTicketInput!) {
|
|
304
309
|
unassignTicket(input: $input) {
|
|
305
|
-
...
|
|
310
|
+
...ticketWithSession
|
|
306
311
|
}
|
|
307
312
|
}
|
|
308
|
-
${exports.
|
|
313
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
309
314
|
exports.CloseTicketDocument = `
|
|
310
315
|
mutation closeTicket($input: CloseTicketInput!) {
|
|
311
316
|
closeTicket(input: $input) {
|
|
312
|
-
...
|
|
317
|
+
...ticketWithSession
|
|
313
318
|
}
|
|
314
319
|
}
|
|
315
|
-
${exports.
|
|
320
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
316
321
|
exports.OnTicketInQueueDocument = `
|
|
317
322
|
subscription onTicketInQueue {
|
|
318
323
|
onTicketInQueue {
|
|
319
324
|
ticket {
|
|
320
|
-
...
|
|
325
|
+
...ticketWithSession
|
|
321
326
|
}
|
|
322
327
|
action
|
|
323
328
|
}
|
|
324
329
|
}
|
|
325
|
-
${exports.
|
|
330
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
326
331
|
exports.OnTicketInProgressMineDocument = `
|
|
327
332
|
subscription onTicketInProgressMine {
|
|
328
333
|
onTicketInProgressMine {
|
|
329
334
|
ticket {
|
|
330
|
-
...
|
|
335
|
+
...ticketWithSession
|
|
331
336
|
}
|
|
332
337
|
action
|
|
333
338
|
}
|
|
334
339
|
}
|
|
335
|
-
${exports.
|
|
340
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
336
341
|
exports.OnTicketClosedDocument = `
|
|
337
342
|
subscription onTicketClosed {
|
|
338
343
|
onTicketClosed {
|
|
339
344
|
ticket {
|
|
340
|
-
...
|
|
345
|
+
...ticketWithSession
|
|
341
346
|
}
|
|
342
347
|
action
|
|
343
348
|
}
|
|
344
349
|
}
|
|
345
|
-
${exports.
|
|
350
|
+
${exports.TicketWithSessionFragmentDoc}`;
|
|
346
351
|
exports.OnTicketMessageDocument = `
|
|
347
352
|
subscription onTicketMessage($ticketId: ID!) {
|
|
348
353
|
onTicketMessage(ticketId: $ticketId) {
|
|
@@ -95,6 +95,7 @@ export type CreateReclameAquiInstanceInput = {
|
|
|
95
95
|
companyId: Scalars['String']['input'];
|
|
96
96
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
97
97
|
name: Scalars['String']['input'];
|
|
98
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
98
99
|
};
|
|
99
100
|
export type ForceReSyncReclameAquiTicketInput = {
|
|
100
101
|
instanceId: Scalars['ID']['input'];
|
|
@@ -160,6 +161,7 @@ export type ReclameAquiInstance = {
|
|
|
160
161
|
id: Scalars['ID']['output'];
|
|
161
162
|
name: Scalars['String']['output'];
|
|
162
163
|
status?: Maybe<AppInstanceStatus>;
|
|
164
|
+
tags: Array<Scalars['String']['output']>;
|
|
163
165
|
updatedAt: Scalars['DateTime']['output'];
|
|
164
166
|
};
|
|
165
167
|
export type ReclameAquiModerationReason = {
|
|
@@ -199,8 +201,9 @@ export type UpdateReclameAquiInstanceInput = {
|
|
|
199
201
|
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
200
202
|
id: Scalars['ID']['input'];
|
|
201
203
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
204
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
202
205
|
};
|
|
203
|
-
export type ReclameAquiInstanceFragment = Pick<ReclameAquiInstance, 'id' | 'name' | 'credentialId' | 'companyId' | 'cronJobId' | 'status' | 'failingReason' | 'createdAt' | 'updatedAt'>;
|
|
206
|
+
export type ReclameAquiInstanceFragment = Pick<ReclameAquiInstance, 'id' | 'name' | 'credentialId' | 'companyId' | 'cronJobId' | 'status' | 'failingReason' | 'tags' | 'createdAt' | 'updatedAt'>;
|
|
204
207
|
export type GetReclameAquiInstanceQueryVariables = Exact<{
|
|
205
208
|
id: Scalars['ID']['input'];
|
|
206
209
|
}>;
|
|
@@ -259,14 +262,14 @@ export type ForceReSyncReclameAquiTicketMutationVariables = Exact<{
|
|
|
259
262
|
input: ForceReSyncReclameAquiTicketInput;
|
|
260
263
|
}>;
|
|
261
264
|
export type ForceReSyncReclameAquiTicketMutation = Pick<Mutation, 'forceReSyncReclameAquiTicket'>;
|
|
262
|
-
export declare const ReclameAquiInstanceFragmentDoc = "\n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
263
|
-
export declare const GetReclameAquiInstanceDocument = "\n query getReclameAquiInstance($id: ID!) {\n getReclameAquiInstance(id: $id) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
264
|
-
export declare const ListReclameAquiInstancesDocument = "\n query listReclameAquiInstances {\n listReclameAquiInstances {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
265
|
+
export declare const ReclameAquiInstanceFragmentDoc = "\n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
266
|
+
export declare const GetReclameAquiInstanceDocument = "\n query getReclameAquiInstance($id: ID!) {\n getReclameAquiInstance(id: $id) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
267
|
+
export declare const ListReclameAquiInstancesDocument = "\n query listReclameAquiInstances {\n listReclameAquiInstances {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
265
268
|
export declare const ListReclameAquiCompaniesDocument = "\n query listReclameAquiCompanies($credentialId: ID!) {\n listReclameAquiCompanies(credentialId: $credentialId) {\n companyId\n name\n }\n}\n ";
|
|
266
269
|
export declare const ListReclameAquiModerationReasonsDocument = "\n query listReclameAquiModerationReasons {\n listReclameAquiModerationReasons {\n code\n description\n }\n}\n ";
|
|
267
|
-
export declare const CreateReclameAquiInstanceDocument = "\n mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {\n createReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
268
|
-
export declare const UpdateReclameAquiInstanceDocument = "\n mutation updateReclameAquiInstance($input: UpdateReclameAquiInstanceInput!) {\n updateReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
269
|
-
export declare const RemoveReclameAquiInstanceDocument = "\n mutation removeReclameAquiInstance($input: RemoveReclameAquiInstanceInput!) {\n removeReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
270
|
+
export declare const CreateReclameAquiInstanceDocument = "\n mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {\n createReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
271
|
+
export declare const UpdateReclameAquiInstanceDocument = "\n mutation updateReclameAquiInstance($input: UpdateReclameAquiInstanceInput!) {\n updateReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
272
|
+
export declare const RemoveReclameAquiInstanceDocument = "\n mutation removeReclameAquiInstance($input: RemoveReclameAquiInstanceInput!) {\n removeReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";
|
|
270
273
|
export declare const SendReclameAquiModerationRequestDocument = "\n mutation sendReclameAquiModerationRequest($input: SendReclameAquiModerationRequestInput!) {\n sendReclameAquiModerationRequest(input: $input) {\n success\n }\n}\n ";
|
|
271
274
|
export declare const RequestReclameAquiTicketEvaluationDocument = "\n mutation requestReclameAquiTicketEvaluation($input: RequestReclameAquiTicketEvaluationInput!) {\n requestReclameAquiTicketEvaluation(input: $input) {\n success\n }\n}\n ";
|
|
272
275
|
export declare const ForceReSyncReclameAquiTicketDocument = "\n mutation forceReSyncReclameAquiTicket($input: ForceReSyncReclameAquiTicketInput!) {\n forceReSyncReclameAquiTicket(input: $input)\n}\n ";
|