@appkit/dek-lib 0.1.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.
Files changed (103) hide show
  1. package/README.md +3 -0
  2. package/dist/components/Background/Background.d.ts +6 -0
  3. package/dist/components/Background/Background.styled.d.ts +10 -0
  4. package/dist/components/Board/Board.d.ts +5 -0
  5. package/dist/components/BoardProvider/BoardProvider.d.ts +8 -0
  6. package/dist/components/BoardProvider/BoardStyles.d.ts +6 -0
  7. package/dist/components/CommandGroup/CommandGroup.d.ts +5 -0
  8. package/dist/components/CommandGroup/CommandGroup.styled.d.ts +297 -0
  9. package/dist/components/Header/Header.d.ts +5 -0
  10. package/dist/components/Header/Header.styled.d.ts +822 -0
  11. package/dist/components/LayoutRenderer/LayoutRenderer.d.ts +5 -0
  12. package/dist/components/RouteResolver/RouteResolver.d.ts +12 -0
  13. package/dist/components/Router/Router.d.ts +6 -0
  14. package/dist/components/Router/Router.styled.d.ts +273 -0
  15. package/dist/components/Zone/Zone.d.ts +5 -0
  16. package/dist/data/fetchUserData.d.ts +4 -0
  17. package/dist/data/fetchUserPlugins.d.ts +5 -0
  18. package/dist/data/fetchUserToken.d.ts +2 -0
  19. package/dist/data/getClient.d.ts +3 -0
  20. package/dist/data/types/fragment-masking.d.ts +15 -0
  21. package/dist/data/types/gql.d.ts +50 -0
  22. package/dist/data/types/graphql.d.ts +1283 -0
  23. package/dist/data/types/index.d.ts +2 -0
  24. package/dist/data/watchUser.d.ts +2 -0
  25. package/dist/index.d.ts +7 -0
  26. package/dist/index.es.js +65766 -0
  27. package/dist/index.umd.js +65783 -0
  28. package/dist/lib/data.d.ts +1 -0
  29. package/dist/lib/globals.d.ts +14 -0
  30. package/dist/lib/hooks/useUserConfig.d.ts +4 -0
  31. package/dist/lib/plugins.d.ts +5 -0
  32. package/dist/lib/state.d.ts +16 -0
  33. package/dist/lib/utils/delay.d.ts +5 -0
  34. package/dist/lib/utils/extractErrorMessage.d.ts +1 -0
  35. package/dist/lib/utils/loadCustomPlugin.d.ts +6 -0
  36. package/dist/lib/utils/noop.d.ts +2 -0
  37. package/dist/lib/utils/parsePropsForComponent.d.ts +6 -0
  38. package/dist/lib/utils/tryAsync.d.ts +2 -0
  39. package/dist/lib/utils/waitForChange.d.ts +2 -0
  40. package/dist/main.d.ts +1 -0
  41. package/dist/plugins/base/boards/MainBoard.d.ts +2 -0
  42. package/dist/plugins/base/components/Greeting/Greeting.d.ts +2 -0
  43. package/dist/plugins/base/components/Greeting/Greeting.styled.d.ts +545 -0
  44. package/dist/plugins/base/lib/formatDateTime.d.ts +2 -0
  45. package/dist/plugins/base/plugin.d.ts +19 -0
  46. package/dist/plugins/base/screens/AboutScreen.d.ts +2 -0
  47. package/dist/plugins/base/screens/SettingsScreen.d.ts +2 -0
  48. package/dist/plugins/calendar/CalendarTiles/CalendarTiles.d.ts +11 -0
  49. package/dist/plugins/calendar/CalendarTiles/CalendarTiles.styled.d.ts +817 -0
  50. package/dist/plugins/calendar/CalendarTiles/UpcomingEvents.d.ts +7 -0
  51. package/dist/plugins/calendar/api/events.d.ts +2 -0
  52. package/dist/plugins/calendar/hooks/useEvents.d.ts +31 -0
  53. package/dist/plugins/calendar/lib/areEventsEqual.d.ts +3 -0
  54. package/dist/plugins/calendar/lib/findPastEvents.d.ts +3 -0
  55. package/dist/plugins/calendar/lib/findUpcomingEvents.d.ts +3 -0
  56. package/dist/plugins/calendar/lib/formatDateTime.d.ts +2 -0
  57. package/dist/plugins/calendar/lib/getTextWidth.d.ts +10 -0
  58. package/dist/plugins/calendar/plugin.d.ts +24 -0
  59. package/dist/plugins/calendar/screens/EventScreen/DateBadge.d.ts +2 -0
  60. package/dist/plugins/calendar/screens/EventScreen/EventScreen.d.ts +5 -0
  61. package/dist/plugins/calendar/screens/EventScreen/EventScreen.styled.d.ts +273 -0
  62. package/dist/plugins/calendar/screens/EventScreen/TitleBarWithTime.d.ts +2 -0
  63. package/dist/plugins/calendar/types.d.ts +13 -0
  64. package/dist/plugins/clock/ClockComponent/ClockComponent.d.ts +2 -0
  65. package/dist/plugins/desktop/BrowserButton.d.ts +6 -0
  66. package/dist/plugins/desktop/api/browser.d.ts +1 -0
  67. package/dist/plugins/desktop/constants.d.ts +1 -0
  68. package/dist/plugins/home-assistant/EntityButton/EntityButton.d.ts +9 -0
  69. package/dist/plugins/home-assistant/MediaButton/MediaButton.d.ts +8 -0
  70. package/dist/plugins/home-assistant/MediaView/CoverArt/CoverArt.d.ts +7 -0
  71. package/dist/plugins/home-assistant/MediaView/CoverArt/CoverArt.styled.d.ts +6 -0
  72. package/dist/plugins/home-assistant/MediaView/MediaTrack/MediaTrack.d.ts +6 -0
  73. package/dist/plugins/home-assistant/MediaView/MediaView.d.ts +6 -0
  74. package/dist/plugins/home-assistant/MediaView/MediaView.styled.d.ts +1124 -0
  75. package/dist/plugins/home-assistant/WeatherView/WeatherIcon/WeatherIcon.d.ts +6 -0
  76. package/dist/plugins/home-assistant/WeatherView/WeatherIcon/WeatherIcon.styled.d.ts +7 -0
  77. package/dist/plugins/home-assistant/WeatherView/WeatherView.d.ts +2 -0
  78. package/dist/plugins/home-assistant/api/accessories.d.ts +7 -0
  79. package/dist/plugins/home-assistant/api/constants.d.ts +2 -0
  80. package/dist/plugins/home-assistant/api/getImageAsBase64.d.ts +2 -0
  81. package/dist/plugins/home-assistant/api/ha.d.ts +9 -0
  82. package/dist/plugins/home-assistant/api/index.d.ts +4 -0
  83. package/dist/plugins/home-assistant/api/media.d.ts +4 -0
  84. package/dist/plugins/home-assistant/api/state.d.ts +6 -0
  85. package/dist/plugins/home-assistant/api/transforms/transformMediaData.d.ts +3 -0
  86. package/dist/plugins/home-assistant/api/transforms/transformSwitchData.d.ts +3 -0
  87. package/dist/plugins/home-assistant/api/transforms/transformWeatherData.d.ts +3 -0
  88. package/dist/plugins/home-assistant/api/types.d.ts +32 -0
  89. package/dist/plugins/home-assistant/api/weather.d.ts +2 -0
  90. package/dist/plugins/home-assistant/hooks/useEntities.d.ts +27 -0
  91. package/dist/plugins/home-assistant/hooks/useEntity.d.ts +25 -0
  92. package/dist/plugins/home-assistant/plugin.d.ts +12 -0
  93. package/dist/plugins/homekit/HomekitButton.d.ts +8 -0
  94. package/dist/plugins/homekit/api/accessories.d.ts +6 -0
  95. package/dist/plugins/homekit/constants.d.ts +1 -0
  96. package/dist/plugins/weather/WeatherComponent/WeatherComponent.d.ts +2 -0
  97. package/dist/plugins/weather/WeatherComponent/WeatherComponent.styled.d.ts +817 -0
  98. package/dist/plugins/weather/WeatherDisplay/WeatherDisplay.d.ts +6 -0
  99. package/dist/plugins/weather/WeatherDisplay/WeatherDisplay.styled.d.ts +817 -0
  100. package/dist/plugins/weather/WeatherIcon/WeatherIcon.d.ts +6 -0
  101. package/dist/plugins/weather/WeatherIcon/WeatherIcon.styled.d.ts +6 -0
  102. package/dist/plugins/weather/getLocationWeather.d.ts +13 -0
  103. package/package.json +67 -0
