@teemill/website 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Website API
5
- * Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
5
+ * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.7.0
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.9.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -207,6 +207,130 @@ export interface AuthorizeStripe200Response {
207
207
  */
208
208
  'redirect_url': string;
209
209
  }
210
+ /**
211
+ *
212
+ * @export
213
+ * @interface Blog
214
+ */
215
+ export interface Blog {
216
+ /**
217
+ * Unique object identifier
218
+ * @type {string}
219
+ * @memberof Blog
220
+ */
221
+ 'id'?: string;
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof Blog
226
+ */
227
+ 'title'?: string;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof Blog
232
+ */
233
+ 'description'?: string;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof Blog
238
+ */
239
+ 'slug'?: string;
240
+ /**
241
+ *
242
+ * @type {SeoMetadata}
243
+ * @memberof Blog
244
+ */
245
+ 'seoMetadata'?: SeoMetadata;
246
+ /**
247
+ *
248
+ * @type {TargetSearchPhraseData}
249
+ * @memberof Blog
250
+ */
251
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
252
+ }
253
+ /**
254
+ *
255
+ * @export
256
+ * @interface BlogsResponse
257
+ */
258
+ export interface BlogsResponse {
259
+ /**
260
+ *
261
+ * @type {Array<Blog>}
262
+ * @memberof BlogsResponse
263
+ */
264
+ 'blogs'?: Array<Blog>;
265
+ /**
266
+ * The token referencing the next page number
267
+ * @type {number}
268
+ * @memberof BlogsResponse
269
+ */
270
+ 'nextPageToken'?: number | null;
271
+ }
272
+ /**
273
+ *
274
+ * @export
275
+ * @interface Collection
276
+ */
277
+ export interface Collection {
278
+ /**
279
+ * Unique object identifier
280
+ * @type {string}
281
+ * @memberof Collection
282
+ */
283
+ 'id'?: string;
284
+ /**
285
+ *
286
+ * @type {string}
287
+ * @memberof Collection
288
+ */
289
+ 'title'?: string;
290
+ /**
291
+ *
292
+ * @type {string}
293
+ * @memberof Collection
294
+ */
295
+ 'description'?: string;
296
+ /**
297
+ *
298
+ * @type {string}
299
+ * @memberof Collection
300
+ */
301
+ 'slug'?: string;
302
+ /**
303
+ *
304
+ * @type {SeoMetadata}
305
+ * @memberof Collection
306
+ */
307
+ 'seoMetadata'?: SeoMetadata;
308
+ /**
309
+ *
310
+ * @type {TargetSearchPhraseData}
311
+ * @memberof Collection
312
+ */
313
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
314
+ }
315
+ /**
316
+ *
317
+ * @export
318
+ * @interface CollectionsResponse
319
+ */
320
+ export interface CollectionsResponse {
321
+ /**
322
+ *
323
+ * @type {Array<Collection>}
324
+ * @memberof CollectionsResponse
325
+ */
326
+ 'collections'?: Array<Collection>;
327
+ /**
328
+ * The token referencing the next page number
329
+ * @type {number}
330
+ * @memberof CollectionsResponse
331
+ */
332
+ 'nextPageToken'?: number | null;
333
+ }
210
334
  /**
211
335
  * Image description
212
336
  * @export
@@ -350,6 +474,68 @@ export interface MetaField {
350
474
  */
351
475
  'value': string;
352
476
  }
477
+ /**
478
+ *
479
+ * @export
480
+ * @interface Page
481
+ */
482
+ export interface Page {
483
+ /**
484
+ * Unique object identifier
485
+ * @type {string}
486
+ * @memberof Page
487
+ */
488
+ 'id'?: string;
489
+ /**
490
+ *
491
+ * @type {string}
492
+ * @memberof Page
493
+ */
494
+ 'title'?: string;
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof Page
499
+ */
500
+ 'description'?: string;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof Page
505
+ */
506
+ 'slug'?: string;
507
+ /**
508
+ *
509
+ * @type {SeoMetadata}
510
+ * @memberof Page
511
+ */
512
+ 'seoMetadata'?: SeoMetadata;
513
+ /**
514
+ *
515
+ * @type {TargetSearchPhraseData}
516
+ * @memberof Page
517
+ */
518
+ 'targetSearchPhraseData'?: TargetSearchPhraseData;
519
+ }
520
+ /**
521
+ *
522
+ * @export
523
+ * @interface PagesResponse
524
+ */
525
+ export interface PagesResponse {
526
+ /**
527
+ *
528
+ * @type {Array<Page>}
529
+ * @memberof PagesResponse
530
+ */
531
+ 'pages'?: Array<Page>;
532
+ /**
533
+ * The token referencing the next page number
534
+ * @type {number}
535
+ * @memberof PagesResponse
536
+ */
537
+ 'nextPageToken'?: number | null;
538
+ }
353
539
  /**
354
540
  *
355
541
  * @export
@@ -715,7 +901,13 @@ export interface SubmenuInner {
715
901
  * @type {string}
716
902
  * @memberof SubmenuInner
717
903
  */
718
- 'image': string | null;
904
+ 'link'?: string | null;
905
+ /**
906
+ *
907
+ * @type {SubmenuInnerImage}
908
+ * @memberof SubmenuInner
909
+ */
910
+ 'image': SubmenuInnerImage | null;
719
911
  /**
720
912
  *
721
913
  * @type {number}
@@ -728,328 +920,1943 @@ export interface SubmenuInner {
728
920
  * @memberof SubmenuInner
729
921
  */
730
922
  'items': Array<SubmenuItem>;
923
+ /**
924
+ *
925
+ * @type {string}
926
+ * @memberof SubmenuInner
927
+ */
928
+ 'mode'?: SubmenuInnerModeEnum;
731
929
  }
930
+
931
+ export const SubmenuInnerModeEnum = {
932
+ Image: 'image',
933
+ List: 'list'
934
+ } as const;
935
+
936
+ export type SubmenuInnerModeEnum = typeof SubmenuInnerModeEnum[keyof typeof SubmenuInnerModeEnum];
937
+
732
938
  /**
733
939
  *
734
940
  * @export
735
- * @interface SubmenuItem
941
+ * @interface SubmenuInnerImage
736
942
  */
