@infisale-client/api-client 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
|
@@ -2751,10 +2751,10 @@ export interface ICompanyDashboardResponse {
|
|
|
2751
2751
|
'period': ICompanyDashboardResponsePeriodEnum;
|
|
2752
2752
|
/**
|
|
2753
2753
|
*
|
|
2754
|
-
* @type {Array<
|
|
2754
|
+
* @type {Array<IOrderResponse>}
|
|
2755
2755
|
* @memberof ICompanyDashboardResponse
|
|
2756
2756
|
*/
|
|
2757
|
-
'lastOrders': Array<
|
|
2757
|
+
'lastOrders': Array<IOrderResponse>;
|
|
2758
2758
|
/**
|
|
2759
2759
|
*
|
|
2760
2760
|
* @type {Array<PickIProductIdOrContentsOrTotalSale>}
|
|
@@ -2778,6 +2778,7 @@ export declare const ICompanyDashboardResponsePeriodEnum: {
|
|
|
2778
2778
|
readonly DAY: "day";
|
|
2779
2779
|
readonly MONTH: "month";
|
|
2780
2780
|
readonly WEEK: "week";
|
|
2781
|
+
readonly HOUR: "hour";
|
|
2781
2782
|
};
|
|
2782
2783
|
export type ICompanyDashboardResponsePeriodEnum = typeof ICompanyDashboardResponsePeriodEnum[keyof typeof ICompanyDashboardResponsePeriodEnum];
|
|
2783
2784
|
/**
|
|
@@ -5405,6 +5406,175 @@ export interface IOrderPostRequest {
|
|
|
5405
5406
|
*/
|
|
5406
5407
|
'shippingRateId': string;
|
|
5407
5408
|
}
|
|
5409
|
+
/**
|
|
5410
|
+
*
|
|
5411
|
+
* @export
|
|
5412
|
+
* @interface IOrderResponse
|
|
5413
|
+
*/
|
|
5414
|
+
export interface IOrderResponse {
|
|
5415
|
+
/**
|
|
5416
|
+
*
|
|
5417
|
+
* @type {number}
|
|
5418
|
+
* @memberof IOrderResponse
|
|
5419
|
+
*/
|
|
5420
|
+
'number': number;
|
|
5421
|
+
/**
|
|
5422
|
+
*
|
|
5423
|
+
* @type {string}
|
|
5424
|
+
* @memberof IOrderResponse
|
|
5425
|
+
*/
|
|
5426
|
+
'email'?: string;
|
|
5427
|
+
/**
|
|
5428
|
+
*
|
|
5429
|
+
* @type {string}
|
|
5430
|
+
* @memberof IOrderResponse
|
|
5431
|
+
*/
|
|
5432
|
+
'company': string;
|
|
5433
|
+
/**
|
|
5434
|
+
*
|
|
5435
|
+
* @type {OrderStatusEnum}
|
|
5436
|
+
* @memberof IOrderResponse
|
|
5437
|
+
*/
|
|
5438
|
+
'status': OrderStatusEnum;
|
|
5439
|
+
/**
|
|
5440
|
+
*
|
|
5441
|
+
* @type {string}
|
|
5442
|
+
* @memberof IOrderResponse
|
|
5443
|
+
*/
|
|
5444
|
+
'_id': string;
|
|
5445
|
+
/**
|
|
5446
|
+
*
|
|
5447
|
+
* @type {number}
|
|
5448
|
+
* @memberof IOrderResponse
|
|
5449
|
+
*/
|
|
5450
|
+
'__v': number;
|
|
5451
|
+
/**
|
|
5452
|
+
*
|
|
5453
|
+
* @type {string}
|
|
5454
|
+
* @memberof IOrderResponse
|
|
5455
|
+
*/
|
|
5456
|
+
'createdAt': string;
|
|
5457
|
+
/**
|
|
5458
|
+
*
|
|
5459
|
+
* @type {string}
|
|
5460
|
+
* @memberof IOrderResponse
|
|
5461
|
+
*/
|
|
5462
|
+
'updatedAt': string;
|
|
5463
|
+
/**
|
|
5464
|
+
*
|
|
5465
|
+
* @type {string}
|
|
5466
|
+
* @memberof IOrderResponse
|
|
5467
|
+
*/
|
|
5468
|
+
'user'?: string;
|
|
5469
|
+
/**
|
|
5470
|
+
*
|
|
5471
|
+
* @type {CurrencyEnum}
|
|
5472
|
+
* @memberof IOrderResponse
|
|
5473
|
+
*/
|
|
5474
|
+
'currency': CurrencyEnum;
|
|
5475
|
+
/**
|
|
5476
|
+
*
|
|
5477
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>}
|
|
5478
|
+
* @memberof IOrderResponse
|
|
5479
|
+
*/
|
|
5480
|
+
'products': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeProductsInner>;
|
|
5481
|
+
/**
|
|
5482
|
+
*
|
|
5483
|
+
* @type {IAddress}
|
|
5484
|
+
* @memberof IOrderResponse
|
|
5485
|
+
*/
|
|
5486
|
+
'shippingAddress': IAddress;
|
|
5487
|
+
/**
|
|
5488
|
+
*
|
|
5489
|
+
* @type {IAddress}
|
|
5490
|
+
* @memberof IOrderResponse
|
|
5491
|
+
*/
|
|
5492
|
+
'billingAddress'?: IAddress;
|
|
5493
|
+
/**
|
|
5494
|
+
*
|
|
5495
|
+
* @type {PaymentMethodEnum}
|
|
5496
|
+
* @memberof IOrderResponse
|
|
5497
|
+
*/
|
|
5498
|
+
'paymentMethod': PaymentMethodEnum;
|
|
5499
|
+
/**
|
|
5500
|
+
*
|
|
5501
|
+
* @type {PaymentGatewayEnum}
|
|
5502
|
+
* @memberof IOrderResponse
|
|
5503
|
+
*/
|
|
5504
|
+
'paymentGateway': PaymentGatewayEnum;
|
|
5505
|
+
/**
|
|
5506
|
+
*
|
|
5507
|
+
* @type {string}
|
|
5508
|
+
* @memberof IOrderResponse
|
|
5509
|
+
*/
|
|
5510
|
+
'paymentId': string;
|
|
5511
|
+
/**
|
|
5512
|
+
*
|
|
5513
|
+
* @type {number}
|
|
5514
|
+
* @memberof IOrderResponse
|
|
5515
|
+
*/
|
|
5516
|
+
'subtotal': number;
|
|
5517
|
+
/**
|
|
5518
|
+
*
|
|
5519
|
+
* @type {number}
|
|
5520
|
+
* @memberof IOrderResponse
|
|
5521
|
+
*/
|
|
5522
|
+
'discount': number;
|
|
5523
|
+
/**
|
|
5524
|
+
*
|
|
5525
|
+
* @type {number}
|
|
5526
|
+
* @memberof IOrderResponse
|
|
5527
|
+
*/
|
|
5528
|
+
'tax': number;
|
|
5529
|
+
/**
|
|
5530
|
+
*
|
|
5531
|
+
* @type {number}
|
|
5532
|
+
* @memberof IOrderResponse
|
|
5533
|
+
*/
|
|
5534
|
+
'shipping': number;
|
|
5535
|
+
/**
|
|
5536
|
+
*
|
|
5537
|
+
* @type {string}
|
|
5538
|
+
* @memberof IOrderResponse
|
|
5539
|
+
*/
|
|
5540
|
+
'shippingRate': string;
|
|
5541
|
+
/**
|
|
5542
|
+
*
|
|
5543
|
+
* @type {number}
|
|
5544
|
+
* @memberof IOrderResponse
|
|
5545
|
+
*/
|
|
5546
|
+
'total': number;
|
|
5547
|
+
/**
|
|
5548
|
+
*
|
|
5549
|
+
* @type {string}
|
|
5550
|
+
* @memberof IOrderResponse
|
|
5551
|
+
*/
|
|
5552
|
+
'note'?: string;
|
|
5553
|
+
/**
|
|
5554
|
+
*
|
|
5555
|
+
* @type {string}
|
|
5556
|
+
* @memberof IOrderResponse
|
|
5557
|
+
*/
|
|
5558
|
+
'ip': string;
|
|
5559
|
+
/**
|
|
5560
|
+
*
|
|
5561
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>}
|
|
5562
|
+
* @memberof IOrderResponse
|
|
5563
|
+
*/
|
|
5564
|
+
'returns': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeReturnsInner>;
|
|
5565
|
+
/**
|
|
5566
|
+
*
|
|
5567
|
+
* @type {Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>}
|
|
5568
|
+
* @memberof IOrderResponse
|
|
5569
|
+
*/
|
|
5570
|
+
'shipped': Array<PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner>;
|
|
5571
|
+
/**
|
|
5572
|
+
*
|
|
5573
|
+
* @type {OrderPaymentStatusEnum}
|
|
5574
|
+
* @memberof IOrderResponse
|
|
5575
|
+
*/
|
|
5576
|
+
'paymentStatus': OrderPaymentStatusEnum;
|
|
5577
|
+
}
|
|
5408
5578
|
/**
|
|
5409
5579
|
*
|
|
5410
5580
|
* @export
|
|
@@ -5702,10 +5872,10 @@ export interface IOrdersResponse {
|
|
|
5702
5872
|
'totalPages': number;
|
|
5703
5873
|
/**
|
|
5704
5874
|
*
|
|
5705
|
-
* @type {Array<
|
|
5875
|
+
* @type {Array<IOrderResponse>}
|
|
5706
5876
|
* @memberof IOrdersResponse
|
|
5707
5877
|
*/
|
|
5708
|
-
'data': Array<
|
|
5878
|
+
'data': Array<IOrderResponse>;
|
|
5709
5879
|
}
|
|
5710
5880
|
/**
|
|
5711
5881
|
*
|
|
@@ -13250,7 +13420,7 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
|
|
|
13250
13420
|
* @param {*} [options] Override http request option.
|
|
13251
13421
|
* @throws {RequiredError}
|
|
13252
13422
|
*/
|
|
13253
|
-
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13423
|
+
getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
|
|
13254
13424
|
/**
|
|
13255
13425
|
*
|
|
13256
13426
|
* @param {string} id
|
|
@@ -13324,7 +13494,7 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
|
|
|
13324
13494
|
* @param {*} [options] Override http request option.
|
|
13325
13495
|
* @throws {RequiredError}
|
|
13326
13496
|
*/
|
|
13327
|
-
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
13497
|
+
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
|
|
13328
13498
|
/**
|
|
13329
13499
|
*
|
|
13330
13500
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
|
@@ -13623,7 +13793,7 @@ export declare class OrderApi extends BaseAPI {
|
|
|
13623
13793
|
* @throws {RequiredError}
|
|
13624
13794
|
* @memberof OrderApi
|
|
13625
13795
|
*/
|
|
13626
|
-
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
13796
|
+
getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
|
|
13627
13797
|
/**
|
|
13628
13798
|
*
|
|
13629
13799
|
* @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -536,7 +536,8 @@ exports.ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
|
536
536
|
exports.ICompanyDashboardResponsePeriodEnum = {
|
|
537
537
|
DAY: 'day',
|
|
538
538
|
MONTH: 'month',
|
|
539
|
-
WEEK: 'week'
|
|
539
|
+
WEEK: 'week',
|
|
540
|
+
HOUR: 'hour'
|
|
540
541
|
};
|
|
541
542
|
exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
542
543
|
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-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.104",
|
|
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": "eb02187bf3598ac43bbed08345a34f3c7b04e7b8"
|
|
41
41
|
}
|