@droz-js/sdk 0.8.7 → 0.8.8
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 +3 -0
- package/src/sdks/drozanalytics.d.ts +274 -0
- package/src/sdks/drozanalytics.js +54 -0
- package/src/sdks/drozcommons.d.ts +30 -12
- package/src/sdks/drozcommons.js +14 -2
- package/src/sdks/zendesk.d.ts +8 -0
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -49,6 +49,9 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
49
49
|
batchDeploy(variables: import("./sdks/drozcommons").Exact<{
|
|
50
50
|
input: import("./sdks/drozcommons").BatchDeployInput;
|
|
51
51
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").BatchDeployMutation>;
|
|
52
|
+
updateGlobalSecrets(variables: import("./sdks/drozcommons").Exact<{
|
|
53
|
+
input: import("./sdks/drozcommons").UpdateGlobalSecretsInput;
|
|
54
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateGlobalSecretsMutation>;
|
|
52
55
|
listServices(variables: import("./sdks/drozcommons").Exact<{
|
|
53
56
|
tenantId: import("./sdks/drozcommons").Scalars["ID"]["input"];
|
|
54
57
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListServicesQuery>;
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export type Maybe<T> = T;
|
|
2
|
+
export type InputMaybe<T> = T;
|
|
3
|
+
export type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
export type MakeEmpty<T extends {
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}, K extends keyof T> = {
|
|
17
|
+
[_ in K]?: never;
|
|
18
|
+
};
|
|
19
|
+
export type Incremental<T> = T | {
|
|
20
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
+
};
|
|
22
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
|
+
export type Scalars = {
|
|
24
|
+
ID: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
String: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
Boolean: {
|
|
33
|
+
input: boolean;
|
|
34
|
+
output: boolean;
|
|
35
|
+
};
|
|
36
|
+
Int: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
Float: {
|
|
41
|
+
input: number;
|
|
42
|
+
output: number;
|
|
43
|
+
};
|
|
44
|
+
Base64: {
|
|
45
|
+
input: object;
|
|
46
|
+
output: string;
|
|
47
|
+
};
|
|
48
|
+
CountryCode: {
|
|
49
|
+
input: string;
|
|
50
|
+
output: string;
|
|
51
|
+
};
|
|
52
|
+
Currency: {
|
|
53
|
+
input: string;
|
|
54
|
+
output: string;
|
|
55
|
+
};
|
|
56
|
+
DRN: {
|
|
57
|
+
input: string;
|
|
58
|
+
output: string;
|
|
59
|
+
};
|
|
60
|
+
Date: {
|
|
61
|
+
input: Date;
|
|
62
|
+
output: Date;
|
|
63
|
+
};
|
|
64
|
+
DateTime: {
|
|
65
|
+
input: Date;
|
|
66
|
+
output: Date;
|
|
67
|
+
};
|
|
68
|
+
EmailAddress: {
|
|
69
|
+
input: string;
|
|
70
|
+
output: string;
|
|
71
|
+
};
|
|
72
|
+
IPAddress: {
|
|
73
|
+
input: string;
|
|
74
|
+
output: string;
|
|
75
|
+
};
|
|
76
|
+
JSON: {
|
|
77
|
+
input: any;
|
|
78
|
+
output: any;
|
|
79
|
+
};
|
|
80
|
+
JSONObject: {
|
|
81
|
+
input: any;
|
|
82
|
+
output: any;
|
|
83
|
+
};
|
|
84
|
+
Locale: {
|
|
85
|
+
input: string;
|
|
86
|
+
output: string;
|
|
87
|
+
};
|
|
88
|
+
Number: {
|
|
89
|
+
input: string | number;
|
|
90
|
+
output: number;
|
|
91
|
+
};
|
|
92
|
+
PhoneNumber: {
|
|
93
|
+
input: string;
|
|
94
|
+
output: string;
|
|
95
|
+
};
|
|
96
|
+
Set: {
|
|
97
|
+
input: any;
|
|
98
|
+
output: any[];
|
|
99
|
+
};
|
|
100
|
+
Tag: {
|
|
101
|
+
input: string;
|
|
102
|
+
output: string;
|
|
103
|
+
};
|
|
104
|
+
TenantId: {
|
|
105
|
+
input: string;
|
|
106
|
+
output: string;
|
|
107
|
+
};
|
|
108
|
+
Timezone: {
|
|
109
|
+
input: string;
|
|
110
|
+
output: string;
|
|
111
|
+
};
|
|
112
|
+
URL: {
|
|
113
|
+
input: string;
|
|
114
|
+
output: string;
|
|
115
|
+
};
|
|
116
|
+
VariableName: {
|
|
117
|
+
input: string;
|
|
118
|
+
output: string;
|
|
119
|
+
};
|
|
120
|
+
Void: {
|
|
121
|
+
input: void;
|
|
122
|
+
output: void;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export type AgentInfo = {
|
|
126
|
+
id: Scalars['ID']['output'];
|
|
127
|
+
name: Scalars['String']['output'];
|
|
128
|
+
picture?: Maybe<Scalars['String']['output']>;
|
|
129
|
+
};
|
|
130
|
+
export type AnalyticsAverage = {
|
|
131
|
+
current: Scalars['Float']['output'];
|
|
132
|
+
delta?: Maybe<Scalars['Float']['output']>;
|
|
133
|
+
previous: Scalars['Float']['output'];
|
|
134
|
+
};
|
|
135
|
+
export type AnalyticsChart = {
|
|
136
|
+
current: Scalars['Float']['output'];
|
|
137
|
+
delta?: Maybe<Scalars['Float']['output']>;
|
|
138
|
+
name: Scalars['String']['output'];
|
|
139
|
+
previous: Scalars['Float']['output'];
|
|
140
|
+
};
|
|
141
|
+
export declare enum AppInstanceStatus {
|
|
142
|
+
Active = "Active",
|
|
143
|
+
Failing = "Failing",
|
|
144
|
+
Inactive = "Inactive"
|
|
145
|
+
}
|
|
146
|
+
export declare enum Can {
|
|
147
|
+
Manage = "manage",
|
|
148
|
+
Read = "read",
|
|
149
|
+
Remove = "remove",
|
|
150
|
+
Write = "write"
|
|
151
|
+
}
|
|
152
|
+
export type I18nText = {
|
|
153
|
+
lang: Scalars['Locale']['output'];
|
|
154
|
+
value: Scalars['String']['output'];
|
|
155
|
+
};
|
|
156
|
+
export type I18nTextInput = {
|
|
157
|
+
lang: Scalars['Locale']['input'];
|
|
158
|
+
value: Scalars['String']['input'];
|
|
159
|
+
};
|
|
160
|
+
export type Mutation = {
|
|
161
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
162
|
+
};
|
|
163
|
+
export type NumberMatcher = {
|
|
164
|
+
btw?: Maybe<Array<Scalars['Number']['output']>>;
|
|
165
|
+
eq?: Maybe<Scalars['Number']['output']>;
|
|
166
|
+
gt?: Maybe<Scalars['Number']['output']>;
|
|
167
|
+
gte?: Maybe<Scalars['Number']['output']>;
|
|
168
|
+
lt?: Maybe<Scalars['Number']['output']>;
|
|
169
|
+
lte?: Maybe<Scalars['Number']['output']>;
|
|
170
|
+
ne?: Maybe<Scalars['Number']['output']>;
|
|
171
|
+
};
|
|
172
|
+
export type NumberMatcherInput = {
|
|
173
|
+
btw?: InputMaybe<Array<Scalars['Number']['input']>>;
|
|
174
|
+
eq?: InputMaybe<Scalars['Number']['input']>;
|
|
175
|
+
gt?: InputMaybe<Scalars['Number']['input']>;
|
|
176
|
+
gte?: InputMaybe<Scalars['Number']['input']>;
|
|
177
|
+
lt?: InputMaybe<Scalars['Number']['input']>;
|
|
178
|
+
lte?: InputMaybe<Scalars['Number']['input']>;
|
|
179
|
+
ne?: InputMaybe<Scalars['Number']['input']>;
|
|
180
|
+
};
|
|
181
|
+
export type PageInfo = {
|
|
182
|
+
hasNext: Scalars['Boolean']['output'];
|
|
183
|
+
next?: Maybe<Scalars['Base64']['output']>;
|
|
184
|
+
};
|
|
185
|
+
export type Query = {
|
|
186
|
+
app?: Maybe<Scalars['DRN']['output']>;
|
|
187
|
+
getFirstResponseTime?: Maybe<AnalyticsAverage>;
|
|
188
|
+
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
189
|
+
getTicketsByStatus?: Maybe<Array<Maybe<AnalyticsChart>>>;
|
|
190
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
191
|
+
};
|
|
192
|
+
export type QueryGetFirstResponseTimeArgs = {
|
|
193
|
+
endDate: Scalars['Date']['input'];
|
|
194
|
+
startDate: Scalars['Date']['input'];
|
|
195
|
+
};
|
|
196
|
+
export type QueryGetTicketsByStatusArgs = {
|
|
197
|
+
endDate: Scalars['Date']['input'];
|
|
198
|
+
startDate: Scalars['Date']['input'];
|
|
199
|
+
};
|
|
200
|
+
export type SearchResultsFacet = {
|
|
201
|
+
name: Scalars['String']['output'];
|
|
202
|
+
stats?: Maybe<SearchResultsFacetStats>;
|
|
203
|
+
values?: Maybe<Array<SearchResultsFacetValue>>;
|
|
204
|
+
};
|
|
205
|
+
export type SearchResultsFacetStats = {
|
|
206
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
207
|
+
min?: Maybe<Scalars['Float']['output']>;
|
|
208
|
+
};
|
|
209
|
+
export type SearchResultsFacetValue = {
|
|
210
|
+
count: Scalars['Float']['output'];
|
|
211
|
+
value: Scalars['String']['output'];
|
|
212
|
+
};
|
|
213
|
+
export type SearchResultsStats = {
|
|
214
|
+
found: Scalars['Float']['output'];
|
|
215
|
+
outOf: Scalars['Float']['output'];
|
|
216
|
+
page: Scalars['Float']['output'];
|
|
217
|
+
perPage: Scalars['Float']['output'];
|
|
218
|
+
searchTime: Scalars['Float']['output'];
|
|
219
|
+
totalPages: Scalars['Float']['output'];
|
|
220
|
+
};
|
|
221
|
+
export type StringMatcher = {
|
|
222
|
+
btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
223
|
+
ct?: Maybe<Scalars['String']['output']>;
|
|
224
|
+
cti?: Maybe<Scalars['String']['output']>;
|
|
225
|
+
eq?: Maybe<Scalars['String']['output']>;
|
|
226
|
+
eqi?: Maybe<Scalars['String']['output']>;
|
|
227
|
+
gt?: Maybe<Scalars['String']['output']>;
|
|
228
|
+
gte?: Maybe<Scalars['String']['output']>;
|
|
229
|
+
in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
230
|
+
lt?: Maybe<Scalars['String']['output']>;
|
|
231
|
+
lte?: Maybe<Scalars['String']['output']>;
|
|
232
|
+
ne?: Maybe<Scalars['String']['output']>;
|
|
233
|
+
};
|
|
234
|
+
export type StringMatcherInput = {
|
|
235
|
+
btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
236
|
+
ct?: InputMaybe<Scalars['String']['input']>;
|
|
237
|
+
cti?: InputMaybe<Scalars['String']['input']>;
|
|
238
|
+
eq?: InputMaybe<Scalars['String']['input']>;
|
|
239
|
+
eqi?: InputMaybe<Scalars['String']['input']>;
|
|
240
|
+
gt?: InputMaybe<Scalars['String']['input']>;
|
|
241
|
+
gte?: InputMaybe<Scalars['String']['input']>;
|
|
242
|
+
in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
243
|
+
lt?: InputMaybe<Scalars['String']['input']>;
|
|
244
|
+
lte?: InputMaybe<Scalars['String']['input']>;
|
|
245
|
+
ne?: InputMaybe<Scalars['String']['input']>;
|
|
246
|
+
};
|
|
247
|
+
export declare enum Typenames {
|
|
248
|
+
Any = "Any",
|
|
249
|
+
GraphqlConnections = "GraphqlConnections",
|
|
250
|
+
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
251
|
+
}
|
|
252
|
+
export type GetFirstResponseTimeQueryVariables = Exact<{
|
|
253
|
+
startDate: Scalars['Date']['input'];
|
|
254
|
+
endDate: Scalars['Date']['input'];
|
|
255
|
+
}>;
|
|
256
|
+
export type GetFirstResponseTimeQuery = {
|
|
257
|
+
getFirstResponseTime?: Maybe<Pick<AnalyticsAverage, 'current' | 'previous' | 'delta'>>;
|
|
258
|
+
};
|
|
259
|
+
export type GetTicketsByStatusQueryVariables = Exact<{
|
|
260
|
+
startDate: Scalars['Date']['input'];
|
|
261
|
+
endDate: Scalars['Date']['input'];
|
|
262
|
+
}>;
|
|
263
|
+
export type GetTicketsByStatusQuery = {
|
|
264
|
+
getTicketsByStatus?: Maybe<Array<Maybe<Pick<AnalyticsChart, 'name' | 'current' | 'previous' | 'delta'>>>>;
|
|
265
|
+
};
|
|
266
|
+
export declare const GetFirstResponseTimeDocument = "\n query getFirstResponseTime($startDate: Date!, $endDate: Date!) {\n getFirstResponseTime(startDate: $startDate, endDate: $endDate) {\n current\n previous\n delta\n }\n}\n ";
|
|
267
|
+
export declare const GetTicketsByStatusDocument = "\n query getTicketsByStatus($startDate: Date!, $endDate: Date!) {\n getTicketsByStatus(startDate: $startDate, endDate: $endDate) {\n name\n current\n previous\n delta\n }\n}\n ";
|
|
268
|
+
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
269
|
+
export declare function getSdk<C>(requester: Requester<C>): {
|
|
270
|
+
getFirstResponseTime(variables: GetFirstResponseTimeQueryVariables, options?: C): Promise<GetFirstResponseTimeQuery>;
|
|
271
|
+
getTicketsByStatus(variables: GetTicketsByStatusQueryVariables, options?: C): Promise<GetTicketsByStatusQuery>;
|
|
272
|
+
};
|
|
273
|
+
export type Sdk = ReturnType<typeof getSdk>;
|
|
274
|
+
export declare const serviceName = "@droz/drozanalytics";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.serviceName = exports.GetTicketsByStatusDocument = exports.GetFirstResponseTimeDocument = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.getSdk = getSdk;
|
|
6
|
+
var AppInstanceStatus;
|
|
7
|
+
(function (AppInstanceStatus) {
|
|
8
|
+
AppInstanceStatus["Active"] = "Active";
|
|
9
|
+
AppInstanceStatus["Failing"] = "Failing";
|
|
10
|
+
AppInstanceStatus["Inactive"] = "Inactive";
|
|
11
|
+
})(AppInstanceStatus || (exports.AppInstanceStatus = AppInstanceStatus = {}));
|
|
12
|
+
var Can;
|
|
13
|
+
(function (Can) {
|
|
14
|
+
Can["Manage"] = "manage";
|
|
15
|
+
Can["Read"] = "read";
|
|
16
|
+
Can["Remove"] = "remove";
|
|
17
|
+
Can["Write"] = "write";
|
|
18
|
+
})(Can || (exports.Can = Can = {}));
|
|
19
|
+
var Typenames;
|
|
20
|
+
(function (Typenames) {
|
|
21
|
+
Typenames["Any"] = "Any";
|
|
22
|
+
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
23
|
+
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
24
|
+
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
25
|
+
exports.GetFirstResponseTimeDocument = `
|
|
26
|
+
query getFirstResponseTime($startDate: Date!, $endDate: Date!) {
|
|
27
|
+
getFirstResponseTime(startDate: $startDate, endDate: $endDate) {
|
|
28
|
+
current
|
|
29
|
+
previous
|
|
30
|
+
delta
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
exports.GetTicketsByStatusDocument = `
|
|
35
|
+
query getTicketsByStatus($startDate: Date!, $endDate: Date!) {
|
|
36
|
+
getTicketsByStatus(startDate: $startDate, endDate: $endDate) {
|
|
37
|
+
name
|
|
38
|
+
current
|
|
39
|
+
previous
|
|
40
|
+
delta
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
function getSdk(requester) {
|
|
45
|
+
return {
|
|
46
|
+
getFirstResponseTime(variables, options) {
|
|
47
|
+
return requester(exports.GetFirstResponseTimeDocument, variables, options);
|
|
48
|
+
},
|
|
49
|
+
getTicketsByStatus(variables, options) {
|
|
50
|
+
return requester(exports.GetTicketsByStatusDocument, variables, options);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.serviceName = '@droz/drozanalytics';
|
|
@@ -155,7 +155,6 @@ export type AwsAccount = {
|
|
|
155
155
|
};
|
|
156
156
|
export type AwsAccountParameters = {
|
|
157
157
|
administrativeApiSecret?: Maybe<Scalars['String']['output']>;
|
|
158
|
-
analyticsJwtSignKey?: Maybe<Scalars['String']['output']>;
|
|
159
158
|
mercadoLivreClientId?: Maybe<Scalars['String']['output']>;
|
|
160
159
|
mercadoLivreClientSecret?: Maybe<Scalars['String']['output']>;
|
|
161
160
|
metaAppId?: Maybe<Scalars['String']['output']>;
|
|
@@ -245,6 +244,9 @@ export type GitRepository = {
|
|
|
245
244
|
id: Scalars['ID']['output'];
|
|
246
245
|
name: Scalars['String']['output'];
|
|
247
246
|
};
|
|
247
|
+
export type GlobalSecrets = {
|
|
248
|
+
crossServiceJwtSignKey?: Maybe<Scalars['String']['output']>;
|
|
249
|
+
};
|
|
248
250
|
export type I18nText = {
|
|
249
251
|
lang: Scalars['Locale']['output'];
|
|
250
252
|
value: Scalars['String']['output'];
|
|
@@ -264,6 +266,7 @@ export type Mutation = {
|
|
|
264
266
|
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>;
|
|
265
267
|
removeTenant: Tenant;
|
|
266
268
|
updateAccountParameters: AwsAccount;
|
|
269
|
+
updateGlobalSecrets: GlobalSecrets;
|
|
267
270
|
updateTenant: Tenant;
|
|
268
271
|
version?: Maybe<Scalars['String']['output']>;
|
|
269
272
|
};
|
|
@@ -288,6 +291,9 @@ export type MutationRemoveTenantArgs = {
|
|
|
288
291
|
export type MutationUpdateAccountParametersArgs = {
|
|
289
292
|
input: UpdateAccountParametersInput;
|
|
290
293
|
};
|
|
294
|
+
export type MutationUpdateGlobalSecretsArgs = {
|
|
295
|
+
input: UpdateGlobalSecretsInput;
|
|
296
|
+
};
|
|
291
297
|
export type MutationUpdateTenantArgs = {
|
|
292
298
|
input: UpdateTenantInput;
|
|
293
299
|
};
|
|
@@ -434,6 +440,7 @@ export type Tenant = {
|
|
|
434
440
|
deployedVersions?: Maybe<Scalars['JSON']['output']>;
|
|
435
441
|
deployments: Array<Deployment>;
|
|
436
442
|
disabled?: Maybe<Scalars['Boolean']['output']>;
|
|
443
|
+
globalSecrets?: Maybe<GlobalSecrets>;
|
|
437
444
|
name?: Maybe<Scalars['String']['output']>;
|
|
438
445
|
region: Scalars['String']['output'];
|
|
439
446
|
services: Array<Maybe<Service>>;
|
|
@@ -451,7 +458,6 @@ export declare enum Typenames {
|
|
|
451
458
|
}
|
|
452
459
|
export type UpdateAccountParametersInput = {
|
|
453
460
|
administrativeApiSecret?: InputMaybe<Scalars['String']['input']>;
|
|
454
|
-
analyticsJwtSignKey?: InputMaybe<Scalars['String']['input']>;
|
|
455
461
|
id: Scalars['ID']['input'];
|
|
456
462
|
mercadoLivreClientId?: InputMaybe<Scalars['String']['input']>;
|
|
457
463
|
mercadoLivreClientSecret?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -465,6 +471,9 @@ export type UpdateAccountParametersInput = {
|
|
|
465
471
|
typesenseApiKey?: InputMaybe<Scalars['String']['input']>;
|
|
466
472
|
typesenseNodes?: InputMaybe<Scalars['String']['input']>;
|
|
467
473
|
};
|
|
474
|
+
export type UpdateGlobalSecretsInput = {
|
|
475
|
+
crossServiceJwtSignKey?: InputMaybe<Scalars['String']['input']>;
|
|
476
|
+
};
|
|
468
477
|
export type UpdateTenantInput = {
|
|
469
478
|
billing?: InputMaybe<TenantBillingInput>;
|
|
470
479
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -472,7 +481,7 @@ export type UpdateTenantInput = {
|
|
|
472
481
|
};
|
|
473
482
|
export type AwsAccountFragment = (Pick<AwsAccount, 'id' | 'name' | 'tenantsCount'> & {
|
|
474
483
|
availableRegions: Array<RegionFragment>;
|
|
475
|
-
parameters: Pick<AwsAccountParameters, 'administrativeApiSecret' | 'typesenseNodes' | 'typesenseApiKey' | 'openAIApiKey' | 'metaAppId' | 'metaClientSecret' | 'metaConfigurationId' | 'metaWebhookVerificationToken' | 'metaSystemUserId' | 'metaSystemUserToken' | 'mercadoLivreClientId' | 'mercadoLivreClientSecret'
|
|
484
|
+
parameters: Pick<AwsAccountParameters, 'administrativeApiSecret' | 'typesenseNodes' | 'typesenseApiKey' | 'openAIApiKey' | 'metaAppId' | 'metaClientSecret' | 'metaConfigurationId' | 'metaWebhookVerificationToken' | 'metaSystemUserId' | 'metaSystemUserToken' | 'mercadoLivreClientId' | 'mercadoLivreClientSecret'>;
|
|
476
485
|
});
|
|
477
486
|
export type RegionFragment = Pick<Region, 'name'>;
|
|
478
487
|
export type ListAccountsQueryVariables = Exact<{
|
|
@@ -565,6 +574,12 @@ export type BatchDeployMutationVariables = Exact<{
|
|
|
565
574
|
export type BatchDeployMutation = {
|
|
566
575
|
batchDeploy: Array<DeploymentFragment>;
|
|
567
576
|
};
|
|
577
|
+
export type UpdateGlobalSecretsMutationVariables = Exact<{
|
|
578
|
+
input: UpdateGlobalSecretsInput;
|
|
579
|
+
}>;
|
|
580
|
+
export type UpdateGlobalSecretsMutation = {
|
|
581
|
+
updateGlobalSecrets: Pick<GlobalSecrets, 'crossServiceJwtSignKey'>;
|
|
582
|
+
};
|
|
568
583
|
export type ServiceFragment = Pick<Service, 'accountId' | 'tenantId' | 'serviceId' | 'type' | 'endpoint'>;
|
|
569
584
|
export type ListServicesQueryVariables = Exact<{
|
|
570
585
|
tenantId: Scalars['ID']['input'];
|
|
@@ -578,6 +593,7 @@ export type TenantFragment = (Pick<Tenant, 'accountId' | 'tenantId' | 'name' | '
|
|
|
578
593
|
automate?: Maybe<Pick<AutomateBilling, 'isEnabled'>>;
|
|
579
594
|
}>;
|
|
580
595
|
account: Pick<AwsAccount, 'id' | 'name'>;
|
|
596
|
+
globalSecrets?: Maybe<Pick<GlobalSecrets, 'crossServiceJwtSignKey'>>;
|
|
581
597
|
});
|
|
582
598
|
export type GetTenantQueryVariables = Exact<{
|
|
583
599
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -628,15 +644,15 @@ export type JoinTenantAsSuperAdminMutationVariables = Exact<{
|
|
|
628
644
|
}>;
|
|
629
645
|
export type JoinTenantAsSuperAdminMutation = Pick<Mutation, 'joinTenantAsSuperAdmin'>;
|
|
630
646
|
export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n ";
|
|
631
|
-
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n
|
|
647
|
+
export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n ";
|
|
632
648
|
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 ";
|
|
633
649
|
export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
634
650
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n ";
|
|
635
651
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
636
|
-
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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
637
|
-
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 administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n
|
|
652
|
+
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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
653
|
+
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 administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
638
654
|
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
639
|
-
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 administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n
|
|
655
|
+
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 administrativeApiSecret\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n metaSystemUserId\n metaSystemUserToken\n mercadoLivreClientId\n mercadoLivreClientSecret\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
640
656
|
export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n ";
|
|
641
657
|
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 ";
|
|
642
658
|
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\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
@@ -647,13 +663,14 @@ export declare const DeploymentLogsDocument = "\n query deploymentLogs($tenan
|
|
|
647
663
|
export declare const DeployDocument = "\n mutation deploy($input: DeployInput!) {\n deploy(input: $input) {\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 ";
|
|
648
664
|
export declare const DestroyDocument = "\n mutation destroy($input: DestroyInput!) {\n destroy(input: $input) {\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 ";
|
|
649
665
|
export declare const BatchDeployDocument = "\n mutation batchDeploy($input: BatchDeployInput!) {\n batchDeploy(input: $input) {\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 ";
|
|
666
|
+
export declare const UpdateGlobalSecretsDocument = "\n mutation updateGlobalSecrets($input: UpdateGlobalSecretsInput!) {\n updateGlobalSecrets(input: $input) {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
650
667
|
export declare const ListServicesDocument = "\n query listServices($tenantId: ID!) {\n listServices(tenantId: $tenantId) {\n ...service\n }\n}\n \n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
651
|
-
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\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 ";
|
|
652
|
-
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\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 ";
|
|
668
|
+
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\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 ";
|
|
669
|
+
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\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 ";
|
|
653
670
|
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n ";
|
|
654
|
-
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
655
|
-
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
656
|
-
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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n}\n ";
|
|
671
|
+
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
672
|
+
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
673
|
+
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 automate {\n isEnabled\n }\n }\n account {\n id\n name\n }\n globalSecrets {\n crossServiceJwtSignKey\n }\n}\n ";
|
|
657
674
|
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n ";
|
|
658
675
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
659
676
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
@@ -670,6 +687,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
670
687
|
deploy(variables: DeployMutationVariables, options?: C): Promise<DeployMutation>;
|
|
671
688
|
destroy(variables: DestroyMutationVariables, options?: C): Promise<DestroyMutation>;
|
|
672
689
|
batchDeploy(variables: BatchDeployMutationVariables, options?: C): Promise<BatchDeployMutation>;
|
|
690
|
+
updateGlobalSecrets(variables: UpdateGlobalSecretsMutationVariables, options?: C): Promise<UpdateGlobalSecretsMutation>;
|
|
673
691
|
listServices(variables: ListServicesQueryVariables, options?: C): Promise<ListServicesQuery>;
|
|
674
692
|
getTenant(variables: GetTenantQueryVariables, options?: C): Promise<GetTenantQuery>;
|
|
675
693
|
listTenants(variables?: ListTenantsQueryVariables, options?: C): Promise<ListTenantsQuery>;
|
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.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = 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.Can = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.UpdateGlobalSecretsDocument = 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.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
exports.getSdk = getSdk;
|
|
6
6
|
var AppInstanceStatus;
|
|
7
7
|
(function (AppInstanceStatus) {
|
|
@@ -60,7 +60,6 @@ exports.AwsAccountFragmentDoc = `
|
|
|
60
60
|
metaSystemUserToken
|
|
61
61
|
mercadoLivreClientId
|
|
62
62
|
mercadoLivreClientSecret
|
|
63
|
-
analyticsJwtSignKey
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
`;
|
|
@@ -122,6 +121,9 @@ exports.TenantFragmentDoc = `
|
|
|
122
121
|
id
|
|
123
122
|
name
|
|
124
123
|
}
|
|
124
|
+
globalSecrets {
|
|
125
|
+
crossServiceJwtSignKey
|
|
126
|
+
}
|
|
125
127
|
}
|
|
126
128
|
`;
|
|
127
129
|
exports.ListAccountsDocument = `
|
|
@@ -233,6 +235,13 @@ exports.BatchDeployDocument = `
|
|
|
233
235
|
}
|
|
234
236
|
}
|
|
235
237
|
${exports.DeploymentFragmentDoc}`;
|
|
238
|
+
exports.UpdateGlobalSecretsDocument = `
|
|
239
|
+
mutation updateGlobalSecrets($input: UpdateGlobalSecretsInput!) {
|
|
240
|
+
updateGlobalSecrets(input: $input) {
|
|
241
|
+
crossServiceJwtSignKey
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
`;
|
|
236
245
|
exports.ListServicesDocument = `
|
|
237
246
|
query listServices($tenantId: ID!) {
|
|
238
247
|
listServices(tenantId: $tenantId) {
|
|
@@ -342,6 +351,9 @@ function getSdk(requester) {
|
|
|
342
351
|
batchDeploy(variables, options) {
|
|
343
352
|
return requester(exports.BatchDeployDocument, variables, options);
|
|
344
353
|
},
|
|
354
|
+
updateGlobalSecrets(variables, options) {
|
|
355
|
+
return requester(exports.UpdateGlobalSecretsDocument, variables, options);
|
|
356
|
+
},
|
|
345
357
|
listServices(variables, options) {
|
|
346
358
|
return requester(exports.ListServicesDocument, variables, options);
|
|
347
359
|
},
|
package/src/sdks/zendesk.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export type I18nTextInput = {
|
|
|
156
156
|
};
|
|
157
157
|
export type Mutation = {
|
|
158
158
|
createZendeskInstance?: Maybe<ZendeskInstance>;
|
|
159
|
+
reSyncZendeskInstance?: Maybe<Scalars['Number']['output']>;
|
|
159
160
|
removeZendeskInstance?: Maybe<ZendeskInstance>;
|
|
160
161
|
updateZendeskInstance?: Maybe<ZendeskInstance>;
|
|
161
162
|
validateZendeskInstance: ValidateZendeskInstancePayload;
|
|
@@ -164,6 +165,9 @@ export type Mutation = {
|
|
|
164
165
|
export type MutationCreateZendeskInstanceArgs = {
|
|
165
166
|
input: CreateZendeskInstanceInput;
|
|
166
167
|
};
|
|
168
|
+
export type MutationReSyncZendeskInstanceArgs = {
|
|
169
|
+
input: ReSyncZendeskInstanceInput;
|
|
170
|
+
};
|
|
167
171
|
export type MutationRemoveZendeskInstanceArgs = {
|
|
168
172
|
input: RemoveZendeskInstanceInput;
|
|
169
173
|
};
|
|
@@ -224,6 +228,10 @@ export type QueryListZendeskTicketCustomFieldsArgs = {
|
|
|
224
228
|
credentialId: Scalars['ID']['input'];
|
|
225
229
|
domain: Scalars['String']['input'];
|
|
226
230
|
};
|
|
231
|
+
export type ReSyncZendeskInstanceInput = {
|
|
232
|
+
instanceId: Scalars['ID']['input'];
|
|
233
|
+
startAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
234
|
+
};
|
|
227
235
|
export type RemoveZendeskInstanceInput = {
|
|
228
236
|
id: Scalars['ID']['input'];
|
|
229
237
|
};
|