@openbox/shared-types 0.2.10 → 0.2.12

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 (27) hide show
  1. package/lib/customers/Branches/CreateMany/Request.d.ts +1 -3
  2. package/lib/customers/Branches/CreateMany/Response.d.ts +2 -2
  3. package/lib/customers/Branches/CreateSingle/Response.d.ts +2 -2
  4. package/lib/customers/Branches/DeleteMany/Request.d.ts +2 -2
  5. package/lib/customers/Branches/DeleteMany/Response.d.ts +2 -2
  6. package/lib/customers/Branches/DeleteSingle/Response.d.ts +2 -2
  7. package/lib/customers/Branches/GetSingle/Response.d.ts +1 -3
  8. package/lib/customers/Branches/UpdateMany/Request.d.ts +1 -3
  9. package/lib/customers/Branches/UpdateMany/Response.d.ts +2 -2
  10. package/lib/customers/Branches/UpdateSingle/Response.d.ts +2 -2
  11. package/lib/customers/Branches/UpdateSingleDefault/Response.d.ts +2 -2
  12. package/lib/customers/Branches/index.d.ts +1 -0
  13. package/lib/customers/Branches/index.js +1 -0
  14. package/lib/customers/Branches/index.js.map +1 -1
  15. package/package.json +1 -1
  16. package/src/customers/Branches/CreateMany/Request.ts +1 -3
  17. package/src/customers/Branches/CreateMany/Response.ts +1 -1
  18. package/src/customers/Branches/CreateSingle/Response.ts +1 -1
  19. package/src/customers/Branches/DeleteMany/Request.ts +1 -1
  20. package/src/customers/Branches/DeleteMany/Response.ts +1 -1
  21. package/src/customers/Branches/DeleteSingle/Response.ts +1 -1
  22. package/src/customers/Branches/GetSingle/Response.ts +1 -3
  23. package/src/customers/Branches/UpdateMany/Request.ts +1 -3
  24. package/src/customers/Branches/UpdateMany/Response.ts +1 -1
  25. package/src/customers/Branches/UpdateSingle/Response.ts +1 -1
  26. package/src/customers/Branches/UpdateSingleDefault/Response.ts +1 -1
  27. package/src/customers/Branches/index.ts +1 -0
@@ -1,4 +1,2 @@
1
1
  import { CustomersBranchesCreateSingleRequest } from '../CreateSingle/Request';
2
- export interface CustomersBranchesCreateManyRequest {
3
- data: CustomersBranchesCreateSingleRequest[];
4
- }
2
+ export type CustomersBranchesCreateManyRequest = Array<CustomersBranchesCreateSingleRequest>;
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesCreateManyResponse {
1
+ export type CustomersBranchesCreateManyResponse = {
2
2
  ids: string[];
3
3
  message: string;
4
- }
4
+ };
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesCreateSingleResponse {
1
+ export type CustomersBranchesCreateSingleResponse = {
2
2
  id: string;
3
3
  message: string;
4
- }
4
+ };
@@ -1,3 +1,3 @@
1
- export interface CustomersBranchesDeleteManyRequest {
1
+ export type CustomersBranchesDeleteManyRequest = {
2
2
  ids: string[];
3
- }
3
+ };
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesDeleteManyResponse {
1
+ export type CustomersBranchesDeleteManyResponse = {
2
2
  ids: string[];
3
3
  message: string;
4
- }
4
+ };
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesDeleteSingleResponse {
1
+ export type CustomersBranchesDeleteSingleResponse = {
2
2
  id: string;
3
3
  message: string;
4
- }
4
+ };
@@ -1,4 +1,2 @@
1
1
  import { CustomersBranchesResponse } from '../interfaces';
2
- export interface CustomersBranchesGetSingleResponse {
3
- data: CustomersBranchesResponse;
4
- }
2
+ export type CustomersBranchesGetSingleResponse = CustomersBranchesResponse;
@@ -1,4 +1,2 @@
1
1
  import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request';
