@openbox/shared-types 0.2.4 → 0.2.5

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.
@@ -1,4 +1,2 @@
1
1
  import { InvoicesSellersCreateSingleRequest } from '../CreateSingle/Request';
2
- export interface InvoicesSellersCreateManyRequest {
3
- data: InvoicesSellersCreateSingleRequest[];
4
- }
2
+ export type InvoicesSellersCreateManyRequest = Array<InvoicesSellersCreateSingleRequest>;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesSellersResponse } from '../sellers.interface';
2
- export interface InvoicesSellerGetManyResponse {
3
- data: InvoicesSellersResponse[];
4
- }
2
+ export type InvoicesSellerGetManyResponse = Array<InvoicesSellersResponse>;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesSellersResponse } from '../sellers.interface';
2
- export interface InvoicesSellersGetSingleRsponse {
3
- data: InvoicesSellersResponse;
4
- }
2
+ export type InvoicesSellersGetSingleRsponse = InvoicesSellersResponse;
@@ -1,4 +1,2 @@
1
1
  import { InvoicesSellersUpdateSingleStatusRequest } from '../UpdateSingleStatus/Request';
2
- export interface InvoicesSellersUpdateManyRequest {
3
- data: InvoicesSellersUpdateSingleStatusRequest[];
4
- }
2
+ export type InvoicesSellersUpdateManyRequest = Array<InvoicesSellersUpdateSingleStatusRequest>;
@@ -1,4 +1,4 @@
1
- export interface InvoicesSellersUpdateManyStatusesRequest {
1
+ export type InvoicesSellersUpdateManyStatusesRequest = {
2
2
  ids: string[];
3
3
  active: boolean;
4
- }
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,5 +1,3 @@
1
1
  import { InvoicesSellersCreateSingleRequest } from '../CreateSingle/Request'
2
2
 
3
- export interface InvoicesSellersCreateManyRequest {
4
- data: InvoicesSellersCreateSingleRequest[]
5
- }
3
+ export type InvoicesSellersCreateManyRequest = Array<InvoicesSellersCreateSingleRequest>
@@ -1,5 +1,3 @@
1
1
  import { InvoicesSellersResponse } from '../sellers.interface'
2
2
 
3
- export interface InvoicesSellerGetManyResponse {
4
- data: InvoicesSellersResponse[]
5
- }
3
+ export type InvoicesSellerGetManyResponse = Array<InvoicesSellersResponse>
@@ -1,5 +1,3 @@
1
1
  import { InvoicesSellersResponse } from '../sellers.interface'
2
2
 
3
- export interface InvoicesSellersGetSingleRsponse {
4
- data: InvoicesSellersResponse
5
- }
3
+ export type InvoicesSellersGetSingleRsponse = InvoicesSellersResponse
@@ -1,5 +1,3 @@
1
1
  import { InvoicesSellersUpdateSingleStatusRequest } from '../UpdateSingleStatus/Request'
2
2
 
3
- export interface InvoicesSellersUpdateManyRequest {
4
- data: InvoicesSellersUpdateSingleStatusRequest[]
5
- }
3
+ export type InvoicesSellersUpdateManyRequest = Array<InvoicesSellersUpdateSingleStatusRequest>
@@ -1,4 +1,4 @@
1
- export interface InvoicesSellersUpdateManyStatusesRequest {
1
+ export type InvoicesSellersUpdateManyStatusesRequest = {
2
2
  ids: string[]
3
3
  active: boolean
4
4
  }