@mivis/petmart-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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.102",
3
+ "version": "1.2.104",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -655,7 +655,6 @@ declare namespace Components {
655
655
 
656
656
  export interface IAdminRemoveOrderItemRequest {
657
657
  current_items: IPopulatedOrderItem[];
658
- delivery_sum?: number;
659
658
  }
660
659
 
661
660
  export interface IAdminOrdersQueryRequest extends FilterBaseQuery {
@@ -1111,9 +1110,9 @@ declare namespace Components {
1111
1110
  admin_id?: string;
1112
1111
  order_id: string;
1113
1112
  comment?: string;
1114
- commission?: number;
1113
+ commission: number;
1115
1114
  delivery_sum?: number;
1116
- payment_id?: string;
1115
+ payment_id: string;
1117
1116
  seller_id: string;
1118
1117
  createdAt: Date;
1119
1118
  updatedAt: Date;
@@ -1131,6 +1130,7 @@ declare namespace Components {
1131
1130
  from?: string;
1132
1131
  to?: string;
1133
1132
  seller_id?: string;
1133
+ order_id?: string;
1134
1134
  }
1135
1135
 
1136
1136
  export interface IAdminOrdersQueryResponse {
@@ -1155,6 +1155,10 @@ declare namespace Components {
1155
1155
  commission: number;
1156
1156
  }
1157
1157
 
1158
+ export interface IAdminGetChartDataQueryRequest {
1159
+ year: string;
1160
+ }
1161
+
1158
1162
  export interface IAdminCreateSellerTransactionRequest {
1159
1163
  type: ESellerTransactionsType;
1160
1164
  sum: number;