@infisale-client/api 1.2.30 → 1.2.32
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 +83 -2
- package/dist/api/api.js +16 -3
- package/dist/api/api.mjs +13 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -13,6 +13,20 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
export declare const ButtonVariantEnum: {
|
|
22
|
+
readonly LINK: "link";
|
|
23
|
+
readonly DEFAULT: "default";
|
|
24
|
+
readonly OUTLINE: "outline";
|
|
25
|
+
readonly DESTRUCTIVE: "destructive";
|
|
26
|
+
readonly SECONDARY: "secondary";
|
|
27
|
+
readonly GHOST: "ghost";
|
|
28
|
+
};
|
|
29
|
+
export type ButtonVariantEnum = typeof ButtonVariantEnum[keyof typeof ButtonVariantEnum];
|
|
16
30
|
/**
|
|
17
31
|
*
|
|
18
32
|
* @export
|
|
@@ -2584,10 +2598,10 @@ export interface ICompanyConfigTemplateFooterInnerContentsInner {
|
|
|
2584
2598
|
'url'?: PartialRecordLanguageEnumString;
|
|
2585
2599
|
/**
|
|
2586
2600
|
*
|
|
2587
|
-
* @type {Array<
|
|
2601
|
+
* @type {Array<ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner>}
|
|
2588
2602
|
* @memberof ICompanyConfigTemplateFooterInnerContentsInner
|
|
2589
2603
|
*/
|
|
2590
|
-
'buttons'?: Array<
|
|
2604
|
+
'buttons'?: Array<ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner>;
|
|
2591
2605
|
/**
|
|
2592
2606
|
*
|
|
2593
2607
|
* @type {PartialRecordLanguageEnumIImage}
|
|
@@ -2613,6 +2627,31 @@ export interface ICompanyConfigTemplateFooterInnerContentsInner {
|
|
|
2613
2627
|
*/
|
|
2614
2628
|
'title'?: PartialRecordLanguageEnumString;
|
|
2615
2629
|
}
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @export
|
|
2633
|
+
* @interface ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner
|
|
2634
|
+
*/
|
|
2635
|
+
export interface ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner {
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @type {ButtonVariantEnum}
|
|
2639
|
+
* @memberof ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner
|
|
2640
|
+
*/
|
|
2641
|
+
'variant'?: ButtonVariantEnum;
|
|
2642
|
+
/**
|
|
2643
|
+
*
|
|
2644
|
+
* @type {PartialRecordLanguageEnumString}
|
|
2645
|
+
* @memberof ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner
|
|
2646
|
+
*/
|
|
2647
|
+
'url': PartialRecordLanguageEnumString;
|
|
2648
|
+
/**
|
|
2649
|
+
*
|
|
2650
|
+
* @type {PartialRecordLanguageEnumString}
|
|
2651
|
+
* @memberof ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner
|
|
2652
|
+
*/
|
|
2653
|
+
'title': PartialRecordLanguageEnumString;
|
|
2654
|
+
}
|
|
2616
2655
|
/**
|
|
2617
2656
|
*
|
|
2618
2657
|
* @export
|
|
@@ -7046,12 +7085,24 @@ export interface ITemplateResponseComponentsInner {
|
|
|
7046
7085
|
* @interface ITemplateResponseComponentsInnerConfig
|
|
7047
7086
|
*/
|
|
7048
7087
|
export interface ITemplateResponseComponentsInnerConfig {
|
|
7088
|
+
/**
|
|
7089
|
+
*
|
|
7090
|
+
* @type {ContentPositionYEnum}
|
|
7091
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7092
|
+
*/
|
|
7093
|
+
'contentMobilePositionY'?: ContentPositionYEnum;
|
|
7049
7094
|
/**
|
|
7050
7095
|
*
|
|
7051
7096
|
* @type {ContentPositionYEnum}
|
|
7052
7097
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7053
7098
|
*/
|
|
7054
7099
|
'contentPositionY'?: ContentPositionYEnum;
|
|
7100
|
+
/**
|
|
7101
|
+
*
|
|
7102
|
+
* @type {ContentPositionXEnum}
|
|
7103
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7104
|
+
*/
|
|
7105
|
+
'contentMobilePositionX'?: ContentPositionXEnum;
|
|
7055
7106
|
/**
|
|
7056
7107
|
*
|
|
7057
7108
|
* @type {ContentPositionXEnum}
|
|
@@ -7240,6 +7291,12 @@ export interface ITemplateResponseComponentsInnerContentsInner {
|
|
|
7240
7291
|
* @interface ITemplateResponseComponentsInnerContentsInnerButtonsInner
|
|
7241
7292
|
*/
|
|
7242
7293
|
export interface ITemplateResponseComponentsInnerContentsInnerButtonsInner {
|
|
7294
|
+
/**
|
|
7295
|
+
*
|
|
7296
|
+
* @type {ButtonVariantEnum}
|
|
7297
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerButtonsInner
|
|
7298
|
+
*/
|
|
7299
|
+
'variant'?: ButtonVariantEnum;
|
|
7243
7300
|
/**
|
|
7244
7301
|
*
|
|
7245
7302
|
* @type {PartialRecordLanguageEnumString}
|
|
@@ -7265,6 +7322,30 @@ export interface ITemplateResponseComponentsInnerContentsInnerButtonsInner {
|
|
|
7265
7322
|
* @interface ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7266
7323
|
*/
|
|
7267
7324
|
export interface ITemplateResponseComponentsInnerContentsInnerConfig {
|
|
7325
|
+
/**
|
|
7326
|
+
*
|
|
7327
|
+
* @type {ContentPositionYEnum}
|
|
7328
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7329
|
+
*/
|
|
7330
|
+
'contentMobilePositionY'?: ContentPositionYEnum;
|
|
7331
|
+
/**
|
|
7332
|
+
*
|
|
7333
|
+
* @type {ContentPositionYEnum}
|
|
7334
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7335
|
+
*/
|
|
7336
|
+
'contentPositionY'?: ContentPositionYEnum;
|
|
7337
|
+
/**
|
|
7338
|
+
*
|
|
7339
|
+
* @type {ContentPositionXEnum}
|
|
7340
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7341
|
+
*/
|
|
7342
|
+
'contentMobilePositionX'?: ContentPositionXEnum;
|
|
7343
|
+
/**
|
|
7344
|
+
*
|
|
7345
|
+
* @type {ContentPositionXEnum}
|
|
7346
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7347
|
+
*/
|
|
7348
|
+
'contentPositionX'?: ContentPositionXEnum;
|
|
7268
7349
|
/**
|
|
7269
7350
|
*
|
|
7270
7351
|
* @type {string}
|
package/dist/api/api.js
CHANGED
|
@@ -16,15 +16,28 @@ 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.
|
|
20
|
-
exports.
|
|
21
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.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 = void 0;
|
|
19
|
+
exports.SitemapTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = 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.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = 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.ThemeTypeEnum = exports.TemplateTypeEnum = void 0;
|
|
21
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.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 = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const common_1 = require("./common.js");
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
const base_1 = require("./base.js");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
exports.ButtonVariantEnum = {
|
|
34
|
+
LINK: 'link',
|
|
35
|
+
DEFAULT: 'default',
|
|
36
|
+
OUTLINE: 'outline',
|
|
37
|
+
DESTRUCTIVE: 'destructive',
|
|
38
|
+
SECONDARY: 'secondary',
|
|
39
|
+
GHOST: 'ghost'
|
|
40
|
+
};
|
|
28
41
|
/**
|
|
29
42
|
*
|
|
30
43
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -14,6 +14,19 @@
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from "./common.mjs";
|
|
16
16
|
import { BASE_PATH, BaseAPI, operationServerMap } from "./base.mjs";
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
export const ButtonVariantEnum = {
|
|
23
|
+
LINK: 'link',
|
|
24
|
+
DEFAULT: 'default',
|
|
25
|
+
OUTLINE: 'outline',
|
|
26
|
+
DESTRUCTIVE: 'destructive',
|
|
27
|
+
SECONDARY: 'secondary',
|
|
28
|
+
GHOST: 'ghost'
|
|
29
|
+
};
|
|
17
30
|
/**
|
|
18
31
|
*
|
|
19
32
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.32",
|
|
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": "
|
|
40
|
+
"gitHead": "ed745158196d1f437cef82e9871f7bcb5169ff4b"
|
|
41
41
|
}
|