@infisale-client/api 1.3.0 → 1.3.2

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/dist/api/api.d.ts CHANGED
@@ -13,20 +13,6 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @enum {string}
20
- */
21
- export declare const ButtonVariantEnum: {
22
- readonly LINK: "link";
23
- readonly DEFAULT: "default";
24
- readonly OUTLINE: "outline";
25
- readonly DESTRUCTIVE: "destructive";
26
- readonly SECONDARY: "secondary";
27
- readonly GHOST: "ghost";
28
- };
29
- export type ButtonVariantEnum = typeof ButtonVariantEnum[keyof typeof ButtonVariantEnum];
30
16
  /**
31
17
  *
32
18
  * @export
@@ -61,32 +47,6 @@ export declare const CompanyUserStatusEnum: {
61
47
  readonly DELETED: "deleted";
62
48
  };
63
49
  export type CompanyUserStatusEnum = typeof CompanyUserStatusEnum[keyof typeof CompanyUserStatusEnum];
64
- /**
65
- *
66
- * @export
67
- * @enum {string}
68
- */
69
- export declare const ComponentContentTypeEnum: {
70
- readonly HEADING: "heading";
71
- readonly TEXT: "text";
72
- readonly CAPTION: "caption";
73
- readonly BUTTONS: "buttons";
74
- readonly PRICE: "price";
75
- readonly VARIANT_PICKER: "variant-picker";
76
- readonly BUY_BUTTON: "buy-button";
77
- readonly SHARE: "share";
78
- readonly PRODUCT_RATING: "product-rating";
79
- readonly CAROUSEL_ITEM: "carousel-item";
80
- readonly GRID_ITEM: "grid-item";
81
- readonly ANNOUNCEMENT_ITEM: "announcement-item";
82
- readonly ACCORDION_ITEM: "accordion-item";
83
- readonly PRODUCT_DESCRIPTION: "product-description";
84
- readonly PRODUCT_REVIEWS: "product-reviews";
85
- readonly PRODUCT_ATTRIBUTES: "product-attributes";
86
- readonly IMAGE: "image";
87
- readonly CONTENT: "content";
88
- };
89
- export type ComponentContentTypeEnum = typeof ComponentContentTypeEnum[keyof typeof ComponentContentTypeEnum];
90
50
  /**
91
51
  *
92
52
  * @export
@@ -118,60 +78,6 @@ export declare const ComponentProductTypeEnum: {
118
78
  readonly BRAND: "brand";
119
79
  };
120
80
  export type ComponentProductTypeEnum = typeof ComponentProductTypeEnum[keyof typeof ComponentProductTypeEnum];
121
- /**
122
- *
123
- * @export
124
- * @enum {string}
125
- */
126
- export declare const ComponentTypeEnum: {
127
- readonly CAROUSEL: "carousel";
128
- readonly BANNER: "banner";
129
- readonly GRID: "grid";
130
- readonly PRODUCT_LIST: "product-list";
131
- readonly PAGE_DETAIL: "page-detail";
132
- readonly PRODUCT_DETAIL: "product-detail";
133
- readonly PRODUCT_MORE_DETAIL: "product-more-detail";
134
- readonly COLLECTION_LIST: "collection-list";
135
- readonly CATEGORY_LIST: "category-list";
136
- readonly BRAND_LIST: "brand-list";
137
- readonly BLOG_LIST: "blog-list";
138
- readonly RICH_TEXT: "rich-text";
139
- readonly BANNER_WITH_TEXT: "banner-with-text";
140
- readonly ACCORDION: "accordion";
141
- readonly HEADER: "header";
142
- readonly ANNOUNCEMENT: "announcement";
143
- readonly FOOTER: "footer";
144
- readonly CONTACT_FORM: "contact-form";
145
- readonly CART_DETAIL: "cart-detail";
146
- readonly CHECKOUT_DETAIL: "checkout-detail";
147
- readonly NOT_FOUND_DETAIL: "not-found-detail";
148
- readonly SEARCH_DETAIL: "search-detail";
149
- readonly BLOG_LIST_DETAIL: "blog-list-detail";
150
- readonly COLLECTION_LIST_DETAIL: "collection-list-detail";
151
- };
152
- export type ComponentTypeEnum = typeof ComponentTypeEnum[keyof typeof ComponentTypeEnum];
153
- /**
154
- *
155
- * @export
156
- * @enum {string}
157
- */
158
- export declare const ContentPositionXEnum: {
159
- readonly CENTER: "center";
160
- readonly LEFT: "left";
161
- readonly RIGHT: "right";
162
- };
163
- export type ContentPositionXEnum = typeof ContentPositionXEnum[keyof typeof ContentPositionXEnum];
164
- /**
165
- *
166
- * @export
167
- * @enum {string}
168
- */
169
- export declare const ContentPositionYEnum: {
170
- readonly CENTER: "center";
171
- readonly TOP: "top";
172
- readonly BOTTOM: "bottom";
173
- };
174
- export type ContentPositionYEnum = typeof ContentPositionYEnum[keyof typeof ContentPositionYEnum];
175
81
  /**
176
82
  *
177
83
  * @export
@@ -553,22 +459,6 @@ export declare const FileTypeEnum: {
553
459
  readonly OTHER: "other";
554
460
  };
555
461
  export type FileTypeEnum = typeof FileTypeEnum[keyof typeof FileTypeEnum];
556
- /**
557
- *
558
- * @export
559
- * @enum {string}
560
- */
561
- export declare const FontSizeEnum: {
562
- readonly XS: "text-xs";
563
- readonly SM: "text-sm";
564
- readonly BASE: "text-base";
565
- readonly LG: "text-lg";
566
- readonly XL: "text-xl";
567
- readonly _2XL: "text-2xl";
568
- readonly _4XL: "text-4xl";
569
- readonly _6XL: "text-6xl";
570
- };
571
- export type FontSizeEnum = typeof FontSizeEnum[keyof typeof FontSizeEnum];
572
462
  /**
573
463
  *
574
464
  * @export
@@ -8070,16 +7960,18 @@ export interface IState {
8070
7960
  export interface ITemplateComponentContentResponse {
8071
7961
  /**
8072
7962
  *
8073
- * @type {ComponentContentTypeEnum}
7963
+ * @type {string}
8074
7964
  * @memberof ITemplateComponentContentResponse
8075
7965
  */
