@infisale-client/api 1.1.35 → 1.1.37

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
@@ -560,13 +560,13 @@ export interface IAddProductToBasketRequest {
560
560
  * @type {string}
561
561
  * @memberof IAddProductToBasketRequest
562
562
  */
563
- 'main_variant'?: string;
563
+ 'mainVariant'?: string;
564
564
  /**
565
565
  *
566
566
  * @type {string}
567
567
  * @memberof IAddProductToBasketRequest
568
568
  */
569
- 'sub_variant'?: string;
569
+ 'subVariant'?: string;
570
570
  }
571
571
  /**
572
572
  *
@@ -680,13 +680,13 @@ export interface IBasketResponseItemsInner {
680
680
  * @type {string}
681
681
  * @memberof IBasketResponseItemsInner
682
682
  */
683
- 'sub_variant'?: string;
683
+ 'subVariant'?: string;
684
684
  /**
685
685
  *
686
686
  * @type {string}
687
687
  * @memberof IBasketResponseItemsInner
688
688
  */
689
- 'main_variant'?: string;
689
+ 'mainVariant'?: string;
690
690
  /**
691
691
  *
692
692
  * @type {number}
@@ -1760,6 +1760,12 @@ export interface ICompany {
1760
1760
  * @memberof ICompany
1761
1761
  */
1762
1762
  'logo'?: IImage;
1763
+ /**
1764
+ *
1765
+ * @type {IImage}
1766
+ * @memberof ICompany
1767
+ */
1768
+ 'email_logo'?: IImage;
1763
1769
  /**
1764
1770
  *
1765
1771
  * @type {IImage}
@@ -1846,6 +1852,12 @@ export interface ICompany {
1846
1852
  * @memberof ICompany
1847
1853
  */
1848
1854
  'firebase_login': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysFirebaseLogin;
1855
+ /**
1856
+ *
1857
+ * @type {string}
1858
+ * @memberof ICompany
1859
+ */
1860
+ 'dkim'?: string;
1849
1861
  /**
1850
1862
  *
1851
1863
  * @type {string}
@@ -1987,6 +1999,12 @@ export interface ICompanyAdminResponse {
1987
1999
  * @memberof ICompanyAdminResponse
1988
2000
  */
1989
2001
  'logo'?: IImage;
2002
+ /**
2003
+ *
2004
+ * @type {IImage}
2005
+ * @memberof ICompanyAdminResponse
2006
+ */
2007
+ 'email_logo'?: IImage;
1990
2008
  /**
1991
2009
  *
1992
2010
  * @type {IImage}
@@ -2488,6 +2506,12 @@ export interface ICompanyPatchRequest {
2488
2506
  * @memberof ICompanyPatchRequest
2489
2507
  */
2490
2508
  'address'?: ICompanyResponseAddress;
2509
+ /**
2510
+ *
2511
+ * @type {string}
2512
+ * @memberof ICompanyPatchRequest
2513
+ */
2514
+ 'dkim'?: string;
2491
2515
  /**
2492
2516
  *
2493
2517
  * @type {CompanyTypeEnum}
@@ -2526,6 +2550,12 @@ export interface ICompanyPatchRequest {
2526
2550
  * @memberof ICompanyPatchRequest
2527
2551
  */
2528
2552
  'logo'?: IImage;
2553
+ /**
2554
+ *
2555
+ * @type {IImage}
2556
+ * @memberof ICompanyPatchRequest
2557
+ */
2558
+ 'email_logo'?: IImage;
2529
2559
  /**
2530
2560
  *
2531
2561
  * @type {IImage}
@@ -2722,6 +2752,12 @@ export interface ICompanyResponse {
2722
2752
  * @memberof ICompanyResponse
2723
2753
  */
2724
2754
  'logo'?: IImage;
2755
+ /**
2756
+ *
2757
+ * @type {IImage}
2758
+ * @memberof ICompanyResponse
2759
+ */
2760
+ 'email_logo'?: IImage;
2725
2761
  /**
2726
2762
  *
2727
2763
  * @type {IImage}
@@ -3200,6 +3236,12 @@ export interface ICompanyUpdateConfigRequest {
3200
3236
  * @memberof ICompanyUpdateConfigRequest
3201
3237
  */
