@infisale-client/api-client 1.3.0 → 1.3.1

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
@@ -8057,16 +7947,18 @@ export interface IState {
8057
7947
  export interface ITemplateComponentContentResponse {
8058
7948
  /**
8059
7949
  *
8060
- * @type {ComponentContentTypeEnum}
7950
+ * @type {string}
8061
7951
  * @memberof ITemplateComponentContentResponse
8062
7952
  */
8063
- 'contentType': ComponentContentTypeEnum;
7953
+ 'contentType': string;
8064
7954
  /**
8065
- *
8066
- * @type {ITemplateComponentContentResponseConfig}
7955
+ * Construct a type with a set of properties K of type T
7956
+ * @type {{ [key: string]: any; }}
8067
7957
  * @memberof ITemplateComponentContentResponse
8068
7958
  */
8069
- 'config': ITemplateComponentContentResponseConfig;
7959
+ 'config': {
7960
+ [key: string]: any;
7961
+ };
8070
7962
  /**
8071
7963
  *
8072
7964
  * @type {string}
@@ -8074,145 +7966,6 @@ export interface ITemplateComponentContentResponse {
8074
7966
  */
8075
7967
  '_id': string;
8076
7968
  }
8077
- /**
8078
- *
8079
- * @export
8080
- * @interface ITemplateComponentContentResponseConfig
8081
- */
8082
- export interface ITemplateComponentContentResponseConfig {
8083
- /**
8084
- *
8085
- * @type {string}
8086
- * @memberof ITemplateComponentContentResponseConfig
8087
- */
8088
- 'desktopVariant'?: string;
8089
- /**
8090
- *
8091
- * @type {string}
8092
- * @memberof ITemplateComponentContentResponseConfig
8093
- */
8094
- 'mobileVariant'?: string;
8095
- /**
8096
- *
8097
- * @type {string}
8098
- * @memberof ITemplateComponentContentResponseConfig
8099
- */
8100
- 'url'?: string;
8101
- /**
8102
- *
8103
- * @type {ButtonVariantEnum}
8104
- * @memberof ITemplateComponentContentResponseConfig
8105
- */
8106
- 'buttonTwoVariant'?: ButtonVariantEnum;
8107
- /**
8108
- *
8109
- * @type {string}
8110
- * @memberof ITemplateComponentContentResponseConfig
8111
- */
8112
- 'buttonTwoUrl'?: string;
8113
- /**
8114
- *
8115
- * @type {string}
8116
- * @memberof ITemplateComponentContentResponseConfig
8117
- */
8118
- 'buttonTwoText'?: string;
8119
- /**
8120
- *
8121
- * @type {ButtonVariantEnum}
8122
- * @memberof ITemplateComponentContentResponseConfig
8123
- */
8124
- 'buttonOneVariant'?: ButtonVariantEnum;
8125
- /**
8126
- *
8127
- * @type {string}
8128
- * @memberof ITemplateComponentContentResponseConfig
8129
- */
8130
- 'buttonOneUrl'?: string;
8131
- /**
8132
- *
8133
- * @type {string}
8134
- * @memberof ITemplateComponentContentResponseConfig
8135
- */
8136
- 'buttonOneText'?: string;
8137
- /**
8138
- *
8139
- * @type {IImage}
8140
- * @memberof ITemplateComponentContentResponseConfig
8141
- */
8142
- 'imageMobile'?: IImage;
8143
- /**
8144
- *
8145
- * @type {IImage}
8146
- * @memberof ITemplateComponentContentResponseConfig
8147
- */
8148
- 'image'?: IImage;
8149
- /**
8150
- *
8151
- * @type {string}
8152
- * @memberof ITemplateComponentContentResponseConfig
8153
- */
8154
- 'description'?: string;
8155
- /**
8156
- *
8157
- * @type {string}
8158
- * @memberof ITemplateComponentContentResponseConfig
8159
- */
8160
- 'title'?: string;
8161
- /**
8162
- *
8163
- * @type {ContentPositionYEnum}
8164
- * @memberof ITemplateComponentContentResponseConfig
8165
- */
8166
- 'contentMobilePositionY'?: ContentPositionYEnum;
8167
- /**
8168
- *
8169
- * @type {ContentPositionYEnum}
8170
- * @memberof ITemplateComponentContentResponseConfig
8171
- */
8172
- 'contentPositionY'?: ContentPositionYEnum;
8173
- /**
8174
- *
8175
- * @type {ContentPositionXEnum}
8176
- * @memberof ITemplateComponentContentResponseConfig
8177
- */
8178
- 'contentMobilePositionX'?: ContentPositionXEnum;
8179
- /**
8180
- *
8181
- * @type {ContentPositionXEnum}
8182
- * @memberof ITemplateComponentContentResponseConfig
8183
- */
8184
- 'contentPositionX'?: ContentPositionXEnum;
8185
- /**
8186
- *
8187
- * @type {string}
8188
- * @memberof ITemplateComponentContentResponseConfig
8189
- */
8190
- 'customStyles'?: string;
8191
- /**
8192
- *
8193
- * @type {Array<string>}
8194
- * @memberof ITemplateComponentContentResponseConfig
8195
- */
8196
- 'customClasses'?: Array<string>;
8197
- /**
8198
- *
8199
- * @type {string}
8200
- * @memberof ITemplateComponentContentResponseConfig
8201
- */
8202
- 'backgroundColor'?: string;
8203
- /**
8204
- *
8205
- * @type {string}
8206
- * @memberof ITemplateComponentContentResponseConfig
8207
- */
8208
- 'textColor'?: string;
8209
- /**
8210
- *
8211
- * @type {boolean}
8212
- * @memberof ITemplateComponentContentResponseConfig
8213
- */
8214
- 'display': boolean;
8215
- }
8216
7969
  /**
8217
7970
  *
8218
7971
  * @export
@@ -8221,16 +7974,18 @@ export interface ITemplateComponentContentResponseConfig {
8221
7974
  export interface ITemplateComponentResponse {
8222
7975
  /**
8223
7976
  *
8224
- * @type {ComponentTypeEnum}
7977
+ * @type {string}
8225
7978
  * @memberof ITemplateComponentResponse
8226
7979
  */
8227
- 'type': ComponentTypeEnum;
7980
+ 'type': string;
8228
7981
  /**
8229
- *
8230
- * @type {ITemplateComponentResponseConfig}
7982
+ * Construct a type with a set of properties K of type T
7983
+ * @type {{ [key: string]: any; }}
8231
7984
  * @memberof ITemplateComponentResponse
8232
7985
  */
8233
- 'config': ITemplateComponentResponseConfig;
7986
+ 'config': {
7987
+ [key: string]: any;
7988
+ };
8234
7989
  /**
8235
7990
  *
8236
7991
  * @type {string}
@@ -8274,295 +8029,6 @@ export interface ITemplateComponentResponse {
8274
8029
  */
8275
8030
  'pages'?: ITemplateComponentResponsePages;
8276
8031
  }