8076
- 'contentType': ComponentContentTypeEnum;
7966
+ 'contentType': string;
8077
7967
  /**
8078
- *
8079
- * @type {ITemplateComponentContentResponseConfig}
7968
+ * Construct a type with a set of properties K of type T
7969
+ * @type {{ [key: string]: any; }}
8080
7970
  * @memberof ITemplateComponentContentResponse
8081
7971
  */
8082
- 'config': ITemplateComponentContentResponseConfig;
7972
+ 'config': {
7973
+ [key: string]: any;
7974
+ };
8083
7975
  /**
8084
7976
  *
8085
7977
  * @type {string}
@@ -8087,145 +7979,6 @@ export interface ITemplateComponentContentResponse {
8087
7979
  */
8088
7980
  '_id': string;
8089
7981
  }
8090
- /**
8091
- *
8092
- * @export
8093
- * @interface ITemplateComponentContentResponseConfig
8094
- */
8095
- export interface ITemplateComponentContentResponseConfig {
8096
- /**
8097
- *
8098
- * @type {string}
8099
- * @memberof ITemplateComponentContentResponseConfig
8100
- */
8101
- 'desktopVariant'?: string;
8102
- /**
8103
- *
8104
- * @type {string}
8105
- * @memberof ITemplateComponentContentResponseConfig
8106
- */
8107
- 'mobileVariant'?: string;
8108
- /**
8109
- *
8110
- * @type {string}
8111
- * @memberof ITemplateComponentContentResponseConfig
8112
- */
8113
- 'url'?: string;
8114
- /**
8115
- *
8116
- * @type {ButtonVariantEnum}
8117
- * @memberof ITemplateComponentContentResponseConfig
8118
- */
8119
- 'buttonTwoVariant'?: ButtonVariantEnum;
8120
- /**
8121
- *
8122
- * @type {string}
8123
- * @memberof ITemplateComponentContentResponseConfig
8124
- */
8125
- 'buttonTwoUrl'?: string;
8126
- /**
8127
- *
8128
- * @type {string}
8129
- * @memberof ITemplateComponentContentResponseConfig
8130
- */
8131
- 'buttonTwoText'?: string;
8132
- /**
8133
- *
8134
- * @type {ButtonVariantEnum}
8135
- * @memberof ITemplateComponentContentResponseConfig
8136
- */
8137
- 'buttonOneVariant'?: ButtonVariantEnum;
8138
- /**
8139
- *
8140
- * @type {string}
8141
- * @memberof ITemplateComponentContentResponseConfig
8142
- */
8143
- 'buttonOneUrl'?: string;
8144
- /**
8145
- *
8146
- * @type {string}
8147
- * @memberof ITemplateComponentContentResponseConfig
8148
- */
8149
- 'buttonOneText'?: string;
8150
- /**
8151
- *
8152
- * @type {IImage}
8153
- * @memberof ITemplateComponentContentResponseConfig
8154
- */
8155
- 'imageMobile'?: IImage;
8156
- /**
8157
- *
8158
- * @type {IImage}
8159
- * @memberof ITemplateComponentContentResponseConfig
8160
- */
8161
- 'image'?: IImage;
8162
- /**
8163
- *
8164
- * @type {string}
8165
- * @memberof ITemplateComponentContentResponseConfig
8166
- */
8167
- 'description'?: string;
8168
- /**
8169
- *
8170
- * @type {string}
8171
- * @memberof ITemplateComponentContentResponseConfig
8172
- */
8173
- 'title'?: string;
8174
- /**
8175
- *
8176
- * @type {ContentPositionYEnum}
8177
- * @memberof ITemplateComponentContentResponseConfig
8178
- */
8179
- 'contentMobilePositionY'?: ContentPositionYEnum;
8180
- /**
8181
- *
8182
- * @type {ContentPositionYEnum}
8183
- * @memberof ITemplateComponentContentResponseConfig
8184
- */
8185
- 'contentPositionY'?: ContentPositionYEnum;
8186
- /**
8187
- *
8188
- * @type {ContentPositionXEnum}
8189
- * @memberof ITemplateComponentContentResponseConfig
8190
- */
8191
- 'contentMobilePositionX'?: ContentPositionXEnum;
8192
- /**
8193
- *
8194
- * @type {ContentPositionXEnum}
8195
- * @memberof ITemplateComponentContentResponseConfig
8196
- */
8197
- 'contentPositionX'?: ContentPositionXEnum;
8198
- /**
8199
- *
8200
- * @type {string}
8201
- * @memberof ITemplateComponentContentResponseConfig
8202
- */
8203
- 'customStyles'?: string;
8204
- /**
8205
- *
8206
- * @type {Array<string>}
8207
- * @memberof ITemplateComponentContentResponseConfig
8208
- */
8209
- 'customClasses'?: Array<string>;
8210
- /**
8211
- *
8212
- * @type {string}
8213
- * @memberof ITemplateComponentContentResponseConfig
8214
- */
8215
- 'backgroundColor'?: string;
8216
- /**
8217
- *
8218
- * @type {string}
8219
- * @memberof ITemplateComponentContentResponseConfig
8220
- */
8221
- 'textColor'?: string;
8222
- /**
8223
- *
8224
- * @type {boolean}
8225
- * @memberof ITemplateComponentContentResponseConfig
8226
- */
8227
- 'display': boolean;
8228
- }
8229
7982
  /**
8230
7983
  *
8231
7984
  * @export
@@ -8234,16 +7987,18 @@ export interface ITemplateComponentContentResponseConfig {
8234
7987
  export interface ITemplateComponentResponse {
8235
7988
  /**
8236
7989
  *
8237
- * @type {ComponentTypeEnum}
7990
+ * @type {string}
8238
7991
  * @memberof ITemplateComponentResponse
8239
7992
  */
