@infisale-client/api 1.2.74 → 1.2.75

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
@@ -11089,19 +11089,6 @@ export declare const TimezoneEnum: {
11089
11089
  readonly UTC1400: "UTC+14:00";
11090
11090
  };
11091
11091
  export type TimezoneEnum = typeof TimezoneEnum[keyof typeof TimezoneEnum];
11092
- /**
11093
- *
11094
- * @export
11095
- * @enum {string}
11096
- */
11097
- export declare const UniquePageTypeEnum: {
11098
- readonly HOME: "home";
11099
- readonly CART: "cart";
11100
- readonly CHECKOUT: "checkout";
11101
- readonly SEARCH: "search";
11102
- readonly NOT_FOUND: "not-found";
11103
- };
11104
- export type UniquePageTypeEnum = typeof UniquePageTypeEnum[keyof typeof UniquePageTypeEnum];
11105
11092
  /**
11106
11093
  *
11107
11094
  * @export
@@ -16785,14 +16772,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
16785
16772
  getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16786
16773
  /**
16787
16774
  *
16788
- * @param {UniquePageTypeEnum} type
16775
+ * @param {PageTypeEnum} type
16789
16776
  * @param {string} [companyId]
16790
16777
  * @param {string} [domain]
16791
16778
  * @param {string} [template]
16792
16779
  * @param {*} [options] Override http request option.
16793
16780
  * @throws {RequiredError}
16794
16781
  */
16795
- getPageByType: (type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16782
+ getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16796
16783
  /**
16797
16784
  *
16798
16785
  * @param {number} [page]
@@ -16875,14 +16862,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
16875
16862
  getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16876
16863
  /**
16877
16864
  *
16878
- * @param {UniquePageTypeEnum} type
16865
+ * @param {PageTypeEnum} type
16879
16866
  * @param {string} [companyId]
16880
16867
  * @param {string} [domain]
16881
16868
  * @param {string} [template]
16882
16869
  * @param {*} [options] Override http request option.
16883
16870
  * @throws {RequiredError}
16884
16871
  */
16885
- getPageByType(type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16872
+ getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16886
16873
  /**
16887
16874
  *
16888
16875
  * @param {number} [page]
@@ -17095,10 +17082,10 @@ export interface PageApiGetPageBySlugRequest {
17095
17082
  export interface PageApiGetPageByTypeRequest {
17096
17083
  /**
17097
17084
  *
17098
- * @type {UniquePageTypeEnum}
17085
+ * @type {PageTypeEnum}
17099
17086
  * @memberof PageApiGetPageByType
17100
17087
  */
17101
- readonly type: UniquePageTypeEnum;
17088
+ readonly type: PageTypeEnum;
17102
17089
  /**
17103
17090
  *
17104
17091
  * @type {string}
package/dist/api/api.js CHANGED
@@ -17,9 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  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.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPositionYEnum = exports.ContentPositionXEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.ButtonVariantEnum = void 0;
20
- exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.UniquePageTypeEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = void 0;
21
- exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = void 0;
22
- exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = void 0;
20
+ exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = void 0;
21
+ exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = void 0;
22
+ exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
23
23
  const axios_1 = __importDefault(require("axios"));
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
@@ -860,18 +860,6 @@ exports.TimezoneEnum = {
860
860
  UTC1300: 'UTC+13:00',
861
861
  UTC1400: 'UTC+14:00'
862
862
  };
863
- /**
864
- *
865
- * @export
866
- * @enum {string}
867
- */
868
- exports.UniquePageTypeEnum = {
869
- HOME: 'home',
870
- CART: 'cart',
871
- CHECKOUT: 'checkout',
872
- SEARCH: 'search',
873
- NOT_FOUND: 'not-found'
874
- };
875
863
  /**
876
864
  *
877
865
  * @export
@@ -8059,7 +8047,7 @@ const PageApiAxiosParamCreator = function (configuration) {
8059
8047
  },
8060
8048
  /**
8061
8049
  *
8062
- * @param {UniquePageTypeEnum} type
8050
+ * @param {PageTypeEnum} type
8063
8051
  * @param {string} [companyId]
8064
8052
  * @param {string} [domain]
8065
8053
  * @param {string} [template]
@@ -8314,7 +8302,7 @@ const PageApiFp = function (configuration) {
8314
8302
  },
8315
8303
  /**
8316
8304
  *
8317
- * @param {UniquePageTypeEnum} type
8305
+ * @param {PageTypeEnum} type
8318
8306
  * @param {string} [companyId]
8319
8307
  * @param {string} [domain]
8320
8308
  * @param {string} [template]
package/dist/api/api.mjs CHANGED
@@ -848,18 +848,6 @@ export const TimezoneEnum = {
848
848
  UTC1300: 'UTC+13:00',
849
849
  UTC1400: 'UTC+14:00'
850
850
  };
851
- /**
852
- *
853
- * @export
854
- * @enum {string}
855
- */
856
- export const UniquePageTypeEnum = {
857
- HOME: 'home',
858
- CART: 'cart',
859
- CHECKOUT: 'checkout',
860
- SEARCH: 'search',
861
- NOT_FOUND: 'not-found'
862
- };
863
851
  /**
864
852
  *
865
853
  * @export
@@ -7999,7 +7987,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
7999
7987
  },
8000
7988
  /**
8001
7989
  *
8002
- * @param {UniquePageTypeEnum} type
7990
+ * @param {PageTypeEnum} type
8003
7991
  * @param {string} [companyId]
8004
7992
  * @param {string} [domain]
8005
7993
  * @param {string} [template]
@@ -8253,7 +8241,7 @@ export const PageApiFp = function (configuration) {
8253
8241
  },
8254
8242
  /**
8255
8243
  *
8256
- * @param {UniquePageTypeEnum} type
8244
+ * @param {PageTypeEnum} type
8257
8245
  * @param {string} [companyId]
8258
8246
  * @param {string} [domain]
8259
8247
  * @param {string} [template]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.2.74",
3
+ "version": "1.2.75",
4
4
  "description": "api-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "0d896d070eb5379e75e54cd6a5f447484be041b6"
40
+ "gitHead": "e5d78bca810a40bb61d9762322dc134c25ca6ccf"
41
41
  }