3202
3238
  'logo'?: IImage;
3239
+ /**
3240
+ *
3241
+ * @type {IImage}
3242
+ * @memberof ICompanyUpdateConfigRequest
3243
+ */
3244
+ 'email_logo'?: IImage;
3203
3245
  /**
3204
3246
  *
3205
3247
  * @type {IImage}
@@ -5826,6 +5868,70 @@ export interface ISearchProductsResponse {
5826
5868
  */
5827
5869
  'data': Array<IProductResponse>;
5828
5870
  }
5871
+ /**
5872
+ *
5873
+ * @export
5874
+ * @interface ISitemapResponse
5875
+ */
5876
+ export interface ISitemapResponse {
5877
+ /**
5878
+ *
5879
+ * @type {Array<ISitemapResponseSlugsInner>}
5880
+ * @memberof ISitemapResponse
5881
+ */
5882
+ 'slugs': Array<ISitemapResponseSlugsInner>;
5883
+ }
5884
+ /**
5885
+ *
5886
+ * @export
5887
+ * @interface ISitemapResponseSlugsInner
5888
+ */
5889
+ export interface ISitemapResponseSlugsInner {
5890
+ /**
5891
+ *
5892
+ * @type {string}
5893
+ * @memberof ISitemapResponseSlugsInner
5894
+ */
5895
+ 'slug': string;
5896
+ /**
5897
+ *
5898
+ * @type {LanguageEnum}
5899
+ * @memberof ISitemapResponseSlugsInner
5900
+ */
5901
+ 'lang': LanguageEnum;
5902
+ }
5903
+ /**
5904
+ *
5905
+ * @export
5906
+ * @interface ISitemapsResponse
5907
+ */
5908
+ export interface ISitemapsResponse {
5909
+ /**
5910
+ *
5911
+ * @type {Array<ISitemapsResponseDataInner>}
5912
+ * @memberof ISitemapsResponse
5913
+ */
5914
+ 'data': Array<ISitemapsResponseDataInner>;
5915
+ }
5916
+ /**
5917
+ *
5918
+ * @export
5919
+ * @interface ISitemapsResponseDataInner
5920
+ */
5921
+ export interface ISitemapsResponseDataInner {
5922
+ /**
5923
+ *
5924
+ * @type {Array<number>}
5925
+ * @memberof ISitemapsResponseDataInner
5926
+ */
5927
+ 'pages': Array<number>;
5928
+ /**
5929
+ *
5930
+ * @type {SitemapTypeEnum}
5931
+ * @memberof ISitemapsResponseDataInner
5932
+ */
5933
+ 'type': SitemapTypeEnum;
5934
+ }
5829
5935
  /**
5830
5936
  *
5831
5937
  * @export
@@ -6024,6 +6130,24 @@ export interface ITemplateResponseComponentsInner {
6024
6130
  * @interface ITemplateResponseComponentsInnerConfig
6025
6131
  */