8240
- 'type': ComponentTypeEnum;
7993
+ 'type': string;
8241
7994
  /**
8242
- *
8243
- * @type {ITemplateComponentResponseConfig}
7995
+ * Construct a type with a set of properties K of type T
7996
+ * @type {{ [key: string]: any; }}
8244
7997
  * @memberof ITemplateComponentResponse
8245
7998
  */
8246
- 'config': ITemplateComponentResponseConfig;
7999
+ 'config': {
8000
+ [key: string]: any;
8001
+ };
8247
8002
  /**
8248
8003
  *
8249
8004
  * @type {string}
@@ -8271,310 +8026,21 @@ export interface ITemplateComponentResponse {
8271
8026
  /**
8272
8027
  *
8273
8028
  * @type {Array<IBrandResponse>}
8274
- * @memberof ITemplateComponentResponse
8275
- */
8276
- 'brands'?: Array<IBrandResponse>;
8277
- /**
8278
- *
8279
- * @type {Array<ICollectionResponse>}
8280
- * @memberof ITemplateComponentResponse
8281
- */
8282
- 'collections'?: Array<ICollectionResponse>;
8283
- /**
8284
- *
8285
- * @type {ITemplateComponentResponsePages}
8286
- * @memberof ITemplateComponentResponse
8287
- */
8288
- 'pages'?: ITemplateComponentResponsePages;
8289
- }
8290
- /**
8291
- *
8292
- * @export
8293
- * @interface ITemplateComponentResponseConfig
8294
- */
8295
- export interface ITemplateComponentResponseConfig {
8296
- /**
8297
- *
8298
- * @type {string}
8299
- * @memberof ITemplateComponentResponseConfig
8300
- */
8301
- 'desktopVariant'?: string;
8302
- /**
8303
- *
8304
- * @type {string}
8305
- * @memberof ITemplateComponentResponseConfig
8306
- */
8307
- 'mobileVariant'?: string;
8308
- /**
8309
- *
8310
- * @type {string}
8311
- * @memberof ITemplateComponentResponseConfig
8312
- */
8313
- 'buttonTwoUrl'?: string;
8314
- /**
8315
- *
8316
- * @type {string}
8317
- * @memberof ITemplateComponentResponseConfig
8318
- */
8319
- 'buttonTwoText'?: string;
8320
- /**
8321
- *
8322
- * @type {string}
8323
- * @memberof ITemplateComponentResponseConfig
8324
- */
8325
- 'buttonOneUrl'?: string;
8326
- /**
8327
- *
8328
- * @type {string}
8329
- * @memberof ITemplateComponentResponseConfig
8330
- */
8331
- 'buttonOneText'?: string;
8332
- /**
8333
- *
8334
- * @type {string}
8335
- * @memberof ITemplateComponentResponseConfig
8336
- */
8337
- 'url'?: string;
8338
- /**
8339
- *
8340
- * @type {IImage}
8341
- * @memberof ITemplateComponentResponseConfig
8342
- */
8343
- 'imageMobile'?: IImage;
8344
- /**
8345
- *
8346
- * @type {IImage}
8347
- * @memberof ITemplateComponentResponseConfig
8348
- */
8349
- 'image'?: IImage;
8350
- /**
8351
- *
8352
- * @type {string}
8353
- * @memberof ITemplateComponentResponseConfig
8354
- */
8355
- 'description'?: string;
8356
- /**
8357
- *
8358
- * @type {string}
8359
- * @memberof ITemplateComponentResponseConfig
8360
- */
8361
- 'title'?: string;
8362
- /**
8363
- *
8364
- * @type {boolean}
8365
- * @memberof ITemplateComponentResponseConfig
8366
- */
8367
- 'legalDocuments'?: boolean;
8368
- /**
8369
- *
8370
- * @type {boolean}
8371
- * @memberof ITemplateComponentResponseConfig
8372
- */
8373
- 'policyLinks'?: boolean;
8374
- /**
8375
- *
8376
- * @type {boolean}
8377
- * @memberof ITemplateComponentResponseConfig
8378
- */
8379
- 'paymentGatewayPictures'?: boolean;
8380
- /**
8381
- *
8382
- * @type {boolean}
8383
- * @memberof ITemplateComponentResponseConfig
8384
- */
8385
- 'languageSwitcher'?: boolean;
8386
- /**
8387
- *
8388
- * @type {boolean}
8389
- * @memberof ITemplateComponentResponseConfig
8390
- */
8391
- 'socialButtons'?: boolean;
8392
- /**
8393
- *
8394
- * @type {boolean}
8395
- * @memberof ITemplateComponentResponseConfig
8396
- */
8397
- 'isInnerContainer'?: boolean;
8398
- /**
8399
- *
8400
- * @type {number}
8401
- * @memberof ITemplateComponentResponseConfig
8402
- */
8403
- 'contentMobileMaxWidth'?: number;
8404
- /**
8405
- *
8406
- * @type {number}
8407
- * @memberof ITemplateComponentResponseConfig
8408
- */
8409
- 'contentMaxWidth'?: number;
8410
- /**
8411
- *
8412
- * @type {number}
8413
- * @memberof ITemplateComponentResponseConfig
8414
- */
8415
- 'contentMobileHeight'?: number;
8416
- /**
8417
- *
8418
- * @type {number}
8419
- * @memberof ITemplateComponentResponseConfig
8420
- */
8421
- 'contentHeight'?: number;
8422
- /**
8423
- *
8424
- * @type {number}
8425
- * @memberof ITemplateComponentResponseConfig
8426
- */
8427
- 'containerMobileHeight'?: number;
8428
- /**
8429
- *
8430
- * @type {number}
8431
- * @memberof ITemplateComponentResponseConfig
8432
- */
8433
- 'containerHeight'?: number;
8434
- /**
8435
- *
8436
- * @type {number}
8437
- * @memberof ITemplateComponentResponseConfig
8438
- */
8439
- 'containerWidth'?: number;
8440
- /**
8441
- *
8442
- * @type {ContentPositionYEnum}
8443
- * @memberof ITemplateComponentResponseConfig
8444
- */
8445
- 'contentMobilePositionY'?: ContentPositionYEnum;
8446
- /**
8447
- *
8448
- * @type {ContentPositionYEnum}
8449
- * @memberof ITemplateComponentResponseConfig
8450
- */
8451
- 'contentPositionY'?: ContentPositionYEnum;
8452
- /**
8453
- *
8454
- * @type {ContentPositionXEnum}
8455
- * @memberof ITemplateComponentResponseConfig
8456
- */
8457
- 'contentMobilePositionX'?: ContentPositionXEnum;
8458
- /**
8459
- *
8460
- * @type {ContentPositionXEnum}
8461
- * @memberof ITemplateComponentResponseConfig
8462
- */
8463
- 'contentPositionX'?: ContentPositionXEnum;
8464
- /**
8465
- *
8466
- * @type {number}
8467
- * @memberof ITemplateComponentResponseConfig
8468
- */
8469
- 'imageAspectRatio'?: number;
8470
- /**
8471
- *
8472
- * @type {ProductDetailImageZoomTypeEnum}
8473
- * @memberof ITemplateComponentResponseConfig
8474
- */
8475
- 'productDetailImageZoomType'?: ProductDetailImageZoomTypeEnum;
8476
- /**
8477
- *
8478
- * @type {FontSizeEnum}
8479
- * @memberof ITemplateComponentResponseConfig
8480
- */
8481
- 'contentDescriptionFontSize'?: FontSizeEnum;
8482
- /**
8483
- *
8484
- * @type {FontSizeEnum}
8485
- * @memberof ITemplateComponentResponseConfig
8486
- */
8487
- 'contentTitleFontSize'?: FontSizeEnum;
8488
- /**
8489
- *
8490
- * @type {FontSizeEnum}
8491
- * @memberof ITemplateComponentResponseConfig
8492
- */
8493
- 'descriptionFontSize'?: FontSizeEnum;
8494
- /**
8495
- *
8496
- * @type {FontSizeEnum}
8497
- * @memberof ITemplateComponentResponseConfig
8498
- */
8499
- 'titleFontSize'?: FontSizeEnum;
8500
- /**
8501
- *
8502
- * @type {string}
8503
- * @memberof ITemplateComponentResponseConfig
8504
- */
8505
- 'textColor'?: string;
8506
- /**
8507
- *
8508
- * @type {string}
8509
- * @memberof ITemplateComponentResponseConfig
8510
- */
8511
- 'customStyles'?: string;
8512
- /**
8513
- *
8514
- * @type {Array<string>}
8515
- * @memberof ITemplateComponentResponseConfig
8516
- */
8517
- 'customClasses'?: Array<string>;
8518
- /**
8519
- *
8520
- * @type {string}
8521
- * @memberof ITemplateComponentResponseConfig
8522
- */
8523
- 'backgroundColor'?: string;
8524
- /**
8525
- *
8526
- * @type {boolean}
8527
- * @memberof ITemplateComponentResponseConfig
8528
- */
8529
- 'slide'?: boolean;
8530
- /**
8531
- *
8532
- * @type {boolean}
8533
- * @memberof ITemplateComponentResponseConfig
8534
- */
8535
- 'cardContainer'?: boolean;
8536
- /**
8537
- *
8538
- * @type {boolean}
8539
- * @memberof ITemplateComponentResponseConfig
8540
- */
8541
- 'grid'?: boolean;
8542
- /**
8543
- *
8544
- * @type {boolean}
8545
- * @memberof ITemplateComponentResponseConfig
8546
- */
8547
- 'display': boolean;
8548
- /**
8549
- *
8550
- * @type {number}
8551
- * @memberof ITemplateComponentResponseConfig
8552
- */
8553
- 'interval'?: number;
8554
- /**
8555
- *
8556
- * @type {number}
8557
- * @memberof ITemplateComponentResponseConfig
8558
- */
8559
- 'mobilePerViewCount'?: number;
8560
- /**
8561
- *
8562
- * @type {number}
8563
- * @memberof ITemplateComponentResponseConfig
8029
+ * @memberof ITemplateComponentResponse
8564
8030
  */
8565
- 'perViewCount'?: number;
8031
+ 'brands'?: Array<IBrandResponse>;
8566
8032
  /**
8567
8033
  *
8568
- * @type {boolean}
8569
- * @memberof ITemplateComponentResponseConfig
8034
+ * @type {Array<ICollectionResponse>}
8035
+ * @memberof ITemplateComponentResponse
8570
8036
  */
8571
- 'autoPlay'?: boolean;
8037
+ 'collections'?: Array<ICollectionResponse>;
8572
8038
  /**
8573
8039
  *
8574
- * @type {boolean}
8575
- * @memberof ITemplateComponentResponseConfig
8040
+ * @type {ITemplateComponentResponsePages}
8041
+ * @memberof ITemplateComponentResponse
8576
8042
  */
8577
- 'addName'?: boolean;
8043
+ 'pages'?: ITemplateComponentResponsePages;
8578
8044
  }
