@infisale-client/api 1.2.74 → 1.2.76

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
@@ -7084,6 +7084,30 @@ export interface IReview {
7084
7084
  * @memberof IReview
7085
7085
  */
7086
7086
  'product': string;
7087
+ /**
7088
+ *
7089
+ * @type {PartialRecordLanguageEnumString}
7090
+ * @memberof IReview
7091
+ */
7092
+ 'mainVariantTitle': PartialRecordLanguageEnumString;
7093
+ /**
7094
+ *
7095
+ * @type {PartialRecordLanguageEnumString}
7096
+ * @memberof IReview
7097
+ */
7098
+ 'subVariantTitle': PartialRecordLanguageEnumString;
7099
+ /**
7100
+ *
7101
+ * @type {string}
7102
+ * @memberof IReview
7103
+ */
7104
+ 'mainVariantId'?: string;
7105
+ /**
7106
+ *
7107
+ * @type {string}
7108
+ * @memberof IReview
7109
+ */
7110
+ 'subVariantId'?: string;
7087
7111
  /**
7088
7112
  *
7089
7113
  * @type {number}
@@ -11089,19 +11113,6 @@ export declare const TimezoneEnum: {
11089
11113
  readonly UTC1400: "UTC+14:00";
11090
11114
  };
11091
11115
  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
11116
  /**
11106
11117
  *
11107
11118
  * @export
@@ -16785,14 +16796,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
16785
16796
  getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16786
16797
  /**
16787
16798
  *
16788
- * @param {UniquePageTypeEnum} type
16799
+ * @param {PageTypeEnum} type
16789
16800
  * @param {string} [companyId]
16790
16801
  * @param {string} [domain]
16791
16802
  * @param {string} [template]
16792
16803
  * @param {*} [options] Override http request option.
16793
16804
  * @throws {RequiredError}
16794
16805
  */
16795
- getPageByType: (type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16806
+ getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16796
16807
  /**
16797
16808
  *
16798
16809
  * @param {number} [page]
@@ -16875,14 +16886,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
16875
16886
  getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16876
16887
  /**
16877
16888
  *
16878
- * @param {UniquePageTypeEnum} type
16889
+ * @param {PageTypeEnum} type
16879
16890
  * @param {string} [companyId]
16880
16891
  * @param {string} [domain]
16881
16892
  * @param {string} [template]
16882
16893
  * @param {*} [options] Override http request option.
16883
16894
  * @throws {RequiredError}
16884
16895
  */
16885
- getPageByType(type: UniquePageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16896
+ getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
16886
16897
  /**
16887
16898
  *
16888
16899
  * @param {number} [page]
@@ -17095,10 +17106,10 @@ export interface PageApiGetPageBySlugRequest {
17095
17106
  export interface PageApiGetPageByTypeRequest {
17096
17107
  /**
17097
17108
  *
17098
- * @type {UniquePageTypeEnum}
17109
+ * @type {PageTypeEnum}
17099
17110
  * @memberof PageApiGetPageByType
17100
17111
  */
17101
- readonly type: UniquePageTypeEnum;
17112
+ readonly type: PageTypeEnum;
17102
17113
  /**
17103
17114
  *
17104
17115
  * @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.76",
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": "191e1fad8fa241908e7639c2925cc91f561b889d"
41
41
  }