@droz-js/sdk 0.5.14 → 0.5.16
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/drozadmin.d.ts +9 -6
- package/src/drozchat-ws.d.ts +9 -0
- package/src/drozchat.d.ts +9 -0
- package/src/sdks/drozchat.d.ts +57 -0
- package/src/sdks/drozchat.js +45 -1
- package/src/sdks/drozcommons.d.ts +46 -20
- package/src/sdks/drozcommons.js +50 -33
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -6,18 +6,21 @@ export declare const DrozAdmin: new (options?: import("./client/http").HttpClien
|
|
|
6
6
|
withCustomHeaders(headers: () => Record<string, string>): any;
|
|
7
7
|
withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): any;
|
|
8
8
|
} & {
|
|
9
|
-
getAmplifyConfig(variables?: import("./sdks/drozcommons").Exact<{
|
|
10
|
-
forDev?: boolean;
|
|
11
|
-
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetAmplifyConfigQuery>;
|
|
12
|
-
getAuthInfo(variables?: import("./sdks/drozcommons").Exact<{
|
|
13
|
-
[key: string]: never;
|
|
14
|
-
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetAuthInfoQuery>;
|
|
15
9
|
listAccounts(variables?: import("./sdks/drozcommons").Exact<{
|
|
16
10
|
[key: string]: never;
|
|
17
11
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListAccountsQuery>;
|
|
18
12
|
listRegions(variables?: import("./sdks/drozcommons").Exact<{
|
|
19
13
|
[key: string]: never;
|
|
20
14
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListRegionsQuery>;
|
|
15
|
+
updateAccountParameters(variables: import("./sdks/drozcommons").Exact<{
|
|
16
|
+
input: import("./sdks/drozcommons").UpdateAccountParametersInput;
|
|
17
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateAccountParametersMutation>;
|
|
18
|
+
getAmplifyConfig(variables?: import("./sdks/drozcommons").Exact<{
|
|
19
|
+
forDev?: boolean;
|
|
20
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetAmplifyConfigQuery>;
|
|
21
|
+
getAuthInfo(variables?: import("./sdks/drozcommons").Exact<{
|
|
22
|
+
[key: string]: never;
|
|
23
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetAuthInfoQuery>;
|
|
21
24
|
listGitRepositories(variables?: import("./sdks/drozcommons").Exact<{
|
|
22
25
|
[key: string]: never;
|
|
23
26
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListGitRepositoriesQuery>;
|
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -30,6 +30,15 @@ export declare const DrozChatWs: new () => {
|
|
|
30
30
|
removeDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{
|
|
31
31
|
input: import("./sdks/drozchat").RemoveDrozChatChannelAgentInput;
|
|
32
32
|
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelAgentMutation>;
|
|
33
|
+
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
34
|
+
next?: object;
|
|
35
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
|
36
|
+
createTags(variables: import("./sdks/drozchat").Exact<{
|
|
37
|
+
input: import("./sdks/drozchat").CreateTagInput;
|
|
38
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTagsMutation>;
|
|
39
|
+
deleteTags(variables: import("./sdks/drozchat").Exact<{
|
|
40
|
+
input: import("./sdks/drozchat").DeleteTagInput;
|
|
41
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTagsMutation>;
|
|
33
42
|
getTicket(variables: import("./sdks/drozchat").Exact<{
|
|
34
43
|
id: string;
|
|
35
44
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetTicketQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -33,6 +33,15 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
|
|
|
33
33
|
removeDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{
|
|
34
34
|
input: import("./sdks/drozchat").RemoveDrozChatChannelAgentInput;
|
|
35
35
|
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelAgentMutation>;
|
|
36
|
+
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
37
|
+
next?: object;
|
|
38
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
|
39
|
+
createTags(variables: import("./sdks/drozchat").Exact<{
|
|
40
|
+
input: import("./sdks/drozchat").CreateTagInput;
|
|
41
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateTagsMutation>;
|
|
42
|
+
deleteTags(variables: import("./sdks/drozchat").Exact<{
|
|
43
|
+
input: import("./sdks/drozchat").DeleteTagInput;
|
|
44
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteTagsMutation>;
|
|
36
45
|
getTicket(variables: import("./sdks/drozchat").Exact<{
|
|
37
46
|
id: string;
|
|
38
47
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetTicketQuery>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -108,6 +108,9 @@ export type CloseTicketInput = {
|
|
|
108
108
|
export type CreateDrozChatChannelInput = {
|
|
109
109
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
110
110
|
};
|
|
111
|
+
export type CreateTagInput = {
|
|
112
|
+
tags: Array<Scalars['String']['input']>;
|
|
113
|
+
};
|
|
111
114
|
export type CreateTicketInput = {
|
|
112
115
|
channelId: Scalars['ID']['input'];
|
|
113
116
|
customerId: Scalars['ID']['input'];
|
|
@@ -124,6 +127,9 @@ export type CreateTicketMessageInput = {
|
|
|
124
127
|
contentType: Scalars['String']['input'];
|
|
125
128
|
ticketId: Scalars['ID']['input'];
|
|
126
129
|
};
|
|
130
|
+
export type DeleteTagInput = {
|
|
131
|
+
tags: Array<Scalars['String']['input']>;
|
|
132
|
+
};
|
|
127
133
|
export type DisableDrozChatChannelInput = {
|
|
128
134
|
id: Scalars['ID']['input'];
|
|
129
135
|
};
|
|
@@ -162,9 +168,11 @@ export type Mutation = {
|
|
|
162
168
|
assignTicketMyself: Ticket;
|
|
163
169
|
closeTicket: Ticket;
|
|
164
170
|
createDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
171
|
+
createTags: Array<Tag>;
|
|
165
172
|
createTicket: Ticket;
|
|
166
173
|
createTicketMessage: TicketMessage;
|
|
167
174
|
createTicketMessageForStorage: TicketMessage;
|
|
175
|
+
deleteTags: Array<Tag>;
|
|
168
176
|
disableDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
169
177
|
enableDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
170
178
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
@@ -189,6 +197,9 @@ export type MutationCloseTicketArgs = {
|
|
|
189
197
|
export type MutationCreateDrozChatChannelArgs = {
|
|
190
198
|
input: CreateDrozChatChannelInput;
|
|
191
199
|
};
|
|
200
|
+
export type MutationCreateTagsArgs = {
|
|
201
|
+
input: CreateTagInput;
|
|
202
|
+
};
|
|
192
203
|
export type MutationCreateTicketArgs = {
|
|
193
204
|
input: CreateTicketInput;
|
|
194
205
|
};
|
|
@@ -198,6 +209,9 @@ export type MutationCreateTicketMessageArgs = {
|
|
|
198
209
|
export type MutationCreateTicketMessageForStorageArgs = {
|
|
199
210
|
input: CreateTicketMessageForStorageInput;
|
|
200
211
|
};
|
|
212
|
+
export type MutationDeleteTagsArgs = {
|
|
213
|
+
input: DeleteTagInput;
|
|
214
|
+
};
|
|
201
215
|
export type MutationDisableDrozChatChannelArgs = {
|
|
202
216
|
input: DisableDrozChatChannelInput;
|
|
203
217
|
};
|
|
@@ -231,6 +245,7 @@ export type Query = {
|
|
|
231
245
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
232
246
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
233
247
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
248
|
+
listTags: TagsConnection;
|
|
234
249
|
listTicketMessages: TicketMessagesConnection;
|
|
235
250
|
listTickets: TicketsConnection;
|
|
236
251
|
listTicketsInProgressMine: TicketsConnection;
|
|
@@ -245,6 +260,9 @@ export type QueryGetTicketArgs = {
|
|
|
245
260
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
246
261
|
agentId: Scalars['ID']['input'];
|
|
247
262
|
};
|
|
263
|
+
export type QueryListTagsArgs = {
|
|
264
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
265
|
+
};
|
|
248
266
|
export type QueryListTicketMessagesArgs = {
|
|
249
267
|
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
250
268
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
@@ -280,6 +298,15 @@ export declare enum SubscriptionAction {
|
|
|
280
298
|
Removed = "REMOVED",
|
|
281
299
|
Updated = "UPDATED"
|
|
282
300
|
}
|
|
301
|
+
export type Tag = {
|
|
302
|
+
createdAt: Scalars['DateTime']['output'];
|
|
303
|
+
name: Scalars['String']['output'];
|
|
304
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
305
|
+
};
|
|
306
|
+
export type TagsConnection = {
|
|
307
|
+
nodes: Array<Tag>;
|
|
308
|
+
pageInfo: PageInfo;
|
|
309
|
+
};
|
|
283
310
|
export type Ticket = {
|
|
284
311
|
assignee?: Maybe<DrozChatAgent>;
|
|
285
312
|
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
@@ -395,6 +422,7 @@ export declare enum Typenames {
|
|
|
395
422
|
Channels = "Channels",
|
|
396
423
|
GraphqlConnections = "GraphqlConnections",
|
|
397
424
|
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
425
|
+
Tags = "Tags",
|
|
398
426
|
TicketMappings = "TicketMappings",
|
|
399
427
|
TicketMessages = "TicketMessages",
|
|
400
428
|
Tickets = "Tickets"
|
|
@@ -461,6 +489,28 @@ export type RemoveDrozChatChannelAgentMutationVariables = Exact<{
|
|
|
461
489
|
export type RemoveDrozChatChannelAgentMutation = {
|
|
462
490
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannelFragment>;
|
|
463
491
|
};
|
|
492
|
+
export type TagFragment = Pick<Tag, 'name' | 'createdAt' | 'updatedAt'>;
|
|
493
|
+
export type ListTagsQueryVariables = Exact<{
|
|
494
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
495
|
+
}>;
|
|
496
|
+
export type ListTagsQuery = {
|
|
497
|
+
listTags: {
|
|
498
|
+
nodes: Array<TagFragment>;
|
|
499
|
+
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
export type CreateTagsMutationVariables = Exact<{
|
|
503
|
+
input: CreateTagInput;
|
|
504
|
+
}>;
|
|
505
|
+
export type CreateTagsMutation = {
|
|
506
|
+
createTags: Array<TagFragment>;
|
|
507
|
+
};
|
|
508
|
+
export type DeleteTagsMutationVariables = Exact<{
|
|
509
|
+
input: DeleteTagInput;
|
|
510
|
+
}>;
|
|
511
|
+
export type DeleteTagsMutation = {
|
|
512
|
+
deleteTags: Array<TagFragment>;
|
|
513
|
+
};
|
|
464
514
|
export type CustomerFragment = Pick<DrozChatCustomer, 'id' | 'name' | 'email' | 'phone' | 'document' | 'createdAt' | 'updatedAt'>;
|
|
465
515
|
export type DrozChatAgentFragment = Pick<DrozChatAgent, 'id' | 'name'>;
|
|
466
516
|
export type TicketTriggerAppFragment = (Pick<TicketTriggerApp, 'drn' | 'name' | 'appId' | 'appName' | 'appColor'> & {
|
|
@@ -591,6 +641,7 @@ export type OnTicketMessageSubscription = {
|
|
|
591
641
|
message: TicketMessageFragment;
|
|
592
642
|
});
|
|
593
643
|
};
|
|
644
|
+
export declare const TagFragmentDoc = "\n fragment tag on Tag {\n name\n createdAt\n updatedAt\n}\n ";
|
|
594
645
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
595
646
|
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 ";
|
|
596
647
|
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 ";
|
|
@@ -608,6 +659,9 @@ export declare const DisableDrozChatChannelDocument = "\n mutation disableDro
|
|
|
608
659
|
export declare const EnableDrozChatChannelDocument = "\n mutation enableDrozChatChannel($input: EnableDrozChatChannelInput!) {\n enableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
609
660
|
export declare const AddDrozChatChannelAgentDocument = "\n mutation addDrozChatChannelAgent($input: AddDrozChatChannelAgentInput!) {\n addDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
610
661
|
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 ";
|
|
662
|
+
export declare const ListTagsDocument = "\n query listTags($next: Base64) {\n listTags(next: $next) {\n nodes {\n ...tag\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment tag on Tag {\n name\n createdAt\n updatedAt\n}\n ";
|
|
663
|
+
export declare const CreateTagsDocument = "\n mutation createTags($input: CreateTagInput!) {\n createTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdAt\n updatedAt\n}\n ";
|
|
664
|
+
export declare const DeleteTagsDocument = "\n mutation deleteTags($input: DeleteTagInput!) {\n deleteTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdAt\n updatedAt\n}\n ";
|
|
611
665
|
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 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}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
612
666
|
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n externalProviderId\n externalId\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\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}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
613
667
|
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 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}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
@@ -635,6 +689,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
635
689
|
enableDrozChatChannel(variables: EnableDrozChatChannelMutationVariables, options?: C): Promise<EnableDrozChatChannelMutation>;
|
|
636
690
|
addDrozChatChannelAgent(variables: AddDrozChatChannelAgentMutationVariables, options?: C): Promise<AddDrozChatChannelAgentMutation>;
|
|
637
691
|
removeDrozChatChannelAgent(variables: RemoveDrozChatChannelAgentMutationVariables, options?: C): Promise<RemoveDrozChatChannelAgentMutation>;
|
|
692
|
+
listTags(variables?: ListTagsQueryVariables, options?: C): Promise<ListTagsQuery>;
|
|
693
|
+
createTags(variables: CreateTagsMutationVariables, options?: C): Promise<CreateTagsMutation>;
|
|
694
|
+
deleteTags(variables: DeleteTagsMutationVariables, options?: C): Promise<DeleteTagsMutation>;
|
|
638
695
|
getTicket(variables: GetTicketQueryVariables, options?: C): Promise<GetTicketQuery>;
|
|
639
696
|
listTickets(variables: ListTicketsQueryVariables, options?: C): Promise<ListTicketsQuery>;
|
|
640
697
|
listTicketsInProgressMine(variables?: ListTicketsInProgressMineQueryVariables, options?: C): Promise<ListTicketsInProgressMineQuery>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.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.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.TagFragmentDoc = 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";
|
|
@@ -49,10 +49,18 @@ var Typenames;
|
|
|
49
49
|
Typenames["Channels"] = "Channels";
|
|
50
50
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
51
51
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
52
|
+
Typenames["Tags"] = "Tags";
|
|
52
53
|
Typenames["TicketMappings"] = "TicketMappings";
|
|
53
54
|
Typenames["TicketMessages"] = "TicketMessages";
|
|
54
55
|
Typenames["Tickets"] = "Tickets";
|
|
55
56
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
57
|
+
exports.TagFragmentDoc = `
|
|
58
|
+
fragment tag on Tag {
|
|
59
|
+
name
|
|
60
|
+
createdAt
|
|
61
|
+
updatedAt
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
56
64
|
exports.DrozChatAgentFragmentDoc = `
|
|
57
65
|
fragment drozChatAgent on DrozChatAgent {
|
|
58
66
|
id
|
|
@@ -225,6 +233,33 @@ exports.RemoveDrozChatChannelAgentDocument = `
|
|
|
225
233
|
}
|
|
226
234
|
}
|
|
227
235
|
${exports.DrozChatChannelFragmentDoc}`;
|
|
236
|
+
exports.ListTagsDocument = `
|
|
237
|
+
query listTags($next: Base64) {
|
|
238
|
+
listTags(next: $next) {
|
|
239
|
+
nodes {
|
|
240
|
+
...tag
|
|
241
|
+
}
|
|
242
|
+
pageInfo {
|
|
243
|
+
hasNext
|
|
244
|
+
next
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
${exports.TagFragmentDoc}`;
|
|
249
|
+
exports.CreateTagsDocument = `
|
|
250
|
+
mutation createTags($input: CreateTagInput!) {
|
|
251
|
+
createTags(input: $input) {
|
|
252
|
+
...tag
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
${exports.TagFragmentDoc}`;
|
|
256
|
+
exports.DeleteTagsDocument = `
|
|
257
|
+
mutation deleteTags($input: DeleteTagInput!) {
|
|
258
|
+
deleteTags(input: $input) {
|
|
259
|
+
...tag
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
${exports.TagFragmentDoc}`;
|
|
228
263
|
exports.GetTicketDocument = `
|
|
229
264
|
query getTicket($id: ID!) {
|
|
230
265
|
getTicket(id: $id) {
|
|
@@ -396,6 +431,15 @@ function getSdk(requester) {
|
|
|
396
431
|
removeDrozChatChannelAgent(variables, options) {
|
|
397
432
|
return requester(exports.RemoveDrozChatChannelAgentDocument, variables, options);
|
|
398
433
|
},
|
|
434
|
+
listTags(variables, options) {
|
|
435
|
+
return requester(exports.ListTagsDocument, variables, options);
|
|
436
|
+
},
|
|
437
|
+
createTags(variables, options) {
|
|
438
|
+
return requester(exports.CreateTagsDocument, variables, options);
|
|
439
|
+
},
|
|
440
|
+
deleteTags(variables, options) {
|
|
441
|
+
return requester(exports.DeleteTagsDocument, variables, options);
|
|
442
|
+
},
|
|
399
443
|
getTicket(variables, options) {
|
|
400
444
|
return requester(exports.GetTicketDocument, variables, options);
|
|
401
445
|
},
|
|
@@ -99,11 +99,17 @@ export type AuthInfo = {
|
|
|
99
99
|
logoutUrl: Scalars['String']['output'];
|
|
100
100
|
};
|
|
101
101
|
export type AwsAccount = {
|
|
102
|
+
availableRegions: Array<Region>;
|
|
102
103
|
id: Scalars['ID']['output'];
|
|
103
104
|
name: Scalars['String']['output'];
|
|
105
|
+
parameters: AwsAccountParameters;
|
|
104
106
|
tenants: Array<Maybe<Tenant>>;
|
|
105
107
|
tenantsCount: Scalars['Int']['output'];
|
|
106
108
|
};
|
|
109
|
+
export type AwsAccountParameters = {
|
|
110
|
+
typesenseApiKey?: Maybe<Scalars['String']['output']>;
|
|
111
|
+
typesenseNodes?: Maybe<Scalars['String']['output']>;
|
|
112
|
+
};
|
|
107
113
|
export type BatchDeployInput = {
|
|
108
114
|
branch: Scalars['String']['input'];
|
|
109
115
|
gitRepository: Scalars['String']['input'];
|
|
@@ -180,6 +186,7 @@ export type Mutation = {
|
|
|
180
186
|
deploy: Deployment;
|
|
181
187
|
destroy: Deployment;
|
|
182
188
|
removeTenant: Tenant;
|
|
189
|
+
updateAccountParameters: AwsAccount;
|
|
183
190
|
updateTenant: Tenant;
|
|
184
191
|
version?: Maybe<Scalars['String']['output']>;
|
|
185
192
|
};
|
|
@@ -198,6 +205,9 @@ export type MutationDestroyArgs = {
|
|
|
198
205
|
export type MutationRemoveTenantArgs = {
|
|
199
206
|
input: RemoveTenantInput;
|
|
200
207
|
};
|
|
208
|
+
export type MutationUpdateAccountParametersArgs = {
|
|
209
|
+
input: UpdateAccountParametersInput;
|
|
210
|
+
};
|
|
201
211
|
export type MutationUpdateTenantArgs = {
|
|
202
212
|
input: UpdateTenantInput;
|
|
203
213
|
};
|
|
@@ -288,11 +298,39 @@ export declare enum Typenames {
|
|
|
288
298
|
GraphqlConnections = "GraphqlConnections",
|
|
289
299
|
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
290
300
|
}
|
|
301
|
+
export type UpdateAccountParametersInput = {
|
|
302
|
+
id: Scalars['ID']['input'];
|
|
303
|
+
typesenseApiKey?: InputMaybe<Scalars['String']['input']>;
|
|
304
|
+
typesenseNodes?: InputMaybe<Scalars['String']['input']>;
|
|
305
|
+
};
|
|
291
306
|
export type UpdateTenantInput = {
|
|
292
307
|
billing?: InputMaybe<TenantBillingInput>;
|
|
293
308
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
294
309
|
tenantId: Scalars['ID']['input'];
|
|
295
310
|
};
|
|
311
|
+
export type AwsAccountFragment = (Pick<AwsAccount, 'id' | 'name' | 'tenantsCount'> & {
|
|
312
|
+
availableRegions: Array<RegionFragment>;
|
|
313
|
+
parameters: Pick<AwsAccountParameters, 'typesenseNodes' | 'typesenseApiKey'>;
|
|
314
|
+
});
|
|
315
|
+
export type RegionFragment = Pick<Region, 'name'>;
|
|
316
|
+
export type ListAccountsQueryVariables = Exact<{
|
|
317
|
+
[key: string]: never;
|
|
318
|
+
}>;
|
|
319
|
+
export type ListAccountsQuery = {
|
|
320
|
+
listAccounts: Array<AwsAccountFragment>;
|
|
321
|
+
};
|
|
322
|
+
export type ListRegionsQueryVariables = Exact<{
|
|
323
|
+
[key: string]: never;
|
|
324
|
+
}>;
|
|
325
|
+
export type ListRegionsQuery = {
|
|
326
|
+
listRegions: Array<RegionFragment>;
|
|
327
|
+
};
|
|
328
|
+
export type UpdateAccountParametersMutationVariables = Exact<{
|
|
329
|
+
input: UpdateAccountParametersInput;
|
|
330
|
+
}>;
|
|
331
|
+
export type UpdateAccountParametersMutation = {
|
|
332
|
+
updateAccountParameters: AwsAccountFragment;
|
|
333
|
+
};
|
|
296
334
|
export type GetAmplifyConfigQueryVariables = Exact<{
|
|
297
335
|
forDev?: InputMaybe<Scalars['Boolean']['input']>;
|
|
298
336
|
}>;
|
|
@@ -310,20 +348,6 @@ export type GitRepositoryFragment = (Pick<GitRepository, 'id' | 'name'> & {
|
|
|
310
348
|
branches: Array<GitBranchFragment>;
|
|
311
349
|
});
|
|
312
350
|
export type GitBranchFragment = Pick<GitBranch, 'name'>;
|
|
313
|
-
export type AwsAccountFragment = Pick<AwsAccount, 'id' | 'name' | 'tenantsCount'>;
|
|
314
|
-
export type RegionFragment = Pick<Region, 'name'>;
|
|
315
|
-
export type ListAccountsQueryVariables = Exact<{
|
|
316
|
-
[key: string]: never;
|
|
317
|
-
}>;
|
|
318
|
-
export type ListAccountsQuery = {
|
|
319
|
-
listAccounts: Array<AwsAccountFragment>;
|
|
320
|
-
};
|
|
321
|
-
export type ListRegionsQueryVariables = Exact<{
|
|
322
|
-
[key: string]: never;
|
|
323
|
-
}>;
|
|
324
|
-
export type ListRegionsQuery = {
|
|
325
|
-
listRegions: Array<RegionFragment>;
|
|
326
|
-
};
|
|
327
351
|
export type ListGitRepositoriesQueryVariables = Exact<{
|
|
328
352
|
[key: string]: never;
|
|
329
353
|
}>;
|
|
@@ -431,17 +455,18 @@ export type RemoveTenantMutationVariables = Exact<{
|
|
|
431
455
|
export type RemoveTenantMutation = {
|
|
432
456
|
removeTenant: TenantFragment;
|
|
433
457
|
};
|
|
458
|
+
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n ";
|
|
459
|
+
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
434
460
|
export declare const DeploymentFragmentDoc = "\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
435
461
|
export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
436
462
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
437
|
-
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n ";
|
|
438
|
-
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n ";
|
|
439
463
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
440
464
|
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
465
|
+
export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
466
|
+
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
467
|
+
export declare const UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
441
468
|
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n ";
|
|
442
469
|
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 ";
|
|
443
|
-
export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n}\n ";
|
|
444
|
-
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
445
470
|
export declare const ListGitRepositoriesDocument = "\n query listGitRepositories {\n listGitRepositories {\n ...gitRepository\n }\n}\n \n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
446
471
|
export declare const ListGitBranchesDocument = "\n query listGitBranches($gitRepositoryId: ID!) {\n listGitBranches(gitRepositoryId: $gitRepositoryId) {\n name\n }\n}\n ";
|
|
447
472
|
export declare const GetDeploymentDocument = "\n query getDeployment($tenantId: ID!, $deploymentId: ID!) {\n getDeployment(tenantId: $tenantId, deploymentId: $deploymentId) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
|
|
@@ -458,10 +483,11 @@ export declare const UpdateTenantDocument = "\n mutation updateTenant($input:
|
|
|
458
483
|
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
459
484
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
460
485
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
461
|
-
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>;
|
|
462
|
-
getAuthInfo(variables?: GetAuthInfoQueryVariables, options?: C): Promise<GetAuthInfoQuery>;
|
|
463
486
|
listAccounts(variables?: ListAccountsQueryVariables, options?: C): Promise<ListAccountsQuery>;
|
|
464
487
|
listRegions(variables?: ListRegionsQueryVariables, options?: C): Promise<ListRegionsQuery>;
|
|
488
|
+
updateAccountParameters(variables: UpdateAccountParametersMutationVariables, options?: C): Promise<UpdateAccountParametersMutation>;
|
|
489
|
+
getAmplifyConfig(variables?: GetAmplifyConfigQueryVariables, options?: C): Promise<GetAmplifyConfigQuery>;
|
|
490
|
+
getAuthInfo(variables?: GetAuthInfoQueryVariables, options?: C): Promise<GetAuthInfoQuery>;
|
|
465
491
|
listGitRepositories(variables?: ListGitRepositoriesQueryVariables, options?: C): Promise<ListGitRepositoriesQuery>;
|
|
466
492
|
listGitBranches(variables: ListGitBranchesQueryVariables, options?: C): Promise<ListGitBranchesQuery>;
|
|
467
493
|
getDeployment(variables: GetDeploymentQueryVariables, options?: C): Promise<GetDeploymentQuery>;
|
package/src/sdks/drozcommons.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.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UpdateAccountParametersDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.DeploymentStatus = exports.DeploymentCommands = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -26,6 +26,25 @@ var Typenames;
|
|
|
26
26
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
27
27
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
28
28
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
29
|
+
exports.RegionFragmentDoc = `
|
|
30
|
+
fragment region on Region {
|
|
31
|
+
name
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
exports.AwsAccountFragmentDoc = `
|
|
35
|
+
fragment awsAccount on AwsAccount {
|
|
36
|
+
id
|
|
37
|
+
name
|
|
38
|
+
tenantsCount
|
|
39
|
+
availableRegions {
|
|
40
|
+
...region
|
|
41
|
+
}
|
|
42
|
+
parameters {
|
|
43
|
+
typesenseNodes
|
|
44
|
+
typesenseApiKey
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
${exports.RegionFragmentDoc}`;
|
|
29
48
|
exports.DeploymentFragmentDoc = `
|
|
30
49
|
fragment deployment on Deployment {
|
|
31
50
|
id
|
|
@@ -54,18 +73,6 @@ exports.GitRepositoryFragmentDoc = `
|
|
|
54
73
|
}
|
|
55
74
|
}
|
|
56
75
|
${exports.GitBranchFragmentDoc}`;
|
|
57
|
-
exports.AwsAccountFragmentDoc = `
|
|
58
|
-
fragment awsAccount on AwsAccount {
|
|
59
|
-
id
|
|
60
|
-
name
|
|
61
|
-
tenantsCount
|
|
62
|
-
}
|
|
63
|
-
`;
|
|
64
|
-
exports.RegionFragmentDoc = `
|
|
65
|
-
fragment region on Region {
|
|
66
|
-
name
|
|
67
|
-
}
|
|
68
|
-
`;
|
|
69
76
|
exports.ServiceFragmentDoc = `
|
|
70
77
|
fragment service on Service {
|
|
71
78
|
accountId
|
|
@@ -95,6 +102,27 @@ exports.TenantFragmentDoc = `
|
|
|
95
102
|
}
|
|
96
103
|
}
|
|
97
104
|
`;
|
|
105
|
+
exports.ListAccountsDocument = `
|
|
106
|
+
query listAccounts {
|
|
107
|
+
listAccounts {
|
|
108
|
+
...awsAccount
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
${exports.AwsAccountFragmentDoc}`;
|
|
112
|
+
exports.ListRegionsDocument = `
|
|
113
|
+
query listRegions {
|
|
114
|
+
listRegions {
|
|
115
|
+
...region
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
${exports.RegionFragmentDoc}`;
|
|
119
|
+
exports.UpdateAccountParametersDocument = `
|
|
120
|
+
mutation updateAccountParameters($input: UpdateAccountParametersInput!) {
|
|
121
|
+
updateAccountParameters(input: $input) {
|
|
122
|
+
...awsAccount
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
${exports.AwsAccountFragmentDoc}`;
|
|
98
126
|
exports.GetAmplifyConfigDocument = `
|
|
99
127
|
query getAmplifyConfig($forDev: Boolean) {
|
|
100
128
|
amplifyConfig(forDev: $forDev)
|
|
@@ -115,20 +143,6 @@ exports.GetAuthInfoDocument = `
|
|
|
115
143
|
}
|
|
116
144
|
}
|
|
117
145
|
`;
|
|
118
|
-
exports.ListAccountsDocument = `
|
|
119
|
-
query listAccounts {
|
|
120
|
-
listAccounts {
|
|
121
|
-
...awsAccount
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
${exports.AwsAccountFragmentDoc}`;
|
|
125
|
-
exports.ListRegionsDocument = `
|
|
126
|
-
query listRegions {
|
|
127
|
-
listRegions {
|
|
128
|
-
...region
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
${exports.RegionFragmentDoc}`;
|
|
132
146
|
exports.ListGitRepositoriesDocument = `
|
|
133
147
|
query listGitRepositories {
|
|
134
148
|
listGitRepositories {
|
|
@@ -254,18 +268,21 @@ exports.RemoveTenantDocument = `
|
|
|
254
268
|
${exports.TenantFragmentDoc}`;
|
|
255
269
|
function getSdk(requester) {
|
|
256
270
|
return {
|
|
257
|
-
getAmplifyConfig(variables, options) {
|
|
258
|
-
return requester(exports.GetAmplifyConfigDocument, variables, options);
|
|
259
|
-
},
|
|
260
|
-
getAuthInfo(variables, options) {
|
|
261
|
-
return requester(exports.GetAuthInfoDocument, variables, options);
|
|
262
|
-
},
|
|
263
271
|
listAccounts(variables, options) {
|
|
264
272
|
return requester(exports.ListAccountsDocument, variables, options);
|
|
265
273
|
},
|
|
266
274
|
listRegions(variables, options) {
|
|
267
275
|
return requester(exports.ListRegionsDocument, variables, options);
|
|
268
276
|
},
|
|
277
|
+
updateAccountParameters(variables, options) {
|
|
278
|
+
return requester(exports.UpdateAccountParametersDocument, variables, options);
|
|
279
|
+
},
|
|
280
|
+
getAmplifyConfig(variables, options) {
|
|
281
|
+
return requester(exports.GetAmplifyConfigDocument, variables, options);
|
|
282
|
+
},
|
|
283
|
+
getAuthInfo(variables, options) {
|
|
284
|
+
return requester(exports.GetAuthInfoDocument, variables, options);
|
|
285
|
+
},
|
|
269
286
|
listGitRepositories(variables, options) {
|
|
270
287
|
return requester(exports.ListGitRepositoriesDocument, variables, options);
|
|
271
288
|
},
|