@infisale-client/api-client 1.3.11 → 1.3.13

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
@@ -8397,6 +8397,12 @@ export interface ITemplatePatchRequest {
8397
8397
  * @memberof ITemplatePatchRequest
8398
8398
  */
8399
8399
  'type'?: TemplateTypeEnum;
8400
+ /**
8401
+ *
8402
+ * @type {boolean}
8403
+ * @memberof ITemplatePatchRequest
8404
+ */
8405
+ 'unique'?: boolean;
8400
8406
  }
8401
8407
  /**
8402
8408
  *
@@ -8434,6 +8440,12 @@ export interface ITemplatePostRequest {
8434
8440
  * @memberof ITemplatePostRequest
8435
8441
  */
8436
8442
  'type': TemplateTypeEnum;
8443
+ /**
8444
+ *
8445
+ * @type {boolean}
8446
+ * @memberof ITemplatePostRequest
8447
+ */
8448
+ 'unique': boolean;
8437
8449
  }
8438
8450
  /**
8439
8451
  *
@@ -8489,6 +8501,12 @@ export interface ITemplateResponse {
8489
8501
  * @memberof ITemplateResponse
8490
8502
  */
8491
8503
  'type': TemplateTypeEnum;
8504
+ /**
8505
+ *
8506
+ * @type {boolean}
8507
+ * @memberof ITemplateResponse
8508
+ */
8509
+ 'unique': boolean;
8492
8510
  /**
8493
8511
  *
8494
8512
  * @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
@@ -8756,6 +8774,215 @@ export interface IThemesResponse {
8756
8774
  */
8757
8775
  'data': Array<IThemeResponse>;
8758
8776
  }