6026
6132
  export interface ITemplateResponseComponentsInnerConfig {
6133
+ /**
6134
+ *
6135
+ * @type {ProductDetailImageZoomTypeEnum}
6136
+ * @memberof ITemplateResponseComponentsInnerConfig
6137
+ */
6138
+ 'productDetailImageZoomType'?: ProductDetailImageZoomTypeEnum;
6139
+ /**
6140
+ *
6141
+ * @type {FontSizeEnum}
6142
+ * @memberof ITemplateResponseComponentsInnerConfig
6143
+ */
6144
+ 'contentDescriptionFontSize'?: FontSizeEnum;
6145
+ /**
6146
+ *
6147
+ * @type {FontSizeEnum}
6148
+ * @memberof ITemplateResponseComponentsInnerConfig
6149
+ */
6150
+ 'contentTitleFontSize'?: FontSizeEnum;
6027
6151
  /**
6028
6152
  *
6029
6153
  * @type {FontSizeEnum}
@@ -6054,6 +6178,12 @@ export interface ITemplateResponseComponentsInnerConfig {
6054
6178
  * @memberof ITemplateResponseComponentsInnerConfig
6055
6179
  */
6056
6180
  'slide'?: boolean;
6181
+ /**
6182
+ *
6183
+ * @type {boolean}
6184
+ * @memberof ITemplateResponseComponentsInnerConfig
6185
+ */
6186
+ 'cardContainer'?: boolean;
6057
6187
  /**
6058
6188
  *
6059
6189
  * @type {boolean}
@@ -6214,6 +6344,12 @@ export interface ITemplateResponseComponentsInnerIdentity {
6214
6344
  * @memberof ITemplateResponseComponentsInnerIdentity
6215
6345
  */
6216
6346
  'buttons'?: Array<ITemplateResponseComponentsInnerIdentityButtonsInner>;
6347
+ /**
6348
+ *
6349
+ * @type {PartialRecordLanguageEnumString}
6350
+ * @memberof ITemplateResponseComponentsInnerIdentity
6351
+ */
6352
+ 'url'?: PartialRecordLanguageEnumString;
6217
6353
  /**
6218
6354
  *
6219
6355
  * @type {PartialRecordLanguageEnumIImage}
@@ -7298,6 +7434,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
7298
7434
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
7299
7435
  */
7300
7436
  'logo'?: IImage;
7437
+ /**
7438
+ *
7439
+ * @type {IImage}
7440
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
7441
+ */
7442
+ 'email_logo'?: IImage;
7301
7443
  /**
7302
7444
  *
7303
7445
  * @type {IImage}
@@ -8213,6 +8355,16 @@ export interface PriceType {
8213
8355
  */
8214
8356
  'price': number;
8215
8357
  }
8358
+ /**
8359
+ *
8360
+ * @export
8361
+ * @enum {string}
8362
+ */
8363
+ export declare const ProductDetailImageZoomTypeEnum: {
8364
+ readonly MOVE: "move";
8365
+ readonly CLICK: "click";
8366
+ };
8367
+ export type ProductDetailImageZoomTypeEnum = typeof ProductDetailImageZoomTypeEnum[keyof typeof ProductDetailImageZoomTypeEnum];
8216
8368
  /**
8217
8369
  * Construct a type with a set of properties K of type T
8218
8370
  * @export
@@ -8306,6 +8458,17 @@ export interface SetCompanySenderEmailRequest {
8306
8458
  */
8307
8459
  'sender_email': string;
8308
8460
  }
8461
+ /**
8462
+ *
8463
+ * @export
8464
+ * @enum {string}
8465
+ */
8466
+ export declare const SitemapTypeEnum: {
8467
+ readonly PRODUCTS: "products";
8468
+ readonly PAGES: "pages";
8469
+ readonly COLLECTIONS: "collections";
8470
+ };
8471
+ export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
8309
8472
  /**
8310
8473
  *
8311
8474
  * @export
@@ -14238,6 +14401,132 @@ export declare class ProductApi extends BaseAPI {
14238
14401
  */
14239
14402
  updateProduct(requestParameters: ProductApiUpdateProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductResponse, any>>;
14240
14403
  }
