@wix/portfolio 1.0.75 → 1.0.76

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.
@@ -46,7 +46,7 @@ interface Image$7 {
46
46
  /** Focal point of the image. */
47
47
  focalPoint?: Point$7;
48
48
  }
49
- declare enum ImageType$3 {
49
+ declare enum ImageType$7 {
50
50
  UNDEFINED = "UNDEFINED",
51
51
  WIX_MEDIA = "WIX_MEDIA",
52
52
  EXTERNAL = "EXTERNAL"
@@ -264,183 +264,64 @@ interface QueryCollectionsResponse$1 {
264
264
  /** Paging metadata */
265
265
  metadata?: PagingMetadataV2$9;
266
266
  }
267
+ interface CommonImageNonNullableFields$3 {
268
+ id: string;
269
+ url: string;
270
+ height: number;
271
+ width: number;
272
+ }
273
+ interface PointNonNullableFields$7 {
274
+ x: number;
275
+ y: number;
276
+ }
277
+ interface ImageNonNullableFields$7 {
278
+ type: ImageType$7;
279
+ imageInfo?: CommonImageNonNullableFields$3;
280
+ focalPoint?: PointNonNullableFields$7;
281
+ }
282
+ interface PageUrlV2NonNullableFields$2 {
283
+ relativePath: string;
284
+ }
285
+ interface TagNonNullableFields$5 {
286
+ type: string;
287
+ children: string;
288
+ custom: boolean;
289
+ disabled: boolean;
290
+ }
291
+ interface KeywordNonNullableFields$5 {
292
+ term: string;
293
+ isMain: boolean;
294
+ }
295
+ interface SettingsNonNullableFields$5 {
296
+ preventAutoRedirect: boolean;
297
+ keywords: KeywordNonNullableFields$5[];
298
+ }
299
+ interface SeoSchemaNonNullableFields$5 {
300
+ tags: TagNonNullableFields$5[];
301
+ settings?: SettingsNonNullableFields$5;
302
+ }
303
+ interface CollectionNonNullableFields$1 {
304
+ coverImage?: ImageNonNullableFields$7;
305
+ url?: PageUrlV2NonNullableFields$2;
306
+ seoData?: SeoSchemaNonNullableFields$5;
307
+ }
267
308
  interface CreateCollectionResponseNonNullableFields$1 {
268
- collection?: {
269
- coverImage?: {
270
- type: ImageType$3;
271
- imageInfo?: {
272
- id: string;
273
- url: string;
274
- height: number;
275
- width: number;
276
- };
277
- focalPoint?: {
278
- x: number;
279
- y: number;
280
- };
281
- };
282
- url?: {
283
- relativePath: string;
284
- };
285
- seoData?: {
286
- tags: {
287
- type: string;
288
- children: string;
289
- custom: boolean;
290
- disabled: boolean;
291
- }[];
292
- settings?: {
293
- preventAutoRedirect: boolean;
294
- keywords: {
295
- term: string;
296
- isMain: boolean;
297
- }[];
298
- };
299
- };
300
- };
309
+ collection?: CollectionNonNullableFields$1;
301
310
  }
302
311
  interface GetCollectionResponseNonNullableFields$1 {
303
- collection?: {
304
- coverImage?: {
305
- type: ImageType$3;
306
- imageInfo?: {
307
- id: string;
308
- url: string;
309
- height: number;
310
- width: number;
311
- };
312
- focalPoint?: {
313
- x: number;
314
- y: number;
315
- };
316
- };
317
- url?: {
318
- relativePath: string;
319
- };
320
- seoData?: {
321
- tags: {
322
- type: string;
323
- children: string;
324
- custom: boolean;
325
- disabled: boolean;
326
- }[];
327
- settings?: {
328
- preventAutoRedirect: boolean;
329
- keywords: {
330
- term: string;
331
- isMain: boolean;
332
- }[];
333
- };
334
- };
335
- };
312
+ collection?: CollectionNonNullableFields$1;
336
313
  }
337
314
  interface ListCollectionsResponseNonNullableFields$1 {
338
- collections: {
339
- coverImage?: {
340
- type: ImageType$3;
341
- imageInfo?: {
342
- id: string;
343
- url: string;
344
- height: number;
345
- width: number;
346
- };
347
- focalPoint?: {
348
- x: number;
349
- y: number;
350
- };
351
- };
352
- url?: {
353
- relativePath: string;
354
- };
355
- seoData?: {
356
- tags: {
357
- type: string;
358
- children: string;
359
- custom: boolean;
360
- disabled: boolean;
361
- }[];
362
- settings?: {
363
- preventAutoRedirect: boolean;
364
- keywords: {
365
- term: string;
366
- isMain: boolean;
367
- }[];
368
- };
369
- };
370
- }[];
315
+ collections: CollectionNonNullableFields$1[];
371
316
  }
372
317
  interface UpdateCollectionResponseNonNullableFields$1 {
373
- collection?: {
374
- coverImage?: {
375
- type: ImageType$3;
376
- imageInfo?: {
377
- id: string;
378
- url: string;
379
- height: number;
380
- width: number;
381
- };
382
- focalPoint?: {
383
- x: number;
384
- y: number;
385
- };
386
- };
387
- url?: {
388
- relativePath: string;
389
- };
390
- seoData?: {
391
- tags: {
392
- type: string;
393
- children: string;
394
- custom: boolean;
395
- disabled: boolean;
396
- }[];
397
- settings?: {
398
- preventAutoRedirect: boolean;
399
- keywords: {
400
- term: string;
401
- isMain: boolean;
402
- }[];
403
- };
404
- };
405
- };
318
+ collection?: CollectionNonNullableFields$1;
406
319
  }
407
320
  interface DeleteCollectionResponseNonNullableFields$1 {
408
321
  collectionId: string;
409
322
  }
410
323
  interface QueryCollectionsResponseNonNullableFields$1 {
411
- collections: {
412
- coverImage?: {
413
- type: ImageType$3;
414
- imageInfo?: {
415
- id: string;
416
- url: string;
417
- height: number;
418
- width: number;
419
- };
420
- focalPoint?: {
421
- x: number;
422
- y: number;
423
- };
424
- };
425
- url?: {
426
- relativePath: string;
427
- };
428
- seoData?: {
429
- tags: {
430
- type: string;
431
- children: string;
432
- custom: boolean;
433
- disabled: boolean;
434
- }[];
435
- settings?: {
436
- preventAutoRedirect: boolean;
437
- keywords: {
438
- term: string;
439
- isMain: boolean;
440
- }[];
441
- };
442
- };
443
- }[];
324
+ collections: CollectionNonNullableFields$1[];
444
325
  }
445
326
 
446
327
  /** Collection is the main entity of CollectionsService */
@@ -491,6 +372,11 @@ interface Image$6 {
491
372
  /** Focal point of the image. */
492
373
  focalPoint?: Point$6;
493
374
  }
375
+ declare enum ImageType$6 {
376
+ UNDEFINED = "UNDEFINED",
377
+ WIX_MEDIA = "WIX_MEDIA",
378
+ EXTERNAL = "EXTERNAL"
379
+ }
494
380
  interface Point$6 {
495
381
  /** X-coordinate of the focal point. */
496
382
  x?: number;
@@ -681,143 +567,55 @@ interface QueryCollectionsResponse {
681
567
  /** Paging metadata */
682
568
  metadata?: PagingMetadataV2$8;
683
569
  }
570
+ interface PointNonNullableFields$6 {
571
+ x: number;
572
+ y: number;
573
+ }
574
+ interface ImageNonNullableFields$6 {
575
+ type: ImageType$6;
576
+ imageInfo: string;
577
+ focalPoint?: PointNonNullableFields$6;
578
+ }
579
+ interface TagNonNullableFields$4 {
580
+ type: string;
581
+ children: string;
582
+ custom: boolean;
583
+ disabled: boolean;
584
+ }
585
+ interface KeywordNonNullableFields$4 {
586
+ term: string;
587
+ isMain: boolean;
588
+ }
589
+ interface SettingsNonNullableFields$4 {
590
+ preventAutoRedirect: boolean;
591
+ keywords: KeywordNonNullableFields$4[];
592
+ }
593
+ interface SeoSchemaNonNullableFields$4 {
594
+ tags: TagNonNullableFields$4[];
595
+ settings?: SettingsNonNullableFields$4;
596
+ }
597
+ interface CollectionNonNullableFields {
598
+ coverImage?: ImageNonNullableFields$6;
599
+ url: string;
600
+ seoData?: SeoSchemaNonNullableFields$4;
601
+ }
684
602
  interface CreateCollectionResponseNonNullableFields {
685
- collection?: {
686
- coverImage?: {
687
- imageInfo: string;
688
- focalPoint?: {
689
- x: number;
690
- y: number;
691
- };
692
- };
693
- url: string;
694
- seoData?: {
695
- tags: {
696
- type: string;
697
- children: string;
698
- custom: boolean;
699
- disabled: boolean;
700
- }[];
701
- settings?: {
702
- preventAutoRedirect: boolean;
703
- keywords: {
704
- term: string;
705
- isMain: boolean;
706
- }[];
707
- };
708
- };
709
- };
603
+ collection?: CollectionNonNullableFields;
710
604
  }
711
605
  interface GetCollectionResponseNonNullableFields {
712
- collection?: {
713
- coverImage?: {
714
- imageInfo: string;
715
- focalPoint?: {
716
- x: number;
717
- y: number;
718
- };
719
- };
720
- url: string;
721
- seoData?: {
722
- tags: {
723
- type: string;
724
- children: string;
725
- custom: boolean;
726
- disabled: boolean;
727
- }[];
728
- settings?: {
729
- preventAutoRedirect: boolean;
730
- keywords: {
731
- term: string;
732
- isMain: boolean;
733
- }[];
734
- };
735
- };
736
- };
606
+ collection?: CollectionNonNullableFields;
737
607
  }
738
608
  interface ListCollectionsResponseNonNullableFields {
739
- collections: {
740
- coverImage?: {
741
- imageInfo: string;
742
- focalPoint?: {
743
- x: number;
744
- y: number;
745
- };
746
- };
747
- url: string;
748
- seoData?: {
749
- tags: {
750
- type: string;
751
- children: string;
752
- custom: boolean;
753
- disabled: boolean;
754
- }[];
755
- settings?: {
756
- preventAutoRedirect: boolean;
757
- keywords: {
758
- term: string;
759
- isMain: boolean;
760
- }[];
761
- };
762
- };
763
- }[];
609
+ collections: CollectionNonNullableFields[];
764
610
  }
765
611
  interface UpdateCollectionResponseNonNullableFields {
766
- collection?: {
767
- coverImage?: {
768
- imageInfo: string;
769
- focalPoint?: {
770
- x: number;
771
- y: number;
772
- };
773
- };
774
- url: string;
775
- seoData?: {
776
- tags: {
777
- type: string;
778
- children: string;
779
- custom: boolean;
780
- disabled: boolean;
781
- }[];
782
- settings?: {
783
- preventAutoRedirect: boolean;
784
- keywords: {
785
- term: string;
786
- isMain: boolean;
787
- }[];
788
- };
789
- };
790
- };
612
+ collection?: CollectionNonNullableFields;
791
613
  }
792
614
  interface DeleteCollectionResponseNonNullableFields {
793
615
  collectionId: string;
794
616
  }
795
617
  interface QueryCollectionsResponseNonNullableFields {
796
- collections: {
797
- coverImage?: {
798
- imageInfo: string;
799
- focalPoint?: {
800
- x: number;
801
- y: number;
802
- };
803
- };
804
- url: string;
805
- seoData?: {
806
- tags: {
807
- type: string;
808
- children: string;
809
- custom: boolean;
810
- disabled: boolean;
811
- }[];
812
- settings?: {
813
- preventAutoRedirect: boolean;
814
- keywords: {
815
- term: string;
816
- isMain: boolean;
817
- }[];
818
- };
819
- };
820
- }[];
618
+ collections: CollectionNonNullableFields[];
821
619
  }
822
620
 
823
621
  type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -911,29 +709,21 @@ interface UpdatePortfolioSettingsResponse$1 {
911
709
  /** The updated portfolio settings */
912
710
  updatedPortfolioSettings?: PortfolioSettings$1;
913
711
  }
712
+ interface ProjectItemSettingsNonNullableFields$1 {
713
+ addItemDirection: AddItemDirection$1;
714
+ defaultItemName: DefaultItemName$1;
715
+ }
716
+ interface PortfolioSettingsNonNullableFields$1 {
717
+ projectItemSettings?: ProjectItemSettingsNonNullableFields$1;
718
+ }
914
719
  interface CreatePortfolioSettingsResponseNonNullableFields$1 {
915
- portfolioSettings?: {
916
- projectItemSettings?: {
917
- addItemDirection: AddItemDirection$1;
918
- defaultItemName: DefaultItemName$1;
919
- };
920
- };
720
+ portfolioSettings?: PortfolioSettingsNonNullableFields$1;
921
721
  }
922
722
  interface GetPortfolioSettingsResponseNonNullableFields$1 {
923
- portfolioSettings?: {
924
- projectItemSettings?: {
925
- addItemDirection: AddItemDirection$1;
926
- defaultItemName: DefaultItemName$1;
927
- };
928
- };
723
+ portfolioSettings?: PortfolioSettingsNonNullableFields$1;
929
724
  }
930
725
  interface UpdatePortfolioSettingsResponseNonNullableFields$1 {
931
- updatedPortfolioSettings?: {
932
- projectItemSettings?: {
933
- addItemDirection: AddItemDirection$1;
934
- defaultItemName: DefaultItemName$1;
935
- };
936
- };
726
+ updatedPortfolioSettings?: PortfolioSettingsNonNullableFields$1;
937
727
  }
938
728
 
939
729
  interface PortfolioSettings {
@@ -994,29 +784,21 @@ interface UpdatePortfolioSettingsResponse {
994
784
  /** The updated portfolio settings */
995
785
  updatedPortfolioSettings?: PortfolioSettings;
996
786
  }
787
+ interface ProjectItemSettingsNonNullableFields {
788
+ addItemDirection: AddItemDirection;
789
+ defaultItemName: DefaultItemName;
790
+ }
791
+ interface PortfolioSettingsNonNullableFields {
792
+ projectItemSettings?: ProjectItemSettingsNonNullableFields;
793
+ }
997
794
  interface CreatePortfolioSettingsResponseNonNullableFields {
998
- portfolioSettings?: {
999
- projectItemSettings?: {
1000
- addItemDirection: AddItemDirection;
1001
- defaultItemName: DefaultItemName;
1002
- };
1003
- };
795
+ portfolioSettings?: PortfolioSettingsNonNullableFields;
1004
796
  }
1005
797
  interface GetPortfolioSettingsResponseNonNullableFields {
1006
- portfolioSettings?: {
1007
- projectItemSettings?: {
1008
- addItemDirection: AddItemDirection;
1009
- defaultItemName: DefaultItemName;
1010
- };
1011
- };
798
+ portfolioSettings?: PortfolioSettingsNonNullableFields;
1012
799
  }
1013
800
  interface UpdatePortfolioSettingsResponseNonNullableFields {
1014
- updatedPortfolioSettings?: {
1015
- projectItemSettings?: {
1016
- addItemDirection: AddItemDirection;
1017
- defaultItemName: DefaultItemName;
1018
- };
1019
- };
801
+ updatedPortfolioSettings?: PortfolioSettingsNonNullableFields;
1020
802
  }
1021
803
 
1022
804
  type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1109,7 +891,7 @@ interface Image$5 {
1109
891
  /** Focal point of the image. */
1110
892
  focalPoint?: Point$5;
1111
893
  }
1112
- declare enum ImageType$2 {
894
+ declare enum ImageType$5 {
1113
895
  UNDEFINED = "UNDEFINED",
1114
896
  WIX_MEDIA = "WIX_MEDIA",
1115
897
  EXTERNAL = "EXTERNAL"
@@ -1349,342 +1131,110 @@ interface DuplicateProjectItemsResponse$1 {
1349
1131
  /** Result metadata */
1350
1132
  bulkActionMetadata?: BulkActionMetadata$3;
1351
1133
  }
1134
+ interface CommonImageNonNullableFields$2 {
1135
+ id: string;
1136
+ url: string;
1137
+ height: number;
1138
+ width: number;
1139
+ }
1140
+ interface PointNonNullableFields$5 {
1141
+ x: number;
1142
+ y: number;
1143
+ }
1144
+ interface ImageNonNullableFields$5 {
1145
+ type: ImageType$5;
1146
+ imageInfo?: CommonImageNonNullableFields$2;
1147
+ focalPoint?: PointNonNullableFields$5;
1148
+ }
1149
+ interface VideoResolutionNonNullableFields$2 {
1150
+ url: string;
1151
+ height: number;
1152
+ width: number;
1153
+ poster?: CommonImageNonNullableFields$2;
1154
+ format: string;
1155
+ }
1156
+ interface VideoV2NonNullableFields$2 {
1157
+ id: string;
1158
+ url: string;
1159
+ resolutions: VideoResolutionNonNullableFields$2[];
1160
+ posters: CommonImageNonNullableFields$2[];
1161
+ }
1162
+ interface VideoNonNullableFields$5 {
1163
+ videoInfo?: VideoV2NonNullableFields$2;
1164
+ }
1165
+ interface TagsNonNullableFields$1 {
1166
+ values: string[];
1167
+ }
1168
+ interface ItemNonNullableFields$1 {
1169
+ image?: ImageNonNullableFields$5;
1170
+ video?: VideoNonNullableFields$5;
1171
+ type: Type$1;
1172
+ tags?: TagsNonNullableFields$1;
1173
+ }
1352
1174
  interface CreateProjectItemResponseNonNullableFields$1 {
1353
1175
  projectId: string;
1354
- item?: {
1355
- image?: {
1356
- type: ImageType$2;
1357
- imageInfo?: {
1358
- id: string;
1359
- url: string;
1360
- height: number;
1361
- width: number;
1362
- };
1363
- focalPoint?: {
1364
- x: number;
1365
- y: number;
1366
- };
1367
- };
1368
- video?: {
1369
- videoInfo?: {
1370
- id: string;
1371
- url: string;
1372
- resolutions: {
1373
- url: string;
1374
- height: number;
1375
- width: number;
1376
- poster?: {
1377
- id: string;
1378
- url: string;
1379
- height: number;
1380
- width: number;
1381
- };
1382
- format: string;
1383
- }[];
1384
- posters: {
1385
- id: string;
1386
- url: string;
1387
- height: number;
1388
- width: number;
1389
- }[];
1390
- };
1391
- };
1392
- type: Type$1;
1393
- tags?: {
1394
- values: string[];
1395
- };
1396
- };
1176
+ item?: ItemNonNullableFields$1;
1177
+ }
1178
+ interface ApplicationErrorNonNullableFields$3 {
1179
+ code: string;
1180
+ description: string;
1181
+ }
1182
+ interface ItemMetadataNonNullableFields$3 {
1183
+ originalIndex: number;
1184
+ success: boolean;
1185
+ error?: ApplicationErrorNonNullableFields$3;
1186
+ }
1187
+ interface BulkCreateProjectItemResultNonNullableFields$1 {
1188
+ itemMetadata?: ItemMetadataNonNullableFields$3;
1189
+ item?: ItemNonNullableFields$1;
1190
+ }
1191
+ interface BulkActionMetadataNonNullableFields$3 {
1192
+ totalSuccesses: number;
1193
+ totalFailures: number;
1194
+ undetailedFailures: number;
1397
1195
  }
1398
1196
  interface BulkCreateProjectItemsResponseNonNullableFields$1 {
1399
1197
  projectId: string;
1400
- results: {
1401
- itemMetadata?: {
1402
- originalIndex: number;
1403
- success: boolean;
1404
- error?: {
1405
- code: string;
1406
- description: string;
1407
- };
1408
- };
1409
- item?: {
1410
- image?: {
1411
- type: ImageType$2;
1412
- imageInfo?: {
1413
- id: string;
1414
- url: string;
1415
- height: number;
1416
- width: number;
1417
- };
1418
- focalPoint?: {
1419
- x: number;
1420
- y: number;
1421
- };
1422
- };
1423
- video?: {
1424
- videoInfo?: {
1425
- id: string;
1426
- url: string;
1427
- resolutions: {
1428
- url: string;
1429
- height: number;
1430
- width: number;
1431
- poster?: {
1432
- id: string;
1433
- url: string;
1434
- height: number;
1435
- width: number;
1436
- };
1437
- format: string;
1438
- }[];
1439
- posters: {
1440
- id: string;
1441
- url: string;
1442
- height: number;
1443
- width: number;
1444
- }[];
1445
- };
1446
- };
1447
- type: Type$1;
1448
- tags?: {
1449
- values: string[];
1450
- };
1451
- };
1452
- }[];
1453
- bulkActionMetadata?: {
1454
- totalSuccesses: number;
1455
- totalFailures: number;
1456
- undetailedFailures: number;
1457
- };
1198
+ results: BulkCreateProjectItemResultNonNullableFields$1[];
1199
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
1458
1200
  }
1459
1201
  interface GetProjectItemResponseNonNullableFields$1 {
1460
1202
  projectId: string;
1461
- item?: {
1462
- image?: {
1463
- type: ImageType$2;
1464
- imageInfo?: {
1465
- id: string;
1466
- url: string;
1467
- height: number;
1468
- width: number;
1469
- };
1470
- focalPoint?: {
1471
- x: number;
1472
- y: number;
1473
- };
1474
- };
1475
- video?: {
1476
- videoInfo?: {
1477
- id: string;
1478
- url: string;
1479
- resolutions: {
1480
- url: string;
1481
- height: number;
1482
- width: number;
1483
- poster?: {
1484
- id: string;
1485
- url: string;
1486
- height: number;
1487
- width: number;
1488
- };
1489
- format: string;
1490
- }[];
1491
- posters: {
1492
- id: string;
1493
- url: string;
1494
- height: number;
1495
- width: number;
1496
- }[];
1497
- };
1498
- };
1499
- type: Type$1;
1500
- tags?: {
1501
- values: string[];
1502
- };
1503
- };
1203
+ item?: ItemNonNullableFields$1;
1504
1204
  }
1505
1205
  interface ListProjectItemsResponseNonNullableFields$1 {
1506
1206
  projectId: string;
1507
- items: {
1508
- image?: {
1509
- type: ImageType$2;
1510
- imageInfo?: {
1511
- id: string;
1512
- url: string;
1513
- height: number;
1514
- width: number;
1515
- };
1516
- focalPoint?: {
1517
- x: number;
1518
- y: number;
1519
- };
1520
- };
1521
- video?: {
1522
- videoInfo?: {
1523
- id: string;
1524
- url: string;
1525
- resolutions: {
1526
- url: string;
1527
- height: number;
1528
- width: number;
1529
- poster?: {
1530
- id: string;
1531
- url: string;
1532
- height: number;
1533
- width: number;
1534
- };
1535
- format: string;
1536
- }[];
1537
- posters: {
1538
- id: string;
1539
- url: string;
1540
- height: number;
1541
- width: number;
1542
- }[];
1543
- };
1544
- };
1545
- type: Type$1;
1546
- tags?: {
1547
- values: string[];
1548
- };
1549
- }[];
1207
+ items: ItemNonNullableFields$1[];
1550
1208
  }
1551
1209
  interface UpdateProjectItemResponseNonNullableFields$1 {
1552
1210
  projectId: string;
1553
- item?: {
1554
- image?: {
1555
- type: ImageType$2;
1556
- imageInfo?: {
1557
- id: string;
1558
- url: string;
1559
- height: number;
1560
- width: number;
1561
- };
1562
- focalPoint?: {
1563
- x: number;
1564
- y: number;
1565
- };
1566
- };
1567
- video?: {
1568
- videoInfo?: {
1569
- id: string;
1570
- url: string;
1571
- resolutions: {
1572
- url: string;
1573
- height: number;
1574
- width: number;
1575
- poster?: {
1576
- id: string;
1577
- url: string;
1578
- height: number;
1579
- width: number;
1580
- };
1581
- format: string;
1582
- }[];
1583
- posters: {
1584
- id: string;
1585
- url: string;
1586
- height: number;
1587
- width: number;
1588
- }[];
1589
- };
1590
- };
1591
- type: Type$1;
1592
- tags?: {
1593
- values: string[];
1594
- };
1595
- };
1211
+ item?: ItemNonNullableFields$1;
1212
+ }
1213
+ interface BulkUpdateProjectItemResultNonNullableFields$1 {
1214
+ itemMetadata?: ItemMetadataNonNullableFields$3;
1215
+ item?: ItemNonNullableFields$1;
1596
1216
  }
1597
1217
  interface BulkUpdateProjectItemsResponseNonNullableFields$1 {
1598
1218
  projectId: string;
1599
- results: {
1600
- itemMetadata?: {
1601
- originalIndex: number;
1602
- success: boolean;
1603
- error?: {
1604
- code: string;
1605
- description: string;
1606
- };
1607
- };
1608
- item?: {
1609
- image?: {
1610
- type: ImageType$2;
1611
- imageInfo?: {
1612
- id: string;
1613
- url: string;
1614
- height: number;
1615
- width: number;
1616
- };
1617
- focalPoint?: {
1618
- x: number;
1619
- y: number;
1620
- };
1621
- };
1622
- video?: {
1623
- videoInfo?: {
1624
- id: string;
1625
- url: string;
1626
- resolutions: {
1627
- url: string;
1628
- height: number;
1629
- width: number;
1630
- poster?: {
1631
- id: string;
1632
- url: string;
1633
- height: number;
1634
- width: number;
1635
- };
1636
- format: string;
1637
- }[];
1638
- posters: {
1639
- id: string;
1640
- url: string;
1641
- height: number;
1642
- width: number;
1643
- }[];
1644
- };
1645
- };
1646
- type: Type$1;
1647
- tags?: {
1648
- values: string[];
1649
- };
1650
- };
1651
- }[];
1652
- bulkActionMetadata?: {
1653
- totalSuccesses: number;
1654
- totalFailures: number;
1655
- undetailedFailures: number;
1656
- };
1219
+ results: BulkUpdateProjectItemResultNonNullableFields$1[];
1220
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
1657
1221
  }
1658
1222
  interface DeleteProjectItemResponseNonNullableFields$1 {
1659
1223
  projectId: string;
1660
1224
  itemId: string;
1661
1225
  }
1226
+ interface BulkDeleteProjectItemResultNonNullableFields$1 {
1227
+ itemMetadata?: ItemMetadataNonNullableFields$3;
1228
+ itemId: string;
1229
+ }
1662
1230
  interface BulkDeleteProjectItemsResponseNonNullableFields$1 {
1663
1231
  projectId: string;
1664
- results: {
1665
- itemMetadata?: {
1666
- originalIndex: number;
1667
- success: boolean;
1668
- error?: {
1669
- code: string;
1670
- description: string;
1671
- };
1672
- };
1673
- itemId: string;
1674
- }[];
1675
- bulkActionMetadata?: {
1676
- totalSuccesses: number;
1677
- totalFailures: number;
1678
- undetailedFailures: number;
1679
- };
1232
+ results: BulkDeleteProjectItemResultNonNullableFields$1[];
1233
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
1680
1234
  }
1681
1235
  interface DuplicateProjectItemsResponseNonNullableFields$1 {
1682
1236
  projectId: string;
1683
- bulkActionMetadata?: {
1684
- totalSuccesses: number;
1685
- totalFailures: number;
1686
- undetailedFailures: number;
1687
- };
1237
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
1688
1238
  }
1689
1239
 
1690
1240
  /** ProjectItem is the main entity of ProjectItemsService */
@@ -1756,6 +1306,11 @@ interface Image$4 {
1756
1306
  /** Focal point of the image. */
1757
1307
  focalPoint?: Point$4;
1758
1308
  }
1309
+ declare enum ImageType$4 {
1310
+ UNDEFINED = "UNDEFINED",
1311
+ WIX_MEDIA = "WIX_MEDIA",
1312
+ EXTERNAL = "EXTERNAL"
1313
+ }
1759
1314
  interface Point$4 {
1760
1315
  /** X-coordinate of the focal point. */
1761
1316
  x?: number;
@@ -1948,155 +1503,91 @@ interface DuplicateProjectItemsResponse {
1948
1503
  /** Result metadata */
1949
1504
  bulkActionMetadata?: BulkActionMetadata$2;
1950
1505
  }
1506
+ interface PointNonNullableFields$4 {
1507
+ x: number;
1508
+ y: number;
1509
+ }
1510
+ interface ImageNonNullableFields$4 {
1511
+ type: ImageType$4;
1512
+ imageInfo: string;
1513
+ focalPoint?: PointNonNullableFields$4;
1514
+ }
1515
+ interface VideoNonNullableFields$4 {
1516
+ videoInfo: string;
1517
+ }
1518
+ interface TagsNonNullableFields {
1519
+ values: string[];
1520
+ }
1521
+ interface ItemNonNullableFields {
1522
+ image?: ImageNonNullableFields$4;
1523
+ video?: VideoNonNullableFields$4;
1524
+ type: Type;
1525
+ tags?: TagsNonNullableFields;
1526
+ }
1951
1527
  interface CreateProjectItemResponseNonNullableFields {
1952
- item?: {
1953
- image?: {
1954
- imageInfo: string;
1955
- focalPoint?: {
1956
- x: number;
1957
- y: number;
1958
- };
1959
- };
1960
- video?: {
1961
- videoInfo: string;
1962
- };
1963
- type: Type;
1964
- };
1528
+ projectId: string;
1529
+ item?: ItemNonNullableFields;
1530
+ }
1531
+ interface ApplicationErrorNonNullableFields$2 {
1532
+ code: string;
1533
+ description: string;
1534
+ }
1535
+ interface ItemMetadataNonNullableFields$2 {
1536
+ originalIndex: number;
1537
+ success: boolean;
1538
+ error?: ApplicationErrorNonNullableFields$2;
1539
+ }
1540
+ interface BulkCreateProjectItemResultNonNullableFields {
1541
+ itemMetadata?: ItemMetadataNonNullableFields$2;
1542
+ item?: ItemNonNullableFields;
1543
+ }
1544
+ interface BulkActionMetadataNonNullableFields$2 {
1545
+ totalSuccesses: number;
1546
+ totalFailures: number;
1547
+ undetailedFailures: number;
1965
1548
  }
1966
1549
  interface BulkCreateProjectItemsResponseNonNullableFields {
1967
- results: {
1968
- itemMetadata?: {
1969
- originalIndex: number;
1970
- success: boolean;
1971
- error?: {
1972
- code: string;
1973
- description: string;
1974
- };
1975
- };
1976
- item?: {
1977
- image?: {
1978
- imageInfo: string;
1979
- focalPoint?: {
1980
- x: number;
1981
- y: number;
1982
- };
1983
- };
1984
- video?: {
1985
- videoInfo: string;
1986
- };
1987
- type: Type;
1988
- };
1989
- }[];
1990
- bulkActionMetadata?: {
1991
- totalSuccesses: number;
1992
- totalFailures: number;
1993
- undetailedFailures: number;
1994
- };
1550
+ projectId: string;
1551
+ results: BulkCreateProjectItemResultNonNullableFields[];
1552
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
1995
1553
  }
1996
1554
  interface GetProjectItemResponseNonNullableFields {
1997
- item?: {
1998
- image?: {
1999
- imageInfo: string;
2000
- focalPoint?: {
2001
- x: number;
2002
- y: number;
2003
- };
2004
- };
2005
- video?: {
2006
- videoInfo: string;
2007
- };
2008
- type: Type;
2009
- };
1555
+ projectId: string;
1556
+ item?: ItemNonNullableFields;
2010
1557
  }
2011
1558
  interface ListProjectItemsResponseNonNullableFields {
2012
- items: {
2013
- image?: {
2014
- imageInfo: string;
2015
- focalPoint?: {
2016
- x: number;
2017
- y: number;
2018
- };
2019
- };
2020
- video?: {
2021
- videoInfo: string;
2022
- };
2023
- type: Type;
2024
- }[];
1559
+ projectId: string;
1560
+ items: ItemNonNullableFields[];
2025
1561
  }
2026
1562
  interface UpdateProjectItemResponseNonNullableFields {
2027
- item?: {
2028
- image?: {
2029
- imageInfo: string;
2030
- focalPoint?: {
2031
- x: number;
2032
- y: number;
2033
- };
2034
- };
2035
- video?: {
2036
- videoInfo: string;
2037
- };
2038
- type: Type;
2039
- };
1563
+ projectId: string;
1564
+ item?: ItemNonNullableFields;
1565
+ }
1566
+ interface BulkUpdateProjectItemResultNonNullableFields {
1567
+ itemMetadata?: ItemMetadataNonNullableFields$2;
1568
+ item?: ItemNonNullableFields;
2040
1569
  }
2041
1570
  interface BulkUpdateProjectItemsResponseNonNullableFields {
2042
- results: {
2043
- itemMetadata?: {
2044
- originalIndex: number;
2045
- success: boolean;
2046
- error?: {
2047
- code: string;
2048
- description: string;
2049
- };
2050
- };
2051
- item?: {
2052
- image?: {
2053
- imageInfo: string;
2054
- focalPoint?: {
2055
- x: number;
2056
- y: number;
2057
- };
2058
- };
2059
- video?: {
2060
- videoInfo: string;
2061
- };
2062
- type: Type;
2063
- };
2064
- }[];
2065
- bulkActionMetadata?: {
2066
- totalSuccesses: number;
2067
- totalFailures: number;
2068
- undetailedFailures: number;
2069
- };
1571
+ projectId: string;
1572
+ results: BulkUpdateProjectItemResultNonNullableFields[];
1573
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
2070
1574
  }
2071
1575
  interface DeleteProjectItemResponseNonNullableFields {
2072
1576
  projectId: string;
2073
1577
  itemId: string;
2074
1578
  }
1579
+ interface BulkDeleteProjectItemResultNonNullableFields {
1580
+ itemMetadata?: ItemMetadataNonNullableFields$2;
1581
+ itemId: string;
1582
+ }
2075
1583
  interface BulkDeleteProjectItemsResponseNonNullableFields {
2076
- results: {
2077
- itemMetadata?: {
2078
- originalIndex: number;
2079
- success: boolean;
2080
- error?: {
2081
- code: string;
2082
- description: string;
2083
- };
2084
- };
2085
- itemId: string;
2086
- }[];
2087
- bulkActionMetadata?: {
2088
- totalSuccesses: number;
2089
- totalFailures: number;
2090
- undetailedFailures: number;
2091
- };
1584
+ projectId: string;
1585
+ results: BulkDeleteProjectItemResultNonNullableFields[];
1586
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
2092
1587
  }
2093
1588
  interface DuplicateProjectItemsResponseNonNullableFields {
2094
1589
  projectId: string;
2095
- bulkActionMetadata?: {
2096
- totalSuccesses: number;
2097
- totalFailures: number;
2098
- undetailedFailures: number;
2099
- };
1590
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
2100
1591
  }
2101
1592
 
2102
1593
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2202,7 +1693,7 @@ interface Image$3 {
2202
1693
  /** Focal point of the image. */
2203
1694
  focalPoint?: Point$3;
2204
1695
  }
2205
- declare enum ImageType$1 {
1696
+ declare enum ImageType$3 {
2206
1697
  UNDEFINED = "UNDEFINED",
2207
1698
  WIX_MEDIA = "WIX_MEDIA",
2208
1699
  EXTERNAL = "EXTERNAL"
@@ -2285,7 +1776,7 @@ interface DetailsLink$3 {
2285
1776
  */
2286
1777
  target?: string | null;
2287
1778
  }
2288
- declare enum SyncStatus$3 {
1779
+ declare enum SyncStatus$5 {
2289
1780
  SYNCED = "SYNCED",
2290
1781
  SYNCING = "SYNCING",
2291
1782
  NOT_SYNCED = "NOT_SYNCED"
@@ -2580,748 +2071,137 @@ interface QueryProjectWithCollectionInfoResponse$1 {
2580
2071
  /** Paging metadata */
2581
2072
  metadata?: PagingMetadataV2$5;
2582
2073
  }
2074
+ interface CommonImageNonNullableFields$1 {
2075
+ id: string;
2076
+ url: string;
2077
+ height: number;
2078
+ width: number;
2079
+ }
2080
+ interface PointNonNullableFields$3 {
2081
+ x: number;
2082
+ y: number;
2083
+ }
2084
+ interface ImageNonNullableFields$3 {
2085
+ type: ImageType$3;
2086
+ imageInfo?: CommonImageNonNullableFields$1;
2087
+ focalPoint?: PointNonNullableFields$3;
2088
+ }
2089
+ interface VideoResolutionNonNullableFields$1 {
2090
+ url: string;
2091
+ height: number;
2092
+ width: number;
2093
+ poster?: CommonImageNonNullableFields$1;
2094
+ format: string;
2095
+ }
2096
+ interface VideoV2NonNullableFields$1 {
2097
+ id: string;
2098
+ url: string;
2099
+ resolutions: VideoResolutionNonNullableFields$1[];
2100
+ posters: CommonImageNonNullableFields$1[];
2101
+ }
2102
+ interface VideoNonNullableFields$3 {
2103
+ videoInfo?: VideoV2NonNullableFields$1;
2104
+ }
2105
+ interface ProjectDetailNonNullableFields$3 {
2106
+ text: string;
2107
+ label: string;
2108
+ }
2109
+ interface ProjectSourceNonNullableFields$3 {
2110
+ appDefId: string;
2111
+ externalId: string;
2112
+ sourceName: string;
2113
+ syncStatus: SyncStatus$5;
2114
+ notEditableFields: string[];
2115
+ }
2116
+ interface PageUrlV2NonNullableFields$1 {
2117
+ relativePath: string;
2118
+ }
2119
+ interface TagNonNullableFields$3 {
2120
+ type: string;
2121
+ children: string;
2122
+ custom: boolean;
2123
+ disabled: boolean;
2124
+ }
2125
+ interface KeywordNonNullableFields$3 {
2126
+ term: string;
2127
+ isMain: boolean;
2128
+ }
2129
+ interface SettingsNonNullableFields$3 {
2130
+ preventAutoRedirect: boolean;
2131
+ keywords: KeywordNonNullableFields$3[];
2132
+ }
2133
+ interface SeoSchemaNonNullableFields$3 {
2134
+ tags: TagNonNullableFields$3[];
2135
+ settings?: SettingsNonNullableFields$3;
2136
+ }
2137
+ interface ProjectNonNullableFields$3 {
2138
+ coverImage?: ImageNonNullableFields$3;
2139
+ coverVideo?: VideoNonNullableFields$3;
2140
+ collectionIds: string[];
2141
+ details: ProjectDetailNonNullableFields$3[];
2142
+ source?: ProjectSourceNonNullableFields$3;
2143
+ url?: PageUrlV2NonNullableFields$1;
2144
+ seoData?: SeoSchemaNonNullableFields$3;
2145
+ }
2146
+ interface ProjectSlugNonNullableFields$1 {
2147
+ projectId: string;
2148
+ slug: string;
2149
+ }
2583
2150
  interface GetProjectPageDataResponseNonNullableFields$1 {
2584
- project?: {
2585
- coverImage?: {
2586
- type: ImageType$1;
2587
- imageInfo?: {
2588
- id: string;
2589
- url: string;
2590
- height: number;
2591
- width: number;
2592
- };
2593
- focalPoint?: {
2594
- x: number;
2595
- y: number;
2596
- };
2597
- };
2598
- coverVideo?: {
2599
- videoInfo?: {
2600
- id: string;
2601
- url: string;
2602
- resolutions: {
2603
- url: string;
2604
- height: number;
2605
- width: number;
2606
- poster?: {
2607
- id: string;
2608
- url: string;
2609
- height: number;
2610
- width: number;
2611
- };
2612
- format: string;
2613
- }[];
2614
- posters: {
2615
- id: string;
2616
- url: string;
2617
- height: number;
2618
- width: number;
2619
- }[];
2620
- };
2621
- };
2622
- collectionIds: string[];
2623
- details: {
2624
- text: string;
2625
- label: string;
2626
- }[];
2627
- source?: {
2628
- appDefId: string;
2629
- externalId: string;
2630
- sourceName: string;
2631
- syncStatus: SyncStatus$3;
2632
- notEditableFields: string[];
2633
- };
2634
- url?: {
2635
- relativePath: string;
2636
- };
2637
- seoData?: {
2638
- tags: {
2639
- type: string;
2640
- children: string;
2641
- custom: boolean;
2642
- disabled: boolean;
2643
- }[];
2644
- settings?: {
2645
- preventAutoRedirect: boolean;
2646
- keywords: {
2647
- term: string;
2648
- isMain: boolean;
2649
- }[];
2650
- };
2651
- };
2652
- };
2653
- previousProject?: {
2654
- projectId: string;
2655
- slug: string;
2656
- };
2657
- nextProject?: {
2658
- projectId: string;
2659
- slug: string;
2660
- };
2151
+ project?: ProjectNonNullableFields$3;
2152
+ previousProject?: ProjectSlugNonNullableFields$1;
2153
+ nextProject?: ProjectSlugNonNullableFields$1;
2661
2154
  }
2662
2155
  interface CreateProjectResponseNonNullableFields$1 {
2663
- project?: {
2664
- coverImage?: {
2665
- type: ImageType$1;
2666
- imageInfo?: {
2667
- id: string;
2668
- url: string;
2669
- height: number;
2670
- width: number;
2671
- };
2672
- focalPoint?: {
2673
- x: number;
2674
- y: number;
2675
- };
2676
- };
2677
- coverVideo?: {
2678
- videoInfo?: {
2679
- id: string;
2680
- url: string;
2681
- resolutions: {
2682
- url: string;
2683
- height: number;
2684
- width: number;
2685
- poster?: {
2686
- id: string;
2687
- url: string;
2688
- height: number;
2689
- width: number;
2690
- };
2691
- format: string;
2692
- }[];
2693
- posters: {
2694
- id: string;
2695
- url: string;
2696
- height: number;
2697
- width: number;
2698
- }[];
2699
- };
2700
- };
2701
- collectionIds: string[];
2702
- details: {
2703
- text: string;
2704
- label: string;
2705
- }[];
2706
- source?: {
2707
- appDefId: string;
2708
- externalId: string;
2709
- sourceName: string;
2710
- syncStatus: SyncStatus$3;
2711
- notEditableFields: string[];
2712
- };
2713
- url?: {
2714
- relativePath: string;
2715
- };
2716
- seoData?: {
2717
- tags: {
2718
- type: string;
2719
- children: string;
2720
- custom: boolean;
2721
- disabled: boolean;
2722
- }[];
2723
- settings?: {
2724
- preventAutoRedirect: boolean;
2725
- keywords: {
2726
- term: string;
2727
- isMain: boolean;
2728
- }[];
2729
- };
2730
- };
2731
- };
2156
+ project?: ProjectNonNullableFields$3;
2732
2157
  }
2733
2158
  interface GetProjectResponseNonNullableFields$1 {
2734
- project?: {
2735
- coverImage?: {
2736
- type: ImageType$1;
2737
- imageInfo?: {
2738
- id: string;
2739
- url: string;
2740
- height: number;
2741
- width: number;
2742
- };
2743
- focalPoint?: {
2744
- x: number;
2745
- y: number;
2746
- };
2747
- };
2748
- coverVideo?: {
2749
- videoInfo?: {
2750
- id: string;
2751
- url: string;
2752
- resolutions: {
2753
- url: string;
2754
- height: number;
2755
- width: number;
2756
- poster?: {
2757
- id: string;
2758
- url: string;
2759
- height: number;
2760
- width: number;
2761
- };
2762
- format: string;
2763
- }[];
2764
- posters: {
2765
- id: string;
2766
- url: string;
2767
- height: number;
2768
- width: number;
2769
- }[];
2770
- };
2771
- };
2772
- collectionIds: string[];
2773
- details: {
2774
- text: string;
2775
- label: string;
2776
- }[];
2777
- source?: {
2778
- appDefId: string;
2779
- externalId: string;
2780
- sourceName: string;
2781
- syncStatus: SyncStatus$3;
2782
- notEditableFields: string[];
2783
- };
2784
- url?: {
2785
- relativePath: string;
2786
- };
2787
- seoData?: {
2788
- tags: {
2789
- type: string;
2790
- children: string;
2791
- custom: boolean;
2792
- disabled: boolean;
2793
- }[];
2794
- settings?: {
2795
- preventAutoRedirect: boolean;
2796
- keywords: {
2797
- term: string;
2798
- isMain: boolean;
2799
- }[];
2800
- };
2801
- };
2802
- };
2159
+ project?: ProjectNonNullableFields$3;
2803
2160
  }
2804
2161
  interface ListProjectsResponseNonNullableFields$1 {
2805
- projects: {
2806
- coverImage?: {
2807
- type: ImageType$1;
2808
- imageInfo?: {
2809
- id: string;
2810
- url: string;
2811
- height: number;
2812
- width: number;
2813
- };
2814
- focalPoint?: {
2815
- x: number;
2816
- y: number;
2817
- };
2818
- };
2819
- coverVideo?: {
2820
- videoInfo?: {
2821
- id: string;
2822
- url: string;
2823
- resolutions: {
2824
- url: string;
2825
- height: number;
2826
- width: number;
2827
- poster?: {
2828
- id: string;
2829
- url: string;
2830
- height: number;
2831
- width: number;
2832
- };
2833
- format: string;
2834
- }[];
2835
- posters: {
2836
- id: string;
2837
- url: string;
2838
- height: number;
2839
- width: number;
2840
- }[];
2841
- };
2842
- };
2843
- collectionIds: string[];
2844
- details: {
2845
- text: string;
2846
- label: string;
2847
- }[];
2848
- source?: {
2849
- appDefId: string;
2850
- externalId: string;
2851
- sourceName: string;
2852
- syncStatus: SyncStatus$3;
2853
- notEditableFields: string[];
2854
- };
2855
- url?: {
2856
- relativePath: string;
2857
- };
2858
- seoData?: {
2859
- tags: {
2860
- type: string;
2861
- children: string;
2862
- custom: boolean;
2863
- disabled: boolean;
2864
- }[];
2865
- settings?: {
2866
- preventAutoRedirect: boolean;
2867
- keywords: {
2868
- term: string;
2869
- isMain: boolean;
2870
- }[];
2871
- };
2872
- };
2873
- }[];
2162
+ projects: ProjectNonNullableFields$3[];
2874
2163
  }
2875
2164
  interface UpdateProjectResponseNonNullableFields$1 {
2876
- project?: {
2877
- coverImage?: {
2878
- type: ImageType$1;
2879
- imageInfo?: {
2880
- id: string;
2881
- url: string;
2882
- height: number;
2883
- width: number;
2884
- };
2885
- focalPoint?: {
2886
- x: number;
2887
- y: number;
2888
- };
2889
- };
2890
- coverVideo?: {
2891
- videoInfo?: {
2892
- id: string;
2893
- url: string;
2894
- resolutions: {
2895
- url: string;
2896
- height: number;
2897
- width: number;
2898
- poster?: {
2899
- id: string;
2900
- url: string;
2901
- height: number;
2902
- width: number;
2903
- };
2904
- format: string;
2905
- }[];
2906
- posters: {
2907
- id: string;
2908
- url: string;
2909
- height: number;
2910
- width: number;
2911
- }[];
2912
- };
2913
- };
2914
- collectionIds: string[];
2915
- details: {
2916
- text: string;
2917
- label: string;
2918
- }[];
2919
- source?: {
2920
- appDefId: string;
2921
- externalId: string;
2922
- sourceName: string;
2923
- syncStatus: SyncStatus$3;
2924
- notEditableFields: string[];
2925
- };
2926
- url?: {
2927
- relativePath: string;
2928
- };
2929
- seoData?: {
2930
- tags: {
2931
- type: string;
2932
- children: string;
2933
- custom: boolean;
2934
- disabled: boolean;
2935
- }[];
2936
- settings?: {
2937
- preventAutoRedirect: boolean;
2938
- keywords: {
2939
- term: string;
2940
- isMain: boolean;
2941
- }[];
2942
- };
2943
- };
2944
- };
2165
+ project?: ProjectNonNullableFields$3;
2166
+ }
2167
+ interface ApplicationErrorNonNullableFields$1 {
2168
+ code: string;
2169
+ description: string;
2170
+ }
2171
+ interface ItemMetadataNonNullableFields$1 {
2172
+ originalIndex: number;
2173
+ success: boolean;
2174
+ error?: ApplicationErrorNonNullableFields$1;
2175
+ }
2176
+ interface BulkUpdateProjectsResultNonNullableFields$1 {
2177
+ itemMetadata?: ItemMetadataNonNullableFields$1;
2178
+ project?: ProjectNonNullableFields$3;
2179
+ }
2180
+ interface BulkActionMetadataNonNullableFields$1 {
2181
+ totalSuccesses: number;
2182
+ totalFailures: number;
2183
+ undetailedFailures: number;
2945
2184
  }
2946
2185
  interface BulkUpdateProjectsResponseNonNullableFields$1 {
2947
- results: {
2948
- itemMetadata?: {
2949
- originalIndex: number;
2950
- success: boolean;
2951
- error?: {
2952
- code: string;
2953
- description: string;
2954
- };
2955
- };
2956
- project?: {
2957
- coverImage?: {
2958
- type: ImageType$1;
2959
- imageInfo?: {
2960
- id: string;
2961
- url: string;
2962
- height: number;
2963
- width: number;
2964
- };
2965
- focalPoint?: {
2966
- x: number;
2967
- y: number;
2968
- };
2969
- };
2970
- coverVideo?: {
2971
- videoInfo?: {
2972
- id: string;
2973
- url: string;
2974
- resolutions: {
2975
- url: string;
2976
- height: number;
2977
- width: number;
2978
- poster?: {
2979
- id: string;
2980
- url: string;
2981
- height: number;
2982
- width: number;
2983
- };
2984
- format: string;
2985
- }[];
2986
- posters: {
2987
- id: string;
2988
- url: string;
2989
- height: number;
2990
- width: number;
2991
- }[];
2992
- };
2993
- };
2994
- collectionIds: string[];
2995
- details: {
2996
- text: string;
2997
- label: string;
2998
- }[];
2999
- source?: {
3000
- appDefId: string;
3001
- externalId: string;
3002
- sourceName: string;
3003
- syncStatus: SyncStatus$3;
3004
- notEditableFields: string[];
3005
- };
3006
- url?: {
3007
- relativePath: string;
3008
- };
3009
- seoData?: {
3010
- tags: {
3011
- type: string;
3012
- children: string;
3013
- custom: boolean;
3014
- disabled: boolean;
3015
- }[];
3016
- settings?: {
3017
- preventAutoRedirect: boolean;
3018
- keywords: {
3019
- term: string;
3020
- isMain: boolean;
3021
- }[];
3022
- };
3023
- };
3024
- };
3025
- }[];
3026
- bulkActionMetadata?: {
3027
- totalSuccesses: number;
3028
- totalFailures: number;
3029
- undetailedFailures: number;
3030
- };
2186
+ results: BulkUpdateProjectsResultNonNullableFields$1[];
2187
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
3031
2188
  }
3032
2189
  interface DeleteProjectResponseNonNullableFields$1 {
3033
2190
  projectId: string;
3034
2191
  }
3035
2192
  interface QueryProjectsResponseNonNullableFields$1 {
3036
- projects: {
3037
- coverImage?: {
3038
- type: ImageType$1;
3039
- imageInfo?: {
3040
- id: string;
3041
- url: string;
3042
- height: number;
3043
- width: number;
3044
- };
3045
- focalPoint?: {
3046
- x: number;
3047
- y: number;
3048
- };
3049
- };
3050
- coverVideo?: {
3051
- videoInfo?: {
3052
- id: string;
3053
- url: string;
3054
- resolutions: {
3055
- url: string;
3056
- height: number;
3057
- width: number;
3058
- poster?: {
3059
- id: string;
3060
- url: string;
3061
- height: number;
3062
- width: number;
3063
- };
3064
- format: string;
3065
- }[];
3066
- posters: {
3067
- id: string;
3068
- url: string;
3069
- height: number;
3070
- width: number;
3071
- }[];
3072
- };
3073
- };
3074
- collectionIds: string[];
3075
- details: {
3076
- text: string;
3077
- label: string;
3078
- }[];
3079
- source?: {
3080
- appDefId: string;
3081
- externalId: string;
3082
- sourceName: string;
3083
- syncStatus: SyncStatus$3;
3084
- notEditableFields: string[];
3085
- };
3086
- url?: {
3087
- relativePath: string;
3088
- };
3089
- seoData?: {
3090
- tags: {
3091
- type: string;
3092
- children: string;
3093
- custom: boolean;
3094
- disabled: boolean;
3095
- }[];
3096
- settings?: {
3097
- preventAutoRedirect: boolean;
3098
- keywords: {
3099
- term: string;
3100
- isMain: boolean;
3101
- }[];
3102
- };
3103
- };
3104
- }[];
2193
+ projects: ProjectNonNullableFields$3[];
2194
+ }
2195
+ interface ProjectInCollectionNonNullableFields$3 {
2196
+ collectionId: string;
2197
+ project?: ProjectNonNullableFields$3;
3105
2198
  }
3106
2199
  interface UpdateProjectOrderInCollectionResponseNonNullableFields$3 {
3107
- project?: {
3108
- collectionId: string;
3109
- project?: {
3110
- coverImage?: {
3111
- type: ImageType$1;
3112
- imageInfo?: {
3113
- id: string;
3114
- url: string;
3115
- height: number;
3116
- width: number;
3117
- };
3118
- focalPoint?: {
3119
- x: number;
3120
- y: number;
3121
- };
3122
- };
3123
- coverVideo?: {
3124
- videoInfo?: {
3125
- id: string;
3126
- url: string;
3127
- resolutions: {
3128
- url: string;
3129
- height: number;
3130
- width: number;
3131
- poster?: {
3132
- id: string;
3133
- url: string;
3134
- height: number;
3135
- width: number;
3136
- };
3137
- format: string;
3138
- }[];
3139
- posters: {
3140
- id: string;
3141
- url: string;
3142
- height: number;
3143
- width: number;
3144
- }[];
3145
- };
3146
- };
3147
- collectionIds: string[];
3148
- details: {
3149
- text: string;
3150
- label: string;
3151
- }[];
3152
- source?: {
3153
- appDefId: string;
3154
- externalId: string;
3155
- sourceName: string;
3156
- syncStatus: SyncStatus$3;
3157
- notEditableFields: string[];
3158
- };
3159
- url?: {
3160
- relativePath: string;
3161
- };
3162
- seoData?: {
3163
- tags: {
3164
- type: string;
3165
- children: string;
3166
- custom: boolean;
3167
- disabled: boolean;
3168
- }[];
3169
- settings?: {
3170
- preventAutoRedirect: boolean;
3171
- keywords: {
3172
- term: string;
3173
- isMain: boolean;
3174
- }[];
3175
- };
3176
- };
3177
- };
3178
- };
3179
- projectInCollection?: {
3180
- collectionId: string;
3181
- project?: {
3182
- coverImage?: {
3183
- type: ImageType$1;
3184
- imageInfo?: {
3185
- id: string;
3186
- url: string;
3187
- height: number;
3188
- width: number;
3189
- };
3190
- focalPoint?: {
3191
- x: number;
3192
- y: number;
3193
- };
3194
- };
3195
- coverVideo?: {
3196
- videoInfo?: {
3197
- id: string;
3198
- url: string;
3199
- resolutions: {
3200
- url: string;
3201
- height: number;
3202
- width: number;
3203
- poster?: {
3204
- id: string;
3205
- url: string;
3206
- height: number;
3207
- width: number;
3208
- };
3209
- format: string;
3210
- }[];
3211
- posters: {
3212
- id: string;
3213
- url: string;
3214
- height: number;
3215
- width: number;
3216
- }[];
3217
- };
3218
- };
3219
- collectionIds: string[];
3220
- details: {
3221
- text: string;
3222
- label: string;
3223
- }[];
3224
- source?: {
3225
- appDefId: string;
3226
- externalId: string;
3227
- sourceName: string;
3228
- syncStatus: SyncStatus$3;
3229
- notEditableFields: string[];
3230
- };
3231
- url?: {
3232
- relativePath: string;
3233
- };
3234
- seoData?: {
3235
- tags: {
3236
- type: string;
3237
- children: string;
3238
- custom: boolean;
3239
- disabled: boolean;
3240
- }[];
3241
- settings?: {
3242
- preventAutoRedirect: boolean;
3243
- keywords: {
3244
- term: string;
3245
- isMain: boolean;
3246
- }[];
3247
- };
3248
- };
3249
- };
3250
- };
2200
+ project?: ProjectInCollectionNonNullableFields$3;
2201
+ projectInCollection?: ProjectInCollectionNonNullableFields$3;
3251
2202
  }
3252
2203
  interface QueryProjectWithCollectionInfoResponseNonNullableFields$1 {
3253
- projects: {
3254
- collectionId: string;
3255
- project?: {
3256
- coverImage?: {
3257
- type: ImageType$1;
3258
- imageInfo?: {
3259
- id: string;
3260
- url: string;
3261
- height: number;
3262
- width: number;
3263
- };
3264
- focalPoint?: {
3265
- x: number;
3266
- y: number;
3267
- };
3268
- };
3269
- coverVideo?: {
3270
- videoInfo?: {
3271
- id: string;
3272
- url: string;
3273
- resolutions: {
3274
- url: string;
3275
- height: number;
3276
- width: number;
3277
- poster?: {
3278
- id: string;
3279
- url: string;
3280
- height: number;
3281
- width: number;
3282
- };
3283
- format: string;
3284
- }[];
3285
- posters: {
3286
- id: string;
3287
- url: string;
3288
- height: number;
3289
- width: number;
3290
- }[];
3291
- };
3292
- };
3293
- collectionIds: string[];
3294
- details: {
3295
- text: string;
3296
- label: string;
3297
- }[];
3298
- source?: {
3299
- appDefId: string;
3300
- externalId: string;
3301
- sourceName: string;
3302
- syncStatus: SyncStatus$3;
3303
- notEditableFields: string[];
3304
- };
3305
- url?: {
3306
- relativePath: string;
3307
- };
3308
- seoData?: {
3309
- tags: {
3310
- type: string;
3311
- children: string;
3312
- custom: boolean;
3313
- disabled: boolean;
3314
- }[];
3315
- settings?: {
3316
- preventAutoRedirect: boolean;
3317
- keywords: {
3318
- term: string;
3319
- isMain: boolean;
3320
- }[];
3321
- };
3322
- };
3323
- };
3324
- }[];
2204
+ projects: ProjectInCollectionNonNullableFields$3[];
3325
2205
  }
3326
2206
 
3327
2207
  /** Project is the main entity of ProjectsService */
@@ -3386,6 +2266,11 @@ interface Image$2 {
3386
2266
  /** Focal point of the image. */
3387
2267
  focalPoint?: Point$2;
3388
2268
  }
2269
+ declare enum ImageType$2 {
2270
+ UNDEFINED = "UNDEFINED",
2271
+ WIX_MEDIA = "WIX_MEDIA",
2272
+ EXTERNAL = "EXTERNAL"
2273
+ }
3389
2274
  interface Point$2 {
3390
2275
  /** X-coordinate of the focal point. */
3391
2276
  x?: number;
@@ -3421,6 +2306,11 @@ interface DetailsLink$2 {
3421
2306
  */
3422
2307
  target?: string | null;
3423
2308
  }
2309
+ declare enum SyncStatus$4 {
2310
+ SYNCED = "SYNCED",
2311
+ SYNCING = "SYNCING",
2312
+ NOT_SYNCED = "NOT_SYNCED"
2313
+ }
3424
2314
  /**
3425
2315
  * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
3426
2316
  * The search engines use this information for ranking purposes, or to display snippets in the search results.
@@ -3705,352 +2595,115 @@ interface QueryProjectWithCollectionInfoResponse {
3705
2595
  /** Paging metadata */
3706
2596
  metadata?: PagingMetadataV2$4;
3707
2597
  }
2598
+ interface PointNonNullableFields$2 {
2599
+ x: number;
2600
+ y: number;
2601
+ }
2602
+ interface ImageNonNullableFields$2 {
2603
+ type: ImageType$2;
2604
+ imageInfo: string;
2605
+ focalPoint?: PointNonNullableFields$2;
2606
+ }
2607
+ interface VideoNonNullableFields$2 {
2608
+ videoInfo: string;
2609
+ }
2610
+ interface ProjectDetailNonNullableFields$2 {
2611
+ text: string;
2612
+ label: string;
2613
+ }
2614
+ interface ProjectSourceNonNullableFields$2 {
2615
+ appDefId: string;
2616
+ externalId: string;
2617
+ sourceName: string;
2618
+ syncStatus: SyncStatus$4;
2619
+ notEditableFields: string[];
2620
+ }
2621
+ interface TagNonNullableFields$2 {
2622
+ type: string;
2623
+ children: string;
2624
+ custom: boolean;
2625
+ disabled: boolean;
2626
+ }
2627
+ interface KeywordNonNullableFields$2 {
2628
+ term: string;
2629
+ isMain: boolean;
2630
+ }
2631
+ interface SettingsNonNullableFields$2 {
2632
+ preventAutoRedirect: boolean;
2633
+ keywords: KeywordNonNullableFields$2[];
2634
+ }
2635
+ interface SeoSchemaNonNullableFields$2 {
2636
+ tags: TagNonNullableFields$2[];
2637
+ settings?: SettingsNonNullableFields$2;
2638
+ }
2639
+ interface ProjectNonNullableFields$2 {
2640
+ coverImage?: ImageNonNullableFields$2;
2641
+ coverVideo?: VideoNonNullableFields$2;
2642
+ collectionIds: string[];
2643
+ details: ProjectDetailNonNullableFields$2[];
2644
+ source?: ProjectSourceNonNullableFields$2;
2645
+ url: string;
2646
+ seoData?: SeoSchemaNonNullableFields$2;
2647
+ }
2648
+ interface ProjectSlugNonNullableFields {
2649
+ projectId: string;
2650
+ slug: string;
2651
+ }
3708
2652
  interface GetProjectPageDataResponseNonNullableFields {
3709
- project?: {
3710
- coverImage?: {
3711
- imageInfo: string;
3712
- focalPoint?: {
3713
- x: number;
3714
- y: number;
3715
- };
3716
- };
3717
- coverVideo?: {
3718
- videoInfo: string;
3719
- };
3720
- collectionIds: string[];
3721
- details: {
3722
- text: string;
3723
- label: string;
3724
- }[];
3725
- url: string;
3726
- seoData?: {
3727
- tags: {
3728
- type: string;
3729
- children: string;
3730
- custom: boolean;
3731
- disabled: boolean;
3732
- }[];
3733
- settings?: {
3734
- preventAutoRedirect: boolean;
3735
- keywords: {
3736
- term: string;
3737
- isMain: boolean;
3738
- }[];
3739
- };
3740
- };
3741
- };
3742
- previousProject?: {
3743
- projectId: string;
3744
- slug: string;
3745
- };
3746
- nextProject?: {
3747
- projectId: string;
3748
- slug: string;
3749
- };
2653
+ project?: ProjectNonNullableFields$2;
2654
+ previousProject?: ProjectSlugNonNullableFields;
2655
+ nextProject?: ProjectSlugNonNullableFields;
3750
2656
  }
3751
2657
  interface CreateProjectResponseNonNullableFields {
3752
- project?: {
3753
- coverImage?: {
3754
- imageInfo: string;
3755
- focalPoint?: {
3756
- x: number;
3757
- y: number;
3758
- };
3759
- };
3760
- coverVideo?: {
3761
- videoInfo: string;
3762
- };
3763
- collectionIds: string[];
3764
- details: {
3765
- text: string;
3766
- label: string;
3767
- }[];
3768
- url: string;
3769
- seoData?: {
3770
- tags: {
3771
- type: string;
3772
- children: string;
3773
- custom: boolean;
3774
- disabled: boolean;
3775
- }[];
3776
- settings?: {
3777
- preventAutoRedirect: boolean;
3778
- keywords: {
3779
- term: string;
3780
- isMain: boolean;
3781
- }[];
3782
- };
3783
- };
3784
- };
2658
+ project?: ProjectNonNullableFields$2;
3785
2659
  }
3786
2660
  interface GetProjectResponseNonNullableFields {
3787
- project?: {
3788
- coverImage?: {
3789
- imageInfo: string;
3790
- focalPoint?: {
3791
- x: number;
3792
- y: number;
3793
- };
3794
- };
3795
- coverVideo?: {
3796
- videoInfo: string;
3797
- };
3798
- collectionIds: string[];
3799
- details: {
3800
- text: string;
3801
- label: string;
3802
- }[];
3803
- url: string;
3804
- seoData?: {
3805
- tags: {
3806
- type: string;
3807
- children: string;
3808
- custom: boolean;
3809
- disabled: boolean;
3810
- }[];
3811
- settings?: {
3812
- preventAutoRedirect: boolean;
3813
- keywords: {
3814
- term: string;
3815
- isMain: boolean;
3816
- }[];
3817
- };
3818
- };
3819
- };
2661
+ project?: ProjectNonNullableFields$2;
3820
2662
  }
3821
2663
  interface ListProjectsResponseNonNullableFields {
3822
- projects: {
3823
- coverImage?: {
3824
- imageInfo: string;
3825
- focalPoint?: {
3826
- x: number;
3827
- y: number;
3828
- };
3829
- };
3830
- coverVideo?: {
3831
- videoInfo: string;
3832
- };
3833
- collectionIds: string[];
3834
- details: {
3835
- text: string;
3836
- label: string;
3837
- }[];
3838
- url: string;
3839
- seoData?: {
3840
- tags: {
3841
- type: string;
3842
- children: string;
3843
- custom: boolean;
3844
- disabled: boolean;
3845
- }[];
3846
- settings?: {
3847
- preventAutoRedirect: boolean;
3848
- keywords: {
3849
- term: string;
3850
- isMain: boolean;
3851
- }[];
3852
- };
3853
- };
3854
- }[];
2664
+ projects: ProjectNonNullableFields$2[];
3855
2665
  }
3856
2666
  interface UpdateProjectResponseNonNullableFields {
3857
- project?: {
3858
- coverImage?: {
3859
- imageInfo: string;
3860
- focalPoint?: {
3861
- x: number;
3862
- y: number;
3863
- };
3864
- };
3865
- coverVideo?: {
3866
- videoInfo: string;
3867
- };
3868
- collectionIds: string[];
3869
- details: {
3870
- text: string;
3871
- label: string;
3872
- }[];
3873
- url: string;
3874
- seoData?: {
3875
- tags: {
3876
- type: string;
3877
- children: string;
3878
- custom: boolean;
3879
- disabled: boolean;
3880
- }[];
3881
- settings?: {
3882
- preventAutoRedirect: boolean;
3883
- keywords: {
3884
- term: string;
3885
- isMain: boolean;
3886
- }[];
3887
- };
3888
- };
3889
- };
2667
+ project?: ProjectNonNullableFields$2;
2668
+ }
2669
+ interface ApplicationErrorNonNullableFields {
2670
+ code: string;
2671
+ description: string;
2672
+ }
2673
+ interface ItemMetadataNonNullableFields {
2674
+ originalIndex: number;
2675
+ success: boolean;
2676
+ error?: ApplicationErrorNonNullableFields;
2677
+ }
2678
+ interface BulkUpdateProjectsResultNonNullableFields {
2679
+ itemMetadata?: ItemMetadataNonNullableFields;
2680
+ project?: ProjectNonNullableFields$2;
2681
+ }
2682
+ interface BulkActionMetadataNonNullableFields {
2683
+ totalSuccesses: number;
2684
+ totalFailures: number;
2685
+ undetailedFailures: number;
3890
2686
  }
3891
2687
  interface BulkUpdateProjectsResponseNonNullableFields {
3892
- results: {
3893
- itemMetadata?: {
3894
- originalIndex: number;
3895
- success: boolean;
3896
- error?: {
3897
- code: string;
3898
- description: string;
3899
- };
3900
- };
3901
- project?: {
3902
- coverImage?: {
3903
- imageInfo: string;
3904
- focalPoint?: {
3905
- x: number;
3906
- y: number;
3907
- };
3908
- };
3909
- coverVideo?: {
3910
- videoInfo: string;
3911
- };
3912
- collectionIds: string[];
3913
- details: {
3914
- text: string;
3915
- label: string;
3916
- }[];
3917
- url: string;
3918
- seoData?: {
3919
- tags: {
3920
- type: string;
3921
- children: string;
3922
- custom: boolean;
3923
- disabled: boolean;
3924
- }[];
3925
- settings?: {
3926
- preventAutoRedirect: boolean;
3927
- keywords: {
3928
- term: string;
3929
- isMain: boolean;
3930
- }[];
3931
- };
3932
- };
3933
- };
3934
- }[];
3935
- bulkActionMetadata?: {
3936
- totalSuccesses: number;
3937
- totalFailures: number;
3938
- undetailedFailures: number;
3939
- };
2688
+ results: BulkUpdateProjectsResultNonNullableFields[];
2689
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
3940
2690
  }
3941
2691
  interface DeleteProjectResponseNonNullableFields {
3942
2692
  projectId: string;
3943
2693
  }
3944
2694
  interface QueryProjectsResponseNonNullableFields {
3945
- projects: {
3946
- coverImage?: {
3947
- imageInfo: string;
3948
- focalPoint?: {
3949
- x: number;
3950
- y: number;
3951
- };
3952
- };
3953
- coverVideo?: {
3954
- videoInfo: string;
3955
- };
3956
- collectionIds: string[];
3957
- details: {
3958
- text: string;
3959
- label: string;
3960
- }[];
3961
- url: string;
3962
- seoData?: {
3963
- tags: {
3964
- type: string;
3965
- children: string;
3966
- custom: boolean;
3967
- disabled: boolean;
3968
- }[];
3969
- settings?: {
3970
- preventAutoRedirect: boolean;
3971
- keywords: {
3972
- term: string;
3973
- isMain: boolean;
3974
- }[];
3975
- };
3976
- };
3977
- }[];
2695
+ projects: ProjectNonNullableFields$2[];
2696
+ }
2697
+ interface ProjectInCollectionNonNullableFields$2 {
2698
+ collectionId: string;
2699
+ project?: ProjectNonNullableFields$2;
3978
2700
  }
3979
2701
  interface UpdateProjectOrderInCollectionResponseNonNullableFields$2 {
3980
- projectInCollection?: {
3981
- collectionId: string;
3982
- project?: {
3983
- coverImage?: {
3984
- imageInfo: string;
3985
- focalPoint?: {
3986
- x: number;
3987
- y: number;
3988
- };
3989
- };
3990
- coverVideo?: {
3991
- videoInfo: string;
3992
- };
3993
- collectionIds: string[];
3994
- details: {
3995
- text: string;
3996
- label: string;
3997
- }[];
3998
- url: string;
3999
- seoData?: {
4000
- tags: {
4001
- type: string;
4002
- children: string;
4003
- custom: boolean;
4004
- disabled: boolean;
4005
- }[];
4006
- settings?: {
4007
- preventAutoRedirect: boolean;
4008
- keywords: {
4009
- term: string;
4010
- isMain: boolean;
4011
- }[];
4012
- };
4013
- };
4014
- };
4015
- };
2702
+ project?: ProjectInCollectionNonNullableFields$2;
2703
+ projectInCollection?: ProjectInCollectionNonNullableFields$2;
4016
2704
  }
4017
2705
  interface QueryProjectWithCollectionInfoResponseNonNullableFields {
4018
- projects: {
4019
- collectionId: string;
4020
- project?: {
4021
- coverImage?: {
4022
- imageInfo: string;
4023
- focalPoint?: {
4024
- x: number;
4025
- y: number;
4026
- };
4027
- };
4028
- coverVideo?: {
4029
- videoInfo: string;
4030
- };
4031
- collectionIds: string[];
4032
- details: {
4033
- text: string;
4034
- label: string;
4035
- }[];
4036
- url: string;
4037
- seoData?: {
4038
- tags: {
4039
- type: string;
4040
- children: string;
4041
- custom: boolean;
4042
- disabled: boolean;
4043
- }[];
4044
- settings?: {
4045
- preventAutoRedirect: boolean;
4046
- keywords: {
4047
- term: string;
4048
- isMain: boolean;
4049
- }[];
4050
- };
4051
- };
4052
- };
4053
- }[];
2706
+ projects: ProjectInCollectionNonNullableFields$2[];
4054
2707
  }
4055
2708
 
4056
2709
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -4169,7 +2822,7 @@ interface Image$1 {
4169
2822
  /** Focal point of the image. */
4170
2823
  focalPoint?: Point$1;
4171
2824
  }
4172
- declare enum ImageType {
2825
+ declare enum ImageType$1 {
4173
2826
  UNDEFINED = "UNDEFINED",
4174
2827
  WIX_MEDIA = "WIX_MEDIA",
4175
2828
  EXTERNAL = "EXTERNAL"
@@ -4252,7 +2905,7 @@ interface DetailsLink$1 {
4252
2905
  */
4253
2906
  target?: string | null;
4254
2907
  }
4255
- declare enum SyncStatus$2 {
2908
+ declare enum SyncStatus$3 {
4256
2909
  SYNCED = "SYNCED",
4257
2910
  SYNCING = "SYNCING",
4258
2911
  NOT_SYNCED = "NOT_SYNCED"
@@ -4413,225 +3066,88 @@ interface UpdateProjectOrderInCollectionResponse$1 {
4413
3066
  /** project with new sort order set */
4414
3067
  projectInCollection?: ProjectInCollection$1;
4415
3068
  }
3069
+ interface CommonImageNonNullableFields {
3070
+ id: string;
3071
+ url: string;
3072
+ height: number;
3073
+ width: number;
3074
+ }
3075
+ interface PointNonNullableFields$1 {
3076
+ x: number;
3077
+ y: number;
3078
+ }
3079
+ interface ImageNonNullableFields$1 {
3080
+ type: ImageType$1;
3081
+ imageInfo?: CommonImageNonNullableFields;
3082
+ focalPoint?: PointNonNullableFields$1;
3083
+ }
3084
+ interface VideoResolutionNonNullableFields {
3085
+ url: string;
3086
+ height: number;
3087
+ width: number;
3088
+ poster?: CommonImageNonNullableFields;
3089
+ format: string;
3090
+ }
3091
+ interface VideoV2NonNullableFields {
3092
+ id: string;
3093
+ url: string;
3094
+ resolutions: VideoResolutionNonNullableFields[];
3095
+ posters: CommonImageNonNullableFields[];
3096
+ }
3097
+ interface VideoNonNullableFields$1 {
3098
+ videoInfo?: VideoV2NonNullableFields;
3099
+ }
3100
+ interface ProjectDetailNonNullableFields$1 {
3101
+ text: string;
3102
+ label: string;
3103
+ }
3104
+ interface ProjectSourceNonNullableFields$1 {
3105
+ appDefId: string;
3106
+ externalId: string;
3107
+ sourceName: string;
3108
+ syncStatus: SyncStatus$3;
3109
+ notEditableFields: string[];
3110
+ }
3111
+ interface PageUrlV2NonNullableFields {
3112
+ relativePath: string;
3113
+ }
3114
+ interface TagNonNullableFields$1 {
3115
+ type: string;
3116
+ children: string;
3117
+ custom: boolean;
3118
+ disabled: boolean;
3119
+ }
3120
+ interface KeywordNonNullableFields$1 {
3121
+ term: string;
3122
+ isMain: boolean;
3123
+ }
3124
+ interface SettingsNonNullableFields$1 {
3125
+ preventAutoRedirect: boolean;
3126
+ keywords: KeywordNonNullableFields$1[];
3127
+ }
3128
+ interface SeoSchemaNonNullableFields$1 {
3129
+ tags: TagNonNullableFields$1[];
3130
+ settings?: SettingsNonNullableFields$1;
3131
+ }
3132
+ interface ProjectNonNullableFields$1 {
3133
+ coverImage?: ImageNonNullableFields$1;
3134
+ coverVideo?: VideoNonNullableFields$1;
3135
+ collectionIds: string[];
3136
+ details: ProjectDetailNonNullableFields$1[];
3137
+ source?: ProjectSourceNonNullableFields$1;
3138
+ url?: PageUrlV2NonNullableFields;
3139
+ seoData?: SeoSchemaNonNullableFields$1;
3140
+ }
3141
+ interface ProjectInCollectionNonNullableFields$1 {
3142
+ collectionId: string;
3143
+ project?: ProjectNonNullableFields$1;
3144
+ }
4416
3145
  interface QueryProjectInCollectionsResponseNonNullableFields$1 {
4417
- projectInCollections: {
4418
- collectionId: string;
4419
- project?: {
4420
- coverImage?: {
4421
- type: ImageType;
4422
- imageInfo?: {
4423
- id: string;
4424
- url: string;
4425
- height: number;
4426
- width: number;
4427
- };
4428
- focalPoint?: {
4429
- x: number;
4430
- y: number;
4431
- };
4432
- };
4433
- coverVideo?: {
4434
- videoInfo?: {
4435
- id: string;
4436
- url: string;
4437
- resolutions: {
4438
- url: string;
4439
- height: number;
4440
- width: number;
4441
- poster?: {
4442
- id: string;
4443
- url: string;
4444
- height: number;
4445
- width: number;
4446
- };
4447
- format: string;
4448
- }[];
4449
- posters: {
4450
- id: string;
4451
- url: string;
4452
- height: number;
4453
- width: number;
4454
- }[];
4455
- };
4456
- };
4457
- collectionIds: string[];
4458
- details: {
4459
- text: string;
4460
- label: string;
4461
- }[];
4462
- source?: {
4463
- appDefId: string;
4464
- externalId: string;
4465
- sourceName: string;
4466
- syncStatus: SyncStatus$2;
4467
- notEditableFields: string[];
4468
- };
4469
- url?: {
4470
- relativePath: string;
4471
- };
4472
- seoData?: {
4473
- tags: {
4474
- type: string;
4475
- children: string;
4476
- custom: boolean;
4477
- disabled: boolean;
4478
- }[];
4479
- settings?: {
4480
- preventAutoRedirect: boolean;
4481
- keywords: {
4482
- term: string;
4483
- isMain: boolean;
4484
- }[];
4485
- };
4486
- };
4487
- };
4488
- }[];
3146
+ projectInCollections: ProjectInCollectionNonNullableFields$1[];
4489
3147
  }
4490
3148
  interface UpdateProjectOrderInCollectionResponseNonNullableFields$1 {
4491
- project?: {
4492
- collectionId: string;
4493
- project?: {
4494
- coverImage?: {
4495
- type: ImageType;
4496
- imageInfo?: {
4497
- id: string;
4498
- url: string;
4499
- height: number;
4500
- width: number;
4501
- };
4502
- focalPoint?: {
4503
- x: number;
4504
- y: number;
4505
- };
4506
- };
4507
- coverVideo?: {
4508
- videoInfo?: {
4509
- id: string;
4510
- url: string;
4511
- resolutions: {
4512
- url: string;
4513
- height: number;
4514
- width: number;
4515
- poster?: {
4516
- id: string;
4517
- url: string;
4518
- height: number;
4519
- width: number;
4520
- };
4521
- format: string;
4522
- }[];
4523
- posters: {
4524
- id: string;
4525
- url: string;
4526
- height: number;
4527
- width: number;
4528
- }[];
4529
- };
4530
- };
4531
- collectionIds: string[];
4532
- details: {
4533
- text: string;
4534
- label: string;
4535
- }[];
4536
- source?: {
4537
- appDefId: string;
4538
- externalId: string;
4539
- sourceName: string;
4540
- syncStatus: SyncStatus$2;
4541
- notEditableFields: string[];
4542
- };
4543
- url?: {
4544
- relativePath: string;
4545
- };
4546
- seoData?: {
4547
- tags: {
4548
- type: string;
4549
- children: string;
4550
- custom: boolean;
4551
- disabled: boolean;
4552
- }[];
4553
- settings?: {
4554
- preventAutoRedirect: boolean;
4555
- keywords: {
4556
- term: string;
4557
- isMain: boolean;
4558
- }[];
4559
- };
4560
- };
4561
- };
4562
- };
4563
- projectInCollection?: {
4564
- collectionId: string;
4565
- project?: {
4566
- coverImage?: {
4567
- type: ImageType;
4568
- imageInfo?: {
4569
- id: string;
4570
- url: string;
4571
- height: number;
4572
- width: number;
4573
- };
4574
- focalPoint?: {
4575
- x: number;
4576
- y: number;
4577
- };
4578
- };
4579
- coverVideo?: {
4580
- videoInfo?: {
4581
- id: string;
4582
- url: string;
4583
- resolutions: {
4584
- url: string;
4585
- height: number;
4586
- width: number;
4587
- poster?: {
4588
- id: string;
4589
- url: string;
4590
- height: number;
4591
- width: number;
4592
- };
4593
- format: string;
4594
- }[];
4595
- posters: {
4596
- id: string;
4597
- url: string;
4598
- height: number;
4599
- width: number;
4600
- }[];
4601
- };
4602
- };
4603
- collectionIds: string[];
4604
- details: {
4605
- text: string;
4606
- label: string;
4607
- }[];
4608
- source?: {
4609
- appDefId: string;
4610
- externalId: string;
4611
- sourceName: string;
4612
- syncStatus: SyncStatus$2;
4613
- notEditableFields: string[];
4614
- };
4615
- url?: {
4616
- relativePath: string;
4617
- };
4618
- seoData?: {
4619
- tags: {
4620
- type: string;
4621
- children: string;
4622
- custom: boolean;
4623
- disabled: boolean;
4624
- }[];
4625
- settings?: {
4626
- preventAutoRedirect: boolean;
4627
- keywords: {
4628
- term: string;
4629
- isMain: boolean;
4630
- }[];
4631
- };
4632
- };
4633
- };
4634
- };
3149
+ project?: ProjectInCollectionNonNullableFields$1;
3150
+ projectInCollection?: ProjectInCollectionNonNullableFields$1;
4635
3151
  }
4636
3152
 
4637
3153
  interface ProjectInCollection {
@@ -4704,6 +3220,11 @@ interface Image {
4704
3220
  /** Focal point of the image. */
4705
3221
  focalPoint?: Point;
4706
3222
  }
3223
+ declare enum ImageType {
3224
+ UNDEFINED = "UNDEFINED",
3225
+ WIX_MEDIA = "WIX_MEDIA",
3226
+ EXTERNAL = "EXTERNAL"
3227
+ }
4707
3228
  interface Point {
4708
3229
  /** X-coordinate of the focal point. */
4709
3230
  x?: number;
@@ -4739,6 +3260,11 @@ interface DetailsLink {
4739
3260
  */
4740
3261
  target?: string | null;
4741
3262
  }
3263
+ declare enum SyncStatus$2 {
3264
+ SYNCED = "SYNCED",
3265
+ SYNCING = "SYNCING",
3266
+ NOT_SYNCED = "NOT_SYNCED"
3267
+ }
4742
3268
  /**
4743
3269
  * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
4744
3270
  * The search engines use this information for ranking purposes, or to display snippets in the search results.
@@ -4889,81 +3415,66 @@ interface UpdateProjectOrderInCollectionResponse {
4889
3415
  /** project with new sort order set */
4890
3416
  projectInCollection?: ProjectInCollection;
4891
3417
  }
3418
+ interface PointNonNullableFields {
3419
+ x: number;
3420
+ y: number;
3421
+ }
3422
+ interface ImageNonNullableFields {
3423
+ type: ImageType;
3424
+ imageInfo: string;
3425
+ focalPoint?: PointNonNullableFields;
3426
+ }
3427
+ interface VideoNonNullableFields {
3428
+ videoInfo: string;
3429
+ }
3430
+ interface ProjectDetailNonNullableFields {
3431
+ text: string;
3432
+ label: string;
3433
+ }
3434
+ interface ProjectSourceNonNullableFields {
3435
+ appDefId: string;
3436
+ externalId: string;
3437
+ sourceName: string;
3438
+ syncStatus: SyncStatus$2;
3439
+ notEditableFields: string[];
3440
+ }
3441
+ interface TagNonNullableFields {
3442
+ type: string;
3443
+ children: string;
3444
+ custom: boolean;
3445
+ disabled: boolean;
3446
+ }
3447
+ interface KeywordNonNullableFields {
3448
+ term: string;
3449
+ isMain: boolean;
3450
+ }
3451
+ interface SettingsNonNullableFields {
3452
+ preventAutoRedirect: boolean;
3453
+ keywords: KeywordNonNullableFields[];
3454
+ }
3455
+ interface SeoSchemaNonNullableFields {
3456
+ tags: TagNonNullableFields[];
3457
+ settings?: SettingsNonNullableFields;
3458
+ }
3459
+ interface ProjectNonNullableFields {
3460
+ coverImage?: ImageNonNullableFields;
3461
+ coverVideo?: VideoNonNullableFields;
3462
+ collectionIds: string[];
3463
+ details: ProjectDetailNonNullableFields[];
3464
+ source?: ProjectSourceNonNullableFields;
3465
+ url: string;
3466
+ seoData?: SeoSchemaNonNullableFields;
3467
+ }
3468
+ interface ProjectInCollectionNonNullableFields {
3469
+ collectionId: string;
3470
+ project?: ProjectNonNullableFields;
3471
+ }
4892
3472
  interface QueryProjectInCollectionsResponseNonNullableFields {
4893
- projectInCollections: {
4894
- collectionId: string;
4895
- project?: {
4896
- coverImage?: {
4897
- imageInfo: string;
4898
- focalPoint?: {
4899
- x: number;
4900
- y: number;
4901
- };
4902
- };
4903
- coverVideo?: {
4904
- videoInfo: string;
4905
- };
4906
- collectionIds: string[];
4907
- details: {
4908
- text: string;
4909
- label: string;
4910
- }[];
4911
- url: string;
4912
- seoData?: {
4913
- tags: {
4914
- type: string;
4915
- children: string;
4916
- custom: boolean;
4917
- disabled: boolean;
4918
- }[];
4919
- settings?: {
4920
- preventAutoRedirect: boolean;
4921
- keywords: {
4922
- term: string;
4923
- isMain: boolean;
4924
- }[];
4925
- };
4926
- };
4927
- };
4928
- }[];
3473
+ projectInCollections: ProjectInCollectionNonNullableFields[];
4929
3474
  }
4930
3475
  interface UpdateProjectOrderInCollectionResponseNonNullableFields {
4931
- projectInCollection?: {
4932
- collectionId: string;
4933
- project?: {
4934
- coverImage?: {
4935
- imageInfo: string;
4936
- focalPoint?: {
4937
- x: number;
4938
- y: number;
4939
- };
4940
- };
4941
- coverVideo?: {
4942
- videoInfo: string;
4943
- };
4944
- collectionIds: string[];
4945
- details: {
4946
- text: string;
4947
- label: string;
4948
- }[];
4949
- url: string;
4950
- seoData?: {
4951
- tags: {
4952
- type: string;
4953
- children: string;
4954
- custom: boolean;
4955
- disabled: boolean;
4956
- }[];
4957
- settings?: {
4958
- preventAutoRedirect: boolean;
4959
- keywords: {
4960
- term: string;
4961
- isMain: boolean;
4962
- }[];
4963
- };
4964
- };
4965
- };
4966
- };
3476
+ project?: ProjectInCollectionNonNullableFields;
3477
+ projectInCollection?: ProjectInCollectionNonNullableFields;
4967
3478
  }
4968
3479
 
4969
3480
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -5106,19 +3617,16 @@ interface GetLoginRedirectableUrlResponse$1 {
5106
3617
  /** Login url */
5107
3618
  url?: string;
5108
3619
  }
3620
+ interface SyncedProjectNonNullableFields$1 {
3621
+ externalId: string;
3622
+ mediaCount: number;
3623
+ status: SyncStatus$1;
3624
+ }
5109
3625
  interface GetProjectsResponseNonNullableFields$1 {
5110
- projects: {
5111
- externalId: string;
5112
- mediaCount: number;
5113
- status: SyncStatus$1;
5114
- }[];
3626
+ projects: SyncedProjectNonNullableFields$1[];
5115
3627
  }
5116
3628
  interface SyncProjectResponseNonNullableFields$1 {
5117
- project?: {
5118
- externalId: string;
5119
- mediaCount: number;
5120
- status: SyncStatus$1;
5121
- };
3629
+ project?: SyncedProjectNonNullableFields$1;
5122
3630
  }
5123
3631
  interface GetSyncStatusResponseNonNullableFields$1 {
5124
3632
  appDefId: string;
@@ -5252,19 +3760,16 @@ interface GetLoginRedirectableUrlResponse {
5252
3760
  /** Login url */
5253
3761
  url?: string;
5254
3762
  }
3763
+ interface SyncedProjectNonNullableFields {
3764
+ externalId: string;
3765
+ mediaCount: number;
3766
+ status: SyncStatus;
3767
+ }
5255
3768
  interface GetProjectsResponseNonNullableFields {
5256
- projects: {
5257
- externalId: string;
5258
- mediaCount: number;
5259
- status: SyncStatus;
5260
- }[];
3769
+ projects: SyncedProjectNonNullableFields[];
5261
3770
  }
5262
3771
  interface SyncProjectResponseNonNullableFields {
5263
- project?: {
5264
- externalId: string;
5265
- mediaCount: number;
5266
- status: SyncStatus;
5267
- };
3772
+ project?: SyncedProjectNonNullableFields;
5268
3773
  }
5269
3774
  interface GetSyncStatusResponseNonNullableFields {
5270
3775
  appDefId: string;