8777
+ /**
8778
+ *
8779
+ * @export
8780
+ * @interface IUniqueCollectionQueryParams
8781
+ */
8782
+ export interface IUniqueCollectionQueryParams {
8783
+ /**
8784
+ *
8785
+ * @type {number}
8786
+ * @memberof IUniqueCollectionQueryParams
8787
+ */
8788
+ 'page'?: number;
8789
+ /**
8790
+ *
8791
+ * @type {number}
8792
+ * @memberof IUniqueCollectionQueryParams
8793
+ */
8794
+ 'itemsPerPage'?: number;
8795
+ /**
8796
+ *
8797
+ * @type {string}
8798
+ * @memberof IUniqueCollectionQueryParams
8799
+ */
8800
+ 'search'?: string;
8801
+ /**
8802
+ *
8803
+ * @type {string}
8804
+ * @memberof IUniqueCollectionQueryParams
8805
+ */
8806
+ 'startDate'?: string;
8807
+ /**
8808
+ *
8809
+ * @type {string}
8810
+ * @memberof IUniqueCollectionQueryParams
8811
+ */
8812
+ 'endDate'?: string;
8813
+ /**
8814
+ *
8815
+ * @type {string}
8816
+ * @memberof IUniqueCollectionQueryParams
8817
+ */
8818
+ 'dateField'?: IUniqueCollectionQueryParamsDateFieldEnum;
8819
+ /**
8820
+ *
8821
+ * @type {OrderEnum}
8822
+ * @memberof IUniqueCollectionQueryParams
8823
+ */
8824
+ 'order'?: OrderEnum;
8825
+ /**
8826
+ *
8827
+ * @type {string}
8828
+ * @memberof IUniqueCollectionQueryParams
8829
+ */
8830
+ 'sort'?: string;
8831
+ /**
8832
+ *
8833
+ * @type {string}
8834
+ * @memberof IUniqueCollectionQueryParams
8835
+ */
8836
+ 'companyId'?: string;
8837
+ /**
8838
+ *
8839
+ * @type {string}
8840
+ * @memberof IUniqueCollectionQueryParams
8841
+ */
8842
+ 'domain'?: string;
8843
+ }
8844
+ export declare const IUniqueCollectionQueryParamsDateFieldEnum: {
8845
+ readonly CREATED_AT: "createdAt";
8846
+ readonly UPDATED_AT: "updatedAt";
8847
+ };
8848
+ export type IUniqueCollectionQueryParamsDateFieldEnum = typeof IUniqueCollectionQueryParamsDateFieldEnum[keyof typeof IUniqueCollectionQueryParamsDateFieldEnum];
8849
+ /**
8850
+ *
8851
+ * @export
8852
+ * @interface IUniquePagePatchRequest
8853
+ */
8854
+ export interface IUniquePagePatchRequest {
8855
+ /**
8856
+ *
8857
+ * @type {PartialRecordLanguageEnumTitleStringDescription63String}
8858
+ * @memberof IUniquePagePatchRequest
8859
+ */
8860
+ 'contents': PartialRecordLanguageEnumTitleStringDescription63String;
8861
+ /**
8862
+ *
8863
+ * @type {IImage}
8864
+ * @memberof IUniquePagePatchRequest
8865
+ */
8866
+ 'thumbnail'?: IImage;
8867
+ }
8868
+ /**
8869
+ *
8870
+ * @export
8871
+ * @interface IUniquePageResponse
8872
+ */
8873
+ export interface IUniquePageResponse {
8874
+ /**
8875
+ *
8876
+ * @type {string}
8877
+ * @memberof IUniquePageResponse
8878
+ */
8879
+ 'company': string;
8880
+ /**
8881
+ *
8882
+ * @type {string}
8883
+ * @memberof IUniquePageResponse
8884
+ */
8885
+ '_id': string;
8886
+ /**
8887
+ *
8888
+ * @type {number}
8889
+ * @memberof IUniquePageResponse
8890
+ */
8891
+ '__v': number;
8892
+ /**
8893
+ *
8894
+ * @type {string}
8895
+ * @memberof IUniquePageResponse
8896
+ */
8897
+ 'createdAt': string;
8898
+ /**
8899
+ *
8900
+ * @type {string}
8901
+ * @memberof IUniquePageResponse
8902
+ */
8903
+ 'updatedAt': string;
8904
+ /**
8905
+ * Construct a type with a set of properties K of type T
8906
+ * @type {{ [key: string]: string; }}
8907
+ * @memberof IUniquePageResponse
8908
+ */
8909
+ 'templates': {
8910
+ [key: string]: string;
8911
+ };
8912
+ /**
8913
+ *
8914
+ * @type {PartialRecordLanguageEnumTitleStringDescription63String}
8915
+ * @memberof IUniquePageResponse
8916
+ */
8917
+ 'contents': PartialRecordLanguageEnumTitleStringDescription63String;
8918
+ /**
8919
+ *
8920
+ * @type {IImage}
8921
+ * @memberof IUniquePageResponse
8922
+ */
8923
+ 'thumbnail'?: IImage;
8924
+ /**
8925
+ *
8926
+ * @type {string}
8927
+ * @memberof IUniquePageResponse
8928
+ */
8929
+ 'type': string;
8930
+ /**
8931
+ *
8932
+ * @type {ITemplateResponse}
8933
+ * @memberof IUniquePageResponse
8934
+ */
8935
+ 'template': ITemplateResponse;
8936
+ /**
8937
+ *
8938
+ * @type {string}
8939
+ * @memberof IUniquePageResponse
8940
+ */
8941
+ 'title': string;
8942
+ /**
8943
+ *
8944
+ * @type {string}
8945
+ * @memberof IUniquePageResponse
8946
+ */
8947
+ 'description'?: string;
8948
+ }
8949
+ /**
8950
+ *
8951
+ * @export
8952
+ * @interface IUniquePagesResponse
8953
+ */
8954
+ export interface IUniquePagesResponse {
8955
+ /**
8956
+ *
8957
+ * @type {number}
8958
+ * @memberof IUniquePagesResponse
8959
+ */
8960
+ 'page': number;
8961
+ /**
8962
+ *
8963
+ * @type {number}
8964
+ * @memberof IUniquePagesResponse
8965
+ */
8966
+ 'itemsPerPage': number;
8967
+ /**
8968
+ *
8969
+ * @type {number}
8970
+ * @memberof IUniquePagesResponse
8971
+ */
8972
+ 'total': number;
8973
+ /**
8974
+ *
8975
+ * @type {number}
8976
+ * @memberof IUniquePagesResponse
8977
+ */
8978
+ 'totalPages': number;
8979
+ /**
8980
+ *
8981
+ * @type {Array<IUniquePageResponse>}
8982
+ * @memberof IUniquePagesResponse
8983
+ */
8984
+ 'data': Array<IUniquePageResponse>;
8985
+ }
8759
8986
  /**
8760
8987
  *
8761
8988
  * @export
@@ -9335,6 +9562,50 @@ export interface PartialRecordLanguageEnumTitleString {
9335
9562
  */
9336
9563
  'de'?: RecordLanguageEnumTitleStringTr;
