@infisale-client/api 1.3.15 → 1.3.16
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 +24 -21
- package/dist/api/api.js +13 -5
- package/dist/api/api.mjs +10 -2
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -377,7 +377,6 @@ export declare const CurrencyEnum: {
|
|
|
377
377
|
readonly EUR: "eur";
|
|
378
378
|
readonly TRY: "try";
|
|
379
379
|
readonly GBP: "gbp";
|
|
380
|
-
readonly JPY: "jpy";
|
|
381
380
|
};
|
|
382
381
|
export type CurrencyEnum = typeof CurrencyEnum[keyof typeof CurrencyEnum];
|
|
383
382
|
/**
|
|
@@ -2896,10 +2895,10 @@ export interface ICompanyCreateShippingProvidersRequest {
|
|
|
2896
2895
|
'title': string;
|
|
2897
2896
|
/**
|
|
2898
2897
|
*
|
|
2899
|
-
* @type {Array<
|
|
2898
|
+
* @type {Array<StoreLocationEnum>}
|
|
2900
2899
|
* @memberof ICompanyCreateShippingProvidersRequest
|
|
2901
2900
|
*/
|
|
2902
|
-
'states': Array<
|
|
2901
|
+
'states': Array<StoreLocationEnum>;
|
|
2903
2902
|
/**
|
|
2904
2903
|
*
|
|
2905
2904
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -3384,6 +3383,12 @@ export interface ICompanyPostRequest {
|
|
|
3384
3383
|
* @memberof ICompanyPostRequest
|
|
3385
3384
|
*/
|
|
3386
3385
|
'currency': CurrencyEnum;
|
|
3386
|
+
/**
|
|
3387
|
+
*
|
|
3388
|
+
* @type {StoreLocationEnum}
|
|
3389
|
+
* @memberof ICompanyPostRequest
|
|
3390
|
+
*/
|
|
3391
|
+
'storeLocation': StoreLocationEnum;
|
|
3387
3392
|
/**
|
|
3388
3393
|
*
|
|
3389
3394
|
* @type {string}
|
|
@@ -4049,10 +4054,10 @@ export interface ICompanyUpdateShippingProvidersRequest {
|
|
|
4049
4054
|
'title'?: string;
|
|
4050
4055
|
/**
|
|
4051
4056
|
*
|
|
4052
|
-
* @type {Array<
|
|
4057
|
+
* @type {Array<StoreLocationEnum>}
|
|
4053
4058
|
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
4054
4059
|
*/
|
|
4055
|
-
'states'?: Array<
|
|
4060
|
+
'states'?: Array<StoreLocationEnum>;
|
|
4056
4061
|
/**
|
|
4057
4062
|
*
|
|
4058
4063
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -11871,10 +11876,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
11871
11876
|
'title': string;
|
|
11872
11877
|
/**
|
|
11873
11878
|
*
|
|
11874
|
-
* @type {Array<
|
|
11879
|
+
* @type {Array<StoreLocationEnum>}
|
|
11875
11880
|
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11876
11881
|
*/
|
|
11877
|
-
'states': Array<
|
|
11882
|
+
'states': Array<StoreLocationEnum>;
|
|
11878
11883
|
/**
|
|
11879
11884
|
*
|
|
11880
11885
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -12013,12 +12018,6 @@ export interface RecordCurrencyEnumCurrency {
|
|
|
12013
12018
|
* @memberof RecordCurrencyEnumCurrency
|
|
12014
12019
|
*/
|
|
12015
12020
|
'gbp': Currency;
|
|
12016
|
-
/**
|
|
12017
|
-
*
|
|
12018
|
-
* @type {Currency}
|
|
12019
|
-
* @memberof RecordCurrencyEnumCurrency
|
|
12020
|
-
*/
|
|
12021
|
-
'jpy': Currency;
|
|
12022
12021
|
}
|
|
12023
12022
|
/**
|
|
12024
12023
|
* Construct a type with a set of properties K of type T
|
|
@@ -12050,12 +12049,6 @@ export interface RecordCurrencyEnumNumber {
|
|
|
12050
12049
|
* @memberof RecordCurrencyEnumNumber
|
|
12051
12050
|
*/
|
|
12052
12051
|
'gbp': number;
|
|
12053
|
-
/**
|
|
12054
|
-
*
|
|
12055
|
-
* @type {number}
|
|
12056
|
-
* @memberof RecordCurrencyEnumNumber
|
|
12057
|
-
*/
|
|
12058
|
-
'jpy': number;
|
|
12059
12052
|
}
|
|
12060
12053
|
/**
|
|
12061
12054
|
* Construct a type with a set of properties K of type T
|
|
@@ -12217,10 +12210,10 @@ export interface ShippingProvider {
|
|
|
12217
12210
|
'rates': Array<ShippingProviderRates>;
|
|
12218
12211
|
/**
|
|
12219
12212
|
*
|
|
12220
|
-
* @type {Array<
|
|
12213
|
+
* @type {Array<StoreLocationEnum>}
|
|
12221
12214
|
* @memberof ShippingProvider
|
|
12222
12215
|
*/
|
|
12223
|
-
'states': Array<
|
|
12216
|
+
'states': Array<StoreLocationEnum>;
|
|
12224
12217
|
/**
|
|
12225
12218
|
*
|
|
12226
12219
|
* @type {string}
|
|
@@ -12308,6 +12301,16 @@ export interface StockTypeValue {
|
|
|
12308
12301
|
*/
|
|
12309
12302
|
'quantity': number;
|
|
12310
12303
|
}
|
|
12304
|
+
/**
|
|
12305
|
+
*
|
|
12306
|
+
* @export
|
|
12307
|
+
* @enum {string}
|
|
12308
|
+
*/
|
|
12309
|
+
export declare const StoreLocationEnum: {
|
|
12310
|
+
readonly DE: "DE";
|
|
12311
|
+
readonly TR: "TR";
|
|
12312
|
+
};
|
|
12313
|
+
export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
|
|
12311
12314
|
/**
|
|
12312
12315
|
*
|
|
12313
12316
|
* @export
|
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.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = 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.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
20
|
+
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.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = 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 = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -356,8 +356,7 @@ exports.CurrencyEnum = {
|
|
|
356
356
|
USD: 'usd',
|
|
357
357
|
EUR: 'eur',
|
|
358
358
|
TRY: 'try',
|
|
359
|
-
GBP: 'gbp'
|
|
360
|
-
JPY: 'jpy'
|
|
359
|
+
GBP: 'gbp'
|
|
361
360
|
};
|
|
362
361
|
/**
|
|
363
362
|
*
|
|
@@ -698,6 +697,15 @@ exports.SitemapTypeEnum = {
|
|
|
698
697
|
COLLECTIONS: 'collections',
|
|
699
698
|
BLOG: 'blog'
|
|
700
699
|
};
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @export
|
|
703
|
+
* @enum {string}
|
|
704
|
+
*/
|
|
705
|
+
exports.StoreLocationEnum = {
|
|
706
|
+
DE: 'DE',
|
|
707
|
+
TR: 'TR'
|
|
708
|
+
};
|
|
701
709
|
/**
|
|
702
710
|
*
|
|
703
711
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -344,8 +344,7 @@ export const CurrencyEnum = {
|
|
|
344
344
|
USD: 'usd',
|
|
345
345
|
EUR: 'eur',
|
|
346
346
|
TRY: 'try',
|
|
347
|
-
GBP: 'gbp'
|
|
348
|
-
JPY: 'jpy'
|
|
347
|
+
GBP: 'gbp'
|
|
349
348
|
};
|
|
350
349
|
/**
|
|
351
350
|
*
|
|
@@ -686,6 +685,15 @@ export const SitemapTypeEnum = {
|
|
|
686
685
|
COLLECTIONS: 'collections',
|
|
687
686
|
BLOG: 'blog'
|
|
688
687
|
};
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @export
|
|
691
|
+
* @enum {string}
|
|
692
|
+
*/
|
|
693
|
+
export const StoreLocationEnum = {
|
|
694
|
+
DE: 'DE',
|
|
695
|
+
TR: 'TR'
|
|
696
|
+
};
|
|
689
697
|
/**
|
|
690
698
|
*
|
|
691
699
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
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": "5be8a1e91cbb68a81fc78ece586c9028aeb1e1be"
|
|
41
41
|
}
|