@infisale-client/api 1.2.102 → 1.2.104
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 +177 -7
- package/dist/api/api.js +2 -1
- package/dist/api/api.mjs +2 -1
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2764,10 +2764,10 @@ export interface ICompanyDashboardResponse {
|
|
|
2764
2764
|
'period': ICompanyDashboardResponsePeriodEnum;
|
|
2765
2765
|
/**
|
|
2766
2766
|
*
|
|
2767
|
-
* @type {Array<
|
|
2767
|
+
* @type {Array<IOrderResponse>}
|
|
2768
2768
|
* @memberof ICompanyDashboardResponse
|
|
2769
2769
|
*/
|
|
2770
|
-
'lastOrders': Array<
|
|
2770
|
+
'lastOrders': Array<IOrderResponse>;
|
|
2771
2771
|
/**
|
|
2772
2772
|
*
|
|
2773
2773
|
* @type {Array<PickIProductIdOrContentsOrTotalSale>}
|
|
@@ -2791,6 +2791,7 @@ export declare const ICompanyDashboardResponsePeriodEnum: {
|
|
|
2791
2791
|
readonly DAY: "day";
|
|
2792
2792
|
readonly MONTH: "month";
|
|
2793
2793
|
readonly WEEK: "week";
|
|
2794
|
+
readonly HOUR: "hour";
|
|
2794
2795
|
};
|
|
2795
2796
|
export type ICompanyDashboardResponsePeriodEnum = typeof ICompanyDashboardResponsePeriodEnum[keyof typeof ICompanyDashboardResponsePeriodEnum];
|
|
2796
2797
|
/**
|
|
@@ -5418,6 +5419,175 @@ export interface IOrderPostRequest {
|
|
|
5418
5419
|
*/
|
|
5419
5420
|
'shippingRateId': string;
|
|
5420
5421
|
}
|
|
5422
|
+
/**
|
|
5423
|
+
*
|
|
5424
|
+
* @export
|
|
5425
|
+
* @interface IOrderResponse
|
|
5426
|
+
*/
|
|
5427
|
+
export interface IOrderResponse {
|
|
5428
|
+
/**
|
|
5429
|
+
*
|
|
5430
|
+
* @type {number}
|
|
5431
|
+
* @memberof IOrderResponse
|
|
5432
|
+
*/
|
|
5433
|
+
'number': number;
|
|
5434
|
+
/**
|
|
5435
|
+
*
|
|
5436
|
+
* @type {string}
|
|
5437
|
+
* @memberof IOrderResponse
|
|
5438
|
+
*/
|
|
5439
|
+
'email'?: string;
|
|
5440
|
+
/**
|
|
5441
|
+
*
|
|
5442
|
+
* @type {string}
|
|
5443
|
+
* @memberof IOrderResponse
|
|
5444
|
+
*/
|
|
5445
|
+
'company': string;
|
|
5446
|
+
/**
|
|
5447
|
+
*
|
|
5448
|
+
* @type {OrderStatusEnum}
|
|
5449
|
+
* @memberof IOrderResponse
|
|
5450
|
+
*/
|
|
5451
|
+
'status': OrderStatusEnum;
|
|
5452
|
+
/**
|
|
5453
|
+
*
|
|
5454
|
+
* @type {string}
|
|
5455
|
+
* @memberof IOrderResponse
|
|
5456
|
+
*/
|
|
5457
|
+
'_id': string;
|
|
5458
|
+
/**
|
|
5459
|
+
*
|
|
5460
|
+
* @type {number}
|
|
5461
|
+
* @memberof IOrderResponse
|
|
5462
|
+
*/
|
|
5463
|
+
'__v': number;
|
|
5464
|
+
/**
|
|
5465
|
+
*
|
|
5466
|
+
* @type {string}
|
|
5467
|
+
* @memberof IOrderResponse
|
|
5468
|
+
*/
|
|
5469
|
+
'createdAt': string;
|
|
5470
|
+
/**
|
|
5471
|
+
*
|
|
5472
|
+
* @type {string}
|
|
5473
|
+
* @memberof IOrderResponse
|
|
5474
|
+
*/
|
|
5475
|
+
'updatedAt': string;
|
|
5476
|
+
/**
|
|
5477
|
+
*
|
|
5478
|
+
* @type {string}
|
|
5479
|
+
* @memberof IOrderResponse
|
|
5480
|
+
*/
|
|
5481
|
+
'user'?: string;
|
|
5482
|
+
/**
|
|
5483
|
+
*
|
|
5484
|
+
* @type {CurrencyEnum}
|
|
5485
|
+
* @memberof IOrderResponse
|
|
5486
|
+
*/
|
|
5487
|
+
'currency': CurrencyEnum;
|
|
5488
|
+
/**
|
|
5489
|
+
*
|
|
5490
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
|
|
5491
|
+
* @memberof IOrderResponse
|
|
5492
|
+
*/
|
|
5493
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
|
|
5494
|
+
/**
|
|
5495
|
+
*
|
|
5496
|
+
* @type {IAddress}
|
|
5497
|
+
* @memberof IOrderResponse
|
|
5498
|
+
*/
|
|
5499
|
+
'shippingAddress': IAddress;
|
|
5500
|
+
/**
|
|
5501
|
+
*
|
|
5502
|
+
* @type {IAddress}
|
|
5503
|
+
* @memberof IOrderResponse
|
|
5504
|
+
*/
|
|
5505
|
+
'billingAddress'?: IAddress;
|
|
5506
|
+
/**
|
|
5507
|
+
*
|
|
5508
|
+
* @type {PaymentMethodEnum}
|
|
5509
|
+
* @memberof IOrderResponse
|
|
5510
|
+
*/
|
|
5511
|
+
'paymentMethod': PaymentMethodEnum;
|
|
5512
|
+
/**
|
|
5513
|
+
*
|
|
5514
|
+
* @type {PaymentGatewayEnum}
|
|
5515
|
+
* @memberof IOrderResponse
|
|
5516
|
+
*/
|
|
5517
|
+
'paymentGateway': PaymentGatewayEnum;
|
|
5518
|
+
/**
|
|
5519
|
+
*
|
|
5520
|
+
* @type {string}
|
|
5521
|
+
* @memberof IOrderResponse
|
|
5522
|
+
*/
|
|
5523
|
+
'paymentId': string;
|
|
5524
|
+
/**
|
|
5525
|
+
*
|
|
5526
|
+
* @type {number}
|
|
5527
|
+
* @memberof IOrderResponse
|
|
5528
|
+
*/
|
|
5529
|
+
'subtotal': number;
|
|
5530
|
+
/**
|
|
5531
|
+
*
|
|
5532
|
+
* @type {number}
|
|
5533
|
+
* @memberof IOrderResponse
|
|
5534
|
+
*/
|
|
5535
|
+
'discount': number;
|
|
5536
|
+
/**
|
|
5537
|
+
*
|
|
5538
|
+
* @type {number}
|
|
5539
|
+
* @memberof IOrderResponse
|
|
5540
|
+
*/
|
|
5541
|
+
'tax': number;
|
|
5542
|
+
/**
|
|
5543
|
+
*
|
|
5544
|
+
* @type {number}
|
|
5545
|
+
* @memberof IOrderResponse
|
|
5546
|
+
*/
|
|
5547
|
+
'shipping': number;
|
|
5548
|
+
/**
|
|
5549
|
+
*
|
|
5550
|
+
* @type {string}
|
|
5551
|
+
* @memberof IOrderResponse
|
|
5552
|
+
*/
|
|
5553
|
+
'shippingRate': string;
|
|
5554
|
+
/**
|
|
5555
|
+
*
|
|
5556
|
+
* @type {number}
|
|
5557
|
+
* @memberof IOrderResponse
|
|
5558
|
+
*/
|
|
5559
|
+
'total': number;
|
|
5560
|
+
/**
|
|
5561
|
+
*
|
|
5562
|
+
* @type {string}
|
|
5563
|
+
* @memberof IOrderResponse
|
|
5564
|
+
*/
|
|
5565
|
+
'note'?: string;
|
|
5566
|
+
/**
|
|
5567
|
+
*
|
|
5568
|
+
* @type {string}
|
|
5569
|
+
* @memberof IOrderResponse
|
|
5570
|
+
*/
|
|
5571
|
+
'ip': string;
|
|
5572
|
+
/**
|
|
5573
|
+
*
|
|
5574
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
5575
|
+
* @memberof IOrderResponse
|
|
5576
|
+
*/
|
|
5577
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
5578
|
+
/**
|
|
5579
|
+
*
|
|
5580
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
|
|
5581
|
+
* @memberof IOrderResponse
|
|
5582
|
+
*/
|
|
5583
|
+
'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
|
|
5584
|
+
/**
|
|
5585
|
+
*
|
|
5586
|
+
* @type {OrderPaymentStatusEnum}
|
|
5587
|
+
* @memberof IOrderResponse
|
|
5588
|
+
*/
|
|
5589
|
+
'paymentStatus': OrderPaymentStatusEnum;
|
|
5590
|
+
}
|
|
5421
5591
|
/**
|
|
5422
5592
|
*
|
|
5423
5593
|
* @export
|
|
@@ -5715,10 +5885,10 @@ export interface IOrdersResponse {
|
|
|
5715
5885
|
'totalPages': number;
|
|
5716
5886
|
/**
|
|
5717
5887
|
*
|
|
5718
|
-
* @type {Array<
|
|
5888
|
+
* @type {Array<IOrderResponse>}
|
|
5719
5889
|
* @memberof IOrdersResponse
|
|
5720
5890
|
*/
|
|
5721
|
-
'data': Array<
|
|
5891
|
+
'data': Array<IOrderResponse>;
|
|
5722
5892
|
}
|
|
5723
5893
|
/**
|
|
5724
5894
|
*
|
|
@@ -17390,7 +17560,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
17390
17560
|
* @param {*} [options] Override http request option.
|
|
17391
17561
|
* @throws {RequiredError}
|
|
17392
17562
|
*/
|
|
17393
|
-
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17563
|
+
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
|
|
17394
17564
|
/**
|
|
17395
17565
|
*
|
|
17396
17566
|
* @param {string} id
|
|
@@ -17512,7 +17682,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
17512
17682
|
* @param {*} [options] Override http request option.
|
|
17513
17683
|
* @throws {RequiredError}
|
|
17514
17684
|
*/
|
|
17515
|
-
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17685
|
+
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
|
|
17516
17686
|
/**
|
|
17517
17687
|
*
|
|
17518
17688
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -17981,7 +18151,7 @@ export declare class OrderApi extends BaseAPI {
|
|
|
17981
18151
|
* @throws {RequiredError}
|
|
17982
18152
|
* @memberof OrderApi
|
|
17983
18153
|
*/
|
|
17984
|
-
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
18154
|
+
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
|
|
17985
18155
|
/**
|
|
17986
18156
|
*
|
|
17987
18157
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -537,7 +537,8 @@ exports.ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
|
537
537
|
exports.ICompanyDashboardResponsePeriodEnum = {
|
|
538
538
|
DAY: 'day',
|
|
539
539
|
MONTH: 'month',
|
|
540
|
-
WEEK: 'week'
|
|
540
|
+
WEEK: 'week',
|
|
541
|
+
HOUR: 'hour'
|
|
541
542
|
};
|
|
542
543
|
exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
543
544
|
CREATED_AT: 'createdAt',
|
package/dist/api/api.mjs
CHANGED
|
@@ -525,7 +525,8 @@ export const ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
|
525
525
|
export const ICompanyDashboardResponsePeriodEnum = {
|
|
526
526
|
DAY: 'day',
|
|
527
527
|
MONTH: 'month',
|
|
528
|
-
WEEK: 'week'
|
|
528
|
+
WEEK: 'week',
|
|
529
|
+
HOUR: 'hour'
|
|
529
530
|
};
|
|
530
531
|
export const ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
531
532
|
CREATED_AT: 'createdAt',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.104",
|
|
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": "eb02187bf3598ac43bbed08345a34f3c7b04e7b8"
|
|
41
41
|
}
|