8579
8045
  /**
8580
8046
  *
@@ -8836,17 +8302,27 @@ export interface IThemePatchRequest {
8836
8302
  */
8837
8303
  'thumbnail'?: IImage;
8838
8304
  /**
8839
- *
8840
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfig}
8305
+ * Construct a type with a set of properties K of type T
8306
+ * @type {{ [key: string]: any; }}
8841
8307
  * @memberof IThemePatchRequest
8842
8308
  */
8843
- 'config'?: PickIThemeExcludeKeyofIThemeTemplateConfig;
8309
+ 'config'?: {
8310
+ [key: string]: any;
8311
+ };
8844
8312
  /**
8845
8313
  *
8846
8314
  * @type {string}
8847
8315
  * @memberof IThemePatchRequest
8848
8316
  */
8849
8317
  'demoUrl'?: string;
8318
+ /**
8319
+ * Construct a type with a set of properties K of type T
8320
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8321
+ * @memberof IThemePatchRequest
8322
+ */
8323
+ 'files'?: {
8324
+ [key: string]: RecordStringStringOrAnyValue;
8325
+ };
8850
8326
  }
8851
8327
  /**
8852
8328
  *
@@ -8867,17 +8343,27 @@ export interface IThemePostRequest {
8867
8343
  */
8868
8344
  'thumbnail'?: IImage;
