@droz-js/sdk 0.8.6 → 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/drozbase-ws.d.ts +3 -0
- package/src/drozbase.d.ts +3 -0
- package/src/sdks/drozanalytics.d.ts +274 -0
- package/src/sdks/drozanalytics.js +54 -0
- package/src/sdks/drozbase.d.ts +13 -0
- package/src/sdks/drozbase.js +17 -4
- 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>;
|
package/src/drozbase-ws.d.ts
CHANGED
|
@@ -347,6 +347,9 @@ declare const DrozBaseWs_base: new () => {
|
|
|
347
347
|
getDoc(variables: import("./sdks/drozbase").Exact<{
|
|
348
348
|
id: import("./sdks/drozbase").Scalars["ID"]["input"];
|
|
349
349
|
}>, options?: unknown): Promise<import("./sdks/drozbase").GetDocQuery>;
|
|
350
|
+
getDocByFilter(variables: import("./sdks/drozbase").Exact<{
|
|
351
|
+
filters: Array<import("./sdks/drozbase").ContentSearchFilterInput> | import("./sdks/drozbase").ContentSearchFilterInput;
|
|
352
|
+
}>, options?: unknown): Promise<import("./sdks/drozbase").GetDocByFilterQuery>;
|
|
350
353
|
getDocs(variables: import("./sdks/drozbase").Exact<{
|
|
351
354
|
parent: import("./sdks/drozbase").Scalars["ID"]["input"];
|
|
352
355
|
after?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
package/src/drozbase.d.ts
CHANGED
|
@@ -350,6 +350,9 @@ declare const DrozBase_base: new (options?: import("./client/http").HttpClientOp
|
|
|
350
350
|
getDoc(variables: import("./sdks/drozbase").Exact<{
|
|
351
351
|
id: import("./sdks/drozbase").Scalars["ID"]["input"];
|
|
352
352
|
}>, options?: unknown): Promise<import("./sdks/drozbase").GetDocQuery>;
|
|
353
|
+
getDocByFilter(variables: import("./sdks/drozbase").Exact<{
|
|
354
|
+
filters: Array<import("./sdks/drozbase").ContentSearchFilterInput> | import("./sdks/drozbase").ContentSearchFilterInput;
|
|
355
|
+
}>, options?: unknown): Promise<import("./sdks/drozbase").GetDocByFilterQuery>;
|
|
353
356
|
getDocs(variables: import("./sdks/drozbase").Exact<{
|
|
354
357
|
parent: import("./sdks/drozbase").Scalars["ID"]["input"];
|
|
355
358
|
after?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
@@ -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';
|
package/src/sdks/drozbase.d.ts
CHANGED
|
@@ -1850,6 +1850,7 @@ export type Query = {
|
|
|
1850
1850
|
discussion?: Maybe<Discussion>;
|
|
1851
1851
|
discussions?: Maybe<DiscussionsConnection>;
|
|
1852
1852
|
doc?: Maybe<DocOrDocVersion>;
|
|
1853
|
+
docByFilter?: Maybe<Doc>;
|
|
1853
1854
|
docContentAsMarkdown: Scalars['String']['output'];
|
|
1854
1855
|
docSettings?: Maybe<DocSettings>;
|
|
1855
1856
|
docVersions?: Maybe<DocVersionsConnection>;
|
|
@@ -2008,6 +2009,9 @@ export type QueryDiscussionsArgs = {
|
|
|
2008
2009
|
export type QueryDocArgs = {
|
|
2009
2010
|
id: Scalars['ID']['input'];
|
|
2010
2011
|
};
|
|
2012
|
+
export type QueryDocByFilterArgs = {
|
|
2013
|
+
filters?: InputMaybe<Array<ContentSearchFilterInput>>;
|
|
2014
|
+
};
|
|
2011
2015
|
export type QueryDocContentAsMarkdownArgs = {
|
|
2012
2016
|
id: Scalars['ID']['input'];
|
|
2013
2017
|
};
|
|
@@ -2189,6 +2193,7 @@ export type QuerySearchArgs = {
|
|
|
2189
2193
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
2190
2194
|
filters?: InputMaybe<Array<ContentSearchFilterInput>>;
|
|
2191
2195
|
highlight?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2196
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2192
2197
|
parent?: InputMaybe<Scalars['String']['input']>;
|
|
2193
2198
|
query?: InputMaybe<Scalars['String']['input']>;
|
|
2194
2199
|
sorting?: InputMaybe<SearchSorting>;
|
|
@@ -3937,6 +3942,12 @@ export type GetDocQuery = {
|
|
|
3937
3942
|
docSettings?: Maybe<DocSettingsFragment>;
|
|
3938
3943
|
doc?: Maybe<DocFragment | DocVersionFragment>;
|
|
3939
3944
|
};
|
|
3945
|
+
export type GetDocByFilterQueryVariables = Exact<{
|
|
3946
|
+
filters: Array<ContentSearchFilterInput> | ContentSearchFilterInput;
|
|
3947
|
+
}>;
|
|
3948
|
+
export type GetDocByFilterQuery = {
|
|
3949
|
+
docByFilter?: Maybe<DocFragment>;
|
|
3950
|
+
};
|
|
3940
3951
|
export type DocContentSettingsFragment = Pick<DocContentSettings, 'daysAfterPublishToRequireReview' | 'dateToRequireReview'>;
|
|
3941
3952
|
export type DocSettingsFragment = {
|
|
3942
3953
|
content?: Maybe<DocContentSettingsFragment>;
|
|
@@ -5287,6 +5298,7 @@ export declare const CreateDiscussionDocument = "\n mutation createDiscussion
|
|
|
5287
5298
|
export declare const UpdateDiscussionDocument = "\n mutation updateDiscussion($input: UpdateDiscussionInput!) {\n updateDiscussion(input: $input) {\n ...discussion\n }\n}\n \n fragment discussion on Discussion {\n id\n typename\n title\n content\n slug\n tags\n createdAt\n updatedAt\n replies\n edited\n parent\n authors {\n ...userInfo\n }\n reactions {\n ...reactions\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment reactions on ReactionsSummary {\n counts {\n positive1\n positive2\n positive3\n positive4\n positive5\n negative1\n negative2\n negative3\n negative4\n negative5\n total\n }\n mine\n}\n ";
|
|
5288
5299
|
export declare const RemoveDiscussionDocument = "\n mutation removeDiscussion($input: RemoveDiscussionInput!) {\n removeDiscussion(input: $input) {\n ...discussion\n }\n}\n \n fragment discussion on Discussion {\n id\n typename\n title\n content\n slug\n tags\n createdAt\n updatedAt\n replies\n edited\n parent\n authors {\n ...userInfo\n }\n reactions {\n ...reactions\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment reactions on ReactionsSummary {\n counts {\n positive1\n positive2\n positive3\n positive4\n positive5\n negative1\n negative2\n negative3\n negative4\n negative5\n total\n }\n mine\n}\n ";
|
|
5289
5300
|
export declare const GetDocDocument = "\n query getDoc($id: ID!) {\n trail(id: $id) {\n ...record\n }\n docSettings(id: $id, scopes: \"content\") {\n ...docSettings\n }\n doc(id: $id) {\n ...doc\n ...docVersion\n }\n}\n \n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment docSettings on DocSettings {\n content {\n ...docContentSettings\n }\n}\n \n\n fragment docContentSettings on DocContentSettings {\n daysAfterPublishToRequireReview\n dateToRequireReview\n}\n \n\n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment docVersion on DocVersion {\n id\n typename\n prefixCode\n title\n slug\n content\n tags\n createdAt\n updatedAt\n ttl\n toc\n showToc\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n status\n parentSymlinks\n features\n references\n diff {\n title\n content\n }\n approvalFlow {\n ...approvalFlowExecution\n }\n}\n \n\n fragment approvalFlowExecution on ApprovalFlowExecution {\n id\n status\n currentStepId\n flow {\n ...executableApprovalFlow\n }\n}\n \n\n fragment executableApprovalFlow on ExecutableApprovalFlow {\n id\n title\n steps {\n id\n status\n title\n approvers {\n ...subject\n }\n minimumApprovals\n approvals {\n ...userInfo\n }\n rejections {\n ...userInfo\n }\n autoProceedOnMinimumReached\n }\n}\n \n\n fragment subject on Subject {\n __typename\n ...userInfo\n ...group\n}\n \n\n fragment group on Group {\n groupName\n description\n precedence\n}\n ";
|
|
5301
|
+
export declare const GetDocByFilterDocument = "\n query getDocByFilter($filters: [ContentSearchFilterInput!]!) {\n docByFilter(filters: $filters) {\n ...doc\n }\n}\n \n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n ";
|
|
5290
5302
|
export declare const GetDocsDocument = "\n query getDocs($parent: ID!, $after: String, $limit: Int) {\n docs(parent: $parent, after: $after, limit: $limit) {\n nodes {\n ...doc\n }\n pageInfo {\n ...pageInfo\n }\n }\n}\n \n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment pageInfo on PageInfo {\n next\n hasNext\n}\n ";
|
|
5291
5303
|
export declare const GetDocVersionsDocument = "\n query getDocVersions($id: ID!, $after: String, $limit: Int) {\n docVersions(id: $id, after: $after, limit: $limit) {\n nodes {\n ...docVersionWithoutContent\n diff {\n title\n content\n }\n }\n pageInfo {\n ...pageInfo\n }\n }\n}\n \n fragment docVersionWithoutContent on DocVersion {\n id\n typename\n prefixCode\n title\n slug\n tags\n createdAt\n updatedAt\n ttl\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n status\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment pageInfo on PageInfo {\n next\n hasNext\n}\n ";
|
|
5292
5304
|
export declare const GetDocContentAsMarkdownDocument = "\n query getDocContentAsMarkdown($id: ID!) {\n docContentAsMarkdown(id: $id)\n}\n ";
|
|
@@ -5547,6 +5559,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
5547
5559
|
updateDiscussion(variables: UpdateDiscussionMutationVariables, options?: C): Promise<UpdateDiscussionMutation>;
|
|
5548
5560
|
removeDiscussion(variables: RemoveDiscussionMutationVariables, options?: C): Promise<RemoveDiscussionMutation>;
|
|
5549
5561
|
getDoc(variables: GetDocQueryVariables, options?: C): Promise<GetDocQuery>;
|
|
5562
|
+
getDocByFilter(variables: GetDocByFilterQueryVariables, options?: C): Promise<GetDocByFilterQuery>;
|
|
5550
5563
|
getDocs(variables: GetDocsQueryVariables, options?: C): Promise<GetDocsQuery>;
|
|
5551
5564
|
getDocVersions(variables: GetDocVersionsQueryVariables, options?: C): Promise<GetDocVersionsQuery>;
|
|
5552
5565
|
getDocContentAsMarkdown(variables: GetDocContentAsMarkdownQueryVariables, options?: C): Promise<GetDocContentAsMarkdownQuery>;
|
package/src/sdks/drozbase.js
CHANGED
|
@@ -5,10 +5,10 @@ exports.CourseQuizSettingsFragmentDoc = exports.CourseCertificateSettingsFragmen
|
|
|
5
5
|
exports.FacetsFragmentDoc = exports.SearchHitFragmentDoc = exports.FormFragmentDoc = exports.CourseFragmentDoc = exports.CourseWithoutContentFragmentDoc = exports.DocFragmentDoc = exports.StorageFragmentDoc = exports.SpaceFragmentDoc = exports.SpaceWithoutContentFragmentDoc = exports.PermissionFragmentDoc = exports.OrganizationSettingsGroupsFragmentDoc = exports.OrganizationSettingsGameFragmentDoc = exports.OrganizationSettingsSecurityFragmentDoc = exports.OrganizationSettingsThemeFragmentDoc = exports.OrganizationSettingsTypographyFragmentDoc = exports.TypographyStyleFragmentDoc = exports.OrganizationSettingsReactionsFragmentDoc = exports.OrganizationSettingsContentFragmentDoc = exports.OrganizationSettingsUsageFragmentDoc = exports.OrganizationSettingsLicenseFragmentDoc = exports.OrganizationSettingsInfoFragmentDoc = exports.EmailPreferencesFragmentDoc = exports.NotificationFragmentDoc = exports.IntegrationFragmentDoc = exports.GameUserPointsFragmentDoc = exports.UserResponseFragmentDoc = exports.SubmitEntryFeedbackFragmentDoc = exports.QuizEntriesFragmentDoc = exports.CheckboxFragmentDoc = exports.RadioboxFragmentDoc = exports.FeedbackFragmentDoc = exports.FormFieldResponseFragmentDoc = exports.FormResponseFragmentDoc = exports.FormWithSectionsFragmentDoc = exports.FormWithoutContentFragmentDoc = exports.DocWithoutContentFragmentDoc = exports.FormVersionFragmentDoc = exports.FormSectionFragmentDoc = exports.FormFieldFragmentDoc = exports.FormSectionWithoutContentFragmentDoc = exports.DocSettingsFragmentDoc = exports.DocContentSettingsFragmentDoc = exports.DocVersionWithoutContentFragmentDoc = exports.DocVersionForUpdateFragmentDoc = exports.DocVersionFragmentDoc = exports.DiscussionFragmentDoc = exports.ReactionsFragmentDoc = exports.CourseUserFragmentDoc = exports.CourseProgressInfoFragmentDoc = exports.SubmitCourseEntryFeedbackFragmentDoc = void 0;
|
|
6
6
|
exports.UpdateGroupDocument = exports.CreateGroupDocument = exports.ResetUserPasswordDocument = exports.UpdateUserNameDocument = exports.UpdateUserEmailDocument = exports.SetUserPasswordDocument = exports.DeleteUserDocument = exports.AddUserDocument = exports.UpdateProfileDocument = exports.GenerateImpersonateTokenDocument = exports.UsersCsvDocument = exports.GetUserGroupsDocument = exports.GetGroupAdminsDocument = exports.GetGroupUsersDocument = exports.GetAllGroupsDocument = exports.GetGroupDocument = exports.GetAllUsersDocument = exports.GetUsersDocument = exports.GetUserByEmailDocument = exports.GetUserDocument = exports.GetMeDocument = exports.GetAuthInfoDocument = exports.GetAuthTokenDocument = exports.GetSessionDocument = exports.GetPermissionsMatrixDocument = exports.RemoveApprovalFlowStepDocument = exports.UpdateApprovalFlowStepDocument = exports.CreateApprovalFlowStepDocument = exports.RemoveApprovalFlowDocument = exports.UpdateApprovalFlowDocument = exports.CreateApprovalFlowDocument = exports.EstimateApprovalFlowStepApproversDocument = exports.GetApprovalFlowExecutionDocument = exports.GetApprovalFlowDocument = exports.QueryVectorStoreDocument = exports.FindAnswerDocument = exports.QueryVectorStoreV2Document = exports.FindAnswerV2Document = exports.GenerateRecordAnalyticsEmbedUrlDocument = exports.GenerateOrganizationAnalyticsEmbedUrlDocument = exports.WebhookFragmentDoc = exports.TaskFragmentDoc = exports.RecordWithParentFragmentDoc = exports.SystemInfoFragmentDoc = exports.AuthInfoFragmentDoc = exports.ContentTypeFragmentDoc = exports.SpaceSettingsFragmentDoc = exports.SpaceApprovalSettingsFragmentDoc = exports.SpaceContentSettingsFragmentDoc = exports.SecuritySettingsFragmentDoc = void 0;
|
|
7
7
|
exports.CreateCourseChapterDocument = exports.ApproveAndPromoteCourseVersionDocument = exports.PromoteCourseVersionDocument = exports.ApproveCourseVersionDocument = exports.RequestChangesOnCourseVersionDocument = exports.SubmitCourseVersionForApprovalDocument = exports.RegenerateCourseCertificateDocument = exports.RemoveCourseCertificateSettingsDocument = exports.SetCourseCertificateSettingsDocument = exports.SetCourseGeneralSettingsDocument = exports.SetCourseQuizSettingsDocument = exports.SubmitCourseQuizEntryResponseDocument = exports.ReEnrollCourseDocument = exports.UnenrollCourseDocument = exports.BatchEnrollCourseDocument = exports.EnrollCourseDocument = exports.RemoveCourseDocument = exports.UpdateCourseDocument = exports.EditCourseDocument = exports.CreateCourseDocument = exports.ListEnrolledCoursesDocument = exports.GetCourseEnrolledUsersDocument = exports.GetCourseProgressInfoDocument = exports.GetCourseSettingsDocument = exports.GetCourseEntryDocument = exports.GetCourseLessonDocument = exports.GetCourseChapterDocument = exports.GetCourseVersionsDocument = exports.GetCoursesDocument = exports.GetCourseDocument = exports.FullDumpDocument = exports.FullReindexDocument = exports.ReindexDocument = exports.RestoreItemFromTrashBinDocument = exports.CreateSymlinkDocument = exports.IgnoreSimilarityForDocsDocument = exports.TriggerSimilarityCheckDocument = exports.FindSimilarItemsDocument = exports.ListSimilarItemsDocument = exports.GetTrashBinItemsDocument = exports.GetTrailDocument = exports.GetRecordByOriginDocument = exports.GetRecordInfoDocument = exports.GetRecordsDocument = exports.GetRecordDocument = exports.UpdateChecklistItemDocument = exports.GetChecklistItemDocument = exports.RemoveUserFromGroupDocument = exports.AddUserToGroupDocument = exports.DeleteGroupDocument = void 0;
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.serviceName = exports.TestWebhookDocument = exports.RemoveWebhookDocument = exports.UpdateWebhookDocument = exports.CreateWebhookDocument = exports.ListWebhooksDocument = exports.GetWebhookDocument = exports.OnDraftsDocument = exports.RemoveDraftDocument = exports.RemoveFavoriteDocument = exports.SaveFavoriteDocument = exports.SetUserPrefsDocument = exports.SearchUsersDocument = exports.IsUserFavoriteDocument = exports.GetUserFavoritesDocument = exports.GetUserPrefsDocument = exports.GetUserDraftsDocument = exports.OnTasksDocument = exports.RemoveTaskDocument = void 0;
|
|
8
|
+
exports.PromoteFormVersionDocument = exports.ApproveFormVersionDocument = exports.RequestChangesOnFormVersionDocument = exports.SubmitFormVersionForApprovalDocument = exports.RemoveFormDocument = exports.UpdateFormDocument = exports.EditFormDocument = exports.CreateFormDocument = exports.SearchFormResponsesDocument = exports.GetUserQuizResponsesDocument = exports.GetQuizEntriesDocument = exports.GetQuizDocument = exports.GetFormResponsesDocument = exports.GetFormResponseDocument = exports.GetFormSectionFieldsDocument = exports.GetFormSectionsDocument = exports.GetFormDocument = exports.DocToDocxDocument = exports.SetDocContentSettingsDocument = exports.ApproveAndPromoteDocVersionDocument = exports.PromoteDocVersionDocument = exports.ApproveDocVersionDocument = exports.RequestChangesOnDocVersionDocument = exports.SubmitDocVersionForApprovalDocument = exports.GenerateAndSetPrefixCodeForDocDocument = exports.CloneDocDocument = exports.RemoveDocDocument = exports.UpdateDocDocument = exports.EditDocDocument = exports.CreateDocDocument = exports.GetRecentlyViewedDocsDocument = exports.CompareDocsDocument = exports.GetDocSettingsDocument = exports.GetDocContentAsMarkdownDocument = exports.GetDocVersionsDocument = exports.GetDocsDocument = exports.GetDocByFilterDocument = exports.GetDocDocument = exports.RemoveDiscussionDocument = exports.UpdateDiscussionDocument = exports.CreateDiscussionDocument = exports.GetDiscussionDocument = exports.GetDiscussionsDocument = exports.CompleteCourseEntryDocument = exports.RemoveCourseEntryDocument = exports.UpdateCourseLessonDocument = exports.CreateCourseQuizDocument = exports.CreateCourseLessonDocument = exports.RemoveCourseChapterDocument = exports.UpdateCourseChapterDocument = void 0;
|
|
9
|
+
exports.UpdateOrganizationSettingsThemeDocument = exports.UpdateOrganizationSettingsTypographyDocument = exports.UpdateOrganizationSettingsContentDocument = exports.UpdateOrganizationSettingsInfoDocument = exports.GetOrganizationSettingsDocument = exports.OnNotificationDocument = exports.NotifyPlanUpgradeDocument = exports.UnsubscribeDocument = exports.MarkNotificationsAsReadDocument = exports.MarkAllNotificationsAsSeenDocument = exports.SetUserEmailPreferencesDocument = exports.GetUserEmailPreferencesDocument = exports.GetUserNotificationsDocument = exports.GetWebArticleDocument = exports.GetIconsDocument = exports.GetGifsDocument = exports.QueryByLabelsDocument = exports.UpdateZendeskArticleDocument = exports.MigrateDocument = exports.RemoveIntegrationConfigDocument = exports.UpdateIntegrationConfigDocument = exports.CreateIntegrationConfigDocument = exports.GetIntegrationConfigDocument = exports.ListIntegrationConfigsDocument = exports.GetGameLeaderboardGlobalDocument = exports.GetGameLeaderboardWeeklyDocument = exports.GetGameLeaderboardDailyDocument = exports.GetGameLeaderboardDocument = exports.UpdateFormResponsesTitlesDocument = exports.ReindexFormResponsesDocument = exports.SubmitQuizEntryResponseDocument = exports.UpdateCheckboxQuizEntryDocument = exports.UpdateRadioboxQuizEntryDocument = exports.ChangeQuizEntryTypeDocument = exports.RemoveQuizEntryDocument = exports.CreateQuizEntryDocument = exports.UpdateQuizDocument = exports.CreateQuizDocument = exports.SubmitFormFieldResponseDocument = exports.SubmitFormResponseDocument = exports.RemoveFormResponseDocument = exports.UpdateFormResponseDocument = exports.CreateFormResponseDocument = exports.RemoveFormFieldDocument = exports.UpdateFormFieldDocument = exports.CreateFormFieldDocument = exports.RemoveFormSectionDocument = exports.UpdateFormSectionDocument = exports.CreateFormSectionDocument = exports.ApproveAndPromoteFormVersionDocument = void 0;
|
|
10
|
+
exports.GetUserTasksDocument = exports.GetTaskDocument = exports.BootstrapDocument = exports.GetSystemTimeDocument = exports.GetSystemInfoDocument = exports.OnFilesDocument = exports.OnFileDocument = exports.ConvertStorageToHtmlDocument = exports.GetFilesDocument = exports.GetFileDocument = exports.SetSpaceApprovalsSettingsDocument = exports.SetSpaceContentSettingsDocument = exports.RemoveSpaceDocument = exports.MoveSpaceChildDocument = exports.MoveSpaceChildrenDocument = exports.UpdateSpaceDocument = exports.CreateSpaceDocument = exports.ListAvailablePrefixCodesDocument = exports.GetAllAllowedContentTypesDocument = exports.GetSpaceAllowedContentTypesDocument = exports.GetSpaceSettingsDocument = exports.ListSpaceContentsDocument = exports.GetSpacesDocument = exports.GetSpaceDocument = exports.CreateInitialContentDocument = exports.SetSecuritySettingsDocument = exports.GetSecuritySettingsDocument = exports.RenameContentsTagDocument = exports.RemoveContentsTagDocument = exports.RemoveSynonymsDocument = exports.UpdateSynonymsDocument = exports.CreateSynonymsDocument = exports.ListSynonymsDocument = exports.SearchTagsForResourceDocument = exports.SearchForRelatedDocument = exports.SearchForFacetValuesDocument = exports.SearchDocument = exports.ToggleReactionDocument = exports.GetReactionsDocument = exports.RemovePermissionDocument = exports.SetPermissionDocument = exports.QueryPermissionsDocument = exports.GetPoliciesDocument = exports.GetPermissionsDocument = exports.GetSubjectsDocument = exports.RecomputeGroupMappingsDocument = exports.UpdateOrganizationSettingsReactionsDocument = exports.UpdateOrganizationSettingsGroupsDocument = exports.UpdateOrganizationSettingsGameDocument = exports.UpdateOrganizationSettingsSecurityDocument = void 0;
|
|
11
|
+
exports.serviceName = exports.TestWebhookDocument = exports.RemoveWebhookDocument = exports.UpdateWebhookDocument = exports.CreateWebhookDocument = exports.ListWebhooksDocument = exports.GetWebhookDocument = exports.OnDraftsDocument = exports.RemoveDraftDocument = exports.RemoveFavoriteDocument = exports.SaveFavoriteDocument = exports.SetUserPrefsDocument = exports.SearchUsersDocument = exports.IsUserFavoriteDocument = exports.GetUserFavoritesDocument = exports.GetUserPrefsDocument = exports.GetUserDraftsDocument = exports.OnTasksDocument = exports.RemoveTaskDocument = exports.LeaveTaskDocument = void 0;
|
|
12
12
|
exports.getSdk = getSdk;
|
|
13
13
|
var AppInstanceStatus;
|
|
14
14
|
(function (AppInstanceStatus) {
|
|
@@ -2506,6 +2506,16 @@ ${exports.ApprovalFlowExecutionFragmentDoc}
|
|
|
2506
2506
|
${exports.ExecutableApprovalFlowFragmentDoc}
|
|
2507
2507
|
${exports.SubjectFragmentDoc}
|
|
2508
2508
|
${exports.GroupFragmentDoc}`;
|
|
2509
|
+
exports.GetDocByFilterDocument = `
|
|
2510
|
+
query getDocByFilter($filters: [ContentSearchFilterInput!]!) {
|
|
2511
|
+
docByFilter(filters: $filters) {
|
|
2512
|
+
...doc
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
${exports.DocFragmentDoc}
|
|
2516
|
+
${exports.DocWithoutContentFragmentDoc}
|
|
2517
|
+
${exports.RecordFragmentDoc}
|
|
2518
|
+
${exports.UserInfoFragmentDoc}`;
|
|
2509
2519
|
exports.GetDocsDocument = `
|
|
2510
2520
|
query getDocs($parent: ID!, $after: String, $limit: Int) {
|
|
2511
2521
|
docs(parent: $parent, after: $after, limit: $limit) {
|
|
@@ -4510,6 +4520,9 @@ function getSdk(requester) {
|
|
|
4510
4520
|
getDoc(variables, options) {
|
|
4511
4521
|
return requester(exports.GetDocDocument, variables, options);
|
|
4512
4522
|
},
|
|
4523
|
+
getDocByFilter(variables, options) {
|
|
4524
|
+
return requester(exports.GetDocByFilterDocument, variables, options);
|
|
4525
|
+
},
|
|
4513
4526
|
getDocs(variables, options) {
|
|
4514
4527
|
return requester(exports.GetDocsDocument, variables, options);
|
|
4515
4528
|
},
|
|
@@ -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
|
-
analyticsEncryptionKey?: 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
|
};
|