@infisale-client/api-client 1.3.15 → 1.3.17
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 +42 -56
- 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>}
|
|
@@ -4250,22 +4255,10 @@ export type IContactFormCollectionQueryParamsDateFieldEnum = typeof IContactForm
|
|
|
4250
4255
|
export interface IContactFormPostRequest {
|
|
4251
4256
|
/**
|
|
4252
4257
|
*
|
|
4253
|
-
* @type {
|
|
4254
|
-
* @memberof IContactFormPostRequest
|
|
4255
|
-
*/
|
|
4256
|
-
'name'?: string;
|
|
4257
|
-
/**
|
|
4258
|
-
*
|
|
4259
|
-
* @type {string}
|
|
4258
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4260
4259
|
* @memberof IContactFormPostRequest
|
|
4261
4260
|
*/
|
|
4262
|
-
'
|
|
4263
|
-
/**
|
|
4264
|
-
*
|
|
4265
|
-
* @type {string}
|
|
4266
|
-
* @memberof IContactFormPostRequest
|
|
4267
|
-
*/
|
|
4268
|
-
'message': string;
|
|
4261
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4269
4262
|
/**
|
|
4270
4263
|
*
|
|
4271
4264
|
* @type {string}
|
|
@@ -4314,25 +4307,32 @@ export interface IContactFormResponse {
|
|
|
4314
4307
|
* @type {string}
|
|
4315
4308
|
* @memberof IContactFormResponse
|
|
4316
4309
|
*/
|
|
4317
|
-
'
|
|
4310
|
+
'ip': string;
|
|
4318
4311
|
/**
|
|
4319
4312
|
*
|
|
4320
|
-
* @type {
|
|
4313
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4321
4314
|
* @memberof IContactFormResponse
|
|
4322
4315
|
*/
|
|
4323
|
-
'
|
|
4316
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4317
|
+
}
|
|
4318
|
+
/**
|
|
4319
|
+
*
|
|
4320
|
+
* @export
|
|
4321
|
+
* @interface IContactFormResponseDataInner
|
|
4322
|
+
*/
|
|
4323
|
+
export interface IContactFormResponseDataInner {
|
|
4324
4324
|
/**
|
|
4325
4325
|
*
|
|
4326
4326
|
* @type {string}
|
|
4327
|
-
* @memberof
|
|
4327
|
+
* @memberof IContactFormResponseDataInner
|
|
4328
4328
|
*/
|
|
4329
|
-
'
|
|
4329
|
+
'value': string;
|
|
4330
4330
|
/**
|
|
4331
4331
|
*
|
|
4332
4332
|
* @type {string}
|
|
4333
|
-
* @memberof
|
|
4333
|
+
* @memberof IContactFormResponseDataInner
|
|
4334
4334
|
*/
|
|
4335
|
-
'
|
|
4335
|
+
'key': string;
|
|
4336
4336
|
}
|
|
4337
4337
|
/**
|
|
4338
4338
|
*
|
|
@@ -10480,22 +10480,10 @@ export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUse
|
|
|
10480
10480
|
export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp {
|
|
10481
10481
|
/**
|
|
10482
10482
|
*
|
|
10483
|
-
* @type {
|
|
10483
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
10484
10484
|
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10485
10485
|
*/
|
|
10486
|
-
'
|
|
10487
|
-
/**
|
|
10488
|
-
*
|
|
10489
|
-
* @type {string}
|
|
10490
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10491
|
-
*/
|
|
10492
|
-
'email': string;
|
|
10493
|
-
/**
|
|
10494
|
-
*
|
|
10495
|
-
* @type {string}
|
|
10496
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10497
|
-
*/
|
|
10498
|
-
'message': string;
|
|
10486
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
10499
10487
|
}
|
|
10500
10488
|
/**
|
|
10501
10489
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11858,10 +11846,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
11858
11846
|
'title': string;
|
|
11859
11847
|
/**
|
|
11860
11848
|
*
|
|
11861
|
-
* @type {Array<
|
|
11849
|
+
* @type {Array<StoreLocationEnum>}
|
|
11862
11850
|
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11863
11851
|
*/
|
|
11864
|
-
'states': Array<
|
|
11852
|
+
'states': Array<StoreLocationEnum>;
|
|
11865
11853
|
/**
|
|
11866
11854
|
*
|
|
11867
11855
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -12000,12 +11988,6 @@ export interface RecordCurrencyEnumCurrency {
|
|
|
12000
11988
|
* @memberof RecordCurrencyEnumCurrency
|
|
12001
11989
|
*/
|
|
12002
11990
|
'gbp': Currency;
|
|
12003
|
-
/**
|
|
12004
|
-
*
|
|
12005
|
-
* @type {Currency}
|
|
12006
|
-
* @memberof RecordCurrencyEnumCurrency
|
|
12007
|
-
*/
|
|
12008
|
-
'jpy': Currency;
|
|
12009
11991
|
}
|
|
12010
11992
|
/**
|
|
12011
11993
|
* Construct a type with a set of properties K of type T
|
|
@@ -12037,12 +12019,6 @@ export interface RecordCurrencyEnumNumber {
|
|
|
12037
12019
|
* @memberof RecordCurrencyEnumNumber
|
|
12038
12020
|
*/
|
|
12039
12021
|
'gbp': number;
|
|
12040
|
-
/**
|
|
12041
|
-
*
|
|
12042
|
-
* @type {number}
|
|
12043
|
-
* @memberof RecordCurrencyEnumNumber
|
|
12044
|
-
*/
|
|
12045
|
-
'jpy': number;
|
|
12046
12022
|
}
|
|
12047
12023
|
/**
|
|
12048
12024
|
* Construct a type with a set of properties K of type T
|
|
@@ -12185,10 +12161,10 @@ export interface ShippingProvider {
|
|
|
12185
12161
|
'rates': Array<ShippingProviderRates>;
|
|
12186
12162
|
/**
|
|
12187
12163
|
*
|
|
12188
|
-
* @type {Array<
|
|
12164
|
+
* @type {Array<StoreLocationEnum>}
|
|
12189
12165
|
* @memberof ShippingProvider
|
|
12190
12166
|
*/
|
|
12191
|
-
'states': Array<
|
|
12167
|
+
'states': Array<StoreLocationEnum>;
|
|
12192
12168
|
/**
|
|
12193
12169
|
*
|
|
12194
12170
|
* @type {string}
|
|
@@ -12276,6 +12252,16 @@ export interface StockTypeValue {
|
|
|
12276
12252
|
*/
|
|
12277
12253
|
'quantity': number;
|
|
12278
12254
|
}
|
|
12255
|
+
/**
|
|
12256
|
+
*
|
|
12257
|
+
* @export
|
|
12258
|
+
* @enum {string}
|
|
12259
|
+
*/
|
|
12260
|
+
export declare const StoreLocationEnum: {
|
|
12261
|
+
readonly DE: "DE";
|
|
12262
|
+
readonly TR: "TR";
|
|
12263
|
+
};
|
|
12264
|
+
export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
|
|
12279
12265
|
/**
|
|
12280
12266
|
*
|
|
12281
12267
|
* @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.17",
|
|
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": "6d9bea3a0ec14c5d80e25b6f7ee0deb96bc3bea5"
|
|
41
41
|
}
|