8277
- /**
8278
- *
8279
- * @export
8280
- * @interface ITemplateComponentResponseConfig
8281
- */
8282
- export interface ITemplateComponentResponseConfig {
8283
- /**
8284
- *
8285
- * @type {string}
8286
- * @memberof ITemplateComponentResponseConfig
8287
- */
8288
- 'desktopVariant'?: string;
8289
- /**
8290
- *
8291
- * @type {string}
8292
- * @memberof ITemplateComponentResponseConfig
8293
- */
8294
- 'mobileVariant'?: string;
8295
- /**
8296
- *
8297
- * @type {string}
8298
- * @memberof ITemplateComponentResponseConfig
8299
- */
8300
- 'buttonTwoUrl'?: string;
8301
- /**
8302
- *
8303
- * @type {string}
8304
- * @memberof ITemplateComponentResponseConfig
8305
- */
8306
- 'buttonTwoText'?: string;
8307
- /**
8308
- *
8309
- * @type {string}
8310
- * @memberof ITemplateComponentResponseConfig
8311
- */
8312
- 'buttonOneUrl'?: string;
8313
- /**
8314
- *
8315
- * @type {string}
8316
- * @memberof ITemplateComponentResponseConfig
8317
- */
8318
- 'buttonOneText'?: string;
8319
- /**
8320
- *
8321
- * @type {string}
8322
- * @memberof ITemplateComponentResponseConfig
8323
- */
8324
- 'url'?: string;
8325
- /**
8326
- *
8327
- * @type {IImage}
8328
- * @memberof ITemplateComponentResponseConfig
8329
- */
8330
- 'imageMobile'?: IImage;
8331
- /**
8332
- *
8333
- * @type {IImage}
8334
- * @memberof ITemplateComponentResponseConfig
8335
- */
8336
- 'image'?: IImage;
8337
- /**
8338
- *
8339
- * @type {string}
8340
- * @memberof ITemplateComponentResponseConfig
8341
- */
8342
- 'description'?: string;
8343
- /**
8344
- *
8345
- * @type {string}
8346
- * @memberof ITemplateComponentResponseConfig
8347
- */
8348
- 'title'?: string;
8349
- /**
8350
- *
8351
- * @type {boolean}
8352
- * @memberof ITemplateComponentResponseConfig
8353
- */
8354
- 'legalDocuments'?: boolean;
8355
- /**
8356
- *
8357
- * @type {boolean}
8358
- * @memberof ITemplateComponentResponseConfig
8359
- */
8360
- 'policyLinks'?: boolean;
8361
- /**
8362
- *
8363
- * @type {boolean}
8364
- * @memberof ITemplateComponentResponseConfig
8365
- */
8366
- 'paymentGatewayPictures'?: boolean;
8367
- /**
8368
- *
8369
- * @type {boolean}
8370
- * @memberof ITemplateComponentResponseConfig
8371
- */
8372
- 'languageSwitcher'?: boolean;
8373
- /**
8374
- *
8375
- * @type {boolean}
8376
- * @memberof ITemplateComponentResponseConfig
8377
- */
8378
- 'socialButtons'?: boolean;
8379
- /**
8380
- *
8381
- * @type {boolean}
8382
- * @memberof ITemplateComponentResponseConfig
8383
- */
8384
- 'isInnerContainer'?: boolean;
8385
- /**
8386
- *
8387
- * @type {number}
8388
- * @memberof ITemplateComponentResponseConfig
8389
- */
8390
- 'contentMobileMaxWidth'?: number;
8391
- /**
8392
- *
8393
- * @type {number}
8394
- * @memberof ITemplateComponentResponseConfig
8395
- */
8396
- 'contentMaxWidth'?: number;
8397
- /**
8398
- *
8399
- * @type {number}
8400
- * @memberof ITemplateComponentResponseConfig
8401
- */
8402
- 'contentMobileHeight'?: number;
8403
- /**
8404
- *
8405
- * @type {number}
8406
- * @memberof ITemplateComponentResponseConfig
8407
- */
8408
- 'contentHeight'?: number;
8409
- /**
8410
- *
8411
- * @type {number}
8412
- * @memberof ITemplateComponentResponseConfig
8413
- */
8414
- 'containerMobileHeight'?: number;
8415
- /**
8416
- *
8417
- * @type {number}
8418
- * @memberof ITemplateComponentResponseConfig
8419
- */
8420
- 'containerHeight'?: number;
8421
- /**
8422
- *
8423
- * @type {number}
8424
- * @memberof ITemplateComponentResponseConfig
8425
- */
8426
- 'containerWidth'?: number;
8427
- /**
8428
- *
8429
- * @type {ContentPositionYEnum}
8430
- * @memberof ITemplateComponentResponseConfig
8431
- */
8432
- 'contentMobilePositionY'?: ContentPositionYEnum;
8433
- /**
8434
- *
8435
- * @type {ContentPositionYEnum}
8436
- * @memberof ITemplateComponentResponseConfig
8437
- */
8438
- 'contentPositionY'?: ContentPositionYEnum;
8439
- /**
8440
- *
8441
- * @type {ContentPositionXEnum}
8442
- * @memberof ITemplateComponentResponseConfig
8443
- */
8444
- 'contentMobilePositionX'?: ContentPositionXEnum;
8445
- /**
8446
- *
8447
- * @type {ContentPositionXEnum}
8448
- * @memberof ITemplateComponentResponseConfig
8449
- */
8450
- 'contentPositionX'?: ContentPositionXEnum;
8451
- /**
8452
- *
8453
- * @type {number}
8454
- * @memberof ITemplateComponentResponseConfig
8455
- */
8456
- 'imageAspectRatio'?: number;
8457
- /**
8458
- *
8459
- * @type {ProductDetailImageZoomTypeEnum}
8460
- * @memberof ITemplateComponentResponseConfig
8461
- */
8462
- 'productDetailImageZoomType'?: ProductDetailImageZoomTypeEnum;
8463
- /**
8464
- *
8465
- * @type {FontSizeEnum}
8466
- * @memberof ITemplateComponentResponseConfig
8467
- */
8468
- 'contentDescriptionFontSize'?: FontSizeEnum;
8469
- /**
8470
- *
8471
- * @type {FontSizeEnum}
8472
- * @memberof ITemplateComponentResponseConfig
8473
- */
8474
- 'contentTitleFontSize'?: FontSizeEnum;
8475
- /**
8476
- *
8477
- * @type {FontSizeEnum}
8478
- * @memberof ITemplateComponentResponseConfig
8479
- */
8480
- 'descriptionFontSize'?: FontSizeEnum;
8481
- /**
8482
- *
8483
- * @type {FontSizeEnum}
8484
- * @memberof ITemplateComponentResponseConfig
8485
- */
8486
- 'titleFontSize'?: FontSizeEnum;
8487
- /**
8488
- *
8489
- * @type {string}
8490
- * @memberof ITemplateComponentResponseConfig
8491
- */
8492
- 'textColor'?: string;
8493
- /**
8494
- *
8495
- * @type {string}
8496
- * @memberof ITemplateComponentResponseConfig
8497
- */
8498
- 'customStyles'?: string;
8499
- /**
8500
- *
8501
- * @type {Array<string>}
8502
- * @memberof ITemplateComponentResponseConfig
8503
- */
8504
- 'customClasses'?: Array<string>;
8505
- /**
8506
- *
8507
- * @type {string}
8508
- * @memberof ITemplateComponentResponseConfig
8509
- */
8510
- 'backgroundColor'?: string;
8511
- /**
8512
- *
8513
- * @type {boolean}
8514
- * @memberof ITemplateComponentResponseConfig
8515
- */
8516
- 'slide'?: boolean;
8517
- /**
8518
- *
8519
- * @type {boolean}
8520
- * @memberof ITemplateComponentResponseConfig
8521
- */
8522
- 'cardContainer'?: boolean;
8523
- /**
8524
- *
8525
- * @type {boolean}
8526
- * @memberof ITemplateComponentResponseConfig
8527
- */
8528
- 'grid'?: boolean;
8529
- /**
8530
- *
8531
- * @type {boolean}
8532
- * @memberof ITemplateComponentResponseConfig
8533
- */
8534
- 'display': boolean;
8535
- /**
8536
- *
8537
- * @type {number}
8538
- * @memberof ITemplateComponentResponseConfig
8539
- */
8540
- 'interval'?: number;
8541
- /**
8542
- *
8543
- * @type {number}
8544
- * @memberof ITemplateComponentResponseConfig
8545
- */
8546
- 'mobilePerViewCount'?: number;
8547
- /**
8548
- *
8549
- * @type {number}
8550
- * @memberof ITemplateComponentResponseConfig
8551
- */
8552
- 'perViewCount'?: number;
8553
- /**
8554
- *
8555
- * @type {boolean}
8556
- * @memberof ITemplateComponentResponseConfig
8557
- */
8558
- 'autoPlay'?: boolean;
8559
- /**
8560
- *
8561
- * @type {boolean}
8562
- * @memberof ITemplateComponentResponseConfig
8563
- */
8564
- 'addName'?: boolean;
8565
- }
8566
8032
  /**
8567
8033
  *
8568
8034
  * @export
@@ -8834,6 +8300,14 @@ export interface IThemePatchRequest {
8834
8300
  * @memberof IThemePatchRequest
8835
8301
  */
