@nizza/core 0.3.0-alpha.8 → 0.3.0-beta.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.
@@ -1,19 +1,19 @@
1
1
  import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
- export declare type Maybe<T> = T | null;
3
- export declare type InputMaybe<T> = Maybe<T>;
4
- export declare type Exact<T extends {
2
+ export type Maybe<T> = T | null;
3
+ export type InputMaybe<T> = Maybe<T>;
4
+ export type Exact<T extends {
5
5
  [key: string]: unknown;
6
6
  }> = {
7
7
  [K in keyof T]: T[K];
8
8
  };
9
- export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
10
  [SubKey in K]?: Maybe<T[SubKey]>;
11
11
  };
12
- export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
13
  [SubKey in K]: Maybe<T[SubKey]>;
14
14
  };
15
15
  /** All built-in and custom scalars, mapped to their actual values */
16
- export declare type Scalars = {
16
+ export type Scalars = {
17
17
  ID: string;
18
18
  String: string;
19
19
  Boolean: boolean;
@@ -22,16 +22,16 @@ export declare type Scalars = {
22
22
  DateTime: any;
23
23
  JSON: any;
24
24
  };
25
- export declare type ActionSnackVideoSuccess = {
25
+ export type ActionSnackVideoSuccess = {
26
26
  __typename?: 'ActionSnackVideoSuccess';
27
27
  message: Scalars['String'];
28
28
  };
29
- export declare type Clip = {
29
+ export type Clip = {
30
30
  endTime: Scalars['String'];
31
31
  name: Scalars['String'];
32
32
  startTime: Scalars['String'];
33
33
  };
34
- export declare type Collection = {
34
+ export type Collection = {
35
35
  __typename?: 'Collection';
36
36
  account?: Maybe<Scalars['String']>;
37
37
  createdat?: Maybe<Scalars['DateTime']>;
@@ -43,11 +43,11 @@ export declare type Collection = {
43
43
  name: Scalars['String'];
44
44
  path?: Maybe<Scalars['String']>;
45
45
  products?: Maybe<Array<Product>>;
46
- status?: Maybe<Scalars['String']>;
46
+ status?: Maybe<Status>;
47
47
  };
48
- export declare type CollectionResult = CollectionSuccess | ErrorGeneral;
49
- export declare type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
50
- export declare type CollectionSuccess = {
48
+ export type CollectionResult = CollectionSuccess | ErrorGeneral;
49
+ export type CollectionResultArray = CollectionSuccessArray | ErrorGeneral;
50
+ export type CollectionSuccess = {
51
51
  __typename?: 'CollectionSuccess';
52
52
  data?: Maybe<Collection>;
53
53
  duration?: Maybe<Scalars['String']>;
@@ -55,7 +55,7 @@ export declare type CollectionSuccess = {
55
55
  method?: Maybe<Scalars['String']>;
56
56
  path?: Maybe<Scalars['String']>;
57
57
  };
58
- export declare type CollectionSuccessArray = {
58
+ export type CollectionSuccessArray = {
59
59
  __typename?: 'CollectionSuccessArray';
60
60
  data?: Maybe<Array<Collection>>;
61
61
  duration?: Maybe<Scalars['String']>;
@@ -63,19 +63,19 @@ export declare type CollectionSuccessArray = {
63
63
  method?: Maybe<Scalars['String']>;
64
64
  path?: Maybe<Scalars['String']>;
65
65
  };
66
- export declare type CreateCollectionInput = {
66
+ export type CreateCollectionInput = {
67
67
  account: Scalars['String'];
68
68
  description?: InputMaybe<Scalars['String']>;
69
69
  name: Scalars['String'];
70
70
  status?: InputMaybe<Status>;
71
71
  };
72
- export declare type CreateSnackVideoInput = {
72
+ export type CreateSnackVideoInput = {
73
73
  account: Scalars['String'];
74
74
  clips: Array<Clip>;
75
75
  idEvent: Scalars['String'];
76
76
  };
77
- export declare type CreateSnackVideoResult = ErrorGeneral | SnackVideoArray;
78
- export declare type CustomPlayer = {
77
+ export type CreateSnackVideoResult = ErrorGeneral | SnackVideoArray;
78
+ export type CustomPlayer = {
79
79
  __typename?: 'CustomPlayer';
80
80
  account: Scalars['String'];
81
81
  component: Scalars['String'];
@@ -87,18 +87,18 @@ export declare type CustomPlayer = {
87
87
  path?: Maybe<Scalars['String']>;
88
88
  section: Scalars['String'];
89
89
  };
90
- export declare type CustomPlayerInput = {
90
+ export type CustomPlayerInput = {
91
91
  account: Scalars['String'];
92
92
  data: Scalars['JSON'];
93
93
  id: Scalars['String'];
94
94
  section: Scalars['String'];
95
95
  };
96
- export declare type CustomPlayerInputAccount = {
96
+ export type CustomPlayerInputAccount = {
97
97
  account: Scalars['String'];
98
98
  };
99
- export declare type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
100
- export declare type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
101
- export declare type CustomPlayerSuccess = {
99
+ export type CustomPlayerResult = CustomPlayerSuccess | ErrorGeneral;
100
+ export type CustomPlayerResultArray = CustomPlayerSuccessArray | ErrorGeneral;
101
+ export type CustomPlayerSuccess = {
102
102
  __typename?: 'CustomPlayerSuccess';
103
103
  data?: Maybe<CustomPlayer>;
104
104
  duration?: Maybe<Scalars['String']>;
@@ -106,7 +106,7 @@ export declare type CustomPlayerSuccess = {
106
106
  method?: Maybe<Scalars['String']>;
107
107
  path?: Maybe<Scalars['String']>;
108
108
  };
109
- export declare type CustomPlayerSuccessArray = {
109
+ export type CustomPlayerSuccessArray = {
110
110
  __typename?: 'CustomPlayerSuccessArray';
111
111
  data?: Maybe<Array<CustomPlayer>>;
112
112
  duration?: Maybe<Scalars['String']>;
@@ -114,23 +114,65 @@ export declare type CustomPlayerSuccessArray = {
114
114
  method?: Maybe<Scalars['String']>;
115
115
  path?: Maybe<Scalars['String']>;
116
116
  };
117
- export declare type Error = {
117
+ export type Error = {
118
118
  message: Scalars['String'];
119
119
  statusCode: Scalars['String'];
120
120
  timestamp: Scalars['String'];
121
121
  };
122
- export declare type ErrorGeneral = Error & {
122
+ export type ErrorGeneral = Error & {
123
123
  __typename?: 'ErrorGeneral';
124
124
  message: Scalars['String'];
125
125
  statusCode: Scalars['String'];
126
126
  timestamp: Scalars['String'];
127
127
  };
128
- export declare type FindManySnackVideoInput = {
128
+ export type EventArray = {
129
+ __typename?: 'EventArray';
130
+ data?: Maybe<Array<LiveStreamingEvent>>;
131
+ duration?: Maybe<Scalars['String']>;
132
+ isArray?: Maybe<Scalars['Boolean']>;
133
+ method?: Maybe<Scalars['String']>;
134
+ path?: Maybe<Scalars['String']>;
135
+ };
136
+ export type EventData = {
137
+ __typename?: 'EventData';
138
+ data?: Maybe<LiveStreamingEvent>;
139
+ duration?: Maybe<Scalars['String']>;
140
+ isArray?: Maybe<Scalars['Boolean']>;
141
+ method?: Maybe<Scalars['String']>;
142
+ path?: Maybe<Scalars['String']>;
143
+ };
144
+ export declare enum EventStatus {
145
+ Created = "CREATED",
146
+ Finalized = "FINALIZED",
147
+ Live = "LIVE",
148
+ Starting = "STARTING"
149
+ }
150
+ export type FindByProductSnackVideoInput = {
151
+ account: Scalars['String'];
152
+ idProduct: Scalars['String'];
153
+ };
154
+ export type FindByProductSnackVideoResult = ErrorGeneral | SnackVideoArray;
155
+ export type FindEventInput = {
156
+ account: Scalars['String'];
157
+ id: Scalars['String'];
158
+ };
159
+ export type FindEventResult = ErrorGeneral | EventData;
160
+ export type FindManySnackVideoInput = {
129
161
  account: Scalars['String'];
130
162
  ids: Array<Scalars['String']>;
131
163
  };
132
- export declare type FindManySnackVideoResult = ErrorGeneral | SnackVideoArray;
133
- export declare type ManageCollectionProductInInput = {
164
+ export type FindManySnackVideoResult = ErrorGeneral | SnackVideoArray;
165
+ export type LiveStreamingEvent = {
166
+ __typename?: 'LiveStreamingEvent';
167
+ account: Scalars['String'];
168
+ createdAt: Scalars['String'];
169
+ eventName: Scalars['String'];
170
+ id: Scalars['String'];
171
+ recordVideoPath?: Maybe<Scalars['String']>;
172
+ status: EventStatus;
173
+ thumbnailsPath?: Maybe<Scalars['String']>;
174
+ };
175
+ export type ManageCollectionProductInInput = {
134
176
  account: Scalars['String'];
135
177
  id: Scalars['String'];
136
178
  method: Methods;
@@ -140,7 +182,7 @@ export declare enum Methods {
140
182
  Add = "add",
141
183
  Remove = "remove"
142
184
  }
143
- export declare type Mutation = {
185
+ export type Mutation = {
144
186
  __typename?: 'Mutation';
145
187
  appendProductsSnackVideo: RelateEntitySnackVideo;
146
188
  createCollection: CollectionResult;
@@ -153,37 +195,37 @@ export declare type Mutation = {
153
195
  updateCustomPlayer: CustomPlayerResult;
154
196
  updateProgressSnackVideo: UpdateProgressSnackVideosResult;
155
197
  };
156
- export declare type MutationAppendProductsSnackVideoArgs = {
198
+ export type MutationAppendProductsSnackVideoArgs = {
157
199
  data: RelateToProductsSnackVideoInput;
158
200
  };
159
- export declare type MutationCreateCollectionArgs = {
201
+ export type MutationCreateCollectionArgs = {
160
202
  data: CreateCollectionInput;
161
203
  };
162
- export declare type MutationCreateSnackVideosArgs = {
204
+ export type MutationCreateSnackVideosArgs = {
163
205
  data: CreateSnackVideoInput;
164
206
  };
165
- export declare type MutationDeleteAllCustomPlayerArgs = {
207
+ export type MutationDeleteAllCustomPlayerArgs = {
166
208
  data: CustomPlayerInputAccount;
167
209
  };
168
- export declare type MutationDeleteCollectionArgs = {
210
+ export type MutationDeleteCollectionArgs = {
169
211
  data: QueryInput;
170
212
  };
171
- export declare type MutationDeleteRelationshipSnackVideoArgs = {
213
+ export type MutationDeleteRelationshipSnackVideoArgs = {
172
214
  data: SnackVideoRelationshipKeys;
173
215
  };
174
- export declare type MutationManageCollectionProductArgs = {
216
+ export type MutationManageCollectionProductArgs = {
175
217
  data: ManageCollectionProductInInput;
176
218
  };
177
- export declare type MutationUpdateCollectionArgs = {
219
+ export type MutationUpdateCollectionArgs = {
178
220
  data: UpdateCollectionInput;
179
221
  };
180
- export declare type MutationUpdateCustomPlayerArgs = {
222
+ export type MutationUpdateCustomPlayerArgs = {
181
223
  data: CustomPlayerInput;
182
224
  };
183
- export declare type MutationUpdateProgressSnackVideoArgs = {
225
+ export type MutationUpdateProgressSnackVideoArgs = {
184
226
  data: UpdateProgressSnackVideosInput;
185
227
  };
186
- export declare type Product = {
228
+ export type Product = {
187
229
  __typename?: 'Product';
188
230
  account: Scalars['String'];
189
231
  createdat?: Maybe<Scalars['String']>;
@@ -195,42 +237,54 @@ export declare type Product = {
195
237
  status?: Maybe<Status>;
196
238
  title: Scalars['String'];
197
239
  };
198
- export declare type Query = {
240
+ export type Query = {
199
241
  __typename?: 'Query';
242
+ findByProductSnackVideo: FindByProductSnackVideoResult;
200
243
  findCollection: CollectionResult;
244
+ findEvent: FindEventResult;
201
245
  findManySnackVideos: FindManySnackVideoResult;
202
246
  getAllCollection: CollectionResultArray;
203
247
  getAllCustomPlayer: CustomPlayerResultArray;
204
248
  getAllSnackVideos: SnackVideoGetAll;
205
249
  getRelationshipSnackVideos: RelationshipSnackVideoArrayResponse;
206
250
  searchCollection: CollectionResultArray;
251
+ searchEvent: SearchEventResult;
207
252
  searchSnackVideos: SnackVideoGetAll;
208
253
  };
209
- export declare type QueryFindCollectionArgs = {
254
+ export type QueryFindByProductSnackVideoArgs = {
255
+ data: FindByProductSnackVideoInput;
256
+ };
257
+ export type QueryFindCollectionArgs = {
210
258
  data: QueryInput;
211
259
  };
212
- export declare type QueryFindManySnackVideosArgs = {
260
+ export type QueryFindEventArgs = {
261
+ data: FindEventInput;
262
+ };
263
+ export type QueryFindManySnackVideosArgs = {
213
264
  data: FindManySnackVideoInput;
214
265
  };
215
- export declare type QueryGetAllCollectionArgs = {
266
+ export type QueryGetAllCollectionArgs = {
216
267
  data: QueryInput;
217
268
  };
218
- export declare type QueryGetAllCustomPlayerArgs = {
269
+ export type QueryGetAllCustomPlayerArgs = {
219
270
  data: QueryInput;
220
271
  };
221
- export declare type QueryGetAllSnackVideosArgs = {
272
+ export type QueryGetAllSnackVideosArgs = {
222
273
  data: QueryInput;
223
274
  };
224
- export declare type QueryGetRelationshipSnackVideosArgs = {
275
+ export type QueryGetRelationshipSnackVideosArgs = {
225
276
  data: SnackVideoRelationshipInput;
226
277
  };
227
- export declare type QuerySearchCollectionArgs = {
278
+ export type QuerySearchCollectionArgs = {
228
279
  data: QueryInput;
229
280
  };
230
- export declare type QuerySearchSnackVideosArgs = {
281
+ export type QuerySearchEventArgs = {
282
+ data: SearchEventInput;
283
+ };
284
+ export type QuerySearchSnackVideosArgs = {
231
285
  data: SearchInput;
232
286
  };
233
- export declare type QueryInput = {
287
+ export type QueryInput = {
234
288
  account: Scalars['String'];
235
289
  cursor?: InputMaybe<Scalars['JSON']>;
236
290
  id?: InputMaybe<Scalars['String']>;
@@ -238,15 +292,15 @@ export declare type QueryInput = {
238
292
  page?: InputMaybe<Scalars['Float']>;
239
293
  search?: InputMaybe<Scalars['String']>;
240
294
  };
241
- export declare type RelateEntitySnackVideo = ActionSnackVideoSuccess | ErrorGeneral;
242
- export declare type RelateToProductsSnackVideoInput = {
295
+ export type RelateEntitySnackVideo = ActionSnackVideoSuccess | ErrorGeneral;
296
+ export type RelateToProductsSnackVideoInput = {
243
297
  account: Scalars['String'];
244
298
  name: Scalars['String'];
245
299
  productsId: Array<Scalars['String']>;
246
300
  shortId: Scalars['String'];
247
301
  url: Scalars['String'];
248
302
  };
249
- export declare type RelationshipSnackVideo = {
303
+ export type RelationshipSnackVideo = {
250
304
  __typename?: 'RelationshipSnackVideo';
251
305
  attributeId: Scalars['String'];
252
306
  created: Scalars['String'];
@@ -257,7 +311,7 @@ export declare type RelationshipSnackVideo = {
257
311
  sourceEntity: Scalars['String'];
258
312
  url: Scalars['String'];
259
313
  };
260
- export declare type RelationshipSnackVideoArray = {
314
+ export type RelationshipSnackVideoArray = {
261
315
  __typename?: 'RelationshipSnackVideoArray';
262
316
  data?: Maybe<Array<RelationshipSnackVideo>>;
263
317
  duration?: Maybe<Scalars['String']>;
@@ -265,8 +319,18 @@ export declare type RelationshipSnackVideoArray = {
265
319
  method?: Maybe<Scalars['String']>;
266
320
  path?: Maybe<Scalars['String']>;
267
321
  };
268
- export declare type RelationshipSnackVideoArrayResponse = ErrorGeneral | RelationshipSnackVideoArray;
269
- export declare type SearchInput = {
322
+ export type RelationshipSnackVideoArrayResponse = ErrorGeneral | RelationshipSnackVideoArray;
323
+ export type SearchEventInput = {
324
+ account: Scalars['String'];
325
+ cursor?: InputMaybe<Scalars['JSON']>;
326
+ id?: InputMaybe<Scalars['String']>;
327
+ limit?: InputMaybe<Scalars['Float']>;
328
+ page?: InputMaybe<Scalars['Float']>;
329
+ search: Scalars['String'];
330
+ status?: InputMaybe<EventStatus>;
331
+ };
332
+ export type SearchEventResult = ErrorGeneral | EventArray;
333
+ export type SearchInput = {
270
334
  account: Scalars['String'];
271
335
  cursor?: InputMaybe<Scalars['JSON']>;
272
336
  id?: InputMaybe<Scalars['String']>;
@@ -274,7 +338,7 @@ export declare type SearchInput = {
274
338
  page?: InputMaybe<Scalars['Float']>;
275
339
  search: Scalars['String'];
276
340
  };
277
- export declare type SnackVideo = {
341
+ export type SnackVideo = {
278
342
  __typename?: 'SnackVideo';
279
343
  duration: Scalars['Float'];
280
344
  eventId: Scalars['String'];
@@ -285,7 +349,7 @@ export declare type SnackVideo = {
285
349
  uploadProgress: Scalars['Float'];
286
350
  url: Scalars['String'];
287
351
  };
288
- export declare type SnackVideoArray = {
352
+ export type SnackVideoArray = {
289
353
  __typename?: 'SnackVideoArray';
290
354
  data?: Maybe<Array<SnackVideo>>;
291
355
  duration?: Maybe<Scalars['String']>;
@@ -293,7 +357,7 @@ export declare type SnackVideoArray = {
293
357
  method?: Maybe<Scalars['String']>;
294
358
  path?: Maybe<Scalars['String']>;
295
359
  };
296
- export declare type SnackVideoCreatedArray = {
360
+ export type SnackVideoCreatedArray = {
297
361
  __typename?: 'SnackVideoCreatedArray';
298
362
  data?: Maybe<SnackVideoCreatedWithCursor>;
299
363
  duration?: Maybe<Scalars['String']>;
@@ -301,23 +365,23 @@ export declare type SnackVideoCreatedArray = {
301
365
  method?: Maybe<Scalars['String']>;
302
366
  path?: Maybe<Scalars['String']>;
303
367
  };
304
- export declare type SnackVideoCreatedWithCursor = {
368
+ export type SnackVideoCreatedWithCursor = {
305
369
  __typename?: 'SnackVideoCreatedWithCursor';
306
370
  cursor?: Maybe<Scalars['JSON']>;
307
371
  snackVideos?: Maybe<Array<SnackVideosCreated>>;
308
372
  };
309
- export declare type SnackVideoGetAll = ErrorGeneral | SnackVideoCreatedArray;
310
- export declare type SnackVideoRelationshipInput = {
373
+ export type SnackVideoGetAll = ErrorGeneral | SnackVideoCreatedArray;
374
+ export type SnackVideoRelationshipInput = {
311
375
  account: Scalars['String'];
312
376
  shortId: Scalars['String'];
313
377
  };
314
- export declare type SnackVideoRelationshipKeys = {
378
+ export type SnackVideoRelationshipKeys = {
315
379
  account: Scalars['String'];
316
380
  attributeId: Scalars['String'];
317
381
  shortId: Scalars['String'];
318
382
  sourceEntity: Scalars['String'];
319
383
  };
320
- export declare type SnackVideosCreated = {
384
+ export type SnackVideosCreated = {
321
385
  __typename?: 'SnackVideosCreated';
322
386
  created: Scalars['String'];
323
387
  duration: Scalars['Float'];
@@ -335,20 +399,20 @@ export declare enum Status {
335
399
  Active = "active",
336
400
  Inactive = "inactive"
337
401
  }
338
- export declare type UpdateCollectionInput = {
402
+ export type UpdateCollectionInput = {
339
403
  account: Scalars['String'];
340
404
  description?: InputMaybe<Scalars['String']>;
341
405
  id: Scalars['String'];
342
406
  name?: InputMaybe<Scalars['String']>;
343
407
  status?: InputMaybe<Status>;
344
408
  };
345
- export declare type UpdateProgressSnackVideos = {
409
+ export type UpdateProgressSnackVideos = {
346
410
  __typename?: 'UpdateProgressSnackVideos';
347
411
  account: Scalars['String'];
348
412
  id: Scalars['String'];
349
413
  progress: Scalars['Float'];
350
414
  };
351
- export declare type UpdateProgressSnackVideosData = {
415
+ export type UpdateProgressSnackVideosData = {
352
416
  __typename?: 'UpdateProgressSnackVideosData';
353
417
  data?: Maybe<UpdateProgressSnackVideos>;
354
418
  duration?: Maybe<Scalars['String']>;
@@ -356,16 +420,16 @@ export declare type UpdateProgressSnackVideosData = {
356
420
  method?: Maybe<Scalars['String']>;
357
421
  path?: Maybe<Scalars['String']>;
358
422
  };
359
- export declare type UpdateProgressSnackVideosInput = {
423
+ export type UpdateProgressSnackVideosInput = {
360
424
  account: Scalars['String'];
361
425
  id: Scalars['String'];
362
426
  progress: Scalars['Float'];
363
427
  };
364
- export declare type UpdateProgressSnackVideosResult = ErrorGeneral | UpdateProgressSnackVideosData;
365
- export declare type DeleteAllCustomizationMutationVariables = Exact<{
428
+ export type UpdateProgressSnackVideosResult = ErrorGeneral | UpdateProgressSnackVideosData;
429
+ export type DeleteAllCustomizationMutationVariables = Exact<{
366
430
  data: CustomPlayerInputAccount;
367
431
  }>;
368
- export declare type DeleteAllCustomizationMutation = {
432
+ export type DeleteAllCustomizationMutation = {
369
433
  __typename?: 'Mutation';
370
434
  deleteAllCustomPlayer: {
371
435
  __typename: 'CustomPlayerSuccess';
@@ -376,10 +440,10 @@ export declare type DeleteAllCustomizationMutation = {
376
440
  timestamp: string;
377
441
  };
378
442
  };
379
- export declare type GetAllCustomizationQueryVariables = Exact<{
443
+ export type GetAllCustomizationQueryVariables = Exact<{
380
444
  data: QueryInput;
381
445
  }>;
382
- export declare type GetAllCustomizationQuery = {
446
+ export type GetAllCustomizationQuery = {
383
447
  __typename?: 'Query';
384
448
  getAllCustomPlayer: {
385
449
  __typename: 'CustomPlayerSuccessArray';
@@ -397,10 +461,10 @@ export declare type GetAllCustomizationQuery = {
397
461
  timestamp: string;
398
462
  };
399
463
  };
400
- export declare type UpdateCustomizationMutationVariables = Exact<{
464
+ export type UpdateCustomizationMutationVariables = Exact<{
401
465
  data: CustomPlayerInput;
402
466
  }>;
403
- export declare type UpdateCustomizationMutation = {
467
+ export type UpdateCustomizationMutation = {
404
468
  __typename?: 'Mutation';
405
469
  updateCustomPlayer: {
406
470
  __typename: 'CustomPlayerSuccess';
@@ -411,10 +475,10 @@ export declare type UpdateCustomizationMutation = {
411
475
  timestamp: string;
412
476
  };
413
477
  };
414
- export declare type AddCollectionMutationVariables = Exact<{
478
+ export type AddCollectionMutationVariables = Exact<{
415
479
  data: CreateCollectionInput;
416
480
  }>;
417
- export declare type AddCollectionMutation = {
481
+ export type AddCollectionMutation = {
418
482
  __typename?: 'Mutation';
419
483
  createCollection: {
420
484
  __typename: 'CollectionSuccess';
@@ -429,10 +493,10 @@ export declare type AddCollectionMutation = {
429
493
  timestamp: string;
430
494
  };
431
495
  };
432
- export declare type DeleteCollectionMutationVariables = Exact<{
496
+ export type DeleteCollectionMutationVariables = Exact<{
433
497
  data: QueryInput;
434
498
  }>;
435
- export declare type DeleteCollectionMutation = {
499
+ export type DeleteCollectionMutation = {
436
500
  __typename?: 'Mutation';
437
501
  deleteCollection: {
438
502
  __typename: 'CollectionSuccess';
@@ -443,10 +507,10 @@ export declare type DeleteCollectionMutation = {
443
507
  timestamp: string;
444
508
  };
445
509
  };
446
- export declare type FindCollectionQueryVariables = Exact<{
510
+ export type FindCollectionQueryVariables = Exact<{
447
511
  data: QueryInput;
448
512
  }>;
449
- export declare type FindCollectionQuery = {
513
+ export type FindCollectionQuery = {
450
514
  __typename?: 'Query';
451
515
  findCollection: {
452
516
  __typename: 'CollectionSuccess';
@@ -456,7 +520,7 @@ export declare type FindCollectionQuery = {
456
520
  account?: string | null;
457
521
  name: string;
458
522
  description?: string | null;
459
- status?: string | null;
523
+ status?: Status | null;
460
524
  createdat?: any | null;
461
525
  products?: Array<{
462
526
  __typename?: 'Product';
@@ -478,10 +542,10 @@ export declare type FindCollectionQuery = {
478
542
  timestamp: string;
479
543
  };
480
544
  };
481
- export declare type GetAllCollectionsQueryVariables = Exact<{
545
+ export type GetAllCollectionsQueryVariables = Exact<{
482
546
  data: QueryInput;
483
547
  }>;
484
- export declare type GetAllCollectionsQuery = {
548
+ export type GetAllCollectionsQuery = {
485
549
  __typename?: 'Query';
486
550
  getAllCollection: {
487
551
  __typename: 'CollectionSuccessArray';
@@ -491,7 +555,7 @@ export declare type GetAllCollectionsQuery = {
491
555
  account?: string | null;
492
556
  name: string;
493
557
  description?: string | null;
494
- status?: string | null;
558
+ status?: Status | null;
495
559
  createdat?: any | null;
496
560
  products?: Array<{
497
561
  __typename?: 'Product';
@@ -513,10 +577,10 @@ export declare type GetAllCollectionsQuery = {
513
577
  timestamp: string;
514
578
  };
515
579
  };
516
- export declare type ManageCollectionProductMutationVariables = Exact<{
580
+ export type ManageCollectionProductMutationVariables = Exact<{
517
581
  data: ManageCollectionProductInInput;
518
582
  }>;
519
- export declare type ManageCollectionProductMutation = {
583
+ export type ManageCollectionProductMutation = {
520
584
  __typename?: 'Mutation';
521
585
  manageCollectionProduct: {
522
586
  __typename: 'CollectionSuccess';
@@ -527,10 +591,10 @@ export declare type ManageCollectionProductMutation = {
527
591
  timestamp: string;
528
592
  };
529
593
  };
530
- export declare type SearchCollectionsQueryVariables = Exact<{
594
+ export type SearchCollectionsQueryVariables = Exact<{
531
595
  data: QueryInput;
532
596
  }>;
533
- export declare type SearchCollectionsQuery = {
597
+ export type SearchCollectionsQuery = {
534
598
  __typename?: 'Query';
535
599
  searchCollection: {
536
600
  __typename: 'CollectionSuccessArray';
@@ -540,7 +604,7 @@ export declare type SearchCollectionsQuery = {
540
604
  account?: string | null;
541
605
  name: string;
542
606
  description?: string | null;
543
- status?: string | null;
607
+ status?: Status | null;
544
608
  createdat?: any | null;
545
609
  products?: Array<{
546
610
  __typename?: 'Product';
@@ -562,10 +626,10 @@ export declare type SearchCollectionsQuery = {
562
626
  timestamp: string;
563
627
  };
564
628
  };
565
- export declare type UpdateCollectionMutationVariables = Exact<{
629
+ export type UpdateCollectionMutationVariables = Exact<{
566
630
  data: UpdateCollectionInput;
567
631
  }>;
568
- export declare type UpdateCollectionMutation = {
632
+ export type UpdateCollectionMutation = {
569
633
  __typename?: 'Mutation';
570
634
  updateCollection: {
571
635
  __typename: 'CollectionSuccess';
@@ -576,16 +640,111 @@ export declare type UpdateCollectionMutation = {
576
640
  timestamp: string;
577
641
  };
578
642
  };
579
- export declare type GetAllSnackVideosQueryVariables = Exact<{
643
+ export type FindMinimalEventQueryVariables = Exact<{
644
+ data: FindEventInput;
645
+ }>;
646
+ export type FindMinimalEventQuery = {
647
+ __typename?: 'Query';
648
+ findEvent: {
649
+ __typename: 'ErrorGeneral';
650
+ message: string;
651
+ statusCode: string;
652
+ timestamp: string;
653
+ } | {
654
+ __typename: 'EventData';
655
+ data?: {
656
+ __typename?: 'LiveStreamingEvent';
657
+ id: string;
658
+ account: string;
659
+ eventName: string;
660
+ thumbnailsPath?: string | null;
661
+ recordVideoPath?: string | null;
662
+ createdAt: string;
663
+ status: EventStatus;
664
+ } | null;
665
+ };
666
+ };
667
+ export type SearchMinimalEventsQueryVariables = Exact<{
668
+ data: SearchEventInput;
669
+ }>;
670
+ export type SearchMinimalEventsQuery = {
671
+ __typename?: 'Query';
672
+ searchEvent: {
673
+ __typename: 'ErrorGeneral';
674
+ message: string;
675
+ statusCode: string;
676
+ timestamp: string;
677
+ } | {
678
+ __typename: 'EventArray';
679
+ data?: Array<{
680
+ __typename?: 'LiveStreamingEvent';
681
+ id: string;
682
+ account: string;
683
+ eventName: string;
684
+ thumbnailsPath?: string | null;
685
+ recordVideoPath?: string | null;
686
+ createdAt: string;
687
+ status: EventStatus;
688
+ }> | null;
689
+ };
690
+ };
691
+ export type CreateSnackVideoBatchMutationVariables = Exact<{
692
+ data: CreateSnackVideoInput;
693
+ }>;
694
+ export type CreateSnackVideoBatchMutation = {
695
+ __typename?: 'Mutation';
696
+ createSnackVideos: {
697
+ __typename: 'ErrorGeneral';
698
+ message: string;
699
+ statusCode: string;
700
+ timestamp: string;
701
+ } | {
702
+ __typename: 'SnackVideoArray';
703
+ data?: Array<{
704
+ __typename?: 'SnackVideo';
705
+ id: string;
706
+ }> | null;
707
+ };
708
+ };
709
+ export type GetAllSnackVideosQueryVariables = Exact<{
580
710
  data: QueryInput;
581
711
  }>;
582
- export declare type GetAllSnackVideosQuery = {
712
+ export type GetAllSnackVideosQuery = {
583
713
  __typename?: 'Query';
584
714
  getAllSnackVideos: {
585
715
  __typename: 'ErrorGeneral';
586
716
  message: string;
587
717
  statusCode: string;
588
718
  timestamp: string;
719
+ } | {
720
+ __typename: 'SnackVideoCreatedArray';
721
+ data?: {
722
+ __typename?: 'SnackVideoCreatedWithCursor';
723
+ cursor?: any | null;
724
+ snackVideos?: Array<{
725
+ __typename?: 'SnackVideosCreated';
726
+ id: string;
727
+ name: string;
728
+ url: string;
729
+ thumbnailUrl: string;
730
+ uploadProgress: number;
731
+ duration: number;
732
+ eventId: string;
733
+ eventName: string;
734
+ }> | null;
735
+ } | null;
736
+ };
737
+ };
738
+ export type SearchSnackVideosQueryVariables = Exact<{
739
+ data: SearchInput;
740
+ }>;
741
+ export type SearchSnackVideosQuery = {
742
+ __typename?: 'Query';
743
+ searchSnackVideos: {
744
+ __typename: 'ErrorGeneral';
745
+ message: string;
746
+ statusCode: string;
747
+ timestamp: string;
589
748
  } | {
590
749
  __typename: 'SnackVideoCreatedArray';
591
750
  data?: {
@@ -602,11 +761,33 @@ export declare type GetAllSnackVideosQuery = {
602
761
  eventId: string;
603
762
  eventName: string;
604
763
  created: string;
605
- modified: string;
606
764
  }> | null;
607
765
  } | null;
608
766
  };
609
767
  };
768
+ export type FindByProductSnackVideoQueryVariables = Exact<{
769
+ data: FindByProductSnackVideoInput;
770
+ }>;
771
+ export type FindByProductSnackVideoQuery = {
772
+ __typename?: 'Query';
773
+ findByProductSnackVideo: {
774
+ __typename: 'ErrorGeneral';
775
+ message: string;
776
+ statusCode: string;
777
+ timestamp: string;
778
+ } | {
779
+ __typename: 'SnackVideoArray';
780
+ data?: Array<{
781
+ __typename?: 'SnackVideo';
782
+ id: string;
783
+ name: string;
784
+ url: string;
785
+ thumbnailUrl: string;
786
+ duration: number;
787
+ uploadProgress: number;
788
+ }> | null;
789
+ };
790
+ };
610
791
  export declare const DeleteAllCustomizationDocument: DocumentNode<DeleteAllCustomizationMutation, Exact<{
611
792
  data: CustomPlayerInputAccount;
612
793
  }>>;
@@ -637,6 +818,21 @@ export declare const SearchCollectionsDocument: DocumentNode<SearchCollectionsQu
637
818
  export declare const UpdateCollectionDocument: DocumentNode<UpdateCollectionMutation, Exact<{
638
819
  data: UpdateCollectionInput;
639
820
  }>>;
821
+ export declare const FindMinimalEventDocument: DocumentNode<FindMinimalEventQuery, Exact<{
822
+ data: FindEventInput;
823
+ }>>;
824
+ export declare const SearchMinimalEventsDocument: DocumentNode<SearchMinimalEventsQuery, Exact<{
825
+ data: SearchEventInput;
826
+ }>>;
827
+ export declare const CreateSnackVideoBatchDocument: DocumentNode<CreateSnackVideoBatchMutation, Exact<{
828
+ data: CreateSnackVideoInput;
829
+ }>>;
640
830
  export declare const GetAllSnackVideosDocument: DocumentNode<GetAllSnackVideosQuery, Exact<{
641
831
  data: QueryInput;
642
832
  }>>;
833
+ export declare const SearchSnackVideosDocument: DocumentNode<SearchSnackVideosQuery, Exact<{
834
+ data: SearchInput;
835
+ }>>;
836
+ export declare const FindByProductSnackVideoDocument: DocumentNode<FindByProductSnackVideoQuery, Exact<{
837
+ data: FindByProductSnackVideoInput;
838
+ }>>;