@wix/pro-gallery 1.0.31 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/build/cjs/index.js +5 -1
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +1 -0
  4. package/build/cjs/index.typings.js +28 -0
  5. package/build/cjs/index.typings.js.map +1 -0
  6. package/build/cjs/meta.d.ts +1 -0
  7. package/build/cjs/meta.js +28 -0
  8. package/build/cjs/meta.js.map +1 -0
  9. package/build/cjs/src/pro-gallery-v2-gallery.http.d.ts +11 -11
  10. package/build/cjs/src/pro-gallery-v2-gallery.http.js +464 -240
  11. package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +1 -1
  12. package/build/cjs/src/pro-gallery-v2-gallery.meta.d.ts +41 -0
  13. package/build/cjs/src/pro-gallery-v2-gallery.meta.js +218 -0
  14. package/build/cjs/src/pro-gallery-v2-gallery.meta.js.map +1 -0
  15. package/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +114 -12
  16. package/build/cjs/src/pro-gallery-v2-gallery.public.js +2 -1
  17. package/build/cjs/src/pro-gallery-v2-gallery.public.js.map +1 -1
  18. package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +987 -69
  19. package/build/cjs/src/pro-gallery-v2-gallery.types.js +26 -8
  20. package/build/cjs/src/pro-gallery-v2-gallery.types.js.map +1 -1
  21. package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +299 -75
  22. package/build/cjs/src/pro-gallery-v2-gallery.universal.js +124 -44
  23. package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +1 -1
  24. package/build/es/index.typings.d.ts +1 -0
  25. package/build/es/index.typings.js +2 -0
  26. package/build/es/index.typings.js.map +1 -0
  27. package/build/es/meta.d.ts +1 -0
  28. package/build/es/meta.js +2 -0
  29. package/build/es/meta.js.map +1 -0
  30. package/build/es/src/pro-gallery-v2-gallery.http.d.ts +11 -11
  31. package/build/es/src/pro-gallery-v2-gallery.http.js +464 -240
  32. package/build/es/src/pro-gallery-v2-gallery.http.js.map +1 -1
  33. package/build/es/src/pro-gallery-v2-gallery.meta.d.ts +41 -0
  34. package/build/es/src/pro-gallery-v2-gallery.meta.js +182 -0
  35. package/build/es/src/pro-gallery-v2-gallery.meta.js.map +1 -0
  36. package/build/es/src/pro-gallery-v2-gallery.public.d.ts +114 -12
  37. package/build/es/src/pro-gallery-v2-gallery.public.js +1 -1
  38. package/build/es/src/pro-gallery-v2-gallery.public.js.map +1 -1
  39. package/build/es/src/pro-gallery-v2-gallery.types.d.ts +987 -69
  40. package/build/es/src/pro-gallery-v2-gallery.types.js +18 -0
  41. package/build/es/src/pro-gallery-v2-gallery.types.js.map +1 -1
  42. package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +299 -75
  43. package/build/es/src/pro-gallery-v2-gallery.universal.js +112 -36
  44. package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -1
  45. package/meta/package.json +6 -0
  46. package/package.json +11 -6
@@ -108,6 +108,8 @@ export interface WixLink extends WixLinkLinkOneOf {
108
108
  address?: AddressLink;
109
109
  /** WhatsApp link type */
110
110
  whatsApp?: WhatsAppLink;
111
+ /** TPA link type */
112
+ tpaPage?: TpaPageLink;
111
113
  }
112
114
  /** @oneof */