8836
8302
  'demoUrl'?: string;
8303
+ /**
8304
+ * Construct a type with a set of properties K of type T
8305
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8306
+ * @memberof IThemePatchRequest
8307
+ */
8308
+ 'files'?: {
8309
+ [key: string]: RecordStringStringOrAnyValue;
8310
+ };
8837
8311
  }
8838
8312
  /**
8839
8313
  *
@@ -8865,6 +8339,14 @@ export interface IThemePostRequest {
8865
8339
  * @memberof IThemePostRequest
8866
8340
  */
8867
8341
  'demoUrl'?: string;
8342
+ /**
8343
+ * Construct a type with a set of properties K of type T
8344
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8345
+ * @memberof IThemePostRequest
8346
+ */
8347
+ 'files'?: {
8348
+ [key: string]: RecordStringStringOrAnyValue;
8349
+ };
8868
8350
  /**
8869
8351
  *
8870
8352
  * @type {IThemeResponseTemplate}
@@ -8944,6 +8426,14 @@ export interface IThemeResponse {
8944
8426
  * @memberof IThemeResponse
8945
8427
  */
8946
8428
  'creator'?: string;
8429
+ /**
8430
+ * Construct a type with a set of properties K of type T
8431
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
8432
+ * @memberof IThemeResponse
8433
+ */
8434
+ 'files'?: {
8435
+ [key: string]: RecordStringStringOrAnyValue;
8436
+ };
8947
8437
  /**
8948
8438
  *
8949
8439
  * @type {IThemeResponseTemplate}
@@ -11505,6 +10995,14 @@ export interface PickIThemeExcludeKeyofIThemeTemplate {
11505
10995
  * @memberof PickIThemeExcludeKeyofIThemeTemplate
11506
10996
  */
