@infisale-client/api-client 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 +12 -4
- 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
|
/**
|
|
@@ -2883,10 +2882,10 @@ export interface ICompanyCreateShippingProvidersRequest {
|
|
|
2883
2882
|
'title': string;
|
|
2884
2883
|
/**
|
|
2885
2884
|
*
|
|
2886
|
-
* @type {Array<
|
|
2885
|
+
* @type {Array<StoreLocationEnum>}
|
|
2887
2886
|
* @memberof ICompanyCreateShippingProvidersRequest
|
|
2888
2887
|
*/
|
|
2889
|
-
'states': Array<
|
|
2888
|
+
'states': Array<StoreLocationEnum>;
|
|
2890
2889
|
/**
|
|
2891
2890
|
*
|
|
2892
2891
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -3371,6 +3370,12 @@ export interface ICompanyPostRequest {
|
|
|
3371
3370
|
* @memberof ICompanyPostRequest
|
|
3372
3371
|
*/
|
|
3373
3372
|
'currency': CurrencyEnum;
|
|
3373
|
+
/**
|
|
3374
|
+
*
|
|
3375
|
+
* @type {StoreLocationEnum}
|
|
3376
|
+
* @memberof ICompanyPostRequest
|
|
3377
|
+
*/
|
|
3378
|
+
'storeLocation': StoreLocationEnum;
|
|
3374
3379
|
/**
|
|
3375
3380
|
*
|
|
3376
3381
|
* @type {string}
|
|
@@ -4036,10 +4041,10 @@ export interface ICompanyUpdateShippingProvidersRequest {
|
|
|
4036
4041
|
'title'?: string;
|
|
4037
4042
|
/**
|
|
4038
4043
|
*
|
|
4039
|
-
* @type {Array<
|
|
4044
|
+
* @type {Array<StoreLocationEnum>}
|
|
4040
4045
|
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
4041
4046
|
*/
|
|
4042
|
-
'states'?: Array<
|
|
4047
|
+
'states'?: Array<StoreLocationEnum>;
|
|
4043
4048
|
/**
|
|
4044
4049
|
*
|
|
4045
4050
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -11858,10 +11863,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
11858
11863
|
'title': string;
|
|
11859
11864
|
/**
|
|
11860
11865
|
*
|
|
11861
|
-
* @type {Array<
|
|
11866
|
+
* @type {Array<StoreLocationEnum>}
|
|
11862
11867
|
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11863
11868
|
*/
|
|
11864
|
-
'states': Array<
|
|
11869
|
+
'states': Array<StoreLocationEnum>;
|
|
11865
11870
|
/**
|
|
11866
11871
|
*
|
|
11867
11872
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -12000,12 +12005,6 @@ export interface RecordCurrencyEnumCurrency {
|
|
|
12000
12005
|
* @memberof RecordCurrencyEnumCurrency
|
|
12001
12006
|
*/
|
|
12002
12007
|
'gbp': Currency;
|
|
12003
|
-
/**
|
|
12004
|
-
*
|
|
12005
|
-
* @type {Currency}
|
|
12006
|
-
* @memberof RecordCurrencyEnumCurrency
|
|
12007
|
-
*/
|
|
12008
|
-
'jpy': Currency;
|
|
12009
12008
|
}
|
|
12010
12009
|
/**
|
|
12011
12010
|
* Construct a type with a set of properties K of type T
|
|
@@ -12037,12 +12036,6 @@ export interface RecordCurrencyEnumNumber {
|
|
|
12037
12036
|
* @memberof RecordCurrencyEnumNumber
|
|
12038
12037
|
*/
|
|
12039
12038
|
'gbp': number;
|
|
12040
|
-
/**
|
|
12041
|
-
*
|
|
12042
|
-
* @type {number}
|
|
12043
|
-
* @memberof RecordCurrencyEnumNumber
|
|
12044
|
-
*/
|
|
12045
|
-
'jpy': number;
|
|
12046
12039
|
}
|
|
12047
12040
|
/**
|
|
12048
12041
|
* Construct a type with a set of properties K of type T
|
|
@@ -12185,10 +12178,10 @@ export interface ShippingProvider {
|
|
|
12185
12178
|
'rates': Array<ShippingProviderRates>;
|
|
12186
12179
|
/**
|
|
12187
12180
|
*
|
|
12188
|
-
* @type {Array<
|
|
12181
|
+
* @type {Array<StoreLocationEnum>}
|
|
12189
12182
|
* @memberof ShippingProvider
|
|
12190
12183
|
*/
|
|
12191
|
-
'states': Array<
|
|
12184
|
+
'states': Array<StoreLocationEnum>;
|
|
12192
12185
|
/**
|
|
12193
12186
|
*
|
|
12194
12187
|
* @type {string}
|
|
@@ -12276,6 +12269,16 @@ export interface StockTypeValue {
|
|
|
12276
12269
|
*/
|
|
12277
12270
|
'quantity': number;
|
|
12278
12271
|
}
|
|
12272
|
+
/**
|
|
12273
|
+
*
|
|
12274
|
+
* @export
|
|
12275
|
+
* @enum {string}
|
|
12276
|
+
*/
|
|
12277
|
+
export declare const StoreLocationEnum: {
|
|
12278
|
+
readonly DE: "DE";
|
|
12279
|
+
readonly TR: "TR";
|
|
12280
|
+
};
|
|
12281
|
+
export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
|
|
12279
12282
|
/**
|
|
12280
12283
|
*
|
|
12281
12284
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -17,8 +17,8 @@ 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.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = void 0;
|
|
20
|
+
exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = 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.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -355,8 +355,7 @@ exports.CurrencyEnum = {
|
|
|
355
355
|
USD: 'usd',
|
|
356
356
|
EUR: 'eur',
|
|
357
357
|
TRY: 'try',
|
|
358
|
-
GBP: 'gbp'
|
|
359
|
-
JPY: 'jpy'
|
|
358
|
+
GBP: 'gbp'
|
|
360
359
|
};
|
|
361
360
|
/**
|
|
362
361
|
*
|
|
@@ -697,6 +696,15 @@ exports.SitemapTypeEnum = {
|
|
|
697
696
|
COLLECTIONS: 'collections',
|
|
698
697
|
BLOG: 'blog'
|
|
699
698
|
};
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @export
|
|
702
|
+
* @enum {string}
|
|
703
|
+
*/
|
|
704
|
+
exports.StoreLocationEnum = {
|
|
705
|
+
DE: 'DE',
|
|
706
|
+
TR: 'TR'
|
|
707
|
+
};
|
|
700
708
|
/**
|
|
701
709
|
*
|
|
702
710
|
* @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-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "api-client-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
|
}
|