8869
8345
  /**
8870
- *
8871
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfig}
8346
+ * Construct a type with a set of properties K of type T
8347
+ * @type {{ [key: string]: any; }}
8872
8348
  * @memberof IThemePostRequest
8873
8349
  */
8874
- 'config': PickIThemeExcludeKeyofIThemeTemplateConfig;
8350
+ 'config': {
8351
+ [key: string]: any;
8352
+ };
8875
8353
  /**
8876
8354
  *
8877
8355
  * @type {string}
8878
8356
  * @memberof IThemePostRequest
8879
8357
  */
8880
8358
  'demoUrl'?: string;
8359
+ /**
8360
+ * Construct a type with a set of properties K of type T
8361
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8362
+ * @memberof IThemePostRequest
8363
+ */
8364
+ 'files'?: {
8365
+ [key: string]: RecordStringStringOrAnyValue;
8366
+ };
8881
8367
  /**
8882
8368
  *
8883
8369
  * @type {IThemeResponseTemplate}
@@ -8940,11 +8426,13 @@ export interface IThemeResponse {
8940
8426
  */
8941
8427
  'main'?: string;
8942
8428
  /**
8943
- *
8944
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfig}
8429
+ * Construct a type with a set of properties K of type T
8430
+ * @type {{ [key: string]: any; }}
8945
8431
  * @memberof IThemeResponse
8946
8432
  */