113
115
  export interface WixLinkLinkOneOf {
@@ -129,6 +131,8 @@ export interface WixLinkLinkOneOf {
129
131
  address?: AddressLink;
130
132
  /** WhatsApp link type */
131
133
  whatsApp?: WhatsAppLink;
134
+ /** TPA link type */
135
+ tpaPage?: TpaPageLink;
132
136
  }
133
137
  export interface ExternalLink {
134
138
  /** The url of the page */
@@ -141,6 +145,25 @@ export interface PageLink {
141
145
  pageId?: string;
142
146
  /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
143
147
  target?: string | null;
148
+ /** rel of link */
149
+ rel?: LinkRel[];
150
+ }
151
+ /**
152
+ * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
153
+ * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
154
+ * Following are the accepted 'rel' types by Wix applications.
155
+ */
156
+ export declare enum LinkRel {
157
+ /** default (not implemented) */
158
+ unknown_link_rel = "unknown_link_rel",
159
+ /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
160
+ nofollow = "nofollow",
161
+ /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
162
+ noopener = "noopener",
163
+ /** No Referer header will be included. Additionally, has the same effect as noopener. */
164
+ noreferrer = "noreferrer",
165
+ /** Indicates a link that resulted from advertisements or paid placements. */
166
+ sponsored = "sponsored"
144
167
  }
145
168
  export interface AnchorLink {
146
169
  /** The name of the anchor */
@@ -149,6 +172,8 @@ export interface AnchorLink {
149
172
  anchorDataId?: string;
150
173
  /** The page id we want from the site */
151
174
  pageId?: string;
175
+ /** rel of link */
176
+ rel?: LinkRel[];
152
177
  }
153
178
  export interface DynamicPageLink {
154
179
  /** The router that handles this link */
@@ -157,6 +182,8 @@ export interface DynamicPageLink {
157
182
  innerRoute?: string;
158
183
  /** The data id (from the JSON page) of the anchor that should be used */
159
184
  anchorDataId?: string | null;
185
+ /** rel of link */
186
+ rel?: LinkRel[];
160
187
  }
161
188
  export interface DocumentLink {
162
189
  /** The id of the document */
@@ -186,6 +213,21 @@ export interface WhatsAppLink {
186
213
  /** The whatsApp phone number we want to connect with */
187
214
  phoneNumber?: string;
188
215
  }
216
+ /** Link to a TPA page */
217
+ export interface TpaPageLink {
218
+ /** Type of item (e.g. 'wix.stores.sub_pages.product') */
219
+ itemTypeIdentifier?: string;
220
+ /** Id of linked item */
221
+ itemId?: string;
222
+ /** Id of linked page */
223
+ pageId?: string;
224
+ /** Id of app being linked to (AppDefId) */
225
+ appDefinitionId?: string;
226
+ /** The relativepath of linked page */
227
+ path?: string;
228
+ /** rel of link */
229
+ rel?: LinkRel[];
230
+ }
189
231
  export declare enum Type {
190
232
  UNDEFINED = "UNDEFINED",
191
233
  IMAGE = "IMAGE",
@@ -448,6 +490,73 @@ export interface HtmlSiteRCPublished {
448
490
  /** Optional branch Id */
449
491
  branchId?: string | null;
450
492
  }
493
+ export interface DomainEvent extends DomainEventBodyOneOf {
494
+ createdEvent?: EntityCreatedEvent;
495
+ updatedEvent?: EntityUpdatedEvent;
496
+ deletedEvent?: EntityDeletedEvent;
497
+ actionEvent?: ActionEvent;
498
+ /**
499
+ * Unique event ID.
500
+ * Allows clients to ignore duplicate webhooks.
501
+ */
502
+ id?: string;
503
+ /**
504
+ * Assumes actions are also always typed to an entity_type
505
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
506
+ */
507
+ entityFqdn?: string;
508
+ /**
509
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
510
+ * This is although the created/updated/deleted notion is duplication of the oneof types
511
+ * Example: created/updated/deleted/started/completed/email_opened
512
+ */
513
+ slug?: string;
514
+ /** ID of the entity associated with the event. */
515
+ entityId?: string;
516
+ /** Event timestamp. */
517
+ eventTime?: Date;
518
+ /**
519
+ * Whether the event was triggered as a result of a privacy regulation application
520
+ * (for example, GDPR).
521
+ */
522
+ triggeredByAnonymizeRequest?: boolean | null;
523
+ /** If present, indicates the action that triggered the event. */
524
+ originatedFrom?: string | null;
525
+ /**
526
+ * A sequence number defining the order of updates to the underlying entity.
527
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
528
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
529
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
530
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
531
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
532
+ */
533
+ entityEventSequence?: string | null;
534
+ }
535
+ /** @oneof */
536
+ export interface DomainEventBodyOneOf {
537
+ createdEvent?: EntityCreatedEvent;
538
+ updatedEvent?: EntityUpdatedEvent;
539
+ deletedEvent?: EntityDeletedEvent;
540
+ actionEvent?: ActionEvent;
541
+ }
542
+ export interface EntityCreatedEvent {
543
+ entityAsJson?: string;
544
+ }
545
+ export interface EntityUpdatedEvent {
546
+ /**
547
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
548
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
549
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
550
+ */
551
+ currentEntityAsJson?: string;
552
+ }
553
+ export interface EntityDeletedEvent {
554
+ /** Entity that was deleted */
555
+ deletedEntityAsJson?: string | null;
556
+ }
557
+ export interface ActionEvent {
558
+ bodyAsJson?: string;
559
+ }
451
560
  export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
452
561
  /** insert/update documents */
453
562
  update?: DocumentUpdateOperation;
@@ -496,6 +605,8 @@ export interface IndexDocument {
496
605
  permittedMemberGroups?: string[];
497
606
  /** if true SEO is disabled for this document */
498
607
  seoHidden?: boolean | null;
608
+ /** if true the page is a lightbox popup */
609
+ isPopup?: boolean | null;
499
610
  }
500
611
  export interface DocumentPayload {
501
612
  /** url of the page representing the document */
@@ -777,74 +888,881 @@ export interface PublishGalleryResponse {
777
888
  /** Published gallery. */
778
889
  gallery?: Gallery;
779
890
  }
780
- export interface DomainEvent extends DomainEventBodyOneOf {
781
- createdEvent?: EntityCreatedEvent;
782
- updatedEvent?: EntityUpdatedEvent;
783
- deletedEvent?: EntityDeletedEvent;
784
- actionEvent?: ActionEvent;
785
- extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
786
- /** random GUID so clients can tell if event was already handled */
787
- id?: string;
788
- /**
789
- * Assumes actions are also always typed to an entity_type
790
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
791
- */
792
- entityFqdn?: string;
793
- /**
794
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
795
- * This is although the created/updated/deleted notion is duplication of the oneof types
796
- * Example: created/updated/deleted/started/completed/email_opened
797
- */
798
- slug?: string;
799
- /**
800
- * Assuming that all messages including Actions have id
801
- * Example: The id of the specific order, the id of a specific campaign
802
- */
803
- entityId?: string;
804
- /** The time of the event. Useful if there was a delay in dispatching */
805
- eventTime?: Date;
806
- /**
807
- * A field that should be set if this event was triggered by an anonymize request.
808
- * For example you must set it to true when sending an event as a result of a GDPR right to be forgotten request.
809
- * NOTE: This field is not relevant for `EntityCreatedEvent` but is located here for better ergonomics of consumers.
810
- */
811
- triggeredByAnonymizeRequest?: boolean | null;
812
- /** If present, indicates the action that triggered the event. */
813
- originatedFrom?: string | null;
814
- /**
815
- * A sequence number defining the order of updates to the underlying entity.
816
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
817
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
818
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
819
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
820
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
821
- */
822
- entityEventSequence?: string | null;
823
- }
824
- /** @oneof */
825
- export interface DomainEventBodyOneOf {
826
- createdEvent?: EntityCreatedEvent;
827
- updatedEvent?: EntityUpdatedEvent;
828
- deletedEvent?: EntityDeletedEvent;
829
- actionEvent?: ActionEvent;
830
- extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
831
- }
832
- export interface EntityCreatedEvent {
833
- entityAsJson?: string;
834
- }
835
- export interface EntityUpdatedEvent {
836
- /**
837
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
838
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
839
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
840
- */
841
- currentEntityAsJson?: string;
842
- }
843
- export interface EntityDeletedEvent {
844
- }
845
- export interface ActionEvent {
846
- bodyAsJson?: string;
891
+ export interface ListGalleriesResponseNonNullableFields {
892
+ galleries: {
893
+ items: {
894
+ image?: {
895
+ type: ImageType;
896
+ imageInfo?: {
897
+ id: string;
898
+ url: string;
899
+ height: number;
900
+ width: number;
901
+ };
902
+ focalPoint?: {
903
+ x: number;
904
+ y: number;
905
+ };
906
+ };
907
+ video?: {
908
+ type: VideoType;
909
+ videoInfo?: {
910
+ id: string;
911
+ url: string;
912
+ resolutions: {
913
+ url: string;
914
+ height: number;
915
+ width: number;
916
+ poster?: {
917
+ id: string;
918
+ url: string;
919
+ height: number;
920
+ width: number;
921
+ };
922
+ format: string;
923
+ }[];
924
+ posters: {
925
+ id: string;
926
+ url: string;
927
+ height: number;
928
+ width: number;
929
+ }[];
930
+ };
931
+ };
932
+ link?: {
933
+ type: LinkType;
934
+ wixLinkData?: {
935
+ external?: {
936
+ url: string;
937
+ };
938
+ page?: {
939
+ pageId: string;
940
+ rel: LinkRel[];
941
+ };
942
+ anchor?: {
943
+ anchorName: string;
944
+ anchorDataId: string;
945
+ pageId: string;
946
+ rel: LinkRel[];
947
+ };
948
+ dynamicPage?: {
949
+ routerId: string;
950
+ innerRoute: string;
951
+ rel: LinkRel[];
952
+ };
953
+ document?: {
954
+ docId: string;
955
+ indexable: boolean;
956
+ };
957
+ email?: {
958
+ recipient: string;
959
+ };
960
+ phone?: {
961
+ phoneNumber: string;
962
+ };
963
+ address?: {
964
+ address: string;
965
+ };
966
+ whatsApp?: {
967
+ phoneNumber: string;
968
+ };
969
+ tpaPage?: {
970
+ itemTypeIdentifier: string;
971
+ itemId: string;
972
+ pageId: string;
973
+ appDefinitionId: string;
974
+ path: string;
975
+ rel: LinkRel[];
976
+ };
977
+ };
978
+ };
979
+ type: Type;
980
+ tags?: {
981
+ values: string[];
982
+ };
983
+ secondaryMedia?: {
984
+ image?: {
985
+ type: ImageType;
986
+ imageInfo?: {
987
+ id: string;
988
+ url: string;
989
+ height: number;
990
+ width: number;
991
+ };
992
+ focalPoint?: {
993
+ x: number;
994
+ y: number;
995
+ };
996
+ };
997
+ };
998
+ }[];
999
+ }[];
1000
+ }
1001
+ export interface GetGalleryResponseNonNullableFields {
1002
+ gallery?: {
1003
+ items: {
1004
+ image?: {
1005
+ type: ImageType;
1006
+ imageInfo?: {
1007
+ id: string;
1008
+ url: string;
1009
+ height: number;
1010
+ width: number;
1011
+ };
1012
+ focalPoint?: {
1013
+ x: number;
1014
+ y: number;
1015
+ };
1016
+ };
1017
+ video?: {
1018
+ type: VideoType;
1019
+ videoInfo?: {
1020
+ id: string;
1021
+ url: string;
1022
+ resolutions: {
1023
+ url: string;
1024
+ height: number;
1025
+ width: number;
1026
+ poster?: {
1027
+ id: string;
1028
+ url: string;
1029
+ height: number;
1030
+ width: number;
1031
+ };
1032
+ format: string;
1033
+ }[];
1034
+ posters: {
1035
+ id: string;
1036
+ url: string;
1037
+ height: number;
1038
+ width: number;
1039
+ }[];
1040
+ };
1041
+ };
1042
+ link?: {
1043
+ type: LinkType;
1044
+ wixLinkData?: {
1045
+ external?: {
1046
+ url: string;
1047
+ };
1048
+ page?: {
1049
+ pageId: string;
1050
+ rel: LinkRel[];
1051
+ };
1052
+ anchor?: {
1053
+ anchorName: string;
1054
+ anchorDataId: string;
1055
+ pageId: string;
1056
+ rel: LinkRel[];
1057
+ };
1058
+ dynamicPage?: {
1059
+ routerId: string;
1060
+ innerRoute: string;
1061
+ rel: LinkRel[];
1062
+ };
1063
+ document?: {
1064
+ docId: string;
1065
+ indexable: boolean;
1066
+ };
1067
+ email?: {
1068
+ recipient: string;
1069
+ };
1070
+ phone?: {
1071
+ phoneNumber: string;
1072
+ };
1073
+ address?: {
1074
+ address: string;
1075
+ };
1076
+ whatsApp?: {
1077
+ phoneNumber: string;
1078
+ };
1079
+ tpaPage?: {
1080
+ itemTypeIdentifier: string;
1081
+ itemId: string;
1082
+ pageId: string;
1083
+ appDefinitionId: string;
1084
+ path: string;
1085
+ rel: LinkRel[];
1086
+ };
1087
+ };
1088
+ };
1089
+ type: Type;
1090
+ tags?: {
1091
+ values: string[];
1092
+ };
1093
+ secondaryMedia?: {
1094
+ image?: {
1095
+ type: ImageType;
1096
+ imageInfo?: {
1097
+ id: string;
1098
+ url: string;
1099
+ height: number;
1100
+ width: number;
1101
+ };
1102
+ focalPoint?: {
1103
+ x: number;
1104
+ y: number;
1105
+ };
1106
+ };
1107
+ };
1108
+ }[];
1109
+ };
1110
+ }
1111
+ export interface ListGalleryItemsResponseNonNullableFields {
1112
+ items: {
1113
+ image?: {
1114
+ type: ImageType;
1115
+ imageInfo?: {
1116
+ id: string;
1117
+ url: string;
1118
+ height: number;
1119
+ width: number;
1120
+ };
1121
+ focalPoint?: {
1122
+ x: number;
1123
+ y: number;
1124
+ };
1125
+ };
1126
+ video?: {
1127
+ type: VideoType;
1128
+ videoInfo?: {
1129
+ id: string;
1130
+ url: string;
1131
+ resolutions: {
1132
+ url: string;
1133
+ height: number;
1134
+ width: number;
1135
+ poster?: {
1136
+ id: string;
1137
+ url: string;
1138
+ height: number;
1139
+ width: number;
1140
+ };
1141
+ format: string;
1142
+ }[];
1143
+ posters: {
1144
+ id: string;
1145
+ url: string;
1146
+ height: number;
1147
+ width: number;
1148
+ }[];
1149
+ };
1150
+ };
1151
+ link?: {
1152
+ type: LinkType;
1153
+ wixLinkData?: {
1154
+ external?: {
1155
+ url: string;
1156
+ };
1157
+ page?: {
1158
+ pageId: string;
1159
+ rel: LinkRel[];
1160
+ };
1161
+ anchor?: {
1162
+ anchorName: string;
1163
+ anchorDataId: string;
1164
+ pageId: string;
1165
+ rel: LinkRel[];
1166
+ };
1167
+ dynamicPage?: {
1168
+ routerId: string;
1169
+ innerRoute: string;
1170
+ rel: LinkRel[];
1171
+ };
1172
+ document?: {
1173
+ docId: string;
1174
+ indexable: boolean;
1175
+ };
1176
+ email?: {
1177
+ recipient: string;
1178
+ };
1179
+ phone?: {
1180
+ phoneNumber: string;
1181
+ };
1182
+ address?: {
1183
+ address: string;
1184
+ };
1185
+ whatsApp?: {
1186
+ phoneNumber: string;
1187
+ };
1188
+ tpaPage?: {
1189
+ itemTypeIdentifier: string;
1190
+ itemId: string;
1191
+ pageId: string;
1192
+ appDefinitionId: string;
1193
+ path: string;
1194
+ rel: LinkRel[];
1195
+ };
1196
+ };
1197
+ };
1198
+ type: Type;
1199
+ tags?: {
1200
+ values: string[];
1201
+ };
1202
+ secondaryMedia?: {
1203
+ image?: {
1204
+ type: ImageType;
1205
+ imageInfo?: {
1206
+ id: string;
1207
+ url: string;
1208
+ height: number;
1209
+ width: number;
1210
+ };
1211
+ focalPoint?: {
1212
+ x: number;
1213
+ y: number;
1214
+ };
1215
+ };
1216
+ };
1217
+ }[];
1218
+ }
1219
+ export interface GetGalleryItemResponseNonNullableFields {
1220
+ item?: {
1221
+ image?: {
1222
+ type: ImageType;
1223
+ imageInfo?: {
1224
+ id: string;
1225
+ url: string;
1226
+ height: number;
1227
+ width: number;
1228
+ };
1229
+ focalPoint?: {
1230
+ x: number;
1231
+ y: number;
1232
+ };
1233
+ };
1234
+ video?: {
1235
+ type: VideoType;
1236
+ videoInfo?: {
1237
+ id: string;
1238
+ url: string;
1239
+ resolutions: {
1240
+ url: string;
1241
+ height: number;
1242
+ width: number;
1243
+ poster?: {
1244
+ id: string;
1245
+ url: string;
1246
+ height: number;
1247
+ width: number;
1248
+ };
1249
+ format: string;
1250
+ }[];
1251
+ posters: {
1252
+ id: string;
1253
+ url: string;
1254
+ height: number;
1255
+ width: number;
1256
+ }[];
1257
+ };
1258
+ };
1259
+ link?: {
1260
+ type: LinkType;
1261
+ wixLinkData?: {
1262
+ external?: {
1263
+ url: string;
1264
+ };
1265
+ page?: {
1266
+ pageId: string;
1267
+ rel: LinkRel[];
1268
+ };
1269
+ anchor?: {
1270
+ anchorName: string;
1271
+ anchorDataId: string;
1272
+ pageId: string;
1273
+ rel: LinkRel[];
1274
+ };
1275
+ dynamicPage?: {
1276
+ routerId: string;
1277
+ innerRoute: string;
1278
+ rel: LinkRel[];
1279
+ };
1280
+ document?: {
1281
+ docId: string;
1282
+ indexable: boolean;
1283
+ };
1284
+ email?: {
1285
+ recipient: string;
1286
+ };
1287
+ phone?: {
1288
+ phoneNumber: string;
1289
+ };
1290
+ address?: {
1291
+ address: string;
1292
+ };
1293
+ whatsApp?: {
1294
+ phoneNumber: string;
1295
+ };
1296
+ tpaPage?: {
1297
+ itemTypeIdentifier: string;
1298
+ itemId: string;
1299
+ pageId: string;
1300
+ appDefinitionId: string;
1301
+ path: string;
1302
+ rel: LinkRel[];
1303
+ };
1304
+ };
1305
+ };
1306
+ type: Type;
1307
+ tags?: {
1308
+ values: string[];
1309
+ };
1310
+ secondaryMedia?: {
1311
+ image?: {
1312
+ type: ImageType;
1313
+ imageInfo?: {
1314
+ id: string;
1315
+ url: string;
1316
+ height: number;
1317
+ width: number;
1318
+ };
1319
+ focalPoint?: {
1320
+ x: number;
1321
+ y: number;
1322
+ };
1323
+ };
1324
+ };
1325
+ };
1326
+ }
1327
+ export interface CreateGalleryResponseNonNullableFields {
1328
+ gallery?: {
1329
+ items: {
1330
+ image?: {
1331
+ type: ImageType;
1332
+ imageInfo?: {
1333
+ id: string;
1334
+ url: string;
1335
+ height: number;
1336
+ width: number;
1337
+ };
1338
+ focalPoint?: {
1339
+ x: number;
1340
+ y: number;
1341
+ };
1342
+ };
1343
+ video?: {
1344
+ type: VideoType;
1345
+ videoInfo?: {
1346
+ id: string;
1347
+ url: string;
1348
+ resolutions: {
1349
+ url: string;
1350
+ height: number;
1351
+ width: number;
1352
+ poster?: {
1353
+ id: string;
1354
+ url: string;
1355
+ height: number;
1356
+ width: number;
1357
+ };
1358
+ format: string;
1359
+ }[];
1360
+ posters: {
1361
+ id: string;
1362
+ url: string;
1363
+ height: number;
1364
+ width: number;
1365
+ }[];
1366
+ };
1367
+ };
1368
+ link?: {
1369
+ type: LinkType;
1370
+ wixLinkData?: {
1371
+ external?: {
1372
+ url: string;
1373
+ };
1374
+ page?: {
1375
+ pageId: string;
1376
+ rel: LinkRel[];
1377
+ };
1378
+ anchor?: {
1379
+ anchorName: string;
1380
+ anchorDataId: string;
1381
+ pageId: string;
1382
+ rel: LinkRel[];
1383
+ };
1384
+ dynamicPage?: {
1385
+ routerId: string;
1386
+ innerRoute: string;
1387
+ rel: LinkRel[];
1388
+ };
1389
+ document?: {
1390
+ docId: string;
1391
+ indexable: boolean;
1392
+ };
1393
+ email?: {
1394
+ recipient: string;
1395
+ };
1396
+ phone?: {
1397
+ phoneNumber: string;
1398
+ };
1399
+ address?: {
1400
+ address: string;
1401
+ };
1402
+ whatsApp?: {
1403
+ phoneNumber: string;
1404
+ };
1405
+ tpaPage?: {
1406
+ itemTypeIdentifier: string;
1407
+ itemId: string;
1408
+ pageId: string;
1409
+ appDefinitionId: string;
1410
+ path: string;
1411
+ rel: LinkRel[];
1412
+ };
1413
+ };
1414
+ };
1415
+ type: Type;
1416
+ tags?: {
1417
+ values: string[];
1418
+ };
1419
+ secondaryMedia?: {
1420
+ image?: {
1421
+ type: ImageType;
1422
+ imageInfo?: {
1423
+ id: string;
1424
+ url: string;
1425
+ height: number;
1426
+ width: number;
1427
+ };
1428
+ focalPoint?: {
1429
+ x: number;
1430
+ y: number;
1431
+ };
1432
+ };
1433
+ };
1434
+ }[];
1435
+ };
1436
+ }
1437
+ export interface UpdateGalleryResponseNonNullableFields {
1438
+ gallery?: {
1439
+ items: {
1440
+ image?: {
1441
+ type: ImageType;
1442
+ imageInfo?: {
1443
+ id: string;
1444
+ url: string;
1445
+ height: number;
1446
+ width: number;
1447
+ };
1448
+ focalPoint?: {
1449
+ x: number;
1450
+ y: number;
1451
+ };
1452
+ };
1453
+ video?: {
1454
+ type: VideoType;
1455
+ videoInfo?: {
1456
+ id: string;
1457
+ url: string;
1458
+ resolutions: {
1459
+ url: string;
1460
+ height: number;
1461
+ width: number;
1462
+ poster?: {
1463
+ id: string;
1464
+ url: string;
1465
+ height: number;
1466
+ width: number;
1467
+ };
1468
+ format: string;
1469
+ }[];
1470
+ posters: {
1471
+ id: string;
1472
+ url: string;
1473
+ height: number;
1474
+ width: number;
1475
+ }[];
1476
+ };
1477
+ };
1478
+ link?: {
1479
+ type: LinkType;
1480
+ wixLinkData?: {
1481
+ external?: {
1482
+ url: string;
1483
+ };
1484
+ page?: {
1485
+ pageId: string;
1486
+ rel: LinkRel[];
1487
+ };
1488
+ anchor?: {
1489
+ anchorName: string;
1490
+ anchorDataId: string;
1491
+ pageId: string;
1492
+ rel: LinkRel[];
1493
+ };
1494
+ dynamicPage?: {
1495
+ routerId: string;
1496
+ innerRoute: string;
1497
+ rel: LinkRel[];
1498
+ };
1499
+ document?: {
1500
+ docId: string;
1501
+ indexable: boolean;
1502
+ };
1503
+ email?: {
1504
+ recipient: string;
1505
+ };
1506
+ phone?: {
1507
+ phoneNumber: string;
1508
+ };
1509
+ address?: {
1510
+ address: string;
1511
+ };
1512
+ whatsApp?: {
1513
+ phoneNumber: string;
1514
+ };
1515
+ tpaPage?: {
1516
+ itemTypeIdentifier: string;
1517
+ itemId: string;
1518
+ pageId: string;
1519
+ appDefinitionId: string;
1520
+ path: string;
1521
+ rel: LinkRel[];
1522
+ };
1523
+ };
1524
+ };
1525
+ type: Type;
1526
+ tags?: {
1527
+ values: string[];
1528
+ };
1529
+ secondaryMedia?: {
1530
+ image?: {
1531
+ type: ImageType;
1532
+ imageInfo?: {
1533
+ id: string;
1534
+ url: string;
1535
+ height: number;
1536
+ width: number;
1537
+ };
1538
+ focalPoint?: {
1539
+ x: number;
1540
+ y: number;
1541
+ };
1542
+ };
1543
+ };
1544
+ }[];
1545
+ };
1546
+ }
1547
+ export interface DeleteGalleryResponseNonNullableFields {
1548
+ galleryId: string;
847
1549
  }
848
- export interface ExtendedFieldsUpdatedEvent {
849
- currentEntityAsJson?: string;
1550
+ export interface CreateGalleryItemResponseNonNullableFields {
1551
+ item?: {
1552
+ image?: {
1553
+ type: ImageType;
1554
+ imageInfo?: {
1555
+ id: string;
1556
+ url: string;
1557
+ height: number;
1558
+ width: number;
1559
+ };
1560
+ focalPoint?: {
1561
+ x: number;
1562
+ y: number;
1563
+ };
1564
+ };
1565
+ video?: {
1566
+ type: VideoType;
1567
+ videoInfo?: {
1568
+ id: string;
1569
+ url: string;
1570
+ resolutions: {
1571
+ url: string;
1572
+ height: number;
1573
+ width: number;
1574
+ poster?: {
1575
+ id: string;
1576
+ url: string;
1577
+ height: number;
1578
+ width: number;
1579
+ };
1580
+ format: string;
1581
+ }[];
1582
+ posters: {
1583
+ id: string;
1584
+ url: string;
1585
+ height: number;
1586
+ width: number;
1587
+ }[];
1588
+ };
1589
+ };
1590
+ link?: {
1591
+ type: LinkType;
1592
+ wixLinkData?: {
1593
+ external?: {
1594
+ url: string;
1595
+ };
1596
+ page?: {
1597
+ pageId: string;
1598
+ rel: LinkRel[];
1599
+ };
1600
+ anchor?: {
1601
+ anchorName: string;
1602
+ anchorDataId: string;
1603
+ pageId: string;
1604
+ rel: LinkRel[];
1605
+ };
1606
+ dynamicPage?: {
1607
+ routerId: string;
1608
+ innerRoute: string;
1609
+ rel: LinkRel[];
1610
+ };
1611
+ document?: {
1612
+ docId: string;
1613
+ indexable: boolean;
1614
+ };
1615
+ email?: {
1616
+ recipient: string;
1617
+ };
1618
+ phone?: {
1619
+ phoneNumber: string;
1620
+ };
1621
+ address?: {
1622
+ address: string;
1623
+ };
1624
+ whatsApp?: {
1625
+ phoneNumber: string;
1626
+ };
1627
+ tpaPage?: {
1628
+ itemTypeIdentifier: string;
1629
+ itemId: string;
1630
+ pageId: string;
1631
+ appDefinitionId: string;
1632
+ path: string;
1633
+ rel: LinkRel[];
1634
+ };
1635
+ };
1636
+ };
1637
+ type: Type;
1638
+ tags?: {
1639
+ values: string[];
1640
+ };
1641
+ secondaryMedia?: {
1642
+ image?: {
1643
+ type: ImageType;
1644
+ imageInfo?: {
1645
+ id: string;
1646
+ url: string;
1647
+ height: number;
1648
+ width: number;
1649
+ };
1650
+ focalPoint?: {
1651
+ x: number;
1652
+ y: number;
1653
+ };
1654
+ };
1655
+ };
1656
+ };
1657
+ }
1658
+ export interface UpdateGalleryItemResponseNonNullableFields {
1659
+ item?: {
1660
+ image?: {
1661
+ type: ImageType;
1662
+ imageInfo?: {
1663
+ id: string;
1664
+ url: string;
1665
+ height: number;
1666
+ width: number;
1667
+ };
1668
+ focalPoint?: {
1669
+ x: number;
1670
+ y: number;
1671
+ };
1672
+ };
1673
+ video?: {
1674
+ type: VideoType;
1675
+ videoInfo?: {
1676
+ id: string;
1677
+ url: string;
1678
+ resolutions: {
1679
+ url: string;
1680
+ height: number;
1681
+ width: number;
1682
+ poster?: {
1683
+ id: string;
1684
+ url: string;
1685
+ height: number;
1686
+ width: number;
1687
+ };
1688
+ format: string;
1689
+ }[];
1690
+ posters: {
1691
+ id: string;
1692
+ url: string;
1693
+ height: number;
1694
+ width: number;
1695
+ }[];
1696
+ };
1697
+ };
1698
+ link?: {
1699
+ type: LinkType;
1700
+ wixLinkData?: {
1701
+ external?: {
1702
+ url: string;
1703
+ };
1704
+ page?: {
1705
+ pageId: string;
1706
+ rel: LinkRel[];
1707
+ };
1708
+ anchor?: {
1709
+ anchorName: string;
1710
+ anchorDataId: string;
1711
+ pageId: string;
1712
+ rel: LinkRel[];
1713
+ };
1714
+ dynamicPage?: {
1715
+ routerId: string;
1716
+ innerRoute: string;
1717
+ rel: LinkRel[];
1718
+ };
1719
+ document?: {
1720
+ docId: string;
1721
+ indexable: boolean;
1722
+ };
1723
+ email?: {
1724
+ recipient: string;
1725
+ };
1726
+ phone?: {
1727
+ phoneNumber: string;
1728
+ };
1729
+ address?: {
1730
+ address: string;
1731
+ };
1732
+ whatsApp?: {
1733
+ phoneNumber: string;
1734
+ };
1735
+ tpaPage?: {
1736
+ itemTypeIdentifier: string;
1737
+ itemId: string;
1738
+ pageId: string;
1739
+ appDefinitionId: string;
1740
+ path: string;
1741
+ rel: LinkRel[];
1742
+ };
1743
+ };
1744
+ };
1745
+ type: Type;
1746
+ tags?: {
1747
+ values: string[];
1748
+ };
1749
+ secondaryMedia?: {
1750
+ image?: {
1751
+ type: ImageType;
1752
+ imageInfo?: {
1753
+ id: string;
1754
+ url: string;
1755
+ height: number;
1756
+ width: number;
1757
+ };
1758
+ focalPoint?: {
1759
+ x: number;
1760
+ y: number;
1761
+ };
1762
+ };
1763
+ };
1764
+ };
1765
+ }
1766
+ export interface DeleteGalleryItemResponseNonNullableFields {
1767
+ itemId: string;
850
1768
  }