@infisale-client/api-client 1.2.53 → 1.2.54
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 +140 -3
- package/dist/api/api.js +26 -7
- package/dist/api/api.mjs +23 -4
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5274,6 +5274,30 @@ export interface IOrderResponse {
|
|
|
5274
5274
|
* @memberof IOrderResponse
|
|
5275
5275
|
*/
|
|
5276
5276
|
'note'?: string;
|
|
5277
|
+
/**
|
|
5278
|
+
*
|
|
5279
|
+
* @type {string}
|
|
5280
|
+
* @memberof IOrderResponse
|
|
5281
|
+
*/
|
|
5282
|
+
'cargoCode'?: string;
|
|
5283
|
+
/**
|
|
5284
|
+
*
|
|
5285
|
+
* @type {string}
|
|
5286
|
+
* @memberof IOrderResponse
|
|
5287
|
+
*/
|
|
5288
|
+
'cargoUrl'?: string;
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
5292
|
+
* @memberof IOrderResponse
|
|
5293
|
+
*/
|
|
5294
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
5295
|
+
/**
|
|
5296
|
+
*
|
|
5297
|
+
* @type {OrderPaymentStatusEnum}
|
|
5298
|
+
* @memberof IOrderResponse
|
|
5299
|
+
*/
|
|
5300
|
+
'paymentStatus': OrderPaymentStatusEnum;
|
|
5277
5301
|
}
|
|
5278
5302
|
/**
|
|
5279
5303
|
*
|
|
@@ -7892,14 +7916,35 @@ export type OrderEnum = typeof OrderEnum[keyof typeof OrderEnum];
|
|
|
7892
7916
|
* @export
|
|
7893
7917
|
* @enum {string}
|
|
7894
7918
|
*/
|
|
7895
|
-
export declare const
|
|
7919
|
+
export declare const OrderPaymentStatusEnum: {
|
|
7896
7920
|
readonly WAITING_PAYMENT: "waiting_payment";
|
|
7897
7921
|
readonly PAID: "paid";
|
|
7898
|
-
readonly
|
|
7922
|
+
readonly FAILED: "failed";
|
|
7923
|
+
};
|
|
7924
|
+
export type OrderPaymentStatusEnum = typeof OrderPaymentStatusEnum[keyof typeof OrderPaymentStatusEnum];
|
|
7925
|
+
/**
|
|
7926
|
+
*
|
|
7927
|
+
* @export
|
|
7928
|
+
* @enum {string}
|
|
7929
|
+
*/
|
|
7930
|
+
export declare const OrderReturnStatusEnum: {
|
|
7931
|
+
readonly WAITING_APPROVAL: "waiting_approval";
|
|
7932
|
+
readonly REJECTED: "rejected";
|
|
7933
|
+
readonly WAITING_RETURN: "waiting_return";
|
|
7934
|
+
readonly RETURNED: "returned";
|
|
7935
|
+
};
|
|
7936
|
+
export type OrderReturnStatusEnum = typeof OrderReturnStatusEnum[keyof typeof OrderReturnStatusEnum];
|
|
7937
|
+
/**
|
|
7938
|
+
*
|
|
7939
|
+
* @export
|
|
7940
|
+
* @enum {string}
|
|
7941
|
+
*/
|
|
7942
|
+
export declare const OrderStatusEnum: {
|
|
7943
|
+
readonly CANCELLED: "cancelled";
|
|
7944
|
+
readonly NOT_SHIPPED: "not_shipped";
|
|
7899
7945
|
readonly READY_TO_SHIP: "ready_to_ship";
|
|
7900
7946
|
readonly SHIPPED: "shipped";
|
|
7901
7947
|
readonly COMPLETED: "completed";
|
|
7902
|
-
readonly FAILED: "failed";
|
|
7903
7948
|
};
|
|
7904
7949
|
export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
|
|
7905
7950
|
/**
|
|
@@ -8826,6 +8871,30 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
|
|
|
8826
8871
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8827
8872
|
*/
|
|
8828
8873
|
'note'?: string;
|
|
8874
|
+
/**
|
|
8875
|
+
*
|
|
8876
|
+
* @type {string}
|
|
8877
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8878
|
+
*/
|
|
8879
|
+
'cargoCode'?: string;
|
|
8880
|
+
/**
|
|
8881
|
+
*
|
|
8882
|
+
* @type {string}
|
|
8883
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8884
|
+
*/
|
|
8885
|
+
'cargoUrl'?: string;
|
|
8886
|
+
/**
|
|
8887
|
+
*
|
|
8888
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
8889
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8890
|
+
*/
|
|
8891
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
8892
|
+
/**
|
|
8893
|
+
*
|
|
8894
|
+
* @type {OrderPaymentStatusEnum}
|
|
8895
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
|
|
8896
|
+
*/
|
|
8897
|
+
'paymentStatus': OrderPaymentStatusEnum;
|
|
8829
8898
|
}
|
|
8830
8899
|
/**
|
|
8831
8900
|
*
|
|
@@ -8893,6 +8962,74 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner {
|
|
|
8893
8962
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
8894
8963
|
*/
|
|
8895
8964
|
'productId': string;
|
|
8965
|
+
/**
|
|
8966
|
+
*
|
|
8967
|
+
* @type {string}
|
|
8968
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner
|
|
8969
|
+
*/
|
|
8970
|
+
'_id': string;
|
|
8971
|
+
}
|
|
8972
|
+
/**
|
|
8973
|
+
*
|
|
8974
|
+
* @export
|
|
8975
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
8976
|
+
*/
|
|
8977
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner {
|
|
8978
|
+
/**
|
|
8979
|
+
*
|
|
8980
|
+
* @type {string}
|
|
8981
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
8982
|
+
*/
|
|
8983
|
+
'returnedAt'?: string;
|
|
8984
|
+
/**
|
|
8985
|
+
*
|
|
8986
|
+
* @type {string}
|
|
8987
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
8988
|
+
*/
|
|
8989
|
+
'createdAt': string;
|
|
8990
|
+
/**
|
|
8991
|
+
*
|
|
8992
|
+
* @type {OrderReturnStatusEnum}
|
|
8993
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
8994
|
+
*/
|
|
8995
|
+
'status': OrderReturnStatusEnum;
|
|
8996
|
+
/**
|
|
8997
|
+
*
|
|
8998
|
+
* @type {string}
|
|
8999
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9000
|
+
*/
|
|
9001
|
+
'cargoUrl'?: string;
|
|
9002
|
+
/**
|
|
9003
|
+
*
|
|
9004
|
+
* @type {string}
|
|
9005
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9006
|
+
*/
|
|
9007
|
+
'cargoCode'?: string;
|
|
9008
|
+
/**
|
|
9009
|
+
*
|
|
9010
|
+
* @type {number}
|
|
9011
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9012
|
+
*/
|
|
9013
|
+
'price': number;
|
|
9014
|
+
/**
|
|
9015
|
+
*
|
|
9016
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>}
|
|
9017
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9018
|
+
*/
|
|
9019
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner>;
|
|
9020
|
+
/**
|
|
9021
|
+
*
|
|
9022
|
+
* @type {string}
|
|
9023
|
+
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner
|
|
9024
|
+
*/
|
|
9025
|
+
'_id': string;
|
|
9026
|
+
}
|
|
9027
|
+
/**
|
|
9028
|
+
*
|
|
9029
|
+
* @export
|
|
9030
|
+
* @interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner
|
|
9031
|
+
*/
|
|
9032
|
+
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInner {
|
|
8896
9033
|
}
|
|
8897
9034
|
/**
|
|
8898
9035
|
* From T, pick a set of properties whose keys are in the union K
|
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 = exports.UserApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = 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.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 = exports.ShippingPricingTypeEnum = exports.ProductDetailImageZoomTypeEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -631,14 +631,33 @@ exports.OrderEnum = {
|
|
|
631
631
|
* @export
|
|
632
632
|
* @enum {string}
|
|
633
633
|
*/
|
|
634
|
-
exports.
|
|
634
|
+
exports.OrderPaymentStatusEnum = {
|
|
635
635
|
WAITING_PAYMENT: 'waiting_payment',
|
|
636
636
|
PAID: 'paid',
|
|
637
|
-
|
|
637
|
+
FAILED: 'failed'
|
|
638
|
+
};
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @export
|
|
642
|
+
* @enum {string}
|
|
643
|
+
*/
|
|
644
|
+
exports.OrderReturnStatusEnum = {
|
|
645
|
+
WAITING_APPROVAL: 'waiting_approval',
|
|
646
|
+
REJECTED: 'rejected',
|
|
647
|
+
WAITING_RETURN: 'waiting_return',
|
|
648
|
+
RETURNED: 'returned'
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @enum {string}
|
|
654
|
+
*/
|
|
655
|
+
exports.OrderStatusEnum = {
|
|
656
|
+
CANCELLED: 'cancelled',
|
|
657
|
+
NOT_SHIPPED: 'not_shipped',
|
|
638
658
|
READY_TO_SHIP: 'ready_to_ship',
|
|
639
659
|
SHIPPED: 'shipped',
|
|
640
|
-
COMPLETED: 'completed'
|
|
641
|
-
FAILED: 'failed'
|
|
660
|
+
COMPLETED: 'completed'
|
|
642
661
|
};
|
|
643
662
|
/**
|
|
644
663
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -620,14 +620,33 @@ export const OrderEnum = {
|
|
|
620
620
|
* @export
|
|
621
621
|
* @enum {string}
|
|
622
622
|
*/
|
|
623
|
-
export const
|
|
623
|
+
export const OrderPaymentStatusEnum = {
|
|
624
624
|
WAITING_PAYMENT: 'waiting_payment',
|
|
625
625
|
PAID: 'paid',
|
|
626
|
-
|
|
626
|
+
FAILED: 'failed'
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* @export
|
|
631
|
+
* @enum {string}
|
|
632
|
+
*/
|
|
633
|
+
export const OrderReturnStatusEnum = {
|
|
634
|
+
WAITING_APPROVAL: 'waiting_approval',
|
|
635
|
+
REJECTED: 'rejected',
|
|
636
|
+
WAITING_RETURN: 'waiting_return',
|
|
637
|
+
RETURNED: 'returned'
|
|
638
|
+
};
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @export
|
|
642
|
+
* @enum {string}
|
|
643
|
+
*/
|
|
644
|
+
export const OrderStatusEnum = {
|
|
645
|
+
CANCELLED: 'cancelled',
|
|
646
|
+
NOT_SHIPPED: 'not_shipped',
|
|
627
647
|
READY_TO_SHIP: 'ready_to_ship',
|
|
628
648
|
SHIPPED: 'shipped',
|
|
629
|
-
COMPLETED: 'completed'
|
|
630
|
-
FAILED: 'failed'
|
|
649
|
+
COMPLETED: 'completed'
|
|
631
650
|
};
|
|
632
651
|
/**
|
|
633
652
|
*
|
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.54",
|
|
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": "06af9e7831c4470bfe4ec03484f9ded54fdedb56"
|
|
41
41
|
}
|