9337
9564
  }
9565
+ /**
9566
+ * Make all properties in T optional
9567
+ * @export
9568
+ * @interface PartialRecordLanguageEnumTitleStringDescription63String
9569
+ */
9570
+ export interface PartialRecordLanguageEnumTitleStringDescription63String {
9571
+ /**
9572
+ *
9573
+ * @type {PartialRecordLanguageEnumTitleStringDescription63StringTr}
9574
+ * @memberof PartialRecordLanguageEnumTitleStringDescription63String
9575
+ */
9576
+ 'tr'?: PartialRecordLanguageEnumTitleStringDescription63StringTr;
9577
+ /**
9578
+ *
9579
+ * @type {PartialRecordLanguageEnumTitleStringDescription63StringTr}
9580
+ * @memberof PartialRecordLanguageEnumTitleStringDescription63String
9581
+ */
9582
+ 'en'?: PartialRecordLanguageEnumTitleStringDescription63StringTr;
9583
+ /**
9584
+ *
9585
+ * @type {PartialRecordLanguageEnumTitleStringDescription63StringTr}
9586
+ * @memberof PartialRecordLanguageEnumTitleStringDescription63String
9587
+ */
9588
+ 'de'?: PartialRecordLanguageEnumTitleStringDescription63StringTr;
9589
+ }
9590
+ /**
9591
+ *
9592
+ * @export
9593
+ * @interface PartialRecordLanguageEnumTitleStringDescription63StringTr
9594
+ */
9595
+ export interface PartialRecordLanguageEnumTitleStringDescription63StringTr {
9596
+ /**
9597
+ *
9598
+ * @type {string}
9599
+ * @memberof PartialRecordLanguageEnumTitleStringDescription63StringTr
9600
+ */
9601
+ 'description'?: string;
9602
+ /**
9603
+ *
9604
+ * @type {string}
9605
+ * @memberof PartialRecordLanguageEnumTitleStringDescription63StringTr
9606
+ */
9607
+ 'title': string;
9608
+ }
9338
9609
  /**
9339
9610
  *
9340
9611
  * @export
@@ -11188,6 +11459,12 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
11188
11459
  * @memberof PickITemplateExcludeKeyofITemplateComponents
11189
11460
  */
11190
11461
  'type': TemplateTypeEnum;
11462
+ /**
11463
+ *
11464
+ * @type {boolean}
11465
+ * @memberof PickITemplateExcludeKeyofITemplateComponents
11466
+ */
11467
+ 'unique': boolean;
11191
11468
  }
11192
11469
  /**
11193
11470
  * From T, pick a set of properties whose keys are in the union K
@@ -11225,6 +11502,12 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
11225
11502
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
11226
11503
  */
11227
11504
  'type': TemplateTypeEnum;
11505
+ /**
11506
+ *
11507
+ * @type {boolean}
11508
+ * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
11509
+ */
11510
+ 'unique': boolean;
11228
11511
  }
11229
11512
  /**
11230
11513
  * From T, pick a set of properties whose keys are in the union K
@@ -11354,6 +11637,69 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseKeyofMongoResponseO
11354
11637
  */
11355
11638
  'assetVersion': number;
11356
11639
  }
11640
+ /**
11641
+ * From T, pick a set of properties whose keys are in the union K
11642
+ * @export
11643
+ * @interface PickIUniquePageExcludeKeyofIUniquePageTemplate
11644
+ */
11645
+ export interface PickIUniquePageExcludeKeyofIUniquePageTemplate {
11646
+ /**
11647
+ *
11648
+ * @type {string}
11649
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11650
+ */
11651
+ 'company': string;
11652
+ /**
11653
+ *
11654
+ * @type {string}
11655
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11656
+ */
11657
+ '_id': string;
11658
+ /**
11659
+ *
11660
+ * @type {number}
11661
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11662
+ */
11663
+ '__v': number;
11664
+ /**
11665
+ *
11666
+ * @type {string}
11667
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11668
+ */
11669
+ 'createdAt': string;
11670
+ /**
11671
+ *
11672
+ * @type {string}
11673
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11674
+ */
11675
+ 'updatedAt': string;
11676
+ /**
11677
+ * Construct a type with a set of properties K of type T
11678
+ * @type {{ [key: string]: string; }}
11679
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11680
+ */
11681
+ 'templates': {
11682
+ [key: string]: string;
11683
+ };
11684
+ /**
11685
+ *
11686
+ * @type {PartialRecordLanguageEnumTitleStringDescription63String}
11687
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11688
+ */
11689
+ 'contents': PartialRecordLanguageEnumTitleStringDescription63String;
11690
+ /**
11691
+ *
11692
+ * @type {IImage}
11693
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11694
+ */
11695
+ 'thumbnail'?: IImage;
11696
+ /**
11697
+ *
11698
+ * @type {string}
11699
+ * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
11700
+ */
11701
+ 'type': string;
11702
+ }
11357
11703
  /**
11358
11704
  * From T, pick a set of properties whose keys are in the union K
11359
11705
  * @export
@@ -14639,6 +14985,74 @@ export declare class SitemapApi extends BaseAPI {
14639
14985
  */
