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