@infisale-client/api-client 1.1.36 → 1.1.38

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,12 @@ 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;
6027
6139
  /**
6028
6140
  *
6029
6141
  * @type {FontSizeEnum}
@@ -6066,6 +6178,12 @@ export interface ITemplateResponseComponentsInnerConfig {
6066
6178
  * @memberof ITemplateResponseComponentsInnerConfig
6067
6179
  */
6068
6180
  'slide'?: boolean;
6181
+ /**
6182
+ *
6183
+ * @type {boolean}
6184
+ * @memberof ITemplateResponseComponentsInnerConfig
6185
+ */
6186
+ 'cardContainer'?: boolean;
6069
6187
  /**
6070
6188
  *
6071
6189
  * @type {boolean}
@@ -6226,6 +6344,12 @@ export interface ITemplateResponseComponentsInnerIdentity {
6226
6344
  * @memberof ITemplateResponseComponentsInnerIdentity
6227
6345
  */
6228
6346
  'buttons'?: Array<ITemplateResponseComponentsInnerIdentityButtonsInner>;
6347
+ /**
6348
+ *
6349
+ * @type {PartialRecordLanguageEnumString}
6350
+ * @memberof ITemplateResponseComponentsInnerIdentity
6351
+ */
6352
+ 'url'?: PartialRecordLanguageEnumString;
6229
6353
  /**
6230
6354
  *
6231
6355
  * @type {PartialRecordLanguageEnumIImage}
@@ -7310,6 +7434,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
7310
7434
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
7311
7435
  */
7312
7436
  'logo'?: IImage;
7437
+ /**
7438
+ *
7439
+ * @type {IImage}
7440
+ * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
7441
+ */
7442
+ 'email_logo'?: IImage;
7313
7443
  /**
7314
7444
  *
7315
7445
  * @type {IImage}
@@ -8225,6 +8355,16 @@ export interface PriceType {
8225
8355
  */
8226
8356
  'price': number;
8227
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];
8228
8368
  /**
8229
8369
  * Construct a type with a set of properties K of type T
8230
8370
  * @export
@@ -8299,6 +8439,17 @@ export interface RecordCurrencyEnumNumber {
8299
8439
  */
8300
8440
  'jpy': number;
8301
8441
  }
8442
+ /**
8443
+ *
8444
+ * @export
8445
+ * @enum {string}
8446
+ */
8447
+ export declare const SitemapTypeEnum: {
8448
+ readonly PRODUCTS: "products";
8449
+ readonly PAGES: "pages";
8450
+ readonly COLLECTIONS: "collections";
8451
+ };
8452
+ export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
8302
8453
  /**
8303
8454
  *
8304
8455
  * @export
@@ -9754,6 +9905,132 @@ export declare class ProductApi extends BaseAPI {
9754
9905
  */
9755
9906
  searchProducts(requestParameters: ProductApiSearchProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISearchProductsResponse, any>>;
9756
9907
  }
