@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,37 @@
|
|
|
1
|
+
import { ContactPersonCollection, ContactPersonType } from '../../../modules/contacts';
|
|
2
|
+
import { CommunityCollection } from '../../../modules/horizontal';
|
|
3
|
+
import { TicketingTaskCollection } from '../../../modules/ticketing';
|
|
4
|
+
export declare enum GlobalSearchEntityType {
|
|
5
|
+
horizontal_communities = "horizontal__communities",
|
|
6
|
+
contacts_persons = "contacts__persons",
|
|
7
|
+
ticketing_tasks = "ticketing__tasks"
|
|
8
|
+
}
|
|
9
|
+
export type GlobalSearchBaseFilter = Partial<{
|
|
10
|
+
id: string[];
|
|
11
|
+
}>;
|
|
12
|
+
export type GlobalSearchMultiEntityTypeFilter = {
|
|
13
|
+
[GlobalSearchEntityType.horizontal_communities]?: GlobalSearchBaseFilter;
|
|
14
|
+
[GlobalSearchEntityType.contacts_persons]?: GlobalSearchBaseFilter;
|
|
15
|
+
[GlobalSearchEntityType.ticketing_tasks]?: GlobalSearchBaseFilter;
|
|
16
|
+
};
|
|
17
|
+
export type GlobalSearchResultHorizontalCommunity = Pick<CommunityCollection, 'id' | 'domain_id' | 'name' | '__agentIds__'>;
|
|
18
|
+
export type GlobalSearchResultContactsPerson = Pick<ContactPersonCollection, 'id' | 'domain_id' | 'type_id' | 'full_name'>;
|
|
19
|
+
export type GlobalSearchResultTicketingTask = Pick<TicketingTaskCollection, 'id' | 'domain_id' | 'code' | 'title'>;
|
|
20
|
+
export type GlobalSearchResult = GlobalSearchResultHorizontalCommunity | GlobalSearchResultContactsPerson | GlobalSearchResultTicketingTask;
|
|
21
|
+
export interface GlobalSearchQueryMulti {
|
|
22
|
+
query: string;
|
|
23
|
+
entityType?: GlobalSearchEntityType[];
|
|
24
|
+
include?: GlobalSearchMultiEntityTypeFilter;
|
|
25
|
+
exclude?: GlobalSearchMultiEntityTypeFilter;
|
|
26
|
+
}
|
|
27
|
+
export type GlobalSearchQueryContacts = Pick<GlobalSearchQueryMulti, 'query'> & Partial<{
|
|
28
|
+
typeId: ContactPersonType[];
|
|
29
|
+
includeIds: string[];
|
|
30
|
+
excludeIds: string[];
|
|
31
|
+
}>;
|
|
32
|
+
export type GlobalSearchResultMulti<T extends object> = {
|
|
33
|
+
type: GlobalSearchEntityType;
|
|
34
|
+
maxScore: number;
|
|
35
|
+
values: T[];
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/modules/global/search/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,oBAAY,sBAAsB;IAChC,sBAAsB,4BAA4B;IAClD,gBAAgB,sBAAsB;IACtC,eAAe,qBAAqB;CACrC;AAED,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC;IAC3C,EAAE,EAAE,MAAM,EAAE,CAAA;CACb,CAAC,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,CAAC,EAAE,sBAAsB,CAAA;IACxE,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,EAAE,sBAAsB,CAAA;IAClE,CAAC,sBAAsB,CAAC,eAAe,CAAC,CAAC,EAAE,sBAAsB,CAAA;CAClE,CAAA;AAED,MAAM,MAAM,qCAAqC,GAAG,IAAI,CACtD,mBAAmB,EACnB,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,cAAc,CAC7C,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,IAAI,CACjD,uBAAuB,EACvB,IAAI,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAC7C,CAAA;AACD,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC,uBAAuB,EAAE,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;AAElH,MAAM,MAAM,kBAAkB,GAC1B,qCAAqC,GACrC,gCAAgC,GAChC,+BAA+B,CAAA;AAEnC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACrC,OAAO,CAAC,EAAE,iCAAiC,CAAA;IAC3C,OAAO,CAAC,EAAE,iCAAiC,CAAA;CAC5C;AAED,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAC,GAC3E,OAAO,CAAC;IACN,MAAM,EAAE,iBAAiB,EAAE,CAAA;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,EAAE,CAAA;CACrB,CAAC,CAAA;AAEJ,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,MAAM,IAAI;IACtD,IAAI,EAAE,sBAAsB,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,CAAC,EAAE,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GlobalSearchEntityType = void 0;
|
|
4
|
+
var GlobalSearchEntityType;
|
|
5
|
+
(function (GlobalSearchEntityType) {
|
|
6
|
+
GlobalSearchEntityType["horizontal_communities"] = "horizontal__communities";
|
|
7
|
+
GlobalSearchEntityType["contacts_persons"] = "contacts__persons";
|
|
8
|
+
GlobalSearchEntityType["ticketing_tasks"] = "ticketing__tasks";
|
|
9
|
+
})(GlobalSearchEntityType || (exports.GlobalSearchEntityType = GlobalSearchEntityType = {}));
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/modules/global/search/types.ts"],"names":[],"mappings":";;;AAIA,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,4EAAkD,CAAA;IAClD,gEAAsC,CAAA;IACtC,8DAAoC,CAAA;AACtC,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CommunitiesAPI } from
|
|
1
|
+
import { HTTPClient } from '../../utils/http';
|
|
2
|
+
import { CommunitiesAPI } from './communities';
|
|
3
3
|
export declare class HorizontalAPI {
|
|
4
4
|
private _httpClient;
|
|
5
5
|
private readonly _baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/modules/horizontal/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/modules/horizontal/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,qBAAa,aAAa;IAItB,OAAO,CAAC,WAAW;IAHrB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAQ;gBAGvB,WAAW,EAAE,UAAU,EAC/B,OAAO,EAAE,MAAM;IAKjB,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,cAAc;CAGzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/modules/horizontal/api.ts"],"names":[],"mappings":";;;AACA,+
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/modules/horizontal/api.ts"],"names":[],"mappings":";;;AACA,+CAA8C;AAE9C,MAAa,aAAa;IAId;IAHO,QAAQ,CAAQ;IAEjC,YACU,WAAuB,EAC/B,OAAe;QADP,gBAAW,GAAX,WAAW,CAAY;QAG/B,IAAI,CAAC,QAAQ,GAAG,GAAG,OAAO,aAAa,CAAA;IACzC,CAAC;IAED,WAAW,CAAC,EAAW;QACrB,OAAO,IAAI,4BAAc,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,cAAc,EAAE,EAAE,CAAC,CAAA;IACjF,CAAC;CACF;AAbD,sCAaC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CRUD } from
|
|
2
|
-
import { CommunityAgent, CreateCommunityAgentDTO, UpdateCommunityAgentDTO } from
|
|
1
|
+
import { CRUD } from '../../../../utils/crud';
|
|
2
|
+
import { CommunityAgent, CreateCommunityAgentDTO, UpdateCommunityAgentDTO } from '../types';
|
|
3
3
|
export declare class CommunitiesAgentsAPI extends CRUD<CommunityAgent, CreateCommunityAgentDTO, UpdateCommunityAgentDTO> {
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAE3F,qBAAa,oBAAqB,SAAQ,IAAI,CAAC,cAAc,EAAE,uBAAuB,EAAE,uBAAuB,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/agents.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/agents.ts"],"names":[],"mappings":";;;AAAA,0CAAsC;AAGtC,MAAa,oBAAqB,SAAQ,WAAsE;CAAG;AAAnH,oDAAmH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { CommunityBlock, CreateCommunityBlockDTO, UpdateCommunityBlockDTO } from
|
|
4
|
-
import { CommunitiesPropertiesAPI } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { CommunityBlock, CreateCommunityBlockDTO, UpdateCommunityBlockDTO } from '../types';
|
|
4
|
+
import { CommunitiesPropertiesAPI } from './properties';
|
|
5
5
|
export declare class CommunitiesBlocksAPI extends CRUD<CommunityBlock, CreateCommunityBlockDTO, UpdateCommunityBlockDTO> {
|
|
6
6
|
private readonly _blockId?;
|
|
7
7
|
constructor(httpClient: HTTPClient, baseUrl: string, _blockId?: string | undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAEvD,qBAAa,oBAAqB,SAAQ,IAAI,CAAC,cAAc,EAAE,uBAAuB,EAAE,uBAAuB,CAAC;IAI5G,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAF1B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,QAAQ,CAAC,EAAE,MAAM,YAAA;IAQpC,UAAU,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,wBAAwB;CAOlD"}
|
|
@@ -14,7 +14,7 @@ class CommunitiesBlocksAPI extends crud_1.CRUD {
|
|
|
14
14
|
}
|
|
15
15
|
properties(id) {
|
|
16
16
|
if (!this._blockId) {
|
|
17
|
-
throw new Error(
|
|
17
|
+
throw new Error('Block ID is required');
|
|
18
18
|
}
|
|
19
19
|
return new properties_1.CommunitiesPropertiesAPI(this._httpClient, `${this._config.basePath}/${this._blockId}/properties`, id);
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/blocks.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/blocks.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAEtC,6CAAuD;AAEvD,MAAa,oBAAqB,SAAQ,WAAsE;IAI3F;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,QAAiB;QAElC,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,QAAQ;SACb,CAAC,CAAA;QALe,aAAQ,GAAR,QAAQ,CAAS;IAMpC,CAAC;IAED,UAAU,CAAC,EAAW;QACpB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;QACzC,CAAC;QAED,OAAO,IAAI,qCAAwB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,aAAa,EAAE,EAAE,CAAC,CAAA;IACnH,CAAC;CACF;AAnBD,oDAmBC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { Community, CommunityExtended, CreateCommunityDTO, UpdateCommunityDTO } from
|
|
4
|
-
import { CommunitiesConfigAPI } from
|
|
5
|
-
import { CommunitiesEmployeesAPI } from
|
|
6
|
-
import { CommunitiesBlocksAPI } from
|
|
7
|
-
import { CommunitiesProvidersAPI } from
|
|
8
|
-
import { CommunitiesAgentsAPI } from
|
|
9
|
-
import { CommunitiesRolesAPI } from
|
|
10
|
-
import { ReceiptsAPI } from
|
|
11
|
-
import { DocumentsAPI } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { Community, CommunityExtended, CreateCommunityDTO, UpdateCommunityDTO } from '../types';
|
|
4
|
+
import { CommunitiesConfigAPI } from './communities_config';
|
|
5
|
+
import { CommunitiesEmployeesAPI } from './employees';
|
|
6
|
+
import { CommunitiesBlocksAPI } from './blocks';
|
|
7
|
+
import { CommunitiesProvidersAPI } from './providers';
|
|
8
|
+
import { CommunitiesAgentsAPI } from './agents';
|
|
9
|
+
import { CommunitiesRolesAPI } from './roles';
|
|
10
|
+
import { ReceiptsAPI } from './receipts';
|
|
11
|
+
import { DocumentsAPI } from './documents';
|
|
12
|
+
import { RouteTrackingsConfigAPI } from './route_trackings';
|
|
12
13
|
export declare class CommunitiesAPI extends CRUD<CommunityExtended, CreateCommunityDTO, UpdateCommunityDTO, Community> {
|
|
13
14
|
private readonly _communityId?;
|
|
14
15
|
constructor(httpClient: HTTPClient, baseUrl: string, _communityId?: string | undefined);
|
|
@@ -20,5 +21,6 @@ export declare class CommunitiesAPI extends CRUD<CommunityExtended, CreateCommun
|
|
|
20
21
|
blocks(id?: string): CommunitiesBlocksAPI;
|
|
21
22
|
documents(id?: string): DocumentsAPI;
|
|
22
23
|
receipts(id?: string): ReceiptsAPI;
|
|
24
|
+
routeTrackings(): RouteTrackingsConfigAPI;
|
|
23
25
|
}
|
|
24
26
|
//# sourceMappingURL=communities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communities.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"communities.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,qBAAa,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,SAAS,CAAC;IAI1G,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;gBAF9B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,YAAY,CAAC,EAAE,MAAM,YAAA;IAQxC,MAAM,IAAI,oBAAoB;IAI9B,MAAM,IAAI,oBAAoB;IAa9B,KAAK,IAAI,mBAAmB;IAa5B,SAAS,IAAI,uBAAuB;IAQpC,SAAS,IAAI,uBAAuB;IAQpC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,oBAAoB;IAQzC,SAAS,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,YAAY;IAQpC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,WAAW;IAQlC,cAAc,IAAI,uBAAuB;CAO1C"}
|
|
@@ -10,6 +10,7 @@ const agents_1 = require("./agents");
|
|
|
10
10
|
const roles_1 = require("./roles");
|
|
11
11
|
const receipts_1 = require("./receipts");
|
|
12
12
|
const documents_1 = require("./documents");
|
|
13
|
+
const route_trackings_1 = require("./route_trackings");
|
|
13
14
|
class CommunitiesAPI extends crud_1.CRUD {
|
|
14
15
|
_communityId;
|
|
15
16
|
constructor(httpClient, baseUrl, _communityId) {
|
|
@@ -24,7 +25,7 @@ class CommunitiesAPI extends crud_1.CRUD {
|
|
|
24
25
|
}
|
|
25
26
|
agents() {
|
|
26
27
|
if (!this._communityId) {
|
|
27
|
-
throw new Error(
|
|
28
|
+
throw new Error('Community ID is required');
|
|
28
29
|
}
|
|
29
30
|
return new agents_1.CommunitiesAgentsAPI(this._httpClient, {
|
|
30
31
|
basePath: `${this._config.basePath}/${this._communityId}/agents`,
|
|
@@ -35,7 +36,7 @@ class CommunitiesAPI extends crud_1.CRUD {
|
|
|
35
36
|
}
|
|
36
37
|
roles() {
|
|
37
38
|
if (!this._communityId) {
|
|
38
|
-
throw new Error(
|
|
39
|
+
throw new Error('Community ID is required');
|
|
39
40
|
}
|
|
40
41
|
return new roles_1.CommunitiesRolesAPI(this._httpClient, {
|
|
41
42
|
basePath: `${this._config.basePath}/${this._communityId}/roles`,
|
|
@@ -46,34 +47,40 @@ class CommunitiesAPI extends crud_1.CRUD {
|
|
|
46
47
|
}
|
|
47
48
|
employees() {
|
|
48
49
|
if (!this._communityId) {
|
|
49
|
-
throw new Error(
|
|
50
|
+
throw new Error('Community ID is required');
|
|
50
51
|
}
|
|
51
52
|
return new employees_1.CommunitiesEmployeesAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/employees`);
|
|
52
53
|
}
|
|
53
54
|
providers() {
|
|
54
55
|
if (!this._communityId) {
|
|
55
|
-
throw new Error(
|
|
56
|
+
throw new Error('Community ID is required');
|
|
56
57
|
}
|
|
57
58
|
return new providers_1.CommunitiesProvidersAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/providers`);
|
|
58
59
|
}
|
|
59
60
|
blocks(id) {
|
|
60
61
|
if (!this._communityId) {
|
|
61
|
-
throw new Error(
|
|
62
|
+
throw new Error('Community ID is required');
|
|
62
63
|
}
|
|
63
64
|
return new blocks_1.CommunitiesBlocksAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/blocks`, id);
|
|
64
65
|
}
|
|
65
66
|
documents(id) {
|
|
66
67
|
if (!this._communityId) {
|
|
67
|
-
throw new Error(
|
|
68
|
+
throw new Error('Community ID is required');
|
|
68
69
|
}
|
|
69
70
|
return new documents_1.DocumentsAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/documents`, id);
|
|
70
71
|
}
|
|
71
72
|
receipts(id) {
|
|
72
73
|
if (!this._communityId) {
|
|
73
|
-
throw new Error(
|
|
74
|
+
throw new Error('Community ID is required');
|
|
74
75
|
}
|
|
75
76
|
return new receipts_1.ReceiptsAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/receipts`, id);
|
|
76
77
|
}
|
|
78
|
+
routeTrackings() {
|
|
79
|
+
if (!this._communityId) {
|
|
80
|
+
throw new Error('Community ID is required');
|
|
81
|
+
}
|
|
82
|
+
return new route_trackings_1.RouteTrackingsConfigAPI(this._httpClient, `${this._config.basePath}/${this._communityId}/route-tracking`);
|
|
83
|
+
}
|
|
77
84
|
}
|
|
78
85
|
exports.CommunitiesAPI = CommunitiesAPI;
|
|
79
86
|
//# sourceMappingURL=communities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communities.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"communities.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAEtC,6DAA2D;AAC3D,2CAAqD;AACrD,qCAA+C;AAC/C,2CAAqD;AACrD,qCAA+C;AAC/C,mCAA6C;AAC7C,yCAAwC;AACxC,2CAA0C;AAC1C,uDAA2D;AAE3D,MAAa,cAAe,SAAQ,WAA0E;IAIzF;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,YAAqB;QAEtC,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,YAAY;SACjB,CAAC,CAAA;QALe,iBAAY,GAAZ,YAAY,CAAS;IAMxC,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,yCAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,SAAS,CAAC,CAAA;IACtF,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,6BAAoB,CAAC,IAAI,CAAC,WAAW,EAAE;YAChD,QAAQ,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,SAAS;YAChE,OAAO,EAAE;gBACP,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,CAAA;IACJ,CAAC;IAED,KAAK;QACH,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,2BAAmB,CAAC,IAAI,CAAC,WAAW,EAAE;YAC/C,QAAQ,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,QAAQ;YAC/D,OAAO,EAAE;gBACP,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,CAAA;IACJ,CAAC;IAED,SAAS;QACP,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,mCAAuB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,YAAY,CAAC,CAAA;IACjH,CAAC;IAED,SAAS;QACP,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,mCAAuB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,YAAY,CAAC,CAAA;IACjH,CAAC;IAED,MAAM,CAAC,EAAW;QAChB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,6BAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,SAAS,EAAE,EAAE,CAAC,CAAA;IAC/G,CAAC;IAED,SAAS,CAAC,EAAW;QACnB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,wBAAY,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,YAAY,EAAE,EAAE,CAAC,CAAA;IAC1G,CAAC;IAED,QAAQ,CAAC,EAAW;QAClB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,sBAAW,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,WAAW,EAAE,EAAE,CAAC,CAAA;IACxG,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAC7C,CAAC;QAED,OAAO,IAAI,yCAAuB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,iBAAiB,CAAC,CAAA;IACtH,CAAC;CACF;AAzFD,wCAyFC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { CommunityConfigAgent, CommunityConfigRole } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { CommunityConfigAgent, CommunityConfigRole } from '../types';
|
|
4
4
|
export declare class CommunitiesConfigAPI {
|
|
5
5
|
private _httpClient;
|
|
6
6
|
private _baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communities_config.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities_config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"communities_config.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities_config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAEpE,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,QAAQ;gBADR,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAG1B,MAAM,IAAI,IAAI,CAAC,oBAAoB,CAAC;IAYpC,KAAK,IAAI,IAAI,CAAC,mBAAmB,CAAC;CAWnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communities_config.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities_config.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"communities_config.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/communities_config.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAGtC,MAAa,oBAAoB;IAErB;IACA;IAFV,YACU,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;IACvB,CAAC;IAEJ,MAAM;QACJ,OAAO,IAAI,WAAI,CAAuB,IAAI,CAAC,WAAW,EAAE;YACtD,QAAQ,EAAE,GAAG,IAAI,CAAC,QAAQ,SAAS;YACnC,OAAO,EAAE;gBACP,eAAe,EAAE,KAAK;gBACtB,eAAe,EAAE,KAAK;gBACtB,eAAe,EAAE,KAAK;gBACtB,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,CAAA;IACJ,CAAC;IAED,KAAK;QACH,OAAO,IAAI,WAAI,CAAsB,IAAI,CAAC,WAAW,EAAE;YACrD,QAAQ,EAAE,GAAG,IAAI,CAAC,QAAQ,QAAQ;YAClC,OAAO,EAAE;gBACP,eAAe,EAAE,KAAK;gBACtB,eAAe,EAAE,KAAK;gBACtB,eAAe,EAAE,KAAK;gBACtB,aAAa,EAAE,KAAK;aACrB;SACF,CAAC,CAAA;IACJ,CAAC;CACF;AA7BD,oDA6BC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { CreateDocumentDTO, Document, UpdateDocumentDTO } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { CreateDocumentDTO, Document, UpdateDocumentDTO } from '../types/document';
|
|
4
4
|
export declare class DocumentsAPI extends CRUD<Document, CreateDocumentDTO, UpdateDocumentDTO> {
|
|
5
5
|
constructor(httpClient: HTTPClient, baseUrl: string, documentId?: string);
|
|
6
6
|
bin(): DocumentsBinAPI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/documents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAElF,qBAAa,YAAa,SAAQ,IAAI,CAAC,QAAQ,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;gBACxE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;IAIxE,GAAG,IAAI,eAAe;IAItB,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,QAAQ,CAAC;IAWlD,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAMvC;AAED,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAG7B,IAAI,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAM3B,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAKzC"}
|
|
@@ -11,7 +11,12 @@ class DocumentsAPI extends crud_1.CRUD {
|
|
|
11
11
|
}
|
|
12
12
|
create(data) {
|
|
13
13
|
const path = `${this._config.basePath}`;
|
|
14
|
-
return this._httpClient.uploadFile(path,
|
|
14
|
+
return this._httpClient.uploadFile(path, {
|
|
15
|
+
file: {
|
|
16
|
+
name: data.fileName,
|
|
17
|
+
data: data.fileData,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
15
20
|
}
|
|
16
21
|
download(id) {
|
|
17
22
|
const idParam = this._getIdParam(id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/documents.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/documents.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAGtC,MAAa,YAAa,SAAQ,WAAoD;IACpF,YAAY,UAAsB,EAAE,OAAe,EAAE,UAAmB;QACtE,KAAK,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CAAA;IAC1D,CAAC;IAED,GAAG;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,MAAM,CAAC,CAAA;IAC9E,CAAC;IAED,MAAM,CAAC,IAAuB;QAC5B,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAA;QAEvC,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAW,IAAI,EAAE;YACjD,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI,CAAC,QAAQ;gBACnB,IAAI,EAAE,IAAI,CAAC,QAAQ;aACpB;SACF,CAAC,CAAA;IACJ,CAAC;IAED,QAAQ,CAAC,EAAW;QAClB,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QACpC,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,WAAW,CAAA;QAE3D,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;IACzC,CAAC;CACF;AA1BD,oCA0BC;AAED,MAAa,eAAe;IAEP;IACA;IAFnB,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;IAChC,CAAC;IAEJ,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAA;QAE/B,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAa,IAAI,CAAC,CAAA;IAC/C,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,EAAU;QACtB,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,UAAU,CAAA;QAE7C,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAO,IAAI,CAAC,CAAA;IACzC,CAAC;CACF;AAjBD,0CAiBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CommunityEmployee, CommunityEmployeeExtended, CommunityEmployeeType, CreateCommunityEmployeeDTO, UpdateCommunityEmployeeDTO } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CommunityEmployee, CommunityEmployeeExtended, CommunityEmployeeType, CreateCommunityEmployeeDTO, UpdateCommunityEmployeeDTO } from '../types';
|
|
3
3
|
export declare class CommunitiesEmployeesAPI {
|
|
4
4
|
private _httpClient;
|
|
5
5
|
private _baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employees.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/employees.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"employees.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/employees.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AAEjB,qBAAa,uBAAuB;IAShC,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,QAAQ;IATlB,OAAO,CAAC,KAAK,CAKZ;gBAGS,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAU1B,MAAM,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAI/G,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,EAAE,CAAC;CAGlG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employees.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/employees.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"employees.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/employees.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAStC,MAAa,uBAAuB;IASxB;IACA;IATF,KAAK,CAKZ;IAED,YACU,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;QAExB,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CAKnB,IAAI,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;IAClD,CAAC;IAED,MAAM,CAAC,IAAgC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA6B,EAAE,IAAgC;QAChF,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAoB,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,aAAa,EAAE,EAAE,EAAE,IAAI,CAAC,CAAA;IACrG,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA6B;QAC9C,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAO,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,aAAa,EAAE,EAAE,CAAC,CAAA;IACnF,CAAC;IAED,IAAI,CAAC,KAA+B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF;AAnCD,0DAmCC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
|
10
|
-
export * from
|
|
1
|
+
export * from './communities_config';
|
|
2
|
+
export * from './communities';
|
|
3
|
+
export * from './employees';
|
|
4
|
+
export * from './blocks';
|
|
5
|
+
export * from './properties';
|
|
6
|
+
export * from './providers';
|
|
7
|
+
export * from './agents';
|
|
8
|
+
export * from './roles';
|
|
9
|
+
export * from './documents';
|
|
10
|
+
export * from './receipts';
|
|
11
|
+
export * from './route_trackings';
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA"}
|
|
@@ -24,4 +24,5 @@ __exportStar(require("./agents"), exports);
|
|
|
24
24
|
__exportStar(require("./roles"), exports);
|
|
25
25
|
__exportStar(require("./documents"), exports);
|
|
26
26
|
__exportStar(require("./receipts"), exports);
|
|
27
|
+
__exportStar(require("./route_trackings"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,gDAA6B;AAC7B,8CAA2B;AAC3B,2CAAwB;AACxB,+CAA4B;AAC5B,8CAA2B;AAC3B,2CAAwB;AACxB,0CAAuB;AACvB,8CAA2B;AAC3B,6CAA0B;AAC1B,oDAAiC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { CommunityProperty, CommunityPropertyPerson, CommunityPropertyPersonExtended, CreateCommunityPropertyDTO, CreateCommunityPropertyPersonDTO, UpdateCommunityPropertyDTO, UpdateCommunityPropertyPersonDTO } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { CommunityProperty, CommunityPropertyPerson, CommunityPropertyPersonExtended, CreateCommunityPropertyDTO, CreateCommunityPropertyPersonDTO, UpdateCommunityPropertyDTO, UpdateCommunityPropertyPersonDTO } from '../types';
|
|
4
4
|
export declare class CommunitiesPropertiesAPI extends CRUD<CommunityProperty, CreateCommunityPropertyDTO, UpdateCommunityPropertyDTO> {
|
|
5
5
|
private readonly _propertyId?;
|
|
6
6
|
constructor(httpClient: HTTPClient, baseUrl: string, _propertyId?: string | undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,+BAA+B,EAC/B,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EACjC,MAAM,UAAU,CAAA;AAEjB,qBAAa,wBAAyB,SAAQ,IAAI,CAChD,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,CAC3B;IAIG,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;gBAF7B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,WAAW,CAAC,EAAE,MAAM,YAAA;IAQvC,OAAO,CACL,EAAE,CAAC,EAAE,MAAM,GACV,IAAI,CACL,+BAA+B,EAC/B,gCAAgC,EAChC,gCAAgC,EAChC,uBAAuB,CACxB;CAeF"}
|
|
@@ -13,7 +13,7 @@ class CommunitiesPropertiesAPI extends crud_1.CRUD {
|
|
|
13
13
|
}
|
|
14
14
|
persons(id) {
|
|
15
15
|
if (!this._propertyId) {
|
|
16
|
-
throw new Error(
|
|
16
|
+
throw new Error('Property ID is required');
|
|
17
17
|
}
|
|
18
18
|
return new crud_1.CRUD(this._httpClient, {
|
|
19
19
|
basePath: `${this._config.basePath}/${this._propertyId}/persons`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/properties.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/properties.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAWtC,MAAa,wBAAyB,SAAQ,WAI7C;IAIoB;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,WAAoB;QAErC,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,WAAW;SAChB,CAAC,CAAA;QALe,gBAAW,GAAX,WAAW,CAAS;IAMvC,CAAC;IAED,OAAO,CACL,EAAW;QAOX,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAC5C,CAAC;QAED,OAAO,IAAI,WAAI,CAKb,IAAI,CAAC,WAAW,EAAE;YAClB,QAAQ,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,UAAU;YAChE,EAAE,EAAE,EAAE;SACP,CAAC,CAAA;IACJ,CAAC;CACF;AAtCD,4DAsCC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CommunityProvider, CommunityProviderExtended, CommunityProviderType, CreateCommunityProviderDTO, UpdateCommunityProviderDTO } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CommunityProvider, CommunityProviderExtended, CommunityProviderType, CreateCommunityProviderDTO, UpdateCommunityProviderDTO } from '../types';
|
|
3
3
|
export declare class CommunitiesProvidersAPI {
|
|
4
4
|
private _httpClient;
|
|
5
5
|
private _baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AAEjB,qBAAa,uBAAuB;IAShC,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,QAAQ;IATlB,OAAO,CAAC,KAAK,CAKZ;gBAGS,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAU1B,MAAM,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpE,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAI/G,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,EAAE,CAAC;CAGlG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/providers.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/providers.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAStC,MAAa,uBAAuB;IASxB;IACA;IATF,KAAK,CAKZ;IAED,YACU,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;QAExB,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CAKnB,IAAI,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;IAClD,CAAC;IAED,MAAM,CAAC,IAAgC;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA6B,EAAE,IAAgC;QAChF,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAoB,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,aAAa,EAAE,EAAE,EAAE,IAAI,CAAC,CAAA;IACrG,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA6B;QAC9C,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAO,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,aAAa,EAAE,EAAE,CAAC,CAAA;IACnF,CAAC;IAED,IAAI,CAAC,KAA+B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF;AAnCD,0DAmCC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTTPClient } from
|
|
2
|
-
import { CRUD } from
|
|
3
|
-
import { CreateReceiptDetailDTO, CreateReceiptDTO, ReceiptDetail, ReceiptExtended, UpdateReceiptDetailDTO, UpdateReceiptDTO } from
|
|
4
|
-
import { PaginatedResponse } from
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { CreateReceiptDetailDTO, CreateReceiptDTO, ReceiptDetail, ReceiptExtended, UpdateReceiptDetailDTO, UpdateReceiptDTO } from '../types/receipt';
|
|
4
|
+
import { PaginatedResponse } from '../../../../utils/types';
|
|
5
5
|
export declare class ReceiptsAPI {
|
|
6
6
|
private readonly _httpClient;
|
|
7
7
|
private readonly _baseUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipts.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/receipts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"receipts.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/receipts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEpD,qBAAa,WAAW;IAIpB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;IAL9B,OAAO,CAAC,KAAK,CAA+F;gBAGzF,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,MAAM,YAAA;IAQtC,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAI1C,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAI5E,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIpE,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,CAAC,eAAe,CAAC,CAAC;IAIlF,OAAO,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,kBAAkB;CAUzC;AAED,qBAAa,kBAAmB,SAAQ,IAAI,CAAC,aAAa,EAAE,sBAAsB,EAAE,sBAAsB,CAAC;CAAG"}
|
|
@@ -30,7 +30,7 @@ class ReceiptsAPI {
|
|
|
30
30
|
}
|
|
31
31
|
details(id) {
|
|
32
32
|
if (!this._receiptId) {
|
|
33
|
-
throw new Error(
|
|
33
|
+
throw new Error('Receipt ID is required');
|
|
34
34
|
}
|
|
35
35
|
return new ReceiptsDetailsAPI(this._httpClient, {
|
|
36
36
|
basePath: `${this._baseUrl}/${this._receiptId}/details`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipts.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/receipts.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"receipts.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/receipts.ts"],"names":[],"mappings":";;;AACA,0CAAsC;AAWtC,MAAa,WAAW;IAIH;IACA;IACA;IALX,KAAK,CAA+F;IAE5G,YACmB,WAAuB,EACvB,QAAgB,EAChB,UAAmB;QAFnB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,eAAU,GAAV,UAAU,CAAS;QAEpC,IAAI,CAAC,KAAK,GAAG,IAAI,WAAI,CACnB,WAAW,EACX,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,CACvC,CAAA;IACH,CAAC;IAED,GAAG,CAAC,EAAW;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IAC3B,CAAC;IAED,MAAM,CAAC,UAAkB,EAAE,IAAsB;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAkB,GAAG,IAAI,CAAC,QAAQ,eAAe,UAAU,EAAE,EAAE,IAAI,CAAC,CAAA;IAClG,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,IAAsB;QACvC,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;IAED,OAAO,CAAC,EAAW;QACjB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAA;QAC3C,CAAC;QAED,OAAO,IAAI,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE;YAC9C,QAAQ,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,UAAU,UAAU;YACvD,EAAE,EAAE,EAAE;SACP,CAAC,CAAA;IACJ,CAAC;CACF;AA5CD,kCA4CC;AAED,MAAa,kBAAmB,SAAQ,WAAmE;CAAG;AAA9G,gDAA8G"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CRUD } from
|
|
2
|
-
import { CommunityPerson, CreateCommunityPersonDTO, UpdateCommunityPersonDTO } from
|
|
1
|
+
import { CRUD } from '../../../../utils/crud';
|
|
2
|
+
import { CommunityPerson, CreateCommunityPersonDTO, UpdateCommunityPersonDTO } from '../types';
|
|
3
3
|
export declare class CommunitiesRolesAPI extends CRUD<CommunityPerson, CreateCommunityPersonDTO, UpdateCommunityPersonDTO> {
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/roles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/roles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAE9F,qBAAa,mBAAoB,SAAQ,IAAI,CAAC,eAAe,EAAE,wBAAwB,EAAE,wBAAwB,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/roles.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/communities/api/roles.ts"],"names":[],"mappings":";;;AAAA,0CAAsC;AAGtC,MAAa,mBAAoB,SAAQ,WAAyE;CAAG;AAArH,kDAAqH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/route_trackings/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|