2
- export interface CustomersBranchesUpdateManyRequest {
3
- data: CustomersBranchesUpdateSingleRequest[];
4
- }
2
+ export type CustomersBranchesUpdateManyRequest = Array<CustomersBranchesUpdateSingleRequest>;
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateManyResponse {
1
+ export type CustomersBranchesUpdateManyResponse = {
2
2
  ids: string[];
3
3
  message: string;
4
- }
4
+ };
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateSingleResponse {
1
+ export type CustomersBranchesUpdateSingleResponse = {
2
2
  id: string;
3
3
  message: string;
4
- }
4
+ };
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateSingleDefaultResponse {
1
+ export type CustomersBranchesUpdateSingleDefaultResponse = {
2
2
  id: string;
3
3
  message: string;
4
- }
4
+ };
@@ -7,6 +7,7 @@ export * from './DeleteMany/Response';
7
7
  export * from './DeleteSingle/Response';
8
8
  export * from './GetMany/Request';
9
9
  export * from './GetMany/Response';
10
+ export * from './GetSingle/Response';
10
11
  export * from './UpdateMany/Request';
11
12
  export * from './UpdateMany/Response';
12
13
  export * from './UpdateSingle/Request';
@@ -23,6 +23,7 @@ __exportStar(require("./DeleteMany/Response"), exports);
23
23
  __exportStar(require("./DeleteSingle/Response"), exports);
24
24
  __exportStar(require("./GetMany/Request"), exports);
25
25
  __exportStar(require("./GetMany/Response"), exports);
26
+ __exportStar(require("./GetSingle/Response"), exports);
26
27
  __exportStar(require("./UpdateMany/Request"), exports);
27
28
  __exportStar(require("./UpdateMany/Response"), exports);
28
29
  __exportStar(require("./UpdateSingle/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
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 { CustomersBranchesCreateSingleRequest } from '../CreateSingle/Request'
2
2
 
3
- export interface CustomersBranchesCreateManyRequest {
4
- data: CustomersBranchesCreateSingleRequest[]
5
- }
3
+ export type CustomersBranchesCreateManyRequest = Array<CustomersBranchesCreateSingleRequest>
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesCreateManyResponse {
1
+ export type CustomersBranchesCreateManyResponse = {
2
2
  ids: string[]
3
3
  message: string
4
4
  }
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesCreateSingleResponse {
1
+ export type CustomersBranchesCreateSingleResponse = {
2
2
  id: string
3
3
  message: string
4
4
  }
@@ -1,3 +1,3 @@
1
- export interface CustomersBranchesDeleteManyRequest {
1
+ export type CustomersBranchesDeleteManyRequest = {
2
2
  ids: string[]
3
3
  }
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesDeleteManyResponse {
1
+ export type CustomersBranchesDeleteManyResponse = {
2
2
  ids: string[]
3
3
  message: string
4
4
  }
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesDeleteSingleResponse {
1
+ export type CustomersBranchesDeleteSingleResponse = {
2
2
  id: string
3
3
  message: string
4
4
  }
@@ -1,5 +1,3 @@
1
1
  import { CustomersBranchesResponse } from '../interfaces'
2
2
 
3
- export interface CustomersBranchesGetSingleResponse {
4
- data: CustomersBranchesResponse
5
- }
3
+ export type CustomersBranchesGetSingleResponse = CustomersBranchesResponse
@@ -1,5 +1,3 @@
1
1
  import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request'
2
2
 
3
- export interface CustomersBranchesUpdateManyRequest {
4
- data: CustomersBranchesUpdateSingleRequest[]
5
- }
3
+ export type CustomersBranchesUpdateManyRequest = Array<CustomersBranchesUpdateSingleRequest>
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateManyResponse {
1
+ export type CustomersBranchesUpdateManyResponse = {
2
2
  ids: string[]
3
3
  message: string
4
4
  }
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateSingleResponse {
1
+ export type CustomersBranchesUpdateSingleResponse = {
2
2
  id: string
3
3
  message: string
4
4
  }
@@ -1,4 +1,4 @@
1
- export interface CustomersBranchesUpdateSingleDefaultResponse {
1
+ export type CustomersBranchesUpdateSingleDefaultResponse = {
2
2
  id: string
3
3
  message: string
4
4
  }
@@ -7,6 +7,7 @@ export * from './DeleteMany/Response'
7
7
  export * from './DeleteSingle/Response'
8
8
  export * from './GetMany/Request'
9
9
  export * from './GetMany/Response'
10
+ export * from './GetSingle/Response'
10
11
  export * from './UpdateMany/Request'
11
12
  export * from './UpdateMany/Response'
12
13
  export * from './UpdateSingle/Request'