@infisale-client/api 1.2.56 → 1.2.58
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 +91 -38
- package/dist/api/api.js +12 -3
- package/dist/api/api.mjs +9 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5087,6 +5087,81 @@ export interface IOrderPatchRequest {
|
|
|
5087
5087
|
* @memberof IOrderPatchRequest
|
|
5088
5088
|
*/
|
|
5089
5089
|
'cargoUrl'?: string;
|
|
5090
|
+
/**
|
|
5091
|
+
*
|
|
5092
|
+
* @type {Array<IOrderPatchRequestShippedInner>}
|
|
5093
|
+
* @memberof IOrderPatchRequest
|
|
5094
|
+
*/
|
|
5095
|
+
'shipped'?: Array<IOrderPatchRequestShippedInner>;
|
|
5096
|
+
}
|
|
5097
|
+
/**
|
|
5098
|
+
*
|
|
5099
|
+
* @export
|
|
5100
|
+
* @interface IOrderPatchRequestShippedInner
|
|
5101
|
+
*/
|
|
5102
|
+
export interface IOrderPatchRequestShippedInner {
|
|
5103
|
+
/**
|
|
5104
|
+
*
|
|
5105
|
+
* @type {OrderShippedStatusEnum}
|
|
5106
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5107
|
+
*/
|
|
5108
|
+
'status': OrderShippedStatusEnum;
|
|
5109
|
+
/**
|
|
5110
|
+
*
|
|
5111
|
+
* @type {string}
|
|
5112
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5113
|
+
*/
|
|
5114
|
+
'warehouse': string;
|
|
5115
|
+
/**
|
|
5116
|
+
*
|
|
5117
|
+
* @type {string}
|
|
5118
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5119
|
+
*/
|
|
5120
|
+
'cargoUrl'?: string;
|
|
5121
|
+
/**
|
|
5122
|
+
*
|
|
5123
|
+
* @type {string}
|
|
5124
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5125
|
+
*/
|
|
5126
|
+
'cargoCode'?: string;
|
|
5127
|
+
/**
|
|
5128
|
+
*
|
|
5129
|
+
* @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
|
|
5130
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5131
|
+
*/
|
|
5132
|
+
'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
|
|
5133
|
+
/**
|
|
5134
|
+
*
|
|
5135
|
+
* @type {string}
|
|
5136
|
+
* @memberof IOrderPatchRequestShippedInner
|
|
5137
|
+
*/
|
|
5138
|
+
'_id': string;
|
|
5139
|
+
}
|
|
5140
|
+
/**
|
|
5141
|
+
*
|
|
5142
|
+
* @export
|
|
5143
|
+
* @interface IOrderPatchRequestShippedInnerProductsInner
|
|
5144
|
+
*/
|
|
5145
|
+
export interface IOrderPatchRequestShippedInnerProductsInner {
|
|
5146
|
+
/**
|
|
5147
|
+
*
|
|
5148
|
+
* @type {number}
|
|
5149
|
+
* @memberof IOrderPatchRequestShippedInnerProductsInner
|
|
5150
|
+
*/
|
|
5151
|
+
'amount': number;
|
|
5152
|
+
/**
|
|
5153
|
+
*
|
|
5154
|
+
* @type {IOrderPatchRequestShippedInnerProductsInnerId}
|
|
5155
|
+
* @memberof IOrderPatchRequestShippedInnerProductsInner
|
|
5156
|
+
*/
|
|
5157
|
+
'_id': IOrderPatchRequestShippedInnerProductsInnerId;
|
|
5158
|
+
}
|
|
5159
|
+
/**
|
|
5160
|
+
*
|
|
5161
|
+
* @export
|
|
5162
|
+
* @interface IOrderPatchRequestShippedInnerProductsInnerId
|
|
5163
|
+
*/
|
|
5164
|
+
export interface IOrderPatchRequestShippedInnerProductsInnerId {
|
|
5090
5165
|
}
|
|
5091
5166
|
/**
|
|
5092
5167
|
*
|
|
@@ -5332,10 +5407,10 @@ export interface IOrderResponse {
|
|
|
5332
5407
|
export interface IOrderReturnAdminPostRequest {
|
|
5333
5408
|
/**
|
|
5334
5409
|
*
|
|
5335
|
-
* @type {Array<
|
|
5410
|
+
* @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
|
|
5336
5411
|
* @memberof IOrderReturnAdminPostRequest
|
|
5337
5412
|
*/
|
|
5338
|
-
'products': Array<
|
|
5413
|
+
'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
|
|
5339
5414
|
/**
|
|
5340
5415
|
*
|
|
5341
5416
|
* @type {number}
|
|
@@ -5369,36 +5444,10 @@ export interface IOrderReturnAdminPostRequest {
|
|
|
5369
5444
|
export interface IOrderReturnPostRequest {
|
|
5370
5445
|
/**
|
|
5371
5446
|
*
|
|
5372
|
-
* @type {Array<
|
|
5447
|
+
* @type {Array<IOrderPatchRequestShippedInnerProductsInner>}
|
|
5373
5448
|
* @memberof IOrderReturnPostRequest
|
|
5374
5449
|
*/
|
|
5375
|
-
'products': Array<
|
|
5376
|
-
}
|
|
5377
|
-
/**
|
|
5378
|
-
*
|
|
5379
|
-
* @export
|
|
5380
|
-
* @interface IOrderReturnPostRequestProductsInner
|
|
5381
|
-
*/
|
|
5382
|
-
export interface IOrderReturnPostRequestProductsInner {
|
|
5383
|
-
/**
|
|
5384
|
-
*
|
|
5385
|
-
* @type {number}
|
|
5386
|
-
* @memberof IOrderReturnPostRequestProductsInner
|
|
5387
|
-
*/
|
|
5388
|
-
'amount': number;
|
|
5389
|
-
/**
|
|
5390
|
-
*
|
|
5391
|
-
* @type {IOrderReturnPostRequestProductsInnerId}
|
|
5392
|
-
* @memberof IOrderReturnPostRequestProductsInner
|
|
5393
|
-
*/
|
|
5394
|
-
'_id': IOrderReturnPostRequestProductsInnerId;
|
|
5395
|
-
}
|
|
5396
|
-
/**
|
|
5397
|
-
*
|
|
5398
|
-
* @export
|
|
5399
|
-
* @interface IOrderReturnPostRequestProductsInnerId
|
|
5400
|
-
*/
|
|
5401
|
-
export interface IOrderReturnPostRequestProductsInnerId {
|
|
5450
|
+
'products': Array<IOrderPatchRequestShippedInnerProductsInner>;
|
|
5402
5451
|
}
|
|
5403
5452
|
/**
|
|
5404
5453
|
*
|
|
@@ -8066,6 +8115,16 @@ export declare const OrderReturnStatusEnum: {
|
|
|
8066
8115
|
readonly RETURNED: "returned";
|
|
8067
8116
|
};
|
|
8068
8117
|
export type OrderReturnStatusEnum = typeof OrderReturnStatusEnum[keyof typeof OrderReturnStatusEnum];
|
|
8118
|
+
/**
|
|
8119
|
+
*
|
|
8120
|
+
* @export
|
|
8121
|
+
* @enum {string}
|
|
8122
|
+
*/
|
|
8123
|
+
export declare const OrderShippedStatusEnum: {
|
|
8124
|
+
readonly SHIPPED: "shipped";
|
|
8125
|
+
readonly COMPLETED: "completed";
|
|
8126
|
+
};
|
|
8127
|
+
export type OrderShippedStatusEnum = typeof OrderShippedStatusEnum[keyof typeof OrderShippedStatusEnum];
|
|
8069
8128
|
/**
|
|
8070
8129
|
*
|
|
8071
8130
|
* @export
|
|
@@ -9175,16 +9234,10 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInnerProductsInn
|
|
|
9175
9234
|
export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner {
|
|
9176
9235
|
/**
|
|
9177
9236
|
*
|
|
9178
|
-
* @type {
|
|
9179
|
-
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9180
|
-
*/
|
|
9181
|
-
'status': OrderReturnStatusEnum;
|
|
9182
|
-
/**
|
|
9183
|
-
*
|
|
9184
|
-
* @type {string}
|
|
9237
|
+
* @type {OrderShippedStatusEnum}
|
|
9185
9238
|
* @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner
|
|
9186
9239
|
*/
|
|
9187
|
-
'
|
|
9240
|
+
'status': OrderShippedStatusEnum;
|
|
9188
9241
|
/**
|
|
9189
9242
|
*
|
|
9190
9243
|
* @type {string}
|
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.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.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 = void 0;
|
|
19
|
+
exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = 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.FileApi = 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.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = void 0;
|
|
21
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.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 = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -647,6 +647,15 @@ exports.OrderReturnStatusEnum = {
|
|
|
647
647
|
WAITING_RETURN: 'waiting_return',
|
|
648
648
|
RETURNED: 'returned'
|
|
649
649
|
};
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @enum {string}
|
|
654
|
+
*/
|
|
655
|
+
exports.OrderShippedStatusEnum = {
|
|
656
|
+
SHIPPED: 'shipped',
|
|
657
|
+
COMPLETED: 'completed'
|
|
658
|
+
};
|
|
650
659
|
/**
|
|
651
660
|
*
|
|
652
661
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -636,6 +636,15 @@ export const OrderReturnStatusEnum = {
|
|
|
636
636
|
WAITING_RETURN: 'waiting_return',
|
|
637
637
|
RETURNED: 'returned'
|
|
638
638
|
};
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @export
|
|
642
|
+
* @enum {string}
|
|
643
|
+
*/
|
|
644
|
+
export const OrderShippedStatusEnum = {
|
|
645
|
+
SHIPPED: 'shipped',
|
|
646
|
+
COMPLETED: 'completed'
|
|
647
|
+
};
|
|
639
648
|
/**
|
|
640
649
|
*
|
|
641
650
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.58",
|
|
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": "b788eb30cab38d447b43ae9457cc26ead35f53a7"
|
|
41
41
|
}
|