@infisale-client/api 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 +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>}
|
|
@@ -4263,22 +4268,10 @@ export type IContactFormCollectionQueryParamsDateFieldEnum = typeof IContactForm
|
|
|
4263
4268
|
export interface IContactFormPostRequest {
|
|
4264
4269
|
/**
|
|
4265
4270
|
*
|
|
4266
|
-
* @type {
|
|
4267
|
-
* @memberof IContactFormPostRequest
|
|
4268
|
-
*/
|
|
4269
|
-
'name'?: string;
|
|
4270
|
-
/**
|
|
4271
|
-
*
|
|
4272
|
-
* @type {string}
|
|
4271
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4273
4272
|
* @memberof IContactFormPostRequest
|
|
4274
4273
|
*/
|
|
4275
|
-
'
|
|
4276
|
-
/**
|
|
4277
|
-
*
|
|
4278
|
-
* @type {string}
|
|
4279
|
-
* @memberof IContactFormPostRequest
|
|
4280
|
-
*/
|
|
4281
|
-
'message': string;
|
|
4274
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4282
4275
|
/**
|
|
4283
4276
|
*
|
|
4284
4277
|
* @type {string}
|
|
@@ -4327,25 +4320,32 @@ export interface IContactFormResponse {
|
|
|
4327
4320
|
* @type {string}
|
|
4328
4321
|
* @memberof IContactFormResponse
|
|
4329
4322
|
*/
|
|
4330
|
-
'
|
|
4323
|
+
'ip': string;
|
|
4331
4324
|
/**
|
|
4332
4325
|
*
|
|
4333
|
-
* @type {
|
|
4326
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
4334
4327
|
* @memberof IContactFormResponse
|
|
4335
4328
|
*/
|
|
4336
|
-
'
|
|
4329
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
4330
|
+
}
|
|
4331
|
+
/**
|
|
4332
|
+
*
|
|
4333
|
+
* @export
|
|
4334
|
+
* @interface IContactFormResponseDataInner
|
|
4335
|
+
*/
|
|
4336
|
+
export interface IContactFormResponseDataInner {
|
|
4337
4337
|
/**
|
|
4338
4338
|
*
|
|
4339
4339
|
* @type {string}
|
|
4340
|
-
* @memberof
|
|
4340
|
+
* @memberof IContactFormResponseDataInner
|
|
4341
4341
|
*/
|
|
4342
|
-
'
|
|
4342
|
+
'value': string;
|
|
4343
4343
|
/**
|
|
4344
4344
|
*
|
|
4345
4345
|
* @type {string}
|
|
4346
|
-
* @memberof
|
|
4346
|
+
* @memberof IContactFormResponseDataInner
|
|
4347
4347
|
*/
|
|
4348
|
-
'
|
|
4348
|
+
'key': string;
|
|
4349
4349
|
}
|
|
4350
4350
|
/**
|
|
4351
4351
|
*
|
|
@@ -10493,22 +10493,10 @@ export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUse
|
|
|
10493
10493
|
export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp {
|
|
10494
10494
|
/**
|
|
10495
10495
|
*
|
|
10496
|
-
* @type {
|
|
10496
|
+
* @type {Array<IContactFormResponseDataInner>}
|
|
10497
10497
|
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10498
10498
|
*/
|
|
10499
|
-
'
|
|
10500
|
-
/**
|
|
10501
|
-
*
|
|
10502
|
-
* @type {string}
|
|
10503
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10504
|
-
*/
|
|
10505
|
-
'email': string;
|
|
10506
|
-
/**
|
|
10507
|
-
*
|
|
10508
|
-
* @type {string}
|
|
10509
|
-
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIp
|
|
10510
|
-
*/
|
|
10511
|
-
'message': string;
|
|
10499
|
+
'data': Array<IContactFormResponseDataInner>;
|
|
10512
10500
|
}
|
|
10513
10501
|
/**
|
|
10514
10502
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11871,10 +11859,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
|
|
|
11871
11859
|
'title': string;
|
|
11872
11860
|
/**
|
|
11873
11861
|
*
|
|
11874
|
-
* @type {Array<
|
|
11862
|
+
* @type {Array<StoreLocationEnum>}
|
|
11875
11863
|
* @memberof PickShippingProviderExcludeKeyofShippingProviderId
|
|
11876
11864
|
*/
|
|
11877
|
-
'states': Array<
|
|
11865
|
+
'states': Array<StoreLocationEnum>;
|
|
11878
11866
|
/**
|
|
11879
11867
|
*
|
|
11880
11868
|
* @type {Array<ShippingProviderRates>}
|
|
@@ -12013,12 +12001,6 @@ export interface RecordCurrencyEnumCurrency {
|
|
|
12013
12001
|
* @memberof RecordCurrencyEnumCurrency
|
|
12014
12002
|
*/
|
|
12015
12003
|
'gbp': Currency;
|
|
12016
|
-
/**
|
|
12017
|
-
*
|
|
12018
|
-
* @type {Currency}
|
|
12019
|
-
* @memberof RecordCurrencyEnumCurrency
|
|
12020
|
-
*/
|
|
12021
|
-
'jpy': Currency;
|
|
12022
12004
|
}
|
|
12023
12005
|
/**
|
|
12024
12006
|
* Construct a type with a set of properties K of type T
|
|
@@ -12050,12 +12032,6 @@ export interface RecordCurrencyEnumNumber {
|
|
|
12050
12032
|
* @memberof RecordCurrencyEnumNumber
|
|
12051
12033
|
*/
|
|
12052
12034
|
'gbp': number;
|
|
12053
|
-
/**
|
|
12054
|
-
*
|
|
12055
|
-
* @type {number}
|
|
12056
|
-
* @memberof RecordCurrencyEnumNumber
|
|
12057
|
-
*/
|
|
12058
|
-
'jpy': number;
|
|
12059
12035
|
}
|
|
12060
12036
|
/**
|
|
12061
12037
|
* Construct a type with a set of properties K of type T
|
|
@@ -12217,10 +12193,10 @@ export interface ShippingProvider {
|
|
|
12217
12193
|
'rates': Array<ShippingProviderRates>;
|
|
12218
12194
|
/**
|
|
12219
12195
|
*
|
|
12220
|
-
* @type {Array<
|
|
12196
|
+
* @type {Array<StoreLocationEnum>}
|
|
12221
12197
|
* @memberof ShippingProvider
|
|
12222
12198
|
*/
|
|
12223
|
-
'states': Array<
|
|
12199
|
+
'states': Array<StoreLocationEnum>;
|
|
12224
12200
|
/**
|
|
12225
12201
|
*
|
|
12226
12202
|
* @type {string}
|
|
@@ -12308,6 +12284,16 @@ export interface StockTypeValue {
|
|
|
12308
12284
|
*/
|
|
12309
12285
|
'quantity': number;
|
|
12310
12286
|
}
|
|
12287
|
+
/**
|
|
12288
|
+
*
|
|
12289
|
+
* @export
|
|
12290
|
+
* @enum {string}
|
|
12291
|
+
*/
|
|
12292
|
+
export declare const StoreLocationEnum: {
|
|
12293
|
+
readonly DE: "DE";
|
|
12294
|
+
readonly TR: "TR";
|
|
12295
|
+
};
|
|
12296
|
+
export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
|
|
12311
12297
|
/**
|
|
12312
12298
|
*
|
|
12313
12299
|
* @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.17",
|
|
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": "6d9bea3a0ec14c5d80e25b6f7ee0deb96bc3bea5"
|
|
41
41
|
}
|