8947
- 'config': PickIThemeExcludeKeyofIThemeTemplateConfig;
8433
+ 'config': {
8434
+ [key: string]: any;
8435
+ };
8948
8436
  /**
8949
8437
  *
8950
8438
  * @type {string}
@@ -8957,6 +8445,14 @@ export interface IThemeResponse {
8957
8445
  * @memberof IThemeResponse
8958
8446
  */
8959
8447
  'creator'?: string;
8448
+ /**
8449
+ * Construct a type with a set of properties K of type T
8450
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8451
+ * @memberof IThemeResponse
8452
+ */
8453
+ 'files'?: {
8454
+ [key: string]: RecordStringStringOrAnyValue;
8455
+ };
8960
8456
  /**
8961
8457
  *
8962
8458
  * @type {IThemeResponseTemplate}
@@ -11501,11 +10997,13 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
11501
10997
  */
11502
10998
  'main'?: string;
11503
10999
  /**
11504
- *
11505
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfig}
11000
+ * Construct a type with a set of properties K of type T
11001
+ * @type {{ [key: string]: any; }}
11506
11002
  * @memberof PickIThemeExcludeKeyofIThemeTemplate
11507
11003
  */
11508
- 'config': PickIThemeExcludeKeyofIThemeTemplateConfig;
11004
+ 'config': {
11005
+ [key: string]: any;
11006
+ };
11509
11007
  /**
11510
11008
  *
11511
11009
  * @type {string}
@@ -11518,262 +11016,15 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
11518
11016
  * @memberof PickIThemeExcludeKeyofIThemeTemplate
11519
11017
  */
11520
11018
  'creator'?: string;
