masterypath-sdk 0.0.1
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/.dev.vars +2 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/1e4db3c9171af17397cf90ef2f593be5a4b69af562e75c7443bac364b5ee13ff.sqlite +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/1e4db3c9171af17397cf90ef2f593be5a4b69af562e75c7443bac364b5ee13ff.sqlite-shm +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/1e4db3c9171af17397cf90ef2f593be5a4b69af562e75c7443bac364b5ee13ff.sqlite-wal +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/56b105fd2dc4b3fb6c5747ff7b4382eed21869d8565e2efa721c0ed2f32718cb.sqlite +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/56b105fd2dc4b3fb6c5747ff7b4382eed21869d8565e2efa721c0ed2f32718cb.sqlite-shm +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/56b105fd2dc4b3fb6c5747ff7b4382eed21869d8565e2efa721c0ed2f32718cb.sqlite-wal +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/65c29bc0e70a4606712fbbe4f60c7608395ec7d433afc750ae710de59fa6a710.sqlite +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/65c29bc0e70a4606712fbbe4f60c7608395ec7d433afc750ae710de59fa6a710.sqlite-shm +0 -0
- package/.wrangler/state/v3/kv/miniflare-KVNamespaceObject/65c29bc0e70a4606712fbbe4f60c7608395ec7d433afc750ae710de59fa6a710.sqlite-wal +0 -0
- package/dist/MasterypathSDK.d.ts +18 -0
- package/dist/MasterypathSDK.d.ts.map +1 -0
- package/dist/MasterypathSDK.js +19 -0
- package/dist/MasterypathSDK.js.map +1 -0
- package/dist/cli/cli.d.ts +3 -0
- package/dist/cli/cli.d.ts.map +1 -0
- package/dist/cli/cli.js +52 -0
- package/dist/cli/cli.js.map +1 -0
- package/dist/cli/commands/chat.d.ts +4 -0
- package/dist/cli/commands/chat.d.ts.map +1 -0
- package/dist/cli/commands/chat.js +321 -0
- package/dist/cli/commands/chat.js.map +1 -0
- package/dist/cli/commands/company-services.d.ts +4 -0
- package/dist/cli/commands/company-services.d.ts.map +1 -0
- package/dist/cli/commands/company-services.js +167 -0
- package/dist/cli/commands/company-services.js.map +1 -0
- package/dist/cli/commands/organizations.d.ts +4 -0
- package/dist/cli/commands/organizations.d.ts.map +1 -0
- package/dist/cli/commands/organizations.js +341 -0
- package/dist/cli/commands/organizations.js.map +1 -0
- package/dist/cli/commands/public-api.d.ts +4 -0
- package/dist/cli/commands/public-api.d.ts.map +1 -0
- package/dist/cli/commands/public-api.js +70 -0
- package/dist/cli/commands/public-api.js.map +1 -0
- package/dist/cli/commands/uploads.d.ts +4 -0
- package/dist/cli/commands/uploads.d.ts.map +1 -0
- package/dist/cli/commands/uploads.js +25 -0
- package/dist/cli/commands/uploads.js.map +1 -0
- package/dist/cli/commands/users.d.ts +4 -0
- package/dist/cli/commands/users.d.ts.map +1 -0
- package/dist/cli/commands/users.js +296 -0
- package/dist/cli/commands/users.js.map +1 -0
- package/dist/cli/config.d.ts +3 -0
- package/dist/cli/config.d.ts.map +1 -0
- package/dist/cli/config.js +24 -0
- package/dist/cli/config.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +10 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/output.d.ts +3 -0
- package/dist/cli/output.d.ts.map +1 -0
- package/dist/cli/output.js +58 -0
- package/dist/cli/output.js.map +1 -0
- package/dist/clients/BaseClient.d.ts +7 -0
- package/dist/clients/BaseClient.d.ts.map +1 -0
- package/dist/clients/BaseClient.js +60 -0
- package/dist/clients/BaseClient.js.map +1 -0
- package/dist/clients/HttpClient.d.ts +6 -0
- package/dist/clients/HttpClient.d.ts.map +1 -0
- package/dist/clients/HttpClient.js +7 -0
- package/dist/clients/HttpClient.js.map +1 -0
- package/dist/config/types.d.ts +24 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/domains/chat/ChatClient.d.ts +24 -0
- package/dist/domains/chat/ChatClient.d.ts.map +1 -0
- package/dist/domains/chat/ChatClient.js +347 -0
- package/dist/domains/chat/ChatClient.js.map +1 -0
- package/dist/domains/chat/types.d.ts +104 -0
- package/dist/domains/chat/types.d.ts.map +1 -0
- package/dist/domains/chat/types.js +2 -0
- package/dist/domains/chat/types.js.map +1 -0
- package/dist/domains/company-services/CompanyServicesClient.d.ts +16 -0
- package/dist/domains/company-services/CompanyServicesClient.d.ts.map +1 -0
- package/dist/domains/company-services/CompanyServicesClient.js +116 -0
- package/dist/domains/company-services/CompanyServicesClient.js.map +1 -0
- package/dist/domains/containers/ContainersClient.d.ts +65 -0
- package/dist/domains/containers/ContainersClient.d.ts.map +1 -0
- package/dist/domains/containers/ContainersClient.js +404 -0
- package/dist/domains/containers/ContainersClient.js.map +1 -0
- package/dist/domains/index.d.ts +8 -0
- package/dist/domains/index.d.ts.map +1 -0
- package/dist/domains/index.js +5 -0
- package/dist/domains/index.js.map +1 -0
- package/dist/domains/listings/ListingsClient.d.ts +14 -0
- package/dist/domains/listings/ListingsClient.d.ts.map +1 -0
- package/dist/domains/listings/ListingsClient.js +92 -0
- package/dist/domains/listings/ListingsClient.js.map +1 -0
- package/dist/domains/merchants/MerchantsClient.d.ts +33 -0
- package/dist/domains/merchants/MerchantsClient.d.ts.map +1 -0
- package/dist/domains/merchants/MerchantsClient.js +330 -0
- package/dist/domains/merchants/MerchantsClient.js.map +1 -0
- package/dist/domains/orders/OrdersClient.d.ts +96 -0
- package/dist/domains/orders/OrdersClient.d.ts.map +1 -0
- package/dist/domains/orders/OrdersClient.js +664 -0
- package/dist/domains/orders/OrdersClient.js.map +1 -0
- package/dist/domains/orders/types.d.ts +46 -0
- package/dist/domains/orders/types.d.ts.map +1 -0
- package/dist/domains/orders/types.js +2 -0
- package/dist/domains/orders/types.js.map +1 -0
- package/dist/domains/organizations/OrganizationsClient.d.ts +22 -0
- package/dist/domains/organizations/OrganizationsClient.d.ts.map +1 -0
- package/dist/domains/organizations/OrganizationsClient.js +191 -0
- package/dist/domains/organizations/OrganizationsClient.js.map +1 -0
- package/dist/domains/plants/PlantsClient.d.ts +35 -0
- package/dist/domains/plants/PlantsClient.d.ts.map +1 -0
- package/dist/domains/plants/PlantsClient.js +76 -0
- package/dist/domains/plants/PlantsClient.js.map +1 -0
- package/dist/domains/products/ProductsClient.d.ts +14 -0
- package/dist/domains/products/ProductsClient.d.ts.map +1 -0
- package/dist/domains/products/ProductsClient.js +91 -0
- package/dist/domains/products/ProductsClient.js.map +1 -0
- package/dist/domains/public-api/PublicApiClient.d.ts +14 -0
- package/dist/domains/public-api/PublicApiClient.d.ts.map +1 -0
- package/dist/domains/public-api/PublicApiClient.js +48 -0
- package/dist/domains/public-api/PublicApiClient.js.map +1 -0
- package/dist/domains/uploads/UploadsClient.d.ts +29 -0
- package/dist/domains/uploads/UploadsClient.d.ts.map +1 -0
- package/dist/domains/uploads/UploadsClient.js +50 -0
- package/dist/domains/uploads/UploadsClient.js.map +1 -0
- package/dist/domains/usdazones/UsdazonesClient.d.ts +8 -0
- package/dist/domains/usdazones/UsdazonesClient.d.ts.map +1 -0
- package/dist/domains/usdazones/UsdazonesClient.js +17 -0
- package/dist/domains/usdazones/UsdazonesClient.js.map +1 -0
- package/dist/domains/users/UsersClient.d.ts +22 -0
- package/dist/domains/users/UsersClient.d.ts.map +1 -0
- package/dist/domains/users/UsersClient.js +183 -0
- package/dist/domains/users/UsersClient.js.map +1 -0
- package/dist/domains/users/types.d.ts +59 -0
- package/dist/domains/users/types.d.ts.map +1 -0
- package/dist/domains/users/types.js +2 -0
- package/dist/domains/users/types.js.map +1 -0
- package/dist/generated/graphql.d.ts +1750 -0
- package/dist/generated/graphql.d.ts.map +1 -0
- package/dist/generated/graphql.js +51 -0
- package/dist/generated/graphql.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/fulfillmentWindows.d.ts +12 -0
- package/dist/shared/fulfillmentWindows.d.ts.map +1 -0
- package/dist/shared/fulfillmentWindows.js +35 -0
- package/dist/shared/fulfillmentWindows.js.map +1 -0
- package/dist/utils/errors.d.ts +28 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +23 -0
- package/dist/utils/errors.js.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1,1750 @@
|
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
24
|
+
export type Scalars = {
|
|
25
|
+
ID: {
|
|
26
|
+
input: string;
|
|
27
|
+
output: string;
|
|
28
|
+
};
|
|
29
|
+
String: {
|
|
30
|
+
input: string;
|
|
31
|
+
output: string;
|
|
32
|
+
};
|
|
33
|
+
Boolean: {
|
|
34
|
+
input: boolean;
|
|
35
|
+
output: boolean;
|
|
36
|
+
};
|
|
37
|
+
Int: {
|
|
38
|
+
input: number;
|
|
39
|
+
output: number;
|
|
40
|
+
};
|
|
41
|
+
Float: {
|
|
42
|
+
input: number;
|
|
43
|
+
output: number;
|
|
44
|
+
};
|
|
45
|
+
JSON: {
|
|
46
|
+
input: any;
|
|
47
|
+
output: any;
|
|
48
|
+
};
|
|
49
|
+
Timestamp: {
|
|
50
|
+
input: Date;
|
|
51
|
+
output: Date;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export type AcceptInvitationInput = {
|
|
55
|
+
email: Scalars['String']['input'];
|
|
56
|
+
organizationId: Scalars['String']['input'];
|
|
57
|
+
};
|
|
58
|
+
export type Agent = {
|
|
59
|
+
__typename?: 'Agent';
|
|
60
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
61
|
+
folderName: Scalars['String']['output'];
|
|
62
|
+
id: Scalars['ID']['output'];
|
|
63
|
+
name: Scalars['String']['output'];
|
|
64
|
+
systemPrompt?: Maybe<Scalars['String']['output']>;
|
|
65
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
66
|
+
};
|
|
67
|
+
export type AgentsItem = {
|
|
68
|
+
__typename?: 'AgentsItem';
|
|
69
|
+
/** Date */
|
|
70
|
+
createdAt: Scalars['String']['output'];
|
|
71
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
72
|
+
folderName: Scalars['String']['output'];
|
|
73
|
+
id: Scalars['String']['output'];
|
|
74
|
+
name: Scalars['String']['output'];
|
|
75
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
76
|
+
/** Date */
|
|
77
|
+
updatedAt: Scalars['String']['output'];
|
|
78
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
79
|
+
};
|
|
80
|
+
export type AgentsSelectItem = {
|
|
81
|
+
__typename?: 'AgentsSelectItem';
|
|
82
|
+
/** Date */
|
|
83
|
+
createdAt: Scalars['String']['output'];
|
|
84
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
85
|
+
folderName: Scalars['String']['output'];
|
|
86
|
+
id: Scalars['String']['output'];
|
|
87
|
+
name: Scalars['String']['output'];
|
|
88
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
89
|
+
/** Date */
|
|
90
|
+
updatedAt: Scalars['String']['output'];
|
|
91
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
92
|
+
};
|
|
93
|
+
export type ApiKey = {
|
|
94
|
+
__typename?: 'ApiKey';
|
|
95
|
+
apiKey: Scalars['String']['output'];
|
|
96
|
+
createdAt: Scalars['String']['output'];
|
|
97
|
+
organizationId: Scalars['String']['output'];
|
|
98
|
+
permissions: Array<Scalars['String']['output']>;
|
|
99
|
+
};
|
|
100
|
+
export type AskInput = {
|
|
101
|
+
agentId: Scalars['String']['input'];
|
|
102
|
+
contextId: Scalars['String']['input'];
|
|
103
|
+
prompt: Scalars['String']['input'];
|
|
104
|
+
stream?: InputMaybe<Scalars['Boolean']['input']>;
|
|
105
|
+
};
|
|
106
|
+
export type AssignRolesToUserInput = {
|
|
107
|
+
organizationId: Scalars['String']['input'];
|
|
108
|
+
roleNames: Array<Scalars['String']['input']>;
|
|
109
|
+
userId: Scalars['String']['input'];
|
|
110
|
+
};
|
|
111
|
+
export type AutoRagIndexResponse = {
|
|
112
|
+
__typename?: 'AutoRAGIndexResponse';
|
|
113
|
+
jobId?: Maybe<Scalars['String']['output']>;
|
|
114
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
115
|
+
status: Scalars['String']['output'];
|
|
116
|
+
};
|
|
117
|
+
export type AutoRagResponse = {
|
|
118
|
+
__typename?: 'AutoRAGResponse';
|
|
119
|
+
sources: Array<Scalars['String']['output']>;
|
|
120
|
+
text: Scalars['String']['output'];
|
|
121
|
+
};
|
|
122
|
+
export type AutoRagStatus = {
|
|
123
|
+
__typename?: 'AutoRAGStatus';
|
|
124
|
+
status: Scalars['String']['output'];
|
|
125
|
+
};
|
|
126
|
+
export type ContextMessage = {
|
|
127
|
+
__typename?: 'ContextMessage';
|
|
128
|
+
content: Scalars['String']['output'];
|
|
129
|
+
contextId: Scalars['String']['output'];
|
|
130
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
131
|
+
feedbackPositive?: Maybe<Scalars['Boolean']['output']>;
|
|
132
|
+
feedbackText?: Maybe<Scalars['String']['output']>;
|
|
133
|
+
id: Scalars['ID']['output'];
|
|
134
|
+
intent?: Maybe<Scalars['String']['output']>;
|
|
135
|
+
language?: Maybe<Scalars['String']['output']>;
|
|
136
|
+
messageType: Scalars['String']['output'];
|
|
137
|
+
metadata?: Maybe<Scalars['JSON']['output']>;
|
|
138
|
+
sources: Array<Scalars['String']['output']>;
|
|
139
|
+
vectordbSynced: Scalars['Boolean']['output'];
|
|
140
|
+
};
|
|
141
|
+
export type ContextMessagesItem = {
|
|
142
|
+
__typename?: 'ContextMessagesItem';
|
|
143
|
+
content: Scalars['String']['output'];
|
|
144
|
+
contextId: Scalars['String']['output'];
|
|
145
|
+
/** Date */
|
|
146
|
+
createdAt: Scalars['String']['output'];
|
|
147
|
+
feedbackPositive?: Maybe<Scalars['Boolean']['output']>;
|
|
148
|
+
feedbackText?: Maybe<Scalars['String']['output']>;
|
|
149
|
+
id: Scalars['String']['output'];
|
|
150
|
+
intent?: Maybe<Scalars['String']['output']>;
|
|
151
|
+
language?: Maybe<Scalars['String']['output']>;
|
|
152
|
+
messageType: Scalars['String']['output'];
|
|
153
|
+
/** JSON */
|
|
154
|
+
metadata: Scalars['String']['output'];
|
|
155
|
+
/** JSON */
|
|
156
|
+
sources: Scalars['String']['output'];
|
|
157
|
+
vectordbSynced: Scalars['Boolean']['output'];
|
|
158
|
+
};
|
|
159
|
+
export type ContextMessagesSelectItem = {
|
|
160
|
+
__typename?: 'ContextMessagesSelectItem';
|
|
161
|
+
content: Scalars['String']['output'];
|
|
162
|
+
contextId: Scalars['String']['output'];
|
|
163
|
+
/** Date */
|
|
164
|
+
createdAt: Scalars['String']['output'];
|
|
165
|
+
feedbackPositive?: Maybe<Scalars['Boolean']['output']>;
|
|
166
|
+
feedbackText?: Maybe<Scalars['String']['output']>;
|
|
167
|
+
id: Scalars['String']['output'];
|
|
168
|
+
intent?: Maybe<Scalars['String']['output']>;
|
|
169
|
+
language?: Maybe<Scalars['String']['output']>;
|
|
170
|
+
messageType: Scalars['String']['output'];
|
|
171
|
+
/** JSON */
|
|
172
|
+
metadata: Scalars['String']['output'];
|
|
173
|
+
/** JSON */
|
|
174
|
+
sources: Scalars['String']['output'];
|
|
175
|
+
vectordbSynced: Scalars['Boolean']['output'];
|
|
176
|
+
};
|
|
177
|
+
export type ContextSession = {
|
|
178
|
+
__typename?: 'ContextSession';
|
|
179
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
180
|
+
deletedAt?: Maybe<Scalars['Timestamp']['output']>;
|
|
181
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
182
|
+
id: Scalars['ID']['output'];
|
|
183
|
+
isActive: Scalars['Boolean']['output'];
|
|
184
|
+
language: Scalars['String']['output'];
|
|
185
|
+
sessionName: Scalars['String']['output'];
|
|
186
|
+
totalTokens: Scalars['Int']['output'];
|
|
187
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
188
|
+
userId: Scalars['String']['output'];
|
|
189
|
+
};
|
|
190
|
+
export type ContextsItem = {
|
|
191
|
+
__typename?: 'ContextsItem';
|
|
192
|
+
/** Date */
|
|
193
|
+
createdAt: Scalars['String']['output'];
|
|
194
|
+
/** Date */
|
|
195
|
+
deletedAt?: Maybe<Scalars['String']['output']>;
|
|
196
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
197
|
+
id: Scalars['String']['output'];
|
|
198
|
+
isActive: Scalars['Boolean']['output'];
|
|
199
|
+
language: Scalars['String']['output'];
|
|
200
|
+
sessionName: Scalars['String']['output'];
|
|
201
|
+
totalTokens: Scalars['Int']['output'];
|
|
202
|
+
/** Date */
|
|
203
|
+
updatedAt: Scalars['String']['output'];
|
|
204
|
+
userId: Scalars['String']['output'];
|
|
205
|
+
};
|
|
206
|
+
export type ContextsSelectItem = {
|
|
207
|
+
__typename?: 'ContextsSelectItem';
|
|
208
|
+
/** Date */
|
|
209
|
+
createdAt: Scalars['String']['output'];
|
|
210
|
+
/** Date */
|
|
211
|
+
deletedAt?: Maybe<Scalars['String']['output']>;
|
|
212
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
213
|
+
id: Scalars['String']['output'];
|
|
214
|
+
isActive: Scalars['Boolean']['output'];
|
|
215
|
+
language: Scalars['String']['output'];
|
|
216
|
+
sessionName: Scalars['String']['output'];
|
|
217
|
+
totalTokens: Scalars['Int']['output'];
|
|
218
|
+
/** Date */
|
|
219
|
+
updatedAt: Scalars['String']['output'];
|
|
220
|
+
userId: Scalars['String']['output'];
|
|
221
|
+
};
|
|
222
|
+
export type CreateAgentInput = {
|
|
223
|
+
name: Scalars['String']['input'];
|
|
224
|
+
systemPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
225
|
+
};
|
|
226
|
+
export type CreateApiKeyInput = {
|
|
227
|
+
roleId: Scalars['String']['input'];
|
|
228
|
+
};
|
|
229
|
+
export type CreateContextInput = {
|
|
230
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
|
231
|
+
sessionName: Scalars['String']['input'];
|
|
232
|
+
};
|
|
233
|
+
export type CreateOrganizationInput = {
|
|
234
|
+
description: Scalars['String']['input'];
|
|
235
|
+
handle: Scalars['String']['input'];
|
|
236
|
+
organizationName: Scalars['String']['input'];
|
|
237
|
+
};
|
|
238
|
+
export type DeleteInvitationInput = {
|
|
239
|
+
email: Scalars['String']['input'];
|
|
240
|
+
organizationId: Scalars['String']['input'];
|
|
241
|
+
};
|
|
242
|
+
export type File = {
|
|
243
|
+
__typename?: 'File';
|
|
244
|
+
agentId: Scalars['String']['output'];
|
|
245
|
+
chunks1mb: Scalars['Int']['output'];
|
|
246
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
247
|
+
filename: Scalars['String']['output'];
|
|
248
|
+
id: Scalars['ID']['output'];
|
|
249
|
+
size: Scalars['Float']['output'];
|
|
250
|
+
tokens: Scalars['Int']['output'];
|
|
251
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
252
|
+
};
|
|
253
|
+
export type FilesItem = {
|
|
254
|
+
__typename?: 'FilesItem';
|
|
255
|
+
agentId: Scalars['String']['output'];
|
|
256
|
+
chunks1mb: Scalars['Int']['output'];
|
|
257
|
+
/** Date */
|
|
258
|
+
createdAt: Scalars['String']['output'];
|
|
259
|
+
filename: Scalars['String']['output'];
|
|
260
|
+
id: Scalars['String']['output'];
|
|
261
|
+
size: Scalars['Float']['output'];
|
|
262
|
+
tokens: Scalars['Int']['output'];
|
|
263
|
+
/** Date */
|
|
264
|
+
updatedAt: Scalars['String']['output'];
|
|
265
|
+
};
|
|
266
|
+
export type FilesSelectItem = {
|
|
267
|
+
__typename?: 'FilesSelectItem';
|
|
268
|
+
agentId: Scalars['String']['output'];
|
|
269
|
+
chunks1mb: Scalars['Int']['output'];
|
|
270
|
+
/** Date */
|
|
271
|
+
createdAt: Scalars['String']['output'];
|
|
272
|
+
filename: Scalars['String']['output'];
|
|
273
|
+
id: Scalars['String']['output'];
|
|
274
|
+
size: Scalars['Float']['output'];
|
|
275
|
+
tokens: Scalars['Int']['output'];
|
|
276
|
+
/** Date */
|
|
277
|
+
updatedAt: Scalars['String']['output'];
|
|
278
|
+
};
|
|
279
|
+
export type Interests = {
|
|
280
|
+
__typename?: 'Interests';
|
|
281
|
+
buyingFromMarket: Scalars['Boolean']['output'];
|
|
282
|
+
communityStrength: Scalars['Boolean']['output'];
|
|
283
|
+
contributing: Scalars['Boolean']['output'];
|
|
284
|
+
deliveryDriver: Scalars['Boolean']['output'];
|
|
285
|
+
education: Scalars['Boolean']['output'];
|
|
286
|
+
events: Scalars['Boolean']['output'];
|
|
287
|
+
growingFreshProduce: Scalars['Boolean']['output'];
|
|
288
|
+
makingProducts: Scalars['Boolean']['output'];
|
|
289
|
+
masterypathAmbassador: Scalars['Boolean']['output'];
|
|
290
|
+
recipes: Scalars['Boolean']['output'];
|
|
291
|
+
sellingToMarket: Scalars['Boolean']['output'];
|
|
292
|
+
skillTrade: Scalars['Boolean']['output'];
|
|
293
|
+
soilTesting: Scalars['Boolean']['output'];
|
|
294
|
+
workingOnFarm: Scalars['Boolean']['output'];
|
|
295
|
+
};
|
|
296
|
+
export type InterestsItem = {
|
|
297
|
+
__typename?: 'InterestsItem';
|
|
298
|
+
buyingFromMarket: Scalars['Boolean']['output'];
|
|
299
|
+
communityStrength: Scalars['Boolean']['output'];
|
|
300
|
+
contributing: Scalars['Boolean']['output'];
|
|
301
|
+
deliveryDriver: Scalars['Boolean']['output'];
|
|
302
|
+
education: Scalars['Boolean']['output'];
|
|
303
|
+
events: Scalars['Boolean']['output'];
|
|
304
|
+
growingFreshProduce: Scalars['Boolean']['output'];
|
|
305
|
+
makingProducts: Scalars['Boolean']['output'];
|
|
306
|
+
recipes: Scalars['Boolean']['output'];
|
|
307
|
+
sellingToMarket: Scalars['Boolean']['output'];
|
|
308
|
+
skillTrade: Scalars['Boolean']['output'];
|
|
309
|
+
soilTesting: Scalars['Boolean']['output'];
|
|
310
|
+
tekelAmbassador: Scalars['Boolean']['output'];
|
|
311
|
+
userId: Scalars['String']['output'];
|
|
312
|
+
workingOnFarm: Scalars['Boolean']['output'];
|
|
313
|
+
};
|
|
314
|
+
export type InterestsSelectItem = {
|
|
315
|
+
__typename?: 'InterestsSelectItem';
|
|
316
|
+
buyingFromMarket: Scalars['Boolean']['output'];
|
|
317
|
+
communityStrength: Scalars['Boolean']['output'];
|
|
318
|
+
contributing: Scalars['Boolean']['output'];
|
|
319
|
+
deliveryDriver: Scalars['Boolean']['output'];
|
|
320
|
+
education: Scalars['Boolean']['output'];
|
|
321
|
+
events: Scalars['Boolean']['output'];
|
|
322
|
+
growingFreshProduce: Scalars['Boolean']['output'];
|
|
323
|
+
makingProducts: Scalars['Boolean']['output'];
|
|
324
|
+
recipes: Scalars['Boolean']['output'];
|
|
325
|
+
sellingToMarket: Scalars['Boolean']['output'];
|
|
326
|
+
skillTrade: Scalars['Boolean']['output'];
|
|
327
|
+
soilTesting: Scalars['Boolean']['output'];
|
|
328
|
+
tekelAmbassador: Scalars['Boolean']['output'];
|
|
329
|
+
userId: Scalars['String']['output'];
|
|
330
|
+
workingOnFarm: Scalars['Boolean']['output'];
|
|
331
|
+
};
|
|
332
|
+
export type InviteUserToOrganizationInput = {
|
|
333
|
+
organizationId: Scalars['String']['input'];
|
|
334
|
+
roleNames: Array<Scalars['String']['input']>;
|
|
335
|
+
userEmail: Scalars['String']['input'];
|
|
336
|
+
};
|
|
337
|
+
export type Mutation = {
|
|
338
|
+
__typename?: 'Mutation';
|
|
339
|
+
acceptInvitation: OrganizationUser;
|
|
340
|
+
assignRolesToUser: OrganizationUser;
|
|
341
|
+
createAgent: Scalars['String']['output'];
|
|
342
|
+
createApiKey: ApiKey;
|
|
343
|
+
createContext: Scalars['String']['output'];
|
|
344
|
+
createOrganization: Organization;
|
|
345
|
+
createPromocode: Scalars['String']['output'];
|
|
346
|
+
createStripeSubscription: Scalars['String']['output'];
|
|
347
|
+
createUser: User;
|
|
348
|
+
deleteAccountLocation: Scalars['Boolean']['output'];
|
|
349
|
+
deleteAgent: Scalars['Boolean']['output'];
|
|
350
|
+
deleteContext: ContextSession;
|
|
351
|
+
deleteInvitation: Scalars['Boolean']['output'];
|
|
352
|
+
deletePromocode: Scalars['Boolean']['output'];
|
|
353
|
+
deleteSubscription: Scalars['Boolean']['output'];
|
|
354
|
+
deleteUser?: Maybe<User>;
|
|
355
|
+
inviteUserToOrganization: OrganizationUser;
|
|
356
|
+
removeUserFromOrganization: Scalars['Boolean']['output'];
|
|
357
|
+
requestIndex: AutoRagIndexResponse;
|
|
358
|
+
saveContextMessage: Scalars['String']['output'];
|
|
359
|
+
subscribePush: Scalars['Boolean']['output'];
|
|
360
|
+
unsubscribePush: Scalars['Boolean']['output'];
|
|
361
|
+
updateAccountLocation?: Maybe<VerifierIdRegion>;
|
|
362
|
+
updateAgent: Agent;
|
|
363
|
+
updateContext: ContextSession;
|
|
364
|
+
updateInterests?: Maybe<Interests>;
|
|
365
|
+
updateOrganization: Organization;
|
|
366
|
+
updateUser?: Maybe<User>;
|
|
367
|
+
uploadAgentData: File;
|
|
368
|
+
};
|
|
369
|
+
export type MutationAcceptInvitationArgs = {
|
|
370
|
+
input: AcceptInvitationInput;
|
|
371
|
+
};
|
|
372
|
+
export type MutationAssignRolesToUserArgs = {
|
|
373
|
+
input: AssignRolesToUserInput;
|
|
374
|
+
};
|
|
375
|
+
export type MutationCreateAgentArgs = {
|
|
376
|
+
input: CreateAgentInput;
|
|
377
|
+
};
|
|
378
|
+
export type MutationCreateApiKeyArgs = {
|
|
379
|
+
input: CreateApiKeyInput;
|
|
380
|
+
};
|
|
381
|
+
export type MutationCreateContextArgs = {
|
|
382
|
+
input: CreateContextInput;
|
|
383
|
+
};
|
|
384
|
+
export type MutationCreateOrganizationArgs = {
|
|
385
|
+
input: CreateOrganizationInput;
|
|
386
|
+
};
|
|
387
|
+
export type MutationCreatePromocodeArgs = {
|
|
388
|
+
duration: Scalars['String']['input'];
|
|
389
|
+
durationInMonths?: InputMaybe<Scalars['Int']['input']>;
|
|
390
|
+
endingAt: Scalars['Int']['input'];
|
|
391
|
+
maxRedemptions: Scalars['Int']['input'];
|
|
392
|
+
percentageOff: Scalars['Float']['input'];
|
|
393
|
+
promoCode: Scalars['String']['input'];
|
|
394
|
+
serviceId: Scalars['String']['input'];
|
|
395
|
+
};
|
|
396
|
+
export type MutationCreateStripeSubscriptionArgs = {
|
|
397
|
+
paymentMethodId: Scalars['String']['input'];
|
|
398
|
+
promoCodeId?: InputMaybe<Scalars['String']['input']>;
|
|
399
|
+
serviceName: Scalars['String']['input'];
|
|
400
|
+
term: Scalars['String']['input'];
|
|
401
|
+
};
|
|
402
|
+
export type MutationCreateUserArgs = {
|
|
403
|
+
email: Scalars['String']['input'];
|
|
404
|
+
firstname: Scalars['String']['input'];
|
|
405
|
+
handle: Scalars['String']['input'];
|
|
406
|
+
isMfaEnabled: Scalars['Boolean']['input'];
|
|
407
|
+
lastname: Scalars['String']['input'];
|
|
408
|
+
middlename?: InputMaybe<Scalars['String']['input']>;
|
|
409
|
+
profileImage?: InputMaybe<Scalars['String']['input']>;
|
|
410
|
+
typeOfLogin: Scalars['String']['input'];
|
|
411
|
+
};
|
|
412
|
+
export type MutationDeleteAgentArgs = {
|
|
413
|
+
id: Scalars['String']['input'];
|
|
414
|
+
};
|
|
415
|
+
export type MutationDeleteContextArgs = {
|
|
416
|
+
id: Scalars['String']['input'];
|
|
417
|
+
};
|
|
418
|
+
export type MutationDeleteInvitationArgs = {
|
|
419
|
+
input: DeleteInvitationInput;
|
|
420
|
+
};
|
|
421
|
+
export type MutationDeletePromocodeArgs = {
|
|
422
|
+
id: Scalars['String']['input'];
|
|
423
|
+
};
|
|
424
|
+
export type MutationDeleteSubscriptionArgs = {
|
|
425
|
+
subscriptionId: Scalars['String']['input'];
|
|
426
|
+
};
|
|
427
|
+
export type MutationInviteUserToOrganizationArgs = {
|
|
428
|
+
input: InviteUserToOrganizationInput;
|
|
429
|
+
};
|
|
430
|
+
export type MutationRemoveUserFromOrganizationArgs = {
|
|
431
|
+
input: RemoveUserFromOrganizationInput;
|
|
432
|
+
};
|
|
433
|
+
export type MutationRequestIndexArgs = {
|
|
434
|
+
agentId: Scalars['String']['input'];
|
|
435
|
+
};
|
|
436
|
+
export type MutationSaveContextMessageArgs = {
|
|
437
|
+
input: SaveContextMessageInput;
|
|
438
|
+
};
|
|
439
|
+
export type MutationSubscribePushArgs = {
|
|
440
|
+
subscription: PushSubscriptionInput;
|
|
441
|
+
};
|
|
442
|
+
export type MutationUnsubscribePushArgs = {
|
|
443
|
+
endpoint: Scalars['String']['input'];
|
|
444
|
+
};
|
|
445
|
+
export type MutationUpdateAccountLocationArgs = {
|
|
446
|
+
dbRegion: Scalars['String']['input'];
|
|
447
|
+
};
|
|
448
|
+
export type MutationUpdateAgentArgs = {
|
|
449
|
+
input: UpdateAgentInput;
|
|
450
|
+
};
|
|
451
|
+
export type MutationUpdateContextArgs = {
|
|
452
|
+
input: UpdateContextInput;
|
|
453
|
+
};
|
|
454
|
+
export type MutationUpdateInterestsArgs = {
|
|
455
|
+
buyingFromMarket: Scalars['Boolean']['input'];
|
|
456
|
+
communityStrength: Scalars['Boolean']['input'];
|
|
457
|
+
contributing: Scalars['Boolean']['input'];
|
|
458
|
+
deliveryDriver: Scalars['Boolean']['input'];
|
|
459
|
+
education: Scalars['Boolean']['input'];
|
|
460
|
+
events: Scalars['Boolean']['input'];
|
|
461
|
+
growingFreshProduce: Scalars['Boolean']['input'];
|
|
462
|
+
makingProducts: Scalars['Boolean']['input'];
|
|
463
|
+
masterypathAmbassador: Scalars['Boolean']['input'];
|
|
464
|
+
recipes: Scalars['Boolean']['input'];
|
|
465
|
+
sellingToMarket: Scalars['Boolean']['input'];
|
|
466
|
+
skillTrade: Scalars['Boolean']['input'];
|
|
467
|
+
soilTesting: Scalars['Boolean']['input'];
|
|
468
|
+
workingOnFarm: Scalars['Boolean']['input'];
|
|
469
|
+
};
|
|
470
|
+
export type MutationUpdateOrganizationArgs = {
|
|
471
|
+
input: UpdateOrganizationInput;
|
|
472
|
+
};
|
|
473
|
+
export type MutationUpdateUserArgs = {
|
|
474
|
+
email: Scalars['String']['input'];
|
|
475
|
+
firstname: Scalars['String']['input'];
|
|
476
|
+
handle: Scalars['String']['input'];
|
|
477
|
+
isMfaEnabled: Scalars['Boolean']['input'];
|
|
478
|
+
lastname: Scalars['String']['input'];
|
|
479
|
+
middlename?: InputMaybe<Scalars['String']['input']>;
|
|
480
|
+
profileImage?: InputMaybe<Scalars['String']['input']>;
|
|
481
|
+
};
|
|
482
|
+
export type MutationUploadAgentDataArgs = {
|
|
483
|
+
input: UploadAgentDataInput;
|
|
484
|
+
};
|
|
485
|
+
export type Onboarding = {
|
|
486
|
+
__typename?: 'Onboarding';
|
|
487
|
+
completedAt?: Maybe<Scalars['String']['output']>;
|
|
488
|
+
firstProduct: Scalars['Boolean']['output'];
|
|
489
|
+
id: Scalars['ID']['output'];
|
|
490
|
+
merchantProfile: Scalars['Boolean']['output'];
|
|
491
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
492
|
+
subscriptionId?: Maybe<Scalars['String']['output']>;
|
|
493
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
494
|
+
};
|
|
495
|
+
export type OnboardingItem = {
|
|
496
|
+
__typename?: 'OnboardingItem';
|
|
497
|
+
/** Date */
|
|
498
|
+
completedAt?: Maybe<Scalars['String']['output']>;
|
|
499
|
+
firstProduct?: Maybe<Scalars['Boolean']['output']>;
|
|
500
|
+
id: Scalars['String']['output'];
|
|
501
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
502
|
+
organizationProfile?: Maybe<Scalars['Boolean']['output']>;
|
|
503
|
+
subscriptionId?: Maybe<Scalars['String']['output']>;
|
|
504
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
505
|
+
};
|
|
506
|
+
export type OnboardingSelectItem = {
|
|
507
|
+
__typename?: 'OnboardingSelectItem';
|
|
508
|
+
/** Date */
|
|
509
|
+
completedAt?: Maybe<Scalars['String']['output']>;
|
|
510
|
+
firstProduct?: Maybe<Scalars['Boolean']['output']>;
|
|
511
|
+
id: Scalars['String']['output'];
|
|
512
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
513
|
+
organizationProfile?: Maybe<Scalars['Boolean']['output']>;
|
|
514
|
+
subscriptionId?: Maybe<Scalars['String']['output']>;
|
|
515
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
516
|
+
};
|
|
517
|
+
export type Organization = {
|
|
518
|
+
__typename?: 'Organization';
|
|
519
|
+
banner?: Maybe<Scalars['Boolean']['output']>;
|
|
520
|
+
bannerVersion?: Maybe<Scalars['Int']['output']>;
|
|
521
|
+
createdAt: Scalars['String']['output'];
|
|
522
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
523
|
+
disapprovedMessage?: Maybe<Scalars['String']['output']>;
|
|
524
|
+
handle: Scalars['String']['output'];
|
|
525
|
+
id: Scalars['ID']['output'];
|
|
526
|
+
logo?: Maybe<Scalars['Boolean']['output']>;
|
|
527
|
+
logoVersion?: Maybe<Scalars['Int']['output']>;
|
|
528
|
+
organizationName: Scalars['String']['output'];
|
|
529
|
+
profileApproved: Scalars['Boolean']['output'];
|
|
530
|
+
updatedAt: Scalars['String']['output'];
|
|
531
|
+
};
|
|
532
|
+
export type OrganizationPermissions = {
|
|
533
|
+
__typename?: 'OrganizationPermissions';
|
|
534
|
+
organizationId: Scalars['String']['output'];
|
|
535
|
+
permissions: Array<Scalars['String']['output']>;
|
|
536
|
+
};
|
|
537
|
+
export type OrganizationUser = {
|
|
538
|
+
__typename?: 'OrganizationUser';
|
|
539
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
540
|
+
fullName?: Maybe<Scalars['String']['output']>;
|
|
541
|
+
organizationId: Scalars['String']['output'];
|
|
542
|
+
permissions?: Maybe<Array<Scalars['String']['output']>>;
|
|
543
|
+
roleName?: Maybe<Scalars['String']['output']>;
|
|
544
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
545
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
546
|
+
};
|
|
547
|
+
export type OrganizationsItem = {
|
|
548
|
+
__typename?: 'OrganizationsItem';
|
|
549
|
+
banner: Scalars['Boolean']['output'];
|
|
550
|
+
bannerVersion: Scalars['Int']['output'];
|
|
551
|
+
/** Date */
|
|
552
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
553
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
554
|
+
disapprovedMessage?: Maybe<Scalars['String']['output']>;
|
|
555
|
+
handle: Scalars['String']['output'];
|
|
556
|
+
id: Scalars['String']['output'];
|
|
557
|
+
logo: Scalars['Boolean']['output'];
|
|
558
|
+
logoVersion: Scalars['Int']['output'];
|
|
559
|
+
organizationName: Scalars['String']['output'];
|
|
560
|
+
profileApproved: Scalars['Boolean']['output'];
|
|
561
|
+
stripeMerchantAccountId?: Maybe<Scalars['String']['output']>;
|
|
562
|
+
/** Date */
|
|
563
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
564
|
+
};
|
|
565
|
+
export type OrganizationsSelectItem = {
|
|
566
|
+
__typename?: 'OrganizationsSelectItem';
|
|
567
|
+
banner: Scalars['Boolean']['output'];
|
|
568
|
+
bannerVersion: Scalars['Int']['output'];
|
|
569
|
+
/** Date */
|
|
570
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
571
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
572
|
+
disapprovedMessage?: Maybe<Scalars['String']['output']>;
|
|
573
|
+
handle: Scalars['String']['output'];
|
|
574
|
+
id: Scalars['String']['output'];
|
|
575
|
+
logo: Scalars['Boolean']['output'];
|
|
576
|
+
logoVersion: Scalars['Int']['output'];
|
|
577
|
+
organizationName: Scalars['String']['output'];
|
|
578
|
+
profileApproved: Scalars['Boolean']['output'];
|
|
579
|
+
stripeMerchantAccountId?: Maybe<Scalars['String']['output']>;
|
|
580
|
+
/** Date */
|
|
581
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
582
|
+
};
|
|
583
|
+
export type PermissionsItem = {
|
|
584
|
+
__typename?: 'PermissionsItem';
|
|
585
|
+
/** Date */
|
|
586
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
587
|
+
id: Scalars['String']['output'];
|
|
588
|
+
name: Scalars['String']['output'];
|
|
589
|
+
/** Date */
|
|
590
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
591
|
+
};
|
|
592
|
+
export type PermissionsSelectItem = {
|
|
593
|
+
__typename?: 'PermissionsSelectItem';
|
|
594
|
+
/** Date */
|
|
595
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
596
|
+
id: Scalars['String']['output'];
|
|
597
|
+
name: Scalars['String']['output'];
|
|
598
|
+
/** Date */
|
|
599
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
600
|
+
};
|
|
601
|
+
export type Promocode = {
|
|
602
|
+
__typename?: 'Promocode';
|
|
603
|
+
approved: Scalars['Boolean']['output'];
|
|
604
|
+
code: Scalars['String']['output'];
|
|
605
|
+
discount?: Maybe<Scalars['Float']['output']>;
|
|
606
|
+
id: Scalars['String']['output'];
|
|
607
|
+
};
|
|
608
|
+
export type PromocodesItem = {
|
|
609
|
+
__typename?: 'PromocodesItem';
|
|
610
|
+
approved: Scalars['Boolean']['output'];
|
|
611
|
+
code: Scalars['String']['output'];
|
|
612
|
+
discount?: Maybe<Scalars['Float']['output']>;
|
|
613
|
+
/** Date */
|
|
614
|
+
endingAt: Scalars['Timestamp']['output'];
|
|
615
|
+
id: Scalars['String']['output'];
|
|
616
|
+
serviceId: Scalars['String']['output'];
|
|
617
|
+
/** Date */
|
|
618
|
+
startedAt: Scalars['Timestamp']['output'];
|
|
619
|
+
stripePromoId: Scalars['String']['output'];
|
|
620
|
+
userId: Scalars['String']['output'];
|
|
621
|
+
};
|
|
622
|
+
export type PromocodesSelectItem = {
|
|
623
|
+
__typename?: 'PromocodesSelectItem';
|
|
624
|
+
approved: Scalars['Boolean']['output'];
|
|
625
|
+
code: Scalars['String']['output'];
|
|
626
|
+
discount?: Maybe<Scalars['Float']['output']>;
|
|
627
|
+
/** Date */
|
|
628
|
+
endingAt: Scalars['Timestamp']['output'];
|
|
629
|
+
id: Scalars['String']['output'];
|
|
630
|
+
serviceId: Scalars['String']['output'];
|
|
631
|
+
/** Date */
|
|
632
|
+
startedAt: Scalars['Timestamp']['output'];
|
|
633
|
+
stripePromoId: Scalars['String']['output'];
|
|
634
|
+
userId: Scalars['String']['output'];
|
|
635
|
+
};
|
|
636
|
+
export type PushSubscription = {
|
|
637
|
+
__typename?: 'PushSubscription';
|
|
638
|
+
endpoint: Scalars['String']['output'];
|
|
639
|
+
expirationTime?: Maybe<Scalars['Int']['output']>;
|
|
640
|
+
keys: PushSubscriptionKeys;
|
|
641
|
+
};
|
|
642
|
+
export type PushSubscriptionInput = {
|
|
643
|
+
endpoint: Scalars['String']['input'];
|
|
644
|
+
expirationTime?: InputMaybe<Scalars['Int']['input']>;
|
|
645
|
+
keys: PushSubscriptionKeysInput;
|
|
646
|
+
};
|
|
647
|
+
export type PushSubscriptionKeys = {
|
|
648
|
+
__typename?: 'PushSubscriptionKeys';
|
|
649
|
+
auth: Scalars['String']['output'];
|
|
650
|
+
p256dh: Scalars['String']['output'];
|
|
651
|
+
};
|
|
652
|
+
export type PushSubscriptionKeysInput = {
|
|
653
|
+
auth: Scalars['String']['input'];
|
|
654
|
+
p256dh: Scalars['String']['input'];
|
|
655
|
+
};
|
|
656
|
+
export type Query = {
|
|
657
|
+
__typename?: 'Query';
|
|
658
|
+
ask: AutoRagResponse;
|
|
659
|
+
autoragStatus: AutoRagStatus;
|
|
660
|
+
confirmPromoCode?: Maybe<Promocode>;
|
|
661
|
+
extractTerms: Array<Term>;
|
|
662
|
+
getAccountRegion?: Maybe<VerifierIdRegion>;
|
|
663
|
+
getContextMessages: Array<ContextMessage>;
|
|
664
|
+
getInterests?: Maybe<Interests>;
|
|
665
|
+
getOnboarding?: Maybe<Onboarding>;
|
|
666
|
+
getOrganization?: Maybe<Organization>;
|
|
667
|
+
getOrganizationByHandle?: Maybe<Organization>;
|
|
668
|
+
getOrganizationById?: Maybe<Organization>;
|
|
669
|
+
getService?: Maybe<Service>;
|
|
670
|
+
getSubscription?: Maybe<Subscription>;
|
|
671
|
+
getUser?: Maybe<User>;
|
|
672
|
+
listAgents: Array<Agent>;
|
|
673
|
+
listApiKeys: Array<ApiKey>;
|
|
674
|
+
listContexts: Array<ContextSession>;
|
|
675
|
+
listOrganizationUsers: Array<OrganizationUser>;
|
|
676
|
+
listRoles: Array<Role>;
|
|
677
|
+
listServices: Array<Service>;
|
|
678
|
+
listSubscriptions: Array<Subscription>;
|
|
679
|
+
user?: Maybe<User>;
|
|
680
|
+
};
|
|
681
|
+
export type QueryAskArgs = {
|
|
682
|
+
input: AskInput;
|
|
683
|
+
};
|
|
684
|
+
export type QueryConfirmPromoCodeArgs = {
|
|
685
|
+
code: Scalars['String']['input'];
|
|
686
|
+
service: Scalars['String']['input'];
|
|
687
|
+
term?: InputMaybe<Scalars['String']['input']>;
|
|
688
|
+
};
|
|
689
|
+
export type QueryExtractTermsArgs = {
|
|
690
|
+
text: Scalars['String']['input'];
|
|
691
|
+
};
|
|
692
|
+
export type QueryGetContextMessagesArgs = {
|
|
693
|
+
contextId: Scalars['String']['input'];
|
|
694
|
+
};
|
|
695
|
+
export type QueryGetOnboardingArgs = {
|
|
696
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
697
|
+
};
|
|
698
|
+
export type QueryGetOrganizationByHandleArgs = {
|
|
699
|
+
handle: Scalars['String']['input'];
|
|
700
|
+
};
|
|
701
|
+
export type QueryGetOrganizationByIdArgs = {
|
|
702
|
+
organizationId: Scalars['String']['input'];
|
|
703
|
+
};
|
|
704
|
+
export type QueryGetServiceArgs = {
|
|
705
|
+
id: Scalars['ID']['input'];
|
|
706
|
+
};
|
|
707
|
+
export type QueryGetSubscriptionArgs = {
|
|
708
|
+
serviceId: Scalars['String']['input'];
|
|
709
|
+
};
|
|
710
|
+
export type QueryListAgentsArgs = {
|
|
711
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
712
|
+
};
|
|
713
|
+
export type QueryListApiKeysArgs = {
|
|
714
|
+
organizationId: Scalars['String']['input'];
|
|
715
|
+
};
|
|
716
|
+
export type QueryListContextsArgs = {
|
|
717
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
718
|
+
};
|
|
719
|
+
export type QueryListOrganizationUsersArgs = {
|
|
720
|
+
organizationId: Scalars['String']['input'];
|
|
721
|
+
};
|
|
722
|
+
export type QueryListServicesArgs = {
|
|
723
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
724
|
+
};
|
|
725
|
+
export type QueryUserArgs = {
|
|
726
|
+
id: Scalars['ID']['input'];
|
|
727
|
+
};
|
|
728
|
+
export type RemoveUserFromOrganizationInput = {
|
|
729
|
+
organizationId: Scalars['String']['input'];
|
|
730
|
+
userId: Scalars['String']['input'];
|
|
731
|
+
};
|
|
732
|
+
export type Role = {
|
|
733
|
+
__typename?: 'Role';
|
|
734
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
735
|
+
id: Scalars['String']['output'];
|
|
736
|
+
name: Scalars['String']['output'];
|
|
737
|
+
};
|
|
738
|
+
export type RolePermissionsItem = {
|
|
739
|
+
__typename?: 'RolePermissionsItem';
|
|
740
|
+
/** Date */
|
|
741
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
742
|
+
permissionId: Scalars['String']['output'];
|
|
743
|
+
roleId: Scalars['String']['output'];
|
|
744
|
+
};
|
|
745
|
+
export type RolePermissionsSelectItem = {
|
|
746
|
+
__typename?: 'RolePermissionsSelectItem';
|
|
747
|
+
/** Date */
|
|
748
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
749
|
+
permissionId: Scalars['String']['output'];
|
|
750
|
+
roleId: Scalars['String']['output'];
|
|
751
|
+
};
|
|
752
|
+
export type RolesItem = {
|
|
753
|
+
__typename?: 'RolesItem';
|
|
754
|
+
/** Date */
|
|
755
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
756
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
757
|
+
id: Scalars['String']['output'];
|
|
758
|
+
name: Scalars['String']['output'];
|
|
759
|
+
/** Date */
|
|
760
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
761
|
+
};
|
|
762
|
+
export type RolesSelectItem = {
|
|
763
|
+
__typename?: 'RolesSelectItem';
|
|
764
|
+
/** Date */
|
|
765
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
766
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
767
|
+
id: Scalars['String']['output'];
|
|
768
|
+
name: Scalars['String']['output'];
|
|
769
|
+
/** Date */
|
|
770
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
771
|
+
};
|
|
772
|
+
export type SaveContextMessageInput = {
|
|
773
|
+
content: Scalars['String']['input'];
|
|
774
|
+
contextId: Scalars['String']['input'];
|
|
775
|
+
feedbackPositive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
776
|
+
feedbackText?: InputMaybe<Scalars['String']['input']>;
|
|
777
|
+
intent?: InputMaybe<Scalars['String']['input']>;
|
|
778
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
|
779
|
+
messageType: Scalars['String']['input'];
|
|
780
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
781
|
+
sources?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
782
|
+
vectordbSynced?: InputMaybe<Scalars['Boolean']['input']>;
|
|
783
|
+
};
|
|
784
|
+
export type Service = {
|
|
785
|
+
__typename?: 'Service';
|
|
786
|
+
active: Scalars['Boolean']['output'];
|
|
787
|
+
annual: Scalars['String']['output'];
|
|
788
|
+
id: Scalars['ID']['output'];
|
|
789
|
+
monthly: Scalars['String']['output'];
|
|
790
|
+
name: Scalars['String']['output'];
|
|
791
|
+
};
|
|
792
|
+
export type ServicesItem = {
|
|
793
|
+
__typename?: 'ServicesItem';
|
|
794
|
+
active: Scalars['Boolean']['output'];
|
|
795
|
+
annual: Scalars['String']['output'];
|
|
796
|
+
id: Scalars['String']['output'];
|
|
797
|
+
monthly: Scalars['String']['output'];
|
|
798
|
+
name: Scalars['String']['output'];
|
|
799
|
+
};
|
|
800
|
+
export type ServicesSelectItem = {
|
|
801
|
+
__typename?: 'ServicesSelectItem';
|
|
802
|
+
active: Scalars['Boolean']['output'];
|
|
803
|
+
annual: Scalars['String']['output'];
|
|
804
|
+
id: Scalars['String']['output'];
|
|
805
|
+
monthly: Scalars['String']['output'];
|
|
806
|
+
name: Scalars['String']['output'];
|
|
807
|
+
};
|
|
808
|
+
export type Subscription = {
|
|
809
|
+
__typename?: 'Subscription';
|
|
810
|
+
endingAt: Scalars['Timestamp']['output'];
|
|
811
|
+
id: Scalars['String']['output'];
|
|
812
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
813
|
+
service?: Maybe<Service>;
|
|
814
|
+
serviceId: Scalars['String']['output'];
|
|
815
|
+
startedAt: Scalars['Timestamp']['output'];
|
|
816
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
817
|
+
};
|
|
818
|
+
export type SubscriptionsItem = {
|
|
819
|
+
__typename?: 'SubscriptionsItem';
|
|
820
|
+
/** Date */
|
|
821
|
+
endingAt: Scalars['Timestamp']['output'];
|
|
822
|
+
id: Scalars['String']['output'];
|
|
823
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
824
|
+
serviceId: Scalars['String']['output'];
|
|
825
|
+
/** Date */
|
|
826
|
+
startedAt: Scalars['Timestamp']['output'];
|
|
827
|
+
stripeSubscriptionId: Scalars['String']['output'];
|
|
828
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
829
|
+
};
|
|
830
|
+
export type SubscriptionsSelectItem = {
|
|
831
|
+
__typename?: 'SubscriptionsSelectItem';
|
|
832
|
+
/** Date */
|
|
833
|
+
endingAt: Scalars['Timestamp']['output'];
|
|
834
|
+
id: Scalars['String']['output'];
|
|
835
|
+
organizationId?: Maybe<Scalars['String']['output']>;
|
|
836
|
+
serviceId: Scalars['String']['output'];
|
|
837
|
+
/** Date */
|
|
838
|
+
startedAt: Scalars['Timestamp']['output'];
|
|
839
|
+
stripeSubscriptionId: Scalars['String']['output'];
|
|
840
|
+
userId?: Maybe<Scalars['String']['output']>;
|
|
841
|
+
};
|
|
842
|
+
export type Term = {
|
|
843
|
+
__typename?: 'Term';
|
|
844
|
+
definition: Scalars['String']['output'];
|
|
845
|
+
difficulty: Scalars['Int']['output'];
|
|
846
|
+
importance: Scalars['Int']['output'];
|
|
847
|
+
name: Scalars['String']['output'];
|
|
848
|
+
prerequisites: Array<Scalars['String']['output']>;
|
|
849
|
+
};
|
|
850
|
+
export type UpdateAgentInput = {
|
|
851
|
+
id: Scalars['String']['input'];
|
|
852
|
+
name: Scalars['String']['input'];
|
|
853
|
+
systemPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
854
|
+
};
|
|
855
|
+
export type UpdateContextInput = {
|
|
856
|
+
id: Scalars['String']['input'];
|
|
857
|
+
sessionName: Scalars['String']['input'];
|
|
858
|
+
};
|
|
859
|
+
export type UpdateOrganizationInput = {
|
|
860
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
861
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
862
|
+
organizationName?: InputMaybe<Scalars['String']['input']>;
|
|
863
|
+
};
|
|
864
|
+
export type UploadAgentDataInput = {
|
|
865
|
+
agentId: Scalars['String']['input'];
|
|
866
|
+
file: Scalars['String']['input'];
|
|
867
|
+
filename: Scalars['String']['input'];
|
|
868
|
+
};
|
|
869
|
+
export type User = {
|
|
870
|
+
__typename?: 'User';
|
|
871
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
872
|
+
deleted: Scalars['Boolean']['output'];
|
|
873
|
+
email: Scalars['String']['output'];
|
|
874
|
+
emailVerified: Scalars['Boolean']['output'];
|
|
875
|
+
firstname: Scalars['String']['output'];
|
|
876
|
+
handle: Scalars['String']['output'];
|
|
877
|
+
id: Scalars['ID']['output'];
|
|
878
|
+
interests?: Maybe<Scalars['Boolean']['output']>;
|
|
879
|
+
isMfaEnabled: Scalars['Boolean']['output'];
|
|
880
|
+
lastLogin: Scalars['Timestamp']['output'];
|
|
881
|
+
lastname: Scalars['String']['output'];
|
|
882
|
+
middlename?: Maybe<Scalars['String']['output']>;
|
|
883
|
+
organizationPermissions: Array<OrganizationPermissions>;
|
|
884
|
+
profileImage?: Maybe<Scalars['String']['output']>;
|
|
885
|
+
typeOfLogin: Scalars['String']['output'];
|
|
886
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
887
|
+
verifierId: Scalars['String']['output'];
|
|
888
|
+
};
|
|
889
|
+
export type UsersItem = {
|
|
890
|
+
__typename?: 'UsersItem';
|
|
891
|
+
/** Date */
|
|
892
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
893
|
+
deleted: Scalars['Boolean']['output'];
|
|
894
|
+
email: Scalars['String']['output'];
|
|
895
|
+
emailVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
896
|
+
firstname: Scalars['String']['output'];
|
|
897
|
+
handle: Scalars['String']['output'];
|
|
898
|
+
id: Scalars['String']['output'];
|
|
899
|
+
isMfaEnabled: Scalars['Boolean']['output'];
|
|
900
|
+
/** Date */
|
|
901
|
+
lastLogin: Scalars['Timestamp']['output'];
|
|
902
|
+
lastname: Scalars['String']['output'];
|
|
903
|
+
middlename?: Maybe<Scalars['String']['output']>;
|
|
904
|
+
profileImage?: Maybe<Scalars['String']['output']>;
|
|
905
|
+
stripeCustomerId?: Maybe<Scalars['String']['output']>;
|
|
906
|
+
stripeMerchantAccountId?: Maybe<Scalars['String']['output']>;
|
|
907
|
+
typeOfLogin: Scalars['String']['output'];
|
|
908
|
+
/** Date */
|
|
909
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
910
|
+
verifierId: Scalars['String']['output'];
|
|
911
|
+
};
|
|
912
|
+
export type UsersSelectItem = {
|
|
913
|
+
__typename?: 'UsersSelectItem';
|
|
914
|
+
/** Date */
|
|
915
|
+
createdAt: Scalars['Timestamp']['output'];
|
|
916
|
+
deleted: Scalars['Boolean']['output'];
|
|
917
|
+
email: Scalars['String']['output'];
|
|
918
|
+
emailVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
919
|
+
firstname: Scalars['String']['output'];
|
|
920
|
+
handle: Scalars['String']['output'];
|
|
921
|
+
id: Scalars['String']['output'];
|
|
922
|
+
isMfaEnabled: Scalars['Boolean']['output'];
|
|
923
|
+
/** Date */
|
|
924
|
+
lastLogin: Scalars['Timestamp']['output'];
|
|
925
|
+
lastname: Scalars['String']['output'];
|
|
926
|
+
middlename?: Maybe<Scalars['String']['output']>;
|
|
927
|
+
profileImage?: Maybe<Scalars['String']['output']>;
|
|
928
|
+
stripeCustomerId?: Maybe<Scalars['String']['output']>;
|
|
929
|
+
stripeMerchantAccountId?: Maybe<Scalars['String']['output']>;
|
|
930
|
+
typeOfLogin: Scalars['String']['output'];
|
|
931
|
+
/** Date */
|
|
932
|
+
updatedAt: Scalars['Timestamp']['output'];
|
|
933
|
+
verifierId: Scalars['String']['output'];
|
|
934
|
+
};
|
|
935
|
+
export type VerifierIdRegion = {
|
|
936
|
+
__typename?: 'VerifierIdRegion';
|
|
937
|
+
dbRegion?: Maybe<Scalars['String']['output']>;
|
|
938
|
+
verifierId?: Maybe<Scalars['String']['output']>;
|
|
939
|
+
};
|
|
940
|
+
export type SaveContextMessageMutationVariables = Exact<{
|
|
941
|
+
input: SaveContextMessageInput;
|
|
942
|
+
}>;
|
|
943
|
+
export type SaveContextMessageMutation = {
|
|
944
|
+
__typename?: 'Mutation';
|
|
945
|
+
saveContextMessage: string;
|
|
946
|
+
};
|
|
947
|
+
export type CreateContextMutationVariables = Exact<{
|
|
948
|
+
input: CreateContextInput;
|
|
949
|
+
}>;
|
|
950
|
+
export type CreateContextMutation = {
|
|
951
|
+
__typename?: 'Mutation';
|
|
952
|
+
createContext: string;
|
|
953
|
+
};
|
|
954
|
+
export type UpdateContextMutationVariables = Exact<{
|
|
955
|
+
input: UpdateContextInput;
|
|
956
|
+
}>;
|
|
957
|
+
export type UpdateContextMutation = {
|
|
958
|
+
__typename?: 'Mutation';
|
|
959
|
+
updateContext: {
|
|
960
|
+
__typename?: 'ContextSession';
|
|
961
|
+
id: string;
|
|
962
|
+
userId: string;
|
|
963
|
+
externalId?: string | null;
|
|
964
|
+
sessionName: string;
|
|
965
|
+
language: string;
|
|
966
|
+
totalTokens: number;
|
|
967
|
+
isActive: boolean;
|
|
968
|
+
deletedAt?: Date | null;
|
|
969
|
+
createdAt: Date;
|
|
970
|
+
updatedAt: Date;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
export type DeleteContextMutationVariables = Exact<{
|
|
974
|
+
id: Scalars['String']['input'];
|
|
975
|
+
}>;
|
|
976
|
+
export type DeleteContextMutation = {
|
|
977
|
+
__typename?: 'Mutation';
|
|
978
|
+
deleteContext: {
|
|
979
|
+
__typename?: 'ContextSession';
|
|
980
|
+
id: string;
|
|
981
|
+
userId: string;
|
|
982
|
+
externalId?: string | null;
|
|
983
|
+
sessionName: string;
|
|
984
|
+
language: string;
|
|
985
|
+
totalTokens: number;
|
|
986
|
+
isActive: boolean;
|
|
987
|
+
deletedAt?: Date | null;
|
|
988
|
+
createdAt: Date;
|
|
989
|
+
updatedAt: Date;
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
export type CreateAgentMutationVariables = Exact<{
|
|
993
|
+
input: CreateAgentInput;
|
|
994
|
+
}>;
|
|
995
|
+
export type CreateAgentMutation = {
|
|
996
|
+
__typename?: 'Mutation';
|
|
997
|
+
createAgent: string;
|
|
998
|
+
};
|
|
999
|
+
export type UpdateAgentMutationVariables = Exact<{
|
|
1000
|
+
input: UpdateAgentInput;
|
|
1001
|
+
}>;
|
|
1002
|
+
export type UpdateAgentMutation = {
|
|
1003
|
+
__typename?: 'Mutation';
|
|
1004
|
+
updateAgent: {
|
|
1005
|
+
__typename?: 'Agent';
|
|
1006
|
+
id: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
folderName: string;
|
|
1009
|
+
systemPrompt?: string | null;
|
|
1010
|
+
createdAt: Date;
|
|
1011
|
+
updatedAt: Date;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
export type DeleteAgentMutationVariables = Exact<{
|
|
1015
|
+
id: Scalars['String']['input'];
|
|
1016
|
+
}>;
|
|
1017
|
+
export type DeleteAgentMutation = {
|
|
1018
|
+
__typename?: 'Mutation';
|
|
1019
|
+
deleteAgent: boolean;
|
|
1020
|
+
};
|
|
1021
|
+
export type UploadAgentDataMutationVariables = Exact<{
|
|
1022
|
+
input: UploadAgentDataInput;
|
|
1023
|
+
}>;
|
|
1024
|
+
export type UploadAgentDataMutation = {
|
|
1025
|
+
__typename?: 'Mutation';
|
|
1026
|
+
uploadAgentData: {
|
|
1027
|
+
__typename?: 'File';
|
|
1028
|
+
id: string;
|
|
1029
|
+
agentId: string;
|
|
1030
|
+
filename: string;
|
|
1031
|
+
size: number;
|
|
1032
|
+
tokens: number;
|
|
1033
|
+
chunks1mb: number;
|
|
1034
|
+
createdAt: Date;
|
|
1035
|
+
updatedAt: Date;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
export type RequestIndexMutationVariables = Exact<{
|
|
1039
|
+
agentId: Scalars['String']['input'];
|
|
1040
|
+
}>;
|
|
1041
|
+
export type RequestIndexMutation = {
|
|
1042
|
+
__typename?: 'Mutation';
|
|
1043
|
+
requestIndex: {
|
|
1044
|
+
__typename?: 'AutoRAGIndexResponse';
|
|
1045
|
+
jobId?: string | null;
|
|
1046
|
+
status: string;
|
|
1047
|
+
message?: string | null;
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
export type GetContextMessagesQueryVariables = Exact<{
|
|
1051
|
+
contextId: Scalars['String']['input'];
|
|
1052
|
+
}>;
|
|
1053
|
+
export type GetContextMessagesQuery = {
|
|
1054
|
+
__typename?: 'Query';
|
|
1055
|
+
getContextMessages: Array<{
|
|
1056
|
+
__typename?: 'ContextMessage';
|
|
1057
|
+
id: string;
|
|
1058
|
+
contextId: string;
|
|
1059
|
+
messageType: string;
|
|
1060
|
+
content: string;
|
|
1061
|
+
sources: Array<string>;
|
|
1062
|
+
metadata?: any | null;
|
|
1063
|
+
intent?: string | null;
|
|
1064
|
+
feedbackPositive?: boolean | null;
|
|
1065
|
+
feedbackText?: string | null;
|
|
1066
|
+
language?: string | null;
|
|
1067
|
+
vectordbSynced: boolean;
|
|
1068
|
+
createdAt: Date;
|
|
1069
|
+
}>;
|
|
1070
|
+
};
|
|
1071
|
+
export type ListContextsQueryVariables = Exact<{
|
|
1072
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1073
|
+
}>;
|
|
1074
|
+
export type ListContextsQuery = {
|
|
1075
|
+
__typename?: 'Query';
|
|
1076
|
+
listContexts: Array<{
|
|
1077
|
+
__typename?: 'ContextSession';
|
|
1078
|
+
id: string;
|
|
1079
|
+
userId: string;
|
|
1080
|
+
externalId?: string | null;
|
|
1081
|
+
sessionName: string;
|
|
1082
|
+
language: string;
|
|
1083
|
+
totalTokens: number;
|
|
1084
|
+
isActive: boolean;
|
|
1085
|
+
deletedAt?: Date | null;
|
|
1086
|
+
createdAt: Date;
|
|
1087
|
+
updatedAt: Date;
|
|
1088
|
+
}>;
|
|
1089
|
+
};
|
|
1090
|
+
export type ExtractTermsQueryVariables = Exact<{
|
|
1091
|
+
text: Scalars['String']['input'];
|
|
1092
|
+
}>;
|
|
1093
|
+
export type ExtractTermsQuery = {
|
|
1094
|
+
__typename?: 'Query';
|
|
1095
|
+
extractTerms: Array<{
|
|
1096
|
+
__typename?: 'Term';
|
|
1097
|
+
name: string;
|
|
1098
|
+
definition: string;
|
|
1099
|
+
difficulty: number;
|
|
1100
|
+
importance: number;
|
|
1101
|
+
prerequisites: Array<string>;
|
|
1102
|
+
}>;
|
|
1103
|
+
};
|
|
1104
|
+
export type ListAgentsQueryVariables = Exact<{
|
|
1105
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
1106
|
+
}>;
|
|
1107
|
+
export type ListAgentsQuery = {
|
|
1108
|
+
__typename?: 'Query';
|
|
1109
|
+
listAgents: Array<{
|
|
1110
|
+
__typename?: 'Agent';
|
|
1111
|
+
id: string;
|
|
1112
|
+
name: string;
|
|
1113
|
+
folderName: string;
|
|
1114
|
+
systemPrompt?: string | null;
|
|
1115
|
+
createdAt: Date;
|
|
1116
|
+
updatedAt: Date;
|
|
1117
|
+
}>;
|
|
1118
|
+
};
|
|
1119
|
+
export type AskQueryVariables = Exact<{
|
|
1120
|
+
input: AskInput;
|
|
1121
|
+
}>;
|
|
1122
|
+
export type AskQuery = {
|
|
1123
|
+
__typename?: 'Query';
|
|
1124
|
+
ask: {
|
|
1125
|
+
__typename?: 'AutoRAGResponse';
|
|
1126
|
+
text: string;
|
|
1127
|
+
sources: Array<string>;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
export type AutoRagStatusQueryVariables = Exact<{
|
|
1131
|
+
[key: string]: never;
|
|
1132
|
+
}>;
|
|
1133
|
+
export type AutoRagStatusQuery = {
|
|
1134
|
+
__typename?: 'Query';
|
|
1135
|
+
autoragStatus: {
|
|
1136
|
+
__typename?: 'AutoRAGStatus';
|
|
1137
|
+
status: string;
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
export type CreateStripeSubscriptionMutationVariables = Exact<{
|
|
1141
|
+
serviceName: Scalars['String']['input'];
|
|
1142
|
+
paymentMethodId: Scalars['String']['input'];
|
|
1143
|
+
term: Scalars['String']['input'];
|
|
1144
|
+
promoCodeId?: InputMaybe<Scalars['String']['input']>;
|
|
1145
|
+
}>;
|
|
1146
|
+
export type CreateStripeSubscriptionMutation = {
|
|
1147
|
+
__typename?: 'Mutation';
|
|
1148
|
+
createStripeSubscription: string;
|
|
1149
|
+
};
|
|
1150
|
+
export type CreatePromocodeMutationVariables = Exact<{
|
|
1151
|
+
serviceId: Scalars['String']['input'];
|
|
1152
|
+
promoCode: Scalars['String']['input'];
|
|
1153
|
+
percentageOff: Scalars['Float']['input'];
|
|
1154
|
+
duration: Scalars['String']['input'];
|
|
1155
|
+
durationInMonths?: InputMaybe<Scalars['Int']['input']>;
|
|
1156
|
+
maxRedemptions: Scalars['Int']['input'];
|
|
1157
|
+
endingAt: Scalars['Int']['input'];
|
|
1158
|
+
}>;
|
|
1159
|
+
export type CreatePromocodeMutation = {
|
|
1160
|
+
__typename?: 'Mutation';
|
|
1161
|
+
createPromocode: string;
|
|
1162
|
+
};
|
|
1163
|
+
export type DeleteSubscriptionMutationVariables = Exact<{
|
|
1164
|
+
subscriptionId: Scalars['String']['input'];
|
|
1165
|
+
}>;
|
|
1166
|
+
export type DeleteSubscriptionMutation = {
|
|
1167
|
+
__typename?: 'Mutation';
|
|
1168
|
+
deleteSubscription: boolean;
|
|
1169
|
+
};
|
|
1170
|
+
export type DeletePromocodeMutationVariables = Exact<{
|
|
1171
|
+
id: Scalars['String']['input'];
|
|
1172
|
+
}>;
|
|
1173
|
+
export type DeletePromocodeMutation = {
|
|
1174
|
+
__typename?: 'Mutation';
|
|
1175
|
+
deletePromocode: boolean;
|
|
1176
|
+
};
|
|
1177
|
+
export type GetServiceQueryVariables = Exact<{
|
|
1178
|
+
id: Scalars['ID']['input'];
|
|
1179
|
+
}>;
|
|
1180
|
+
export type GetServiceQuery = {
|
|
1181
|
+
__typename?: 'Query';
|
|
1182
|
+
getService?: {
|
|
1183
|
+
__typename?: 'Service';
|
|
1184
|
+
id: string;
|
|
1185
|
+
name: string;
|
|
1186
|
+
monthly: string;
|
|
1187
|
+
annual: string;
|
|
1188
|
+
active: boolean;
|
|
1189
|
+
} | null;
|
|
1190
|
+
};
|
|
1191
|
+
export type ListServicesQueryVariables = Exact<{
|
|
1192
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1193
|
+
}>;
|
|
1194
|
+
export type ListServicesQuery = {
|
|
1195
|
+
__typename?: 'Query';
|
|
1196
|
+
listServices: Array<{
|
|
1197
|
+
__typename?: 'Service';
|
|
1198
|
+
id: string;
|
|
1199
|
+
name: string;
|
|
1200
|
+
monthly: string;
|
|
1201
|
+
annual: string;
|
|
1202
|
+
active: boolean;
|
|
1203
|
+
}>;
|
|
1204
|
+
};
|
|
1205
|
+
export type GetSubscriptionQueryVariables = Exact<{
|
|
1206
|
+
serviceId: Scalars['String']['input'];
|
|
1207
|
+
}>;
|
|
1208
|
+
export type GetSubscriptionQuery = {
|
|
1209
|
+
__typename?: 'Query';
|
|
1210
|
+
getSubscription?: {
|
|
1211
|
+
__typename?: 'Subscription';
|
|
1212
|
+
serviceId: string;
|
|
1213
|
+
userId?: string | null;
|
|
1214
|
+
startedAt: Date;
|
|
1215
|
+
endingAt: Date;
|
|
1216
|
+
service?: {
|
|
1217
|
+
__typename?: 'Service';
|
|
1218
|
+
id: string;
|
|
1219
|
+
name: string;
|
|
1220
|
+
monthly: string;
|
|
1221
|
+
annual: string;
|
|
1222
|
+
active: boolean;
|
|
1223
|
+
} | null;
|
|
1224
|
+
} | null;
|
|
1225
|
+
};
|
|
1226
|
+
export type ListSubscriptionsQueryVariables = Exact<{
|
|
1227
|
+
[key: string]: never;
|
|
1228
|
+
}>;
|
|
1229
|
+
export type ListSubscriptionsQuery = {
|
|
1230
|
+
__typename?: 'Query';
|
|
1231
|
+
listSubscriptions: Array<{
|
|
1232
|
+
__typename?: 'Subscription';
|
|
1233
|
+
id: string;
|
|
1234
|
+
serviceId: string;
|
|
1235
|
+
userId?: string | null;
|
|
1236
|
+
organizationId?: string | null;
|
|
1237
|
+
startedAt: Date;
|
|
1238
|
+
endingAt: Date;
|
|
1239
|
+
service?: {
|
|
1240
|
+
__typename?: 'Service';
|
|
1241
|
+
id: string;
|
|
1242
|
+
name: string;
|
|
1243
|
+
monthly: string;
|
|
1244
|
+
annual: string;
|
|
1245
|
+
active: boolean;
|
|
1246
|
+
} | null;
|
|
1247
|
+
}>;
|
|
1248
|
+
};
|
|
1249
|
+
export type ConfirmPromoCodeQueryVariables = Exact<{
|
|
1250
|
+
code: Scalars['String']['input'];
|
|
1251
|
+
service: Scalars['String']['input'];
|
|
1252
|
+
term?: InputMaybe<Scalars['String']['input']>;
|
|
1253
|
+
}>;
|
|
1254
|
+
export type ConfirmPromoCodeQuery = {
|
|
1255
|
+
__typename?: 'Query';
|
|
1256
|
+
confirmPromoCode?: {
|
|
1257
|
+
__typename?: 'Promocode';
|
|
1258
|
+
id: string;
|
|
1259
|
+
code: string;
|
|
1260
|
+
discount?: number | null;
|
|
1261
|
+
approved: boolean;
|
|
1262
|
+
} | null;
|
|
1263
|
+
};
|
|
1264
|
+
export type CreateOrganizationMutationVariables = Exact<{
|
|
1265
|
+
input: CreateOrganizationInput;
|
|
1266
|
+
}>;
|
|
1267
|
+
export type CreateOrganizationMutation = {
|
|
1268
|
+
__typename?: 'Mutation';
|
|
1269
|
+
createOrganization: {
|
|
1270
|
+
__typename?: 'Organization';
|
|
1271
|
+
id: string;
|
|
1272
|
+
handle: string;
|
|
1273
|
+
organizationName: string;
|
|
1274
|
+
description?: string | null;
|
|
1275
|
+
logo?: boolean | null;
|
|
1276
|
+
banner?: boolean | null;
|
|
1277
|
+
profileApproved: boolean;
|
|
1278
|
+
disapprovedMessage?: string | null;
|
|
1279
|
+
createdAt: string;
|
|
1280
|
+
updatedAt: string;
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
export type UpdateOrganizationMutationVariables = Exact<{
|
|
1284
|
+
input: UpdateOrganizationInput;
|
|
1285
|
+
}>;
|
|
1286
|
+
export type UpdateOrganizationMutation = {
|
|
1287
|
+
__typename?: 'Mutation';
|
|
1288
|
+
updateOrganization: {
|
|
1289
|
+
__typename?: 'Organization';
|
|
1290
|
+
id: string;
|
|
1291
|
+
handle: string;
|
|
1292
|
+
organizationName: string;
|
|
1293
|
+
description?: string | null;
|
|
1294
|
+
logo?: boolean | null;
|
|
1295
|
+
banner?: boolean | null;
|
|
1296
|
+
profileApproved: boolean;
|
|
1297
|
+
disapprovedMessage?: string | null;
|
|
1298
|
+
createdAt: string;
|
|
1299
|
+
updatedAt: string;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
export type InviteUserToOrganizationMutationVariables = Exact<{
|
|
1303
|
+
input: InviteUserToOrganizationInput;
|
|
1304
|
+
}>;
|
|
1305
|
+
export type InviteUserToOrganizationMutation = {
|
|
1306
|
+
__typename?: 'Mutation';
|
|
1307
|
+
inviteUserToOrganization: {
|
|
1308
|
+
__typename?: 'OrganizationUser';
|
|
1309
|
+
userId?: string | null;
|
|
1310
|
+
organizationId: string;
|
|
1311
|
+
permissions?: Array<string> | null;
|
|
1312
|
+
email?: string | null;
|
|
1313
|
+
status?: string | null;
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
export type AcceptInvitationMutationVariables = Exact<{
|
|
1317
|
+
input: AcceptInvitationInput;
|
|
1318
|
+
}>;
|
|
1319
|
+
export type AcceptInvitationMutation = {
|
|
1320
|
+
__typename?: 'Mutation';
|
|
1321
|
+
acceptInvitation: {
|
|
1322
|
+
__typename?: 'OrganizationUser';
|
|
1323
|
+
userId?: string | null;
|
|
1324
|
+
organizationId: string;
|
|
1325
|
+
permissions?: Array<string> | null;
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
export type DeleteInvitationMutationVariables = Exact<{
|
|
1329
|
+
input: DeleteInvitationInput;
|
|
1330
|
+
}>;
|
|
1331
|
+
export type DeleteInvitationMutation = {
|
|
1332
|
+
__typename?: 'Mutation';
|
|
1333
|
+
deleteInvitation: boolean;
|
|
1334
|
+
};
|
|
1335
|
+
export type RemoveUserFromOrganizationMutationVariables = Exact<{
|
|
1336
|
+
input: RemoveUserFromOrganizationInput;
|
|
1337
|
+
}>;
|
|
1338
|
+
export type RemoveUserFromOrganizationMutation = {
|
|
1339
|
+
__typename?: 'Mutation';
|
|
1340
|
+
removeUserFromOrganization: boolean;
|
|
1341
|
+
};
|
|
1342
|
+
export type AssignRolesToUserMutationVariables = Exact<{
|
|
1343
|
+
input: AssignRolesToUserInput;
|
|
1344
|
+
}>;
|
|
1345
|
+
export type AssignRolesToUserMutation = {
|
|
1346
|
+
__typename?: 'Mutation';
|
|
1347
|
+
assignRolesToUser: {
|
|
1348
|
+
__typename?: 'OrganizationUser';
|
|
1349
|
+
userId?: string | null;
|
|
1350
|
+
organizationId: string;
|
|
1351
|
+
permissions?: Array<string> | null;
|
|
1352
|
+
email?: string | null;
|
|
1353
|
+
fullName?: string | null;
|
|
1354
|
+
roleName?: string | null;
|
|
1355
|
+
status?: string | null;
|
|
1356
|
+
};
|
|
1357
|
+
};
|
|
1358
|
+
export type CreateApiKeyMutationVariables = Exact<{
|
|
1359
|
+
input: CreateApiKeyInput;
|
|
1360
|
+
}>;
|
|
1361
|
+
export type CreateApiKeyMutation = {
|
|
1362
|
+
__typename?: 'Mutation';
|
|
1363
|
+
createApiKey: {
|
|
1364
|
+
__typename?: 'ApiKey';
|
|
1365
|
+
apiKey: string;
|
|
1366
|
+
organizationId: string;
|
|
1367
|
+
permissions: Array<string>;
|
|
1368
|
+
createdAt: string;
|
|
1369
|
+
};
|
|
1370
|
+
};
|
|
1371
|
+
export type GetOnboardingQueryVariables = Exact<{
|
|
1372
|
+
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
1373
|
+
}>;
|
|
1374
|
+
export type GetOnboardingQuery = {
|
|
1375
|
+
__typename?: 'Query';
|
|
1376
|
+
getOnboarding?: {
|
|
1377
|
+
__typename?: 'Onboarding';
|
|
1378
|
+
id: string;
|
|
1379
|
+
userId?: string | null;
|
|
1380
|
+
organizationId?: string | null;
|
|
1381
|
+
subscriptionId?: string | null;
|
|
1382
|
+
merchantProfile: boolean;
|
|
1383
|
+
firstProduct: boolean;
|
|
1384
|
+
completedAt?: string | null;
|
|
1385
|
+
} | null;
|
|
1386
|
+
};
|
|
1387
|
+
export type GetOrganizationQueryVariables = Exact<{
|
|
1388
|
+
[key: string]: never;
|
|
1389
|
+
}>;
|
|
1390
|
+
export type GetOrganizationQuery = {
|
|
1391
|
+
__typename?: 'Query';
|
|
1392
|
+
getOrganization?: {
|
|
1393
|
+
__typename?: 'Organization';
|
|
1394
|
+
id: string;
|
|
1395
|
+
handle: string;
|
|
1396
|
+
organizationName: string;
|
|
1397
|
+
logo?: boolean | null;
|
|
1398
|
+
logoVersion?: number | null;
|
|
1399
|
+
banner?: boolean | null;
|
|
1400
|
+
bannerVersion?: number | null;
|
|
1401
|
+
description?: string | null;
|
|
1402
|
+
profileApproved: boolean;
|
|
1403
|
+
disapprovedMessage?: string | null;
|
|
1404
|
+
createdAt: string;
|
|
1405
|
+
updatedAt: string;
|
|
1406
|
+
} | null;
|
|
1407
|
+
};
|
|
1408
|
+
export type GetOrganizationByIdQueryVariables = Exact<{
|
|
1409
|
+
organizationId: Scalars['String']['input'];
|
|
1410
|
+
}>;
|
|
1411
|
+
export type GetOrganizationByIdQuery = {
|
|
1412
|
+
__typename?: 'Query';
|
|
1413
|
+
getOrganizationById?: {
|
|
1414
|
+
__typename?: 'Organization';
|
|
1415
|
+
id: string;
|
|
1416
|
+
handle: string;
|
|
1417
|
+
organizationName: string;
|
|
1418
|
+
logo?: boolean | null;
|
|
1419
|
+
logoVersion?: number | null;
|
|
1420
|
+
banner?: boolean | null;
|
|
1421
|
+
bannerVersion?: number | null;
|
|
1422
|
+
description?: string | null;
|
|
1423
|
+
profileApproved: boolean;
|
|
1424
|
+
disapprovedMessage?: string | null;
|
|
1425
|
+
createdAt: string;
|
|
1426
|
+
updatedAt: string;
|
|
1427
|
+
} | null;
|
|
1428
|
+
};
|
|
1429
|
+
export type GetOrganizationByHandleQueryVariables = Exact<{
|
|
1430
|
+
handle: Scalars['String']['input'];
|
|
1431
|
+
}>;
|
|
1432
|
+
export type GetOrganizationByHandleQuery = {
|
|
1433
|
+
__typename?: 'Query';
|
|
1434
|
+
getOrganizationByHandle?: {
|
|
1435
|
+
__typename?: 'Organization';
|
|
1436
|
+
id: string;
|
|
1437
|
+
handle: string;
|
|
1438
|
+
organizationName: string;
|
|
1439
|
+
logo?: boolean | null;
|
|
1440
|
+
logoVersion?: number | null;
|
|
1441
|
+
banner?: boolean | null;
|
|
1442
|
+
bannerVersion?: number | null;
|
|
1443
|
+
description?: string | null;
|
|
1444
|
+
profileApproved: boolean;
|
|
1445
|
+
disapprovedMessage?: string | null;
|
|
1446
|
+
createdAt: string;
|
|
1447
|
+
updatedAt: string;
|
|
1448
|
+
} | null;
|
|
1449
|
+
};
|
|
1450
|
+
export type ListRolesQueryVariables = Exact<{
|
|
1451
|
+
[key: string]: never;
|
|
1452
|
+
}>;
|
|
1453
|
+
export type ListRolesQuery = {
|
|
1454
|
+
__typename?: 'Query';
|
|
1455
|
+
listRoles: Array<{
|
|
1456
|
+
__typename?: 'Role';
|
|
1457
|
+
id: string;
|
|
1458
|
+
name: string;
|
|
1459
|
+
description?: string | null;
|
|
1460
|
+
}>;
|
|
1461
|
+
};
|
|
1462
|
+
export type ListOrganizationUsersQueryVariables = Exact<{
|
|
1463
|
+
organizationId: Scalars['String']['input'];
|
|
1464
|
+
}>;
|
|
1465
|
+
export type ListOrganizationUsersQuery = {
|
|
1466
|
+
__typename?: 'Query';
|
|
1467
|
+
listOrganizationUsers: Array<{
|
|
1468
|
+
__typename?: 'OrganizationUser';
|
|
1469
|
+
userId?: string | null;
|
|
1470
|
+
organizationId: string;
|
|
1471
|
+
permissions?: Array<string> | null;
|
|
1472
|
+
email?: string | null;
|
|
1473
|
+
status?: string | null;
|
|
1474
|
+
fullName?: string | null;
|
|
1475
|
+
roleName?: string | null;
|
|
1476
|
+
}>;
|
|
1477
|
+
};
|
|
1478
|
+
export type ListApiKeysQueryVariables = Exact<{
|
|
1479
|
+
organizationId: Scalars['String']['input'];
|
|
1480
|
+
}>;
|
|
1481
|
+
export type ListApiKeysQuery = {
|
|
1482
|
+
__typename?: 'Query';
|
|
1483
|
+
listApiKeys: Array<{
|
|
1484
|
+
__typename?: 'ApiKey';
|
|
1485
|
+
apiKey: string;
|
|
1486
|
+
organizationId: string;
|
|
1487
|
+
permissions: Array<string>;
|
|
1488
|
+
createdAt: string;
|
|
1489
|
+
}>;
|
|
1490
|
+
};
|
|
1491
|
+
export type CreateUserMutationVariables = Exact<{
|
|
1492
|
+
typeOfLogin: Scalars['String']['input'];
|
|
1493
|
+
email: Scalars['String']['input'];
|
|
1494
|
+
handle: Scalars['String']['input'];
|
|
1495
|
+
firstname: Scalars['String']['input'];
|
|
1496
|
+
middlename?: InputMaybe<Scalars['String']['input']>;
|
|
1497
|
+
lastname: Scalars['String']['input'];
|
|
1498
|
+
profileImage?: InputMaybe<Scalars['String']['input']>;
|
|
1499
|
+
isMfaEnabled: Scalars['Boolean']['input'];
|
|
1500
|
+
}>;
|
|
1501
|
+
export type CreateUserMutation = {
|
|
1502
|
+
__typename?: 'Mutation';
|
|
1503
|
+
createUser: {
|
|
1504
|
+
__typename?: 'User';
|
|
1505
|
+
id: string;
|
|
1506
|
+
verifierId: string;
|
|
1507
|
+
typeOfLogin: string;
|
|
1508
|
+
email: string;
|
|
1509
|
+
handle: string;
|
|
1510
|
+
firstname: string;
|
|
1511
|
+
middlename?: string | null;
|
|
1512
|
+
lastname: string;
|
|
1513
|
+
profileImage?: string | null;
|
|
1514
|
+
isMfaEnabled: boolean;
|
|
1515
|
+
lastLogin: Date;
|
|
1516
|
+
createdAt: Date;
|
|
1517
|
+
updatedAt: Date;
|
|
1518
|
+
deleted: boolean;
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
export type UpdateUserMutationVariables = Exact<{
|
|
1522
|
+
email: Scalars['String']['input'];
|
|
1523
|
+
handle: Scalars['String']['input'];
|
|
1524
|
+
firstname: Scalars['String']['input'];
|
|
1525
|
+
middlename?: InputMaybe<Scalars['String']['input']>;
|
|
1526
|
+
lastname: Scalars['String']['input'];
|
|
1527
|
+
profileImage?: InputMaybe<Scalars['String']['input']>;
|
|
1528
|
+
isMfaEnabled: Scalars['Boolean']['input'];
|
|
1529
|
+
}>;
|
|
1530
|
+
export type UpdateUserMutation = {
|
|
1531
|
+
__typename?: 'Mutation';
|
|
1532
|
+
updateUser?: {
|
|
1533
|
+
__typename?: 'User';
|
|
1534
|
+
id: string;
|
|
1535
|
+
verifierId: string;
|
|
1536
|
+
typeOfLogin: string;
|
|
1537
|
+
email: string;
|
|
1538
|
+
emailVerified: boolean;
|
|
1539
|
+
handle: string;
|
|
1540
|
+
firstname: string;
|
|
1541
|
+
middlename?: string | null;
|
|
1542
|
+
lastname: string;
|
|
1543
|
+
profileImage?: string | null;
|
|
1544
|
+
isMfaEnabled: boolean;
|
|
1545
|
+
lastLogin: Date;
|
|
1546
|
+
createdAt: Date;
|
|
1547
|
+
updatedAt: Date;
|
|
1548
|
+
deleted: boolean;
|
|
1549
|
+
} | null;
|
|
1550
|
+
};
|
|
1551
|
+
export type UpdateAccountLocationMutationVariables = Exact<{
|
|
1552
|
+
dbRegion: Scalars['String']['input'];
|
|
1553
|
+
}>;
|
|
1554
|
+
export type UpdateAccountLocationMutation = {
|
|
1555
|
+
__typename?: 'Mutation';
|
|
1556
|
+
updateAccountLocation?: {
|
|
1557
|
+
__typename?: 'VerifierIdRegion';
|
|
1558
|
+
dbRegion?: string | null;
|
|
1559
|
+
} | null;
|
|
1560
|
+
};
|
|
1561
|
+
export type DeleteUserMutationVariables = Exact<{
|
|
1562
|
+
[key: string]: never;
|
|
1563
|
+
}>;
|
|
1564
|
+
export type DeleteUserMutation = {
|
|
1565
|
+
__typename?: 'Mutation';
|
|
1566
|
+
deleteUser?: {
|
|
1567
|
+
__typename?: 'User';
|
|
1568
|
+
id: string;
|
|
1569
|
+
deleted: boolean;
|
|
1570
|
+
} | null;
|
|
1571
|
+
};
|
|
1572
|
+
export type SubscribePushMutationVariables = Exact<{
|
|
1573
|
+
subscription: PushSubscriptionInput;
|
|
1574
|
+
}>;
|
|
1575
|
+
export type SubscribePushMutation = {
|
|
1576
|
+
__typename?: 'Mutation';
|
|
1577
|
+
subscribePush: boolean;
|
|
1578
|
+
};
|
|
1579
|
+
export type UnsubscribePushMutationVariables = Exact<{
|
|
1580
|
+
endpoint: Scalars['String']['input'];
|
|
1581
|
+
}>;
|
|
1582
|
+
export type UnsubscribePushMutation = {
|
|
1583
|
+
__typename?: 'Mutation';
|
|
1584
|
+
unsubscribePush: boolean;
|
|
1585
|
+
};
|
|
1586
|
+
export type GetAccountRegionQueryVariables = Exact<{
|
|
1587
|
+
[key: string]: never;
|
|
1588
|
+
}>;
|
|
1589
|
+
export type GetAccountRegionQuery = {
|
|
1590
|
+
__typename?: 'Query';
|
|
1591
|
+
getAccountRegion?: {
|
|
1592
|
+
__typename?: 'VerifierIdRegion';
|
|
1593
|
+
dbRegion?: string | null;
|
|
1594
|
+
} | null;
|
|
1595
|
+
};
|
|
1596
|
+
export type GetUserQueryVariables = Exact<{
|
|
1597
|
+
[key: string]: never;
|
|
1598
|
+
}>;
|
|
1599
|
+
export type GetUserQuery = {
|
|
1600
|
+
__typename?: 'Query';
|
|
1601
|
+
getUser?: {
|
|
1602
|
+
__typename?: 'User';
|
|
1603
|
+
id: string;
|
|
1604
|
+
verifierId: string;
|
|
1605
|
+
typeOfLogin: string;
|
|
1606
|
+
email: string;
|
|
1607
|
+
emailVerified: boolean;
|
|
1608
|
+
handle: string;
|
|
1609
|
+
firstname: string;
|
|
1610
|
+
middlename?: string | null;
|
|
1611
|
+
lastname: string;
|
|
1612
|
+
profileImage?: string | null;
|
|
1613
|
+
isMfaEnabled: boolean;
|
|
1614
|
+
lastLogin: Date;
|
|
1615
|
+
createdAt: Date;
|
|
1616
|
+
updatedAt: Date;
|
|
1617
|
+
deleted: boolean;
|
|
1618
|
+
interests?: boolean | null;
|
|
1619
|
+
organizationPermissions: Array<{
|
|
1620
|
+
__typename?: 'OrganizationPermissions';
|
|
1621
|
+
organizationId: string;
|
|
1622
|
+
permissions: Array<string>;
|
|
1623
|
+
}>;
|
|
1624
|
+
} | null;
|
|
1625
|
+
};
|
|
1626
|
+
export type UserQueryVariables = Exact<{
|
|
1627
|
+
id: Scalars['ID']['input'];
|
|
1628
|
+
}>;
|
|
1629
|
+
export type UserQuery = {
|
|
1630
|
+
__typename?: 'Query';
|
|
1631
|
+
user?: {
|
|
1632
|
+
__typename?: 'User';
|
|
1633
|
+
id: string;
|
|
1634
|
+
email: string;
|
|
1635
|
+
handle: string;
|
|
1636
|
+
firstname: string;
|
|
1637
|
+
lastname: string;
|
|
1638
|
+
profileImage?: string | null;
|
|
1639
|
+
} | null;
|
|
1640
|
+
};
|
|
1641
|
+
export type GetInterestsQueryVariables = Exact<{
|
|
1642
|
+
[key: string]: never;
|
|
1643
|
+
}>;
|
|
1644
|
+
export type GetInterestsQuery = {
|
|
1645
|
+
__typename?: 'Query';
|
|
1646
|
+
getInterests?: {
|
|
1647
|
+
__typename?: 'Interests';
|
|
1648
|
+
buyingFromMarket: boolean;
|
|
1649
|
+
sellingToMarket: boolean;
|
|
1650
|
+
deliveryDriver: boolean;
|
|
1651
|
+
workingOnFarm: boolean;
|
|
1652
|
+
growingFreshProduce: boolean;
|
|
1653
|
+
soilTesting: boolean;
|
|
1654
|
+
education: boolean;
|
|
1655
|
+
contributing: boolean;
|
|
1656
|
+
skillTrade: boolean;
|
|
1657
|
+
communityStrength: boolean;
|
|
1658
|
+
makingProducts: boolean;
|
|
1659
|
+
recipes: boolean;
|
|
1660
|
+
events: boolean;
|
|
1661
|
+
masterypathAmbassador: boolean;
|
|
1662
|
+
} | null;
|
|
1663
|
+
};
|
|
1664
|
+
export type UpdateInterestsMutationVariables = Exact<{
|
|
1665
|
+
buyingFromMarket: Scalars['Boolean']['input'];
|
|
1666
|
+
sellingToMarket: Scalars['Boolean']['input'];
|
|
1667
|
+
deliveryDriver: Scalars['Boolean']['input'];
|
|
1668
|
+
workingOnFarm: Scalars['Boolean']['input'];
|
|
1669
|
+
growingFreshProduce: Scalars['Boolean']['input'];
|
|
1670
|
+
soilTesting: Scalars['Boolean']['input'];
|
|
1671
|
+
education: Scalars['Boolean']['input'];
|
|
1672
|
+
contributing: Scalars['Boolean']['input'];
|
|
1673
|
+
skillTrade: Scalars['Boolean']['input'];
|
|
1674
|
+
communityStrength: Scalars['Boolean']['input'];
|
|
1675
|
+
makingProducts: Scalars['Boolean']['input'];
|
|
1676
|
+
recipes: Scalars['Boolean']['input'];
|
|
1677
|
+
events: Scalars['Boolean']['input'];
|
|
1678
|
+
masterypathAmbassador: Scalars['Boolean']['input'];
|
|
1679
|
+
}>;
|
|
1680
|
+
export type UpdateInterestsMutation = {
|
|
1681
|
+
__typename?: 'Mutation';
|
|
1682
|
+
updateInterests?: {
|
|
1683
|
+
__typename?: 'Interests';
|
|
1684
|
+
buyingFromMarket: boolean;
|
|
1685
|
+
sellingToMarket: boolean;
|
|
1686
|
+
deliveryDriver: boolean;
|
|
1687
|
+
workingOnFarm: boolean;
|
|
1688
|
+
growingFreshProduce: boolean;
|
|
1689
|
+
soilTesting: boolean;
|
|
1690
|
+
education: boolean;
|
|
1691
|
+
contributing: boolean;
|
|
1692
|
+
skillTrade: boolean;
|
|
1693
|
+
communityStrength: boolean;
|
|
1694
|
+
makingProducts: boolean;
|
|
1695
|
+
recipes: boolean;
|
|
1696
|
+
events: boolean;
|
|
1697
|
+
masterypathAmbassador: boolean;
|
|
1698
|
+
} | null;
|
|
1699
|
+
};
|
|
1700
|
+
export declare const SaveContextMessageDocument: DocumentNode<SaveContextMessageMutation, SaveContextMessageMutationVariables>;
|
|
1701
|
+
export declare const CreateContextDocument: DocumentNode<CreateContextMutation, CreateContextMutationVariables>;
|
|
1702
|
+
export declare const UpdateContextDocument: DocumentNode<UpdateContextMutation, UpdateContextMutationVariables>;
|
|
1703
|
+
export declare const DeleteContextDocument: DocumentNode<DeleteContextMutation, DeleteContextMutationVariables>;
|
|
1704
|
+
export declare const CreateAgentDocument: DocumentNode<CreateAgentMutation, CreateAgentMutationVariables>;
|
|
1705
|
+
export declare const UpdateAgentDocument: DocumentNode<UpdateAgentMutation, UpdateAgentMutationVariables>;
|
|
1706
|
+
export declare const DeleteAgentDocument: DocumentNode<DeleteAgentMutation, DeleteAgentMutationVariables>;
|
|
1707
|
+
export declare const UploadAgentDataDocument: DocumentNode<UploadAgentDataMutation, UploadAgentDataMutationVariables>;
|
|
1708
|
+
export declare const RequestIndexDocument: DocumentNode<RequestIndexMutation, RequestIndexMutationVariables>;
|
|
1709
|
+
export declare const GetContextMessagesDocument: DocumentNode<GetContextMessagesQuery, GetContextMessagesQueryVariables>;
|
|
1710
|
+
export declare const ListContextsDocument: DocumentNode<ListContextsQuery, ListContextsQueryVariables>;
|
|
1711
|
+
export declare const ExtractTermsDocument: DocumentNode<ExtractTermsQuery, ExtractTermsQueryVariables>;
|
|
1712
|
+
export declare const ListAgentsDocument: DocumentNode<ListAgentsQuery, ListAgentsQueryVariables>;
|
|
1713
|
+
export declare const AskDocument: DocumentNode<AskQuery, AskQueryVariables>;
|
|
1714
|
+
export declare const AutoRagStatusDocument: DocumentNode<AutoRagStatusQuery, AutoRagStatusQueryVariables>;
|
|
1715
|
+
export declare const CreateStripeSubscriptionDocument: DocumentNode<CreateStripeSubscriptionMutation, CreateStripeSubscriptionMutationVariables>;
|
|
1716
|
+
export declare const CreatePromocodeDocument: DocumentNode<CreatePromocodeMutation, CreatePromocodeMutationVariables>;
|
|
1717
|
+
export declare const DeleteSubscriptionDocument: DocumentNode<DeleteSubscriptionMutation, DeleteSubscriptionMutationVariables>;
|
|
1718
|
+
export declare const DeletePromocodeDocument: DocumentNode<DeletePromocodeMutation, DeletePromocodeMutationVariables>;
|
|
1719
|
+
export declare const GetServiceDocument: DocumentNode<GetServiceQuery, GetServiceQueryVariables>;
|
|
1720
|
+
export declare const ListServicesDocument: DocumentNode<ListServicesQuery, ListServicesQueryVariables>;
|
|
1721
|
+
export declare const GetSubscriptionDocument: DocumentNode<GetSubscriptionQuery, GetSubscriptionQueryVariables>;
|
|
1722
|
+
export declare const ListSubscriptionsDocument: DocumentNode<ListSubscriptionsQuery, ListSubscriptionsQueryVariables>;
|
|
1723
|
+
export declare const ConfirmPromoCodeDocument: DocumentNode<ConfirmPromoCodeQuery, ConfirmPromoCodeQueryVariables>;
|
|
1724
|
+
export declare const CreateOrganizationDocument: DocumentNode<CreateOrganizationMutation, CreateOrganizationMutationVariables>;
|
|
1725
|
+
export declare const UpdateOrganizationDocument: DocumentNode<UpdateOrganizationMutation, UpdateOrganizationMutationVariables>;
|
|
1726
|
+
export declare const InviteUserToOrganizationDocument: DocumentNode<InviteUserToOrganizationMutation, InviteUserToOrganizationMutationVariables>;
|
|
1727
|
+
export declare const AcceptInvitationDocument: DocumentNode<AcceptInvitationMutation, AcceptInvitationMutationVariables>;
|
|
1728
|
+
export declare const DeleteInvitationDocument: DocumentNode<DeleteInvitationMutation, DeleteInvitationMutationVariables>;
|
|
1729
|
+
export declare const RemoveUserFromOrganizationDocument: DocumentNode<RemoveUserFromOrganizationMutation, RemoveUserFromOrganizationMutationVariables>;
|
|
1730
|
+
export declare const AssignRolesToUserDocument: DocumentNode<AssignRolesToUserMutation, AssignRolesToUserMutationVariables>;
|
|
1731
|
+
export declare const CreateApiKeyDocument: DocumentNode<CreateApiKeyMutation, CreateApiKeyMutationVariables>;
|
|
1732
|
+
export declare const GetOnboardingDocument: DocumentNode<GetOnboardingQuery, GetOnboardingQueryVariables>;
|
|
1733
|
+
export declare const GetOrganizationDocument: DocumentNode<GetOrganizationQuery, GetOrganizationQueryVariables>;
|
|
1734
|
+
export declare const GetOrganizationByIdDocument: DocumentNode<GetOrganizationByIdQuery, GetOrganizationByIdQueryVariables>;
|
|
1735
|
+
export declare const GetOrganizationByHandleDocument: DocumentNode<GetOrganizationByHandleQuery, GetOrganizationByHandleQueryVariables>;
|
|
1736
|
+
export declare const ListRolesDocument: DocumentNode<ListRolesQuery, ListRolesQueryVariables>;
|
|
1737
|
+
export declare const ListOrganizationUsersDocument: DocumentNode<ListOrganizationUsersQuery, ListOrganizationUsersQueryVariables>;
|
|
1738
|
+
export declare const ListApiKeysDocument: DocumentNode<ListApiKeysQuery, ListApiKeysQueryVariables>;
|
|
1739
|
+
export declare const CreateUserDocument: DocumentNode<CreateUserMutation, CreateUserMutationVariables>;
|
|
1740
|
+
export declare const UpdateUserDocument: DocumentNode<UpdateUserMutation, UpdateUserMutationVariables>;
|
|
1741
|
+
export declare const UpdateAccountLocationDocument: DocumentNode<UpdateAccountLocationMutation, UpdateAccountLocationMutationVariables>;
|
|
1742
|
+
export declare const DeleteUserDocument: DocumentNode<DeleteUserMutation, DeleteUserMutationVariables>;
|
|
1743
|
+
export declare const SubscribePushDocument: DocumentNode<SubscribePushMutation, SubscribePushMutationVariables>;
|
|
1744
|
+
export declare const UnsubscribePushDocument: DocumentNode<UnsubscribePushMutation, UnsubscribePushMutationVariables>;
|
|
1745
|
+
export declare const GetAccountRegionDocument: DocumentNode<GetAccountRegionQuery, GetAccountRegionQueryVariables>;
|
|
1746
|
+
export declare const GetUserDocument: DocumentNode<GetUserQuery, GetUserQueryVariables>;
|
|
1747
|
+
export declare const UserDocument: DocumentNode<UserQuery, UserQueryVariables>;
|
|
1748
|
+
export declare const GetInterestsDocument: DocumentNode<GetInterestsQuery, GetInterestsQueryVariables>;
|
|
1749
|
+
export declare const UpdateInterestsDocument: DocumentNode<UpdateInterestsMutation, UpdateInterestsMutationVariables>;
|
|
1750
|
+
//# sourceMappingURL=graphql.d.ts.map
|