@eleva-io/erp-sdk 0.1.151 → 0.1.153
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/cjs/errors/catalog.d.ts +80 -0
- package/dist/cjs/errors/catalog.d.ts.map +1 -1
- package/dist/cjs/errors/catalog_api.d.ts +81 -3
- package/dist/cjs/errors/catalog_api.d.ts.map +1 -1
- package/dist/cjs/errors/catalog_api.js +35 -2
- package/dist/cjs/errors/catalog_api.js.map +1 -1
- package/dist/cjs/errors/errors.d.ts +23 -9
- package/dist/cjs/errors/errors.d.ts.map +1 -1
- package/dist/cjs/errors/errors.js +36 -5
- package/dist/cjs/errors/errors.js.map +1 -1
- package/dist/cjs/modules/horizontal/api.d.ts +2 -0
- package/dist/cjs/modules/horizontal/api.d.ts.map +1 -1
- package/dist/cjs/modules/horizontal/api.js +4 -0
- package/dist/cjs/modules/horizontal/api.js.map +1 -1
- package/dist/cjs/modules/horizontal/claims/api/claims.d.ts +52 -0
- package/dist/cjs/modules/horizontal/claims/api/claims.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/api/claims.js +110 -0
- package/dist/cjs/modules/horizontal/claims/api/claims.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/api/index.d.ts +2 -0
- package/dist/cjs/modules/horizontal/claims/api/index.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/api/index.js +18 -0
- package/dist/cjs/modules/horizontal/claims/api/index.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/index.d.ts +3 -0
- package/dist/cjs/modules/horizontal/claims/index.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/index.js +19 -0
- package/dist/cjs/modules/horizontal/claims/index.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/activity_log.d.ts +27 -0
- package/dist/cjs/modules/horizontal/claims/types/activity_log.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/activity_log.js +3 -0
- package/dist/cjs/modules/horizontal/claims/types/activity_log.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/claim.d.ts +82 -0
- package/dist/cjs/modules/horizontal/claims/types/claim.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/claim.js +12 -0
- package/dist/cjs/modules/horizontal/claims/types/claim.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/document.d.ts +7 -0
- package/dist/cjs/modules/horizontal/claims/types/document.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/document.js +3 -0
- package/dist/cjs/modules/horizontal/claims/types/document.js.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/index.d.ts +4 -0
- package/dist/cjs/modules/horizontal/claims/types/index.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/claims/types/index.js +20 -0
- package/dist/cjs/modules/horizontal/claims/types/index.js.map +1 -0
- package/dist/cjs/modules/horizontal/communities/api/reports/community.d.ts +2 -1
- package/dist/cjs/modules/horizontal/communities/api/reports/community.d.ts.map +1 -1
- package/dist/cjs/modules/horizontal/communities/api/reports/community.js +3 -0
- package/dist/cjs/modules/horizontal/communities/api/reports/community.js.map +1 -1
- package/dist/cjs/modules/horizontal/communities/types/reports.d.ts +3 -0
- package/dist/cjs/modules/horizontal/communities/types/reports.d.ts.map +1 -1
- package/dist/cjs/modules/horizontal/index.d.ts +1 -0
- package/dist/cjs/modules/horizontal/index.d.ts.map +1 -1
- package/dist/cjs/modules/horizontal/index.js +1 -0
- package/dist/cjs/modules/horizontal/index.js.map +1 -1
- package/dist/cjs/modules/ticketing/tasks/types/resource.d.ts +4 -1
- package/dist/cjs/modules/ticketing/tasks/types/resource.d.ts.map +1 -1
- package/dist/cjs/modules/ticketing/tasks/types/resource.js +2 -0
- package/dist/cjs/modules/ticketing/tasks/types/resource.js.map +1 -1
- package/dist/esm/errors/catalog.d.ts +80 -0
- package/dist/esm/errors/catalog.d.ts.map +1 -1
- package/dist/esm/errors/catalog_api.d.ts +81 -3
- package/dist/esm/errors/catalog_api.d.ts.map +1 -1
- package/dist/esm/errors/catalog_api.js +35 -2
- package/dist/esm/errors/catalog_api.js.map +1 -1
- package/dist/esm/errors/errors.d.ts +23 -9
- package/dist/esm/errors/errors.d.ts.map +1 -1
- package/dist/esm/errors/errors.js +36 -5
- package/dist/esm/errors/errors.js.map +1 -1
- package/dist/esm/modules/horizontal/api.d.ts +2 -0
- package/dist/esm/modules/horizontal/api.d.ts.map +1 -1
- package/dist/esm/modules/horizontal/api.js +4 -0
- package/dist/esm/modules/horizontal/api.js.map +1 -1
- package/dist/esm/modules/horizontal/claims/api/claims.d.ts +52 -0
- package/dist/esm/modules/horizontal/claims/api/claims.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/api/claims.js +102 -0
- package/dist/esm/modules/horizontal/claims/api/claims.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/api/index.d.ts +2 -0
- package/dist/esm/modules/horizontal/claims/api/index.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/api/index.js +2 -0
- package/dist/esm/modules/horizontal/claims/api/index.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/index.d.ts +3 -0
- package/dist/esm/modules/horizontal/claims/index.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/index.js +3 -0
- package/dist/esm/modules/horizontal/claims/index.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/activity_log.d.ts +27 -0
- package/dist/esm/modules/horizontal/claims/types/activity_log.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/activity_log.js +2 -0
- package/dist/esm/modules/horizontal/claims/types/activity_log.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/claim.d.ts +82 -0
- package/dist/esm/modules/horizontal/claims/types/claim.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/claim.js +9 -0
- package/dist/esm/modules/horizontal/claims/types/claim.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/document.d.ts +7 -0
- package/dist/esm/modules/horizontal/claims/types/document.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/document.js +2 -0
- package/dist/esm/modules/horizontal/claims/types/document.js.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/index.d.ts +4 -0
- package/dist/esm/modules/horizontal/claims/types/index.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/claims/types/index.js +4 -0
- package/dist/esm/modules/horizontal/claims/types/index.js.map +1 -0
- package/dist/esm/modules/horizontal/communities/api/reports/community.d.ts +2 -1
- package/dist/esm/modules/horizontal/communities/api/reports/community.d.ts.map +1 -1
- package/dist/esm/modules/horizontal/communities/api/reports/community.js +3 -0
- package/dist/esm/modules/horizontal/communities/api/reports/community.js.map +1 -1
- package/dist/esm/modules/horizontal/communities/types/reports.d.ts +3 -0
- package/dist/esm/modules/horizontal/communities/types/reports.d.ts.map +1 -1
- package/dist/esm/modules/horizontal/index.d.ts +1 -0
- package/dist/esm/modules/horizontal/index.d.ts.map +1 -1
- package/dist/esm/modules/horizontal/index.js +1 -0
- package/dist/esm/modules/horizontal/index.js.map +1 -1
- package/dist/esm/modules/ticketing/tasks/types/resource.d.ts +4 -1
- package/dist/esm/modules/ticketing/tasks/types/resource.d.ts.map +1 -1
- package/dist/esm/modules/ticketing/tasks/types/resource.js +2 -0
- package/dist/esm/modules/ticketing/tasks/types/resource.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/errors/app_error.d.ts +0 -18
- package/dist/cjs/errors/app_error.d.ts.map +0 -1
- package/dist/cjs/errors/app_error.js +0 -57
- package/dist/cjs/errors/app_error.js.map +0 -1
- package/dist/esm/errors/app_error.d.ts +0 -18
- package/dist/esm/errors/app_error.d.ts.map +0 -1
- package/dist/esm/errors/app_error.js +0 -53
- package/dist/esm/errors/app_error.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claims.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/api/claims.ts"],"names":[],"mappings":";;;AACA,iDAA6C;AAc7C,MAAa,SAAU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CAAC,MAAM,CAAC,MAAc,EAAE,IAAmC;QAC9D,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAuB,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,EAAE,EAAE,IAAI,CAAC,CAAA;IACzF,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,MAAc;QACzB,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAO,GAAG,IAAI,CAAC,QAAQ,IAAI,MAAM,EAAE,CAAC,CAAA;IACnE,CAAC;CACF;AArBD,kDAqBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./claims"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/horizontal/claims/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./api"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/horizontal/claims/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,wCAAqB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ClaimActivityLogItemAgent {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ClaimActivityLogItem {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
agent: ClaimActivityLogItemAgent;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
13
|
+
export interface CreateClaimActivityLogItemDTO {
|
|
14
|
+
title: string;
|
|
15
|
+
}
|
|
16
|
+
export interface UpdateClaimActivityLogItemDTO {
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
|
19
|
+
export interface QueryClaimActivityLogDTO extends Record<string, unknown> {
|
|
20
|
+
createdAtFrom?: string;
|
|
21
|
+
createdAtTo?: string;
|
|
22
|
+
pagination?: {
|
|
23
|
+
page?: number;
|
|
24
|
+
size?: number;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=activity_log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity_log.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/activity_log.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,yBAAyB,CAAA;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAyB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACvE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAA;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity_log.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/activity_log.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { SimpleCommunity } from '../../communities/types/community';
|
|
2
|
+
import { ClaimDocument } from './document';
|
|
3
|
+
export declare enum ClaimStatus {
|
|
4
|
+
open = "open",
|
|
5
|
+
inProgress = "in-progress",
|
|
6
|
+
closed = "closed",
|
|
7
|
+
rejected = "rejected",
|
|
8
|
+
cancelled = "cancelled"
|
|
9
|
+
}
|
|
10
|
+
export interface ClaimPolicy {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ClaimProviderEconomicActivity {
|
|
15
|
+
id: number;
|
|
16
|
+
key: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ClaimProvider {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
legalId: string;
|
|
22
|
+
email: string;
|
|
23
|
+
economicActivities: ClaimProviderEconomicActivity[];
|
|
24
|
+
}
|
|
25
|
+
export interface ClaimContact {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
email: string;
|
|
29
|
+
}
|
|
30
|
+
export interface Claim {
|
|
31
|
+
id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
code: string;
|
|
34
|
+
status: ClaimStatus;
|
|
35
|
+
community: SimpleCommunity;
|
|
36
|
+
policy: ClaimPolicy;
|
|
37
|
+
provider: ClaimProvider;
|
|
38
|
+
contacts: ClaimContact[];
|
|
39
|
+
causes: string | null;
|
|
40
|
+
consequences: string | null;
|
|
41
|
+
openedAt: string;
|
|
42
|
+
closedAt: string | null;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
}
|
|
46
|
+
export interface ClaimExtended extends Claim {
|
|
47
|
+
documents: ClaimDocument[];
|
|
48
|
+
}
|
|
49
|
+
export interface CreateClaimDTO {
|
|
50
|
+
title: string;
|
|
51
|
+
code: string;
|
|
52
|
+
communityId: string;
|
|
53
|
+
policyId: string;
|
|
54
|
+
}
|
|
55
|
+
export interface UpdateClaimDTO {
|
|
56
|
+
title?: string;
|
|
57
|
+
code?: string;
|
|
58
|
+
policyId?: string;
|
|
59
|
+
causes?: string | null;
|
|
60
|
+
consequences?: string | null;
|
|
61
|
+
status?: ClaimStatus;
|
|
62
|
+
openedAt?: string;
|
|
63
|
+
closedAt?: string | null;
|
|
64
|
+
}
|
|
65
|
+
export interface QueryClaimDTO extends Record<string, unknown> {
|
|
66
|
+
id?: string[];
|
|
67
|
+
q?: string;
|
|
68
|
+
communityId?: string[];
|
|
69
|
+
providerId?: string[];
|
|
70
|
+
policyId?: string[];
|
|
71
|
+
status?: ClaimStatus[];
|
|
72
|
+
contactId?: string[];
|
|
73
|
+
openedAtFrom?: string;
|
|
74
|
+
openedAtTo?: string;
|
|
75
|
+
sortBy?: 'community' | 'code' | 'status' | 'openedAt';
|
|
76
|
+
sortOrder?: 'asc' | 'desc';
|
|
77
|
+
pagination?: {
|
|
78
|
+
page?: number;
|
|
79
|
+
size?: number;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=claim.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claim.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/claim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE1C,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;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ACjB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAA;IACrD,SAAS,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAA;CACF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClaimStatus = void 0;
|
|
4
|
+
var ClaimStatus;
|
|
5
|
+
(function (ClaimStatus) {
|
|
6
|
+
ClaimStatus["open"] = "open";
|
|
7
|
+
ClaimStatus["inProgress"] = "in-progress";
|
|
8
|
+
ClaimStatus["closed"] = "closed";
|
|
9
|
+
ClaimStatus["rejected"] = "rejected";
|
|
10
|
+
ClaimStatus["cancelled"] = "cancelled";
|
|
11
|
+
})(ClaimStatus || (exports.ClaimStatus = ClaimStatus = {}));
|
|
12
|
+
//# sourceMappingURL=claim.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claim.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/claim.ts"],"names":[],"mappings":";;;AAGA,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,yCAA0B,CAAA;IAC1B,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;AACzB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/document.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/document.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
|
|
@@ -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("./claim"), exports);
|
|
18
|
+
__exportStar(require("./document"), exports);
|
|
19
|
+
__exportStar(require("./activity_log"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/claims/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,6CAA0B;AAC1B,iDAA8B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTTPClient } from '../../../../../utils/http';
|
|
2
2
|
import { CrossPlatformFileResponse } from '../../../../../utils/compatibility';
|
|
3
|
-
import { ReportPropertiesListQuery, ReportPropertiesDebtsQuery, ReportResidentsListQuery, ReportResidentsDebtsQuery } from '../../types';
|
|
3
|
+
import { ReportPropertiesListQuery, ReportPropertiesDebtsQuery, ReportResidentsListQuery, ReportResidentsDebtsQuery, ReportCrossCommonAreaReservationsQuery } from '../../types';
|
|
4
4
|
import { CommonAreaReportsAPI } from './common-area';
|
|
5
5
|
import { MeetingReportsAPI } from './meeting';
|
|
6
6
|
import { PropertyReportsAPI } from './property';
|
|
@@ -13,6 +13,7 @@ export declare class CommunityReportsAPI {
|
|
|
13
13
|
propertiesDebts(params: ReportPropertiesDebtsQuery): Promise<CrossPlatformFileResponse>;
|
|
14
14
|
residentsList(params: ReportResidentsListQuery): Promise<CrossPlatformFileResponse>;
|
|
15
15
|
residentsDebts(params: ReportResidentsDebtsQuery): Promise<CrossPlatformFileResponse>;
|
|
16
|
+
crossCommonAreaReservations(params: ReportCrossCommonAreaReservationsQuery): Promise<CrossPlatformFileResponse>;
|
|
16
17
|
property(propertyId: string): PropertyReportsAPI;
|
|
17
18
|
resident(residentId: string): ResidentReportsAPI;
|
|
18
19
|
meeting(meetingId: string): MeetingReportsAPI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/horizontal/communities/api/reports/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAA;AAC9E,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"community.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/horizontal/communities/api/reports/community.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAA;AAC9E,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,sCAAsC,EACvC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,qBAAa,mBAAmB;IAE5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAG7B,cAAc,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAIrF,eAAe,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAIvF,aAAa,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAInF,cAAc,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAIrF,2BAA2B,CAC/B,MAAM,EAAE,sCAAsC,GAC7C,OAAO,CAAC,yBAAyB,CAAC;IAIrC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB;IAIhD,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB;IAIhD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB;IAI7C,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,oBAAoB;CAGvD"}
|
|
@@ -24,6 +24,9 @@ class CommunityReportsAPI {
|
|
|
24
24
|
async residentsDebts(params) {
|
|
25
25
|
return this._httpClient.getBinary(`${this._baseUrl}/residents-debts`, params);
|
|
26
26
|
}
|
|
27
|
+
async crossCommonAreaReservations(params) {
|
|
28
|
+
return this._httpClient.getBinary(`${this._baseUrl}/common-areas/reservations`, params);
|
|
29
|
+
}
|
|
27
30
|
property(propertyId) {
|
|
28
31
|
return new property_1.PropertyReportsAPI(this._httpClient, `${this._baseUrl}/properties/${propertyId}`);
|
|
29
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community.js","sourceRoot":"","sources":["../../../../../../../src/modules/horizontal/communities/api/reports/community.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"community.js","sourceRoot":"","sources":["../../../../../../../src/modules/horizontal/communities/api/reports/community.ts"],"names":[],"mappings":";;;AASA,+CAAoD;AACpD,uCAA6C;AAC7C,yCAA+C;AAC/C,yCAA+C;AAE/C,MAAa,mBAAmB;IAEX;IACA;IAFnB,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;IAChC,CAAC;IAEJ,KAAK,CAAC,cAAc,CAAC,MAAiC;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,kBAAkB,EAAE,MAAM,CAAC,CAAA;IAC/E,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,MAAkC;QACtD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,mBAAmB,EAAE,MAAM,CAAC,CAAA;IAChF,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,MAAgC;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,iBAAiB,EAAE,MAAM,CAAC,CAAA;IAC9E,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,MAAiC;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,kBAAkB,EAAE,MAAM,CAAC,CAAA;IAC/E,CAAC;IAED,KAAK,CAAC,2BAA2B,CAC/B,MAA8C;QAE9C,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,4BAA4B,EAAE,MAAM,CAAC,CAAA;IACzF,CAAC;IAED,QAAQ,CAAC,UAAkB;QACzB,OAAO,IAAI,6BAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,eAAe,UAAU,EAAE,CAAC,CAAA;IAC9F,CAAC;IAED,QAAQ,CAAC,UAAkB;QACzB,OAAO,IAAI,6BAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,cAAc,UAAU,EAAE,CAAC,CAAA;IAC7F,CAAC;IAED,OAAO,CAAC,SAAiB;QACvB,OAAO,IAAI,2BAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,aAAa,SAAS,EAAE,CAAC,CAAA;IAC1F,CAAC;IAED,UAAU,CAAC,YAAoB;QAC7B,OAAO,IAAI,kCAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,iBAAiB,YAAY,EAAE,CAAC,CAAA;IACpG,CAAC;CACF;AA3CD,kDA2CC"}
|
|
@@ -31,4 +31,7 @@ export interface ReportCommonAreaReservationsQuery extends ReportQuery, ReportDa
|
|
|
31
31
|
type: CommonAreaReservationsReportType;
|
|
32
32
|
scope?: CommonAreaReservationsReportScope;
|
|
33
33
|
}
|
|
34
|
+
export interface ReportCrossCommonAreaReservationsQuery extends ReportCommonAreaReservationsQuery {
|
|
35
|
+
commonAreaIds?: string[];
|
|
36
|
+
}
|
|
34
37
|
//# sourceMappingURL=reports.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/reports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;AAC3E,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAE/E,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,KAAK,GAAG,KAAK,CAAA;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,WAAW,CAAC,EAA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,EAAE,MAAM,EAAE,CAAA;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/horizontal/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/horizontal/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA"}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./communities"), exports);
|
|
18
18
|
__exportStar(require("./bulk_messaging"), exports);
|
|
19
|
+
__exportStar(require("./claims"), exports);
|
|
19
20
|
__exportStar(require("./meetings"), exports);
|
|
20
21
|
__exportStar(require("./meeting_agendas"), exports);
|
|
21
22
|
__exportStar(require("./api"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/horizontal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,mDAAgC;AAChC,6CAA0B;AAC1B,oDAAiC;AACjC,wCAAqB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/horizontal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,mDAAgC;AAChC,2CAAwB;AACxB,6CAA0B;AAC1B,oDAAiC;AACjC,wCAAqB"}
|
|
@@ -2,7 +2,9 @@ export declare enum TicketingTaskResourceType {
|
|
|
2
2
|
horizontalMacrocommunity = 1,
|
|
3
3
|
horizontalCommunity = 2,
|
|
4
4
|
ticketingTask = 3,
|
|
5
|
-
contactPerson = 4
|
|
5
|
+
contactPerson = 4,
|
|
6
|
+
horizontalClaim = 5,
|
|
7
|
+
horizontalProviderContract = 6
|
|
6
8
|
}
|
|
7
9
|
export declare enum TicketingTaskResourceSubType {
|
|
8
10
|
RouteTracking = 1,
|
|
@@ -19,6 +21,7 @@ export interface TicketingTaskResource {
|
|
|
19
21
|
export interface TicketingTaskResourceExtended extends TicketingTaskResource {
|
|
20
22
|
entityName: string;
|
|
21
23
|
subEntityName?: string;
|
|
24
|
+
subEntities?: TicketingTaskResourceExtended[];
|
|
22
25
|
}
|
|
23
26
|
export type CreateTicketingTaskResourceDTO = Omit<TicketingTaskResource, 'taskId'>;
|
|
24
27
|
export interface UpdateTicketingTaskResourceDTO {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ticketing/tasks/types/resource.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACnC,wBAAwB,IAAI;IAC5B,mBAAmB,IAAI;IACvB,aAAa,IAAI;IACjB,aAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ticketing/tasks/types/resource.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACnC,wBAAwB,IAAI;IAC5B,mBAAmB,IAAI;IACvB,aAAa,IAAI;IACjB,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,0BAA0B,IAAI;CAC/B;AAED,oBAAY,4BAA4B;IACtC,aAAa,IAAI;IACjB,OAAO,IAAI;IACX,gBAAgB,IAAI;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,yBAAyB,CAAA;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,4BAA4B,GAAG,IAAI,CAAA;IAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;IAC1E,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,6BAA6B,EAAE,CAAA;CAC9C;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAA;AAElF,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB"}
|
|
@@ -7,6 +7,8 @@ var TicketingTaskResourceType;
|
|
|
7
7
|
TicketingTaskResourceType[TicketingTaskResourceType["horizontalCommunity"] = 2] = "horizontalCommunity";
|
|
8
8
|
TicketingTaskResourceType[TicketingTaskResourceType["ticketingTask"] = 3] = "ticketingTask";
|
|
9
9
|
TicketingTaskResourceType[TicketingTaskResourceType["contactPerson"] = 4] = "contactPerson";
|
|
10
|
+
TicketingTaskResourceType[TicketingTaskResourceType["horizontalClaim"] = 5] = "horizontalClaim";
|
|
11
|
+
TicketingTaskResourceType[TicketingTaskResourceType["horizontalProviderContract"] = 6] = "horizontalProviderContract";
|
|
10
12
|
})(TicketingTaskResourceType || (exports.TicketingTaskResourceType = TicketingTaskResourceType = {}));
|
|
11
13
|
var TicketingTaskResourceSubType;
|
|
12
14
|
(function (TicketingTaskResourceSubType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../../../src/modules/ticketing/tasks/types/resource.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../../../src/modules/ticketing/tasks/types/resource.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,iHAA4B,CAAA;IAC5B,uGAAuB,CAAA;IACvB,2FAAiB,CAAA;IACjB,2FAAiB,CAAA;IACjB,+FAAmB,CAAA;IACnB,qHAA8B,CAAA;AAChC,CAAC,EAPW,yBAAyB,yCAAzB,yBAAyB,QAOpC;AAED,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACtC,iGAAiB,CAAA;IACjB,qFAAW,CAAA;IACX,uGAAoB,CAAA;AACtB,CAAC,EAJW,4BAA4B,4CAA5B,4BAA4B,QAIvC"}
|
|
@@ -5,6 +5,11 @@ import { CatalogDetails } from './catalog_types';
|
|
|
5
5
|
export declare const ERROR_CODES: {
|
|
6
6
|
FORBIDDEN_CONTACT: API_ERROR_CODES.FORBIDDEN_CONTACT;
|
|
7
7
|
HORIZONTAL_BULK_MESSAGING_ATTACHMENTS_TOO_LARGE: API_ERROR_CODES.HORIZONTAL_BULK_MESSAGING_ATTACHMENTS_TOO_LARGE;
|
|
8
|
+
HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH: API_ERROR_CODES.HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH;
|
|
9
|
+
HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED: API_ERROR_CODES.HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED;
|
|
10
|
+
HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED: API_ERROR_CODES.HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED;
|
|
11
|
+
TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED: API_ERROR_CODES.TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED;
|
|
12
|
+
TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED: API_ERROR_CODES.TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED;
|
|
8
13
|
VALIDATION: BASE_ERROR_CODES.VALIDATION;
|
|
9
14
|
BAD_REQUEST: BASE_ERROR_CODES.BAD_REQUEST;
|
|
10
15
|
AUTHENTICATION: BASE_ERROR_CODES.AUTHENTICATION;
|
|
@@ -59,6 +64,81 @@ export declare const ERRORS_CATALOG: {
|
|
|
59
64
|
}>;
|
|
60
65
|
message: string;
|
|
61
66
|
};
|
|
67
|
+
HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH: {
|
|
68
|
+
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
69
|
+
status: number;
|
|
70
|
+
details: import("zod").ZodObject<{
|
|
71
|
+
policyId: import("zod").ZodString;
|
|
72
|
+
communityId: import("zod").ZodString;
|
|
73
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
74
|
+
policyId: string;
|
|
75
|
+
communityId: string;
|
|
76
|
+
}, {
|
|
77
|
+
policyId: string;
|
|
78
|
+
communityId: string;
|
|
79
|
+
}>;
|
|
80
|
+
message: string;
|
|
81
|
+
};
|
|
82
|
+
HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED: {
|
|
83
|
+
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
84
|
+
status: number;
|
|
85
|
+
details: import("zod").ZodObject<{
|
|
86
|
+
claimId: import("zod").ZodString;
|
|
87
|
+
contactId: import("zod").ZodString;
|
|
88
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
89
|
+
contactId: string;
|
|
90
|
+
claimId: string;
|
|
91
|
+
}, {
|
|
92
|
+
contactId: string;
|
|
93
|
+
claimId: string;
|
|
94
|
+
}>;
|
|
95
|
+
message: string;
|
|
96
|
+
};
|
|
97
|
+
HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED: {
|
|
98
|
+
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
99
|
+
status: number;
|
|
100
|
+
details: import("zod").ZodObject<{
|
|
101
|
+
openedAt: import("zod").ZodString;
|
|
102
|
+
closedAt: import("zod").ZodString;
|
|
103
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
104
|
+
openedAt: string;
|
|
105
|
+
closedAt: string;
|
|
106
|
+
}, {
|
|
107
|
+
openedAt: string;
|
|
108
|
+
closedAt: string;
|
|
109
|
+
}>;
|
|
110
|
+
message: string;
|
|
111
|
+
};
|
|
112
|
+
TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED: {
|
|
113
|
+
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
114
|
+
status: number;
|
|
115
|
+
details: import("zod").ZodObject<{
|
|
116
|
+
taskId: import("zod").ZodString;
|
|
117
|
+
refId: import("zod").ZodString;
|
|
118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
119
|
+
taskId: string;
|
|
120
|
+
refId: string;
|
|
121
|
+
}, {
|
|
122
|
+
taskId: string;
|
|
123
|
+
refId: string;
|
|
124
|
+
}>;
|
|
125
|
+
message: string;
|
|
126
|
+
};
|
|
127
|
+
TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED: {
|
|
128
|
+
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
129
|
+
status: number;
|
|
130
|
+
details: import("zod").ZodObject<{
|
|
131
|
+
taskId: import("zod").ZodString;
|
|
132
|
+
refId: import("zod").ZodString;
|
|
133
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
134
|
+
taskId: string;
|
|
135
|
+
refId: string;
|
|
136
|
+
}, {
|
|
137
|
+
taskId: string;
|
|
138
|
+
refId: string;
|
|
139
|
+
}>;
|
|
140
|
+
message: string;
|
|
141
|
+
};
|
|
62
142
|
VALIDATION: {
|
|
63
143
|
kind: import("./catalog_types").ErrorKind.DOMAIN;
|
|
64
144
|
status: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/errors/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAuB,MAAM,gBAAgB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAqB,MAAM,iBAAiB,CAAA;AAEnE,8FAA8F;AAC9F,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/errors/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAuB,MAAM,gBAAgB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAqB,MAAM,iBAAiB,CAAA;AAEnE,8FAA8F;AAC9F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAA;AAED,yFAAyF;AACzF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAA;AAEhD;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,SAAS,IAAI,cAAc,CAAC,CAAC,EAAE,OAAO,cAAc,CAAC,CAAA;AAExF,oGAAoG;AACpG,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGqB,CAAA"}
|
|
@@ -5,10 +5,13 @@ import { CatalogDetails, ErrorKind } from './catalog_types';
|
|
|
5
5
|
* the generic HTTP categories in `BASE_ERROR_CODES`.
|
|
6
6
|
*/
|
|
7
7
|
export declare enum API_ERROR_CODES {
|
|
8
|
-
/** Access denied to a specific contact person (provides `contactId` in details). */
|
|
9
8
|
FORBIDDEN_CONTACT = "FORBIDDEN_CONTACT",
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
HORIZONTAL_BULK_MESSAGING_ATTACHMENTS_TOO_LARGE = "HORIZONTAL_BULK_MESSAGING_ATTACHMENTS_TOO_LARGE",
|
|
10
|
+
HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH = "HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH",
|
|
11
|
+
HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED = "HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED",
|
|
12
|
+
HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED = "HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED",
|
|
13
|
+
TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED = "TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED",
|
|
14
|
+
TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED = "TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED"
|
|
12
15
|
}
|
|
13
16
|
/** Maps every `API_ERROR_CODES` member to its catalog entry. */
|
|
14
17
|
export declare const API_ERRORS_CATALOG: {
|
|
@@ -42,6 +45,81 @@ export declare const API_ERRORS_CATALOG: {
|
|
|
42
45
|
}>;
|
|
43
46
|
message: string;
|
|
44
47
|
};
|
|
48
|
+
HORIZONTAL_CLAIM_POLICY_COMMUNITY_MISMATCH: {
|
|
49
|
+
kind: ErrorKind.DOMAIN;
|
|
50
|
+
status: number;
|
|
51
|
+
details: z.ZodObject<{
|
|
52
|
+
policyId: z.ZodString;
|
|
53
|
+
communityId: z.ZodString;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
policyId: string;
|
|
56
|
+
communityId: string;
|
|
57
|
+
}, {
|
|
58
|
+
policyId: string;
|
|
59
|
+
communityId: string;
|
|
60
|
+
}>;
|
|
61
|
+
message: string;
|
|
62
|
+
};
|
|
63
|
+
HORIZONTAL_CLAIM_CONTACT_ALREADY_LINKED: {
|
|
64
|
+
kind: ErrorKind.DOMAIN;
|
|
65
|
+
status: number;
|
|
66
|
+
details: z.ZodObject<{
|
|
67
|
+
claimId: z.ZodString;
|
|
68
|
+
contactId: z.ZodString;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
contactId: string;
|
|
71
|
+
claimId: string;
|
|
72
|
+
}, {
|
|
73
|
+
contactId: string;
|
|
74
|
+
claimId: string;
|
|
75
|
+
}>;
|
|
76
|
+
message: string;
|
|
77
|
+
};
|
|
78
|
+
HORIZONTAL_CLAIM_CLOSED_BEFORE_OPENED: {
|
|
79
|
+
kind: ErrorKind.DOMAIN;
|
|
80
|
+
status: number;
|
|
81
|
+
details: z.ZodObject<{
|
|
82
|
+
openedAt: z.ZodString;
|
|
83
|
+
closedAt: z.ZodString;
|
|
84
|
+
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
openedAt: string;
|
|
86
|
+
closedAt: string;
|
|
87
|
+
}, {
|
|
88
|
+
openedAt: string;
|
|
89
|
+
closedAt: string;
|
|
90
|
+
}>;
|
|
91
|
+
message: string;
|
|
92
|
+
};
|
|
93
|
+
TICKETING_TASK_CLAIM_SUBREF_NOT_ALLOWED: {
|
|
94
|
+
kind: ErrorKind.DOMAIN;
|
|
95
|
+
status: number;
|
|
96
|
+
details: z.ZodObject<{
|
|
97
|
+
taskId: z.ZodString;
|
|
98
|
+
refId: z.ZodString;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
taskId: string;
|
|
101
|
+
refId: string;
|
|
102
|
+
}, {
|
|
103
|
+
taskId: string;
|
|
104
|
+
refId: string;
|
|
105
|
+
}>;
|
|
106
|
+
message: string;
|
|
107
|
+
};
|
|
108
|
+
TICKETING_TASK_CLAIM_ALREADY_ASSOCIATED: {
|
|
109
|
+
kind: ErrorKind.DOMAIN;
|
|
110
|
+
status: number;
|
|
111
|
+
details: z.ZodObject<{
|
|
112
|
+
taskId: z.ZodString;
|
|
113
|
+
refId: z.ZodString;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
taskId: string;
|
|
116
|
+
refId: string;
|
|
117
|
+
}, {
|
|
118
|
+
taskId: string;
|
|
119
|
+
refId: string;
|
|
120
|
+
}>;
|
|
121
|
+
message: string;
|
|
122
|
+
};
|
|
45
123
|
};
|
|
46
124
|
/**
|
|
47
125
|
* Strongly-typed `details` shape for a given `API_ERROR_CODES` member.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog_api.d.ts","sourceRoot":"","sources":["../../../src/errors/catalog_api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,cAAc,EAAqB,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE9E;;;GAGG;AACH,oBAAY,eAAe;IACzB,
|
|
1
|
+
{"version":3,"file":"catalog_api.d.ts","sourceRoot":"","sources":["../../../src/errors/catalog_api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,cAAc,EAAqB,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE9E;;;GAGG;AACH,oBAAY,eAAe;IACzB,iBAAiB,sBAAsB;IAEvC,+CAA+C,oDAAoD;IACnG,0CAA0C,+CAA+C;IACzF,uCAAuC,4CAA4C;IACnF,qCAAqC,0CAA0C;IAE/E,uCAAuC,4CAA4C;IACnF,uCAAuC,4CAA4C;CACpF;AAED,gEAAgE;AAChE,eAAO,MAAM,kBAAkB;;;;;YAKzB,kEAAkE;;;;;;;;;;;;;YASlE,gEAAgE;;YAEhE,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCT,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,eAAe,IAAI,cAAc,CAAC,CAAC,EAAE,OAAO,kBAAkB,CAAC,CAAA"}
|