@@ -0,0 +1,1283 @@
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
+ /** The DateTime scalar type represents date time strings complying to ISO-8601. */
46
+ DateTime: {
47
+ input: any;
48
+ output: any;
49
+ };
50
+ };
51
+ export type AddAuthorInput = {
52
+ email: Scalars['String']['input'];
53
+ name: Scalars['String']['input'];
54
+ ssn?: InputMaybe<Scalars['String']['input']>;
55
+ };
56
+ export type AddAuthorResult = {
57
+ __typename?: 'AddAuthorResult';
58
+ author?: Maybe<Author>;
59
+ error?: Maybe<Error>;
60
+ };
61
+ export type AddBoardInput = {
62
+ key: Scalars['ID']['input'];
63
+ layout: Scalars['String']['input'];
64
+ title: Scalars['String']['input'];
65
+ };
66
+ export type AddBoardResult = {
67
+ __typename?: 'AddBoardResult';
68
+ board?: Maybe<Board>;
69
+ error?: Maybe<Error>;
70
+ };
71
+ export type AddBookInput = {
72
+ abstract: Scalars['String']['input'];
73
+ authorId: Scalars['ID']['input'];
74
+ coverImageUrl?: InputMaybe<Scalars['String']['input']>;
75
+ publishedAt: Scalars['DateTime']['input'];
76
+ title: Scalars['String']['input'];
77
+ };
78
+ export type AddBookResult = {
79
+ __typename?: 'AddBookResult';
80
+ book?: Maybe<Book>;
81
+ error?: Maybe<Error>;
82
+ };
83
+ export type AddCommandGroupInput = {
84
+ commandIds: Array<Scalars['String']['input']>;
85
+ key: Scalars['String']['input'];
86
+ title: Scalars['String']['input'];
87
+ };
88
+ export type AddCommandGroupResult = {
89
+ __typename?: 'AddCommandGroupResult';
90
+ commandGroup?: Maybe<CommandGroup>;
91
+ error?: Maybe<Error>;
92
+ };
93
+ export type AddCommandInput = {
94
+ component: Scalars['String']['input'];
95
+ containerProps?: InputMaybe<Array<CommandPropInput>>;
96
+ plugin: Scalars['String']['input'];
97
+ props?: InputMaybe<Array<CommandPropInput>>;
98
+ title: Scalars['String']['input'];
99
+ };
100
+ export type AddCommandResult = {
101
+ __typename?: 'AddCommandResult';
102
+ command?: Maybe<Command>;
103
+ error?: Maybe<Error>;
104
+ };
105
+ export type AddIntegrationInput = {
106
+ key: Scalars['String']['input'];
107
+ pluginConfig?: InputMaybe<Array<PluginConfigInput>>;
108
+ pluginName: Scalars['String']['input'];
109
+ pluginVersion?: InputMaybe<Scalars['String']['input']>;
110
+ title: Scalars['String']['input'];
111
+ };
112
+ export type AddIntegrationResult = {
113
+ __typename?: 'AddIntegrationResult';
114
+ error?: Maybe<Error>;
115
+ integration?: Maybe<Integration>;
116
+ };
117
+ export type AddLayoutInput = {
118
+ content: Scalars['String']['input'];
119
+ title: Scalars['String']['input'];
120
+ };
121
+ export type AddLayoutResult = {
122
+ __typename?: 'AddLayoutResult';
123
+ error?: Maybe<Error>;
124
+ layout?: Maybe<Layout>;
125
+ };
126
+ export type AddPluginInput = {
127
+ author: Scalars['String']['input'];
128
+ code: Scalars['String']['input'];
129
+ components: Array<PluginComponentInput>;
130
+ description: Scalars['String']['input'];
131
+ name: Scalars['String']['input'];
132
+ private?: Scalars['Boolean']['input'];
133
+ version: Scalars['String']['input'];
134
+ };
135
+ export type AddPluginResult = {
136
+ __typename?: 'AddPluginResult';
137
+ error?: Maybe<Error>;
138
+ plugin?: Maybe<Plugin>;
139
+ };
140
+ export type AddProductInput = {
141
+ active: Scalars['Boolean']['input'];
142
+ adjustmentAmount?: InputMaybe<Scalars['Float']['input']>;
143
+ adjustmentType?: InputMaybe<Scalars['String']['input']>;
144
+ availableForBooking: Scalars['Boolean']['input'];
145
+ billingResponsibility: BillingResponsibility;
146
+ clientKeys: Array<Scalars['String']['input']>;
147
+ descriptionPrivate?: InputMaybe<Scalars['String']['input']>;
148
+ descriptionPublic?: InputMaybe<Scalars['String']['input']>;
149
+ listPrice: Scalars['Float']['input'];
150
+ name?: InputMaybe<Scalars['String']['input']>;
151
+ notes?: InputMaybe<Scalars['String']['input']>;
152
+ requiresPaymentMethod: Scalars['Boolean']['input'];
153
+ sku: Scalars['String']['input'];
154
+ wholesalePrice: Scalars['Float']['input'];
155
+ };
156
+ export type AddProductResult = {
157
+ __typename?: 'AddProductResult';
158
+ error?: Maybe<Error>;
159
+ product?: Maybe<Product>;
160
+ };
161
+ export type AddUserInput = {
162
+ avatar?: InputMaybe<Scalars['String']['input']>;
163
+ email: Scalars['String']['input'];
164
+ location?: InputMaybe<Scalars['String']['input']>;
165
+ name: Scalars['String']['input'];
166
+ password: Scalars['String']['input'];
167
+ };
168
+ export type AddUserResult = {
169
+ __typename?: 'AddUserResult';
170
+ error?: Maybe<Error>;
171
+ user?: Maybe<User>;
172
+ };
173
+ export type AddZoneInput = {
174
+ boardId: Scalars['ID']['input'];
175
+ component: Scalars['String']['input'];
176
+ containerProps?: InputMaybe<Array<ZonePropInput>>;
177
+ key: Scalars['String']['input'];
178
+ plugin: Scalars['String']['input'];
179
+ props?: InputMaybe<Array<ZonePropInput>>;
180
+ };
181
+ export type AddZoneResult = {
182
+ __typename?: 'AddZoneResult';
183
+ error?: Maybe<Error>;
184
+ zone?: Maybe<Zone>;
185
+ };
186
+ export type Auth = {
187
+ __typename?: 'Auth';
188
+ id: Scalars['ID']['output'];
189
+ name?: Maybe<Scalars['String']['output']>;
190
+ roles: Array<AuthRole>;
191
+ };
192
+ export declare enum AuthRole {
193
+ Admin = "ADMIN",
194
+ Delete = "DELETE",
195
+ Read = "READ",
196
+ ReadSensitive = "READ_SENSITIVE",
197
+ User = "USER",
198
+ Write = "WRITE"
199
+ }
200
+ export type Author = {
201
+ __typename?: 'Author';
202
+ archived: Scalars['Boolean']['output'];
203
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
204
+ books: BooksResult;
205
+ createdAt: Scalars['DateTime']['output'];
206
+ email: Scalars['String']['output'];
207
+ id: Scalars['ID']['output'];
208
+ name: Scalars['String']['output'];
209
+ ssn?: Maybe<Scalars['String']['output']>;
210
+ updatedAt: Scalars['DateTime']['output'];
211
+ };
212
+ export type AuthorBooksArgs = {
213
+ order?: InputMaybe<Array<OrderByInput>>;
214
+ page?: InputMaybe<Scalars['Int']['input']>;
215
+ perPage?: InputMaybe<Scalars['Int']['input']>;
216
+ where?: InputMaybe<AuthorBooksQueryInput>;
217
+ };
218
+ export type AuthorBooksQueryInput = {
219
+ abstract?: InputMaybe<RegexExpressionInput>;
220
+ archived?: InputMaybe<YesNoAnyInput>;
221
+ createdAt?: InputMaybe<DateRangeInput>;
222
+ publishedAt?: InputMaybe<DateRangeInput>;
223
+ title?: InputMaybe<RegexExpressionInput>;
224
+ updatedAt?: InputMaybe<DateRangeInput>;
225
+ };
226
+ export type AuthorChangeResult = {
227
+ __typename?: 'AuthorChangeResult';
228
+ action: ChangeAction;
229
+ author?: Maybe<Author>;
230
+ id: Scalars['ID']['output'];
231
+ };
232
+ export type AuthorsQueryInput = {
233
+ archived?: InputMaybe<YesNoAnyInput>;
234
+ createdAt?: InputMaybe<DateRangeInput>;
235
+ email?: InputMaybe<RegexExpressionInput>;
236
+ name?: InputMaybe<RegexExpressionInput>;
237
+ ssn?: InputMaybe<RegexExpressionInput>;
238
+ updatedAt?: InputMaybe<DateRangeInput>;
239
+ };
240
+ export type AuthorsResult = {
241
+ __typename?: 'AuthorsResult';
242
+ info: QueryInfo;
243
+ nodes: Array<Author>;
244
+ };
245
+ export declare enum BillingResponsibility {
246
+ Broker = "BROKER",
247
+ Customer = "CUSTOMER"
248
+ }
249
+ export type Board = {
250
+ __typename?: 'Board';
251
+ archived: Scalars['Boolean']['output'];
252
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
253
+ createdAt: Scalars['DateTime']['output'];
254
+ id: Scalars['ID']['output'];
255
+ key: Scalars['ID']['output'];
256
+ layout?: Maybe<Scalars['String']['output']>;
257
+ title: Scalars['String']['output'];
258
+ updatedAt: Scalars['DateTime']['output'];
259
+ user: User;
260
+ zones: Array<Zone>;
261
+ };
262
+ export type BoardChangeResult = {
263
+ __typename?: 'BoardChangeResult';
264
+ action: ChangeAction;
265
+ board?: Maybe<Board>;
266
+ id: Scalars['ID']['output'];
267
+ };
268
+ export type BoardsQueryInput = {
269
+ archived?: InputMaybe<YesNoAnyInput>;
270
+ createdAt?: InputMaybe<DateRangeInput>;
271
+ layout?: InputMaybe<RegexExpressionInput>;
272
+ title?: InputMaybe<RegexExpressionInput>;
273
+ updatedAt?: InputMaybe<DateRangeInput>;
274
+ };
275
+ export type BoardsResult = {
276
+ __typename?: 'BoardsResult';
277
+ info: QueryInfo;
278
+ nodes: Array<Board>;
279
+ };
280
+ export type Book = {
281
+ __typename?: 'Book';
282
+ abstract: Scalars['String']['output'];
283
+ archived: Scalars['Boolean']['output'];
284
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
285
+ author: Author;
286
+ coverImageUrl?: Maybe<Scalars['String']['output']>;
287
+ createdAt: Scalars['DateTime']['output'];
288
+ id: Scalars['ID']['output'];
289
+ publishedAt: Scalars['DateTime']['output'];
290
+ title: Scalars['String']['output'];
291
+ updatedAt: Scalars['DateTime']['output'];
292
+ };
293
+ export type BookChangeResult = {
294
+ __typename?: 'BookChangeResult';
295
+ action: ChangeAction;
296
+ book?: Maybe<Book>;
297
+ id: Scalars['ID']['output'];
298
+ };
299
+ export type BooksQueryInput = {
300
+ abstract?: InputMaybe<RegexExpressionInput>;
301
+ archived?: InputMaybe<YesNoAnyInput>;
302
+ authorIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
303
+ createdAt?: InputMaybe<DateRangeInput>;
304
+ publishedAt?: InputMaybe<DateRangeInput>;
305
+ title?: InputMaybe<RegexExpressionInput>;
306
+ updatedAt?: InputMaybe<DateRangeInput>;
307
+ };
308
+ export type BooksResult = {
309
+ __typename?: 'BooksResult';
310
+ info: QueryInfo;
311
+ nodes: Array<Book>;
312
+ };
313
+ export declare enum ChangeAction {
314
+ Created = "CREATED",
315
+ Deleted = "DELETED",
316
+ Updated = "UPDATED"
317
+ }
318
+ export type Command = {
319
+ __typename?: 'Command';
320
+ archived: Scalars['Boolean']['output'];
321
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
322
+ component: Scalars['String']['output'];
323
+ containerProps: Array<CommandProp>;
324
+ createdAt: Scalars['DateTime']['output'];
325
+ id: Scalars['ID']['output'];
326
+ plugin: Scalars['String']['output'];
327
+ props: Array<CommandProp>;
328
+ title: Scalars['String']['output'];
329
+ updatedAt: Scalars['DateTime']['output'];
330
+ user: User;
331
+ };
332
+ export type CommandChangeResult = {
333
+ __typename?: 'CommandChangeResult';
334
+ action: ChangeAction;
335
+ command?: Maybe<Command>;
336
+ id: Scalars['ID']['output'];
337
+ };
338
+ export type CommandGroup = {
339
+ __typename?: 'CommandGroup';
340
+ archived: Scalars['Boolean']['output'];
341
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
342
+ commands: Array<Command>;
343
+ createdAt: Scalars['DateTime']['output'];
344
+ id: Scalars['ID']['output'];
345
+ key: Scalars['String']['output'];
346
+ title: Scalars['String']['output'];
347
+ updatedAt: Scalars['DateTime']['output'];
348
+ user: User;
349
+ };
350
+ export type CommandGroupChangeResult = {
351
+ __typename?: 'CommandGroupChangeResult';
352
+ action: ChangeAction;
353
+ commandGroup?: Maybe<CommandGroup>;
354
+ id: Scalars['ID']['output'];
355
+ };
356
+ export type CommandGroupsQueryInput = {
357
+ archived?: InputMaybe<YesNoAnyInput>;
358
+ createdAt?: InputMaybe<DateRangeInput>;
359
+ publishedAt?: InputMaybe<DateRangeInput>;
360
+ updatedAt?: InputMaybe<DateRangeInput>;
361
+ };
362
+ export type CommandGroupsResult = {
363
+ __typename?: 'CommandGroupsResult';
364
+ info: QueryInfo;
365
+ nodes: Array<CommandGroup>;
366
+ };
367
+ export type CommandProp = {
368
+ __typename?: 'CommandProp';
369
+ key: Scalars['String']['output'];
370
+ value: Scalars['String']['output'];
371
+ };
372
+ export type CommandPropInput = {
373
+ key: Scalars['String']['input'];
374
+ value: Scalars['String']['input'];
375
+ };
376
+ export type CommandsQueryInput = {
377
+ archived?: InputMaybe<YesNoAnyInput>;
378
+ createdAt?: InputMaybe<DateRangeInput>;
379
+ title?: InputMaybe<RegexExpressionInput>;
380
+ updatedAt?: InputMaybe<DateRangeInput>;
381
+ };
382
+ export type CommandsResult = {
383
+ __typename?: 'CommandsResult';
384
+ info: QueryInfo;
385
+ nodes: Array<Command>;
386
+ };
387
+ export type DateRangeInput = {
388
+ days?: InputMaybe<Scalars['Int']['input']>;
389
+ end?: InputMaybe<Scalars['DateTime']['input']>;
390
+ start: Scalars['DateTime']['input'];
391
+ };
392
+ export type DeleteAuthorResult = {
393
+ __typename?: 'DeleteAuthorResult';
394
+ id: Scalars['ID']['output'];
395
+ };
396
+ export type DeleteBoardResult = {
397
+ __typename?: 'DeleteBoardResult';
398
+ id: Scalars['ID']['output'];
399
+ };
400
+ export type DeleteBookResult = {
401
+ __typename?: 'DeleteBookResult';
402
+ id: Scalars['ID']['output'];
403
+ };
404
+ export type DeleteCommandGroupResult = {
405
+ __typename?: 'DeleteCommandGroupResult';
406
+ id: Scalars['ID']['output'];
407
+ };
408
+ export type DeleteCommandResult = {
409
+ __typename?: 'DeleteCommandResult';
410
+ id: Scalars['ID']['output'];
411
+ };
412
+ export type DeleteIntegrationResult = {
413
+ __typename?: 'DeleteIntegrationResult';
414
+ id: Scalars['ID']['output'];
415
+ };
416
+ export type DeleteLayoutResult = {
417
+ __typename?: 'DeleteLayoutResult';
418
+ id: Scalars['ID']['output'];
419
+ };
420
+ export type DeleteProductResult = {
421
+ __typename?: 'DeleteProductResult';
422
+ id: Scalars['ID']['output'];
423
+ };
424
+ export type DeleteUserResult = {
425
+ __typename?: 'DeleteUserResult';
426
+ id: Scalars['ID']['output'];
427
+ };
428
+ export type DeleteZoneResult = {
429
+ __typename?: 'DeleteZoneResult';
430
+ id: Scalars['ID']['output'];
431
+ };
432
+ export type Error = {
433
+ __typename?: 'Error';
434
+ message: Scalars['String']['output'];
435
+ };
436
+ export type ImageDataResult = {
437
+ __typename?: 'ImageDataResult';
438
+ error?: Maybe<Error>;
439
+ input?: Maybe<Scalars['String']['output']>;
440
+ };
441
+ export type Integration = {
442
+ __typename?: 'Integration';
443
+ archived: Scalars['Boolean']['output'];
444
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
445
+ createdAt: Scalars['DateTime']['output'];
446
+ id: Scalars['ID']['output'];
447
+ key: Scalars['String']['output'];
448
+ pluginConfig: Array<PluginConfig>;
449
+ pluginName: Scalars['String']['output'];
450
+ pluginVersion?: Maybe<Scalars['String']['output']>;
451
+ title: Scalars['String']['output'];
452
+ updatedAt: Scalars['DateTime']['output'];
453
+ user: User;
454
+ };
455
+ export type IntegrationChangeResult = {
456
+ __typename?: 'IntegrationChangeResult';
457
+ action: ChangeAction;
458
+ id: Scalars['ID']['output'];
459
+ integration?: Maybe<Integration>;
460
+ };
461
+ export type IntegrationsQueryInput = {
462
+ archived?: InputMaybe<YesNoAnyInput>;
463
+ createdAt?: InputMaybe<DateRangeInput>;
464
+ pluginName?: InputMaybe<RegexExpressionInput>;
465
+ pluginVersion?: InputMaybe<RegexExpressionInput>;
466
+ title?: InputMaybe<RegexExpressionInput>;
467
+ updatedAt?: InputMaybe<DateRangeInput>;
468
+ };
469
+ export type IntegrationsResult = {
470
+ __typename?: 'IntegrationsResult';
471
+ info: QueryInfo;
472
+ nodes: Array<Integration>;
473
+ };
474
+ export type Layout = {
475
+ __typename?: 'Layout';
476
+ archived: Scalars['Boolean']['output'];
477
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
478
+ content: Scalars['String']['output'];
479
+ createdAt: Scalars['DateTime']['output'];
480
+ id: Scalars['ID']['output'];
481
+ shared: Scalars['Boolean']['output'];
482
+ title: Scalars['String']['output'];
483
+ updatedAt: Scalars['DateTime']['output'];
484
+ user: User;
485
+ };
486
+ export type LayoutChangeResult = {
487
+ __typename?: 'LayoutChangeResult';
488
+ action: ChangeAction;
489
+ id: Scalars['ID']['output'];
490
+ layout?: Maybe<Layout>;
491
+ };
492
+ export type LayoutsQueryInput = {
493
+ archived?: InputMaybe<YesNoAnyInput>;
494
+ createdAt?: InputMaybe<DateRangeInput>;
495
+ shared?: InputMaybe<YesNoAnyInput>;
496
+ updatedAt?: InputMaybe<DateRangeInput>;
497
+ };
498
+ export type LayoutsResult = {
499
+ __typename?: 'LayoutsResult';
500
+ info: QueryInfo;
501
+ nodes: Array<Layout>;
502
+ };
503
+ export type LoginResult = {
504
+ __typename?: 'LoginResult';
505
+ error?: Maybe<Error>;
506
+ token?: Maybe<Scalars['String']['output']>;
507
+ };
508
+ export type Mutation = {
509
+ __typename?: 'Mutation';
510
+ addAuthor: AddAuthorResult;
511
+ addBoard: AddBoardResult;
512
+ addBook: AddBookResult;
513
+ addCommand: AddCommandResult;
514
+ addCommandGroup: AddCommandGroupResult;
515
+ addIntegration: AddIntegrationResult;
516
+ addLayout: AddLayoutResult;
517
+ addPlugin: AddPluginResult;
518
+ addProduct: AddProductResult;
519
+ addUser: AddUserResult;
520
+ addZone: AddZoneResult;
521
+ deleteAuthor: DeleteAuthorResult;
522
+ deleteBoard: DeleteBoardResult;
523
+ deleteBook: DeleteBookResult;
524
+ deleteCommand: DeleteCommandResult;
525
+ deleteCommandGroup: DeleteCommandGroupResult;
526
+ deleteIntegration: DeleteIntegrationResult;
527
+ deleteLayout: DeleteLayoutResult;
528
+ deleteProduct: DeleteProductResult;
529
+ deleteUser: DeleteUserResult;
530
+ deleteZone: DeleteZoneResult;
531
+ login: LoginResult;
532
+ register: RegisterResult;
533
+ updateAuthor: UpdateAuthorResult;
534
+ updateBoard: UpdateBoardResult;
535
+ updateBook: UpdateBookResult;
536
+ updateCommand: UpdateCommandResult;
537
+ updateCommandGroup: UpdateCommandGroupResult;
538
+ updateIntegration: UpdateIntegrationResult;
539
+ updateLayout: UpdateLayoutResult;
540
+ updateProduct: UpdateProductResult;
541
+ updateUser: UpdateUserResult;
542
+ updateUserConfig: UpdateUserConfigResult;
543
+ updateZone: UpdateZoneResult;
544
+ };
545
+ export type MutationAddAuthorArgs = {
546
+ input: AddAuthorInput;
547
+ };
548
+ export type MutationAddBoardArgs = {
549
+ input: AddBoardInput;
550
+ };
551
+ export type MutationAddBookArgs = {
552
+ input: AddBookInput;
553
+ };
554
+ export type MutationAddCommandArgs = {
555
+ input: AddCommandInput;
556
+ };
557
+ export type MutationAddCommandGroupArgs = {
558
+ input: AddCommandGroupInput;
559
+ };
560
+ export type MutationAddIntegrationArgs = {
561
+ input: AddIntegrationInput;
562
+ };
563
+ export type MutationAddLayoutArgs = {
564
+ input: AddLayoutInput;
565
+ };
566
+ export type MutationAddPluginArgs = {
567
+ input: AddPluginInput;
568
+ };
569
+ export type MutationAddProductArgs = {
570
+ input: AddProductInput;
571
+ };
572
+ export type MutationAddUserArgs = {
573
+ input: AddUserInput;
574
+ };
575
+ export type MutationAddZoneArgs = {
576
+ input: AddZoneInput;
577
+ };
578
+ export type MutationDeleteAuthorArgs = {
579
+ id: Scalars['ID']['input'];
580
+ };
581
+ export type MutationDeleteBoardArgs = {
582
+ id: Scalars['ID']['input'];
583
+ };
584
+ export type MutationDeleteBookArgs = {
585
+ id: Scalars['ID']['input'];
586
+ };
587
+ export type MutationDeleteCommandArgs = {
588
+ id: Scalars['ID']['input'];
589
+ };
590
+ export type MutationDeleteCommandGroupArgs = {
591
+ id: Scalars['ID']['input'];
592
+ };
593
+ export type MutationDeleteIntegrationArgs = {
594
+ id: Scalars['ID']['input'];
595
+ };
596
+ export type MutationDeleteLayoutArgs = {
597
+ id: Scalars['ID']['input'];
598
+ };
599
+ export type MutationDeleteProductArgs = {
600
+ id: Scalars['ID']['input'];
601
+ };
602
+ export type MutationDeleteUserArgs = {
603
+ id: Scalars['ID']['input'];
604
+ };
605
+ export type MutationDeleteZoneArgs = {
606
+ id: Scalars['ID']['input'];
607
+ };
608
+ export type MutationLoginArgs = {
609
+ email: Scalars['String']['input'];
610
+ password: Scalars['String']['input'];
611
+ };
612
+ export type MutationRegisterArgs = {
613
+ email: Scalars['String']['input'];
614
+ name: Scalars['String']['input'];
615
+ password: Scalars['String']['input'];
616
+ };
617
+ export type MutationUpdateAuthorArgs = {
618
+ id: Scalars['ID']['input'];
619
+ input: UpdateAuthorInput;
620
+ };
621
+ export type MutationUpdateBoardArgs = {
622
+ id: Scalars['ID']['input'];
623
+ input: UpdateBoardInput;
624
+ };
625
+ export type MutationUpdateBookArgs = {
626
+ id: Scalars['ID']['input'];
627
+ input: UpdateBookInput;
628
+ };
629
+ export type MutationUpdateCommandArgs = {
630
+ id: Scalars['ID']['input'];
631
+ input: UpdateCommandInput;
632
+ };
633
+ export type MutationUpdateCommandGroupArgs = {
634
+ id: Scalars['ID']['input'];
635
+ input: UpdateCommandGroupInput;
636
+ };
637
+ export type MutationUpdateIntegrationArgs = {
638
+ id: Scalars['ID']['input'];
639
+ input: UpdateIntegrationInput;
640
+ };
641
+ export type MutationUpdateLayoutArgs = {
642
+ id: Scalars['ID']['input'];
643
+ input: UpdateLayoutInput;
644
+ };
645
+ export type MutationUpdateProductArgs = {
646
+ id: Scalars['ID']['input'];
647
+ input: UpdateProductInput;
648
+ };
649
+ export type MutationUpdateUserArgs = {
650
+ id: Scalars['ID']['input'];
651
+ input: UpdateUserInput;
652
+ };
653
+ export type MutationUpdateUserConfigArgs = {
654
+ input: UpdateUserConfigInput;
655
+ };
656
+ export type MutationUpdateZoneArgs = {
657
+ id: Scalars['ID']['input'];
658
+ input: UpdateZoneInput;
659
+ };
660
+ export type OrderBy = {
661
+ __typename?: 'OrderBy';
662
+ direction?: Maybe<OrderDirection>;
663
+ field: Scalars['String']['output'];
664
+ };
665
+ export type OrderByInput = {
666
+ direction?: InputMaybe<OrderDirection>;
667
+ field: Scalars['String']['input'];
668
+ };
669
+ export declare enum OrderDirection {
670
+ Asc = "ASC",
671
+ Desc = "DESC"
672
+ }
673
+ export type Plugin = {
674
+ __typename?: 'Plugin';
675
+ archived: Scalars['Boolean']['output'];
676
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
677
+ author: Scalars['String']['output'];
678
+ code: Scalars['String']['output'];
679
+ components: Array<PluginComponent>;
680
+ createdAt: Scalars['DateTime']['output'];
681
+ description: Scalars['String']['output'];
682
+ id: Scalars['ID']['output'];
683
+ name: Scalars['String']['output'];
684
+ private: Scalars['Boolean']['output'];
685
+ updatedAt: Scalars['DateTime']['output'];
686
+ user: User;
687
+ version: Scalars['String']['output'];
688
+ };
689
+ export type PluginChangeResult = {
690
+ __typename?: 'PluginChangeResult';
691
+ action: ChangeAction;
692
+ id: Scalars['ID']['output'];
693
+ plugin?: Maybe<Plugin>;
694
+ };
695
+ export type PluginComponent = {
696
+ __typename?: 'PluginComponent';
697
+ description: Scalars['String']['output'];
698
+ key: Scalars['String']['output'];
699
+ name: Scalars['String']['output'];
700
+ };
701
+ export type PluginComponentInput = {
702
+ description: Scalars['String']['input'];
703
+ key: Scalars['String']['input'];
704
+ name: Scalars['String']['input'];
705
+ };
706
+ export type PluginConfig = {
707
+ __typename?: 'PluginConfig';
708
+ key: Scalars['String']['output'];
709
+ value: Scalars['String']['output'];
710
+ };
711
+ export type PluginConfigInput = {
712
+ key: Scalars['String']['input'];
713
+ value: Scalars['String']['input'];
714
+ };
715
+ export type PluginsQueryInput = {
716
+ archived?: InputMaybe<YesNoAnyInput>;
717
+ author?: InputMaybe<RegexExpressionInput>;
718
+ createdAt?: InputMaybe<DateRangeInput>;
719
+ name?: InputMaybe<RegexExpressionInput>;
720
+ private?: InputMaybe<YesNoAnyInput>;
721
+ publishedAt?: InputMaybe<DateRangeInput>;
722
+ updatedAt?: InputMaybe<DateRangeInput>;
723
+ userIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
724
+ version?: InputMaybe<RegexExpressionInput>;
725
+ };
726
+ export type PluginsResult = {
727
+ __typename?: 'PluginsResult';
728
+ info: QueryInfo;
729
+ nodes: Array<Plugin>;
730
+ };
731
+ export type Product = {
732
+ __typename?: 'Product';
733
+ active: Scalars['Boolean']['output'];
734
+ adjustmentAmount?: Maybe<Scalars['Float']['output']>;
735
+ adjustmentType?: Maybe<Scalars['String']['output']>;
736
+ archived: Scalars['Boolean']['output'];
737
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
738
+ availableForBooking: Scalars['Boolean']['output'];
739
+ billingResponsibility: BillingResponsibility;
740
+ clientKeys: Array<Scalars['String']['output']>;
741
+ createdAt: Scalars['DateTime']['output'];
742
+ descriptionPrivate?: Maybe<Scalars['String']['output']>;
743
+ descriptionPublic?: Maybe<Scalars['String']['output']>;
744
+ id: Scalars['ID']['output'];
745
+ listPrice: Scalars['Float']['output'];
746
+ name?: Maybe<Scalars['String']['output']>;
747
+ notes?: Maybe<Scalars['String']['output']>;
748
+ requiresPaymentMethod: Scalars['Boolean']['output'];
749
+ sku: Scalars['String']['output'];
750
+ updatedAt: Scalars['DateTime']['output'];
751
+ wholesalePrice: Scalars['Float']['output'];
752
+ };
753
+ export type ProductsQueryInput = {
754
+ active?: InputMaybe<YesNoAnyInput>;
755
+ archived?: InputMaybe<YesNoAnyInput>;
756
+ archivedAt?: InputMaybe<DateRangeInput>;
757
+ createdAt?: InputMaybe<DateRangeInput>;
758
+ descriptionPrivate?: InputMaybe<RegexExpressionInput>;
759
+ descriptionPublic?: InputMaybe<RegexExpressionInput>;
760
+ name?: InputMaybe<RegexExpressionInput>;
761
+ sku?: InputMaybe<RegexExpressionInput>;
762
+ updatedAt?: InputMaybe<DateRangeInput>;
763
+ };
764
+ export type ProductsResult = {
765
+ __typename?: 'ProductsResult';
766
+ info: QueryInfo;
767
+ nodes: Array<Product>;
768
+ };
769
+ export type Query = {
770
+ __typename?: 'Query';
771
+ author?: Maybe<Author>;
772
+ authors: AuthorsResult;
773
+ board?: Maybe<Board>;
774
+ boardByKey?: Maybe<Board>;
775
+ boards: BoardsResult;
776
+ book?: Maybe<Book>;
777
+ books: BooksResult;
778
+ command?: Maybe<Command>;
779
+ commandGroup?: Maybe<CommandGroup>;
780
+ commandGroups: CommandGroupsResult;
781
+ commands: CommandsResult;
782
+ currentLogin?: Maybe<Auth>;
783
+ currentUser: User;
784
+ imageData: ImageDataResult;
785
+ integration?: Maybe<Integration>;
786
+ integrations: IntegrationsResult;
787
+ layout?: Maybe<Layout>;
788
+ layouts: LayoutsResult;
789
+ plugin?: Maybe<Plugin>;
790
+ plugins: PluginsResult;
791
+ product?: Maybe<Product>;
792
+ products: ProductsResult;
793
+ user?: Maybe<User>;
794
+ users: UsersResult;
795
+ zone?: Maybe<Zone>;
796
+ zones: ZonesResult;
797
+ };
798
+ export type QueryAuthorArgs = {
799
+ id: Scalars['ID']['input'];
800
+ };
801
+ export type QueryAuthorsArgs = {
802
+ order?: InputMaybe<Array<OrderByInput>>;
803
+ page?: InputMaybe<Scalars['Int']['input']>;
804
+ perPage?: InputMaybe<Scalars['Int']['input']>;
805
+ where?: InputMaybe<AuthorsQueryInput>;
806
+ };
807
+ export type QueryBoardArgs = {
808
+ id: Scalars['ID']['input'];
809
+ };
810
+ export type QueryBoardByKeyArgs = {
811
+ key: Scalars['ID']['input'];
812
+ };
813
+ export type QueryBoardsArgs = {
814
+ order?: InputMaybe<Array<OrderByInput>>;
815
+ page?: InputMaybe<Scalars['Int']['input']>;
816
+ perPage?: InputMaybe<Scalars['Int']['input']>;
817
+ where?: InputMaybe<BoardsQueryInput>;
818
+ };
819
+ export type QueryBookArgs = {
820
+ id: Scalars['ID']['input'];
821
+ };
822
+ export type QueryBooksArgs = {
823
+ order?: InputMaybe<Array<OrderByInput>>;
824
+ page?: InputMaybe<Scalars['Int']['input']>;
825
+ perPage?: InputMaybe<Scalars['Int']['input']>;
826
+ where?: InputMaybe<BooksQueryInput>;
827
+ };
828
+ export type QueryCommandArgs = {
829
+ id: Scalars['ID']['input'];
830
+ };
831
+ export type QueryCommandGroupArgs = {
832
+ id: Scalars['ID']['input'];
833
+ };
834
+ export type QueryCommandGroupsArgs = {
835
+ order?: InputMaybe<Array<OrderByInput>>;
836
+ page?: InputMaybe<Scalars['Int']['input']>;
837
+ perPage?: InputMaybe<Scalars['Int']['input']>;
838
+ where?: InputMaybe<CommandGroupsQueryInput>;
839
+ };
840
+ export type QueryCommandsArgs = {
841
+ order?: InputMaybe<Array<OrderByInput>>;
842
+ page?: InputMaybe<Scalars['Int']['input']>;
843
+ perPage?: InputMaybe<Scalars['Int']['input']>;
844
+ where?: InputMaybe<CommandsQueryInput>;
845
+ };
846
+ export type QueryImageDataArgs = {
847
+ url: Scalars['String']['input'];
848
+ };
849
+ export type QueryIntegrationArgs = {
850
+ id: Scalars['ID']['input'];
851
+ };
852
+ export type QueryIntegrationsArgs = {
853
+ order?: InputMaybe<Array<OrderByInput>>;
854
+ page?: InputMaybe<Scalars['Int']['input']>;
855
+ perPage?: InputMaybe<Scalars['Int']['input']>;
856
+ where?: InputMaybe<IntegrationsQueryInput>;
857
+ };
858
+ export type QueryLayoutArgs = {
859
+ id: Scalars['ID']['input'];
860
+ };
861
+ export type QueryLayoutsArgs = {
862
+ order?: InputMaybe<Array<OrderByInput>>;
863
+ page?: InputMaybe<Scalars['Int']['input']>;
864
+ perPage?: InputMaybe<Scalars['Int']['input']>;
865
+ where?: InputMaybe<LayoutsQueryInput>;
866
+ };
867
+ export type QueryPluginArgs = {
868
+ id: Scalars['ID']['input'];
869
+ };
870
+ export type QueryPluginsArgs = {
871
+ order?: InputMaybe<Array<OrderByInput>>;
872
+ page?: InputMaybe<Scalars['Int']['input']>;
873
+ perPage?: InputMaybe<Scalars['Int']['input']>;
874
+ where?: InputMaybe<PluginsQueryInput>;
875
+ };
876
+ export type QueryProductArgs = {
877
+ id: Scalars['ID']['input'];
878
+ };
879
+ export type QueryProductsArgs = {
880
+ order?: InputMaybe<Array<OrderByInput>>;
881
+ page?: InputMaybe<Scalars['Int']['input']>;
882
+ perPage?: InputMaybe<Scalars['Int']['input']>;
883
+ where?: InputMaybe<ProductsQueryInput>;
884
+ };
885
+ export type QueryUserArgs = {
886
+ id: Scalars['ID']['input'];
887
+ };
888
+ export type QueryUsersArgs = {
889
+ order?: InputMaybe<Array<OrderByInput>>;
890
+ page?: InputMaybe<Scalars['Int']['input']>;
891
+ perPage?: InputMaybe<Scalars['Int']['input']>;
892
+ where?: InputMaybe<UsersQueryInput>;
893
+ };
894
+ export type QueryZoneArgs = {
895
+ id: Scalars['ID']['input'];
896
+ };
897
+ export type QueryZonesArgs = {
898
+ order?: InputMaybe<Array<OrderByInput>>;
899
+ page?: InputMaybe<Scalars['Int']['input']>;
900
+ perPage?: InputMaybe<Scalars['Int']['input']>;
901
+ where?: InputMaybe<ZonesQueryInput>;
902
+ };
903
+ export type QueryInfo = {
904
+ __typename?: 'QueryInfo';
905
+ at: Scalars['DateTime']['output'];
906
+ page: Scalars['Int']['output'];
907
+ perPage: Scalars['Int']['output'];
908
+ totalCount: Scalars['Int']['output'];
909
+ };
910
+ export type RegexExpressionInput = {
911
+ flags?: InputMaybe<RegexFlags>;
912
+ pattern: Scalars['String']['input'];
913
+ };
914
+ export declare enum RegexFlags {
915
+ I = "i",
916
+ Im = "im",
917
+ Is = "is",
918
+ Ism = "ism",
919
+ M = "m",
920
+ S = "s",
921
+ Sm = "sm"
922
+ }
923
+ export type RegisterResult = {
924
+ __typename?: 'RegisterResult';
925
+ error?: Maybe<Error>;
926
+ };
927
+ export type Subscription = {
928
+ __typename?: 'Subscription';
929
+ authorChange: AuthorChangeResult;
930
+ boardChange: BoardChangeResult;
931
+ bookChange: BookChangeResult;
932
+ commandChange: CommandChangeResult;
933
+ commandGroupChange: CommandGroupChangeResult;
934
+ integrationChange: IntegrationChangeResult;
935
+ layoutChange: LayoutChangeResult;
936
+ pluginChange: PluginChangeResult;
937
+ userChange: UserChangeResult;
938
+ userConfigChange: UserConfigChangeResult;
939
+ zoneChange: ZoneChangeResult;
940
+ };
941
+ export type UpdateAuthorInput = {
942
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
943
+ email?: InputMaybe<Scalars['String']['input']>;
944
+ name?: InputMaybe<Scalars['String']['input']>;
945
+ ssn?: InputMaybe<Scalars['String']['input']>;
946
+ };
947
+ export type UpdateAuthorResult = {
948
+ __typename?: 'UpdateAuthorResult';
949
+ author?: Maybe<Author>;
950
+ error?: Maybe<Error>;
951
+ };
952
+ export type UpdateBoardInput = {
953
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
954
+ layout?: InputMaybe<Scalars['String']['input']>;
955
+ title?: InputMaybe<Scalars['String']['input']>;
956
+ };
957
+ export type UpdateBoardResult = {
958
+ __typename?: 'UpdateBoardResult';
959
+ board?: Maybe<Board>;
960
+ error?: Maybe<Error>;
961
+ };
962
+ export type UpdateBookInput = {
963
+ abstract?: InputMaybe<Scalars['String']['input']>;
964
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
965
+ coverImageUrl?: InputMaybe<Scalars['String']['input']>;
966
+ publishedAt?: InputMaybe<Scalars['DateTime']['input']>;
967
+ title?: InputMaybe<Scalars['String']['input']>;
968
+ };
969
+ export type UpdateBookResult = {
970
+ __typename?: 'UpdateBookResult';
971
+ book?: Maybe<Book>;
972
+ error?: Maybe<Error>;
973
+ };
974
+ export type UpdateCommandGroupInput = {
975
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
976
+ commandIds: Array<Scalars['String']['input']>;
977
+ title?: InputMaybe<Scalars['String']['input']>;
978
+ };
979
+ export type UpdateCommandGroupResult = {
980
+ __typename?: 'UpdateCommandGroupResult';
981
+ commandGroup?: Maybe<CommandGroup>;
982
+ error?: Maybe<Error>;
983
+ };
984
+ export type UpdateCommandInput = {
985
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
986
+ component?: InputMaybe<Scalars['String']['input']>;
987
+ containerProps?: InputMaybe<Array<CommandPropInput>>;
988
+ plugin?: InputMaybe<Scalars['String']['input']>;
989
+ props?: InputMaybe<Array<CommandPropInput>>;
990
+ title?: InputMaybe<Scalars['String']['input']>;
991
+ };
992
+ export type UpdateCommandResult = {
993
+ __typename?: 'UpdateCommandResult';
994
+ command?: Maybe<Command>;
995
+ error?: Maybe<Error>;
996
+ };
997
+ export type UpdateIntegrationInput = {
998
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
999
+ pluginConfig?: InputMaybe<Array<PluginConfigInput>>;
1000
+ pluginVersion?: InputMaybe<Scalars['String']['input']>;
1001
+ title?: InputMaybe<Scalars['String']['input']>;
1002
+ };
1003
+ export type UpdateIntegrationResult = {
1004
+ __typename?: 'UpdateIntegrationResult';
1005
+ error?: Maybe<Error>;
1006
+ integration?: Maybe<Integration>;
1007
+ };
1008
+ export type UpdateLayoutInput = {
1009
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
1010
+ content?: InputMaybe<Scalars['String']['input']>;
1011
+ title?: InputMaybe<Scalars['String']['input']>;
1012
+ };
1013
+ export type UpdateLayoutResult = {
1014
+ __typename?: 'UpdateLayoutResult';
1015
+ error?: Maybe<Error>;
1016
+ layout?: Maybe<Layout>;
1017
+ };
1018
+ export type UpdateProductInput = {
1019
+ active?: InputMaybe<Scalars['Boolean']['input']>;
1020
+ adjustmentAmount?: InputMaybe<Scalars['Float']['input']>;
1021
+ adjustmentType?: InputMaybe<Scalars['String']['input']>;
1022
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
1023
+ availableForBooking?: InputMaybe<Scalars['Boolean']['input']>;
1024
+ billingResponsibility?: InputMaybe<BillingResponsibility>;
1025
+ clientKeys?: InputMaybe<Array<Scalars['String']['input']>>;
1026
+ descriptionPrivate?: InputMaybe<Scalars['String']['input']>;
1027
+ descriptionPublic?: InputMaybe<Scalars['String']['input']>;
1028
+ listPrice?: InputMaybe<Scalars['Float']['input']>;
1029
+ name?: InputMaybe<Scalars['String']['input']>;
1030
+ notes?: InputMaybe<Scalars['String']['input']>;
1031
+ requiresPaymentMethod?: InputMaybe<Scalars['Boolean']['input']>;
1032
+ sku?: InputMaybe<Scalars['String']['input']>;
1033
+ wholesalePrice?: InputMaybe<Scalars['Float']['input']>;
1034
+ };
1035
+ export type UpdateProductResult = {
1036
+ __typename?: 'UpdateProductResult';
1037
+ error?: Maybe<Error>;
1038
+ product?: Maybe<Product>;
1039
+ };
1040
+ export type UpdateUserConfigInput = {
1041
+ plugins: Array<UserConfigPluginInput>;
1042
+ };
1043
+ export type UpdateUserConfigResult = {
1044
+ __typename?: 'UpdateUserConfigResult';
1045
+ error?: Maybe<Error>;
1046
+ userConfig?: Maybe<UserConfig>;
1047
+ };
1048
+ export type UpdateUserInput = {
1049
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
1050
+ avatar?: InputMaybe<Scalars['String']['input']>;
1051
+ email?: InputMaybe<Scalars['String']['input']>;
1052
+ location?: InputMaybe<Scalars['String']['input']>;
1053
+ name?: InputMaybe<Scalars['String']['input']>;
1054
+ };
1055
+ export type UpdateUserResult = {
1056
+ __typename?: 'UpdateUserResult';
1057
+ error?: Maybe<Error>;
1058
+ user?: Maybe<User>;
1059
+ };
1060
+ export type UpdateZoneInput = {
1061
+ archived?: InputMaybe<Scalars['Boolean']['input']>;
1062
+ component?: InputMaybe<Scalars['String']['input']>;
1063
+ containerProps?: InputMaybe<Array<ZonePropInput>>;
1064
+ key?: InputMaybe<Scalars['String']['input']>;
1065
+ plugin?: InputMaybe<Scalars['String']['input']>;
1066
+ props?: InputMaybe<Array<ZonePropInput>>;
1067
+ };
1068
+ export type UpdateZoneResult = {
1069
+ __typename?: 'UpdateZoneResult';
1070
+ error?: Maybe<Error>;
1071
+ zone?: Maybe<Zone>;
1072
+ };
1073
+ export type User = {
1074
+ __typename?: 'User';
1075
+ archived: Scalars['Boolean']['output'];
1076
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
1077
+ avatar?: Maybe<Scalars['String']['output']>;
1078
+ boards: Array<Board>;
1079
+ commandGroups: Array<CommandGroup>;
1080
+ commands: Array<Command>;
1081
+ createdAt: Scalars['DateTime']['output'];
1082
+ email: Scalars['String']['output'];
1083
+ id: Scalars['ID']['output'];
1084
+ integrations: Array<Integration>;
1085
+ location?: Maybe<Scalars['String']['output']>;
1086
+ name: Scalars['String']['output'];
1087
+ plugins: Array<Plugin>;
1088
+ updatedAt: Scalars['DateTime']['output'];
1089
+ };
1090
+ export type UserChangeResult = {
1091
+ __typename?: 'UserChangeResult';
1092
+ action: ChangeAction;
1093
+ id: Scalars['ID']['output'];
1094
+ user?: Maybe<User>;
1095
+ };
1096
+ export type UserConfig = {
1097
+ __typename?: 'UserConfig';
1098
+ archived: Scalars['Boolean']['output'];
1099
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
1100
+ createdAt: Scalars['DateTime']['output'];
1101
+ id: Scalars['ID']['output'];
1102
+ plugins: Array<UserConfigPlugin>;
1103
+ updatedAt: Scalars['DateTime']['output'];
1104
+ };
1105
+ export type UserConfigChangeResult = {
1106
+ __typename?: 'UserConfigChangeResult';
1107
+ action: ChangeAction;
1108
+ id: Scalars['ID']['output'];
1109
+ userConfig?: Maybe<UserConfig>;
1110
+ };
1111
+ export type UserConfigPlugin = {
1112
+ __typename?: 'UserConfigPlugin';
1113
+ name: Scalars['String']['output'];
1114
+ version?: Maybe<Scalars['String']['output']>;
1115
+ };
1116
+ export type UserConfigPluginInput = {
1117
+ name: Scalars['String']['input'];
1118
+ version?: InputMaybe<Scalars['String']['input']>;
1119
+ };
1120
+ export type UserConfigsResult = {
1121
+ __typename?: 'UserConfigsResult';
1122
+ info: QueryInfo;
1123
+ nodes: Array<UserConfig>;
1124
+ };
1125
+ export type UsersQueryInput = {
1126
+ archived?: InputMaybe<YesNoAnyInput>;
1127
+ createdAt?: InputMaybe<DateRangeInput>;
1128
+ email?: InputMaybe<RegexExpressionInput>;
1129
+ location?: InputMaybe<RegexExpressionInput>;
1130
+ name?: InputMaybe<RegexExpressionInput>;
1131
+ updatedAt?: InputMaybe<DateRangeInput>;
1132
+ };
1133
+ export type UsersResult = {
1134
+ __typename?: 'UsersResult';
1135
+ info: QueryInfo;
1136
+ nodes: Array<User>;
1137
+ };
1138
+ export declare enum YesNoAnyInput {
1139
+ Any = "ANY",
1140
+ No = "NO",
1141
+ Yes = "YES"
1142
+ }
1143
+ export type Zone = {
1144
+ __typename?: 'Zone';
1145
+ archived: Scalars['Boolean']['output'];
1146
+ archivedAt?: Maybe<Scalars['DateTime']['output']>;
1147
+ board: Board;
1148
+ component: Scalars['String']['output'];
1149
+ containerProps: Array<ZoneProp>;
1150
+ createdAt: Scalars['DateTime']['output'];
1151
+ id: Scalars['ID']['output'];
1152
+ key: Scalars['String']['output'];
1153
+ plugin: Scalars['String']['output'];
1154
+ props: Array<ZoneProp>;
1155
+ updatedAt: Scalars['DateTime']['output'];
1156
+ };
1157
+ export type ZoneChangeResult = {
1158
+ __typename?: 'ZoneChangeResult';
1159
+ action: ChangeAction;
1160
+ id: Scalars['ID']['output'];
1161
+ zone?: Maybe<Zone>;
1162
+ };
1163
+ export type ZoneProp = {
1164
+ __typename?: 'ZoneProp';
1165
+ key: Scalars['String']['output'];
1166
+ value: Scalars['String']['output'];
1167
+ };
1168
+ export type ZonePropInput = {
1169
+ key: Scalars['String']['input'];
1170
+ value: Scalars['String']['input'];
1171
+ };
1172
+ export type ZonesQueryInput = {
1173
+ archived?: InputMaybe<YesNoAnyInput>;
1174
+ boardIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1175
+ createdAt?: InputMaybe<DateRangeInput>;
1176
+ title?: InputMaybe<RegexExpressionInput>;
1177
+ updatedAt?: InputMaybe<DateRangeInput>;
1178
+ };
1179
+ export type ZonesResult = {
1180
+ __typename?: 'ZonesResult';
1181
+ info: QueryInfo;
1182
+ nodes: Array<Zone>;
1183
+ };
1184
+ export type UserDataQueryVariables = Exact<{
1185
+ [key: string]: never;
1186
+ }>;
1187
+ export type UserDataQuery = {
1188
+ __typename?: 'Query';
1189
+ currentUser: {
1190
+ __typename?: 'User';
1191
+ id: string;
1192
+ name: string;
1193
+ email: string;
1194
+ location?: string | null;
1195
+ avatar?: string | null;
1196
+ boards: Array<{
1197
+ __typename?: 'Board';
1198
+ id: string;
1199
+ title: string;
1200
+ key: string;
1201
+ layout?: string | null;
1202
+ zones: Array<{
1203
+ __typename?: 'Zone';
1204
+ key: string;
1205
+ plugin: string;
1206
+ component: string;
1207
+ props: Array<{
1208
+ __typename?: 'ZoneProp';
1209
+ key: string;
1210
+ value: string;
1211
+ }>;
1212
+ containerProps: Array<{
1213
+ __typename?: 'ZoneProp';
1214
+ key: string;
1215
+ value: string;
1216
+ }>;
1217
+ }>;
1218
+ }>;
1219
+ commandGroups: Array<{
1220
+ __typename?: 'CommandGroup';
1221
+ title: string;
1222
+ key: string;
1223
+ commands: Array<{
1224
+ __typename?: 'Command';
1225
+ title: string;
1226
+ plugin: string;
1227
+ component: string;
1228
+ props: Array<{
1229
+ __typename?: 'CommandProp';
1230
+ key: string;
1231
+ value: string;
1232
+ }>;
1233
+ }>;
1234
+ }>;
1235
+ };
1236
+ };
1237
+ export type UserPluginsAndIntegrationsQueryVariables = Exact<{
1238
+ [key: string]: never;
1239
+ }>;
1240
+ export type UserPluginsAndIntegrationsQuery = {
1241
+ __typename?: 'Query';
1242
+ currentUser: {
1243
+ __typename?: 'User';
1244
+ plugins: Array<{
1245
+ __typename?: 'Plugin';
1246
+ name: string;
1247
+ code: string;
1248
+ }>;
1249
+ integrations: Array<{
1250
+ __typename?: 'Integration';
1251
+ key: string;
1252
+ pluginName: string;
1253
+ pluginVersion?: string | null;
1254
+ pluginConfig: Array<{
1255
+ __typename?: 'PluginConfig';
1256
+ key: string;
1257
+ value: string;
1258
+ }>;
1259
+ }>;
1260
+ };
1261
+ };
1262
+ export type UserChangeSubscriptionVariables = Exact<{
1263
+ [key: string]: never;
1264
+ }>;
1265
+ export type UserChangeSubscription = {
1266
+ __typename?: 'Subscription';
1267
+ userChange: {
1268
+ __typename?: 'UserChangeResult';
1269
+ user?: {
1270
+ __typename?: 'User';
1271
+ id: string;
1272
+ } | null;
1273
+ };
1274
+ };
1275
+ export declare const UserDataDocument: DocumentNode<UserDataQuery, Exact<{
1276
+ [key: string]: never;
1277
+ }>>;
1278
+ export declare const UserPluginsAndIntegrationsDocument: DocumentNode<UserPluginsAndIntegrationsQuery, Exact<{
1279
+ [key: string]: never;
1280
+ }>>;
1281
+ export declare const UserChangeDocument: DocumentNode<UserChangeSubscription, Exact<{
1282
+ [key: string]: never;
1283
+ }>>;