14404
+ /**
14405
+ * SitemapApi - axios parameter creator
14406
+ * @export
14407
+ */
14408
+ export declare const SitemapApiAxiosParamCreator: (configuration?: Configuration) => {
14409
+ /**
14410
+ *
14411
+ * @param {string} type
14412
+ * @param {string} page
14413
+ * @param {string} domain
14414
+ * @param {*} [options] Override http request option.
14415
+ * @throws {RequiredError}
14416
+ */
14417
+ getSitemapByType: (type: string, page: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14418
+ /**
14419
+ *
14420
+ * @param {string} domain
14421
+ * @param {*} [options] Override http request option.
14422
+ * @throws {RequiredError}
14423
+ */
14424
+ getSitemaps: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14425
+ };
14426
+ /**
14427
+ * SitemapApi - functional programming interface
14428
+ * @export
14429
+ */
14430
+ export declare const SitemapApiFp: (configuration?: Configuration) => {
14431
+ /**
14432
+ *
14433
+ * @param {string} type
14434
+ * @param {string} page
14435
+ * @param {string} domain
14436
+ * @param {*} [options] Override http request option.
14437
+ * @throws {RequiredError}
14438
+ */
14439
+ getSitemapByType(type: string, page: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapResponse>>;
14440
+ /**
14441
+ *
14442
+ * @param {string} domain
14443
+ * @param {*} [options] Override http request option.
14444
+ * @throws {RequiredError}
14445
+ */
14446
+ getSitemaps(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapsResponse>>;
14447
+ };
14448
+ /**
14449
+ * SitemapApi - factory interface
14450
+ * @export
14451
+ */
14452
+ export declare const SitemapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14453
+ /**
14454
+ *
14455
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
14456
+ * @param {*} [options] Override http request option.
14457
+ * @throws {RequiredError}
14458
+ */
14459
+ getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapResponse>;
14460
+ /**
14461
+ *
14462
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
14463
+ * @param {*} [options] Override http request option.
14464
+ * @throws {RequiredError}
14465
+ */
14466
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapsResponse>;
14467
+ };
14468
+ /**
14469
+ * Request parameters for getSitemapByType operation in SitemapApi.
14470
+ * @export
14471
+ * @interface SitemapApiGetSitemapByTypeRequest
14472
+ */
14473
+ export interface SitemapApiGetSitemapByTypeRequest {
14474
+ /**
14475
+ *
14476
+ * @type {string}
14477
+ * @memberof SitemapApiGetSitemapByType
14478
+ */
14479
+ readonly type: string;
14480
+ /**
14481
+ *
14482
+ * @type {string}
14483
+ * @memberof SitemapApiGetSitemapByType
14484
+ */
14485
+ readonly page: string;
14486
+ /**
14487
+ *
14488
+ * @type {string}
14489
+ * @memberof SitemapApiGetSitemapByType
14490
+ */
14491
+ readonly domain: string;
14492
+ }
14493
+ /**
14494
+ * Request parameters for getSitemaps operation in SitemapApi.
14495
+ * @export
14496
+ * @interface SitemapApiGetSitemapsRequest
14497
+ */
14498
+ export interface SitemapApiGetSitemapsRequest {
14499
+ /**
14500
+ *
14501
+ * @type {string}
14502
+ * @memberof SitemapApiGetSitemaps
14503
+ */
14504
+ readonly domain: string;
14505
+ }
14506
+ /**
14507
+ * SitemapApi - object-oriented interface
14508
+ * @export
14509
+ * @class SitemapApi
14510
+ * @extends {BaseAPI}
14511
+ */
14512
+ export declare class SitemapApi extends BaseAPI {
14513
+ /**
14514
+ *
14515
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
14516
+ * @param {*} [options] Override http request option.
14517
+ * @throws {RequiredError}
14518
+ * @memberof SitemapApi
14519
+ */
14520
+ getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapResponse, any>>;
14521
+ /**
14522
+ *
14523
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
14524
+ * @param {*} [options] Override http request option.
14525
+ * @throws {RequiredError}
14526
+ * @memberof SitemapApi
14527
+ */
14528
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
14529
+ }
14241
14530
  /**
14242
14531
  * TemplateApi - axios parameter creator
14243
14532
  * @export
package/dist/api/api.js CHANGED
@@ -16,8 +16,9 @@ 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.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.ThemeTypeEnum = exports.TemplateTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PageTypeEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = void 0;
19
+ exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.ThemeTypeEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PageTypeEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
+ exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = void 0;
21
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = void 0;
21
22
  const axios_1 = __importDefault(require("axios"));
22
23
  // Some imports not used depending on template conditions
23
24
  // @ts-ignore
@@ -571,6 +572,25 @@ exports.PlanTypeEnum = {
571
572
  STANDARD: 'standard',
572
573
  PREMIUM: 'premium'
573
574
  };
575
+ /**
576
+ *
577
+ * @export
578
+ * @enum {string}
579
+ */
580
+ exports.ProductDetailImageZoomTypeEnum = {
581
+ MOVE: 'move',
582
+ CLICK: 'click'
583
+ };
584
+ /**
585
+ *
586
+ * @export
587
+ * @enum {string}
588
+ */
589
+ exports.SitemapTypeEnum = {
590
+ PRODUCTS: 'products',
591
+ PAGES: 'pages',
592
+ COLLECTIONS: 'collections'
593
+ };
574
594
  /**
575
595
  *
576
596
  * @export
@@ -7997,6 +8017,176 @@ class ProductApi extends base_1.BaseAPI {
7997
8017
  }
7998
8018
  }
7999
8019
  exports.ProductApi = ProductApi;
8020
+ /**
8021
+ * SitemapApi - axios parameter creator
8022
+ * @export
8023
+ */
8024
+ const SitemapApiAxiosParamCreator = function (configuration) {
8025
+ return {
8026
+ /**
8027
+ *
8028
+ * @param {string} type
8029
+ * @param {string} page
8030
+ * @param {string} domain
8031
+ * @param {*} [options] Override http request option.
8032
+ * @throws {RequiredError}
8033
+ */
8034
+ getSitemapByType: async (type, page, domain, options = {}) => {
8035
+ // verify required parameter 'type' is not null or undefined
8036
+ (0, common_1.assertParamExists)('getSitemapByType', 'type', type);
8037
+ // verify required parameter 'page' is not null or undefined
8038
+ (0, common_1.assertParamExists)('getSitemapByType', 'page', page);
8039
+ // verify required parameter 'domain' is not null or undefined
8040
+ (0, common_1.assertParamExists)('getSitemapByType', 'domain', domain);
8041
+ const localVarPath = `/api/sitemaps/{type}/{page}`
8042
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)))
8043
+ .replace(`{${"page"}}`, encodeURIComponent(String(page)));
8044
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8045
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8046
+ let baseOptions;
8047
+ if (configuration) {
8048
+ baseOptions = configuration.baseOptions;
8049
+ }
8050
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
8051
+ const localVarHeaderParameter = {};
8052
+ const localVarQueryParameter = {};
8053
+ if (domain !== undefined) {
8054
+ localVarQueryParameter['domain'] = domain;
8055
+ }
8056
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8057
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8058
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
8059
+ return {
8060
+ url: (0, common_1.toPathString)(localVarUrlObj),
8061
+ options: localVarRequestOptions,
8062
+ };
8063
+ },
8064
+ /**
8065
+ *
8066
+ * @param {string} domain
8067
+ * @param {*} [options] Override http request option.
8068
+ * @throws {RequiredError}
8069
+ */
8070
+ getSitemaps: async (domain, options = {}) => {
8071
+ // verify required parameter 'domain' is not null or undefined
8072
+ (0, common_1.assertParamExists)('getSitemaps', 'domain', domain);
8073
+ const localVarPath = `/api/sitemaps`;
8074
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8075
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8076
+ let baseOptions;
8077
+ if (configuration) {
8078
+ baseOptions = configuration.baseOptions;
8079
+ }
8080
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
8081
+ const localVarHeaderParameter = {};
8082
+ const localVarQueryParameter = {};
8083
+ if (domain !== undefined) {
8084
+ localVarQueryParameter['domain'] = domain;
8085
+ }
8086
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8087
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8088
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
8089
+ return {
8090
+ url: (0, common_1.toPathString)(localVarUrlObj),
8091
+ options: localVarRequestOptions,
8092
+ };
8093
+ },
8094
+ };
8095
+ };
8096
+ exports.SitemapApiAxiosParamCreator = SitemapApiAxiosParamCreator;
8097
+ /**
8098
+ * SitemapApi - functional programming interface
8099
+ * @export
8100
+ */
8101
+ const SitemapApiFp = function (configuration) {
8102
+ const localVarAxiosParamCreator = (0, exports.SitemapApiAxiosParamCreator)(configuration);
8103
+ return {
8104
+ /**
8105
+ *
8106
+ * @param {string} type
8107
+ * @param {string} page
8108
+ * @param {string} domain
8109
+ * @param {*} [options] Override http request option.
8110
+ * @throws {RequiredError}
8111
+ */
8112
+ async getSitemapByType(type, page, domain, options) {
8113
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
8114
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8115
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
8116
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8117
+ },
8118
+ /**
8119
+ *
8120
+ * @param {string} domain
8121
+ * @param {*} [options] Override http request option.
8122
+ * @throws {RequiredError}
8123
+ */
8124
+ async getSitemaps(domain, options) {
8125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
8126
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8127
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
8128
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8129
+ },
8130
+ };
8131
+ };
8132
+ exports.SitemapApiFp = SitemapApiFp;
8133
+ /**
8134
+ * SitemapApi - factory interface
8135
+ * @export
8136
+ */
8137
+ const SitemapApiFactory = function (configuration, basePath, axios) {
8138
+ const localVarFp = (0, exports.SitemapApiFp)(configuration);
8139
+ return {
8140
+ /**
8141
+ *
8142
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
8143
+ * @param {*} [options] Override http request option.
8144
+ * @throws {RequiredError}
8145
+ */
8146
+ getSitemapByType(requestParameters, options) {
8147
+ return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
8148
+ },
8149
+ /**
8150
+ *
8151
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
8152
+ * @param {*} [options] Override http request option.
8153
+ * @throws {RequiredError}
8154
+ */
8155
+ getSitemaps(requestParameters, options) {
8156
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
8157
+ },
8158
+ };
8159
+ };
8160
+ exports.SitemapApiFactory = SitemapApiFactory;
8161
+ /**
8162
+ * SitemapApi - object-oriented interface
8163
+ * @export
8164
+ * @class SitemapApi
8165
+ * @extends {BaseAPI}
8166
+ */
8167
+ class SitemapApi extends base_1.BaseAPI {
8168
+ /**
8169
+ *
8170
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
8171
+ * @param {*} [options] Override http request option.
8172
+ * @throws {RequiredError}
8173
+ * @memberof SitemapApi
8174
+ */
8175
+ getSitemapByType(requestParameters, options) {
8176
+ return (0, exports.SitemapApiFp)(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
8177
+ }
8178
+ /**
8179
+ *
8180
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
8181
+ * @param {*} [options] Override http request option.
8182
+ * @throws {RequiredError}
8183
+ * @memberof SitemapApi
8184
+ */
8185
+ getSitemaps(requestParameters, options) {
8186
+ return (0, exports.SitemapApiFp)(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
8187
+ }
8188
+ }
8189
+ exports.SitemapApi = SitemapApi;
8000
8190
  /**
8001
8191
  * TemplateApi - axios parameter creator
8002
8192
  * @export
package/dist/api/api.mjs CHANGED
@@ -561,6 +561,25 @@ export const PlanTypeEnum = {
561
561
  STANDARD: 'standard',
562
562
  PREMIUM: 'premium'
563
563
  };
564
+ /**
565
+ *
566
+ * @export
567
+ * @enum {string}
568
+ */
569
+ export const ProductDetailImageZoomTypeEnum = {
570
+ MOVE: 'move',
571
+ CLICK: 'click'
572
+ };
573
+ /**
574
+ *
575
+ * @export
576
+ * @enum {string}
577
+ */
578
+ export const SitemapTypeEnum = {
579
+ PRODUCTS: 'products',
580
+ PAGES: 'pages',
581
+ COLLECTIONS: 'collections'
582
+ };
564
583
  /**
565
584
  *
566
585
  * @export
@@ -7931,6 +7950,172 @@ export class ProductApi extends BaseAPI {
7931
7950
  return ProductApiFp(this.configuration).updateProduct(requestParameters.id, requestParameters.iProductPatchRequest, options).then((request) => request(this.axios, this.basePath));
7932
7951
  }
7933
7952
  }
7953
+ /**
7954
+ * SitemapApi - axios parameter creator
7955
+ * @export
7956
+ */
7957
+ export const SitemapApiAxiosParamCreator = function (configuration) {
7958
+ return {
7959
+ /**
7960
+ *
7961
+ * @param {string} type
7962
+ * @param {string} page
7963
+ * @param {string} domain
7964
+ * @param {*} [options] Override http request option.
7965
+ * @throws {RequiredError}
7966
+ */
7967
+ getSitemapByType: async (type, page, domain, options = {}) => {
7968
+ // verify required parameter 'type' is not null or undefined
7969
+ assertParamExists('getSitemapByType', 'type', type);
7970
+ // verify required parameter 'page' is not null or undefined
7971
+ assertParamExists('getSitemapByType', 'page', page);
7972
+ // verify required parameter 'domain' is not null or undefined
7973
+ assertParamExists('getSitemapByType', 'domain', domain);
7974
+ const localVarPath = `/api/sitemaps/{type}/{page}`
7975
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)))
7976
+ .replace(`{${"page"}}`, encodeURIComponent(String(page)));
7977
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7978
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7979
+ let baseOptions;
7980
+ if (configuration) {
7981
+ baseOptions = configuration.baseOptions;
7982
+ }
7983
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7984
+ const localVarHeaderParameter = {};
7985
+ const localVarQueryParameter = {};
7986
+ if (domain !== undefined) {
7987
+ localVarQueryParameter['domain'] = domain;
7988
+ }
7989
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7990
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7991
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7992
+ return {
7993
+ url: toPathString(localVarUrlObj),
7994
+ options: localVarRequestOptions,
7995
+ };
7996
+ },
7997
+ /**
7998
+ *
7999
+ * @param {string} domain
8000
+ * @param {*} [options] Override http request option.
8001
+ * @throws {RequiredError}
8002
+ */
8003
+ getSitemaps: async (domain, options = {}) => {
8004
+ // verify required parameter 'domain' is not null or undefined
8005
+ assertParamExists('getSitemaps', 'domain', domain);
8006
+ const localVarPath = `/api/sitemaps`;
8007
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8008
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8009
+ let baseOptions;
8010
+ if (configuration) {
8011
+ baseOptions = configuration.baseOptions;
8012
+ }
8013
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
8014
+ const localVarHeaderParameter = {};
8015
+ const localVarQueryParameter = {};
8016
+ if (domain !== undefined) {
8017
+ localVarQueryParameter['domain'] = domain;
8018
+ }
8019
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8020
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8021
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
8022
+ return {
8023
+ url: toPathString(localVarUrlObj),
8024
+ options: localVarRequestOptions,
8025
+ };
8026
+ },
8027
+ };
8028
+ };
8029
+ /**
8030
+ * SitemapApi - functional programming interface
8031
+ * @export
8032
+ */
8033
+ export const SitemapApiFp = function (configuration) {
8034
+ const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration);
8035
+ return {
8036
+ /**
8037
+ *
8038
+ * @param {string} type
8039
+ * @param {string} page
8040
+ * @param {string} domain
8041
+ * @param {*} [options] Override http request option.
8042
+ * @throws {RequiredError}
8043
+ */
8044
+ async getSitemapByType(type, page, domain, options) {
8045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
8046
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8047
+ const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
8048
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8049
+ },
8050
+ /**
8051
+ *
8052
+ * @param {string} domain
8053
+ * @param {*} [options] Override http request option.
8054
+ * @throws {RequiredError}
8055
+ */
8056
+ async getSitemaps(domain, options) {
8057
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
8058
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8059
+ const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
8060
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8061
+ },
8062
+ };
8063
+ };
8064
+ /**
8065
+ * SitemapApi - factory interface
8066
+ * @export
8067
+ */
8068
+ export const SitemapApiFactory = function (configuration, basePath, axios) {
8069
+ const localVarFp = SitemapApiFp(configuration);
8070
+ return {
8071
+ /**
8072
+ *
8073
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
8074
+ * @param {*} [options] Override http request option.
8075
+ * @throws {RequiredError}
8076
+ */
8077
+ getSitemapByType(requestParameters, options) {
8078
+ return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
8079
+ },
8080
+ /**
8081
+ *
8082
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
8083
+ * @param {*} [options] Override http request option.
8084
+ * @throws {RequiredError}
8085
+ */
8086
+ getSitemaps(requestParameters, options) {
8087
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
8088
+ },
8089
+ };
8090
+ };
8091
+ /**
8092
+ * SitemapApi - object-oriented interface
8093
+ * @export
8094
+ * @class SitemapApi
8095
+ * @extends {BaseAPI}
8096
+ */
8097
+ export class SitemapApi extends BaseAPI {
8098
+ /**
8099
+ *
8100
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
8101
+ * @param {*} [options] Override http request option.
8102
+ * @throws {RequiredError}
8103
+ * @memberof SitemapApi
8104
+ */
8105
+ getSitemapByType(requestParameters, options) {
8106
+ return SitemapApiFp(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
8107
+ }
8108
+ /**
8109
+ *
8110
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
8111
+ * @param {*} [options] Override http request option.
8112
+ * @throws {RequiredError}
8113
+ * @memberof SitemapApi
8114
+ */
8115
+ getSitemaps(requestParameters, options) {
8116
+ return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
8117
+ }
8118
+ }
7934
8119
  /**
7935
8120
  * TemplateApi - axios parameter creator
7936
8121
  * @export
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ interface IApiClient {
17
17
  ThemeApi: doc.ThemeApi;
18
18
  TemplateApi: doc.TemplateApi;
19
19
  ContactFormApi: doc.ContactFormApi;
20
+ SitemapApi: doc.SitemapApi;
20
21
  interceptors: {
21
22
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
22
23
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -47,6 +48,7 @@ export declare class ApiClient implements IApiClient {
47
48
  ThemeApi: doc.ThemeApi;
48
49
  TemplateApi: doc.TemplateApi;
49
50
  ContactFormApi: doc.ContactFormApi;
51
+ SitemapApi: doc.SitemapApi;
50
52
  constructor(baseURL: string, options?: {
51
53
  headers?: Record<string, string>;
52
54
  } | undefined);
package/dist/index.js CHANGED
@@ -61,6 +61,7 @@ class ApiClient {
61
61
  this.ThemeApi = new doc.ThemeApi(undefined, this.baseURL, this.api);
62
62
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
63
63
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
64
+ this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
64
65
  this.interceptors = {
65
66
  request: this.api.interceptors.request,
66
67
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -29,6 +29,7 @@ export class ApiClient {
29
29
  this.ThemeApi = new doc.ThemeApi(undefined, this.baseURL, this.api);
30
30
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
31
31
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
32
+ this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
32
33
  this.interceptors = {
33
34
  request: this.api.interceptors.request,
34
35
  response: this.api.interceptors.response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.1.35",
3
+ "version": "1.1.37",
4
4
  "description": "api-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -11,7 +11,7 @@
11
11
  "types": "dist/index.d.ts",
12
12
  "scripts": {
13
13
  "build": "npm run openapi && npm exec tsc-multi",
14
- "openapi": "npx @openapitools/openapi-generator-cli generate -i swagger.json -g typescript-axios -o lib/api --additional-properties=useSingleRequestParameter=true,enumPropertyNaming=UPPERCASE"
14
+ "openapi": "npx @openapitools/openapi-generator-cli generate -i swagger.json -g typescript-axios -o lib/api --additional-properties=useSingleRequestParameter=true,enumPropertyNaming=UPPERCASE,legacyDiscriminatorBehavior=false"
15
15
  },
16
16
  "files": [
17
17
  "dist"
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "32a6e7d966062a0a1a63d447b4b4f501eba9578b"
40
+ "gitHead": "3fe70a5d9f06ca9460bebb8a818f910adfc47820"
41
41
  }