11507
10997
  'creator'?: string;
10998
+ /**
10999
+ * Construct a type with a set of properties K of type T
11000
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
11001
+ * @memberof PickIThemeExcludeKeyofIThemeTemplate
11002
+ */
11003
+ 'files'?: {
11004
+ [key: string]: RecordStringStringOrAnyValue;
11005
+ };
11508
11006
  }
11509
11007
  /**
11510
11008
  *
@@ -11791,6 +11289,14 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
11791
11289
  * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreator
11792
11290
  */
11793
11291
  'demoUrl'?: string;
11292
+ /**
11293
+ * Construct a type with a set of properties K of type T
11294
+ * @type {{ [key: string]: RecordStringStringOrAnyValue; }}
11295
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseOrTemplateOrMainOrCompanyOrCreator
11296
+ */
11297
+ 'files'?: {
11298
+ [key: string]: RecordStringStringOrAnyValue;
11299
+ };
11794
11300
  }
11795
11301
  /**
11796
11302
  * From T, pick a set of properties whose keys are in the union K
@@ -12041,19 +11547,6 @@ export interface PriceType {
12041
11547
  */
12042
11548
  'price': number;
12043
11549
  }
12044
- /**
12045
- *
12046
- * @export
12047
- * @enum {string}
12048
- */
12049
- export declare const ProductDetailImageZoomTypeEnum: {
12050
- readonly MOVE: "move";
12051
- readonly CLICK: "click";
12052
- readonly HOVER: "hover";
12053
- readonly DIALOG: "dialog";
12054
- readonly NONE: "none";
12055
- };
12056
- export type ProductDetailImageZoomTypeEnum = typeof ProductDetailImageZoomTypeEnum[keyof typeof ProductDetailImageZoomTypeEnum];
12057
11550
  /**
12058
11551
  * Construct a type with a set of properties K of type T
12059
11552
  * @export
@@ -12203,6 +11696,13 @@ export interface RecordLanguageEnumTitleStringTr {
12203
11696
  */
