@openbox/shared-types 0.3.2 → 0.3.3

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.
@@ -22,6 +22,8 @@ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | '
22
22
  city: number;
23
23
  country: number;
24
24
  state: number;
25
- directory?: SystemDirectoryCreateSingleRequest[];
25
+ directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'> & {
26
+ id: string;
27
+ }[];
26
28
  };
27
29
  export type CustomersBranchesResponse = Omit<CustomersBranches, 'customer'>;
@@ -39,6 +39,8 @@ export type CustomersRequest = Omit<Customers, 'id' | 'taxerType' | 'personType'
39
39
  personTypeNatural?: number;
40
40
  taxerType?: number;
41
41
  branch: CustomersBranchesCreateSingleRequest;
42
- directory?: SystemDirectoryCreateSingleRequest[];
42
+ directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'> & {
43
+ id: string;
44
+ }[];
43
45
  };
44
46
  export type CustomersResponse = Customers;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.02",
3
+ "version": "0.3.03",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -27,6 +27,6 @@ export type CustomersBranchesRequest = Omit<
27
27
  city: number
28
28
  country: number
29
29
  state: number
30
- directory?: SystemDirectoryCreateSingleRequest[]
30
+ directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'> & { id: string }[]
31
31
  }
32
32
  export type CustomersBranchesResponse = Omit<CustomersBranches, 'customer'>
@@ -43,6 +43,6 @@ export type CustomersRequest = Omit<
43
43
  personTypeNatural?: number
44
44
  taxerType?: number
45
45
  branch: CustomersBranchesCreateSingleRequest
46
- directory?: SystemDirectoryCreateSingleRequest[]
46
+ directory?: Omit<SystemDirectoryCreateSingleRequest, 'entityType' | 'entityId'> & { id: string }[]
47
47
  }
48
48
  export type CustomersResponse = Customers