@eleva-io/erp-sdk 0.1.6 → 0.1.9
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/dist/erp.d.ts +6 -4
- package/dist/erp.d.ts.map +1 -1
- package/dist/erp.js +7 -3
- package/dist/erp.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/modules/contacts/api.d.ts +2 -2
- package/dist/modules/contacts/api.d.ts.map +1 -1
- package/dist/modules/contacts/api.js.map +1 -1
- package/dist/modules/contacts/index.d.ts +2 -2
- package/dist/modules/contacts/index.d.ts.map +1 -1
- package/dist/modules/contacts/index.js.map +1 -1
- package/dist/modules/contacts/persons/api/addresses.d.ts +2 -2
- package/dist/modules/contacts/persons/api/addresses.d.ts.map +1 -1
- package/dist/modules/contacts/persons/api/addresses.js.map +1 -1
- package/dist/modules/contacts/persons/api/index.d.ts +2 -2
- package/dist/modules/contacts/persons/api/index.d.ts.map +1 -1
- package/dist/modules/contacts/persons/api/index.js.map +1 -1
- package/dist/modules/contacts/persons/api/persons.d.ts +4 -4
- package/dist/modules/contacts/persons/api/persons.d.ts.map +1 -1
- package/dist/modules/contacts/persons/api/persons.js +1 -1
- package/dist/modules/contacts/persons/api/persons.js.map +1 -1
- package/dist/modules/contacts/persons/index.d.ts +2 -2
- package/dist/modules/contacts/persons/index.d.ts.map +1 -1
- package/dist/modules/contacts/persons/index.js.map +1 -1
- package/dist/modules/contacts/persons/types/address.d.ts +1 -1
- package/dist/modules/contacts/persons/types/address.d.ts.map +1 -1
- package/dist/modules/contacts/persons/types/index.d.ts +3 -3
- package/dist/modules/contacts/persons/types/index.d.ts.map +1 -1
- package/dist/modules/contacts/persons/types/index.js.map +1 -1
- package/dist/modules/contacts/persons/types/person.d.ts +13 -4
- package/dist/modules/contacts/persons/types/person.d.ts.map +1 -1
- package/dist/modules/contacts/persons/types/person_address.d.ts +3 -3
- package/dist/modules/contacts/persons/types/person_address.d.ts.map +1 -1
- package/dist/modules/global/agents/index.d.ts +2 -0
- package/dist/modules/global/agents/index.d.ts.map +1 -0
- package/dist/modules/global/agents/index.js +18 -0
- package/dist/modules/global/agents/index.js.map +1 -0
- package/dist/modules/global/agents/types.d.ts +16 -0
- package/dist/modules/global/agents/types.d.ts.map +1 -0
- package/dist/modules/global/agents/types.js +10 -0
- package/dist/modules/global/agents/types.js.map +1 -0
- package/dist/modules/global/api.d.ts +9 -0
- package/dist/modules/global/api.d.ts.map +1 -0
- package/dist/modules/global/api.js +17 -0
- package/dist/modules/global/api.js.map +1 -0
- package/dist/modules/global/index.d.ts +3 -0
- package/dist/modules/global/index.d.ts.map +1 -0
- package/dist/modules/global/index.js +19 -0
- package/dist/modules/global/index.js.map +1 -0
- package/dist/modules/global/search/api.d.ts +10 -0
- package/dist/modules/global/search/api.d.ts.map +1 -0
- package/dist/modules/global/search/api.js +19 -0
- package/dist/modules/global/search/api.js.map +1 -0
- package/dist/modules/global/search/index.d.ts +3 -0
- package/dist/modules/global/search/index.d.ts.map +1 -0
- package/dist/modules/global/search/index.js +19 -0
- package/dist/modules/global/search/index.js.map +1 -0
- package/dist/modules/global/search/types.d.ts +37 -0
- package/dist/modules/global/search/types.d.ts.map +1 -0
- package/dist/modules/global/search/types.js +10 -0
- package/dist/modules/global/search/types.js.map +1 -0
- package/dist/modules/horizontal/api.d.ts +2 -2
- package/dist/modules/horizontal/api.d.ts.map +1 -1
- package/dist/modules/horizontal/api.js.map +1 -1
- package/dist/modules/horizontal/communities/api/agents.d.ts +2 -2
- package/dist/modules/horizontal/communities/api/agents.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/agents.js.map +1 -1
- package/dist/modules/horizontal/communities/api/blocks.d.ts +4 -4
- package/dist/modules/horizontal/communities/api/blocks.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/blocks.js +1 -1
- package/dist/modules/horizontal/communities/api/blocks.js.map +1 -1
- package/dist/modules/horizontal/communities/api/communities.d.ts +13 -11
- package/dist/modules/horizontal/communities/api/communities.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/communities.js +14 -7
- package/dist/modules/horizontal/communities/api/communities.js.map +1 -1
- package/dist/modules/horizontal/communities/api/communities_config.d.ts +3 -3
- package/dist/modules/horizontal/communities/api/communities_config.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/communities_config.js.map +1 -1
- package/dist/modules/horizontal/communities/api/documents.d.ts +3 -3
- package/dist/modules/horizontal/communities/api/documents.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/documents.js +6 -1
- package/dist/modules/horizontal/communities/api/documents.js.map +1 -1
- package/dist/modules/horizontal/communities/api/employees.d.ts +2 -2
- package/dist/modules/horizontal/communities/api/employees.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/employees.js.map +1 -1
- package/dist/modules/horizontal/communities/api/index.d.ts +11 -10
- package/dist/modules/horizontal/communities/api/index.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/index.js +1 -0
- package/dist/modules/horizontal/communities/api/index.js.map +1 -1
- package/dist/modules/horizontal/communities/api/properties.d.ts +3 -3
- package/dist/modules/horizontal/communities/api/properties.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/properties.js +1 -1
- package/dist/modules/horizontal/communities/api/properties.js.map +1 -1
- package/dist/modules/horizontal/communities/api/providers.d.ts +2 -2
- package/dist/modules/horizontal/communities/api/providers.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/providers.js.map +1 -1
- package/dist/modules/horizontal/communities/api/receipts.d.ts +4 -4
- package/dist/modules/horizontal/communities/api/receipts.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/receipts.js +1 -1
- package/dist/modules/horizontal/communities/api/receipts.js.map +1 -1
- package/dist/modules/horizontal/communities/api/roles.d.ts +2 -2
- package/dist/modules/horizontal/communities/api/roles.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/api/roles.js.map +1 -1
- package/dist/modules/horizontal/communities/api/route_trackings/index.d.ts +4 -0
- package/dist/modules/horizontal/communities/api/route_trackings/index.d.ts.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/index.js +20 -0
- package/dist/modules/horizontal/communities/api/route_trackings/index.js.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/route_trackings.d.ts +11 -0
- package/dist/modules/horizontal/communities/api/route_trackings/route_trackings.d.ts.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/route_trackings.js +21 -0
- package/dist/modules/horizontal/communities/api/route_trackings/route_trackings.js.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/routes.d.ts +27 -0
- package/dist/modules/horizontal/communities/api/route_trackings/routes.d.ts.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/routes.js +69 -0
- package/dist/modules/horizontal/communities/api/route_trackings/routes.js.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/zones.d.ts +11 -0
- package/dist/modules/horizontal/communities/api/route_trackings/zones.d.ts.map +1 -0
- package/dist/modules/horizontal/communities/api/route_trackings/zones.js +26 -0
- package/dist/modules/horizontal/communities/api/route_trackings/zones.js.map +1 -0
- package/dist/modules/horizontal/communities/index.d.ts +2 -2
- package/dist/modules/horizontal/communities/index.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/index.js.map +1 -1
- package/dist/modules/horizontal/communities/types/address.d.ts +2 -2
- package/dist/modules/horizontal/communities/types/address.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/agent.d.ts +2 -2
- package/dist/modules/horizontal/communities/types/agent.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/block.d.ts +4 -5
- package/dist/modules/horizontal/communities/types/block.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/community.d.ts +12 -5
- package/dist/modules/horizontal/communities/types/community.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/community_config.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/document.d.ts +2 -2
- package/dist/modules/horizontal/communities/types/document.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/employee.d.ts +3 -3
- package/dist/modules/horizontal/communities/types/employee.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/index.d.ts +10 -9
- package/dist/modules/horizontal/communities/types/index.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/index.js +1 -0
- package/dist/modules/horizontal/communities/types/index.js.map +1 -1
- package/dist/modules/horizontal/communities/types/property.d.ts +6 -6
- package/dist/modules/horizontal/communities/types/property.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/property.js.map +1 -1
- package/dist/modules/horizontal/communities/types/provider.d.ts +3 -3
- package/dist/modules/horizontal/communities/types/provider.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/receipt.d.ts +7 -7
- package/dist/modules/horizontal/communities/types/receipt.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/roles.d.ts +2 -2
- package/dist/modules/horizontal/communities/types/roles.d.ts.map +1 -1
- package/dist/modules/horizontal/communities/types/route_tracking.d.ts +53 -0
- package/dist/modules/horizontal/communities/types/route_tracking.d.ts.map +1 -0
- package/dist/modules/horizontal/communities/types/route_tracking.js +19 -0
- package/dist/modules/horizontal/communities/types/route_tracking.js.map +1 -0
- package/dist/modules/horizontal/communities/types/tag.d.ts.map +1 -1
- package/dist/modules/horizontal/index.d.ts +2 -2
- package/dist/modules/horizontal/index.d.ts.map +1 -1
- package/dist/modules/horizontal/index.js.map +1 -1
- package/dist/modules/index.d.ts +4 -3
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +1 -0
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/ticketing/api.d.ts +6 -15
- package/dist/modules/ticketing/api.d.ts.map +1 -1
- package/dist/modules/ticketing/api.js +9 -38
- package/dist/modules/ticketing/api.js.map +1 -1
- package/dist/modules/ticketing/index.d.ts +2 -2
- package/dist/modules/ticketing/index.d.ts.map +1 -1
- package/dist/modules/ticketing/index.js +1 -1
- package/dist/modules/ticketing/index.js.map +1 -1
- package/dist/modules/ticketing/tasks/api/activity_logs.d.ts +10 -0
- package/dist/modules/ticketing/tasks/api/activity_logs.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/activity_logs.js +21 -0
- package/dist/modules/ticketing/tasks/api/activity_logs.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/attachments.d.ts +8 -0
- package/dist/modules/ticketing/tasks/api/attachments.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/attachments.js +16 -0
- package/dist/modules/ticketing/tasks/api/attachments.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/conversations.d.ts +11 -0
- package/dist/modules/ticketing/tasks/api/conversations.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/conversations.js +35 -0
- package/dist/modules/ticketing/tasks/api/conversations.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/followers.d.ts +11 -0
- package/dist/modules/ticketing/tasks/api/followers.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/followers.js +24 -0
- package/dist/modules/ticketing/tasks/api/followers.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/index.d.ts +7 -0
- package/dist/modules/ticketing/tasks/api/index.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/index.js +23 -0
- package/dist/modules/ticketing/tasks/api/index.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/resources.d.ts +11 -0
- package/dist/modules/ticketing/tasks/api/resources.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/resources.js +24 -0
- package/dist/modules/ticketing/tasks/api/resources.js.map +1 -0
- package/dist/modules/ticketing/tasks/api/tasks.d.ts +18 -0
- package/dist/modules/ticketing/tasks/api/tasks.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/api/tasks.js +51 -0
- package/dist/modules/ticketing/tasks/api/tasks.js.map +1 -0
- package/dist/modules/ticketing/tasks/index.d.ts +3 -0
- package/dist/modules/ticketing/tasks/index.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/index.js +19 -0
- package/dist/modules/ticketing/tasks/index.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/activity_log.d.ts +28 -0
- package/dist/modules/ticketing/tasks/types/activity_log.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/activity_log.js +24 -0
- package/dist/modules/ticketing/tasks/types/activity_log.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/converstation.d.ts +31 -0
- package/dist/modules/ticketing/tasks/types/converstation.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/converstation.js +11 -0
- package/dist/modules/ticketing/tasks/types/converstation.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/follower.d.ts +8 -0
- package/dist/modules/ticketing/tasks/types/follower.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/follower.js +3 -0
- package/dist/modules/ticketing/tasks/types/follower.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/index.d.ts +6 -0
- package/dist/modules/ticketing/tasks/types/index.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/index.js +22 -0
- package/dist/modules/ticketing/tasks/types/index.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/resource.d.ts +18 -0
- package/dist/modules/ticketing/tasks/types/resource.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/resource.js +15 -0
- package/dist/modules/ticketing/tasks/types/resource.js.map +1 -0
- package/dist/modules/ticketing/tasks/types/task.d.ts +64 -0
- package/dist/modules/ticketing/tasks/types/task.d.ts.map +1 -0
- package/dist/modules/ticketing/tasks/types/task.js +25 -0
- package/dist/modules/ticketing/tasks/types/task.js.map +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/crud.d.ts +2 -2
- package/dist/utils/crud.d.ts.map +1 -1
- package/dist/utils/crud.js +6 -6
- package/dist/utils/crud.js.map +1 -1
- package/dist/utils/http.d.ts +16 -8
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/http.js +69 -23
- package/dist/utils/http.js.map +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/signature.d.ts.map +1 -1
- package/dist/utils/signature.js +2 -5
- package/dist/utils/signature.js.map +1 -1
- package/dist/utils/types.d.ts.map +1 -1
- package/package.json +17 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./route_trackings"), exports);
|
|
18
|
+
__exportStar(require("./routes"), exports);
|
|
19
|
+
__exportStar(require("./zones"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,2CAAwB;AACxB,0CAAuB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTTPClient } from '../../../../../utils/http';
|
|
2
|
+
import { RouteTrackingZonesConfigAPI } from './zones';
|
|
3
|
+
import { RouteTrackingRoutesConfigAPI } from './routes';
|
|
4
|
+
export declare class RouteTrackingsConfigAPI {
|
|
5
|
+
private readonly _httpClient;
|
|
6
|
+
private readonly _baseUrl;
|
|
7
|
+
constructor(_httpClient: HTTPClient, _baseUrl: string);
|
|
8
|
+
zones(): RouteTrackingZonesConfigAPI;
|
|
9
|
+
routes(id?: string): RouteTrackingRoutesConfigAPI;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=route_trackings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route_trackings.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/route_trackings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AACrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEvD,qBAAa,uBAAuB;IAEhC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAGnC,KAAK,IAAI,2BAA2B;IAIpC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,4BAA4B;CAGlD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteTrackingsConfigAPI = void 0;
|
|
4
|
+
const zones_1 = require("./zones");
|
|
5
|
+
const routes_1 = require("./routes");
|
|
6
|
+
class RouteTrackingsConfigAPI {
|
|
7
|
+
_httpClient;
|
|
8
|
+
_baseUrl;
|
|
9
|
+
constructor(_httpClient, _baseUrl) {
|
|
10
|
+
this._httpClient = _httpClient;
|
|
11
|
+
this._baseUrl = _baseUrl;
|
|
12
|
+
}
|
|
13
|
+
zones() {
|
|
14
|
+
return new zones_1.RouteTrackingZonesConfigAPI(this._httpClient, `${this._baseUrl}/zones`);
|
|
15
|
+
}
|
|
16
|
+
routes(id) {
|
|
17
|
+
return new routes_1.RouteTrackingRoutesConfigAPI(this._httpClient, `${this._baseUrl}`, id);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.RouteTrackingsConfigAPI = RouteTrackingsConfigAPI;
|
|
21
|
+
//# sourceMappingURL=route_trackings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route_trackings.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/route_trackings.ts"],"names":[],"mappings":";;;AACA,mCAAqD;AACrD,qCAAuD;AAEvD,MAAa,uBAAuB;IAEf;IACA;IAFnB,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;IAChC,CAAC;IAEJ,KAAK;QACH,OAAO,IAAI,mCAA2B,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,QAAQ,CAAC,CAAA;IACpF,CAAC;IAED,MAAM,CAAC,EAAW;QAChB,OAAO,IAAI,qCAA4B,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAA;IACnF,CAAC;CACF;AAbD,0DAaC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CRUD } from '../../../../../utils/crud';
|
|
2
|
+
import { RouteTrackingRouteExtended, CreateRouteTrackingRouteDTO, UpdateRouteTrackingRouteDTO, RouteTrackingRoute, RouteTrackingRouteZone, CreateRouteTrackingRouteZoneDTO, RouteTrackingRouteAgent, CreateRouteTrackingRouteAgentDTO } from '../../types';
|
|
3
|
+
import { HTTPClient } from '../../../../../utils/http';
|
|
4
|
+
export declare class RouteTrackingRoutesConfigAPI extends CRUD<RouteTrackingRoute, CreateRouteTrackingRouteDTO, UpdateRouteTrackingRouteDTO, RouteTrackingRouteExtended> {
|
|
5
|
+
private readonly _routeTrackingId?;
|
|
6
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _routeTrackingId?: string | undefined);
|
|
7
|
+
zones(): RouteTrackingRoutesConfigZonesAPI;
|
|
8
|
+
agents(): RouteTrackingRoutesConfigAgentsAPI;
|
|
9
|
+
}
|
|
10
|
+
export declare class RouteTrackingRoutesConfigZonesAPI {
|
|
11
|
+
private readonly _httpClient;
|
|
12
|
+
private readonly _baseUrl;
|
|
13
|
+
private readonly _crud;
|
|
14
|
+
constructor(_httpClient: HTTPClient, _baseUrl: string);
|
|
15
|
+
create(data: CreateRouteTrackingRouteZoneDTO): Promise<RouteTrackingRouteZone>;
|
|
16
|
+
delete(id: string): Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
export declare class RouteTrackingRoutesConfigAgentsAPI {
|
|
19
|
+
private readonly _httpClient;
|
|
20
|
+
private readonly _baseUrl;
|
|
21
|
+
private readonly _crud;
|
|
22
|
+
constructor(_httpClient: HTTPClient, _baseUrl: string);
|
|
23
|
+
create(data: CreateRouteTrackingRouteAgentDTO): Promise<RouteTrackingRouteAgent>;
|
|
24
|
+
delete(id: string): Promise<void>;
|
|
25
|
+
find(query?: Record<string, unknown>): Promise<RouteTrackingRouteAgent[]>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,EAClB,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,qBAAa,4BAA6B,SAAQ,IAAI,CACpD,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,EAC3B,0BAA0B,CAC3B;IAIG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC;gBAFlC,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,gBAAgB,CAAC,EAAE,MAAM,YAAA;IAQ5C,KAAK,IAAI,iCAAiC;IAW1C,MAAM,IAAI,kCAAkC;CAU7C;AAED,qBAAa,iCAAiC;IAI1C,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAJ3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA+D;gBAGlE,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAOnC,MAAM,CAAC,IAAI,EAAE,+BAA+B,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAI9E,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlC;AAED,qBAAa,kCAAkC;IAI3C,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAJ3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiE;gBAGpE,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAOnC,MAAM,CAAC,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAIhF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjC,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;CAG1E"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteTrackingRoutesConfigAgentsAPI = exports.RouteTrackingRoutesConfigZonesAPI = exports.RouteTrackingRoutesConfigAPI = void 0;
|
|
4
|
+
const crud_1 = require("../../../../../utils/crud");
|
|
5
|
+
class RouteTrackingRoutesConfigAPI extends crud_1.CRUD {
|
|
6
|
+
_routeTrackingId;
|
|
7
|
+
constructor(httpClient, baseUrl, _routeTrackingId) {
|
|
8
|
+
super(httpClient, {
|
|
9
|
+
basePath: baseUrl,
|
|
10
|
+
id: _routeTrackingId,
|
|
11
|
+
});
|
|
12
|
+
this._routeTrackingId = _routeTrackingId;
|
|
13
|
+
}
|
|
14
|
+
zones() {
|
|
15
|
+
if (!this._routeTrackingId) {
|
|
16
|
+
throw new Error('Route tracking ID is required');
|
|
17
|
+
}
|
|
18
|
+
return new RouteTrackingRoutesConfigZonesAPI(this._httpClient, `${this._config.basePath}/${this._routeTrackingId}/zones`);
|
|
19
|
+
}
|
|
20
|
+
agents() {
|
|
21
|
+
if (!this._routeTrackingId) {
|
|
22
|
+
throw new Error('Route tracking ID is required');
|
|
23
|
+
}
|
|
24
|
+
return new RouteTrackingRoutesConfigAgentsAPI(this._httpClient, `${this._config.basePath}/${this._routeTrackingId}/agents`);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.RouteTrackingRoutesConfigAPI = RouteTrackingRoutesConfigAPI;
|
|
28
|
+
class RouteTrackingRoutesConfigZonesAPI {
|
|
29
|
+
_httpClient;
|
|
30
|
+
_baseUrl;
|
|
31
|
+
_crud;
|
|
32
|
+
constructor(_httpClient, _baseUrl) {
|
|
33
|
+
this._httpClient = _httpClient;
|
|
34
|
+
this._baseUrl = _baseUrl;
|
|
35
|
+
this._crud = new crud_1.CRUD(this._httpClient, {
|
|
36
|
+
basePath: this._baseUrl,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
create(data) {
|
|
40
|
+
return this._crud.create(data);
|
|
41
|
+
}
|
|
42
|
+
delete(id) {
|
|
43
|
+
return this._crud.delete(id);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.RouteTrackingRoutesConfigZonesAPI = RouteTrackingRoutesConfigZonesAPI;
|
|
47
|
+
class RouteTrackingRoutesConfigAgentsAPI {
|
|
48
|
+
_httpClient;
|
|
49
|
+
_baseUrl;
|
|
50
|
+
_crud;
|
|
51
|
+
constructor(_httpClient, _baseUrl) {
|
|
52
|
+
this._httpClient = _httpClient;
|
|
53
|
+
this._baseUrl = _baseUrl;
|
|
54
|
+
this._crud = new crud_1.CRUD(this._httpClient, {
|
|
55
|
+
basePath: this._baseUrl,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
create(data) {
|
|
59
|
+
return this._crud.create(data);
|
|
60
|
+
}
|
|
61
|
+
delete(id) {
|
|
62
|
+
return this._crud.delete(id);
|
|
63
|
+
}
|
|
64
|
+
find(query) {
|
|
65
|
+
return this._crud.find(query);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.RouteTrackingRoutesConfigAgentsAPI = RouteTrackingRoutesConfigAgentsAPI;
|
|
69
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/routes.ts"],"names":[],"mappings":";;;AAAA,0CAAsC;AAatC,MAAa,4BAA6B,SAAQ,WAKjD;IAIoB;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,gBAAyB;QAE1C,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,gBAAgB;SACrB,CAAC,CAAA;QALe,qBAAgB,GAAhB,gBAAgB,CAAS;IAM5C,CAAC;IAED,KAAK;QACH,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAClD,CAAC;QAED,OAAO,IAAI,iCAAiC,CAC1C,IAAI,CAAC,WAAW,EAChB,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,gBAAgB,QAAQ,CAC1D,CAAA;IACH,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;QAClD,CAAC;QAED,OAAO,IAAI,kCAAkC,CAC3C,IAAI,CAAC,WAAW,EAChB,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,gBAAgB,SAAS,CAC3D,CAAA;IACH,CAAC;CACF;AAtCD,oEAsCC;AAED,MAAa,iCAAiC;IAIzB;IACA;IAJF,KAAK,CAA+D;IAErF,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;QAEjC,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CAA0D,IAAI,CAAC,WAAW,EAAE;YAC/F,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,IAAqC;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;CACF;AAnBD,8EAmBC;AAED,MAAa,kCAAkC;IAI1B;IACA;IAJF,KAAK,CAAiE;IAEvF,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;QAEjC,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CAA4D,IAAI,CAAC,WAAW,EAAE;YACjG,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,IAAsC;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAED,IAAI,CAAC,KAA+B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF;AAvBD,gFAuBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTTPClient } from '../../../../../utils/http';
|
|
2
|
+
import { CreateRouteTrackingZoneDTO, RouteTrackingZone, UpdateRouteTrackingZoneDTO } from '../../types';
|
|
3
|
+
export declare class RouteTrackingZonesConfigAPI {
|
|
4
|
+
private readonly _crud;
|
|
5
|
+
constructor(httpClient: HTTPClient, baseUrl: string);
|
|
6
|
+
create(data: CreateRouteTrackingZoneDTO): Promise<RouteTrackingZone>;
|
|
7
|
+
update(id: string, data: UpdateRouteTrackingZoneDTO): Promise<RouteTrackingZone>;
|
|
8
|
+
delete(id: string): Promise<void>;
|
|
9
|
+
find(query?: Record<string, unknown>): Promise<RouteTrackingZone[]>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=zones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/zones.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAEvG,qBAAa,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiF;gBAE3F,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM;IAMnD,MAAM,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIhF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjC,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAGpE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RouteTrackingZonesConfigAPI = void 0;
|
|
4
|
+
const crud_1 = require("../../../../../utils/crud");
|
|
5
|
+
class RouteTrackingZonesConfigAPI {
|
|
6
|
+
_crud;
|
|
7
|
+
constructor(httpClient, baseUrl) {
|
|
8
|
+
this._crud = new crud_1.CRUD(httpClient, {
|
|
9
|
+
basePath: baseUrl,
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
create(data) {
|
|
13
|
+
return this._crud.create(data);
|
|
14
|
+
}
|
|
15
|
+
update(id, data) {
|
|
16
|
+
return this._crud.update(id, data);
|
|
17
|
+
}
|
|
18
|
+
delete(id) {
|
|
19
|
+
return this._crud.delete(id);
|
|
20
|
+
}
|
|
21
|
+
find(query) {
|
|
22
|
+
return this._crud.find(query);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RouteTrackingZonesConfigAPI = RouteTrackingZonesConfigAPI;
|
|
26
|
+
//# sourceMappingURL=zones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/zones.ts"],"names":[],"mappings":";;;AAAA,0CAAsC;AAItC,MAAa,2BAA2B;IACrB,KAAK,CAAiF;IAEvG,YAAY,UAAsB,EAAE,OAAe;QACjD,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CAAC,UAAU,EAAE;YAChC,QAAQ,EAAE,OAAO;SAClB,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CAAC,IAAgC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,IAAgC;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAED,IAAI,CAAC,KAA+B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF;AAxBD,kEAwBC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './types';
|
|
2
|
+
export * from './api';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/horizontal/communities/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/horizontal/communities/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/horizontal/communities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/horizontal/communities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,wCAAqB"}
|
|
@@ -3,7 +3,7 @@ export interface CommunityAddressGplacesRaw {
|
|
|
3
3
|
value: string;
|
|
4
4
|
updatedAt: Date;
|
|
5
5
|
}
|
|
6
|
-
export type CreateCommunityAddressGplacesRawDTO = Omit<CommunityAddressGplacesRaw,
|
|
6
|
+
export type CreateCommunityAddressGplacesRawDTO = Omit<CommunityAddressGplacesRaw, 'updatedAt'>;
|
|
7
7
|
export interface CommunityAddress {
|
|
8
8
|
id: string;
|
|
9
9
|
gplacesRawId: string;
|
|
@@ -19,7 +19,7 @@ export interface CommunityAddress {
|
|
|
19
19
|
neighborhood?: string;
|
|
20
20
|
}
|
|
21
21
|
export interface CreateCommunityAddressDTO {
|
|
22
|
-
entity: Omit<CommunityAddress,
|
|
22
|
+
entity: Omit<CommunityAddress, 'id' | 'gplacesRawId' | 'updatedAt'>;
|
|
23
23
|
raw: CreateCommunityAddressGplacesRawDTO;
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=address.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,MAAM,mCAAmC,GAAG,IAAI,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAA;AAE/F,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,IAAI,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,cAAc,GAAG,WAAW,CAAC,CAAA;IACnE,GAAG,EAAE,mCAAmC,CAAA;CACzC"}
|
|
@@ -4,6 +4,6 @@ export interface CommunityAgent {
|
|
|
4
4
|
roleId: number;
|
|
5
5
|
updatedAt: Date;
|
|
6
6
|
}
|
|
7
|
-
export type CreateCommunityAgentDTO = Omit<CommunityAgent,
|
|
8
|
-
export type UpdateCommunityAgentDTO = Partial<Omit<CommunityAgent,
|
|
7
|
+
export type CreateCommunityAgentDTO = Omit<CommunityAgent, 'communityId' | 'updatedAt'>;
|
|
8
|
+
export type UpdateCommunityAgentDTO = Partial<Omit<CommunityAgent, 'agentId' | 'updatedAt'>>;
|
|
9
9
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/agent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/agent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,cAAc,EAAE,aAAa,GAAG,WAAW,CAAC,CAAA;AAEvF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { CommunityAddress, CreateCommunityAddressDTO } from
|
|
1
|
+
import { CommunityAddress, CreateCommunityAddressDTO } from './address';
|
|
2
2
|
export interface CommunityBlock {
|
|
3
3
|
id: string;
|
|
4
4
|
domainId: string;
|
|
5
|
-
addressId: string;
|
|
6
5
|
communityId: string;
|
|
7
6
|
name: string;
|
|
8
7
|
updatedAt: Date;
|
|
9
8
|
address: CommunityAddress;
|
|
10
9
|
}
|
|
11
|
-
export type CommunitySimpleBlock = Pick<CommunityBlock,
|
|
10
|
+
export type CommunitySimpleBlock = Pick<CommunityBlock, 'id' | 'name'>;
|
|
12
11
|
export interface CreateCommunityBlockDTO {
|
|
13
|
-
entity: Omit<CommunityBlock,
|
|
12
|
+
entity: Omit<CommunityBlock, 'id' | 'domainId' | 'address' | 'updatedAt'>;
|
|
14
13
|
address: CreateCommunityAddressDTO;
|
|
15
14
|
}
|
|
16
15
|
export type UpdateCommunityBlockDTO = Partial<{
|
|
17
|
-
entity: Pick<CommunityBlock,
|
|
16
|
+
entity: Pick<CommunityBlock, 'name'>;
|
|
18
17
|
address: CreateCommunityAddressDTO;
|
|
19
18
|
}>;
|
|
20
19
|
//# sourceMappingURL=block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAA;AAEvE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,IAAI,CAAA;IACf,OAAO,EAAE,gBAAgB,CAAA;CAC1B;AAED,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,MAAM,CAAC,CAAA;AAEtE,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC,CAAA;IACzE,OAAO,EAAE,yBAAyB,CAAA;CACnC;AAED,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC;IAC5C,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAA;IACpC,OAAO,EAAE,yBAAyB,CAAA;CACnC,CAAC,CAAA"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import { ContactPerson } from
|
|
2
|
-
import { CommunityAgent } from
|
|
3
|
-
import { Tag } from
|
|
1
|
+
import { ContactPerson } from '../../../../modules/contacts/persons/types/person';
|
|
2
|
+
import { CommunityAgent } from './agent';
|
|
3
|
+
import { Tag } from './tag';
|
|
4
|
+
export interface CommunityCollection {
|
|
5
|
+
id: string;
|
|
6
|
+
domain_id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
custom_fields?: Record<string, string>;
|
|
9
|
+
__agentIds__: string[];
|
|
10
|
+
}
|
|
4
11
|
export interface Community {
|
|
5
12
|
id: string;
|
|
6
13
|
domainId: string;
|
|
@@ -28,7 +35,7 @@ export interface CommunityExtended extends Community {
|
|
|
28
35
|
neighbors?: CommunityNeighbor[];
|
|
29
36
|
}
|
|
30
37
|
export interface CreateCommunityDTO {
|
|
31
|
-
entity: Omit<Community,
|
|
38
|
+
entity: Omit<Community, 'id' | 'domainId' | 'churnDate' | 'churnReasonId' | 'updatedAt' | 'isAuthorized'>;
|
|
32
39
|
}
|
|
33
|
-
export type UpdateCommunityDTO = Partial<Omit<Community,
|
|
40
|
+
export type UpdateCommunityDTO = Partial<Omit<Community, 'id' | 'domainId' | 'updatedAt' | 'isAuthorized'>>;
|
|
34
41
|
//# sourceMappingURL=community.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,
|
|
1
|
+
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3B,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,IAAI,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACZ,YAAY,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KACtB,CAAA;IACD,SAAS,EAAE,IAAI,CAAA;IACf,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,MAAM,EAAE,aAAa,CAAA;IACrB,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,GAAG,eAAe,GAAG,WAAW,GAAG,cAAc,CAAC,CAAA;CAC1G;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,CAAC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community_config.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/community_config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"community_config.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/community_config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tag } from
|
|
1
|
+
import { Tag } from './tag';
|
|
2
2
|
export declare enum DocumentStatus {
|
|
3
3
|
created = 1,
|
|
4
4
|
completed = 2,
|
|
@@ -38,5 +38,5 @@ export interface CreateDocumentDTO {
|
|
|
38
38
|
fileName: string;
|
|
39
39
|
fileData: Buffer | string;
|
|
40
40
|
}
|
|
41
|
-
export type UpdateDocumentDTO = Partial<Pick<Document,
|
|
41
|
+
export type UpdateDocumentDTO = Partial<Pick<Document, 'name' | 'tags' | 'externalPublished'>>;
|
|
42
42
|
//# sourceMappingURL=document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAE3B,oBAAY,cAAc;IACxB,OAAO,IAAI;IACX,SAAS,IAAI;IACb,KAAK,IAAI;IACT,YAAY,IAAI;CACjB;AAED,oBAAY,gBAAgB;IAC1B,EAAE,IAAI;CACP;AAED,oBAAY,cAAc;IACxB,UAAU,IAAI;IACd,SAAS,IAAI;CACd;AAED,oBAAY,kBAAkB;IAC5B,cAAc,IAAI;IAClB,SAAS,IAAI;IACb,cAAc,IAAI;CACnB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,IAAI,CAAA;IACf,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,mBAAmB,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactPerson } from
|
|
1
|
+
import { ContactPerson } from '../../../../modules/contacts/persons/types';
|
|
2
2
|
export declare enum CommunityEmployeeType {
|
|
3
3
|
CleaningServices = 1,
|
|
4
4
|
GardeningAndLandscaping = 2,
|
|
@@ -35,6 +35,6 @@ export interface CommunityEmployee {
|
|
|
35
35
|
export interface CommunityEmployeeExtended extends CommunityEmployee {
|
|
36
36
|
person?: ContactPerson;
|
|
37
37
|
}
|
|
38
|
-
export type CreateCommunityEmployeeDTO = Omit<CommunityEmployee,
|
|
39
|
-
export type UpdateCommunityEmployeeDTO = Partial<Omit<CommunityEmployee,
|
|
38
|
+
export type CreateCommunityEmployeeDTO = Omit<CommunityEmployee, 'communityId' | 'updatedAt'>;
|
|
39
|
+
export type UpdateCommunityEmployeeDTO = Partial<Omit<CommunityEmployee, 'updatedAt'>>;
|
|
40
40
|
//# sourceMappingURL=employee.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employee.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"employee.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AAEnE,oBAAY,qBAAqB;IAC/B,gBAAgB,IAAI;IACpB,uBAAuB,IAAI;IAC3B,QAAQ,IAAI;IACZ,kBAAkB,IAAI;IACtB,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,SAAS,IAAI;IACb,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,aAAa,KAAK;IAClB,aAAa,KAAK;IAClB,YAAY,KAAK;IACjB,gBAAgB,KAAK;IACrB,8BAA8B,KAAK;IACnC,oBAAoB,KAAK;IACzB,qBAAqB,KAAK;IAC1B,WAAW,KAAK;IAChB,WAAW,KAAK;IAChB,GAAG,KAAK;IACR,6BAA6B,KAAK;IAClC,0BAA0B,KAAK;IAC/B,0BAA0B,KAAK;IAC/B,WAAW,KAAK;IAChB,SAAS,KAAK;IACd,eAAe,KAAK;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
1
|
+
export * from './agent';
|
|
2
|
+
export * from './address';
|
|
3
|
+
export * from './block';
|
|
4
|
+
export * from './community_config';
|
|
5
|
+
export * from './community';
|
|
6
|
+
export * from './employee';
|
|
7
|
+
export * from './property';
|
|
8
|
+
export * from './roles';
|
|
9
|
+
export * from './provider';
|
|
10
|
+
export * from './route_tracking';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./employee"), exports);
|
|
|
23
23
|
__exportStar(require("./property"), exports);
|
|
24
24
|
__exportStar(require("./roles"), exports);
|
|
25
25
|
__exportStar(require("./provider"), exports);
|
|
26
|
+
__exportStar(require("./route_tracking"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,4CAAyB;AACzB,0CAAuB;AACvB,qDAAkC;AAClC,8CAA2B;AAC3B,6CAA0B;AAC1B,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B;AAC1B,mDAAgC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContactPerson } from
|
|
2
|
-
import { CommunitySimpleBlock } from
|
|
1
|
+
import { ContactPerson } from '../../../../modules/contacts/persons/types/person';
|
|
2
|
+
import { CommunitySimpleBlock } from './block';
|
|
3
3
|
export declare enum CommunityPropertyPersonType {
|
|
4
4
|
Owner = 1,
|
|
5
5
|
Authorized = 2,
|
|
@@ -15,8 +15,8 @@ export interface CommunityPropertyPerson {
|
|
|
15
15
|
export interface CommunityPropertyPersonExtended extends CommunityPropertyPerson {
|
|
16
16
|
person?: ContactPerson;
|
|
17
17
|
}
|
|
18
|
-
export type CreateCommunityPropertyPersonDTO = Omit<CommunityPropertyPerson,
|
|
19
|
-
export type UpdateCommunityPropertyPersonDTO = Partial<Omit<CommunityPropertyPerson,
|
|
18
|
+
export type CreateCommunityPropertyPersonDTO = Omit<CommunityPropertyPerson, 'propertyId' | 'updatedAt'>;
|
|
19
|
+
export type UpdateCommunityPropertyPersonDTO = Partial<Omit<CommunityPropertyPerson, 'updatedAt'>>;
|
|
20
20
|
export declare enum CommunityPropertyType {
|
|
21
21
|
Residential = 1,
|
|
22
22
|
Office = 2,
|
|
@@ -38,8 +38,8 @@ export interface CommunityPropertyExtended extends CommunityProperty {
|
|
|
38
38
|
block: CommunitySimpleBlock;
|
|
39
39
|
}
|
|
40
40
|
export interface CreateCommunityPropertyDTO {
|
|
41
|
-
entity: Omit<CommunityProperty,
|
|
41
|
+
entity: Omit<CommunityProperty, 'id' | 'domainId' | 'blockId' | 'updatedAt'>;
|
|
42
42
|
persons: CreateCommunityPropertyPersonDTO[];
|
|
43
43
|
}
|
|
44
|
-
export type UpdateCommunityPropertyDTO = Partial<Omit<CommunityProperty,
|
|
44
|
+
export type UpdateCommunityPropertyDTO = Partial<Omit<CommunityProperty, 'id' | 'domainId' | 'blockId' | 'updatedAt'>>;
|
|
45
45
|
//# sourceMappingURL=property.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,
|
|
1
|
+
{"version":3,"file":"property.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/property.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,oBAAY,2BAA2B;IACrC,KAAK,IAAI;IACT,UAAU,IAAI;IACd,MAAM,IAAI;CACX;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,IAAI,CAAA;IACf,MAAM,EAAE,2BAA2B,CAAA;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,+BAAgC,SAAQ,uBAAuB;IAC9E,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,uBAAuB,EAAE,YAAY,GAAG,WAAW,CAAC,CAAA;AAExG,MAAM,MAAM,gCAAgC,GAAG,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,WAAW,CAAC,CAAC,CAAA;AAElG,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,MAAM,IAAI;IACV,MAAM,IAAI;IACV,WAAW,IAAI;IACf,UAAU,IAAI;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,IAAI,CAAA;IACf,MAAM,EAAE,qBAAqB,CAAA;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,OAAO,EAAE,+BAA+B,EAAE,CAAA;IAC1C,KAAK,EAAE,oBAAoB,CAAA;CAC5B;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC,CAAA;IAC5E,OAAO,EAAE,gCAAgC,EAAE,CAAA;CAC5C;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/property.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"property.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/property.ts"],"names":[],"mappings":";;;AAGA,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACrC,+EAAS,CAAA;IACT,yFAAc,CAAA;IACd,iFAAU,CAAA;AACZ,CAAC,EAJW,2BAA2B,2CAA3B,2BAA2B,QAItC;AAkBD,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,+EAAe,CAAA;IACf,qEAAU,CAAA;IACV,qEAAU,CAAA;IACV,+EAAe,CAAA;IACf,6EAAc,CAAA;AAChB,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactPerson } from
|
|
1
|
+
import { ContactPerson } from '../../../../modules/contacts/persons/types';
|
|
2
2
|
export declare enum CommunityProviderType {
|
|
3
3
|
CleaningServices = 1,
|
|
4
4
|
GardeningAndLandscaping = 2,
|
|
@@ -35,6 +35,6 @@ export interface CommunityProvider {
|
|
|
35
35
|
export interface CommunityProviderExtended extends CommunityProvider {
|
|
36
36
|
person?: ContactPerson;
|
|
37
37
|
}
|
|
38
|
-
export type CreateCommunityProviderDTO = Omit<CommunityProvider,
|
|
39
|
-
export type UpdateCommunityProviderDTO = Partial<Omit<CommunityProvider,
|
|
38
|
+
export type CreateCommunityProviderDTO = Omit<CommunityProvider, 'communityId' | 'updatedAt'>;
|
|
39
|
+
export type UpdateCommunityProviderDTO = Partial<Omit<CommunityProvider, 'updatedAt'>>;
|
|
40
40
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAA;AAEnE,oBAAY,qBAAqB;IAC/B,gBAAgB,IAAI;IACpB,uBAAuB,IAAI;IAC3B,QAAQ,IAAI;IACZ,kBAAkB,IAAI;IACtB,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,SAAS,IAAI;IACb,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,aAAa,KAAK;IAClB,aAAa,KAAK;IAClB,YAAY,KAAK;IACjB,gBAAgB,KAAK;IACrB,8BAA8B,KAAK;IACnC,oBAAoB,KAAK;IACzB,qBAAqB,KAAK;IAC1B,WAAW,KAAK;IAChB,WAAW,KAAK;IAChB,GAAG,KAAK;IACR,6BAA6B,KAAK;IAClC,0BAA0B,KAAK;IAC/B,0BAA0B,KAAK;IAC/B,WAAW,KAAK;IAChB,SAAS,KAAK;IACd,eAAe,KAAK;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,CAAA"}
|
|
@@ -28,11 +28,11 @@ export interface Receipt {
|
|
|
28
28
|
createdAt: Date;
|
|
29
29
|
updatedAt: Date;
|
|
30
30
|
}
|
|
31
|
-
export type CreateReceiptDTO = Omit<Receipt,
|
|
31
|
+
export type CreateReceiptDTO = Omit<Receipt, 'id' | 'domainId' | 'entityType' | 'entityId' | 'propertyId' | 'status' | 'disabled' | 'createdAt' | 'updatedAt'> & {
|
|
32
32
|
status?: ReceiptStatus;
|
|
33
33
|
};
|
|
34
|
-
export type UpdateReceiptDTO = Partial<Pick<Receipt,
|
|
35
|
-
amount: Pick<ReceiptAmount,
|
|
34
|
+
export type UpdateReceiptDTO = Partial<Pick<Receipt, 'no' | 'status' | 'datetime' | 'disabled'> & {
|
|
35
|
+
amount: Pick<ReceiptAmount, 'value'>;
|
|
36
36
|
}>;
|
|
37
37
|
export interface ReceiptDetailReading {
|
|
38
38
|
period: {
|
|
@@ -51,11 +51,11 @@ export interface ReceiptDetail {
|
|
|
51
51
|
amount: ReceiptAmount;
|
|
52
52
|
reading?: ReceiptDetailReading;
|
|
53
53
|
}
|
|
54
|
-
export type CreateReceiptDetailDTO = Omit<ReceiptDetail,
|
|
55
|
-
reading?: Omit<ReceiptDetailReading,
|
|
54
|
+
export type CreateReceiptDetailDTO = Omit<ReceiptDetail, 'id' | 'reading' | 'updatedAt'> & {
|
|
55
|
+
reading?: Omit<ReceiptDetailReading, 'value'>;
|
|
56
56
|
};
|
|
57
|
-
export type UpdateReceiptDetailDTO = Partial<Omit<CreateReceiptDetailDTO,
|
|
58
|
-
amount: Pick<ReceiptAmount,
|
|
57
|
+
export type UpdateReceiptDetailDTO = Partial<Omit<CreateReceiptDetailDTO, 'amount' | 'reading'> & {
|
|
58
|
+
amount: Pick<ReceiptAmount, 'value'>;
|
|
59
59
|
}>;
|
|
60
60
|
export interface ReceiptExtended extends Receipt {
|
|
61
61
|
details: ReceiptDetail[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/receipt.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;CACxB;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/types/receipt.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;CACxB;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,eAAe,CAAA;CAC1B;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,iBAAiB,CAAA;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,aAAa,CAAA;IACrB,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,IAAI,CAAA;IACd,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,OAAO,EACP,IAAI,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CACjH,GAAG;IACF,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC,GAAG;IACzD,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;CACrC,CACF,CAAA;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE;QACN,OAAO,EAAE,IAAI,CAAA;QACb,KAAK,EAAE,IAAI,CAAA;KACZ,CAAA;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,aAAa,CAAA;IACrB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,SAAS,GAAG,WAAW,CAAC,GAAG;IACzF,OAAO,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAA;CAC9C,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,IAAI,CAAC,sBAAsB,EAAE,QAAQ,GAAG,SAAS,CAAC,GAAG;IACnD,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;CACrC,CACF,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,OAAO,EAAE,aAAa,EAAE,CAAA;CACzB"}
|
|
@@ -7,6 +7,6 @@ export interface CommunityPerson {
|
|
|
7
7
|
startDate: Date;
|
|
8
8
|
endDate?: Date | undefined;
|
|
9
9
|
}
|
|
10
|
-
export type CreateCommunityPersonDTO = Omit<CommunityPerson,
|
|
11
|
-
export type UpdateCommunityPersonDTO = Partial<Omit<CommunityPerson,
|
|
10
|
+
export type CreateCommunityPersonDTO = Omit<CommunityPerson, 'communityId' | 'updatedAt'>;
|
|
11
|
+
export type UpdateCommunityPersonDTO = Partial<Omit<CommunityPerson, 'personId' | 'updatedAt'>>;
|
|
12
12
|
//# sourceMappingURL=roles.d.ts.map
|