12204
11697
  'title': string;
12205
11698
  }
11699
+ /**
11700
+ *
11701
+ * @export
11702
+ * @interface RecordStringStringOrAnyValue
11703
+ */
11704
+ export interface RecordStringStringOrAnyValue {
11705
+ }
12206
11706
  /**
12207
11707
  *
12208
11708
  * @export
package/dist/api/api.js CHANGED
@@ -16,28 +16,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
20
- exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = void 0;
19
+ exports.PickIThemeExcludeKeyofIThemeTemplateConfigBlogCardTextAlignEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
+ exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = void 0;
21
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
25
25
  const common_1 = require("./common.js");
26
26
  // @ts-ignore
27
27
  const base_1 = require("./base.js");
28
- /**
29
- *
30
- * @export
31
- * @enum {string}
32
- */
33
- exports.ButtonVariantEnum = {
34
- LINK: 'link',
35
- DEFAULT: 'default',
36
- OUTLINE: 'outline',
37
- DESTRUCTIVE: 'destructive',
38
- SECONDARY: 'secondary',
39
- GHOST: 'ghost'
40
- };
41
28
  /**
42
29
  *
43
30
  * @export
@@ -69,31 +56,6 @@ exports.CompanyUserStatusEnum = {
69
56
  UNEMPLOYED: 'unemployed',
70
57
  DELETED: 'deleted'
71
58
  };
72
- /**
73
- *
74
- * @export
75
- * @enum {string}
76
- */
77
- exports.ComponentContentTypeEnum = {
78
- HEADING: 'heading',
79
- TEXT: 'text',
80
- CAPTION: 'caption',
81
- BUTTONS: 'buttons',
82
- PRICE: 'price',
83
- VARIANT_PICKER: 'variant-picker',
84
- BUY_BUTTON: 'buy-button',
85
- SHARE: 'share',
86
- PRODUCT_RATING: 'product-rating',
87
- CAROUSEL_ITEM: 'carousel-item',
88
- GRID_ITEM: 'grid-item',
89
- ANNOUNCEMENT_ITEM: 'announcement-item',
90
- ACCORDION_ITEM: 'accordion-item',
91
- PRODUCT_DESCRIPTION: 'product-description',
92
- PRODUCT_REVIEWS: 'product-reviews',
93
- PRODUCT_ATTRIBUTES: 'product-attributes',
94
- IMAGE: 'image',
95
- CONTENT: 'content'
96
- };
97
59
  /**
98
60
  *
99
61
  * @export
@@ -122,57 +84,6 @@ exports.ComponentProductTypeEnum = {
122
84
  COLLECTION: 'collection',
123
85
  BRAND: 'brand'
124
86
  };
125
- /**
126
- *
127
- * @export
128
- * @enum {string}
129
- */
130
- exports.ComponentTypeEnum = {
131
- CAROUSEL: 'carousel',
132
- BANNER: 'banner',
133
- GRID: 'grid',
134
- PRODUCT_LIST: 'product-list',
135
- PAGE_DETAIL: 'page-detail',
136
- PRODUCT_DETAIL: 'product-detail',
137
- PRODUCT_MORE_DETAIL: 'product-more-detail',
138
- COLLECTION_LIST: 'collection-list',
139
- CATEGORY_LIST: 'category-list',
140
- BRAND_LIST: 'brand-list',
141
- BLOG_LIST: 'blog-list',
142
- RICH_TEXT: 'rich-text',
143
- BANNER_WITH_TEXT: 'banner-with-text',
144
- ACCORDION: 'accordion',
145
- HEADER: 'header',
146
- ANNOUNCEMENT: 'announcement',
147
- FOOTER: 'footer',
148
- CONTACT_FORM: 'contact-form',
149
- CART_DETAIL: 'cart-detail',
150
- CHECKOUT_DETAIL: 'checkout-detail',
151
- NOT_FOUND_DETAIL: 'not-found-detail',
152
- SEARCH_DETAIL: 'search-detail',
153
- BLOG_LIST_DETAIL: 'blog-list-detail',
154
- COLLECTION_LIST_DETAIL: 'collection-list-detail'
155
- };
156
- /**
157
- *
158
- * @export
159
- * @enum {string}
160
- */
161
- exports.ContentPositionXEnum = {
162
- CENTER: 'center',
163
- LEFT: 'left',
164
- RIGHT: 'right'
165
- };
166
- /**
167
- *
168
- * @export
169
- * @enum {string}
170
- */
171
- exports.ContentPositionYEnum = {
172
- CENTER: 'center',
173
- TOP: 'top',
174
- BOTTOM: 'bottom'
175
- };
176
87
  /**
177
88
  *
178
89
  * @export
@@ -502,21 +413,6 @@ exports.FileTypeEnum = {
502
413
  DOCUMENT: 'document',
503
414
  OTHER: 'other'
504
415
  };
505
- /**
506
- *
507
- * @export
508
- * @enum {string}
509
- */
510
- exports.FontSizeEnum = {
511
- XS: 'text-xs',
512
- SM: 'text-sm',
513
- BASE: 'text-base',
514
- LG: 'text-lg',
515
- XL: 'text-xl',
516
- _2XL: 'text-2xl',
517
- _4XL: 'text-4xl',
518
- _6XL: 'text-6xl'
519
- };
520
416
  exports.IBrandCollectionQueryParamsDateFieldEnum = {
521
417
  CREATED_AT: 'createdAt',
522
418
  UPDATED_AT: 'updatedAt'
@@ -787,18 +683,6 @@ exports.PlanTypeEnum = {
787
683
  ADVANCED: 'advanced',
788
684
  PREMIUM: 'premium'
789
685
  };
790
- /**
791
- *
792
- * @export
793
- * @enum {string}
794
- */
795
- exports.ProductDetailImageZoomTypeEnum = {
796
- MOVE: 'move',
797
- CLICK: 'click',
798
- HOVER: 'hover',
799
- DIALOG: 'dialog',
800
- NONE: 'none'
801
- };
802
686
  /**
803
687
  *
804
688
  * @export
package/dist/api/api.mjs CHANGED
@@ -14,19 +14,6 @@
14
14
  import globalAxios from 'axios';
15
15
  import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from "./common.mjs";
16
16
  import { BASE_PATH, BaseAPI, operationServerMap } from "./base.mjs";
17
- /**
18
- *
19
- * @export
20
- * @enum {string}
21
- */
22
- export const ButtonVariantEnum = {
23
- LINK: 'link',
24
- DEFAULT: 'default',
25
- OUTLINE: 'outline',
26
- DESTRUCTIVE: 'destructive',
27
- SECONDARY: 'secondary',
28
- GHOST: 'ghost'
29
- };
30
17
  /**
31
18
  *
32
19
  * @export
@@ -58,31 +45,6 @@ export const CompanyUserStatusEnum = {
58
45
  UNEMPLOYED: 'unemployed',
59
46
  DELETED: 'deleted'
60
47
  };
61
- /**
62
- *
63
- * @export
64
- * @enum {string}
65
- */
66
- export const ComponentContentTypeEnum = {
67
- HEADING: 'heading',
68
- TEXT: 'text',
69
- CAPTION: 'caption',
70
- BUTTONS: 'buttons',
71
- PRICE: 'price',
72
- VARIANT_PICKER: 'variant-picker',
73
- BUY_BUTTON: 'buy-button',
74
- SHARE: 'share',
75
- PRODUCT_RATING: 'product-rating',
76
- CAROUSEL_ITEM: 'carousel-item',
77
- GRID_ITEM: 'grid-item',
78
- ANNOUNCEMENT_ITEM: 'announcement-item',
79
- ACCORDION_ITEM: 'accordion-item',
80
- PRODUCT_DESCRIPTION: 'product-description',
81
- PRODUCT_REVIEWS: 'product-reviews',
82
- PRODUCT_ATTRIBUTES: 'product-attributes',
83
- IMAGE: 'image',
84
- CONTENT: 'content'
85
- };
86
48
  /**
87
49
  *
88
50
  * @export
@@ -111,57 +73,6 @@ export const ComponentProductTypeEnum = {
111
73
  COLLECTION: 'collection',
112
74
  BRAND: 'brand'
113
75
  };
114
- /**
115
- *
116
- * @export
117
- * @enum {string}
118
- */
119
- export const ComponentTypeEnum = {
120
- CAROUSEL: 'carousel',
121
- BANNER: 'banner',
122
- GRID: 'grid',
123
- PRODUCT_LIST: 'product-list',
124
- PAGE_DETAIL: 'page-detail',
125
- PRODUCT_DETAIL: 'product-detail',
126
- PRODUCT_MORE_DETAIL: 'product-more-detail',
127
- COLLECTION_LIST: 'collection-list',
128
- CATEGORY_LIST: 'category-list',
129
- BRAND_LIST: 'brand-list',
130
- BLOG_LIST: 'blog-list',
131
- RICH_TEXT: 'rich-text',
132
- BANNER_WITH_TEXT: 'banner-with-text',
133
- ACCORDION: 'accordion',
134
- HEADER: 'header',
135
- ANNOUNCEMENT: 'announcement',
136
- FOOTER: 'footer',
137
- CONTACT_FORM: 'contact-form',
138
- CART_DETAIL: 'cart-detail',
139
- CHECKOUT_DETAIL: 'checkout-detail',
140
- NOT_FOUND_DETAIL: 'not-found-detail',
141
- SEARCH_DETAIL: 'search-detail',
142
- BLOG_LIST_DETAIL: 'blog-list-detail',
143
- COLLECTION_LIST_DETAIL: 'collection-list-detail'
144
- };
145
- /**
146
- *
147
- * @export
148
- * @enum {string}
149
- */
150
- export const ContentPositionXEnum = {
151
- CENTER: 'center',
152
- LEFT: 'left',
153
- RIGHT: 'right'
154
- };
155
- /**
156
- *
157
- * @export
158
- * @enum {string}
159
- */
160
- export const ContentPositionYEnum = {
161
- CENTER: 'center',
162
- TOP: 'top',
163
- BOTTOM: 'bottom'
164
- };
165
76
  /**
166
77
  *
167
78
  * @export
@@ -491,21 +402,6 @@ export const FileTypeEnum = {
491
402
  DOCUMENT: 'document',
492
403
  OTHER: 'other'
493
404
  };
494
- /**
495
- *
496
- * @export
497
- * @enum {string}
498
- */
499
- export const FontSizeEnum = {
500
- XS: 'text-xs',
501
- SM: 'text-sm',
502
- BASE: 'text-base',
503
- LG: 'text-lg',
504
- XL: 'text-xl',
505
- _2XL: 'text-2xl',
506
- _4XL: 'text-4xl',
507
- _6XL: 'text-6xl'
508
- };
509
405
  export const IBrandCollectionQueryParamsDateFieldEnum = {
510
406
  CREATED_AT: 'createdAt',
511
407
  UPDATED_AT: 'updatedAt'
@@ -776,18 +672,6 @@ export const PlanTypeEnum = {
776
672
  ADVANCED: 'advanced',
777
673
  PREMIUM: 'premium'
778
674
  };
779
- /**
780
- *
781
- * @export
782
- * @enum {string}
783
- */
784
- export const ProductDetailImageZoomTypeEnum = {
785
- MOVE: 'move',
786
- CLICK: 'click',
787
- HOVER: 'hover',
788
- DIALOG: 'dialog',
789
- NONE: 'none'
790
- };
791
675
  /**
792
676
  *
793
677
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "api-client-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "3f5595b60d7c3bc0a1c4200f28f1646ff3c84e1a"
40
+ "gitHead": "8b122349bed1b50f72a09b18253fa7421f0ba40b"
41
41
  }