9908
+ /**
9909
+ * SitemapApi - axios parameter creator
9910
+ * @export
9911
+ */
9912
+ export declare const SitemapApiAxiosParamCreator: (configuration?: Configuration) => {
9913
+ /**
9914
+ *
9915
+ * @param {string} type
9916
+ * @param {string} page
9917
+ * @param {string} domain
9918
+ * @param {*} [options] Override http request option.
9919
+ * @throws {RequiredError}
9920
+ */
9921
+ getSitemapByType: (type: string, page: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9922
+ /**
9923
+ *
9924
+ * @param {string} domain
9925
+ * @param {*} [options] Override http request option.
9926
+ * @throws {RequiredError}
9927
+ */
9928
+ getSitemaps: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9929
+ };
9930
+ /**
9931
+ * SitemapApi - functional programming interface
9932
+ * @export
9933
+ */
9934
+ export declare const SitemapApiFp: (configuration?: Configuration) => {
9935
+ /**
9936
+ *
9937
+ * @param {string} type
9938
+ * @param {string} page
9939
+ * @param {string} domain
9940
+ * @param {*} [options] Override http request option.
9941
+ * @throws {RequiredError}
9942
+ */
9943
+ getSitemapByType(type: string, page: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapResponse>>;
9944
+ /**
9945
+ *
9946
+ * @param {string} domain
9947
+ * @param {*} [options] Override http request option.
9948
+ * @throws {RequiredError}
9949
+ */
9950
+ getSitemaps(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapsResponse>>;
9951
+ };
9952
+ /**
9953
+ * SitemapApi - factory interface
9954
+ * @export
9955
+ */
9956
+ export declare const SitemapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9957
+ /**
9958
+ *
9959
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
9960
+ * @param {*} [options] Override http request option.
9961
+ * @throws {RequiredError}
9962
+ */
9963
+ getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapResponse>;
9964
+ /**
9965
+ *
9966
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
9967
+ * @param {*} [options] Override http request option.
9968
+ * @throws {RequiredError}
9969
+ */
9970
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapsResponse>;
9971
+ };
9972
+ /**
9973
+ * Request parameters for getSitemapByType operation in SitemapApi.
9974
+ * @export
9975
+ * @interface SitemapApiGetSitemapByTypeRequest
9976
+ */
9977
+ export interface SitemapApiGetSitemapByTypeRequest {
9978
+ /**
9979
+ *
9980
+ * @type {string}
9981
+ * @memberof SitemapApiGetSitemapByType
9982
+ */
9983
+ readonly type: string;
9984
+ /**
9985
+ *
9986
+ * @type {string}
9987
+ * @memberof SitemapApiGetSitemapByType
9988
+ */
9989
+ readonly page: string;
9990
+ /**
9991
+ *
9992
+ * @type {string}
9993
+ * @memberof SitemapApiGetSitemapByType
9994
+ */
9995
+ readonly domain: string;
9996
+ }
9997
+ /**
9998
+ * Request parameters for getSitemaps operation in SitemapApi.
9999
+ * @export
10000
+ * @interface SitemapApiGetSitemapsRequest
10001
+ */
10002
+ export interface SitemapApiGetSitemapsRequest {
10003
+ /**
10004
+ *
10005
+ * @type {string}
10006
+ * @memberof SitemapApiGetSitemaps
10007
+ */
10008
+ readonly domain: string;
10009
+ }
10010
+ /**
10011
+ * SitemapApi - object-oriented interface
10012
+ * @export
10013
+ * @class SitemapApi
10014
+ * @extends {BaseAPI}
10015
+ */
10016
+ export declare class SitemapApi extends BaseAPI {
10017
+ /**
10018
+ *
10019
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
10020
+ * @param {*} [options] Override http request option.
10021
+ * @throws {RequiredError}
10022
+ * @memberof SitemapApi
10023
+ */
10024
+ getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapResponse, any>>;
10025
+ /**
10026
+ *
10027
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
10028
+ * @param {*} [options] Override http request option.
10029
+ * @throws {RequiredError}
10030
+ * @memberof SitemapApi
10031
+ */
10032
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
10033
+ }
9757
10034
  /**
9758
10035
  * UserApi - axios parameter creator
9759
10036
  * @export
package/dist/api/api.js CHANGED
@@ -16,8 +16,8 @@ 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.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = 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.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = void 0;
19
+ exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = 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.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = void 0;
21
21
  const axios_1 = __importDefault(require("axios"));
22
22
  // Some imports not used depending on template conditions
23
23
  // @ts-ignore
@@ -571,6 +571,25 @@ exports.PlanTypeEnum = {
571
571
  STANDARD: 'standard',
572
572
  PREMIUM: 'premium'
573
573
  };
574
+ /**
575
+ *
576
+ * @export
577
+ * @enum {string}
578
+ */
579
+ exports.ProductDetailImageZoomTypeEnum = {
580
+ MOVE: 'move',
581
+ CLICK: 'click'
582
+ };
583
+ /**
584
+ *
585
+ * @export
586
+ * @enum {string}
587
+ */
588
+ exports.SitemapTypeEnum = {
589
+ PRODUCTS: 'products',
590
+ PAGES: 'pages',
591
+ COLLECTIONS: 'collections'
592
+ };
574
593
  /**
575
594
  *
576
595
  * @export
@@ -2331,6 +2350,176 @@ class ProductApi extends base_1.BaseAPI {
2331
2350
  }
2332
2351
  }
2333
2352
  exports.ProductApi = ProductApi;
2353
+ /**
2354
+ * SitemapApi - axios parameter creator
2355
+ * @export
2356
+ */
2357
+ const SitemapApiAxiosParamCreator = function (configuration) {
2358
+ return {
2359
+ /**
2360
+ *
2361
+ * @param {string} type
2362
+ * @param {string} page
2363
+ * @param {string} domain
2364
+ * @param {*} [options] Override http request option.
2365
+ * @throws {RequiredError}
2366
+ */
2367
+ getSitemapByType: async (type, page, domain, options = {}) => {
2368
+ // verify required parameter 'type' is not null or undefined
2369
+ (0, common_1.assertParamExists)('getSitemapByType', 'type', type);
2370
+ // verify required parameter 'page' is not null or undefined
2371
+ (0, common_1.assertParamExists)('getSitemapByType', 'page', page);
2372
+ // verify required parameter 'domain' is not null or undefined
2373
+ (0, common_1.assertParamExists)('getSitemapByType', 'domain', domain);
2374
+ const localVarPath = `/api/sitemaps/{type}/{page}`
2375
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)))
2376
+ .replace(`{${"page"}}`, encodeURIComponent(String(page)));
2377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2378
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2379
+ let baseOptions;
2380
+ if (configuration) {
2381
+ baseOptions = configuration.baseOptions;
2382
+ }
2383
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2384
+ const localVarHeaderParameter = {};
2385
+ const localVarQueryParameter = {};
2386
+ if (domain !== undefined) {
2387
+ localVarQueryParameter['domain'] = domain;
2388
+ }
2389
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2391
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2392
+ return {
2393
+ url: (0, common_1.toPathString)(localVarUrlObj),
2394
+ options: localVarRequestOptions,
2395
+ };
2396
+ },
2397
+ /**
2398
+ *
2399
+ * @param {string} domain
2400
+ * @param {*} [options] Override http request option.
2401
+ * @throws {RequiredError}
2402
+ */
2403
+ getSitemaps: async (domain, options = {}) => {
2404
+ // verify required parameter 'domain' is not null or undefined
2405
+ (0, common_1.assertParamExists)('getSitemaps', 'domain', domain);
2406
+ const localVarPath = `/api/sitemaps`;
2407
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2408
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2409
+ let baseOptions;
2410
+ if (configuration) {
2411
+ baseOptions = configuration.baseOptions;
2412
+ }
2413
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2414
+ const localVarHeaderParameter = {};
2415
+ const localVarQueryParameter = {};
2416
+ if (domain !== undefined) {
2417
+ localVarQueryParameter['domain'] = domain;
2418
+ }
2419
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2420
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2421
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2422
+ return {
2423
+ url: (0, common_1.toPathString)(localVarUrlObj),
2424
+ options: localVarRequestOptions,
2425
+ };
2426
+ },
2427
+ };
2428
+ };
2429
+ exports.SitemapApiAxiosParamCreator = SitemapApiAxiosParamCreator;
2430
+ /**
2431
+ * SitemapApi - functional programming interface
2432
+ * @export
2433
+ */
2434
+ const SitemapApiFp = function (configuration) {
2435
+ const localVarAxiosParamCreator = (0, exports.SitemapApiAxiosParamCreator)(configuration);
2436
+ return {
2437
+ /**
2438
+ *
2439
+ * @param {string} type
2440
+ * @param {string} page
2441
+ * @param {string} domain
2442
+ * @param {*} [options] Override http request option.
2443
+ * @throws {RequiredError}
2444
+ */
2445
+ async getSitemapByType(type, page, domain, options) {
2446
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
2447
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2448
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
2449
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2450
+ },
2451
+ /**
2452
+ *
2453
+ * @param {string} domain
2454
+ * @param {*} [options] Override http request option.
2455
+ * @throws {RequiredError}
2456
+ */
2457
+ async getSitemaps(domain, options) {
2458
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
2459
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2460
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
2461
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2462
+ },
2463
+ };
2464
+ };
2465
+ exports.SitemapApiFp = SitemapApiFp;
2466
+ /**
2467
+ * SitemapApi - factory interface
2468
+ * @export
2469
+ */
2470
+ const SitemapApiFactory = function (configuration, basePath, axios) {
2471
+ const localVarFp = (0, exports.SitemapApiFp)(configuration);
2472
+ return {
2473
+ /**
2474
+ *
2475
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
2476
+ * @param {*} [options] Override http request option.
2477
+ * @throws {RequiredError}
2478
+ */
2479
+ getSitemapByType(requestParameters, options) {
2480
+ return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
2481
+ },
2482
+ /**
2483
+ *
2484
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2485
+ * @param {*} [options] Override http request option.
2486
+ * @throws {RequiredError}
2487
+ */
2488
+ getSitemaps(requestParameters, options) {
2489
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
2490
+ },
2491
+ };
2492
+ };
2493
+ exports.SitemapApiFactory = SitemapApiFactory;
2494
+ /**
2495
+ * SitemapApi - object-oriented interface
2496
+ * @export
2497
+ * @class SitemapApi
2498
+ * @extends {BaseAPI}
2499
+ */
2500
+ class SitemapApi extends base_1.BaseAPI {
2501
+ /**
2502
+ *
2503
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
2504
+ * @param {*} [options] Override http request option.
2505
+ * @throws {RequiredError}
2506
+ * @memberof SitemapApi
2507
+ */
2508
+ getSitemapByType(requestParameters, options) {
2509
+ return (0, exports.SitemapApiFp)(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2510
+ }
2511
+ /**
2512
+ *
2513
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2514
+ * @param {*} [options] Override http request option.
2515
+ * @throws {RequiredError}
2516
+ * @memberof SitemapApi
2517
+ */
2518
+ getSitemaps(requestParameters, options) {
2519
+ return (0, exports.SitemapApiFp)(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2520
+ }
2521
+ }
2522
+ exports.SitemapApi = SitemapApi;
2334
2523
  /**
2335
2524
  * UserApi - axios parameter creator
2336
2525
  * @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
@@ -2293,6 +2312,172 @@ export class ProductApi extends BaseAPI {
2293
2312
  return ProductApiFp(this.configuration).searchProducts(requestParameters.search, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2294
2313
  }
2295
2314
  }
2315
+ /**
2316
+ * SitemapApi - axios parameter creator
2317
+ * @export
2318
+ */
2319
+ export const SitemapApiAxiosParamCreator = function (configuration) {
2320
+ return {
2321
+ /**
2322
+ *
2323
+ * @param {string} type
2324
+ * @param {string} page
2325
+ * @param {string} domain
2326
+ * @param {*} [options] Override http request option.
2327
+ * @throws {RequiredError}
2328
+ */
2329
+ getSitemapByType: async (type, page, domain, options = {}) => {
2330
+ // verify required parameter 'type' is not null or undefined
2331
+ assertParamExists('getSitemapByType', 'type', type);
2332
+ // verify required parameter 'page' is not null or undefined
2333
+ assertParamExists('getSitemapByType', 'page', page);
2334
+ // verify required parameter 'domain' is not null or undefined
2335
+ assertParamExists('getSitemapByType', 'domain', domain);
2336
+ const localVarPath = `/api/sitemaps/{type}/{page}`
2337
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)))
2338
+ .replace(`{${"page"}}`, encodeURIComponent(String(page)));
2339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2341
+ let baseOptions;
2342
+ if (configuration) {
2343
+ baseOptions = configuration.baseOptions;
2344
+ }
2345
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2346
+ const localVarHeaderParameter = {};
2347
+ const localVarQueryParameter = {};
2348
+ if (domain !== undefined) {
2349
+ localVarQueryParameter['domain'] = domain;
2350
+ }
2351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2353
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2354
+ return {
2355
+ url: toPathString(localVarUrlObj),
2356
+ options: localVarRequestOptions,
2357
+ };
2358
+ },
2359
+ /**
2360
+ *
2361
+ * @param {string} domain
2362
+ * @param {*} [options] Override http request option.
2363
+ * @throws {RequiredError}
2364
+ */
2365
+ getSitemaps: async (domain, options = {}) => {
2366
+ // verify required parameter 'domain' is not null or undefined
2367
+ assertParamExists('getSitemaps', 'domain', domain);
2368
+ const localVarPath = `/api/sitemaps`;
2369
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2370
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2371
+ let baseOptions;
2372
+ if (configuration) {
2373
+ baseOptions = configuration.baseOptions;
2374
+ }
2375
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2376
+ const localVarHeaderParameter = {};
2377
+ const localVarQueryParameter = {};
2378
+ if (domain !== undefined) {
2379
+ localVarQueryParameter['domain'] = domain;
2380
+ }
2381
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2383
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2384
+ return {
2385
+ url: toPathString(localVarUrlObj),
2386
+ options: localVarRequestOptions,
2387
+ };
2388
+ },
2389
+ };
2390
+ };
2391
+ /**
2392
+ * SitemapApi - functional programming interface
2393
+ * @export
2394
+ */
2395
+ export const SitemapApiFp = function (configuration) {
2396
+ const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration);
2397
+ return {
2398
+ /**
2399
+ *
2400
+ * @param {string} type
2401
+ * @param {string} page
2402
+ * @param {string} domain
2403
+ * @param {*} [options] Override http request option.
2404
+ * @throws {RequiredError}
2405
+ */
2406
+ async getSitemapByType(type, page, domain, options) {
2407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
2408
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2409
+ const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
2410
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2411
+ },
2412
+ /**
2413
+ *
2414
+ * @param {string} domain
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ */
2418
+ async getSitemaps(domain, options) {
2419
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
2420
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2421
+ const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
2422
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2423
+ },
2424
+ };
2425
+ };
2426
+ /**
2427
+ * SitemapApi - factory interface
2428
+ * @export
2429
+ */
2430
+ export const SitemapApiFactory = function (configuration, basePath, axios) {
2431
+ const localVarFp = SitemapApiFp(configuration);
2432
+ return {
2433
+ /**
2434
+ *
2435
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
2436
+ * @param {*} [options] Override http request option.
2437
+ * @throws {RequiredError}
2438
+ */
2439
+ getSitemapByType(requestParameters, options) {
2440
+ return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
2441
+ },
2442
+ /**
2443
+ *
2444
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2445
+ * @param {*} [options] Override http request option.
2446
+ * @throws {RequiredError}
2447
+ */
2448
+ getSitemaps(requestParameters, options) {
2449
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
2450
+ },
2451
+ };
2452
+ };
2453
+ /**
2454
+ * SitemapApi - object-oriented interface
2455
+ * @export
2456
+ * @class SitemapApi
2457
+ * @extends {BaseAPI}
2458
+ */
2459
+ export class SitemapApi extends BaseAPI {
2460
+ /**
2461
+ *
2462
+ * @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
2463
+ * @param {*} [options] Override http request option.
2464
+ * @throws {RequiredError}
2465
+ * @memberof SitemapApi
2466
+ */
2467
+ getSitemapByType(requestParameters, options) {
2468
+ return SitemapApiFp(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2469
+ }
2470
+ /**
2471
+ *
2472
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2473
+ * @param {*} [options] Override http request option.
2474
+ * @throws {RequiredError}
2475
+ * @memberof SitemapApi
2476
+ */
2477
+ getSitemaps(requestParameters, options) {
2478
+ return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2479
+ }
2480
+ }
2296
2481
  /**
2297
2482
  * UserApi - axios parameter creator
2298
2483
  * @export
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ interface IApiClient {
10
10
  ProductApi: doc.ProductApi;
11
11
  CollectionApi: doc.CollectionApi;
12
12
  ContactFormApi: doc.ContactFormApi;
13
+ SitemapApi: doc.SitemapApi;
13
14
  interceptors: {
14
15
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
15
16
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -21,10 +22,6 @@ export declare class ApiClient implements IApiClient {
21
22
  headers?: Record<string, string>;
22
23
  } | undefined;
23
24
  api: AxiosInstance;
24
- interceptors: {
25
- request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
26
- response: AxiosInterceptorManager<AxiosResponse>;
27
- };
28
25
  UserApi: doc.UserApi;
29
26
  AuthApi: doc.AuthApi;
30
27
  CompanyApi: doc.CompanyApi;
@@ -33,6 +30,11 @@ export declare class ApiClient implements IApiClient {
33
30
  ProductApi: doc.ProductApi;
34
31
  CollectionApi: doc.CollectionApi;
35
32
  ContactFormApi: doc.ContactFormApi;
33
+ SitemapApi: doc.SitemapApi;
34
+ interceptors: {
35
+ request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
36
+ response: AxiosInterceptorManager<AxiosResponse>;
37
+ };
36
38
  constructor(baseURL: string, options?: {
37
39
  headers?: Record<string, string>;
38
40
  } | undefined);
package/dist/index.js CHANGED
@@ -64,6 +64,7 @@ class ApiClient {
64
64
  this.ProductApi = new doc.ProductApi(undefined, this.baseURL, this.api);
65
65
  this.CollectionApi = new doc.CollectionApi(undefined, this.baseURL, this.api);
66
66
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
67
+ this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
67
68
  this.interceptors = {
68
69
  request: this.api.interceptors.request,
69
70
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -22,6 +22,7 @@ export class ApiClient {
22
22
  this.ProductApi = new doc.ProductApi(undefined, this.baseURL, this.api);
23
23
  this.CollectionApi = new doc.CollectionApi(undefined, this.baseURL, this.api);
24
24
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
25
+ this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
25
26
  this.interceptors = {
26
27
  request: this.api.interceptors.request,
27
28
  response: this.api.interceptors.response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
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": "36c2648f667ff80e7badd373a4342ad07b5cd403"
40
+ "gitHead": "cb341b93f6dff49c149a0d2eabe3ed1def18e812"
41
41
  }