@infisale-client/api-client 1.1.36 → 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,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,74 @@ 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} domain
9916
+ * @param {*} [options] Override http request option.
9917
+ * @throws {RequiredError}
9918
+ */
9919
+ getSitemaps: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9920
+ };
9921
+ /**
9922
+ * SitemapApi - functional programming interface
9923
+ * @export
9924
+ */
9925
+ export declare const SitemapApiFp: (configuration?: Configuration) => {
9926
+ /**
9927
+ *
9928
+ * @param {string} domain
9929
+ * @param {*} [options] Override http request option.
9930
+ * @throws {RequiredError}
9931
+ */
9932
+ getSitemaps(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapsResponse>>;
9933
+ };
9934
+ /**
9935
+ * SitemapApi - factory interface
9936
+ * @export
9937
+ */
9938
+ export declare const SitemapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9939
+ /**
9940
+ *
9941
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
9942
+ * @param {*} [options] Override http request option.
9943
+ * @throws {RequiredError}
9944
+ */
9945
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapsResponse>;
9946
+ };
9947
+ /**
9948
+ * Request parameters for getSitemaps operation in SitemapApi.
9949
+ * @export
9950
+ * @interface SitemapApiGetSitemapsRequest
9951
+ */
9952
+ export interface SitemapApiGetSitemapsRequest {
9953
+ /**
9954
+ *
9955
+ * @type {string}
9956
+ * @memberof SitemapApiGetSitemaps
9957
+ */
9958
+ readonly domain: string;
9959
+ }
9960
+ /**
9961
+ * SitemapApi - object-oriented interface
9962
+ * @export
9963
+ * @class SitemapApi
9964
+ * @extends {BaseAPI}
9965
+ */
9966
+ export declare class SitemapApi extends BaseAPI {
9967
+ /**
9968
+ *
9969
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
9970
+ * @param {*} [options] Override http request option.
9971
+ * @throws {RequiredError}
9972
+ * @memberof SitemapApi
9973
+ */
9974
+ getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
9975
+ }
9757
9976
  /**
9758
9977
  * UserApi - axios parameter creator
9759
9978
  * @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,105 @@ 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} 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
+ (0, common_1.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, common_1.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
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2383
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2384
+ return {
2385
+ url: (0, common_1.toPathString)(localVarUrlObj),
2386
+ options: localVarRequestOptions,
2387
+ };
2388
+ },
2389
+ };
2390
+ };
2391
+ exports.SitemapApiAxiosParamCreator = SitemapApiAxiosParamCreator;
2392
+ /**
2393
+ * SitemapApi - functional programming interface
2394
+ * @export
2395
+ */
2396
+ const SitemapApiFp = function (configuration) {
2397
+ const localVarAxiosParamCreator = (0, exports.SitemapApiAxiosParamCreator)(configuration);
2398
+ return {
2399
+ /**
2400
+ *
2401
+ * @param {string} domain
2402
+ * @param {*} [options] Override http request option.
2403
+ * @throws {RequiredError}
2404
+ */
2405
+ async getSitemaps(domain, options) {
2406
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
2407
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2408
+ const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
2409
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2410
+ },
2411
+ };
2412
+ };
2413
+ exports.SitemapApiFp = SitemapApiFp;
2414
+ /**
2415
+ * SitemapApi - factory interface
2416
+ * @export
2417
+ */
2418
+ const SitemapApiFactory = function (configuration, basePath, axios) {
2419
+ const localVarFp = (0, exports.SitemapApiFp)(configuration);
2420
+ return {
2421
+ /**
2422
+ *
2423
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2424
+ * @param {*} [options] Override http request option.
2425
+ * @throws {RequiredError}
2426
+ */
2427
+ getSitemaps(requestParameters, options) {
2428
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
2429
+ },
2430
+ };
2431
+ };
2432
+ exports.SitemapApiFactory = SitemapApiFactory;
2433
+ /**
2434
+ * SitemapApi - object-oriented interface
2435
+ * @export
2436
+ * @class SitemapApi
2437
+ * @extends {BaseAPI}
2438
+ */
2439
+ class SitemapApi extends base_1.BaseAPI {
2440
+ /**
2441
+ *
2442
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ * @memberof SitemapApi
2446
+ */
2447
+ getSitemaps(requestParameters, options) {
2448
+ return (0, exports.SitemapApiFp)(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2449
+ }
2450
+ }
2451
+ exports.SitemapApi = SitemapApi;
2334
2452
  /**
2335
2453
  * UserApi - axios parameter creator
2336
2454
  * @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,101 @@ 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} domain
2324
+ * @param {*} [options] Override http request option.
2325
+ * @throws {RequiredError}
2326
+ */
2327
+ getSitemaps: async (domain, options = {}) => {
2328
+ // verify required parameter 'domain' is not null or undefined
2329
+ assertParamExists('getSitemaps', 'domain', domain);
2330
+ const localVarPath = `/api/sitemaps`;
2331
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2332
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2333
+ let baseOptions;
2334
+ if (configuration) {
2335
+ baseOptions = configuration.baseOptions;
2336
+ }
2337
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2338
+ const localVarHeaderParameter = {};
2339
+ const localVarQueryParameter = {};
2340
+ if (domain !== undefined) {
2341
+ localVarQueryParameter['domain'] = domain;
2342
+ }
2343
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2344
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2345
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2346
+ return {
2347
+ url: toPathString(localVarUrlObj),
2348
+ options: localVarRequestOptions,
2349
+ };
2350
+ },
2351
+ };
2352
+ };
2353
+ /**
2354
+ * SitemapApi - functional programming interface
2355
+ * @export
2356
+ */
2357
+ export const SitemapApiFp = function (configuration) {
2358
+ const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration);
2359
+ return {
2360
+ /**
2361
+ *
2362
+ * @param {string} domain
2363
+ * @param {*} [options] Override http request option.
2364
+ * @throws {RequiredError}
2365
+ */
2366
+ async getSitemaps(domain, options) {
2367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
2368
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2369
+ const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
2370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2371
+ },
2372
+ };
2373
+ };
2374
+ /**
2375
+ * SitemapApi - factory interface
2376
+ * @export
2377
+ */
2378
+ export const SitemapApiFactory = function (configuration, basePath, axios) {
2379
+ const localVarFp = SitemapApiFp(configuration);
2380
+ return {
2381
+ /**
2382
+ *
2383
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2384
+ * @param {*} [options] Override http request option.
2385
+ * @throws {RequiredError}
2386
+ */
2387
+ getSitemaps(requestParameters, options) {
2388
+ return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
2389
+ },
2390
+ };
2391
+ };
2392
+ /**
2393
+ * SitemapApi - object-oriented interface
2394
+ * @export
2395
+ * @class SitemapApi
2396
+ * @extends {BaseAPI}
2397
+ */
2398
+ export class SitemapApi extends BaseAPI {
2399
+ /**
2400
+ *
2401
+ * @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
2402
+ * @param {*} [options] Override http request option.
2403
+ * @throws {RequiredError}
2404
+ * @memberof SitemapApi
2405
+ */
2406
+ getSitemaps(requestParameters, options) {
2407
+ return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
2408
+ }
2409
+ }
2296
2410
  /**
2297
2411
  * UserApi - axios parameter creator
2298
2412
  * @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.37",
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": "3fe70a5d9f06ca9460bebb8a818f910adfc47820"
41
41
  }