great 1.0.2 → 1.2.0
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/README.md +141 -43
- package/dist/accounts/create.d.ts +1 -1
- package/dist/accounts/create.js +2 -4
- package/dist/accounts/create.js.map +1 -1
- package/dist/accounts/index.d.ts +1 -1
- package/dist/accounts/index.js +2 -4
- package/dist/accounts/index.js.map +1 -1
- package/dist/clone/index.d.ts +4 -2
- package/dist/clone/index.js +19 -43
- package/dist/clone/index.js.map +1 -1
- package/dist/config/index.js +4 -30
- package/dist/config/index.js.map +1 -1
- package/dist/deploy/index.d.ts +1 -1
- package/dist/deploy/index.js +55 -15
- package/dist/deploy/index.js.map +1 -1
- package/dist/env/index.d.ts +12 -0
- package/dist/env/index.js +131 -0
- package/dist/env/index.js.map +1 -0
- package/dist/explode/transform.d.ts +1 -1
- package/dist/explode/transform.js +6 -2
- package/dist/explode/transform.js.map +1 -1
- package/dist/explode/unescapeMongo.js +9 -1
- package/dist/explode/unescapeMongo.js.map +1 -1
- package/dist/generated/operations.d.ts +617 -0
- package/dist/generated/operations.js +2 -0
- package/dist/generated/operations.js.map +1 -0
- package/dist/generated/schema.d.ts +965 -0
- package/dist/generated/{graphql.js → schema.js} +20 -2
- package/dist/generated/schema.js.map +1 -0
- package/dist/implode/escapeMongo.d.ts +1 -0
- package/dist/implode/escapeMongo.js +23 -0
- package/dist/implode/escapeMongo.js.map +1 -0
- package/dist/implode/index.d.ts +6 -0
- package/dist/implode/index.js +132 -0
- package/dist/implode/index.js.map +1 -0
- package/dist/implode/transform.d.ts +45 -0
- package/dist/implode/transform.js +73 -0
- package/dist/implode/transform.js.map +1 -0
- package/dist/import/index.d.ts +8 -0
- package/dist/import/index.js +43 -0
- package/dist/import/index.js.map +1 -0
- package/dist/include/index.d.ts +10 -0
- package/dist/include/index.js +41 -0
- package/dist/include/index.js.map +1 -0
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/init/index.js +8 -16
- package/dist/init/index.js.map +1 -1
- package/dist/integrations/create.d.ts +1 -1
- package/dist/integrations/create.js +3 -5
- package/dist/integrations/create.js.map +1 -1
- package/dist/integrations/list.d.ts +1 -1
- package/dist/integrations/list.js +3 -5
- package/dist/integrations/list.js.map +1 -1
- package/dist/migrate/index.d.ts +5 -0
- package/dist/migrate/index.js +101 -0
- package/dist/migrate/index.js.map +1 -0
- package/dist/pull/index.d.ts +4 -2
- package/dist/pull/index.js +25 -44
- package/dist/pull/index.js.map +1 -1
- package/dist/push/index.d.ts +1 -1
- package/dist/push/index.js +364 -93
- package/dist/push/index.js.map +1 -1
- package/dist/rename/index.d.ts +8 -0
- package/dist/rename/index.js +109 -0
- package/dist/rename/index.js.map +1 -0
- package/dist/repl/dispatch.d.ts +8 -2
- package/dist/repl/dispatch.js +43 -29
- package/dist/repl/dispatch.js.map +1 -1
- package/dist/repl/dispatchAndLoad.d.ts +7 -0
- package/dist/repl/dispatchAndLoad.js +35 -0
- package/dist/repl/dispatchAndLoad.js.map +1 -0
- package/dist/repl/help.js +13 -2
- package/dist/repl/help.js.map +1 -1
- package/dist/repl/index.d.ts +1 -1
- package/dist/repl/index.js +31 -10
- package/dist/repl/index.js.map +1 -1
- package/dist/repl/load.d.ts +8 -0
- package/dist/repl/load.js +53 -0
- package/dist/repl/load.js.map +1 -0
- package/dist/run/index.d.ts +7 -5
- package/dist/run/index.js +5 -7
- package/dist/run/index.js.map +1 -1
- package/dist/status/index.d.ts +1 -1
- package/dist/status/index.js +6 -8
- package/dist/status/index.js.map +1 -1
- package/dist/utils/config.d.ts +9 -2
- package/dist/utils/config.js +39 -6
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/createIntegrationFromFile.d.ts +3 -1
- package/dist/utils/createIntegrationFromFile.js +14 -30
- package/dist/utils/createIntegrationFromFile.js.map +1 -1
- package/dist/utils/detectPullConflicts.d.ts +8 -0
- package/dist/utils/detectPullConflicts.js +65 -0
- package/dist/utils/detectPullConflicts.js.map +1 -0
- package/dist/utils/dispatch.d.ts +2 -2
- package/dist/utils/dispatch.js +5 -4
- package/dist/utils/dispatch.js.map +1 -1
- package/dist/utils/elementFiles.d.ts +13 -0
- package/dist/utils/elementFiles.js +76 -0
- package/dist/utils/elementFiles.js.map +1 -0
- package/dist/utils/fetchIntegrationDefinition.d.ts +8 -0
- package/dist/utils/fetchIntegrationDefinition.js +58 -0
- package/dist/utils/fetchIntegrationDefinition.js.map +1 -0
- package/dist/utils/fetchLocal.d.ts +3 -1
- package/dist/utils/fetchLocal.js +11 -9
- package/dist/utils/fetchLocal.js.map +1 -1
- package/dist/utils/fetchSession.d.ts +1 -1
- package/dist/utils/fetchSession.js +2 -1
- package/dist/utils/fetchSession.js.map +1 -1
- package/dist/utils/graphqlClient.d.ts +3 -0
- package/dist/utils/graphqlClient.js +3 -0
- package/dist/utils/graphqlClient.js.map +1 -1
- package/dist/utils/graphqlError.d.ts +2 -1
- package/dist/utils/graphqlError.js +17 -3
- package/dist/utils/graphqlError.js.map +1 -1
- package/dist/utils/greatFile.d.ts +40 -0
- package/dist/utils/greatFile.js +66 -0
- package/dist/utils/greatFile.js.map +1 -0
- package/dist/utils/hashContent.js +1 -1
- package/dist/utils/hashContent.js.map +1 -1
- package/dist/utils/integrationType.d.ts +3 -0
- package/dist/utils/integrationType.js +15 -0
- package/dist/utils/integrationType.js.map +1 -0
- package/dist/utils/parseJson.d.ts +1 -0
- package/dist/utils/parseJson.js +5 -0
- package/dist/utils/parseJson.js.map +1 -0
- package/dist/utils/resolveAccount.d.ts +5 -4
- package/dist/utils/resolveAccount.js +17 -9
- package/dist/utils/resolveAccount.js.map +1 -1
- package/dist/utils/resolveElement.d.ts +1 -1
- package/dist/utils/resolveElementInclude.d.ts +3 -0
- package/dist/utils/resolveElementInclude.js +28 -0
- package/dist/utils/resolveElementInclude.js.map +1 -0
- package/dist/utils/resolveIntegration.d.ts +4 -2
- package/dist/utils/resolveIntegration.js +7 -3
- package/dist/utils/resolveIntegration.js.map +1 -1
- package/dist/utils/resolveTemplateImport.d.ts +3 -0
- package/dist/utils/resolveTemplateImport.js +31 -0
- package/dist/utils/resolveTemplateImport.js.map +1 -0
- package/dist/utils/response.d.ts +3 -0
- package/dist/utils/response.js +24 -0
- package/dist/utils/response.js.map +1 -0
- package/dist/utils/saveIntegration.d.ts +8 -4
- package/dist/utils/saveIntegration.js +76 -34
- package/dist/utils/saveIntegration.js.map +1 -1
- package/dist/utils/token.js +1 -1
- package/dist/utils/token.js.map +1 -1
- package/dist/utils/url.d.ts +1 -0
- package/dist/utils/url.js +10 -0
- package/dist/utils/url.js.map +1 -0
- package/dist/utils/writeShadowElement.d.ts +26 -0
- package/dist/utils/writeShadowElement.js +119 -0
- package/dist/utils/writeShadowElement.js.map +1 -0
- package/dist/{value → values}/get.d.ts +1 -1
- package/dist/{value → values}/get.js +7 -8
- package/dist/values/get.js.map +1 -0
- package/dist/{value → values}/index.js +13 -1
- package/dist/values/index.js.map +1 -0
- package/dist/{value → values}/list.js +10 -9
- package/dist/values/list.js.map +1 -0
- package/dist/{value → values}/set.d.ts +1 -1
- package/dist/{value → values}/set.js +9 -9
- package/dist/values/set.js.map +1 -0
- package/dist/values/unset.d.ts +8 -0
- package/dist/values/unset.js +61 -0
- package/dist/values/unset.js.map +1 -0
- package/dist/whoami/fetchSession.d.ts +3 -3
- package/dist/whoami/fetchSession.js +2 -4
- package/dist/whoami/fetchSession.js.map +1 -1
- package/dist/whoami/index.d.ts +1 -1
- package/package.json +20 -19
- package/dist/generated/graphql.d.ts +0 -1784
- package/dist/generated/graphql.js.map +0 -1
- package/dist/value/get.js.map +0 -1
- package/dist/value/index.js.map +0 -1
- package/dist/value/list.js.map +0 -1
- package/dist/value/set.js.map +0 -1
- /package/dist/{value → values}/index.d.ts +0 -0
- /package/dist/{value → values}/list.d.ts +0 -0
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = T | null;
|
|
3
|
+
export type Scalars = {
|
|
4
|
+
ID: {
|
|
5
|
+
input: string;
|
|
6
|
+
output: string;
|
|
7
|
+
};
|
|
8
|
+
String: {
|
|
9
|
+
input: string;
|
|
10
|
+
output: string;
|
|
11
|
+
};
|
|
12
|
+
Boolean: {
|
|
13
|
+
input: boolean;
|
|
14
|
+
output: boolean;
|
|
15
|
+
};
|
|
16
|
+
Int: {
|
|
17
|
+
input: number;
|
|
18
|
+
output: number;
|
|
19
|
+
};
|
|
20
|
+
Float: {
|
|
21
|
+
input: number;
|
|
22
|
+
output: number;
|
|
23
|
+
};
|
|
24
|
+
Date: {
|
|
25
|
+
input: string;
|
|
26
|
+
output: string;
|
|
27
|
+
};
|
|
28
|
+
DateTime: {
|
|
29
|
+
input: string;
|
|
30
|
+
output: string;
|
|
31
|
+
};
|
|
32
|
+
JSON: {
|
|
33
|
+
input: Record<string, unknown>;
|
|
34
|
+
output: Record<string, unknown>;
|
|
35
|
+
};
|
|
36
|
+
PrimitiveValue: {
|
|
37
|
+
input: unknown;
|
|
38
|
+
output: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export type Account = {
|
|
42
|
+
__typename?: 'Account';
|
|
43
|
+
createdAt: Scalars['DateTime']['output'];
|
|
44
|
+
id: Scalars['ID']['output'];
|
|
45
|
+
integrations: IntegrationConnection;
|
|
46
|
+
key: Scalars['ID']['output'];
|
|
47
|
+
name: Scalars['String']['output'];
|
|
48
|
+
status: Status;
|
|
49
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
50
|
+
users: AccountUsersEdgeConnection;
|
|
51
|
+
};
|
|
52
|
+
export type AccountIntegrationsArgs = {
|
|
53
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
54
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
55
|
+
direction?: InputMaybe<Direction>;
|
|
56
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
57
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
58
|
+
orderBy?: InputMaybe<IntegrationOrderField>;
|
|
59
|
+
};
|
|
60
|
+
export type AccountConnection = {
|
|
61
|
+
__typename?: 'AccountConnection';
|
|
62
|
+
nodes: Array<Account>;
|
|
63
|
+
pageInfo: PageInfo;
|
|
64
|
+
totalCount: Scalars['Int']['output'];
|
|
65
|
+
};
|
|
66
|
+
export declare enum AccountOrderField {
|
|
67
|
+
CreatedAt = "createdAt",
|
|
68
|
+
Name = "name",
|
|
69
|
+
UpdatedAt = "updatedAt"
|
|
70
|
+
}
|
|
71
|
+
export declare enum AccountRole {
|
|
72
|
+
Admin = "admin",
|
|
73
|
+
Member = "member",
|
|
74
|
+
Owner = "owner"
|
|
75
|
+
}
|
|
76
|
+
export type AccountUserEdge = {
|
|
77
|
+
__typename?: 'AccountUserEdge';
|
|
78
|
+
cursor: Scalars['String']['output'];
|
|
79
|
+
role: AccountRole;
|
|
80
|
+
user: User;
|
|
81
|
+
};
|
|
82
|
+
export type AccountUsersEdgeConnection = {
|
|
83
|
+
__typename?: 'AccountUsersEdgeConnection';
|
|
84
|
+
edges: Array<AccountUserEdge>;
|
|
85
|
+
nodes: Array<User>;
|
|
86
|
+
pageInfo: PageInfo;
|
|
87
|
+
totalCount: Scalars['Int']['output'];
|
|
88
|
+
};
|
|
89
|
+
export type Agent = {
|
|
90
|
+
__typename?: 'Agent';
|
|
91
|
+
activePrompt?: Maybe<Prompt>;
|
|
92
|
+
createdAt: Scalars['DateTime']['output'];
|
|
93
|
+
id: Scalars['ID']['output'];
|
|
94
|
+
key: Scalars['String']['output'];
|
|
95
|
+
prompts: Array<Prompt>;
|
|
96
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
97
|
+
user: User;
|
|
98
|
+
};
|
|
99
|
+
export type Auth = Element & {
|
|
100
|
+
__typename?: 'Auth';
|
|
101
|
+
content?: Maybe<ElementContent>;
|
|
102
|
+
createdAt: Scalars['DateTime']['output'];
|
|
103
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
104
|
+
id: Scalars['ID']['output'];
|
|
105
|
+
key: Scalars['ID']['output'];
|
|
106
|
+
name: Scalars['String']['output'];
|
|
107
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
108
|
+
};
|
|
109
|
+
export type ConfigElement = Element & {
|
|
110
|
+
__typename?: 'ConfigElement';
|
|
111
|
+
content?: Maybe<ElementContent>;
|
|
112
|
+
createdAt: Scalars['DateTime']['output'];
|
|
113
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
114
|
+
id: Scalars['ID']['output'];
|
|
115
|
+
key: Scalars['ID']['output'];
|
|
116
|
+
name: Scalars['String']['output'];
|
|
117
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
118
|
+
};
|
|
119
|
+
export type Dictionary = Element & {
|
|
120
|
+
__typename?: 'Dictionary';
|
|
121
|
+
content?: Maybe<ElementContent>;
|
|
122
|
+
createdAt: Scalars['DateTime']['output'];
|
|
123
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
id: Scalars['ID']['output'];
|
|
125
|
+
key: Scalars['ID']['output'];
|
|
126
|
+
name: Scalars['String']['output'];
|
|
127
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
128
|
+
};
|
|
129
|
+
export declare enum Direction {
|
|
130
|
+
Asc = "asc",
|
|
131
|
+
Desc = "desc"
|
|
132
|
+
}
|
|
133
|
+
export type Element = {
|
|
134
|
+
content?: Maybe<ElementContent>;
|
|
135
|
+
createdAt: Scalars['DateTime']['output'];
|
|
136
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
137
|
+
id: Scalars['ID']['output'];
|
|
138
|
+
key: Scalars['ID']['output'];
|
|
139
|
+
name: Scalars['String']['output'];
|
|
140
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
141
|
+
};
|
|
142
|
+
export type ElementContent = {
|
|
143
|
+
__typename?: 'ElementContent';
|
|
144
|
+
checksum?: Maybe<Scalars['String']['output']>;
|
|
145
|
+
createdAt: Scalars['DateTime']['output'];
|
|
146
|
+
data?: Maybe<Scalars['JSON']['output']>;
|
|
147
|
+
provenance: Array<Scalars['ID']['output']>;
|
|
148
|
+
sourceId?: Maybe<Scalars['ID']['output']>;
|
|
149
|
+
sourceTimestamp?: Maybe<Scalars['DateTime']['output']>;
|
|
150
|
+
timestamp?: Maybe<Scalars['Date']['output']>;
|
|
151
|
+
};
|
|
152
|
+
export declare enum ElementType {
|
|
153
|
+
Auth = "auth",
|
|
154
|
+
Config = "config",
|
|
155
|
+
Dictionary = "dictionary",
|
|
156
|
+
Flow = "flow",
|
|
157
|
+
Job = "job",
|
|
158
|
+
Mutation = "mutation",
|
|
159
|
+
RetryRule = "retryRule",
|
|
160
|
+
Schema = "schema",
|
|
161
|
+
Service = "service",
|
|
162
|
+
Value = "value"
|
|
163
|
+
}
|
|
164
|
+
export type Flow = Element & {
|
|
165
|
+
__typename?: 'Flow';
|
|
166
|
+
content?: Maybe<ElementContent>;
|
|
167
|
+
createdAt: Scalars['DateTime']['output'];
|
|
168
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
169
|
+
id: Scalars['ID']['output'];
|
|
170
|
+
key: Scalars['ID']['output'];
|
|
171
|
+
lastRun?: Maybe<Log>;
|
|
172
|
+
name: Scalars['String']['output'];
|
|
173
|
+
sort?: Maybe<Scalars['Int']['output']>;
|
|
174
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
175
|
+
};
|
|
176
|
+
export type Integration = {
|
|
177
|
+
__typename?: 'Integration';
|
|
178
|
+
account: Account;
|
|
179
|
+
active?: Maybe<Version>;
|
|
180
|
+
activeOrLatest: Version;
|
|
181
|
+
createdAt: Scalars['DateTime']['output'];
|
|
182
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
hasChanges: Scalars['Boolean']['output'];
|
|
184
|
+
id: Scalars['ID']['output'];
|
|
185
|
+
key: Scalars['ID']['output'];
|
|
186
|
+
latest: Version;
|
|
187
|
+
logEntries: LogEntryConnection;
|
|
188
|
+
logs: LogConnection;
|
|
189
|
+
name: Scalars['String']['output'];
|
|
190
|
+
notifications: NotificationConnection;
|
|
191
|
+
status: Status;
|
|
192
|
+
templateImports: Array<TemplateImport>;
|
|
193
|
+
type: IntegrationType;
|
|
194
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
195
|
+
versions: Array<Version>;
|
|
196
|
+
};
|
|
197
|
+
export type IntegrationLogEntriesArgs = {
|
|
198
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
199
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
200
|
+
direction?: InputMaybe<Direction>;
|
|
201
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
202
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
203
|
+
};
|
|
204
|
+
export type IntegrationLogsArgs = {
|
|
205
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
206
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
207
|
+
direction?: InputMaybe<Direction>;
|
|
208
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
209
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
210
|
+
};
|
|
211
|
+
export type IntegrationNotificationsArgs = {
|
|
212
|
+
isAcknowledged?: InputMaybe<Scalars['Boolean']['input']>;
|
|
213
|
+
};
|
|
214
|
+
export type IntegrationConnection = {
|
|
215
|
+
__typename?: 'IntegrationConnection';
|
|
216
|
+
nodes: Array<Integration>;
|
|
217
|
+
pageInfo: PageInfo;
|
|
218
|
+
totalCount: Scalars['Int']['output'];
|
|
219
|
+
};
|
|
220
|
+
export declare enum IntegrationOrderField {
|
|
221
|
+
Account = "account",
|
|
222
|
+
CreatedAt = "createdAt",
|
|
223
|
+
Name = "name",
|
|
224
|
+
UpdatedAt = "updatedAt"
|
|
225
|
+
}
|
|
226
|
+
export declare enum IntegrationType {
|
|
227
|
+
Integration = "integration",
|
|
228
|
+
Library = "library",
|
|
229
|
+
Template = "template"
|
|
230
|
+
}
|
|
231
|
+
export type Job = Element & {
|
|
232
|
+
__typename?: 'Job';
|
|
233
|
+
allowManualDispatch?: Maybe<Scalars['Boolean']['output']>;
|
|
234
|
+
content?: Maybe<ElementContent>;
|
|
235
|
+
createdAt: Scalars['DateTime']['output'];
|
|
236
|
+
cron?: Maybe<Scalars['String']['output']>;
|
|
237
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
238
|
+
id: Scalars['ID']['output'];
|
|
239
|
+
isSubJob?: Maybe<Scalars['Boolean']['output']>;
|
|
240
|
+
key: Scalars['ID']['output'];
|
|
241
|
+
lastRun?: Maybe<Log>;
|
|
242
|
+
name: Scalars['String']['output'];
|
|
243
|
+
sort?: Maybe<Scalars['Int']['output']>;
|
|
244
|
+
tz?: Maybe<Scalars['String']['output']>;
|
|
245
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
246
|
+
};
|
|
247
|
+
export type Log = {
|
|
248
|
+
__typename?: 'Log';
|
|
249
|
+
action?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
children: LogConnection;
|
|
251
|
+
completedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
252
|
+
correlationId: Scalars['String']['output'];
|
|
253
|
+
expireDataAt?: Maybe<Scalars['DateTime']['output']>;
|
|
254
|
+
id: Scalars['ID']['output'];
|
|
255
|
+
identId?: Maybe<Scalars['String']['output']>;
|
|
256
|
+
retryCount: Scalars['Int']['output'];
|
|
257
|
+
startedAt: Scalars['DateTime']['output'];
|
|
258
|
+
status?: Maybe<LogStatus>;
|
|
259
|
+
title: Scalars['String']['output'];
|
|
260
|
+
type: LogType;
|
|
261
|
+
};
|
|
262
|
+
export type LogChildrenArgs = {
|
|
263
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
264
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
265
|
+
direction?: InputMaybe<Direction>;
|
|
266
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
267
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
268
|
+
};
|
|
269
|
+
export type LogConnection = {
|
|
270
|
+
__typename?: 'LogConnection';
|
|
271
|
+
nodes: Array<Log>;
|
|
272
|
+
pageInfo: PageInfo;
|
|
273
|
+
totalCount: Scalars['Int']['output'];
|
|
274
|
+
};
|
|
275
|
+
export type LogEntry = {
|
|
276
|
+
__typename?: 'LogEntry';
|
|
277
|
+
action?: Maybe<Scalars['String']['output']>;
|
|
278
|
+
correlationId: Scalars['String']['output'];
|
|
279
|
+
data?: Maybe<Scalars['JSON']['output']>;
|
|
280
|
+
expireDataAt?: Maybe<Scalars['DateTime']['output']>;
|
|
281
|
+
id: Scalars['ID']['output'];
|
|
282
|
+
identId?: Maybe<Scalars['String']['output']>;
|
|
283
|
+
params?: Maybe<Scalars['JSON']['output']>;
|
|
284
|
+
retryCount: Scalars['Int']['output'];
|
|
285
|
+
status?: Maybe<LogStatus>;
|
|
286
|
+
timestamp: Scalars['DateTime']['output'];
|
|
287
|
+
title: Scalars['String']['output'];
|
|
288
|
+
type: LogType;
|
|
289
|
+
};
|
|
290
|
+
export type LogEntryConnection = {
|
|
291
|
+
__typename?: 'LogEntryConnection';
|
|
292
|
+
nodes: Array<LogEntry>;
|
|
293
|
+
pageInfo: PageInfo;
|
|
294
|
+
totalCount: Scalars['Int']['output'];
|
|
295
|
+
};
|
|
296
|
+
export declare enum LogStatus {
|
|
297
|
+
Autherror = "autherror",
|
|
298
|
+
Badrequest = "badrequest",
|
|
299
|
+
Badresponse = "badresponse",
|
|
300
|
+
Error = "error",
|
|
301
|
+
Noaccess = "noaccess",
|
|
302
|
+
Noaction = "noaction",
|
|
303
|
+
Notfound = "notfound",
|
|
304
|
+
Ok = "ok",
|
|
305
|
+
Pending = "pending",
|
|
306
|
+
Queued = "queued",
|
|
307
|
+
Queuing = "queuing",
|
|
308
|
+
Starting = "starting",
|
|
309
|
+
Timeout = "timeout",
|
|
310
|
+
Toomany = "toomany"
|
|
311
|
+
}
|
|
312
|
+
export declare enum LogType {
|
|
313
|
+
Action = "action",
|
|
314
|
+
Load = "load",
|
|
315
|
+
Response = "response",
|
|
316
|
+
Trigger = "trigger",
|
|
317
|
+
Unload = "unload"
|
|
318
|
+
}
|
|
319
|
+
export type Message = {
|
|
320
|
+
__typename?: 'Message';
|
|
321
|
+
createdAt: Scalars['DateTime']['output'];
|
|
322
|
+
id: Scalars['ID']['output'];
|
|
323
|
+
isComplete: Scalars['Boolean']['output'];
|
|
324
|
+
message: Scalars['String']['output'];
|
|
325
|
+
model?: Maybe<Scalars['JSON']['output']>;
|
|
326
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
327
|
+
user: User;
|
|
328
|
+
};
|
|
329
|
+
export type MessageConnection = {
|
|
330
|
+
__typename?: 'MessageConnection';
|
|
331
|
+
nodes: Array<Message>;
|
|
332
|
+
pageInfo: PageInfo;
|
|
333
|
+
totalCount: Scalars['Int']['output'];
|
|
334
|
+
};
|
|
335
|
+
export type Mutation = {
|
|
336
|
+
__typename?: 'Mutation';
|
|
337
|
+
acknowledgeNotifications: Array<Notification>;
|
|
338
|
+
activateVersion: Integration;
|
|
339
|
+
addParticipant: Participant;
|
|
340
|
+
clearValue: Scalars['Boolean']['output'];
|
|
341
|
+
createAccount: Account;
|
|
342
|
+
createAgent: Agent;
|
|
343
|
+
createElement: Element;
|
|
344
|
+
createIntegration: Integration;
|
|
345
|
+
createPrompt: Prompt;
|
|
346
|
+
createRuleset: Ruleset;
|
|
347
|
+
createThread: Thread;
|
|
348
|
+
createUser: User;
|
|
349
|
+
createVersion: Version;
|
|
350
|
+
deleteAccount: Scalars['Boolean']['output'];
|
|
351
|
+
deleteElement: Element;
|
|
352
|
+
deleteIntegration: Scalars['Boolean']['output'];
|
|
353
|
+
deleteRuleset: Scalars['Boolean']['output'];
|
|
354
|
+
deleteThread: Thread;
|
|
355
|
+
dispatch: ResponseWithoutData;
|
|
356
|
+
importTemplate: Integration;
|
|
357
|
+
includeElement: Element;
|
|
358
|
+
postMessage: Message;
|
|
359
|
+
promotePrompt: Agent;
|
|
360
|
+
registerTemplateImport: Integration;
|
|
361
|
+
removeParticipant: Participant;
|
|
362
|
+
rollbackPrompt: Agent;
|
|
363
|
+
setElementContent: Element;
|
|
364
|
+
setSecretRef: Scalars['Boolean']['output'];
|
|
365
|
+
setValue: Scalars['Boolean']['output'];
|
|
366
|
+
startIntegration: Integration;
|
|
367
|
+
stopIntegration: Integration;
|
|
368
|
+
unacknowledgeNotifications: Array<Notification>;
|
|
369
|
+
updateAccountKey: Account;
|
|
370
|
+
updateAccountName: Account;
|
|
371
|
+
updateElement: Element;
|
|
372
|
+
updateElementKey: Element;
|
|
373
|
+
updateFromTemplate: Integration;
|
|
374
|
+
updateIntegration: Integration;
|
|
375
|
+
updateIntegrationKey: Integration;
|
|
376
|
+
updateIntegrationType: Integration;
|
|
377
|
+
updateRulesetName: Ruleset;
|
|
378
|
+
updateRulesetRules: Ruleset;
|
|
379
|
+
updateThreadTitle: Thread;
|
|
380
|
+
updateUserEmail: User;
|
|
381
|
+
updateUserName: User;
|
|
382
|
+
updateVersion: Version;
|
|
383
|
+
};
|
|
384
|
+
export type MutationAcknowledgeNotificationsArgs = {
|
|
385
|
+
ids: Array<Scalars['ID']['input']>;
|
|
386
|
+
};
|
|
387
|
+
export type MutationActivateVersionArgs = {
|
|
388
|
+
versionId: Scalars['ID']['input'];
|
|
389
|
+
};
|
|
390
|
+
export type MutationAddParticipantArgs = {
|
|
391
|
+
threadId: Scalars['ID']['input'];
|
|
392
|
+
userId: Scalars['ID']['input'];
|
|
393
|
+
};
|
|
394
|
+
export type MutationClearValueArgs = {
|
|
395
|
+
id: Scalars['ID']['input'];
|
|
396
|
+
};
|
|
397
|
+
export type MutationCreateAccountArgs = {
|
|
398
|
+
key?: InputMaybe<Scalars['ID']['input']>;
|
|
399
|
+
name: Scalars['String']['input'];
|
|
400
|
+
};
|
|
401
|
+
export type MutationCreateAgentArgs = {
|
|
402
|
+
key: Scalars['String']['input'];
|
|
403
|
+
userId: Scalars['ID']['input'];
|
|
404
|
+
};
|
|
405
|
+
export type MutationCreateElementArgs = {
|
|
406
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
407
|
+
integrationId: Scalars['ID']['input'];
|
|
408
|
+
key: Scalars['ID']['input'];
|
|
409
|
+
name: Scalars['String']['input'];
|
|
410
|
+
type: ElementType;
|
|
411
|
+
};
|
|
412
|
+
export type MutationCreateIntegrationArgs = {
|
|
413
|
+
accountId: Scalars['ID']['input'];
|
|
414
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
415
|
+
key?: InputMaybe<Scalars['ID']['input']>;
|
|
416
|
+
name: Scalars['String']['input'];
|
|
417
|
+
type?: InputMaybe<IntegrationType>;
|
|
418
|
+
};
|
|
419
|
+
export type MutationCreatePromptArgs = {
|
|
420
|
+
agentId: Scalars['ID']['input'];
|
|
421
|
+
content: Scalars['String']['input'];
|
|
422
|
+
parentVersionId?: InputMaybe<Scalars['ID']['input']>;
|
|
423
|
+
};
|
|
424
|
+
export type MutationCreateRulesetArgs = {
|
|
425
|
+
name: Scalars['String']['input'];
|
|
426
|
+
rules?: InputMaybe<Array<RuleInput>>;
|
|
427
|
+
};
|
|
428
|
+
export type MutationCreateThreadArgs = {
|
|
429
|
+
title: Scalars['String']['input'];
|
|
430
|
+
};
|
|
431
|
+
export type MutationCreateUserArgs = {
|
|
432
|
+
email: Scalars['String']['input'];
|
|
433
|
+
name: Scalars['String']['input'];
|
|
434
|
+
};
|
|
435
|
+
export type MutationCreateVersionArgs = {
|
|
436
|
+
integrationId: Scalars['ID']['input'];
|
|
437
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
438
|
+
timestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
439
|
+
};
|
|
440
|
+
export type MutationDeleteAccountArgs = {
|
|
441
|
+
id: Scalars['ID']['input'];
|
|
442
|
+
};
|
|
443
|
+
export type MutationDeleteElementArgs = {
|
|
444
|
+
id: Scalars['ID']['input'];
|
|
445
|
+
};
|
|
446
|
+
export type MutationDeleteIntegrationArgs = {
|
|
447
|
+
id: Scalars['ID']['input'];
|
|
448
|
+
};
|
|
449
|
+
export type MutationDeleteRulesetArgs = {
|
|
450
|
+
id: Scalars['ID']['input'];
|
|
451
|
+
};
|
|
452
|
+
export type MutationDeleteThreadArgs = {
|
|
453
|
+
id: Scalars['ID']['input'];
|
|
454
|
+
};
|
|
455
|
+
export type MutationDispatchArgs = {
|
|
456
|
+
integrationId: Scalars['ID']['input'];
|
|
457
|
+
payload: Scalars['JSON']['input'];
|
|
458
|
+
type: Scalars['String']['input'];
|
|
459
|
+
waitForResponse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
460
|
+
};
|
|
461
|
+
export type MutationImportTemplateArgs = {
|
|
462
|
+
integrationId: Scalars['ID']['input'];
|
|
463
|
+
templateId: Scalars['ID']['input'];
|
|
464
|
+
versionId?: InputMaybe<Scalars['ID']['input']>;
|
|
465
|
+
};
|
|
466
|
+
export type MutationIncludeElementArgs = {
|
|
467
|
+
elementId: Scalars['ID']['input'];
|
|
468
|
+
integrationId: Scalars['ID']['input'];
|
|
469
|
+
provenance?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
470
|
+
sourceTimestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
471
|
+
};
|
|
472
|
+
export type MutationPostMessageArgs = {
|
|
473
|
+
message: Scalars['String']['input'];
|
|
474
|
+
threadId: Scalars['ID']['input'];
|
|
475
|
+
};
|
|
476
|
+
export type MutationPromotePromptArgs = {
|
|
477
|
+
agentId: Scalars['ID']['input'];
|
|
478
|
+
promptId: Scalars['ID']['input'];
|
|
479
|
+
};
|
|
480
|
+
export type MutationRegisterTemplateImportArgs = {
|
|
481
|
+
integrationId: Scalars['ID']['input'];
|
|
482
|
+
templateId: Scalars['ID']['input'];
|
|
483
|
+
timestamp: Scalars['DateTime']['input'];
|
|
484
|
+
};
|
|
485
|
+
export type MutationRemoveParticipantArgs = {
|
|
486
|
+
threadId: Scalars['ID']['input'];
|
|
487
|
+
userId: Scalars['ID']['input'];
|
|
488
|
+
};
|
|
489
|
+
export type MutationRollbackPromptArgs = {
|
|
490
|
+
agentId: Scalars['ID']['input'];
|
|
491
|
+
promptId: Scalars['ID']['input'];
|
|
492
|
+
};
|
|
493
|
+
export type MutationSetElementContentArgs = {
|
|
494
|
+
content?: InputMaybe<Scalars['JSON']['input']>;
|
|
495
|
+
id: Scalars['ID']['input'];
|
|
496
|
+
};
|
|
497
|
+
export type MutationSetSecretRefArgs = {
|
|
498
|
+
id: Scalars['ID']['input'];
|
|
499
|
+
secretRef: Scalars['String']['input'];
|
|
500
|
+
};
|
|
501
|
+
export type MutationSetValueArgs = {
|
|
502
|
+
id: Scalars['ID']['input'];
|
|
503
|
+
value?: InputMaybe<Scalars['PrimitiveValue']['input']>;
|
|
504
|
+
};
|
|
505
|
+
export type MutationStartIntegrationArgs = {
|
|
506
|
+
id: Scalars['ID']['input'];
|
|
507
|
+
};
|
|
508
|
+
export type MutationStopIntegrationArgs = {
|
|
509
|
+
id: Scalars['ID']['input'];
|
|
510
|
+
};
|
|
511
|
+
export type MutationUnacknowledgeNotificationsArgs = {
|
|
512
|
+
ids: Array<Scalars['ID']['input']>;
|
|
513
|
+
};
|
|
514
|
+
export type MutationUpdateAccountKeyArgs = {
|
|
515
|
+
id: Scalars['ID']['input'];
|
|
516
|
+
key: Scalars['ID']['input'];
|
|
517
|
+
};
|
|
518
|
+
export type MutationUpdateAccountNameArgs = {
|
|
519
|
+
id: Scalars['ID']['input'];
|
|
520
|
+
name: Scalars['String']['input'];
|
|
521
|
+
};
|
|
522
|
+
export type MutationUpdateElementArgs = {
|
|
523
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
524
|
+
id: Scalars['ID']['input'];
|
|
525
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
526
|
+
};
|
|
527
|
+
export type MutationUpdateElementKeyArgs = {
|
|
528
|
+
id: Scalars['ID']['input'];
|
|
529
|
+
key: Scalars['ID']['input'];
|
|
530
|
+
};
|
|
531
|
+
export type MutationUpdateFromTemplateArgs = {
|
|
532
|
+
integrationId: Scalars['ID']['input'];
|
|
533
|
+
templateId: Scalars['ID']['input'];
|
|
534
|
+
versionId?: InputMaybe<Scalars['ID']['input']>;
|
|
535
|
+
};
|
|
536
|
+
export type MutationUpdateIntegrationArgs = {
|
|
537
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
538
|
+
id: Scalars['ID']['input'];
|
|
539
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
540
|
+
};
|
|
541
|
+
export type MutationUpdateIntegrationKeyArgs = {
|
|
542
|
+
id: Scalars['ID']['input'];
|
|
543
|
+
key: Scalars['ID']['input'];
|
|
544
|
+
};
|
|
545
|
+
export type MutationUpdateIntegrationTypeArgs = {
|
|
546
|
+
id: Scalars['ID']['input'];
|
|
547
|
+
type: IntegrationType;
|
|
548
|
+
};
|
|
549
|
+
export type MutationUpdateRulesetNameArgs = {
|
|
550
|
+
id: Scalars['ID']['input'];
|
|
551
|
+
name: Scalars['String']['input'];
|
|
552
|
+
};
|
|
553
|
+
export type MutationUpdateRulesetRulesArgs = {
|
|
554
|
+
id: Scalars['ID']['input'];
|
|
555
|
+
rules: Array<RuleInput>;
|
|
556
|
+
};
|
|
557
|
+
export type MutationUpdateThreadTitleArgs = {
|
|
558
|
+
id: Scalars['ID']['input'];
|
|
559
|
+
title: Scalars['String']['input'];
|
|
560
|
+
};
|
|
561
|
+
export type MutationUpdateUserEmailArgs = {
|
|
562
|
+
email: Scalars['String']['input'];
|
|
563
|
+
id: Scalars['ID']['input'];
|
|
564
|
+
};
|
|
565
|
+
export type MutationUpdateUserNameArgs = {
|
|
566
|
+
id: Scalars['ID']['input'];
|
|
567
|
+
name: Scalars['String']['input'];
|
|
568
|
+
};
|
|
569
|
+
export type MutationUpdateVersionArgs = {
|
|
570
|
+
id: Scalars['ID']['input'];
|
|
571
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
572
|
+
};
|
|
573
|
+
export type Notification = {
|
|
574
|
+
__typename?: 'Notification';
|
|
575
|
+
acknowledgedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
576
|
+
acknowledgedByUser?: Maybe<User>;
|
|
577
|
+
createdAt: Scalars['DateTime']['output'];
|
|
578
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
579
|
+
id: Scalars['ID']['output'];
|
|
580
|
+
integration?: Maybe<Integration>;
|
|
581
|
+
isAcknowledged: Scalars['Boolean']['output'];
|
|
582
|
+
log?: Maybe<LogEntry>;
|
|
583
|
+
title: Scalars['String']['output'];
|
|
584
|
+
type: NotificationType;
|
|
585
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
586
|
+
};
|
|
587
|
+
export type NotificationConnection = {
|
|
588
|
+
__typename?: 'NotificationConnection';
|
|
589
|
+
nodes: Array<Notification>;
|
|
590
|
+
pageInfo: PageInfo;
|
|
591
|
+
totalCount: Scalars['Int']['output'];
|
|
592
|
+
};
|
|
593
|
+
export declare enum NotificationType {
|
|
594
|
+
Failure = "failure",
|
|
595
|
+
Warning = "warning"
|
|
596
|
+
}
|
|
597
|
+
export type PageInfo = {
|
|
598
|
+
__typename?: 'PageInfo';
|
|
599
|
+
endCursor?: Maybe<Scalars['String']['output']>;
|
|
600
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
601
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
|
602
|
+
startCursor?: Maybe<Scalars['String']['output']>;
|
|
603
|
+
};
|
|
604
|
+
export type Participant = {
|
|
605
|
+
__typename?: 'Participant';
|
|
606
|
+
lastSeenAt?: Maybe<Scalars['DateTime']['output']>;
|
|
607
|
+
thread: Thread;
|
|
608
|
+
user: User;
|
|
609
|
+
};
|
|
610
|
+
export type ParticipantConnection = {
|
|
611
|
+
__typename?: 'ParticipantConnection';
|
|
612
|
+
edges: Array<ParticipantEdge>;
|
|
613
|
+
nodes: Array<User>;
|
|
614
|
+
pageInfo: PageInfo;
|
|
615
|
+
totalCount: Scalars['Int']['output'];
|
|
616
|
+
};
|
|
617
|
+
export type ParticipantEdge = {
|
|
618
|
+
__typename?: 'ParticipantEdge';
|
|
619
|
+
cursor: Scalars['String']['output'];
|
|
620
|
+
lastSeenAt?: Maybe<Scalars['DateTime']['output']>;
|
|
621
|
+
lastSeenMessage?: Maybe<Message>;
|
|
622
|
+
user: User;
|
|
623
|
+
};
|
|
624
|
+
export type Prompt = {
|
|
625
|
+
__typename?: 'Prompt';
|
|
626
|
+
content: Scalars['String']['output'];
|
|
627
|
+
createdAt: Scalars['DateTime']['output'];
|
|
628
|
+
creator: User;
|
|
629
|
+
id: Scalars['ID']['output'];
|
|
630
|
+
parentVersion?: Maybe<Prompt>;
|
|
631
|
+
};
|
|
632
|
+
export type Query = {
|
|
633
|
+
__typename?: 'Query';
|
|
634
|
+
account?: Maybe<Account>;
|
|
635
|
+
accountByKey?: Maybe<Account>;
|
|
636
|
+
accounts?: Maybe<AccountConnection>;
|
|
637
|
+
agent?: Maybe<Agent>;
|
|
638
|
+
agentByKey?: Maybe<Agent>;
|
|
639
|
+
agents: Array<Agent>;
|
|
640
|
+
element: Element;
|
|
641
|
+
elementByKey: Element;
|
|
642
|
+
integration?: Maybe<Integration>;
|
|
643
|
+
integrationByKey?: Maybe<Integration>;
|
|
644
|
+
integrations: IntegrationConnection;
|
|
645
|
+
log: Log;
|
|
646
|
+
logEntry: LogEntry;
|
|
647
|
+
notifications: NotificationConnection;
|
|
648
|
+
resolveElementInclude: ResolvedShadowElement;
|
|
649
|
+
resolveTemplateImport: ResolvedTemplateImport;
|
|
650
|
+
response?: Maybe<Response>;
|
|
651
|
+
ruleset?: Maybe<Ruleset>;
|
|
652
|
+
rulesets: RulesetConnection;
|
|
653
|
+
secretRef?: Maybe<Scalars['String']['output']>;
|
|
654
|
+
session: Session;
|
|
655
|
+
thread: Thread;
|
|
656
|
+
threads: ThreadConnection;
|
|
657
|
+
user?: Maybe<User>;
|
|
658
|
+
users?: Maybe<UserConnection>;
|
|
659
|
+
};
|
|
660
|
+
export type QueryAccountArgs = {
|
|
661
|
+
id: Scalars['ID']['input'];
|
|
662
|
+
};
|
|
663
|
+
export type QueryAccountByKeyArgs = {
|
|
664
|
+
key: Scalars['ID']['input'];
|
|
665
|
+
};
|
|
666
|
+
export type QueryAccountsArgs = {
|
|
667
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
668
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
669
|
+
direction?: InputMaybe<Direction>;
|
|
670
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
671
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
672
|
+
orderBy?: InputMaybe<AccountOrderField>;
|
|
673
|
+
};
|
|
674
|
+
export type QueryAgentArgs = {
|
|
675
|
+
id: Scalars['ID']['input'];
|
|
676
|
+
};
|
|
677
|
+
export type QueryAgentByKeyArgs = {
|
|
678
|
+
key: Scalars['String']['input'];
|
|
679
|
+
};
|
|
680
|
+
export type QueryElementArgs = {
|
|
681
|
+
id: Scalars['ID']['input'];
|
|
682
|
+
versionId?: InputMaybe<Scalars['ID']['input']>;
|
|
683
|
+
};
|
|
684
|
+
export type QueryElementByKeyArgs = {
|
|
685
|
+
integrationId: Scalars['ID']['input'];
|
|
686
|
+
key: Scalars['ID']['input'];
|
|
687
|
+
type: ElementType;
|
|
688
|
+
versionId?: InputMaybe<Scalars['ID']['input']>;
|
|
689
|
+
};
|
|
690
|
+
export type QueryIntegrationArgs = {
|
|
691
|
+
id: Scalars['ID']['input'];
|
|
692
|
+
};
|
|
693
|
+
export type QueryIntegrationByKeyArgs = {
|
|
694
|
+
accountId: Scalars['ID']['input'];
|
|
695
|
+
key: Scalars['ID']['input'];
|
|
696
|
+
};
|
|
697
|
+
export type QueryIntegrationsArgs = {
|
|
698
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
699
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
700
|
+
direction?: InputMaybe<Direction>;
|
|
701
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
702
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
703
|
+
orderBy?: InputMaybe<IntegrationOrderField>;
|
|
704
|
+
};
|
|
705
|
+
export type QueryLogArgs = {
|
|
706
|
+
id: Scalars['ID']['input'];
|
|
707
|
+
};
|
|
708
|
+
export type QueryLogEntryArgs = {
|
|
709
|
+
id: Scalars['ID']['input'];
|
|
710
|
+
};
|
|
711
|
+
export type QueryNotificationsArgs = {
|
|
712
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
713
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
714
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
715
|
+
isAcknowledged?: InputMaybe<Scalars['Boolean']['input']>;
|
|
716
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
717
|
+
};
|
|
718
|
+
export type QueryResolveElementIncludeArgs = {
|
|
719
|
+
elementId: Scalars['ID']['input'];
|
|
720
|
+
sourceTimestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
721
|
+
};
|
|
722
|
+
export type QueryResolveTemplateImportArgs = {
|
|
723
|
+
templateId: Scalars['ID']['input'];
|
|
724
|
+
versionId?: InputMaybe<Scalars['ID']['input']>;
|
|
725
|
+
};
|
|
726
|
+
export type QueryResponseArgs = {
|
|
727
|
+
actionId: Scalars['ID']['input'];
|
|
728
|
+
};
|
|
729
|
+
export type QueryRulesetArgs = {
|
|
730
|
+
id: Scalars['ID']['input'];
|
|
731
|
+
};
|
|
732
|
+
export type QueryRulesetsArgs = {
|
|
733
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
734
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
735
|
+
direction?: InputMaybe<Direction>;
|
|
736
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
737
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
738
|
+
orderBy?: InputMaybe<RulesetOrderField>;
|
|
739
|
+
};
|
|
740
|
+
export type QuerySecretRefArgs = {
|
|
741
|
+
id: Scalars['ID']['input'];
|
|
742
|
+
};
|
|
743
|
+
export type QueryThreadArgs = {
|
|
744
|
+
id: Scalars['ID']['input'];
|
|
745
|
+
};
|
|
746
|
+
export type QueryUserArgs = {
|
|
747
|
+
id: Scalars['ID']['input'];
|
|
748
|
+
};
|
|
749
|
+
export type ResolvedShadowElement = {
|
|
750
|
+
__typename?: 'ResolvedShadowElement';
|
|
751
|
+
content?: Maybe<ElementContent>;
|
|
752
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
753
|
+
key: Scalars['ID']['output'];
|
|
754
|
+
name: Scalars['String']['output'];
|
|
755
|
+
type: ElementType;
|
|
756
|
+
};
|
|
757
|
+
export type ResolvedTemplateImport = {
|
|
758
|
+
__typename?: 'ResolvedTemplateImport';
|
|
759
|
+
elements: Array<ResolvedShadowElement>;
|
|
760
|
+
timestamp: Scalars['DateTime']['output'];
|
|
761
|
+
};
|
|
762
|
+
export type Response = {
|
|
763
|
+
__typename?: 'Response';
|
|
764
|
+
data?: Maybe<Scalars['JSON']['output']>;
|
|
765
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
766
|
+
expireDataAt?: Maybe<Scalars['DateTime']['output']>;
|
|
767
|
+
id: Scalars['String']['output'];
|
|
768
|
+
itemCount?: Maybe<Scalars['Int']['output']>;
|
|
769
|
+
origin?: Maybe<Scalars['String']['output']>;
|
|
770
|
+
paging?: Maybe<ResponsePagination>;
|
|
771
|
+
params?: Maybe<Scalars['JSON']['output']>;
|
|
772
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
773
|
+
status: Scalars['String']['output'];
|
|
774
|
+
unitCount?: Maybe<Scalars['Int']['output']>;
|
|
775
|
+
warning?: Maybe<Scalars['String']['output']>;
|
|
776
|
+
};
|
|
777
|
+
export type ResponsePagination = {
|
|
778
|
+
__typename?: 'ResponsePagination';
|
|
779
|
+
next?: Maybe<Scalars['JSON']['output']>;
|
|
780
|
+
prev?: Maybe<Scalars['JSON']['output']>;
|
|
781
|
+
};
|
|
782
|
+
export type ResponseWithoutData = {
|
|
783
|
+
__typename?: 'ResponseWithoutData';
|
|
784
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
785
|
+
id: Scalars['String']['output'];
|
|
786
|
+
itemCount?: Maybe<Scalars['Int']['output']>;
|
|
787
|
+
origin?: Maybe<Scalars['String']['output']>;
|
|
788
|
+
paging?: Maybe<ResponsePagination>;
|
|
789
|
+
params?: Maybe<Scalars['JSON']['output']>;
|
|
790
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
791
|
+
status: Scalars['String']['output'];
|
|
792
|
+
warning?: Maybe<Scalars['String']['output']>;
|
|
793
|
+
};
|
|
794
|
+
export type RetryRule = Element & {
|
|
795
|
+
__typename?: 'RetryRule';
|
|
796
|
+
content?: Maybe<ElementContent>;
|
|
797
|
+
createdAt: Scalars['DateTime']['output'];
|
|
798
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
799
|
+
id: Scalars['ID']['output'];
|
|
800
|
+
key: Scalars['ID']['output'];
|
|
801
|
+
name: Scalars['String']['output'];
|
|
802
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
803
|
+
};
|
|
804
|
+
export type Rule = {
|
|
805
|
+
__typename?: 'Rule';
|
|
806
|
+
conditions: Array<Scalars['JSON']['output']>;
|
|
807
|
+
response: RuleResponse;
|
|
808
|
+
};
|
|
809
|
+
export type RuleInput = {
|
|
810
|
+
conditions: Array<Scalars['JSON']['input']>;
|
|
811
|
+
response: RuleResponseInput;
|
|
812
|
+
};
|
|
813
|
+
export type RuleResponse = {
|
|
814
|
+
__typename?: 'RuleResponse';
|
|
815
|
+
body?: Maybe<Scalars['JSON']['output']>;
|
|
816
|
+
headers?: Maybe<Scalars['JSON']['output']>;
|
|
817
|
+
status: Scalars['Int']['output'];
|
|
818
|
+
};
|
|
819
|
+
export type RuleResponseInput = {
|
|
820
|
+
body?: InputMaybe<Scalars['JSON']['input']>;
|
|
821
|
+
headers?: InputMaybe<Scalars['JSON']['input']>;
|
|
822
|
+
status: Scalars['Int']['input'];
|
|
823
|
+
};
|
|
824
|
+
export type Ruleset = {
|
|
825
|
+
__typename?: 'Ruleset';
|
|
826
|
+
createdAt: Scalars['DateTime']['output'];
|
|
827
|
+
id: Scalars['ID']['output'];
|
|
828
|
+
name: Scalars['String']['output'];
|
|
829
|
+
rules: Array<Rule>;
|
|
830
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
831
|
+
};
|
|
832
|
+
export type RulesetConnection = {
|
|
833
|
+
__typename?: 'RulesetConnection';
|
|
834
|
+
nodes: Array<Ruleset>;
|
|
835
|
+
pageInfo: PageInfo;
|
|
836
|
+
totalCount: Scalars['Int']['output'];
|
|
837
|
+
};
|
|
838
|
+
export declare enum RulesetOrderField {
|
|
839
|
+
CreatedAt = "createdAt",
|
|
840
|
+
Name = "name",
|
|
841
|
+
UpdatedAt = "updatedAt"
|
|
842
|
+
}
|
|
843
|
+
export type Schema = Element & {
|
|
844
|
+
__typename?: 'Schema';
|
|
845
|
+
content?: Maybe<ElementContent>;
|
|
846
|
+
createdAt: Scalars['DateTime']['output'];
|
|
847
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
848
|
+
id: Scalars['ID']['output'];
|
|
849
|
+
key: Scalars['ID']['output'];
|
|
850
|
+
name: Scalars['String']['output'];
|
|
851
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
852
|
+
};
|
|
853
|
+
export type SchemaMutation = Element & {
|
|
854
|
+
__typename?: 'SchemaMutation';
|
|
855
|
+
content?: Maybe<ElementContent>;
|
|
856
|
+
createdAt: Scalars['DateTime']['output'];
|
|
857
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
858
|
+
id: Scalars['ID']['output'];
|
|
859
|
+
key: Scalars['ID']['output'];
|
|
860
|
+
name: Scalars['String']['output'];
|
|
861
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
862
|
+
};
|
|
863
|
+
export type Service = Element & {
|
|
864
|
+
__typename?: 'Service';
|
|
865
|
+
content?: Maybe<ElementContent>;
|
|
866
|
+
createdAt: Scalars['DateTime']['output'];
|
|
867
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
868
|
+
id: Scalars['ID']['output'];
|
|
869
|
+
key: Scalars['ID']['output'];
|
|
870
|
+
name: Scalars['String']['output'];
|
|
871
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
872
|
+
};
|
|
873
|
+
export type Session = {
|
|
874
|
+
__typename?: 'Session';
|
|
875
|
+
accounts: Array<Account>;
|
|
876
|
+
user?: Maybe<User>;
|
|
877
|
+
};
|
|
878
|
+
export declare enum Status {
|
|
879
|
+
Active = "active",
|
|
880
|
+
Inactive = "inactive"
|
|
881
|
+
}
|
|
882
|
+
export type Subscription = {
|
|
883
|
+
__typename?: 'Subscription';
|
|
884
|
+
messagePosted: Message;
|
|
885
|
+
};
|
|
886
|
+
export type SubscriptionMessagePostedArgs = {
|
|
887
|
+
threadId: Scalars['ID']['input'];
|
|
888
|
+
};
|
|
889
|
+
export type TemplateImport = {
|
|
890
|
+
__typename?: 'TemplateImport';
|
|
891
|
+
createdAt: Scalars['DateTime']['output'];
|
|
892
|
+
id: Scalars['ID']['output'];
|
|
893
|
+
template?: Maybe<Integration>;
|
|
894
|
+
timestamp: Scalars['DateTime']['output'];
|
|
895
|
+
};
|
|
896
|
+
export type Thread = {
|
|
897
|
+
__typename?: 'Thread';
|
|
898
|
+
createdAt: Scalars['DateTime']['output'];
|
|
899
|
+
id: Scalars['ID']['output'];
|
|
900
|
+
messages: MessageConnection;
|
|
901
|
+
participants: ParticipantConnection;
|
|
902
|
+
status: Status;
|
|
903
|
+
title: Scalars['String']['output'];
|
|
904
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
905
|
+
};
|
|
906
|
+
export type ThreadConnection = {
|
|
907
|
+
__typename?: 'ThreadConnection';
|
|
908
|
+
nodes: Array<Thread>;
|
|
909
|
+
pageInfo: PageInfo;
|
|
910
|
+
totalCount: Scalars['Int']['output'];
|
|
911
|
+
};
|
|
912
|
+
export type User = {
|
|
913
|
+
__typename?: 'User';
|
|
914
|
+
createdAt: Scalars['DateTime']['output'];
|
|
915
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
916
|
+
id: Scalars['ID']['output'];
|
|
917
|
+
name: Scalars['String']['output'];
|
|
918
|
+
roles: Array<Scalars['String']['output']>;
|
|
919
|
+
status: Status;
|
|
920
|
+
type: UserType;
|
|
921
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
922
|
+
};
|
|
923
|
+
export type UserConnection = {
|
|
924
|
+
__typename?: 'UserConnection';
|
|
925
|
+
nodes: Array<User>;
|
|
926
|
+
pageInfo: PageInfo;
|
|
927
|
+
totalCount: Scalars['Int']['output'];
|
|
928
|
+
};
|
|
929
|
+
export declare enum UserType {
|
|
930
|
+
Agent = "agent",
|
|
931
|
+
Support = "support",
|
|
932
|
+
User = "user"
|
|
933
|
+
}
|
|
934
|
+
export type Value = Element & {
|
|
935
|
+
__typename?: 'Value';
|
|
936
|
+
content?: Maybe<ElementContent>;
|
|
937
|
+
createdAt: Scalars['DateTime']['output'];
|
|
938
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
939
|
+
hasValue: Scalars['Boolean']['output'];
|
|
940
|
+
id: Scalars['ID']['output'];
|
|
941
|
+
key: Scalars['ID']['output'];
|
|
942
|
+
name: Scalars['String']['output'];
|
|
943
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
944
|
+
value?: Maybe<Scalars['PrimitiveValue']['output']>;
|
|
945
|
+
};
|
|
946
|
+
export type Version = {
|
|
947
|
+
__typename?: 'Version';
|
|
948
|
+
auths: Array<Auth>;
|
|
949
|
+
config?: Maybe<ConfigElement>;
|
|
950
|
+
dictionaries: Array<Dictionary>;
|
|
951
|
+
elements: Array<Element>;
|
|
952
|
+
flows: Array<Flow>;
|
|
953
|
+
id: Scalars['ID']['output'];
|
|
954
|
+
isActive: Scalars['Boolean']['output'];
|
|
955
|
+
jobs: Array<Job>;
|
|
956
|
+
mutations: Array<SchemaMutation>;
|
|
957
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
958
|
+
schemas: Array<Schema>;
|
|
959
|
+
services: Array<Service>;
|
|
960
|
+
timestamp: Scalars['DateTime']['output'];
|
|
961
|
+
values: Array<Value>;
|
|
962
|
+
};
|
|
963
|
+
export type VersionElementsArgs = {
|
|
964
|
+
type?: InputMaybe<Array<ElementType>>;
|
|
965
|
+
};
|