11521
- }
11522
- /**
11523
- *
11524
- * @export
11525
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfig
11526
- */
11527
- export interface PickIThemeExcludeKeyofIThemeTemplateConfig {
11528
- /**
11529
- *
11530
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigTypography}
11531
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11532
- */
11533
- 'typography': PickIThemeExcludeKeyofIThemeTemplateConfigTypography;
11534
- /**
11535
- *
11536
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
11537
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11538
- */
11539
- 'blogCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
11540
- /**
11541
- *
11542
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
11543
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11544
- */
11545
- 'collectionCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
11546
- /**
11547
- *
11548
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard}
11549
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11550
- */
11551
- 'productCard': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard;
11552
- /**
11553
- *
11554
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigLayout}
11555
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11556
- */
11557
- 'layout': PickIThemeExcludeKeyofIThemeTemplateConfigLayout;
11558
- /**
11559
- *
11560
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigButtons}
11561
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11562
- */
11563
- 'buttons': PickIThemeExcludeKeyofIThemeTemplateConfigButtons;
11564
- /**
11565
- *
11566
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigCss}
11567
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11568
- */
11569
- 'css': PickIThemeExcludeKeyofIThemeTemplateConfigCss;
11570
- /**
11571
- *
11572
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfigInject}
11573
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfig
11574
- */
11575
- 'inject': PickIThemeExcludeKeyofIThemeTemplateConfigInject;
11576
- }
11577
- /**
11578
- *
11579
- * @export
11580
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11581
- */
11582
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard {
11583
- /**
11584
- *
11585
- * @type {number}
11586
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11587
- */
11588
- 'shadowBlurRadius': number;
11589
- /**
11590
- *
11591
- * @type {number}
11592
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11593
- */
11594
- 'shadowVerticalOffset': number;
11595
- /**
11596
- *
11597
- * @type {number}
11598
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11599
- */
11600
- 'shadowHorizontalOffset': number;
11601
- /**
11602
- *
11603
- * @type {number}
11604
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11605
- */
11606
- 'shadowOpacity': number;
11607
- /**
11608
- *
11609
- * @type {number}
11610
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11611
- */
11612
- 'borderRadius': number;
11613
- /**
11614
- *
11615
- * @type {number}
11616
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11617
- */
11618
- 'opacity': number;
11619
- /**
11620
- *
11621
- * @type {number}
11622
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11623
- */
11624
- 'borderWidth': number;
11625
- /**
11626
- *
11627
- * @type {string}
11628
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11629
- */
11630
- 'textAlign': PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum;
11631
- /**
11632
- *
11633
- * @type {number}
11634
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11635
- */
11636
- 'padding': number;
11637
- /**
11638
- *
11639
- * @type {string}
11640
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCard
11641
- */
11642
- 'variant': string;
11643
- }
11644
- export declare const PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum: {
11645
- readonly LEFT: "left";
11646
- readonly CENTER: "center";
11647
- readonly RIGHT: "right";
11648
- };
11649
- export type PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = typeof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum[keyof typeof PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum];
11650
- /**
11651
- *
11652
- * @export
11653
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11654
- */
11655
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigButtons {
11656
- /**
11657
- *
11658
- * @type {number}
11659
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11660
- */
11661
- 'shadowBlurRadius': number;
11662
- /**
11663
- *
11664
- * @type {number}
11665
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11666
- */
11667
- 'shadowVerticalOffset': number;
11668
- /**
11669
- *
11670
- * @type {number}
11671
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11672
- */
11673
- 'shadowHorizontalOffset': number;
11674
- /**
11675
- *
11676
- * @type {number}
11677
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11678
- */
11679
- 'shadowOpacity': number;
11680
- /**
11681
- *
11682
- * @type {number}
11683
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11684
- */
11685
- 'borderRadius': number;
11686
- /**
11687
- *
11688
- * @type {number}
11689
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11690
- */
11691
- 'opacity': number;
11692
- /**
11693
- *
11694
- * @type {number}
11695
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigButtons
11696
- */
11697
- 'borderWidth': number;
11698
- }
11699
- /**
11700
- *
11701
- * @export
11702
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigCss
11703
- */
11704
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigCss {
11705
11019
  /**
11706
- *
11707
- * @type {{ [key: string]: string; }}
11708
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigCss
11020
+ * Construct a type with a set of properties K of type T
11021
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
11022
+ * @memberof PickIThemeExcludeKeyofIThemeTemplate
11709
11023
  */
11710
- 'variables': {
11711
- [key: string]: string;
11024
+ 'files'?: {
11025
+ [key: string]: RecordStringStringOrAnyValue;
11712
11026
  };
11713
11027
  }
11714
- /**
11715
- *
11716
- * @export
11717
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigInject
11718
- */
11719
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigInject {
11720
- /**
11721
- *
11722
- * @type {string}
11723
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigInject
11724
- */
11725
- 'js': string;
11726
- /**
11727
- *
11728
- * @type {string}
11729
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigInject
11730
- */
11731
- 'css': string;
11732
- }
11733
- /**
11734
- *
11735
- * @export
11736
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigLayout
11737
- */
11738
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigLayout {
11739
- /**
11740
- *
11741
- * @type {number}
11742
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigLayout
11743
- */
11744
- 'gridXGap': number;
11745
- /**
11746
- *
11747
- * @type {number}
11748
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigLayout
11749
- */
11750
- 'gridYGap': number;
11751
- /**
11752
- *
11753
- * @type {number}
11754
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigLayout
11755
- */
11756
- 'sectionYGap': number;
11757
- /**
11758
- *
11759
- * @type {number}
11760
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigLayout
11761
- */
11762
- 'containerWidth': number;
11763
- }
11764
- /**
11765
- *
11766
- * @export
11767
- * @interface PickIThemeExcludeKeyofIThemeTemplateConfigTypography
11768
- */
11769
- export interface PickIThemeExcludeKeyofIThemeTemplateConfigTypography {
11770
- /**
11771
- *
11772
- * @type {string}
11773
- * @memberof PickIThemeExcludeKeyofIThemeTemplateConfigTypography
11774
- */
11775
- 'fontFamily': string;
11776
- }
11777
11028
  /**
11778
11029
  * From T, pick a set of properties whose keys are in the union K
11779
11030
  * @export
@@ -11793,17 +11044,27 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
11793
11044
  */
11794
11045
  'thumbnail'?: IImage;
11795
11046
  /**
11796
- *
11797
- * @type {PickIThemeExcludeKeyofIThemeTemplateConfig}
11047
+ * Construct a type with a set of properties K of type T
11048
+ * @type {{ [key: string]: any; }}
11798
11049
  * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreator
11799
11050
  */
11800
- 'config': PickIThemeExcludeKeyofIThemeTemplateConfig;
11051
+ 'config': {
11052
+ [key: string]: any;
11053
+ };
11801
11054
  /**
11802
11055
  *
11803
11056
  * @type {string}
11804
11057
  * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreator
11805
11058
  */
11806
11059
  'demoUrl'?: string;
11060
+ /**
11061
+ * Construct a type with a set of properties K of type T
11062
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
11063
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreator
11064
+ */
11065
+ 'files'?: {
11066
+ [key: string]: RecordStringStringOrAnyValue;
11067
+ };
11807
11068
  }