14640
14986
  getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
14641
14987
  }
14988
+ /**
14989
+ * UniquePageApi - axios parameter creator
14990
+ * @export
14991
+ */
14992
+ export declare const UniquePageApiAxiosParamCreator: (configuration?: Configuration) => {
14993
+ /**
14994
+ *
14995
+ * @param {string} type
14996
+ * @param {*} [options] Override http request option.
14997
+ * @throws {RequiredError}
14998
+ */
14999
+ getUniquePageByType: (type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15000
+ };
15001
+ /**
15002
+ * UniquePageApi - functional programming interface
15003
+ * @export
15004
+ */
15005
+ export declare const UniquePageApiFp: (configuration?: Configuration) => {
15006
+ /**
15007
+ *
15008
+ * @param {string} type
15009
+ * @param {*} [options] Override http request option.
15010
+ * @throws {RequiredError}
15011
+ */
15012
+ getUniquePageByType(type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
15013
+ };
15014
+ /**
15015
+ * UniquePageApi - factory interface
15016
+ * @export
15017
+ */
15018
+ export declare const UniquePageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15019
+ /**
15020
+ *
15021
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
15022
+ * @param {*} [options] Override http request option.
15023
+ * @throws {RequiredError}
15024
+ */
15025
+ getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUniquePageResponse>;
15026
+ };
15027
+ /**
15028
+ * Request parameters for getUniquePageByType operation in UniquePageApi.
15029
+ * @export
15030
+ * @interface UniquePageApiGetUniquePageByTypeRequest
15031
+ */
15032
+ export interface UniquePageApiGetUniquePageByTypeRequest {
15033
+ /**
15034
+ *
15035
+ * @type {string}
15036
+ * @memberof UniquePageApiGetUniquePageByType
15037
+ */
15038
+ readonly type: string;
15039
+ }
15040
+ /**
15041
+ * UniquePageApi - object-oriented interface
15042
+ * @export
15043
+ * @class UniquePageApi
15044
+ * @extends {BaseAPI}
15045
+ */
15046
+ export declare class UniquePageApi extends BaseAPI {
15047
+ /**
15048
+ *
15049
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
15050
+ * @param {*} [options] Override http request option.
15051
+ * @throws {RequiredError}
15052
+ * @memberof UniquePageApi
15053
+ */
15054
+ getUniquePageByType(requestParameters: UniquePageApiGetUniquePageByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUniquePageResponse, any>>;
15055
+ }
14642
15056
  /**
14643
15057
  * UserApi - axios parameter creator
14644
15058
  * @export
package/dist/api/api.js CHANGED
@@ -16,9 +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.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
- exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = void 0;
19
+ exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
+ exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = void 0;
21
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -486,6 +486,10 @@ exports.IProductCollectionQueryParamsSortEnum = {
486
486
  RATING: 'rating',
487
487
  REVIEW_COUNT: 'reviewCount'
488
488
  };
489
+ exports.IUniqueCollectionQueryParamsDateFieldEnum = {
490
+ CREATED_AT: 'createdAt',
491
+ UPDATED_AT: 'updatedAt'
492
+ };
489
493
  exports.IUserCollectionQueryParamsDateFieldEnum = {
490
494
  CREATED_AT: 'createdAt',
491
495
  UPDATED_AT: 'updatedAt'
@@ -3906,6 +3910,103 @@ class SitemapApi extends base_1.BaseAPI {
3906
3910
  }
3907
3911
  }
3908
3912
  exports.SitemapApi = SitemapApi;
3913
+ /**
3914
+ * UniquePageApi - axios parameter creator
3915
+ * @export
3916
+ */
3917
+ const UniquePageApiAxiosParamCreator = function (configuration) {
3918
+ return {
3919
+ /**
3920
+ *
3921
+ * @param {string} type
3922
+ * @param {*} [options] Override http request option.
3923
+ * @throws {RequiredError}
3924
+ */
3925
+ getUniquePageByType: async (type, options = {}) => {
3926
+ // verify required parameter 'type' is not null or undefined
3927
+ (0, common_1.assertParamExists)('getUniquePageByType', 'type', type);
3928
+ const localVarPath = `/api/unique-pages/type/{type}`
3929
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
3930
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3931
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3932
+ let baseOptions;
3933
+ if (configuration) {
3934
+ baseOptions = configuration.baseOptions;
3935
+ }
3936
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3937
+ const localVarHeaderParameter = {};
3938
+ const localVarQueryParameter = {};
3939
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3940
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3941
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3942
+ return {
3943
+ url: (0, common_1.toPathString)(localVarUrlObj),
3944
+ options: localVarRequestOptions,
3945
+ };
3946
+ },
3947
+ };
3948
+ };
3949
+ exports.UniquePageApiAxiosParamCreator = UniquePageApiAxiosParamCreator;
3950
+ /**
3951
+ * UniquePageApi - functional programming interface
3952
+ * @export
3953
+ */
3954
+ const UniquePageApiFp = function (configuration) {
3955
+ const localVarAxiosParamCreator = (0, exports.UniquePageApiAxiosParamCreator)(configuration);
3956
+ return {
3957
+ /**
3958
+ *
3959
+ * @param {string} type
3960
+ * @param {*} [options] Override http request option.
3961
+ * @throws {RequiredError}
3962
+ */
3963
+ async getUniquePageByType(type, options) {
3964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
3965
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3966
+ const localVarOperationServerBasePath = base_1.operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
3967
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3968
+ },
3969
+ };
3970
+ };
3971
+ exports.UniquePageApiFp = UniquePageApiFp;
3972
+ /**
3973
+ * UniquePageApi - factory interface
3974
+ * @export
3975
+ */
3976
+ const UniquePageApiFactory = function (configuration, basePath, axios) {
3977
+ const localVarFp = (0, exports.UniquePageApiFp)(configuration);
3978
+ return {
3979
+ /**
3980
+ *
3981
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
3982
+ * @param {*} [options] Override http request option.
3983
+ * @throws {RequiredError}
3984
+ */
3985
+ getUniquePageByType(requestParameters, options) {
3986
+ return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
3987
+ },
3988
+ };
3989
+ };
3990
+ exports.UniquePageApiFactory = UniquePageApiFactory;
3991
+ /**
3992
+ * UniquePageApi - object-oriented interface
3993
+ * @export
3994
+ * @class UniquePageApi
3995
+ * @extends {BaseAPI}
3996
+ */
3997
+ class UniquePageApi extends base_1.BaseAPI {
3998
+ /**
3999
+ *
4000
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
4001
+ * @param {*} [options] Override http request option.
4002
+ * @throws {RequiredError}
4003
+ * @memberof UniquePageApi
4004
+ */
4005
+ getUniquePageByType(requestParameters, options) {
4006
+ return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
4007
+ }
4008
+ }
4009
+ exports.UniquePageApi = UniquePageApi;
3909
4010
  /**
3910
4011
  * UserApi - axios parameter creator
3911
4012
  * @export
package/dist/api/api.mjs CHANGED
@@ -475,6 +475,10 @@ export const IProductCollectionQueryParamsSortEnum = {
475
475
  RATING: 'rating',
476
476
  REVIEW_COUNT: 'reviewCount'
477
477
  };
478
+ export const IUniqueCollectionQueryParamsDateFieldEnum = {
479
+ CREATED_AT: 'createdAt',
480
+ UPDATED_AT: 'updatedAt'
481
+ };
478
482
  export const IUserCollectionQueryParamsDateFieldEnum = {
479
483
  CREATED_AT: 'createdAt',
480
484
  UPDATED_AT: 'updatedAt'
@@ -3855,6 +3859,99 @@ export class SitemapApi extends BaseAPI {
3855
3859
  return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
3856
3860
  }
3857
3861
  }
3862
+ /**
3863
+ * UniquePageApi - axios parameter creator
3864
+ * @export
3865
+ */
3866
+ export const UniquePageApiAxiosParamCreator = function (configuration) {
3867
+ return {
3868
+ /**
3869
+ *
3870
+ * @param {string} type
3871
+ * @param {*} [options] Override http request option.
3872
+ * @throws {RequiredError}
3873
+ */
3874
+ getUniquePageByType: async (type, options = {}) => {
3875
+ // verify required parameter 'type' is not null or undefined
3876
+ assertParamExists('getUniquePageByType', 'type', type);
3877
+ const localVarPath = `/api/unique-pages/type/{type}`
3878
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
3879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3880
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3881
+ let baseOptions;
3882
+ if (configuration) {
3883
+ baseOptions = configuration.baseOptions;
3884
+ }
3885
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3886
+ const localVarHeaderParameter = {};
3887
+ const localVarQueryParameter = {};
3888
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3889
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3890
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3891
+ return {
3892
+ url: toPathString(localVarUrlObj),
3893
+ options: localVarRequestOptions,
3894
+ };
3895
+ },
3896
+ };
3897
+ };
3898
+ /**
3899
+ * UniquePageApi - functional programming interface
3900
+ * @export
3901
+ */
3902
+ export const UniquePageApiFp = function (configuration) {
3903
+ const localVarAxiosParamCreator = UniquePageApiAxiosParamCreator(configuration);
3904
+ return {
3905
+ /**
3906
+ *
3907
+ * @param {string} type
3908
+ * @param {*} [options] Override http request option.
3909
+ * @throws {RequiredError}
3910
+ */
3911
+ async getUniquePageByType(type, options) {
3912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
3913
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3914
+ const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
3915
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3916
+ },
3917
+ };
3918
+ };
3919
+ /**
3920
+ * UniquePageApi - factory interface
3921
+ * @export
3922
+ */
3923
+ export const UniquePageApiFactory = function (configuration, basePath, axios) {
3924
+ const localVarFp = UniquePageApiFp(configuration);
3925
+ return {
3926
+ /**
3927
+ *
3928
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
3929
+ * @param {*} [options] Override http request option.
3930
+ * @throws {RequiredError}
3931
+ */
3932
+ getUniquePageByType(requestParameters, options) {
3933
+ return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
3934
+ },
3935
+ };
3936
+ };
3937
+ /**
3938
+ * UniquePageApi - object-oriented interface
3939
+ * @export
3940
+ * @class UniquePageApi
3941
+ * @extends {BaseAPI}
3942
+ */
3943
+ export class UniquePageApi extends BaseAPI {
3944
+ /**
3945
+ *
3946
+ * @param {UniquePageApiGetUniquePageByTypeRequest} requestParameters Request parameters.
3947
+ * @param {*} [options] Override http request option.
3948
+ * @throws {RequiredError}
3949
+ * @memberof UniquePageApi
3950
+ */
3951
+ getUniquePageByType(requestParameters, options) {
3952
+ return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
3953
+ }
3954
+ }
3858
3955
  /**
3859
3956
  * UserApi - axios parameter creator
3860
3957
  * @export
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ interface IApiClient {
13
13
  SitemapApi: doc.SitemapApi;
14
14
  BasketApi: doc.BasketApi;
15
15
  OrderApi: doc.OrderApi;
16
+ UniquePageApi: doc.UniquePageApi;
16
17
  interceptors: {
17
18
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
18
19
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -35,6 +36,7 @@ export declare class ApiClient implements IApiClient {
35
36
  SitemapApi: doc.SitemapApi;
36
37
  BasketApi: doc.BasketApi;
37
38
  OrderApi: doc.OrderApi;
39
+ UniquePageApi: doc.UniquePageApi;
38
40
  interceptors: {
39
41
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
40
42
  response: AxiosInterceptorManager<AxiosResponse>;
package/dist/index.js CHANGED
@@ -67,6 +67,7 @@ class ApiClient {
67
67
  this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
68
68
  this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
69
69
  this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
70
+ this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
70
71
  this.interceptors = {
71
72
  request: this.api.interceptors.request,
72
73
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -25,6 +25,7 @@ export class ApiClient {
25
25
  this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
26
26
  this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
27
27
  this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
28
+ this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
28
29
  this.interceptors = {
29
30
  request: this.api.interceptors.request,
30
31
  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.3.11",
3
+ "version": "1.3.13",
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": "4779cc3a70e79cdeced909e481af74482f543c02"
40
+ "gitHead": "6d7686ae8adaf188bb8fa4adc3203561065bc6e4"
41
41
  }