737
- export interface SubmenuItem {
943
+ export interface SubmenuInnerImage {
738
944
  /**
739
945
  *
740
946
  * @type {string}
741
- * @memberof SubmenuItem
947
+ * @memberof SubmenuInnerImage
742
948
  */
743
- 'id': string;
949
+ 'src': string;
744
950
  /**
745
951
  *
746
952
  * @type {string}
747
- * @memberof SubmenuItem
953
+ * @memberof SubmenuInnerImage
748
954
  */
749
- 'text': string;
955
+ 'title': string | null;
750
956
  /**
751
957
  *
752
958
  * @type {string}
753
- * @memberof SubmenuItem
959
+ * @memberof SubmenuInnerImage
754
960
  */
755
- 'link': string;
961
+ 'description': string | null;
756
962
  /**
757
963
  *
758
- * @type {number}
759
- * @memberof SubmenuItem
964
+ * @type {string}
965
+ * @memberof SubmenuInnerImage
760
966
  */
761
- 'order': number;
762
- }
763
- /**
764
- *
765
- * @export
766
- * @interface UpdateMenuRequest
767
- */
768
- export interface UpdateMenuRequest {
967
+ 'link': string | null;
769
968
  /**
770
969
  *
771
- * @type {Array<UpdateMenuRequestItem>}
772
- * @memberof UpdateMenuRequest
970
+ * @type {boolean}
971
+ * @memberof SubmenuInnerImage
773
972
  */
774
- 'items'?: Array<UpdateMenuRequestItem>;
973
+ 'overlay': boolean;
974
+ /**
975
+ *
976
+ * @type {string}
977
+ * @memberof SubmenuInnerImage
978
+ */
979
+ 'borderRadius': SubmenuInnerImageBorderRadiusEnum | null;
980
+ /**
981
+ *
982
+ * @type {string}
983
+ * @memberof SubmenuInnerImage
984
+ */
985
+ 'ratio': string | null;
986
+ /**
987
+ *
988
+ * @type {SubmenuInnerImageText}
989
+ * @memberof SubmenuInnerImage
990
+ */
991
+ 'text': SubmenuInnerImageText | null;
992
+ /**
993
+ *
994
+ * @type {SubmenuInnerImageButton}
995
+ * @memberof SubmenuInnerImage
996
+ */
997
+ 'button': SubmenuInnerImageButton | null;
775
998
  }
999
+
1000
+ export const SubmenuInnerImageBorderRadiusEnum = {
1001
+ Sharp: 'sharp',
1002
+ Smooth: 'smooth',
1003
+ Rounded: 'rounded',
1004
+ Circle: 'circle'
1005
+ } as const;
1006
+
1007
+ export type SubmenuInnerImageBorderRadiusEnum = typeof SubmenuInnerImageBorderRadiusEnum[keyof typeof SubmenuInnerImageBorderRadiusEnum];
1008
+
776
1009
  /**
777
1010
  *
778
1011
  * @export
779
- * @interface UpdateMenuRequestItem
1012
+ * @interface SubmenuInnerImageButton
780
1013
  */
781
- export interface UpdateMenuRequestItem {
1014
+ export interface SubmenuInnerImageButton {
782
1015
  /**
783
1016
  *
784
1017
  * @type {string}
785
- * @memberof UpdateMenuRequestItem
1018
+ * @memberof SubmenuInnerImageButton
786
1019
  */
787
- 'id': string | null;
1020
+ 'text': string | null;
788
1021
  /**
789
1022
  *
790
1023
  * @type {string}
791
- * @memberof UpdateMenuRequestItem
1024
+ * @memberof SubmenuInnerImageButton
792
1025
  */
793
- 'text': string;
1026
+ 'textColor': string | null;
794
1027
  /**
795
1028
  *
796
1029
  * @type {string}
797
- * @memberof UpdateMenuRequestItem
1030
+ * @memberof SubmenuInnerImageButton
798
1031
  */
799
- 'link': string;
1032
+ 'backgroundColor': string | null;
800
1033
  /**
801
1034
  *
802
- * @type {number}
803
- * @memberof UpdateMenuRequestItem
1035
+ * @type {string}
1036
+ * @memberof SubmenuInnerImageButton
804
1037
  */
805
- 'order': number;
1038
+ 'borderColor': string | null;
806
1039
  /**
807
1040
  *
808
- * @type {Array<UpdateMenuRequestItemSubmenuInner>}
809
- * @memberof UpdateMenuRequestItem
1041
+ * @type {string}
1042
+ * @memberof SubmenuInnerImageButton
810
1043
  */
811
- 'submenu': Array<UpdateMenuRequestItemSubmenuInner>;
1044
+ 'borderRadius': string | null;
1045
+ /**
1046
+ *
1047
+ * @type {string}
1048
+ * @memberof SubmenuInnerImageButton
1049
+ */
1050
+ 'width': SubmenuInnerImageButtonWidthEnum | null;
812
1051
  }
1052
+
1053
+ export const SubmenuInnerImageButtonWidthEnum = {
1054
+ Auto: 'auto',
1055
+ Full: 'full'
1056
+ } as const;
1057
+
1058
+ export type SubmenuInnerImageButtonWidthEnum = typeof SubmenuInnerImageButtonWidthEnum[keyof typeof SubmenuInnerImageButtonWidthEnum];
1059
+
813
1060
  /**
814
1061
  *
815
1062
  * @export
816
- * @interface UpdateMenuRequestItemSubmenuInner
1063
+ * @interface SubmenuInnerImageText
817
1064
  */
818
- export interface UpdateMenuRequestItemSubmenuInner {
1065
+ export interface SubmenuInnerImageText {
819
1066
  /**
820
1067
  *
821
1068
  * @type {string}
822
- * @memberof UpdateMenuRequestItemSubmenuInner
1069
+ * @memberof SubmenuInnerImageText
823
1070
  */
824
- 'id': string | null;
1071
+ 'alignment': SubmenuInnerImageTextAlignmentEnum | null;
825
1072
  /**
826
1073
  *
827
1074
  * @type {string}
828
- * @memberof UpdateMenuRequestItemSubmenuInner
1075
+ * @memberof SubmenuInnerImageText
829
1076
  */
830
- 'title': string;
1077
+ 'color': string | null;
831
1078
  /**
832
1079
  *
833
1080
  * @type {string}
834
- * @memberof UpdateMenuRequestItemSubmenuInner
835
- */
836
- 'image': string | null;
837
- /**
838
- *
839
- * @type {number}
840
- * @memberof UpdateMenuRequestItemSubmenuInner
841
- */
842
- 'order': number;
843
- /**
844
- *
845
- * @type {Array<UpdateMenuRequestSubmenuItem>}
846
- * @memberof UpdateMenuRequestItemSubmenuInner
1081
+ * @memberof SubmenuInnerImageText
847
1082
  */
848
- 'items': Array<UpdateMenuRequestSubmenuItem>;
1083
+ 'shadow': SubmenuInnerImageTextShadowEnum | null;
849
1084
  }
1085
+
1086
+ export const SubmenuInnerImageTextAlignmentEnum = {
1087
+ Left: 'left',
1088
+ Center: 'center',
1089
+ Right: 'right'
1090
+ } as const;
1091
+
1092
+ export type SubmenuInnerImageTextAlignmentEnum = typeof SubmenuInnerImageTextAlignmentEnum[keyof typeof SubmenuInnerImageTextAlignmentEnum];
1093
+ export const SubmenuInnerImageTextShadowEnum = {
1094
+ None: 'none',
1095
+ Light: 'light',
1096
+ Medium: 'medium',
1097
+ Heavy: 'heavy'
1098
+ } as const;
1099
+
1100
+ export type SubmenuInnerImageTextShadowEnum = typeof SubmenuInnerImageTextShadowEnum[keyof typeof SubmenuInnerImageTextShadowEnum];
1101
+
850
1102
  /**
851
1103
  *
852
1104
  * @export
853
- * @interface UpdateMenuRequestSubmenuItem
1105
+ * @interface SubmenuItem
854
1106
  */
855
- export interface UpdateMenuRequestSubmenuItem {
1107
+ export interface SubmenuItem {
856
1108
  /**
857
1109
  *
858
1110
  * @type {string}
859
- * @memberof UpdateMenuRequestSubmenuItem
1111
+ * @memberof SubmenuItem
860
1112
  */
861
- 'id': string | null;
1113
+ 'id': string;
862
1114
  /**
863
1115
  *
864
1116
  * @type {string}
865
- * @memberof UpdateMenuRequestSubmenuItem
1117
+ * @memberof SubmenuItem
866
1118
  */
867
1119
  'text': string;
868
1120
  /**
869
1121
  *
870
1122
  * @type {string}
871
- * @memberof UpdateMenuRequestSubmenuItem
1123
+ * @memberof SubmenuItem
872
1124
  */
873
1125
  'link': string;
874
1126
  /**
875
1127
  *
876
1128
  * @type {number}
877
- * @memberof UpdateMenuRequestSubmenuItem
1129
+ * @memberof SubmenuItem
878
1130
  */
879
1131
  'order': number;
880
1132
  }
881
1133
  /**
882
1134
  *
883
1135
  * @export
884
- * @interface Variant
1136
+ * @interface TargetSearchPhraseData
885
1137
  */
886
- export interface Variant {
1138
+ export interface TargetSearchPhraseData {
887
1139
  /**
888
- * Unique object identifier
1140
+ * The primary target search phrase for a page that you wish to rank for in search engine results.
889
1141
  * @type {string}
890
- * @memberof Variant
1142
+ * @memberof TargetSearchPhraseData
891
1143
  */
892
- 'id'?: string;
1144
+ 'targetSearchPhrase'?: string;
893
1145
  /**
894
- * Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
895
- * @type {Array<Attribute>}
896
- * @memberof Variant
1146
+ * Synonyms for the target search phrase.
1147
+ * @type {Array<string>}
1148
+ * @memberof TargetSearchPhraseData
897
1149
  */
898
- 'attributes': Array<Attribute>;
1150
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1151
+ }
1152
+ /**
1153
+ *
1154
+ * @export
1155
+ * @interface UpdateBlogRequest
1156
+ */
1157
+ export interface UpdateBlogRequest {
899
1158
  /**
900
- *
1159
+ * Blog title
901
1160
  * @type {string}
902
- * @memberof Variant
1161
+ * @memberof UpdateBlogRequest
903
1162
  */
904
- 'sku': string;
1163
+ 'title'?: string;
905
1164
  /**
906
- * A reference to the resource location
1165
+ * Blog description
907
1166
  * @type {string}
908
- * @memberof Variant
1167
+ * @memberof UpdateBlogRequest
909
1168
  */
910
- 'ref'?: string;
1169
+ 'description'?: string;
911
1170
  /**
912
- *
913
- * @type {VariantProduct}
914
- * @memberof Variant
1171
+ * URL slug. This must be unique for each blog post on the website. Updating this will also break any existing links to this blog post.
1172
+ * @type {string}
1173
+ * @memberof UpdateBlogRequest
915
1174
  */
916
- 'product'?: VariantProduct;
1175
+ 'slug'?: string;
917
1176
  /**
918
1177
  *
919
- * @type {number}
920
- * @memberof Variant
1178
+ * @type {UpdateBlogsRequestBlogsInnerSeoMetadata}
1179
+ * @memberof UpdateBlogRequest
921
1180
  */
922
- 'sortOrder'?: number;
1181
+ 'seoMetadata'?: UpdateBlogsRequestBlogsInnerSeoMetadata;
923
1182
  /**
924
- *
925
- * @type {Price}
926
- * @memberof Variant
1183
+ * The primary target search phrase for the blog post that you wish to rank for in search engine results.
1184
+ * @type {string}
1185
+ * @memberof UpdateBlogRequest
927
1186
  */
928
- 'retailPrice'?: Price;
1187
+ 'targetSearchPhrase'?: string;
929
1188
  /**
930
- *
931
- * @type {Price}
932
- * @memberof Variant
1189
+ * Synonyms for the target search phrase.
1190
+ * @type {Array<string>}
1191
+ * @memberof UpdateBlogRequest
933
1192
  */
934
- 'salePrice'?: Price;
1193
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1194
+ }
1195
+ /**
1196
+ *
1197
+ * @export
1198
+ * @interface UpdateBlogsRequest
1199
+ */
1200
+ export interface UpdateBlogsRequest {
935
1201
  /**
936
1202
  *
937
- * @type {Price}
938
- * @memberof Variant
1203
+ * @type {Array<UpdateBlogsRequestBlogsInner>}
1204
+ * @memberof UpdateBlogsRequest
939
1205
  */
940
- 'price'?: Price;
1206
+ 'blogs'?: Array<UpdateBlogsRequestBlogsInner>;
1207
+ /**
1208
+ * The primary target search phrase for the blog post that you wish to rank for in search engine results.
1209
+ * @type {string}
1210
+ * @memberof UpdateBlogsRequest
1211
+ */
1212
+ 'targetSearchPhrase'?: string;
1213
+ /**
1214
+ * Synonyms for the target search phrase.
1215
+ * @type {Array<string>}
1216
+ * @memberof UpdateBlogsRequest
1217
+ */
1218
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1219
+ }
1220
+ /**
1221
+ *
1222
+ * @export
1223
+ * @interface UpdateBlogsRequestBlogsInner
1224
+ */
1225
+ export interface UpdateBlogsRequestBlogsInner {
1226
+ /**
1227
+ * Unique object identifier
1228
+ * @type {string}
1229
+ * @memberof UpdateBlogsRequestBlogsInner
1230
+ */
1231
+ 'id': string;
1232
+ /**
1233
+ * Blog title
1234
+ * @type {string}
1235
+ * @memberof UpdateBlogsRequestBlogsInner
1236
+ */
1237
+ 'title'?: string;
1238
+ /**
1239
+ * Blog description
1240
+ * @type {string}
1241
+ * @memberof UpdateBlogsRequestBlogsInner
1242
+ */
1243
+ 'description'?: string;
1244
+ /**
1245
+ * URL slug. This must be unique for each blog post on the website. Updating this will also break any existing links to this blog post.
1246
+ * @type {string}
1247
+ * @memberof UpdateBlogsRequestBlogsInner
1248
+ */
1249
+ 'slug'?: string;
941
1250
  /**
942
1251
  *
943
- * @type {Stock}
944
- * @memberof Variant
1252
+ * @type {UpdateBlogsRequestBlogsInnerSeoMetadata}
1253
+ * @memberof UpdateBlogsRequestBlogsInner
945
1254
  */
946
- 'stock'?: Stock;
1255
+ 'seoMetadata'?: UpdateBlogsRequestBlogsInnerSeoMetadata;
1256
+ }
1257
+ /**
1258
+ *
1259
+ * @export
1260
+ * @interface UpdateBlogsRequestBlogsInnerSeoMetadata
1261
+ */
1262
+ export interface UpdateBlogsRequestBlogsInnerSeoMetadata {
1263
+ /**
1264
+ * Meta title for the blog post. This appears in search engine results and social shares. If not provided, the blog post title will be used.
1265
+ * @type {string}
1266
+ * @memberof UpdateBlogsRequestBlogsInnerSeoMetadata
1267
+ */
1268
+ 'title'?: string | null;
1269
+ /**
1270
+ * Meta description for the blog post. This appears in search engine results and social shares. If not provided, the blog post description will be used.
1271
+ * @type {string}
1272
+ * @memberof UpdateBlogsRequestBlogsInnerSeoMetadata
1273
+ */
1274
+ 'description'?: string | null;
1275
+ }
1276
+ /**
1277
+ *
1278
+ * @export
1279
+ * @interface UpdateCollectionRequest
1280
+ */
1281
+ export interface UpdateCollectionRequest {
1282
+ /**
1283
+ * Collection title
1284
+ * @type {string}
1285
+ * @memberof UpdateCollectionRequest
1286
+ */
1287
+ 'title'?: string;
1288
+ /**
1289
+ * Collection description
1290
+ * @type {string}
1291
+ * @memberof UpdateCollectionRequest
1292
+ */
1293
+ 'description'?: string;
1294
+ /**
1295
+ * URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection.
1296
+ * @type {string}
1297
+ * @memberof UpdateCollectionRequest
1298
+ */
1299
+ 'slug'?: string;
947
1300
  /**
948
1301
  *
1302
+ * @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
1303
+ * @memberof UpdateCollectionRequest
1304
+ */
1305
+ 'seoMetadata'?: UpdateCollectionsRequestCollectionsInnerSeoMetadata;
1306
+ /**
1307
+ * The primary target search phrase for the collection that you wish to rank for in search engine results.
949
1308
  * @type {string}
950
- * @memberof Variant
1309
+ * @memberof UpdateCollectionRequest
951
1310
  */
952
- 'createdAt'?: string;
1311
+ 'targetSearchPhrase'?: string;
1312
+ /**
1313
+ * Synonyms for the target search phrase.
1314
+ * @type {Array<string>}
1315
+ * @memberof UpdateCollectionRequest
1316
+ */
1317
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1318
+ }
1319
+ /**
1320
+ *
1321
+ * @export
1322
+ * @interface UpdateCollectionsRequest
1323
+ */
1324
+ export interface UpdateCollectionsRequest {
953
1325
  /**
954
1326
  *
1327
+ * @type {Array<UpdateCollectionsRequestCollectionsInner>}
1328
+ * @memberof UpdateCollectionsRequest
1329
+ */
1330
+ 'collections'?: Array<UpdateCollectionsRequestCollectionsInner>;
1331
+ }
1332
+ /**
1333
+ *
1334
+ * @export
1335
+ * @interface UpdateCollectionsRequestCollectionsInner
1336
+ */
1337
+ export interface UpdateCollectionsRequestCollectionsInner {
1338
+ /**
1339
+ * Unique object identifier
955
1340
  * @type {string}
956
- * @memberof Variant
1341
+ * @memberof UpdateCollectionsRequestCollectionsInner
957
1342
  */
958
- 'updatedAt'?: string;
1343
+ 'id': string;
1344
+ /**
1345
+ * Collection title
1346
+ * @type {string}
1347
+ * @memberof UpdateCollectionsRequestCollectionsInner
1348
+ */
1349
+ 'title'?: string;
1350
+ /**
1351
+ * Collection description
1352
+ * @type {string}
1353
+ * @memberof UpdateCollectionsRequestCollectionsInner
1354
+ */
1355
+ 'description'?: string;
1356
+ /**
1357
+ * URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection.
1358
+ * @type {string}
1359
+ * @memberof UpdateCollectionsRequestCollectionsInner
1360
+ */
1361
+ 'slug'?: string;
959
1362
  /**
960
1363
  *
1364
+ * @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
1365
+ * @memberof UpdateCollectionsRequestCollectionsInner
1366
+ */
1367
+ 'seoMetadata'?: UpdateCollectionsRequestCollectionsInnerSeoMetadata;
1368
+ /**
1369
+ * The primary target search phrase for the collection that you wish to rank for in search engine results.
961
1370
  * @type {string}
962
- * @memberof Variant
1371
+ * @memberof UpdateCollectionsRequestCollectionsInner
963
1372
  */
964
- 'publishedAt'?: string;
1373
+ 'targetSearchPhrase'?: string;
965
1374
  /**
966
- * Images
967
- * @type {Array<Image>}
968
- * @memberof Variant
1375
+ * Synonyms for the target search phrase.
1376
+ * @type {Array<string>}
1377
+ * @memberof UpdateCollectionsRequestCollectionsInner
969
1378
  */
970
- 'images'?: Array<Image>;
1379
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1380
+ }
1381
+ /**
1382
+ *
1383
+ * @export
1384
+ * @interface UpdateCollectionsRequestCollectionsInnerSeoMetadata
1385
+ */
1386
+ export interface UpdateCollectionsRequestCollectionsInnerSeoMetadata {
971
1387
  /**
972
- * Design applications. If not provided, the product will be blank.
973
- * @type {Array<Application>}
974
- * @memberof Variant
1388
+ * Meta title for the collection. This appears in search engine results and social shares. If not provided, the collection title will be used.
1389
+ * @type {string}
1390
+ * @memberof UpdateCollectionsRequestCollectionsInnerSeoMetadata
975
1391
  */
976
- 'applications'?: Array<Application>;
1392
+ 'title'?: string | null;
977
1393
  /**
978
- * Global Trade Item Number
1394
+ * Meta description for the collection. This appears in search engine results and social shares. If not provided, the collection description will be used.
979
1395
  * @type {string}
980
- * @memberof Variant
1396
+ * @memberof UpdateCollectionsRequestCollectionsInnerSeoMetadata
981
1397
  */
982
- 'gtin'?: string | null;
1398
+ 'description'?: string | null;
1399
+ }
1400
+ /**
1401
+ *
1402
+ * @export
1403
+ * @interface UpdateMenuRequest
1404
+ */
1405
+ export interface UpdateMenuRequest {
983
1406
  /**
984
1407
  *
985
- * @type {Array<MetaField>}
986
- * @memberof Variant
1408
+ * @type {Array<UpdateMenuRequestItem>}
1409
+ * @memberof UpdateMenuRequest
987
1410
  */
988
- 'metafields'?: Array<MetaField>;
1411
+ 'items'?: Array<UpdateMenuRequestItem>;
989
1412
  }
990
1413
  /**
991
1414
  *
992
1415
  * @export
993
- * @interface VariantProduct
1416
+ * @interface UpdateMenuRequestItem
994
1417
  */
995
- export interface VariantProduct {
1418
+ export interface UpdateMenuRequestItem {
996
1419
  /**
997
- * Unique object identifier
1420
+ *
998
1421
  * @type {string}
999
- * @memberof VariantProduct
1422
+ * @memberof UpdateMenuRequestItem
1000
1423
  */
1001
- 'id'?: string;
1424
+ 'id': string | null;
1002
1425
  /**
1003
- * A reference to the resource location
1426
+ *
1004
1427
  * @type {string}
1005
- * @memberof VariantProduct
1428
+ * @memberof UpdateMenuRequestItem
1006
1429
  */
1007
- 'ref'?: string;
1430
+ 'text': string;
1431
+ /**
1432
+ *
1433
+ * @type {string}
1434
+ * @memberof UpdateMenuRequestItem
1435
+ */
1436
+ 'link': string;
1437
+ /**
1438
+ *
1439
+ * @type {number}
1440
+ * @memberof UpdateMenuRequestItem
1441
+ */
1442
+ 'order': number;
1443
+ /**
1444
+ *
1445
+ * @type {Array<UpdateMenuRequestItemSubmenuInner>}
1446
+ * @memberof UpdateMenuRequestItem
1447
+ */
1448
+ 'submenu': Array<UpdateMenuRequestItemSubmenuInner>;
1008
1449
  }
1009
1450
  /**
1010
- * Video object
1451
+ *
1011
1452
  * @export
1012
- * @interface Video
1453
+ * @interface UpdateMenuRequestItemSubmenuInner
1013
1454
  */
1014
- export interface Video {
1455
+ export interface UpdateMenuRequestItemSubmenuInner {
1015
1456
  /**
1016
- * Unique object identifier
1457
+ *
1017
1458
  * @type {string}
1018
- * @memberof Video
1459
+ * @memberof UpdateMenuRequestItemSubmenuInner
1019
1460
  */
1020
- 'id'?: string;
1461
+ 'id': string | null;
1021
1462
  /**
1022
1463
  *
1023
1464
  * @type {string}
1024
- * @memberof Video
1465
+ * @memberof UpdateMenuRequestItemSubmenuInner
1025
1466
  */
1026
- 'src'?: string;
1467
+ 'title': string;
1027
1468
  /**
1028
1469
  *
1029
1470
  * @type {string}
1030
- * @memberof Video
1471
+ * @memberof UpdateMenuRequestItemSubmenuInner
1031
1472
  */
1032
- 'alt'?: string;
1473
+ 'link'?: string | null;
1474
+ /**
1475
+ *
1476
+ * @type {UpdateMenuRequestItemSubmenuInnerImage}
1477
+ * @memberof UpdateMenuRequestItemSubmenuInner
1478
+ */
1479
+ 'image'?: UpdateMenuRequestItemSubmenuInnerImage | null;
1033
1480
  /**
1034
1481
  *
1035
1482
  * @type {number}
1036
- * @memberof Video
1483
+ * @memberof UpdateMenuRequestItemSubmenuInner
1484
+ */
1485
+ 'order': number;
1486
+ /**
1487
+ *
1488
+ * @type {Array<UpdateMenuRequestSubmenuItem>}
1489
+ * @memberof UpdateMenuRequestItemSubmenuInner
1490
+ */
1491
+ 'items': Array<UpdateMenuRequestSubmenuItem>;
1492
+ /**
1493
+ *
1494
+ * @type {string}
1495
+ * @memberof UpdateMenuRequestItemSubmenuInner
1496
+ */
1497
+ 'mode'?: UpdateMenuRequestItemSubmenuInnerModeEnum;
1498
+ }
1499
+
1500
+ export const UpdateMenuRequestItemSubmenuInnerModeEnum = {
1501
+ Image: 'image',
1502
+ List: 'list'
1503
+ } as const;
1504
+
1505
+ export type UpdateMenuRequestItemSubmenuInnerModeEnum = typeof UpdateMenuRequestItemSubmenuInnerModeEnum[keyof typeof UpdateMenuRequestItemSubmenuInnerModeEnum];
1506
+
1507
+ /**
1508
+ *
1509
+ * @export
1510
+ * @interface UpdateMenuRequestItemSubmenuInnerImage
1511
+ */
1512
+ export interface UpdateMenuRequestItemSubmenuInnerImage {
1513
+ /**
1514
+ *
1515
+ * @type {string}
1516
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1517
+ */
1518
+ 'src'?: string | null;
1519
+ /**
1520
+ *
1521
+ * @type {string}
1522
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1523
+ */
1524
+ 'title'?: string | null;
1525
+ /**
1526
+ *
1527
+ * @type {string}
1528
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1529
+ */
1530
+ 'description'?: string | null;
1531
+ /**
1532
+ *
1533
+ * @type {string}
1534
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1535
+ */
1536
+ 'link'?: string | null;
1537
+ /**
1538
+ *
1539
+ * @type {boolean}
1540
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1541
+ */
1542
+ 'overlay'?: boolean | null;
1543
+ /**
1544
+ *
1545
+ * @type {string}
1546
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1547
+ */
1548
+ 'borderRadius'?: string | null;
1549
+ /**
1550
+ *
1551
+ * @type {string}
1552
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1553
+ */
1554
+ 'ratio'?: string | null;
1555
+ /**
1556
+ *
1557
+ * @type {UpdateMenuRequestItemSubmenuInnerImageText}
1558
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1559
+ */
1560
+ 'text'?: UpdateMenuRequestItemSubmenuInnerImageText;
1561
+ /**
1562
+ *
1563
+ * @type {UpdateMenuRequestItemSubmenuInnerImageButton}
1564
+ * @memberof UpdateMenuRequestItemSubmenuInnerImage
1565
+ */
1566
+ 'button'?: UpdateMenuRequestItemSubmenuInnerImageButton;
1567
+ }
1568
+ /**
1569
+ *
1570
+ * @export
1571
+ * @interface UpdateMenuRequestItemSubmenuInnerImageButton
1572
+ */
1573
+ export interface UpdateMenuRequestItemSubmenuInnerImageButton {
1574
+ /**
1575
+ *
1576
+ * @type {string}
1577
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1578
+ */
1579
+ 'text'?: string | null;
1580
+ /**
1581
+ *
1582
+ * @type {string}
1583
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1584
+ */
1585
+ 'textColor'?: string | null;
1586
+ /**
1587
+ *
1588
+ * @type {string}
1589
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1590
+ */
1591
+ 'backgroundColor'?: string | null;
1592
+ /**
1593
+ *
1594
+ * @type {string}
1595
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1596
+ */
1597
+ 'borderColor'?: string | null;
1598
+ /**
1599
+ *
1600
+ * @type {string}
1601
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1602
+ */
1603
+ 'borderRadius'?: UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum | null;
1604
+ /**
1605
+ *
1606
+ * @type {string}
1607
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageButton
1608
+ */
1609
+ 'width'?: UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum | null;
1610
+ }
1611
+
1612
+ export const UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = {
1613
+ Sharp: 'sharp',
1614
+ Smooth: 'smooth',
1615
+ Rounded: 'rounded',
1616
+ Circle: 'circle'
1617
+ } as const;
1618
+
1619
+ export type UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = typeof UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum[keyof typeof UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum];
1620
+ export const UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = {
1621
+ Auto: 'auto',
1622
+ Full: 'full'
1623
+ } as const;
1624
+
1625
+ export type UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = typeof UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum[keyof typeof UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum];
1626
+
1627
+ /**
1628
+ *
1629
+ * @export
1630
+ * @interface UpdateMenuRequestItemSubmenuInnerImageText
1631
+ */
1632
+ export interface UpdateMenuRequestItemSubmenuInnerImageText {
1633
+ /**
1634
+ *
1635
+ * @type {string}
1636
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageText
1637
+ */
1638
+ 'alignment'?: UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum | null;
1639
+ /**
1640
+ *
1641
+ * @type {string}
1642
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageText
1643
+ */
1644
+ 'color'?: string | null;
1645
+ /**
1646
+ *
1647
+ * @type {string}
1648
+ * @memberof UpdateMenuRequestItemSubmenuInnerImageText
1649
+ */
1650
+ 'shadow'?: UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum | null;
1651
+ }
1652
+
1653
+ export const UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = {
1654
+ Left: 'left',
1655
+ Center: 'center',
1656
+ Right: 'right'
1657
+ } as const;
1658
+
1659
+ export type UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = typeof UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum[keyof typeof UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum];
1660
+ export const UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = {
1661
+ None: 'none',
1662
+ Light: 'light',
1663
+ Medium: 'medium',
1664
+ Heavy: 'heavy'
1665
+ } as const;
1666
+
1667
+ export type UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = typeof UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum[keyof typeof UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum];
1668
+
1669
+ /**
1670
+ *
1671
+ * @export
1672
+ * @interface UpdateMenuRequestSubmenuItem
1673
+ */
1674
+ export interface UpdateMenuRequestSubmenuItem {
1675
+ /**
1676
+ *
1677
+ * @type {string}
1678
+ * @memberof UpdateMenuRequestSubmenuItem
1679
+ */
1680
+ 'id': string | null;
1681
+ /**
1682
+ *
1683
+ * @type {string}
1684
+ * @memberof UpdateMenuRequestSubmenuItem
1685
+ */
1686
+ 'text': string;
1687
+ /**
1688
+ *
1689
+ * @type {string}
1690
+ * @memberof UpdateMenuRequestSubmenuItem
1691
+ */
1692
+ 'link': string;
1693
+ /**
1694
+ *
1695
+ * @type {number}
1696
+ * @memberof UpdateMenuRequestSubmenuItem
1697
+ */
1698
+ 'order': number;
1699
+ }
1700
+ /**
1701
+ *
1702
+ * @export
1703
+ * @interface UpdatePageRequest
1704
+ */
1705
+ export interface UpdatePageRequest {
1706
+ /**
1707
+ * Page title
1708
+ * @type {string}
1709
+ * @memberof UpdatePageRequest
1710
+ */
1711
+ 'title'?: string;
1712
+ /**
1713
+ * Page description
1714
+ * @type {string}
1715
+ * @memberof UpdatePageRequest
1716
+ */
1717
+ 'description'?: string;
1718
+ /**
1719
+ * URL slug. This must be unique for each page on the website. Updating this will also break any existing links to this page.
1720
+ * @type {string}
1721
+ * @memberof UpdatePageRequest
1722
+ */
1723
+ 'slug'?: string;
1724
+ /**
1725
+ *
1726
+ * @type {UpdatePagesRequestPagesInnerSeoMetadata}
1727
+ * @memberof UpdatePageRequest
1728
+ */
1729
+ 'seoMetadata'?: UpdatePagesRequestPagesInnerSeoMetadata;
1730
+ /**
1731
+ * The primary target search phrase for the page that you wish to rank for in search engine results.
1732
+ * @type {string}
1733
+ * @memberof UpdatePageRequest
1734
+ */
1735
+ 'targetSearchPhrase'?: string;
1736
+ /**
1737
+ * Synonyms for the target search phrase.
1738
+ * @type {Array<string>}
1739
+ * @memberof UpdatePageRequest
1740
+ */
1741
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1742
+ }
1743
+ /**
1744
+ *
1745
+ * @export
1746
+ * @interface UpdatePagesRequest
1747
+ */
1748
+ export interface UpdatePagesRequest {
1749
+ /**
1750
+ *
1751
+ * @type {Array<UpdatePagesRequestPagesInner>}
1752
+ * @memberof UpdatePagesRequest
1753
+ */
1754
+ 'pages'?: Array<UpdatePagesRequestPagesInner>;
1755
+ }
1756
+ /**
1757
+ *
1758
+ * @export
1759
+ * @interface UpdatePagesRequestPagesInner
1760
+ */
1761
+ export interface UpdatePagesRequestPagesInner {
1762
+ /**
1763
+ * Unique object identifier
1764
+ * @type {string}
1765
+ * @memberof UpdatePagesRequestPagesInner
1766
+ */
1767
+ 'id': string;
1768
+ /**
1769
+ * Page title
1770
+ * @type {string}
1771
+ * @memberof UpdatePagesRequestPagesInner
1772
+ */
1773
+ 'title'?: string;
1774
+ /**
1775
+ * Page description
1776
+ * @type {string}
1777
+ * @memberof UpdatePagesRequestPagesInner
1778
+ */
1779
+ 'description'?: string;
1780
+ /**
1781
+ * URL slug. This must be unique for each page on the website. Updating this will also break any existing links to this page.
1782
+ * @type {string}
1783
+ * @memberof UpdatePagesRequestPagesInner
1784
+ */
1785
+ 'slug'?: string;
1786
+ /**
1787
+ *
1788
+ * @type {UpdatePagesRequestPagesInnerSeoMetadata}
1789
+ * @memberof UpdatePagesRequestPagesInner
1790
+ */
1791
+ 'seoMetadata'?: UpdatePagesRequestPagesInnerSeoMetadata;
1792
+ /**
1793
+ * The primary target search phrase for the page that you wish to rank for in search engine results.
1794
+ * @type {string}
1795
+ * @memberof UpdatePagesRequestPagesInner
1796
+ */
1797
+ 'targetSearchPhrase'?: string;
1798
+ /**
1799
+ * Synonyms for the target search phrase.
1800
+ * @type {Array<string>}
1801
+ * @memberof UpdatePagesRequestPagesInner
1802
+ */
1803
+ 'targetSearchPhraseSynonyms'?: Array<string>;
1804
+ }
1805
+ /**
1806
+ *
1807
+ * @export
1808
+ * @interface UpdatePagesRequestPagesInnerSeoMetadata
1809
+ */
1810
+ export interface UpdatePagesRequestPagesInnerSeoMetadata {
1811
+ /**
1812
+ * Meta title for the page. This appears in search engine results and social shares. If not provided, the page title will be used.
1813
+ * @type {string}
1814
+ * @memberof UpdatePagesRequestPagesInnerSeoMetadata
1815
+ */
1816
+ 'title'?: string | null;
1817
+ /**
1818
+ * Meta description for the page. This appears in search engine results and social shares. If not provided, the page description will be used.
1819
+ * @type {string}
1820
+ * @memberof UpdatePagesRequestPagesInnerSeoMetadata
1821
+ */
1822
+ 'description'?: string | null;
1823
+ }
1824
+ /**
1825
+ *
1826
+ * @export
1827
+ * @interface Variant
1828
+ */
1829
+ export interface Variant {
1830
+ /**
1831
+ * Unique object identifier
1832
+ * @type {string}
1833
+ * @memberof Variant
1834
+ */
1835
+ 'id'?: string;
1836
+ /**
1837
+ * Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
1838
+ * @type {Array<Attribute>}
1839
+ * @memberof Variant
1840
+ */
1841
+ 'attributes': Array<Attribute>;
1842
+ /**
1843
+ *
1844
+ * @type {string}
1845
+ * @memberof Variant
1846
+ */
1847
+ 'sku': string;
1848
+ /**
1849
+ * A reference to the resource location
1850
+ * @type {string}
1851
+ * @memberof Variant
1852
+ */
1853
+ 'ref'?: string;
1854
+ /**
1855
+ *
1856
+ * @type {VariantProduct}
1857
+ * @memberof Variant
1858
+ */
1859
+ 'product'?: VariantProduct;
1860
+ /**
1861
+ *
1862
+ * @type {number}
1863
+ * @memberof Variant
1864
+ */
1865
+ 'sortOrder'?: number;
1866
+ /**
1867
+ *
1868
+ * @type {Price}
1869
+ * @memberof Variant
1870
+ */
1871
+ 'retailPrice'?: Price;
1872
+ /**
1873
+ *
1874
+ * @type {Price}
1875
+ * @memberof Variant
1876
+ */
1877
+ 'salePrice'?: Price;
1878
+ /**
1879
+ *
1880
+ * @type {Price}
1881
+ * @memberof Variant
1882
+ */
1883
+ 'price'?: Price;
1884
+ /**
1885
+ *
1886
+ * @type {Stock}
1887
+ * @memberof Variant
1888
+ */
1889
+ 'stock'?: Stock;
1890
+ /**
1891
+ *
1892
+ * @type {string}
1893
+ * @memberof Variant
1894
+ */
1895
+ 'createdAt'?: string;
1896
+ /**
1897
+ *
1898
+ * @type {string}
1899
+ * @memberof Variant
1900
+ */
1901
+ 'updatedAt'?: string;
1902
+ /**
1903
+ *
1904
+ * @type {string}
1905
+ * @memberof Variant
1906
+ */
1907
+ 'publishedAt'?: string;
1908
+ /**
1909
+ * Images
1910
+ * @type {Array<Image>}
1911
+ * @memberof Variant
1912
+ */
1913
+ 'images'?: Array<Image>;
1914
+ /**
1915
+ * Design applications. If not provided, the product will be blank.
1916
+ * @type {Array<Application>}
1917
+ * @memberof Variant
1918
+ */
1919
+ 'applications'?: Array<Application>;
1920
+ /**
1921
+ * Global Trade Item Number
1922
+ * @type {string}
1923
+ * @memberof Variant
1924
+ */
1925
+ 'gtin'?: string | null;
1926
+ /**
1927
+ *
1928
+ * @type {Array<MetaField>}
1929
+ * @memberof Variant
1930
+ */
1931
+ 'metafields'?: Array<MetaField>;
1932
+ }
1933
+ /**
1934
+ *
1935
+ * @export
1936
+ * @interface VariantProduct
1937
+ */
1938
+ export interface VariantProduct {
1939
+ /**
1940
+ * Unique object identifier
1941
+ * @type {string}
1942
+ * @memberof VariantProduct
1943
+ */
1944
+ 'id'?: string;
1945
+ /**
1946
+ * A reference to the resource location
1947
+ * @type {string}
1948
+ * @memberof VariantProduct
1949
+ */
1950
+ 'ref'?: string;
1951
+ }
1952
+ /**
1953
+ * Video object
1954
+ * @export
1955
+ * @interface Video
1956
+ */
1957
+ export interface Video {
1958
+ /**
1959
+ * Unique object identifier
1960
+ * @type {string}
1961
+ * @memberof Video
1962
+ */
1963
+ 'id'?: string;
1964
+ /**
1965
+ *
1966
+ * @type {string}
1967
+ * @memberof Video
1968
+ */
1969
+ 'src'?: string;
1970
+ /**
1971
+ *
1972
+ * @type {string}
1973
+ * @memberof Video
1974
+ */
1975
+ 'alt'?: string;
1976
+ /**
1977
+ *
1978
+ * @type {number}
1979
+ * @memberof Video
1980
+ */
1981
+ 'sortOrder'?: number;
1982
+ /**
1983
+ *
1984
+ * @type {string}
1985
+ * @memberof Video
1986
+ */
1987
+ 'createdAt'?: string;
1988
+ /**
1989
+ *
1990
+ * @type {string}
1991
+ * @memberof Video
1992
+ */
1993
+ 'updatedAt'?: string;
1994
+ }
1995
+
1996
+ /**
1997
+ * BlogsApi - axios parameter creator
1998
+ * @export
1999
+ */
2000
+ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration) {
2001
+ return {
2002
+ /**
2003
+ *
2004
+ * @summary List website blog posts
2005
+ * @param {string} project What project it is
2006
+ * @param {number} [pageToken] Page reference token
2007
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2008
+ * @param {string} [search] Search term to filter results
2009
+ * @param {*} [options] Override http request option.
2010
+ * @throws {RequiredError}
2011
+ */
2012
+ listBlogs: async (project: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2013
+ // verify required parameter 'project' is not null or undefined
2014
+ assertParamExists('listBlogs', 'project', project)
2015
+ const localVarPath = `/v1/website/blogs`;
2016
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2017
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2018
+ let baseOptions;
2019
+ if (configuration) {
2020
+ baseOptions = configuration.baseOptions;
2021
+ }
2022
+
2023
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2024
+ const localVarHeaderParameter = {} as any;
2025
+ const localVarQueryParameter = {} as any;
2026
+
2027
+ // authentication session-oauth required
2028
+ // oauth required
2029
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2030
+
2031
+ // authentication api-key required
2032
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2033
+
2034
+ if (project !== undefined) {
2035
+ localVarQueryParameter['project'] = project;
2036
+ }
2037
+
2038
+ if (pageToken !== undefined) {
2039
+ localVarQueryParameter['pageToken'] = pageToken;
2040
+ }
2041
+
2042
+ if (pageSize !== undefined) {
2043
+ localVarQueryParameter['pageSize'] = pageSize;
2044
+ }
2045
+
2046
+ if (search !== undefined) {
2047
+ localVarQueryParameter['search'] = search;
2048
+ }
2049
+
2050
+
2051
+
2052
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2053
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2054
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2055
+
2056
+ return {
2057
+ url: toPathString(localVarUrlObj),
2058
+ options: localVarRequestOptions,
2059
+ };
2060
+ },
2061
+ /**
2062
+ *
2063
+ * @summary Update website blog post
2064
+ * @param {string} project What project it is
2065
+ * @param {string} blogId Blog\&#39;s unique identifier
2066
+ * @param {UpdateBlogRequest} [updateBlogRequest]
2067
+ * @param {*} [options] Override http request option.
2068
+ * @throws {RequiredError}
2069
+ */
2070
+ updateBlog: async (project: string, blogId: string, updateBlogRequest?: UpdateBlogRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2071
+ // verify required parameter 'project' is not null or undefined
2072
+ assertParamExists('updateBlog', 'project', project)
2073
+ // verify required parameter 'blogId' is not null or undefined
2074
+ assertParamExists('updateBlog', 'blogId', blogId)
2075
+ const localVarPath = `/v1/website/blogs/{blogId}`
2076
+ .replace(`{${"blogId"}}`, encodeURIComponent(String(blogId)));
2077
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2078
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2079
+ let baseOptions;
2080
+ if (configuration) {
2081
+ baseOptions = configuration.baseOptions;
2082
+ }
2083
+
2084
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
2085
+ const localVarHeaderParameter = {} as any;
2086
+ const localVarQueryParameter = {} as any;
2087
+
2088
+ // authentication session-oauth required
2089
+ // oauth required
2090
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2091
+
2092
+ // authentication api-key required
2093
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2094
+
2095
+ if (project !== undefined) {
2096
+ localVarQueryParameter['project'] = project;
2097
+ }
2098
+
2099
+
2100
+
2101
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2102
+
2103
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2104
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2105
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2106
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBlogRequest, localVarRequestOptions, configuration)
2107
+
2108
+ return {
2109
+ url: toPathString(localVarUrlObj),
2110
+ options: localVarRequestOptions,
2111
+ };
2112
+ },
2113
+ /**
2114
+ *
2115
+ * @summary Update website blog posts
2116
+ * @param {string} project What project it is
2117
+ * @param {number} [pageToken] Page reference token
2118
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2119
+ * @param {string} [search] Search term to filter results
2120
+ * @param {UpdateBlogsRequest} [updateBlogsRequest] Update blogs in bulk.
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ updateBlogs: async (project: string, pageToken?: number, pageSize?: number, search?: string, updateBlogsRequest?: UpdateBlogsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2125
+ // verify required parameter 'project' is not null or undefined
2126
+ assertParamExists('updateBlogs', 'project', project)
2127
+ const localVarPath = `/v1/website/blogs`;
2128
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2129
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2130
+ let baseOptions;
2131
+ if (configuration) {
2132
+ baseOptions = configuration.baseOptions;
2133
+ }
2134
+
2135
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
2136
+ const localVarHeaderParameter = {} as any;
2137
+ const localVarQueryParameter = {} as any;
2138
+
2139
+ // authentication session-oauth required
2140
+ // oauth required
2141
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2142
+
2143
+ // authentication api-key required
2144
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2145
+
2146
+ if (project !== undefined) {
2147
+ localVarQueryParameter['project'] = project;
2148
+ }
2149
+
2150
+ if (pageToken !== undefined) {
2151
+ localVarQueryParameter['pageToken'] = pageToken;
2152
+ }
2153
+
2154
+ if (pageSize !== undefined) {
2155
+ localVarQueryParameter['pageSize'] = pageSize;
2156
+ }
2157
+
2158
+ if (search !== undefined) {
2159
+ localVarQueryParameter['search'] = search;
2160
+ }
2161
+
2162
+
2163
+
2164
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2165
+
2166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2168
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2169
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBlogsRequest, localVarRequestOptions, configuration)
2170
+
2171
+ return {
2172
+ url: toPathString(localVarUrlObj),
2173
+ options: localVarRequestOptions,
2174
+ };
2175
+ },
2176
+ }
2177
+ };
2178
+
2179
+ /**
2180
+ * BlogsApi - functional programming interface
2181
+ * @export
2182
+ */
2183
+ export const BlogsApiFp = function(configuration?: Configuration) {
2184
+ const localVarAxiosParamCreator = BlogsApiAxiosParamCreator(configuration)
2185
+ return {
2186
+ /**
2187
+ *
2188
+ * @summary List website blog posts
2189
+ * @param {string} project What project it is
2190
+ * @param {number} [pageToken] Page reference token
2191
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2192
+ * @param {string} [search] Search term to filter results
2193
+ * @param {*} [options] Override http request option.
2194
+ * @throws {RequiredError}
2195
+ */
2196
+ async listBlogs(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlogsResponse>> {
2197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBlogs(project, pageToken, pageSize, search, options);
2198
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2199
+ const localVarOperationServerBasePath = operationServerMap['BlogsApi.listBlogs']?.[localVarOperationServerIndex]?.url;
2200
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2201
+ },
2202
+ /**
2203
+ *
2204
+ * @summary Update website blog post
2205
+ * @param {string} project What project it is
2206
+ * @param {string} blogId Blog\&#39;s unique identifier
2207
+ * @param {UpdateBlogRequest} [updateBlogRequest]
2208
+ * @param {*} [options] Override http request option.
2209
+ * @throws {RequiredError}
2210
+ */
2211
+ async updateBlog(project: string, blogId: string, updateBlogRequest?: UpdateBlogRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>> {
2212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlog(project, blogId, updateBlogRequest, options);
2213
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2214
+ const localVarOperationServerBasePath = operationServerMap['BlogsApi.updateBlog']?.[localVarOperationServerIndex]?.url;
2215
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2216
+ },
2217
+ /**
2218
+ *
2219
+ * @summary Update website blog posts
2220
+ * @param {string} project What project it is
2221
+ * @param {number} [pageToken] Page reference token
2222
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2223
+ * @param {string} [search] Search term to filter results
2224
+ * @param {UpdateBlogsRequest} [updateBlogsRequest] Update blogs in bulk.
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ */
2228
+ async updateBlogs(project: string, pageToken?: number, pageSize?: number, search?: string, updateBlogsRequest?: UpdateBlogsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlogsResponse>> {
2229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlogs(project, pageToken, pageSize, search, updateBlogsRequest, options);
2230
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2231
+ const localVarOperationServerBasePath = operationServerMap['BlogsApi.updateBlogs']?.[localVarOperationServerIndex]?.url;
2232
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2233
+ },
2234
+ }
2235
+ };
2236
+
2237
+ /**
2238
+ * BlogsApi - factory interface
2239
+ * @export
2240
+ */
2241
+ export const BlogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2242
+ const localVarFp = BlogsApiFp(configuration)
2243
+ return {
2244
+ /**
2245
+ *
2246
+ * @summary List website blog posts
2247
+ * @param {BlogsApiListBlogsRequest} requestParameters Request parameters.
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ */
2251
+ listBlogs(requestParameters: BlogsApiListBlogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlogsResponse> {
2252
+ return localVarFp.listBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
2253
+ },
2254
+ /**
2255
+ *
2256
+ * @summary Update website blog post
2257
+ * @param {BlogsApiUpdateBlogRequest} requestParameters Request parameters.
2258
+ * @param {*} [options] Override http request option.
2259
+ * @throws {RequiredError}
2260
+ */
2261
+ updateBlog(requestParameters: BlogsApiUpdateBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog> {
2262
+ return localVarFp.updateBlog(requestParameters.project, requestParameters.blogId, requestParameters.updateBlogRequest, options).then((request) => request(axios, basePath));
2263
+ },
2264
+ /**
2265
+ *
2266
+ * @summary Update website blog posts
2267
+ * @param {BlogsApiUpdateBlogsRequest} requestParameters Request parameters.
2268
+ * @param {*} [options] Override http request option.
2269
+ * @throws {RequiredError}
2270
+ */
2271
+ updateBlogs(requestParameters: BlogsApiUpdateBlogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlogsResponse> {
2272
+ return localVarFp.updateBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateBlogsRequest, options).then((request) => request(axios, basePath));
2273
+ },
2274
+ };
2275
+ };
2276
+
2277
+ /**
2278
+ * Request parameters for listBlogs operation in BlogsApi.
2279
+ * @export
2280
+ * @interface BlogsApiListBlogsRequest
2281
+ */
2282
+ export interface BlogsApiListBlogsRequest {
2283
+ /**
2284
+ * What project it is
2285
+ * @type {string}
2286
+ * @memberof BlogsApiListBlogs
2287
+ */
2288
+ readonly project: string
2289
+
2290
+ /**
2291
+ * Page reference token
2292
+ * @type {number}
2293
+ * @memberof BlogsApiListBlogs
2294
+ */
2295
+ readonly pageToken?: number
2296
+
2297
+ /**
2298
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2299
+ * @type {number}
2300
+ * @memberof BlogsApiListBlogs
2301
+ */
2302
+ readonly pageSize?: number
2303
+
2304
+ /**
2305
+ * Search term to filter results
2306
+ * @type {string}
2307
+ * @memberof BlogsApiListBlogs
2308
+ */
2309
+ readonly search?: string
2310
+ }
2311
+
2312
+ /**
2313
+ * Request parameters for updateBlog operation in BlogsApi.
2314
+ * @export
2315
+ * @interface BlogsApiUpdateBlogRequest
2316
+ */
2317
+ export interface BlogsApiUpdateBlogRequest {
2318
+ /**
2319
+ * What project it is
2320
+ * @type {string}
2321
+ * @memberof BlogsApiUpdateBlog
2322
+ */
2323
+ readonly project: string
2324
+
2325
+ /**
2326
+ * Blog\&#39;s unique identifier
2327
+ * @type {string}
2328
+ * @memberof BlogsApiUpdateBlog
2329
+ */
2330
+ readonly blogId: string
2331
+
2332
+ /**
2333
+ *
2334
+ * @type {UpdateBlogRequest}
2335
+ * @memberof BlogsApiUpdateBlog
2336
+ */
2337
+ readonly updateBlogRequest?: UpdateBlogRequest
2338
+ }
2339
+
2340
+ /**
2341
+ * Request parameters for updateBlogs operation in BlogsApi.
2342
+ * @export
2343
+ * @interface BlogsApiUpdateBlogsRequest
2344
+ */
2345
+ export interface BlogsApiUpdateBlogsRequest {
2346
+ /**
2347
+ * What project it is
2348
+ * @type {string}
2349
+ * @memberof BlogsApiUpdateBlogs
2350
+ */
2351
+ readonly project: string
2352
+
2353
+ /**
2354
+ * Page reference token
2355
+ * @type {number}
2356
+ * @memberof BlogsApiUpdateBlogs
2357
+ */
2358
+ readonly pageToken?: number
2359
+
2360
+ /**
2361
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2362
+ * @type {number}
2363
+ * @memberof BlogsApiUpdateBlogs
2364
+ */
2365
+ readonly pageSize?: number
2366
+
2367
+ /**
2368
+ * Search term to filter results
2369
+ * @type {string}
2370
+ * @memberof BlogsApiUpdateBlogs
2371
+ */
2372
+ readonly search?: string
2373
+
2374
+ /**
2375
+ * Update blogs in bulk.
2376
+ * @type {UpdateBlogsRequest}
2377
+ * @memberof BlogsApiUpdateBlogs
2378
+ */
2379
+ readonly updateBlogsRequest?: UpdateBlogsRequest
2380
+ }
2381
+
2382
+ /**
2383
+ * BlogsApi - object-oriented interface
2384
+ * @export
2385
+ * @class BlogsApi
2386
+ * @extends {BaseAPI}
2387
+ */
2388
+ export class BlogsApi extends BaseAPI {
2389
+ /**
2390
+ *
2391
+ * @summary List website blog posts
2392
+ * @param {BlogsApiListBlogsRequest} requestParameters Request parameters.
2393
+ * @param {*} [options] Override http request option.
2394
+ * @throws {RequiredError}
2395
+ * @memberof BlogsApi
2396
+ */
2397
+ public listBlogs(requestParameters: BlogsApiListBlogsRequest, options?: RawAxiosRequestConfig) {
2398
+ return BlogsApiFp(this.configuration).listBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2399
+ }
2400
+
2401
+ /**
2402
+ *
2403
+ * @summary Update website blog post
2404
+ * @param {BlogsApiUpdateBlogRequest} requestParameters Request parameters.
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ * @memberof BlogsApi
2408
+ */
2409
+ public updateBlog(requestParameters: BlogsApiUpdateBlogRequest, options?: RawAxiosRequestConfig) {
2410
+ return BlogsApiFp(this.configuration).updateBlog(requestParameters.project, requestParameters.blogId, requestParameters.updateBlogRequest, options).then((request) => request(this.axios, this.basePath));
2411
+ }
2412
+
2413
+ /**
2414
+ *
2415
+ * @summary Update website blog posts
2416
+ * @param {BlogsApiUpdateBlogsRequest} requestParameters Request parameters.
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ * @memberof BlogsApi
2420
+ */
2421
+ public updateBlogs(requestParameters: BlogsApiUpdateBlogsRequest, options?: RawAxiosRequestConfig) {
2422
+ return BlogsApiFp(this.configuration).updateBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateBlogsRequest, options).then((request) => request(this.axios, this.basePath));
2423
+ }
2424
+ }
2425
+
2426
+
2427
+
2428
+ /**
2429
+ * CollectionsApi - axios parameter creator
2430
+ * @export
2431
+ */
2432
+ export const CollectionsApiAxiosParamCreator = function (configuration?: Configuration) {
2433
+ return {
2434
+ /**
2435
+ *
2436
+ * @summary List website collections
2437
+ * @param {string} project What project it is
2438
+ * @param {number} [pageToken] Page reference token
2439
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2440
+ * @param {string} [search] Search term to filter results
2441
+ * @param {*} [options] Override http request option.
2442
+ * @throws {RequiredError}
2443
+ */
2444
+ listCollections: async (project: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2445
+ // verify required parameter 'project' is not null or undefined
2446
+ assertParamExists('listCollections', 'project', project)
2447
+ const localVarPath = `/v1/website/collections`;
2448
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2449
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2450
+ let baseOptions;
2451
+ if (configuration) {
2452
+ baseOptions = configuration.baseOptions;
2453
+ }
2454
+
2455
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2456
+ const localVarHeaderParameter = {} as any;
2457
+ const localVarQueryParameter = {} as any;
2458
+
2459
+ // authentication session-oauth required
2460
+ // oauth required
2461
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2462
+
2463
+ // authentication api-key required
2464
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2465
+
2466
+ if (project !== undefined) {
2467
+ localVarQueryParameter['project'] = project;
2468
+ }
2469
+
2470
+ if (pageToken !== undefined) {
2471
+ localVarQueryParameter['pageToken'] = pageToken;
2472
+ }
2473
+
2474
+ if (pageSize !== undefined) {
2475
+ localVarQueryParameter['pageSize'] = pageSize;
2476
+ }
2477
+
2478
+ if (search !== undefined) {
2479
+ localVarQueryParameter['search'] = search;
2480
+ }
2481
+
2482
+
2483
+
2484
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2485
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2486
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2487
+
2488
+ return {
2489
+ url: toPathString(localVarUrlObj),
2490
+ options: localVarRequestOptions,
2491
+ };
2492
+ },
2493
+ /**
2494
+ *
2495
+ * @summary Update website collection
2496
+ * @param {string} project What project it is
2497
+ * @param {string} collectionId Collection\&#39;s unique identifier
2498
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
2499
+ * @param {*} [options] Override http request option.
2500
+ * @throws {RequiredError}
2501
+ */
2502
+ updateCollection: async (project: string, collectionId: string, updateCollectionRequest?: UpdateCollectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2503
+ // verify required parameter 'project' is not null or undefined
2504
+ assertParamExists('updateCollection', 'project', project)
2505
+ // verify required parameter 'collectionId' is not null or undefined
2506
+ assertParamExists('updateCollection', 'collectionId', collectionId)
2507
+ const localVarPath = `/v1/website/collections/{collectionId}`
2508
+ .replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
2509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2511
+ let baseOptions;
2512
+ if (configuration) {
2513
+ baseOptions = configuration.baseOptions;
2514
+ }
2515
+
2516
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
2517
+ const localVarHeaderParameter = {} as any;
2518
+ const localVarQueryParameter = {} as any;
2519
+
2520
+ // authentication session-oauth required
2521
+ // oauth required
2522
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2523
+
2524
+ // authentication api-key required
2525
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2526
+
2527
+ if (project !== undefined) {
2528
+ localVarQueryParameter['project'] = project;
2529
+ }
2530
+
2531
+
2532
+
2533
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2534
+
2535
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2536
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2537
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2538
+ localVarRequestOptions.data = serializeDataIfNeeded(updateCollectionRequest, localVarRequestOptions, configuration)
2539
+
2540
+ return {
2541
+ url: toPathString(localVarUrlObj),
2542
+ options: localVarRequestOptions,
2543
+ };
2544
+ },
2545
+ /**
2546
+ *
2547
+ * @summary Update website collections
2548
+ * @param {string} project What project it is
2549
+ * @param {number} [pageToken] Page reference token
2550
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2551
+ * @param {string} [search] Search term to filter results
2552
+ * @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
2553
+ * @param {*} [options] Override http request option.
2554
+ * @throws {RequiredError}
2555
+ */
2556
+ updateCollections: async (project: string, pageToken?: number, pageSize?: number, search?: string, updateCollectionsRequest?: UpdateCollectionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2557
+ // verify required parameter 'project' is not null or undefined
2558
+ assertParamExists('updateCollections', 'project', project)
2559
+ const localVarPath = `/v1/website/collections`;
2560
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2561
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2562
+ let baseOptions;
2563
+ if (configuration) {
2564
+ baseOptions = configuration.baseOptions;
2565
+ }
2566
+
2567
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
2568
+ const localVarHeaderParameter = {} as any;
2569
+ const localVarQueryParameter = {} as any;
2570
+
2571
+ // authentication session-oauth required
2572
+ // oauth required
2573
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
2574
+
2575
+ // authentication api-key required
2576
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
2577
+
2578
+ if (project !== undefined) {
2579
+ localVarQueryParameter['project'] = project;
2580
+ }
2581
+
2582
+ if (pageToken !== undefined) {
2583
+ localVarQueryParameter['pageToken'] = pageToken;
2584
+ }
2585
+
2586
+ if (pageSize !== undefined) {
2587
+ localVarQueryParameter['pageSize'] = pageSize;
2588
+ }
2589
+
2590
+ if (search !== undefined) {
2591
+ localVarQueryParameter['search'] = search;
2592
+ }
2593
+
2594
+
2595
+
2596
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2597
+
2598
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2600
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2601
+ localVarRequestOptions.data = serializeDataIfNeeded(updateCollectionsRequest, localVarRequestOptions, configuration)
2602
+
2603
+ return {
2604
+ url: toPathString(localVarUrlObj),
2605
+ options: localVarRequestOptions,
2606
+ };
2607
+ },
2608
+ }
2609
+ };
2610
+
2611
+ /**
2612
+ * CollectionsApi - functional programming interface
2613
+ * @export
2614
+ */
2615
+ export const CollectionsApiFp = function(configuration?: Configuration) {
2616
+ const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration)
2617
+ return {
2618
+ /**
2619
+ *
2620
+ * @summary List website collections
2621
+ * @param {string} project What project it is
2622
+ * @param {number} [pageToken] Page reference token
2623
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2624
+ * @param {string} [search] Search term to filter results
2625
+ * @param {*} [options] Override http request option.
2626
+ * @throws {RequiredError}
2627
+ */
2628
+ async listCollections(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionsResponse>> {
2629
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(project, pageToken, pageSize, search, options);
2630
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2631
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.listCollections']?.[localVarOperationServerIndex]?.url;
2632
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2633
+ },
2634
+ /**
2635
+ *
2636
+ * @summary Update website collection
2637
+ * @param {string} project What project it is
2638
+ * @param {string} collectionId Collection\&#39;s unique identifier
2639
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
2640
+ * @param {*} [options] Override http request option.
2641
+ * @throws {RequiredError}
2642
+ */
2643
+ async updateCollection(project: string, collectionId: string, updateCollectionRequest?: UpdateCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>> {
2644
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCollection(project, collectionId, updateCollectionRequest, options);
2645
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2646
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.updateCollection']?.[localVarOperationServerIndex]?.url;
2647
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2648
+ },
2649
+ /**
2650
+ *
2651
+ * @summary Update website collections
2652
+ * @param {string} project What project it is
2653
+ * @param {number} [pageToken] Page reference token
2654
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2655
+ * @param {string} [search] Search term to filter results
2656
+ * @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
2657
+ * @param {*} [options] Override http request option.
2658
+ * @throws {RequiredError}
2659
+ */
2660
+ async updateCollections(project: string, pageToken?: number, pageSize?: number, search?: string, updateCollectionsRequest?: UpdateCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionsResponse>> {
2661
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCollections(project, pageToken, pageSize, search, updateCollectionsRequest, options);
2662
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2663
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.updateCollections']?.[localVarOperationServerIndex]?.url;
2664
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2665
+ },
2666
+ }
2667
+ };
2668
+
2669
+ /**
2670
+ * CollectionsApi - factory interface
2671
+ * @export
2672
+ */
2673
+ export const CollectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2674
+ const localVarFp = CollectionsApiFp(configuration)
2675
+ return {
2676
+ /**
2677
+ *
2678
+ * @summary List website collections
2679
+ * @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
2680
+ * @param {*} [options] Override http request option.
2681
+ * @throws {RequiredError}
2682
+ */
2683
+ listCollections(requestParameters: CollectionsApiListCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionsResponse> {
2684
+ return localVarFp.listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
2685
+ },
2686
+ /**
2687
+ *
2688
+ * @summary Update website collection
2689
+ * @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
2690
+ * @param {*} [options] Override http request option.
2691
+ * @throws {RequiredError}
2692
+ */
2693
+ updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Collection> {
2694
+ return localVarFp.updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(axios, basePath));
2695
+ },
2696
+ /**
2697
+ *
2698
+ * @summary Update website collections
2699
+ * @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
2700
+ * @param {*} [options] Override http request option.
2701
+ * @throws {RequiredError}
2702
+ */
2703
+ updateCollections(requestParameters: CollectionsApiUpdateCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionsResponse> {
2704
+ return localVarFp.updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(axios, basePath));
2705
+ },
2706
+ };
2707
+ };
2708
+
2709
+ /**
2710
+ * Request parameters for listCollections operation in CollectionsApi.
2711
+ * @export
2712
+ * @interface CollectionsApiListCollectionsRequest
2713
+ */
2714
+ export interface CollectionsApiListCollectionsRequest {
2715
+ /**
2716
+ * What project it is
2717
+ * @type {string}
2718
+ * @memberof CollectionsApiListCollections
2719
+ */
2720
+ readonly project: string
2721
+
2722
+ /**
2723
+ * Page reference token
2724
+ * @type {number}
2725
+ * @memberof CollectionsApiListCollections
2726
+ */
2727
+ readonly pageToken?: number
2728
+
2729
+ /**
2730
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2731
+ * @type {number}
2732
+ * @memberof CollectionsApiListCollections
2733
+ */
2734
+ readonly pageSize?: number
2735
+
2736
+ /**
2737
+ * Search term to filter results
2738
+ * @type {string}
2739
+ * @memberof CollectionsApiListCollections
2740
+ */
2741
+ readonly search?: string
2742
+ }
2743
+
2744
+ /**
2745
+ * Request parameters for updateCollection operation in CollectionsApi.
2746
+ * @export
2747
+ * @interface CollectionsApiUpdateCollectionRequest
2748
+ */
2749
+ export interface CollectionsApiUpdateCollectionRequest {
2750
+ /**
2751
+ * What project it is
2752
+ * @type {string}
2753
+ * @memberof CollectionsApiUpdateCollection
2754
+ */
2755
+ readonly project: string
2756
+
2757
+ /**
2758
+ * Collection\&#39;s unique identifier
2759
+ * @type {string}
2760
+ * @memberof CollectionsApiUpdateCollection
2761
+ */
2762
+ readonly collectionId: string
2763
+
2764
+ /**
2765
+ *
2766
+ * @type {UpdateCollectionRequest}
2767
+ * @memberof CollectionsApiUpdateCollection
2768
+ */
2769
+ readonly updateCollectionRequest?: UpdateCollectionRequest
2770
+ }
2771
+
2772
+ /**
2773
+ * Request parameters for updateCollections operation in CollectionsApi.
2774
+ * @export
2775
+ * @interface CollectionsApiUpdateCollectionsRequest
2776
+ */
2777
+ export interface CollectionsApiUpdateCollectionsRequest {
2778
+ /**
2779
+ * What project it is
2780
+ * @type {string}
2781
+ * @memberof CollectionsApiUpdateCollections
2782
+ */
2783
+ readonly project: string
2784
+
2785
+ /**
2786
+ * Page reference token
2787
+ * @type {number}
2788
+ * @memberof CollectionsApiUpdateCollections
2789
+ */
2790
+ readonly pageToken?: number
2791
+
2792
+ /**
2793
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2794
+ * @type {number}
2795
+ * @memberof CollectionsApiUpdateCollections
2796
+ */
2797
+ readonly pageSize?: number
2798
+
2799
+ /**
2800
+ * Search term to filter results
2801
+ * @type {string}
2802
+ * @memberof CollectionsApiUpdateCollections
2803
+ */
2804
+ readonly search?: string
2805
+
2806
+ /**
2807
+ * Update collections in bulk.
2808
+ * @type {UpdateCollectionsRequest}
2809
+ * @memberof CollectionsApiUpdateCollections
2810
+ */
2811
+ readonly updateCollectionsRequest?: UpdateCollectionsRequest
2812
+ }
2813
+
2814
+ /**
2815
+ * CollectionsApi - object-oriented interface
2816
+ * @export
2817
+ * @class CollectionsApi
2818
+ * @extends {BaseAPI}
2819
+ */
2820
+ export class CollectionsApi extends BaseAPI {
2821
+ /**
2822
+ *
2823
+ * @summary List website collections
2824
+ * @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
2825
+ * @param {*} [options] Override http request option.
2826
+ * @throws {RequiredError}
2827
+ * @memberof CollectionsApi
1037
2828
  */
1038
- 'sortOrder'?: number;
2829
+ public listCollections(requestParameters: CollectionsApiListCollectionsRequest, options?: RawAxiosRequestConfig) {
2830
+ return CollectionsApiFp(this.configuration).listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
2831
+ }
2832
+
1039
2833
  /**
1040
2834
  *
1041
- * @type {string}
1042
- * @memberof Video
2835
+ * @summary Update website collection
2836
+ * @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
2837
+ * @param {*} [options] Override http request option.
2838
+ * @throws {RequiredError}
2839
+ * @memberof CollectionsApi
1043
2840
  */
1044
- 'createdAt'?: string;
2841
+ public updateCollection(requestParameters: CollectionsApiUpdateCollectionRequest, options?: RawAxiosRequestConfig) {
2842
+ return CollectionsApiFp(this.configuration).updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(this.axios, this.basePath));
2843
+ }
2844
+
1045
2845
  /**
1046
2846
  *
1047
- * @type {string}
1048
- * @memberof Video
2847
+ * @summary Update website collections
2848
+ * @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
2849
+ * @param {*} [options] Override http request option.
2850
+ * @throws {RequiredError}
2851
+ * @memberof CollectionsApi
1049
2852
  */
1050
- 'updatedAt'?: string;
2853
+ public updateCollections(requestParameters: CollectionsApiUpdateCollectionsRequest, options?: RawAxiosRequestConfig) {
2854
+ return CollectionsApiFp(this.configuration).updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
2855
+ }
1051
2856
  }
1052
2857
 
2858
+
2859
+
1053
2860
  /**
1054
2861
  * CrossSellApi - axios parameter creator
1055
2862
  * @export
@@ -1283,51 +3090,291 @@ export interface CrossSellApiGetCrossSellProductsRequest {
1283
3090
  * @class CrossSellApi
1284
3091
  * @extends {BaseAPI}
1285
3092
  */
1286
- export class CrossSellApi extends BaseAPI {
3093
+ export class CrossSellApi extends BaseAPI {
3094
+ /**
3095
+ * Attaches a list of products to the given product as cross-sell products.
3096
+ * @summary Attach cross-sell products
3097
+ * @param {CrossSellApiAttachCrossSellProductsRequest} requestParameters Request parameters.
3098
+ * @param {*} [options] Override http request option.
3099
+ * @throws {RequiredError}
3100
+ * @memberof CrossSellApi
3101
+ */
3102
+ public attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig) {
3103
+ return CrossSellApiFp(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(this.axios, this.basePath));
3104
+ }
3105
+
3106
+ /**
3107
+ *
3108
+ * @summary Get cross-sell products linked to a product
3109
+ * @param {CrossSellApiGetCrossSellProductsRequest} requestParameters Request parameters.
3110
+ * @param {*} [options] Override http request option.
3111
+ * @throws {RequiredError}
3112
+ * @memberof CrossSellApi
3113
+ */
3114
+ public getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig) {
3115
+ return CrossSellApiFp(this.configuration).getCrossSellProducts(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
3116
+ }
3117
+ }
3118
+
3119
+
3120
+
3121
+ /**
3122
+ * MenuApi - axios parameter creator
3123
+ * @export
3124
+ */
3125
+ export const MenuApiAxiosParamCreator = function (configuration?: Configuration) {
3126
+ return {
3127
+ /**
3128
+ * Get menu
3129
+ * @summary Get menu
3130
+ * @param {string} project What project it is
3131
+ * @param {*} [options] Override http request option.
3132
+ * @throws {RequiredError}
3133
+ */
3134
+ getMenu: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3135
+ // verify required parameter 'project' is not null or undefined
3136
+ assertParamExists('getMenu', 'project', project)
3137
+ const localVarPath = `/v1/website/menu`;
3138
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3139
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3140
+ let baseOptions;
3141
+ if (configuration) {
3142
+ baseOptions = configuration.baseOptions;
3143
+ }
3144
+
3145
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3146
+ const localVarHeaderParameter = {} as any;
3147
+ const localVarQueryParameter = {} as any;
3148
+
3149
+ // authentication session-oauth required
3150
+ // oauth required
3151
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3152
+
3153
+ // authentication api-key required
3154
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3155
+
3156
+ if (project !== undefined) {
3157
+ localVarQueryParameter['project'] = project;
3158
+ }
3159
+
3160
+
3161
+
3162
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3163
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3164
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3165
+
3166
+ return {
3167
+ url: toPathString(localVarUrlObj),
3168
+ options: localVarRequestOptions,
3169
+ };
3170
+ },
3171
+ /**
3172
+ * Update menu
3173
+ * @summary Update menu
3174
+ * @param {string} project What project it is
3175
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
3176
+ * @param {*} [options] Override http request option.
3177
+ * @throws {RequiredError}
3178
+ */
3179
+ updateMenu: async (project: string, updateMenuRequest?: UpdateMenuRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3180
+ // verify required parameter 'project' is not null or undefined
3181
+ assertParamExists('updateMenu', 'project', project)
3182
+ const localVarPath = `/v1/website/menu`;
3183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3185
+ let baseOptions;
3186
+ if (configuration) {
3187
+ baseOptions = configuration.baseOptions;
3188
+ }
3189
+
3190
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3191
+ const localVarHeaderParameter = {} as any;
3192
+ const localVarQueryParameter = {} as any;
3193
+
3194
+ // authentication session-oauth required
3195
+ // oauth required
3196
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3197
+
3198
+ // authentication api-key required
3199
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3200
+
3201
+ if (project !== undefined) {
3202
+ localVarQueryParameter['project'] = project;
3203
+ }
3204
+
3205
+
3206
+
3207
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3208
+
3209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3211
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3212
+ localVarRequestOptions.data = serializeDataIfNeeded(updateMenuRequest, localVarRequestOptions, configuration)
3213
+
3214
+ return {
3215
+ url: toPathString(localVarUrlObj),
3216
+ options: localVarRequestOptions,
3217
+ };
3218
+ },
3219
+ }
3220
+ };
3221
+
3222
+ /**
3223
+ * MenuApi - functional programming interface
3224
+ * @export
3225
+ */
3226
+ export const MenuApiFp = function(configuration?: Configuration) {
3227
+ const localVarAxiosParamCreator = MenuApiAxiosParamCreator(configuration)
3228
+ return {
3229
+ /**
3230
+ * Get menu
3231
+ * @summary Get menu
3232
+ * @param {string} project What project it is
3233
+ * @param {*} [options] Override http request option.
3234
+ * @throws {RequiredError}
3235
+ */
3236
+ async getMenu(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>> {
3237
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMenu(project, options);
3238
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3239
+ const localVarOperationServerBasePath = operationServerMap['MenuApi.getMenu']?.[localVarOperationServerIndex]?.url;
3240
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3241
+ },
3242
+ /**
3243
+ * Update menu
3244
+ * @summary Update menu
3245
+ * @param {string} project What project it is
3246
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
3247
+ * @param {*} [options] Override http request option.
3248
+ * @throws {RequiredError}
3249
+ */
3250
+ async updateMenu(project: string, updateMenuRequest?: UpdateMenuRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>> {
3251
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateMenu(project, updateMenuRequest, options);
3252
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3253
+ const localVarOperationServerBasePath = operationServerMap['MenuApi.updateMenu']?.[localVarOperationServerIndex]?.url;
3254
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3255
+ },
3256
+ }
3257
+ };
3258
+
3259
+ /**
3260
+ * MenuApi - factory interface
3261
+ * @export
3262
+ */
3263
+ export const MenuApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3264
+ const localVarFp = MenuApiFp(configuration)
3265
+ return {
3266
+ /**
3267
+ * Get menu
3268
+ * @summary Get menu
3269
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
3270
+ * @param {*} [options] Override http request option.
3271
+ * @throws {RequiredError}
3272
+ */
3273
+ getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu> {
3274
+ return localVarFp.getMenu(requestParameters.project, options).then((request) => request(axios, basePath));
3275
+ },
3276
+ /**
3277
+ * Update menu
3278
+ * @summary Update menu
3279
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
3280
+ * @param {*} [options] Override http request option.
3281
+ * @throws {RequiredError}
3282
+ */
3283
+ updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu> {
3284
+ return localVarFp.updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(axios, basePath));
3285
+ },
3286
+ };
3287
+ };
3288
+
3289
+ /**
3290
+ * Request parameters for getMenu operation in MenuApi.
3291
+ * @export
3292
+ * @interface MenuApiGetMenuRequest
3293
+ */
3294
+ export interface MenuApiGetMenuRequest {
3295
+ /**
3296
+ * What project it is
3297
+ * @type {string}
3298
+ * @memberof MenuApiGetMenu
3299
+ */
3300
+ readonly project: string
3301
+ }
3302
+
3303
+ /**
3304
+ * Request parameters for updateMenu operation in MenuApi.
3305
+ * @export
3306
+ * @interface MenuApiUpdateMenuRequest
3307
+ */
3308
+ export interface MenuApiUpdateMenuRequest {
3309
+ /**
3310
+ * What project it is
3311
+ * @type {string}
3312
+ * @memberof MenuApiUpdateMenu
3313
+ */
3314
+ readonly project: string
3315
+
3316
+ /**
3317
+ * Update menu request
3318
+ * @type {UpdateMenuRequest}
3319
+ * @memberof MenuApiUpdateMenu
3320
+ */
3321
+ readonly updateMenuRequest?: UpdateMenuRequest
3322
+ }
3323
+
3324
+ /**
3325
+ * MenuApi - object-oriented interface
3326
+ * @export
3327
+ * @class MenuApi
3328
+ * @extends {BaseAPI}
3329
+ */
3330
+ export class MenuApi extends BaseAPI {
1287
3331
  /**
1288
- * Attaches a list of products to the given product as cross-sell products.
1289
- * @summary Attach cross-sell products
1290
- * @param {CrossSellApiAttachCrossSellProductsRequest} requestParameters Request parameters.
3332
+ * Get menu
3333
+ * @summary Get menu
3334
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
1291
3335
  * @param {*} [options] Override http request option.
1292
3336
  * @throws {RequiredError}
1293
- * @memberof CrossSellApi
3337
+ * @memberof MenuApi
1294
3338
  */
1295
- public attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig) {
1296
- return CrossSellApiFp(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(this.axios, this.basePath));
3339
+ public getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig) {
3340
+ return MenuApiFp(this.configuration).getMenu(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1297
3341
  }
1298
3342
 
1299
3343
  /**
1300
- *
1301
- * @summary Get cross-sell products linked to a product
1302
- * @param {CrossSellApiGetCrossSellProductsRequest} requestParameters Request parameters.
3344
+ * Update menu
3345
+ * @summary Update menu
3346
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
1303
3347
  * @param {*} [options] Override http request option.
1304
3348
  * @throws {RequiredError}
1305
- * @memberof CrossSellApi
3349
+ * @memberof MenuApi
1306
3350
  */
1307
- public getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig) {
1308
- return CrossSellApiFp(this.configuration).getCrossSellProducts(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
3351
+ public updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig) {
3352
+ return MenuApiFp(this.configuration).updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(this.axios, this.basePath));
1309
3353
  }
1310
3354
  }
1311
3355
 
1312
3356
 
1313
3357
 
1314
3358
  /**
1315
- * MenuApi - axios parameter creator
3359
+ * PagesApi - axios parameter creator
1316
3360
  * @export
1317
3361
  */
1318
- export const MenuApiAxiosParamCreator = function (configuration?: Configuration) {
3362
+ export const PagesApiAxiosParamCreator = function (configuration?: Configuration) {
1319
3363
  return {
1320
3364
  /**
1321
- * Get menu
1322
- * @summary Get menu
3365
+ *
3366
+ * @summary List website pages
1323
3367
  * @param {string} project What project it is
3368
+ * @param {number} [pageToken] Page reference token
3369
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3370
+ * @param {string} [search] Search term to filter results
1324
3371
  * @param {*} [options] Override http request option.
1325
3372
  * @throws {RequiredError}
1326
3373
  */
1327
- getMenu: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3374
+ listPages: async (project: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1328
3375
  // verify required parameter 'project' is not null or undefined
1329
- assertParamExists('getMenu', 'project', project)
1330
- const localVarPath = `/v1/website/menu`;
3376
+ assertParamExists('listPages', 'project', project)
3377
+ const localVarPath = `/v1/website/pages`;
1331
3378
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1332
3379
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1333
3380
  let baseOptions;
@@ -1350,6 +3397,18 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
1350
3397
  localVarQueryParameter['project'] = project;
1351
3398
  }
1352
3399
 
3400
+ if (pageToken !== undefined) {
3401
+ localVarQueryParameter['pageToken'] = pageToken;
3402
+ }
3403
+
3404
+ if (pageSize !== undefined) {
3405
+ localVarQueryParameter['pageSize'] = pageSize;
3406
+ }
3407
+
3408
+ if (search !== undefined) {
3409
+ localVarQueryParameter['search'] = search;
3410
+ }
3411
+
1353
3412
 
1354
3413
 
1355
3414
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1362,17 +3421,21 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
1362
3421
  };
1363
3422
  },
1364
3423
  /**
1365
- * Update menu
1366
- * @summary Update menu
3424
+ *
3425
+ * @summary Update website page
1367
3426
  * @param {string} project What project it is
1368
- * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
3427
+ * @param {string} pageId Page\&#39;s unique identifier
3428
+ * @param {UpdatePageRequest} [updatePageRequest]
1369
3429
  * @param {*} [options] Override http request option.
1370
3430
  * @throws {RequiredError}
1371
3431
  */
1372
- updateMenu: async (project: string, updateMenuRequest?: UpdateMenuRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3432
+ updatePage: async (project: string, pageId: string, updatePageRequest?: UpdatePageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1373
3433
  // verify required parameter 'project' is not null or undefined
1374
- assertParamExists('updateMenu', 'project', project)
1375
- const localVarPath = `/v1/website/menu`;
3434
+ assertParamExists('updatePage', 'project', project)
3435
+ // verify required parameter 'pageId' is not null or undefined
3436
+ assertParamExists('updatePage', 'pageId', pageId)
3437
+ const localVarPath = `/v1/website/pages/{pageId}`
3438
+ .replace(`{${"pageId"}}`, encodeURIComponent(String(pageId)));
1376
3439
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1377
3440
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1378
3441
  let baseOptions;
@@ -1380,7 +3443,7 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
1380
3443
  baseOptions = configuration.baseOptions;
1381
3444
  }
1382
3445
 
1383
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3446
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1384
3447
  const localVarHeaderParameter = {} as any;
1385
3448
  const localVarQueryParameter = {} as any;
1386
3449
 
@@ -1402,7 +3465,70 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
1402
3465
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1403
3466
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1404
3467
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1405
- localVarRequestOptions.data = serializeDataIfNeeded(updateMenuRequest, localVarRequestOptions, configuration)
3468
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePageRequest, localVarRequestOptions, configuration)
3469
+
3470
+ return {
3471
+ url: toPathString(localVarUrlObj),
3472
+ options: localVarRequestOptions,
3473
+ };
3474
+ },
3475
+ /**
3476
+ *
3477
+ * @summary Update website pages
3478
+ * @param {string} project What project it is
3479
+ * @param {number} [pageToken] Page reference token
3480
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3481
+ * @param {string} [search] Search term to filter results
3482
+ * @param {UpdatePagesRequest} [updatePagesRequest] Update pages in bulk.
3483
+ * @param {*} [options] Override http request option.
3484
+ * @throws {RequiredError}
3485
+ */
3486
+ updatePages: async (project: string, pageToken?: number, pageSize?: number, search?: string, updatePagesRequest?: UpdatePagesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3487
+ // verify required parameter 'project' is not null or undefined
3488
+ assertParamExists('updatePages', 'project', project)
3489
+ const localVarPath = `/v1/website/pages`;
3490
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3491
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3492
+ let baseOptions;
3493
+ if (configuration) {
3494
+ baseOptions = configuration.baseOptions;
3495
+ }
3496
+
3497
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
3498
+ const localVarHeaderParameter = {} as any;
3499
+ const localVarQueryParameter = {} as any;
3500
+
3501
+ // authentication session-oauth required
3502
+ // oauth required
3503
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3504
+
3505
+ // authentication api-key required
3506
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3507
+
3508
+ if (project !== undefined) {
3509
+ localVarQueryParameter['project'] = project;
3510
+ }
3511
+
3512
+ if (pageToken !== undefined) {
3513
+ localVarQueryParameter['pageToken'] = pageToken;
3514
+ }
3515
+
3516
+ if (pageSize !== undefined) {
3517
+ localVarQueryParameter['pageSize'] = pageSize;
3518
+ }
3519
+
3520
+ if (search !== undefined) {
3521
+ localVarQueryParameter['search'] = search;
3522
+ }
3523
+
3524
+
3525
+
3526
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3527
+
3528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3530
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3531
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePagesRequest, localVarRequestOptions, configuration)
1406
3532
 
1407
3533
  return {
1408
3534
  url: toPathString(localVarUrlObj),
@@ -1413,136 +3539,249 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
1413
3539
  };
1414
3540
 
1415
3541
  /**
1416
- * MenuApi - functional programming interface
3542
+ * PagesApi - functional programming interface
1417
3543
  * @export
1418
3544
  */
1419
- export const MenuApiFp = function(configuration?: Configuration) {
1420
- const localVarAxiosParamCreator = MenuApiAxiosParamCreator(configuration)
3545
+ export const PagesApiFp = function(configuration?: Configuration) {
3546
+ const localVarAxiosParamCreator = PagesApiAxiosParamCreator(configuration)
1421
3547
  return {
1422
3548
  /**
1423
- * Get menu
1424
- * @summary Get menu
3549
+ *
3550
+ * @summary List website pages
1425
3551
  * @param {string} project What project it is
3552
+ * @param {number} [pageToken] Page reference token
3553
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3554
+ * @param {string} [search] Search term to filter results
1426
3555
  * @param {*} [options] Override http request option.
1427
3556
  * @throws {RequiredError}
1428
3557
  */
1429
- async getMenu(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>> {
1430
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMenu(project, options);
3558
+ async listPages(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagesResponse>> {
3559
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPages(project, pageToken, pageSize, search, options);
1431
3560
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1432
- const localVarOperationServerBasePath = operationServerMap['MenuApi.getMenu']?.[localVarOperationServerIndex]?.url;
3561
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.listPages']?.[localVarOperationServerIndex]?.url;
1433
3562
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1434
3563
  },
1435
3564
  /**
1436
- * Update menu
1437
- * @summary Update menu
3565
+ *
3566
+ * @summary Update website page
1438
3567
  * @param {string} project What project it is
1439
- * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
3568
+ * @param {string} pageId Page\&#39;s unique identifier
3569
+ * @param {UpdatePageRequest} [updatePageRequest]
1440
3570
  * @param {*} [options] Override http request option.
1441
3571
  * @throws {RequiredError}
1442
3572
  */
1443
- async updateMenu(project: string, updateMenuRequest?: UpdateMenuRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>> {
1444
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateMenu(project, updateMenuRequest, options);
3573
+ async updatePage(project: string, pageId: string, updatePageRequest?: UpdatePageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Page>> {
3574
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePage(project, pageId, updatePageRequest, options);
1445
3575
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1446
- const localVarOperationServerBasePath = operationServerMap['MenuApi.updateMenu']?.[localVarOperationServerIndex]?.url;
3576
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.updatePage']?.[localVarOperationServerIndex]?.url;
3577
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3578
+ },
3579
+ /**
3580
+ *
3581
+ * @summary Update website pages
3582
+ * @param {string} project What project it is
3583
+ * @param {number} [pageToken] Page reference token
3584
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3585
+ * @param {string} [search] Search term to filter results
3586
+ * @param {UpdatePagesRequest} [updatePagesRequest] Update pages in bulk.
3587
+ * @param {*} [options] Override http request option.
3588
+ * @throws {RequiredError}
3589
+ */
3590
+ async updatePages(project: string, pageToken?: number, pageSize?: number, search?: string, updatePagesRequest?: UpdatePagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagesResponse>> {
3591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePages(project, pageToken, pageSize, search, updatePagesRequest, options);
3592
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3593
+ const localVarOperationServerBasePath = operationServerMap['PagesApi.updatePages']?.[localVarOperationServerIndex]?.url;
1447
3594
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1448
3595
  },
1449
3596
  }
1450
3597
  };
1451
3598
 
1452
3599
  /**
1453
- * MenuApi - factory interface
3600
+ * PagesApi - factory interface
1454
3601
  * @export
1455
3602
  */
1456
- export const MenuApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1457
- const localVarFp = MenuApiFp(configuration)
3603
+ export const PagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3604
+ const localVarFp = PagesApiFp(configuration)
1458
3605
  return {
1459
3606
  /**
1460
- * Get menu
1461
- * @summary Get menu
1462
- * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
3607
+ *
3608
+ * @summary List website pages
3609
+ * @param {PagesApiListPagesRequest} requestParameters Request parameters.
1463
3610
  * @param {*} [options] Override http request option.
1464
3611
  * @throws {RequiredError}
1465
3612
  */
1466
- getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu> {
1467
- return localVarFp.getMenu(requestParameters.project, options).then((request) => request(axios, basePath));
3613
+ listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse> {
3614
+ return localVarFp.listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1468
3615
  },
1469
3616
  /**
1470
- * Update menu
1471
- * @summary Update menu
1472
- * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
3617
+ *
3618
+ * @summary Update website page
3619
+ * @param {PagesApiUpdatePageRequest} requestParameters Request parameters.
1473
3620
  * @param {*} [options] Override http request option.
1474
3621
  * @throws {RequiredError}
1475
3622
  */
1476
- updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu> {
1477
- return localVarFp.updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(axios, basePath));
3623
+ updatePage(requestParameters: PagesApiUpdatePageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Page> {
3624
+ return localVarFp.updatePage(requestParameters.project, requestParameters.pageId, requestParameters.updatePageRequest, options).then((request) => request(axios, basePath));
3625
+ },
3626
+ /**
3627
+ *
3628
+ * @summary Update website pages
3629
+ * @param {PagesApiUpdatePagesRequest} requestParameters Request parameters.
3630
+ * @param {*} [options] Override http request option.
3631
+ * @throws {RequiredError}
3632
+ */
3633
+ updatePages(requestParameters: PagesApiUpdatePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse> {
3634
+ return localVarFp.updatePages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updatePagesRequest, options).then((request) => request(axios, basePath));
1478
3635
  },
1479
3636
  };
1480
3637
  };
1481
3638
 
1482
3639
  /**
1483
- * Request parameters for getMenu operation in MenuApi.
3640
+ * Request parameters for listPages operation in PagesApi.
1484
3641
  * @export
1485
- * @interface MenuApiGetMenuRequest
3642
+ * @interface PagesApiListPagesRequest
1486
3643
  */
1487
- export interface MenuApiGetMenuRequest {
3644
+ export interface PagesApiListPagesRequest {
1488
3645
  /**
1489
3646
  * What project it is
1490
3647
  * @type {string}
1491
- * @memberof MenuApiGetMenu
3648
+ * @memberof PagesApiListPages
1492
3649
  */
1493
3650
  readonly project: string
3651
+
3652
+ /**
3653
+ * Page reference token
3654
+ * @type {number}
3655
+ * @memberof PagesApiListPages
3656
+ */
3657
+ readonly pageToken?: number
3658
+
3659
+ /**
3660
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3661
+ * @type {number}
3662
+ * @memberof PagesApiListPages
3663
+ */
3664
+ readonly pageSize?: number
3665
+
3666
+ /**
3667
+ * Search term to filter results
3668
+ * @type {string}
3669
+ * @memberof PagesApiListPages
3670
+ */
3671
+ readonly search?: string
1494
3672
  }
1495
3673
 
1496
3674
  /**
1497
- * Request parameters for updateMenu operation in MenuApi.
3675
+ * Request parameters for updatePage operation in PagesApi.
1498
3676
  * @export
1499
- * @interface MenuApiUpdateMenuRequest
3677
+ * @interface PagesApiUpdatePageRequest
1500
3678
  */
1501
- export interface MenuApiUpdateMenuRequest {
3679
+ export interface PagesApiUpdatePageRequest {
1502
3680
  /**
1503
3681
  * What project it is
1504
3682
  * @type {string}
1505
- * @memberof MenuApiUpdateMenu
3683
+ * @memberof PagesApiUpdatePage
1506
3684
  */
1507
3685
  readonly project: string
1508
3686
 
1509
3687
  /**
1510
- * Update menu request
1511
- * @type {UpdateMenuRequest}
1512
- * @memberof MenuApiUpdateMenu
3688
+ * Page\&#39;s unique identifier
3689
+ * @type {string}
3690
+ * @memberof PagesApiUpdatePage
1513
3691
  */
1514
- readonly updateMenuRequest?: UpdateMenuRequest
3692
+ readonly pageId: string
3693
+
3694
+ /**
3695
+ *
3696
+ * @type {UpdatePageRequest}
3697
+ * @memberof PagesApiUpdatePage
3698
+ */
3699
+ readonly updatePageRequest?: UpdatePageRequest
1515
3700
  }
1516
3701
 
1517
3702
  /**
1518
- * MenuApi - object-oriented interface
3703
+ * Request parameters for updatePages operation in PagesApi.
1519
3704
  * @export
1520
- * @class MenuApi
3705
+ * @interface PagesApiUpdatePagesRequest
3706
+ */
3707
+ export interface PagesApiUpdatePagesRequest {
3708
+ /**
3709
+ * What project it is
3710
+ * @type {string}
3711
+ * @memberof PagesApiUpdatePages
3712
+ */
3713
+ readonly project: string
3714
+
3715
+ /**
3716
+ * Page reference token
3717
+ * @type {number}
3718
+ * @memberof PagesApiUpdatePages
3719
+ */
3720
+ readonly pageToken?: number
3721
+
3722
+ /**
3723
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3724
+ * @type {number}
3725
+ * @memberof PagesApiUpdatePages
3726
+ */
3727
+ readonly pageSize?: number
3728
+
3729
+ /**
3730
+ * Search term to filter results
3731
+ * @type {string}
3732
+ * @memberof PagesApiUpdatePages
3733
+ */
3734
+ readonly search?: string
3735
+
3736
+ /**
3737
+ * Update pages in bulk.
3738
+ * @type {UpdatePagesRequest}
3739
+ * @memberof PagesApiUpdatePages
3740
+ */
3741
+ readonly updatePagesRequest?: UpdatePagesRequest
3742
+ }
3743
+
3744
+ /**
3745
+ * PagesApi - object-oriented interface
3746
+ * @export
3747
+ * @class PagesApi
1521
3748
  * @extends {BaseAPI}
1522
3749
  */
1523
- export class MenuApi extends BaseAPI {
3750
+ export class PagesApi extends BaseAPI {
1524
3751
  /**
1525
- * Get menu
1526
- * @summary Get menu
1527
- * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
3752
+ *
3753
+ * @summary List website pages
3754
+ * @param {PagesApiListPagesRequest} requestParameters Request parameters.
1528
3755
  * @param {*} [options] Override http request option.
1529
3756
  * @throws {RequiredError}
1530
- * @memberof MenuApi
3757
+ * @memberof PagesApi
1531
3758
  */
1532
- public getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig) {
1533
- return MenuApiFp(this.configuration).getMenu(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3759
+ public listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig) {
3760
+ return PagesApiFp(this.configuration).listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1534
3761
  }
1535
3762
 
1536
3763
  /**
1537
- * Update menu
1538
- * @summary Update menu
1539
- * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
3764
+ *
3765
+ * @summary Update website page
3766
+ * @param {PagesApiUpdatePageRequest} requestParameters Request parameters.
1540
3767
  * @param {*} [options] Override http request option.
1541
3768
  * @throws {RequiredError}
1542
- * @memberof MenuApi
3769
+ * @memberof PagesApi
1543
3770
  */
1544
- public updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig) {
1545
- return MenuApiFp(this.configuration).updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(this.axios, this.basePath));
3771
+ public updatePage(requestParameters: PagesApiUpdatePageRequest, options?: RawAxiosRequestConfig) {
3772
+ return PagesApiFp(this.configuration).updatePage(requestParameters.project, requestParameters.pageId, requestParameters.updatePageRequest, options).then((request) => request(this.axios, this.basePath));
3773
+ }
3774
+
3775
+ /**
3776
+ *
3777
+ * @summary Update website pages
3778
+ * @param {PagesApiUpdatePagesRequest} requestParameters Request parameters.
3779
+ * @param {*} [options] Override http request option.
3780
+ * @throws {RequiredError}
3781
+ * @memberof PagesApi
3782
+ */
3783
+ public updatePages(requestParameters: PagesApiUpdatePagesRequest, options?: RawAxiosRequestConfig) {
3784
+ return PagesApiFp(this.configuration).updatePages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updatePagesRequest, options).then((request) => request(this.axios, this.basePath));
1546
3785
  }
1547
3786
  }
1548
3787