@infisale-client/api 1.2.29 → 1.2.31
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 +108 -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
|
|
@@ -2477,6 +2491,12 @@ export interface ICompanyConfig {
|
|
|
2477
2491
|
* @memberof ICompanyConfig
|
|
2478
2492
|
*/
|
|
2479
2493
|
'template': ICompanyConfigTemplate;
|
|
2494
|
+
/**
|
|
2495
|
+
*
|
|
2496
|
+
* @type {ICompanyResponseConfigButtons}
|
|
2497
|
+
* @memberof ICompanyConfig
|
|
2498
|
+
*/
|
|
2499
|
+
'buttons': ICompanyResponseConfigButtons;
|
|
2480
2500
|
/**
|
|
2481
2501
|
*
|
|
2482
2502
|
* @type {ICompanyResponseConfigCss}
|
|
@@ -2578,10 +2598,10 @@ export interface ICompanyConfigTemplateFooterInnerContentsInner {
|
|
|
2578
2598
|
'url'?: PartialRecordLanguageEnumString;
|
|
2579
2599
|
/**
|
|
2580
2600
|
*
|
|
2581
|
-
* @type {Array<
|
|
2601
|
+
* @type {Array<ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner>}
|
|
2582
2602
|
* @memberof ICompanyConfigTemplateFooterInnerContentsInner
|
|
2583
2603
|
*/
|
|
2584
|
-
'buttons'?: Array<
|
|
2604
|
+
'buttons'?: Array<ICompanyConfigTemplateFooterInnerContentsInnerButtonsInner>;
|
|
2585
2605
|
/**
|
|
2586
2606
|
*
|
|
2587
2607
|
* @type {PartialRecordLanguageEnumIImage}
|
|
@@ -2607,6 +2627,31 @@ export interface ICompanyConfigTemplateFooterInnerContentsInner {
|
|
|
2607
2627
|
*/
|
|
2608
2628
|
'title'?: PartialRecordLanguageEnumString;
|
|
2609
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
|
+
}
|
|
2610
2655
|
/**
|
|
2611
2656
|
*
|
|
2612
2657
|
* @export
|
|
@@ -3235,6 +3280,12 @@ export interface ICompanyResponseConfig {
|
|
|
3235
3280
|
* @memberof ICompanyResponseConfig
|
|
3236
3281
|
*/
|
|
3237
3282
|
'template': ICompanyResponseConfigTemplate;
|
|
3283
|
+
/**
|
|
3284
|
+
*
|
|
3285
|
+
* @type {ICompanyResponseConfigButtons}
|
|
3286
|
+
* @memberof ICompanyResponseConfig
|
|
3287
|
+
*/
|
|
3288
|
+
'buttons': ICompanyResponseConfigButtons;
|
|
3238
3289
|
/**
|
|
3239
3290
|
*
|
|
3240
3291
|
* @type {ICompanyResponseConfigCss}
|
|
@@ -3254,6 +3305,55 @@ export interface ICompanyResponseConfig {
|
|
|
3254
3305
|
*/
|
|
3255
3306
|
'theme': ThemeTypeEnum;
|
|
3256
3307
|
}
|
|
3308
|
+
/**
|
|
3309
|
+
*
|
|
3310
|
+
* @export
|
|
3311
|
+
* @interface ICompanyResponseConfigButtons
|
|
3312
|
+
*/
|
|
3313
|
+
export interface ICompanyResponseConfigButtons {
|
|
3314
|
+
/**
|
|
3315
|
+
*
|
|
3316
|
+
* @type {number}
|
|
3317
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3318
|
+
*/
|
|
3319
|
+
'shadowBlurRadius': number;
|
|
3320
|
+
/**
|
|
3321
|
+
*
|
|
3322
|
+
* @type {number}
|
|
3323
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3324
|
+
*/
|
|
3325
|
+
'shadowVerticalOffset': number;
|
|
3326
|
+
/**
|
|
3327
|
+
*
|
|
3328
|
+
* @type {number}
|
|
3329
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3330
|
+
*/
|
|
3331
|
+
'shadowHorizontalOffset': number;
|
|
3332
|
+
/**
|
|
3333
|
+
*
|
|
3334
|
+
* @type {number}
|
|
3335
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3336
|
+
*/
|
|
3337
|
+
'shadowOpacity': number;
|
|
3338
|
+
/**
|
|
3339
|
+
*
|
|
3340
|
+
* @type {number}
|
|
3341
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3342
|
+
*/
|
|
3343
|
+
'borderRadius': number;
|
|
3344
|
+
/**
|
|
3345
|
+
*
|
|
3346
|
+
* @type {number}
|
|
3347
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3348
|
+
*/
|
|
3349
|
+
'opacity': number;
|
|
3350
|
+
/**
|
|
3351
|
+
*
|
|
3352
|
+
* @type {number}
|
|
3353
|
+
* @memberof ICompanyResponseConfigButtons
|
|
3354
|
+
*/
|
|
3355
|
+
'borderWidth': number;
|
|
3356
|
+
}
|
|
3257
3357
|
/**
|
|
3258
3358
|
*
|
|
3259
3359
|
* @export
|
|
@@ -7179,6 +7279,12 @@ export interface ITemplateResponseComponentsInnerContentsInner {
|
|
|
7179
7279
|
* @interface ITemplateResponseComponentsInnerContentsInnerButtonsInner
|
|
7180
7280
|
*/
|
|
7181
7281
|
export interface ITemplateResponseComponentsInnerContentsInnerButtonsInner {
|
|
7282
|
+
/**
|
|
7283
|
+
*
|
|
7284
|
+
* @type {ButtonVariantEnum}
|
|
7285
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerButtonsInner
|
|
7286
|
+
*/
|
|
7287
|
+
'variant'?: ButtonVariantEnum;
|
|
7182
7288
|
/**
|
|
7183
7289
|
*
|
|
7184
7290
|
* @type {PartialRecordLanguageEnumString}
|
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.31",
|
|
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": "a704119abaddbc518d9d50658422ff4d4f1abe0d"
|
|
41
41
|
}
|