@infisale-client/api-client 1.2.51 → 1.2.53
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 +136 -16
- package/dist/api/api.js +11 -3
- package/dist/api/api.mjs +8 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -920,18 +920,6 @@ export interface IBasketSummary {
|
|
|
920
920
|
* @memberof IBasketSummary
|
|
921
921
|
*/
|
|
922
922
|
'tax': number;
|
|
923
|
-
/**
|
|
924
|
-
*
|
|
925
|
-
* @type {number}
|
|
926
|
-
* @memberof IBasketSummary
|
|
927
|
-
*/
|
|
928
|
-
'shipping': number;
|
|
929
|
-
/**
|
|
930
|
-
*
|
|
931
|
-
* @type {boolean}
|
|
932
|
-
* @memberof IBasketSummary
|
|
933
|
-
*/
|
|
934
|
-
'freeShipping': boolean;
|
|
935
923
|
/**
|
|
936
924
|
*
|
|
937
925
|
* @type {number}
|
|
@@ -2158,6 +2146,12 @@ export interface ICompany {
|
|
|
2158
2146
|
* @memberof ICompany
|
|
2159
2147
|
*/
|
|
2160
2148
|
'paymentGateways': Array<ICompanyPatchRequestPaymentGatewaysInner>;
|
|
2149
|
+
/**
|
|
2150
|
+
*
|
|
2151
|
+
* @type {Array<ShippingProvider>}
|
|
2152
|
+
* @memberof ICompany
|
|
2153
|
+
*/
|
|
2154
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
2161
2155
|
/**
|
|
2162
2156
|
*
|
|
2163
2157
|
* @type {CompanyStatusEnum}
|
|
@@ -2353,6 +2347,12 @@ export interface ICompanyAdminResponse {
|
|
|
2353
2347
|
* @memberof ICompanyAdminResponse
|
|
2354
2348
|
*/
|
|
2355
2349
|
'senderName'?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
*
|
|
2352
|
+
* @type {Array<ShippingProvider>}
|
|
2353
|
+
* @memberof ICompanyAdminResponse
|
|
2354
|
+
*/
|
|
2355
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
2356
2356
|
/**
|
|
2357
2357
|
*
|
|
2358
2358
|
* @type {PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRoles}
|
|
@@ -3079,6 +3079,12 @@ export interface ICompanyResponse {
|
|
|
3079
3079
|
* @memberof ICompanyResponse
|
|
3080
3080
|
*/
|
|
3081
3081
|
'senderName'?: string;
|
|
3082
|
+
/**
|
|
3083
|
+
*
|
|
3084
|
+
* @type {Array<ShippingProvider>}
|
|
3085
|
+
* @memberof ICompanyResponse
|
|
3086
|
+
*/
|
|
3087
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
3082
3088
|
/**
|
|
3083
3089
|
*
|
|
3084
3090
|
* @type {PickICompanyNameOrDomainsOrIdOrLanguage}
|
|
@@ -3516,6 +3522,19 @@ export interface ICompanyUpdatePaymentGatewaysRequestPaymentGatewaysInner {
|
|
|
3516
3522
|
*/
|
|
3517
3523
|
'_id'?: string;
|
|
3518
3524
|
}
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @export
|
|
3528
|
+
* @interface ICompanyUpdateShippingProvidersRequest
|
|
3529
|
+
*/
|
|
3530
|
+
export interface ICompanyUpdateShippingProvidersRequest {
|
|
3531
|
+
/**
|
|
3532
|
+
*
|
|
3533
|
+
* @type {Array<ShippingProvider>}
|
|
3534
|
+
* @memberof ICompanyUpdateShippingProvidersRequest
|
|
3535
|
+
*/
|
|
3536
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
3537
|
+
}
|
|
3519
3538
|
/**
|
|
3520
3539
|
*
|
|
3521
3540
|
* @export
|
|
@@ -5104,6 +5123,12 @@ export interface IOrderPostRequest {
|
|
|
5104
5123
|
* @memberof IOrderPostRequest
|
|
5105
5124
|
*/
|
|
5106
5125
|
'cardCvv'?: number;
|
|
5126
|
+
/**
|
|
5127
|
+
*
|
|
5128
|
+
* @type {string}
|
|
5129
|
+
* @memberof IOrderPostRequest
|
|
5130
|
+
*/
|
|
5131
|
+
'shippingRateId': string;
|
|
5107
5132
|
}
|
|
5108
5133
|
/**
|
|
5109
5134
|
*
|
|
@@ -5233,10 +5258,10 @@ export interface IOrderResponse {
|
|
|
5233
5258
|
'shipping': number;
|
|
5234
5259
|
/**
|
|
5235
5260
|
*
|
|
5236
|
-
* @type {
|
|
5261
|
+
* @type {string}
|
|
5237
5262
|
* @memberof IOrderResponse
|
|
5238
5263
|
*/
|
|
5239
|
-
'
|
|
5264
|
+
'shippingRate': string;
|
|
5240
5265
|
/**
|
|
5241
5266
|
*
|
|
5242
5267
|
* @type {number}
|
|
@@ -8412,6 +8437,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
8412
8437
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8413
8438
|
*/
|
|
8414
8439
|
'senderName'?: string;
|
|
8440
|
+
/**
|
|
8441
|
+
*
|
|
8442
|
+
* @type {Array<ShippingProvider>}
|
|
8443
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
8444
|
+
*/
|
|
8445
|
+
'shippingProviders': Array<ShippingProvider>;
|
|
8415
8446
|
}
|
|
8416
8447
|
/**
|
|
8417
8448
|
*
|
|
@@ -8779,10 +8810,10 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
|
8779
8810
|
'shipping': number;
|
|
8780
8811
|
/**
|
|
8781
8812
|
*
|
|
8782
|
-
* @type {
|
|
8813
|
+
* @type {string}
|
|
8783
8814
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8784
8815
|
*/
|
|
8785
|
-
'
|
|
8816
|
+
'shippingRate': string;
|
|
8786
8817
|
/**
|
|
8787
8818
|
*
|
|
8788
8819
|
* @type {number}
|
|
@@ -9866,6 +9897,95 @@ export interface RecordCurrencyEnumNumber {
|
|
|
9866
9897
|
*/
|
|
9867
9898
|
'jpy': number;
|
|
9868
9899
|
}
|
|
9900
|
+
/**
|
|
9901
|
+
*
|
|
9902
|
+
* @export
|
|
9903
|
+
* @interface ShippingPoviderRates
|
|
9904
|
+
*/
|
|
9905
|
+
export interface ShippingPoviderRates {
|
|
9906
|
+
/**
|
|
9907
|
+
*
|
|
9908
|
+
* @type {number}
|
|
9909
|
+
* @memberof ShippingPoviderRates
|
|
9910
|
+
*/
|
|
9911
|
+
'price': number;
|
|
9912
|
+
/**
|
|
9913
|
+
*
|
|
9914
|
+
* @type {number}
|
|
9915
|
+
* @memberof ShippingPoviderRates
|
|
9916
|
+
*/
|
|
9917
|
+
'max'?: number;
|
|
9918
|
+
/**
|
|
9919
|
+
*
|
|
9920
|
+
* @type {number}
|
|
9921
|
+
* @memberof ShippingPoviderRates
|
|
9922
|
+
*/
|
|
9923
|
+
'min'?: number;
|
|
9924
|
+
/**
|
|
9925
|
+
*
|
|
9926
|
+
* @type {ShippingPricingTypeEnum}
|
|
9927
|
+
* @memberof ShippingPoviderRates
|
|
9928
|
+
*/
|
|
9929
|
+
'type'?: ShippingPricingTypeEnum;
|
|
9930
|
+
/**
|
|
9931
|
+
*
|
|
9932
|
+
* @type {string}
|
|
9933
|
+
* @memberof ShippingPoviderRates
|
|
9934
|
+
*/
|
|
9935
|
+
'description': string;
|
|
9936
|
+
/**
|
|
9937
|
+
*
|
|
9938
|
+
* @type {string}
|
|
9939
|
+
* @memberof ShippingPoviderRates
|
|
9940
|
+
*/
|
|
9941
|
+
'title': string;
|
|
9942
|
+
/**
|
|
9943
|
+
*
|
|
9944
|
+
* @type {string}
|
|
9945
|
+
* @memberof ShippingPoviderRates
|
|
9946
|
+
*/
|
|
9947
|
+
'_id': string;
|
|
9948
|
+
}
|
|
9949
|
+
/**
|
|
9950
|
+
*
|
|
9951
|
+
* @export
|
|
9952
|
+
* @enum {string}
|
|
9953
|
+
*/
|
|
9954
|
+
export declare const ShippingPricingTypeEnum: {
|
|
9955
|
+
readonly PRICE: "price";
|
|
9956
|
+
};
|
|
9957
|
+
export type ShippingPricingTypeEnum = typeof ShippingPricingTypeEnum[keyof typeof ShippingPricingTypeEnum];
|
|
9958
|
+
/**
|
|
9959
|
+
*
|
|
9960
|
+
* @export
|
|
9961
|
+
* @interface ShippingProvider
|
|
9962
|
+
*/
|
|
9963
|
+
export interface ShippingProvider {
|
|
9964
|
+
/**
|
|
9965
|
+
*
|
|
9966
|
+
* @type {Array<ShippingPoviderRates>}
|
|
9967
|
+
* @memberof ShippingProvider
|
|
9968
|
+
*/
|
|
9969
|
+
'rates': Array<ShippingPoviderRates>;
|
|
9970
|
+
/**
|
|
9971
|
+
*
|
|
9972
|
+
* @type {Array<string>}
|
|
9973
|
+
* @memberof ShippingProvider
|
|
9974
|
+
*/
|
|
9975
|
+
'states': Array<string>;
|
|
9976
|
+
/**
|
|
9977
|
+
*
|
|
9978
|
+
* @type {string}
|
|
9979
|
+
* @memberof ShippingProvider
|
|
9980
|
+
*/
|
|
9981
|
+
'title': string;
|
|
9982
|
+
/**
|
|
9983
|
+
*
|
|
9984
|
+
* @type {string}
|
|
9985
|
+
* @memberof ShippingProvider
|
|
9986
|
+
*/
|
|
9987
|
+
'_id': string;
|
|
9988
|
+
}
|
|
9869
9989
|
/**
|
|
9870
9990
|
*
|
|
9871
9991
|
* @export
|
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.UserApi = exports.UserApiFactory = exports.UserApiFp = void 0;
|
|
19
|
+
exports.ShippingPricingTypeEnum = 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 = exports.ButtonVariantEnum = void 0;
|
|
20
|
+
exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = 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.TemplateTypeEnum = exports.SitemapTypeEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -715,6 +715,14 @@ exports.ProductDetailImageZoomTypeEnum = {
|
|
|
715
715
|
DIALOG: 'dialog',
|
|
716
716
|
NONE: 'none'
|
|
717
717
|
};
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @export
|
|
721
|
+
* @enum {string}
|
|
722
|
+
*/
|
|
723
|
+
exports.ShippingPricingTypeEnum = {
|
|
724
|
+
PRICE: 'price'
|
|
725
|
+
};
|
|
718
726
|
/**
|
|
719
727
|
*
|
|
720
728
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -704,6 +704,14 @@ export const ProductDetailImageZoomTypeEnum = {
|
|
|
704
704
|
DIALOG: 'dialog',
|
|
705
705
|
NONE: 'none'
|
|
706
706
|
};
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @export
|
|
710
|
+
* @enum {string}
|
|
711
|
+
*/
|
|
712
|
+
export const ShippingPricingTypeEnum = {
|
|
713
|
+
PRICE: 'price'
|
|
714
|
+
};
|
|
707
715
|
/**
|
|
708
716
|
*
|
|
709
717
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.53",
|
|
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": "f9a05a541e6d0d8946740fbeb3c5d9bc3cefa28c"
|
|
41
41
|
}
|