@openbox/shared-types 0.6.44 → 0.6.46
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/lib/church/Meetings/GetMany/Request.d.ts +4 -1
- package/lib/management/Branch/GetMany/Request.d.ts +4 -0
- package/lib/management/Branch/GetMany/Request.js +3 -0
- package/lib/management/Branch/GetMany/Request.js.map +1 -0
- package/lib/management/Branch/GetMany/Response.d.ts +7 -0
- package/lib/management/Branch/GetMany/Response.js +3 -0
- package/lib/management/Branch/GetMany/Response.js.map +1 -0
- package/lib/management/Branch/GetSingle/Response.d.ts +2 -0
- package/lib/management/Branch/GetSingle/Response.js +3 -0
- package/lib/management/Branch/GetSingle/Response.js.map +1 -0
- package/lib/management/Branch/UpdateSingle/Request.d.ts +7 -0
- package/lib/management/Branch/UpdateSingle/Request.js +3 -0
- package/lib/management/Branch/UpdateSingle/Request.js.map +1 -0
- package/lib/management/Branch/UpdateSingle/Response.d.ts +2 -0
- package/lib/management/Branch/UpdateSingle/Response.js +3 -0
- package/lib/management/Branch/UpdateSingle/Response.js.map +1 -0
- package/lib/management/Branch/index.d.ts +5 -0
- package/lib/management/Branch/index.js +5 -0
- package/lib/management/Branch/index.js.map +1 -1
- package/lib/management/Branch/management.branch.type.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/management/Branch/GetMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/management/Branch/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/management/Branch/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SystemDirectoryUpdateSingleRequest } from '../../../system';
|
|
2
|
+
import { ManagementBranchRequest } from '../management.branch.type';
|
|
3
|
+
export type ManagementBranchUpdateSingleRequest = Partial<ManagementBranchRequest> & {
|
|
4
|
+
contacts?: Array<Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> & {
|
|
5
|
+
id?: string;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/management/Branch/UpdateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/management/Branch/UpdateSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -15,4 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./management.branch.type"), exports);
|
|
18
|
+
__exportStar(require("./GetMany/Request"), exports);
|
|
19
|
+
__exportStar(require("./GetMany/Response"), exports);
|
|
20
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
21
|
+
__exportStar(require("./UpdateSingle/Request"), exports);
|
|
22
|
+
__exportStar(require("./UpdateSingle/Response"), exports);
|
|
18
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Branch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Branch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
+
import { SystemCitiesResponse } from '../../system/Cities/system.cities.types';
|
|
2
|
+
import { SystemCountriesResponse } from '../../system/Countries/system.countries.types';
|
|
1
3
|
import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
|
|
4
|
+
import { SystemStatesResponse } from '../../system/States/system.states.types';
|
|
2
5
|
export type ManagementBranch = {
|
|
3
6
|
id: string;
|
|
7
|
+
code: string;
|
|
4
8
|
name: string;
|
|
9
|
+
address1: string;
|
|
10
|
+
address2?: string;
|
|
11
|
+
isDefault: boolean;
|
|
12
|
+
country: SystemCountriesResponse;
|
|
13
|
+
state: SystemStatesResponse;
|
|
14
|
+
city: SystemCitiesResponse;
|
|
5
15
|
contacts: Array<SystemDirectoryResponse>;
|
|
6
16
|
};
|
|
17
|
+
export type ManagementBranchRequest = Omit<ManagementBranch, 'id' | 'city' | 'country' | 'state' | 'contacts' | 'isDefault'> & {
|
|
18
|
+
city: number;
|
|
19
|
+
country: number;
|
|
20
|
+
state: number;
|
|
21
|
+
};
|
|
22
|
+
export type ManagementBranchResponse = ManagementBranch;
|