@infisale-client/api 1.2.25 → 1.2.27
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 +78 -45
- package/dist/api/api.js +23 -3
- package/dist/api/api.mjs +20 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -133,6 +133,28 @@ export declare const ComponentTypeEnum: {
|
|
|
133
133
|
readonly NOT_FOUND_DETAIL: "not-found-detail";
|
|
134
134
|
};
|
|
135
135
|
export type ComponentTypeEnum = typeof ComponentTypeEnum[keyof typeof ComponentTypeEnum];
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @export
|
|
139
|
+
* @enum {string}
|
|
140
|
+
*/
|
|
141
|
+
export declare const ContentPositionXEnum: {
|
|
142
|
+
readonly CENTER: "center";
|
|
143
|
+
readonly LEFT: "left";
|
|
144
|
+
readonly RIGHT: "right";
|
|
145
|
+
};
|
|
146
|
+
export type ContentPositionXEnum = typeof ContentPositionXEnum[keyof typeof ContentPositionXEnum];
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @export
|
|
150
|
+
* @enum {string}
|
|
151
|
+
*/
|
|
152
|
+
export declare const ContentPositionYEnum: {
|
|
153
|
+
readonly CENTER: "center";
|
|
154
|
+
readonly TOP: "top";
|
|
155
|
+
readonly BOTTOM: "bottom";
|
|
156
|
+
};
|
|
157
|
+
export type ContentPositionYEnum = typeof ContentPositionYEnum[keyof typeof ContentPositionYEnum];
|
|
136
158
|
/**
|
|
137
159
|
*
|
|
138
160
|
* @export
|
|
@@ -2871,53 +2893,10 @@ export interface ICompanyPatchRequestPaymentGatewaysInner {
|
|
|
2871
2893
|
export interface ICompanyPaymentGatewaysResponse {
|
|
2872
2894
|
/**
|
|
2873
2895
|
*
|
|
2874
|
-
* @type {Array<
|
|
2896
|
+
* @type {Array<ICompanyPatchRequestPaymentGatewaysInner>}
|
|
2875
2897
|
* @memberof ICompanyPaymentGatewaysResponse
|
|
2876
2898
|
*/
|
|
2877
|
-
'data': Array<
|
|
2878
|
-
}
|
|
2879
|
-
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @export
|
|
2882
|
-
* @interface ICompanyPaymentGatewaysResponseDataInner
|
|
2883
|
-
*/
|
|
2884
|
-
export interface ICompanyPaymentGatewaysResponseDataInner {
|
|
2885
|
-
/**
|
|
2886
|
-
*
|
|
2887
|
-
* @type {boolean}
|
|
2888
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2889
|
-
*/
|
|
2890
|
-
'active': boolean;
|
|
2891
|
-
/**
|
|
2892
|
-
*
|
|
2893
|
-
* @type {boolean}
|
|
2894
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2895
|
-
*/
|
|
2896
|
-
'testMode': boolean;
|
|
2897
|
-
/**
|
|
2898
|
-
*
|
|
2899
|
-
* @type {string}
|
|
2900
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2901
|
-
*/
|
|
2902
|
-
'secretKey': string;
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @type {string}
|
|
2906
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2907
|
-
*/
|
|
2908
|
-
'apiKey': string;
|
|
2909
|
-
/**
|
|
2910
|
-
*
|
|
2911
|
-
* @type {PaymentGatewayEnum}
|
|
2912
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2913
|
-
*/
|
|
2914
|
-
'type': PaymentGatewayEnum;
|
|
2915
|
-
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @type {string}
|
|
2918
|
-
* @memberof ICompanyPaymentGatewaysResponseDataInner
|
|
2919
|
-
*/
|
|
2920
|
-
'_id': string;
|
|
2899
|
+
'data': Array<ICompanyPatchRequestPaymentGatewaysInner>;
|
|
2921
2900
|
}
|
|
2922
2901
|
/**
|
|
2923
2902
|
*
|
|
@@ -3689,6 +3668,12 @@ export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
|
|
|
3689
3668
|
* @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
|
|
3690
3669
|
*/
|
|
3691
3670
|
'apiKey': string;
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @type {string}
|
|
3674
|
+
* @memberof ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner
|
|
3675
|
+
*/
|
|
3676
|
+
'merchantId': string;
|
|
3692
3677
|
/**
|
|
3693
3678
|
*
|
|
3694
3679
|
* @type {PaymentGatewayEnum}
|
|
@@ -7000,6 +6985,24 @@ export interface ITemplateResponseComponentsInner {
|
|
|
7000
6985
|
* @interface ITemplateResponseComponentsInnerConfig
|
|
7001
6986
|
*/
|
|
7002
6987
|
export interface ITemplateResponseComponentsInnerConfig {
|
|
6988
|
+
/**
|
|
6989
|
+
*
|
|
6990
|
+
* @type {ContentPositionYEnum}
|
|
6991
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
6992
|
+
*/
|
|
6993
|
+
'contentPositionY': ContentPositionYEnum;
|
|
6994
|
+
/**
|
|
6995
|
+
*
|
|
6996
|
+
* @type {ContentPositionXEnum}
|
|
6997
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
6998
|
+
*/
|
|
6999
|
+
'contentPositionX': ContentPositionXEnum;
|
|
7000
|
+
/**
|
|
7001
|
+
*
|
|
7002
|
+
* @type {number}
|
|
7003
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7004
|
+
*/
|
|
7005
|
+
'imageAspectRatio': number;
|
|
7003
7006
|
/**
|
|
7004
7007
|
*
|
|
7005
7008
|
* @type {ProductDetailImageZoomTypeEnum}
|
|
@@ -7036,6 +7039,18 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
7036
7039
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7037
7040
|
*/
|
|
7038
7041
|
'textColor'?: string;
|
|
7042
|
+
/**
|
|
7043
|
+
*
|
|
7044
|
+
* @type {string}
|
|
7045
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7046
|
+
*/
|
|
7047
|
+
'customStyles': string;
|
|
7048
|
+
/**
|
|
7049
|
+
*
|
|
7050
|
+
* @type {Array<string>}
|
|
7051
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7052
|
+
*/
|
|
7053
|
+
'customClasses': Array<string>;
|
|
7039
7054
|
/**
|
|
7040
7055
|
*
|
|
7041
7056
|
* @type {string}
|
|
@@ -7054,6 +7069,12 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
7054
7069
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7055
7070
|
*/
|
|
7056
7071
|
'cardContainer'?: boolean;
|
|
7072
|
+
/**
|
|
7073
|
+
*
|
|
7074
|
+
* @type {boolean}
|
|
7075
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
7076
|
+
*/
|
|
7077
|
+
'grid': boolean;
|
|
7057
7078
|
/**
|
|
7058
7079
|
*
|
|
7059
7080
|
* @type {boolean}
|
|
@@ -7183,6 +7204,18 @@ export interface ITemplateResponseComponentsInnerContentsInnerButtonsInner {
|
|
|
7183
7204
|
* @interface ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7184
7205
|
*/
|
|
7185
7206
|
export interface ITemplateResponseComponentsInnerContentsInnerConfig {
|
|
7207
|
+
/**
|
|
7208
|
+
*
|
|
7209
|
+
* @type {string}
|
|
7210
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7211
|
+
*/
|
|
7212
|
+
'customStyles': string;
|
|
7213
|
+
/**
|
|
7214
|
+
*
|
|
7215
|
+
* @type {Array<string>}
|
|
7216
|
+
* @memberof ITemplateResponseComponentsInnerContentsInnerConfig
|
|
7217
|
+
*/
|
|
7218
|
+
'customClasses': Array<string>;
|
|
7186
7219
|
/**
|
|
7187
7220
|
*
|
|
7188
7221
|
* @type {string}
|
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.
|
|
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 = void 0;
|
|
19
|
+
exports.TemplateTypeEnum = 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 = void 0;
|
|
20
|
+
exports.NotificationApiFactory = 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 = 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 = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -137,6 +137,26 @@ exports.ComponentTypeEnum = {
|
|
|
137
137
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
138
138
|
NOT_FOUND_DETAIL: 'not-found-detail'
|
|
139
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @export
|
|
143
|
+
* @enum {string}
|
|
144
|
+
*/
|
|
145
|
+
exports.ContentPositionXEnum = {
|
|
146
|
+
CENTER: 'center',
|
|
147
|
+
LEFT: 'left',
|
|
148
|
+
RIGHT: 'right'
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @export
|
|
153
|
+
* @enum {string}
|
|
154
|
+
*/
|
|
155
|
+
exports.ContentPositionYEnum = {
|
|
156
|
+
CENTER: 'center',
|
|
157
|
+
TOP: 'top',
|
|
158
|
+
BOTTOM: 'bottom'
|
|
159
|
+
};
|
|
140
160
|
/**
|
|
141
161
|
*
|
|
142
162
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -126,6 +126,26 @@ export const ComponentTypeEnum = {
|
|
|
126
126
|
CHECKOUT_DETAIL: 'checkout-detail',
|
|
127
127
|
NOT_FOUND_DETAIL: 'not-found-detail'
|
|
128
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @export
|
|
132
|
+
* @enum {string}
|
|
133
|
+
*/
|
|
134
|
+
export const ContentPositionXEnum = {
|
|
135
|
+
CENTER: 'center',
|
|
136
|
+
LEFT: 'left',
|
|
137
|
+
RIGHT: 'right'
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @export
|
|
142
|
+
* @enum {string}
|
|
143
|
+
*/
|
|
144
|
+
export const ContentPositionYEnum = {
|
|
145
|
+
CENTER: 'center',
|
|
146
|
+
TOP: 'top',
|
|
147
|
+
BOTTOM: 'bottom'
|
|
148
|
+
};
|
|
129
149
|
/**
|
|
130
150
|
*
|
|
131
151
|
* @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.27",
|
|
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": "8f5cb20a26097a91e0bff22af96b97ca47916238"
|
|
41
41
|
}
|