11808
11069
  /**
11809
11070
  * From T, pick a set of properties whose keys are in the union K
@@ -12054,19 +11315,6 @@ export interface PriceType {
12054
11315
  */
12055
11316
  'price': number;
12056
11317
  }
12057
- /**
12058
- *
12059
- * @export
12060
- * @enum {string}
12061
- */
12062
- export declare const ProductDetailImageZoomTypeEnum: {
12063
- readonly MOVE: "move";
12064
- readonly CLICK: "click";
12065
- readonly HOVER: "hover";
12066
- readonly DIALOG: "dialog";
12067
- readonly NONE: "none";
12068
- };
12069
- export type ProductDetailImageZoomTypeEnum = typeof ProductDetailImageZoomTypeEnum[keyof typeof ProductDetailImageZoomTypeEnum];
12070
11318
  /**
12071
11319
  * Construct a type with a set of properties K of type T
12072
11320
  * @export
@@ -12216,6 +11464,13 @@ export interface RecordLanguageEnumTitleStringTr {
12216
11464
  */
12217
11465
  'title': string;
12218
11466
  }
11467
+ /**
11468
+ *
11469
+ * @export
11470
+ * @interface RecordStringStringOrAnyValue
11471
+ */
11472
+ export interface RecordStringStringOrAnyValue {
11473
+ }
12219
11474
  /**
12220
11475
  *
12221
11476
  * @export
@@ -21092,6 +20347,14 @@ export declare const ThemeApiAxiosParamCreator: (configuration?: Configuration)
21092
20347
  * @throws {RequiredError}
21093
20348
  */
21094
20349
  updateTheme: (id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20350
+ /**
20351
+ *
20352
+ * @param {string} id
20353
+ * @param {File} file
20354
+ * @param {*} [options] Override http request option.
20355
+ * @throws {RequiredError}
20356
+ */
20357
+ updateThemeFiles: (id: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21095
20358
  };
21096
20359
  /**
21097
20360
  * ThemeApi - functional programming interface
@@ -21147,6 +20410,14 @@ export declare const ThemeApiFp: (configuration?: Configuration) => {
21147
20410
  * @throws {RequiredError}
21148
20411
  */
21149
20412
  updateTheme(id: string, iThemePatchRequest: IThemePatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IThemeResponse>>;
20413
+ /**
20414
+ *
20415
+ * @param {string} id
20416
+ * @param {File} file
20417
+ * @param {*} [options] Override http request option.
20418
+ * @throws {RequiredError}
20419
+ */
20420
+ updateThemeFiles(id: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
21150
20421
  };
21151
20422
  /**
21152
20423
  * ThemeApi - factory interface
@@ -21201,6 +20472,13 @@ export declare const ThemeApiFactory: (configuration?: Configuration, basePath?:
21201
20472
  * @throws {RequiredError}
21202
20473
  */
21203
20474
  updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IThemeResponse>;
20475
+ /**
20476
+ *
20477
+ * @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
20478
+ * @param {*} [options] Override http request option.
20479
+ * @throws {RequiredError}
20480
+ */
20481
+ updateThemeFiles(requestParameters: ThemeApiUpdateThemeFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21204
20482
  };
21205
20483
  /**
21206
20484
  * Request parameters for cloneTheme operation in ThemeApi.
@@ -21286,6 +20564,25 @@ export interface ThemeApiUpdateThemeRequest {
21286
20564
  */
21287
20565
  readonly iThemePatchRequest: IThemePatchRequest;
21288
20566
  }
20567
+ /**
20568
+ * Request parameters for updateThemeFiles operation in ThemeApi.
20569
+ * @export
20570
+ * @interface ThemeApiUpdateThemeFilesRequest
20571
+ */
20572
+ export interface ThemeApiUpdateThemeFilesRequest {
20573
+ /**
20574
+ *
20575
+ * @type {string}
20576
+ * @memberof ThemeApiUpdateThemeFiles
20577
+ */
20578
+ readonly id: string;
20579
+ /**
20580
+ *
20581
+ * @type {File}
20582
+ * @memberof ThemeApiUpdateThemeFiles
20583
+ */
20584
+ readonly file: File;
20585
+ }
21289
20586
  /**
21290
20587
  * ThemeApi - object-oriented interface
21291
20588
  * @export
@@ -21348,6 +20645,14 @@ export declare class ThemeApi extends BaseAPI {
21348
20645
  * @memberof ThemeApi
21349
20646
  */
21350
20647
  updateTheme(requestParameters: ThemeApiUpdateThemeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IThemeResponse, any>>;
20648
+ /**
20649
+ *
20650
+ * @param {ThemeApiUpdateThemeFilesRequest} requestParameters Request parameters.
20651
+ * @param {*} [options] Override http request option.
20652
+ * @throws {RequiredError}
20653
+ * @memberof ThemeApi
20654
+ */
20655
+ updateThemeFiles(requestParameters: ThemeApiUpdateThemeFilesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
21351
20656
  }
21352
20657
  /**
21353
20658
  * UserApi - axios parameter creator