@ogcio/building-blocks-sdk 0.2.89 → 0.2.90
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/biome.jsonc +1 -1
- package/dist/client/clients/messaging/index.d.ts +86 -2
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.js +25 -2
- package/dist/client/clients/messaging/index.js.map +1 -1
- package/dist/client/clients/messaging/schema.d.ts +877 -2
- package/dist/client/clients/messaging/schema.d.ts.map +1 -1
- package/dist/client/clients/messaging/support.d.ts +2 -0
- package/dist/client/clients/messaging/support.d.ts.map +1 -1
- package/dist/client/clients/messaging/tags.d.ts +587 -0
- package/dist/client/clients/messaging/tags.d.ts.map +1 -0
- package/dist/client/clients/messaging/tags.js +49 -0
- package/dist/client/clients/messaging/tags.js.map +1 -0
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +1 -1
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/scheduler/schema.d.ts +1 -1
- package/dist/client/clients/scheduler/schema.d.ts.map +1 -1
- package/dist/client/clients/upload/index.d.ts +1 -1
- package/dist/client/clients/upload/index.d.ts.map +1 -1
- package/dist/client/clients/upload/schema.d.ts +4 -4
- package/dist/client/clients/upload/schema.d.ts.map +1 -1
- package/dist/client/clients/upload/support.d.ts +1 -1
- package/dist/client/clients/upload/support.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/client/clients/messaging/index.ts +39 -2
- package/src/client/clients/messaging/open-api-definition.json +3113 -1242
- package/src/client/clients/messaging/schema.ts +877 -2
- package/src/client/clients/messaging/tags.ts +86 -0
- package/src/client/clients/profile/index.ts +1 -1
- package/src/client/clients/profile/open-api-definition.json +49 -0
- package/src/client/clients/scheduler/open-api-definition.json +33 -32
- package/src/client/clients/scheduler/schema.ts +1 -1
- package/src/client/clients/upload/open-api-definition.json +10 -6
- package/src/client/clients/upload/schema.ts +4 -4
|
@@ -11,7 +11,89 @@ export interface paths {
|
|
|
11
11
|
put?: never;
|
|
12
12
|
/** @description Creates a message */
|
|
13
13
|
post: operations["CreateMessage"];
|
|
14
|
-
|
|
14
|
+
/** @description Deletes the message with the given message id */
|
|
15
|
+
delete: {
|
|
16
|
+
parameters: {
|
|
17
|
+
query?: never;
|
|
18
|
+
header?: never;
|
|
19
|
+
path?: never;
|
|
20
|
+
cookie?: never;
|
|
21
|
+
};
|
|
22
|
+
requestBody: {
|
|
23
|
+
content: {
|
|
24
|
+
"application/json": {
|
|
25
|
+
/** @description List of message ids to delete */
|
|
26
|
+
ids: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
responses: {
|
|
31
|
+
/** @description Default Response */
|
|
32
|
+
200: {
|
|
33
|
+
headers: {
|
|
34
|
+
[name: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
content: {
|
|
37
|
+
"application/json": {
|
|
38
|
+
data: {
|
|
39
|
+
/** @description List of message ids to delete */
|
|
40
|
+
ids: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/** @description Default Response */
|
|
46
|
+
"5XX": {
|
|
47
|
+
headers: {
|
|
48
|
+
[name: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
content: {
|
|
51
|
+
"application/json": {
|
|
52
|
+
/** @description Code used to categorize the error */
|
|
53
|
+
code: string;
|
|
54
|
+
/** @description Description of the error */
|
|
55
|
+
detail: string;
|
|
56
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
57
|
+
requestId: string;
|
|
58
|
+
/** @description Name of the error type */
|
|
59
|
+
name: string;
|
|
60
|
+
/** @description List of the validation errors */
|
|
61
|
+
validation?: {
|
|
62
|
+
fieldName: string;
|
|
63
|
+
message: string;
|
|
64
|
+
}[];
|
|
65
|
+
validationContext?: string;
|
|
66
|
+
statusCode: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
/** @description Default Response */
|
|
71
|
+
"4XX": {
|
|
72
|
+
headers: {
|
|
73
|
+
[name: string]: unknown;
|
|
74
|
+
};
|
|
75
|
+
content: {
|
|
76
|
+
"application/json": {
|
|
77
|
+
/** @description Code used to categorize the error */
|
|
78
|
+
code: string;
|
|
79
|
+
/** @description Description of the error */
|
|
80
|
+
detail: string;
|
|
81
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
82
|
+
requestId: string;
|
|
83
|
+
/** @description Name of the error type */
|
|
84
|
+
name: string;
|
|
85
|
+
/** @description List of the validation errors */
|
|
86
|
+
validation?: {
|
|
87
|
+
fieldName: string;
|
|
88
|
+
message: string;
|
|
89
|
+
}[];
|
|
90
|
+
validationContext?: string;
|
|
91
|
+
statusCode: number;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
15
97
|
options?: never;
|
|
16
98
|
head?: never;
|
|
17
99
|
patch?: never;
|
|
@@ -208,6 +290,23 @@ export interface paths {
|
|
|
208
290
|
patch?: never;
|
|
209
291
|
trace?: never;
|
|
210
292
|
};
|
|
293
|
+
"/api/v1/messages/tags": {
|
|
294
|
+
parameters: {
|
|
295
|
+
query?: never;
|
|
296
|
+
header?: never;
|
|
297
|
+
path?: never;
|
|
298
|
+
cookie?: never;
|
|
299
|
+
};
|
|
300
|
+
get?: never;
|
|
301
|
+
put?: never;
|
|
302
|
+
/** @description Assigns or removes a tag on multiple messages */
|
|
303
|
+
post: operations["AssignTagToMessages"];
|
|
304
|
+
delete?: never;
|
|
305
|
+
options?: never;
|
|
306
|
+
head?: never;
|
|
307
|
+
patch?: never;
|
|
308
|
+
trace?: never;
|
|
309
|
+
};
|
|
211
310
|
"/api/v1/providers/": {
|
|
212
311
|
parameters: {
|
|
213
312
|
query?: never;
|
|
@@ -951,6 +1050,59 @@ export interface paths {
|
|
|
951
1050
|
patch?: never;
|
|
952
1051
|
trace?: never;
|
|
953
1052
|
};
|
|
1053
|
+
"/api/v1/tags/": {
|
|
1054
|
+
parameters: {
|
|
1055
|
+
query?: never;
|
|
1056
|
+
header?: never;
|
|
1057
|
+
path?: never;
|
|
1058
|
+
cookie?: never;
|
|
1059
|
+
};
|
|
1060
|
+
/** @description Returns all tags for the logged-in user (flat list) */
|
|
1061
|
+
get: operations["ListTags"];
|
|
1062
|
+
put?: never;
|
|
1063
|
+
/** @description Creates a tag for the logged-in user */
|
|
1064
|
+
post: operations["CreateTag"];
|
|
1065
|
+
delete?: never;
|
|
1066
|
+
options?: never;
|
|
1067
|
+
head?: never;
|
|
1068
|
+
patch?: never;
|
|
1069
|
+
trace?: never;
|
|
1070
|
+
};
|
|
1071
|
+
"/api/v1/tags/tree": {
|
|
1072
|
+
parameters: {
|
|
1073
|
+
query?: never;
|
|
1074
|
+
header?: never;
|
|
1075
|
+
path?: never;
|
|
1076
|
+
cookie?: never;
|
|
1077
|
+
};
|
|
1078
|
+
/** @description Returns the tag tree for the logged-in user, sorted alphabetically */
|
|
1079
|
+
get: operations["GetTagTree"];
|
|
1080
|
+
put?: never;
|
|
1081
|
+
post?: never;
|
|
1082
|
+
delete?: never;
|
|
1083
|
+
options?: never;
|
|
1084
|
+
head?: never;
|
|
1085
|
+
patch?: never;
|
|
1086
|
+
trace?: never;
|
|
1087
|
+
};
|
|
1088
|
+
"/api/v1/tags/{tagId}": {
|
|
1089
|
+
parameters: {
|
|
1090
|
+
query?: never;
|
|
1091
|
+
header?: never;
|
|
1092
|
+
path?: never;
|
|
1093
|
+
cookie?: never;
|
|
1094
|
+
};
|
|
1095
|
+
get?: never;
|
|
1096
|
+
put?: never;
|
|
1097
|
+
post?: never;
|
|
1098
|
+
/** @description Deletes a tag and its descendants. Blocked if any have messages attached. */
|
|
1099
|
+
delete: operations["DeleteTag"];
|
|
1100
|
+
options?: never;
|
|
1101
|
+
head?: never;
|
|
1102
|
+
/** @description Updates a tag (name and/or parent) */
|
|
1103
|
+
patch: operations["UpdateTag"];
|
|
1104
|
+
trace?: never;
|
|
1105
|
+
};
|
|
954
1106
|
}
|
|
955
1107
|
export type webhooks = Record<string, never>;
|
|
956
1108
|
export interface components {
|
|
@@ -969,6 +1121,11 @@ export interface operations {
|
|
|
969
1121
|
status?: "delivered";
|
|
970
1122
|
isSeen?: "true" | "false" | "0" | "1";
|
|
971
1123
|
search?: string;
|
|
1124
|
+
deletedAfterDateTime?: string;
|
|
1125
|
+
/** @description Filter messages by tag id */
|
|
1126
|
+
tagId?: string;
|
|
1127
|
+
/** @description If true, return only messages without a tag */
|
|
1128
|
+
untagged?: "true" | "false" | "0" | "1";
|
|
972
1129
|
/** @description Either recipientUserId and organisationId are mandatory */
|
|
973
1130
|
recipientUserId?: string;
|
|
974
1131
|
/** @description Either recipientUserId and organisationId are mandatory */
|
|
@@ -1259,6 +1416,18 @@ export interface operations {
|
|
|
1259
1416
|
/** @enum {string} */
|
|
1260
1417
|
isSeen?: "true" | "false" | "0" | "1";
|
|
1261
1418
|
search?: string;
|
|
1419
|
+
/** Format: date-time */
|
|
1420
|
+
deletedAfterDateTime?: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* Format: uuid
|
|
1423
|
+
* @description Filter messages by tag id
|
|
1424
|
+
*/
|
|
1425
|
+
tagId?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* @description If true, return only messages without a tag
|
|
1428
|
+
* @enum {string}
|
|
1429
|
+
*/
|
|
1430
|
+
untagged?: "true" | "false" | "0" | "1";
|
|
1262
1431
|
/** @description Either recipientUserId and organisationId are mandatory */
|
|
1263
1432
|
recipientUserId?: string;
|
|
1264
1433
|
/** @description Either recipientUserId and organisationId are mandatory */
|
|
@@ -1389,7 +1558,9 @@ export interface operations {
|
|
|
1389
1558
|
};
|
|
1390
1559
|
GetMessage: {
|
|
1391
1560
|
parameters: {
|
|
1392
|
-
query?:
|
|
1561
|
+
query?: {
|
|
1562
|
+
deleted?: "true" | "false" | "0" | "1";
|
|
1563
|
+
};
|
|
1393
1564
|
header?: never;
|
|
1394
1565
|
path: {
|
|
1395
1566
|
/** @description The requested message unique id */
|
|
@@ -1559,6 +1730,121 @@ export interface operations {
|
|
|
1559
1730
|
};
|
|
1560
1731
|
};
|
|
1561
1732
|
};
|
|
1733
|
+
AssignTagToMessages: {
|
|
1734
|
+
parameters: {
|
|
1735
|
+
query?: never;
|
|
1736
|
+
header?: never;
|
|
1737
|
+
path?: never;
|
|
1738
|
+
cookie?: never;
|
|
1739
|
+
};
|
|
1740
|
+
requestBody: {
|
|
1741
|
+
content: {
|
|
1742
|
+
"application/json": {
|
|
1743
|
+
tagId: string | null;
|
|
1744
|
+
messageIds: string[];
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
responses: {
|
|
1749
|
+
/** @description Default Response */
|
|
1750
|
+
200: {
|
|
1751
|
+
headers: {
|
|
1752
|
+
[name: string]: unknown;
|
|
1753
|
+
};
|
|
1754
|
+
content: {
|
|
1755
|
+
"application/json": {
|
|
1756
|
+
data: {
|
|
1757
|
+
tagId: string | null;
|
|
1758
|
+
messageIds: string[];
|
|
1759
|
+
};
|
|
1760
|
+
metadata?: {
|
|
1761
|
+
/** @description Object containing the links to the related endpoints */
|
|
1762
|
+
links?: {
|
|
1763
|
+
self: {
|
|
1764
|
+
/** @description URL pointing to the request itself */
|
|
1765
|
+
href?: string;
|
|
1766
|
+
};
|
|
1767
|
+
next?: {
|
|
1768
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
1769
|
+
href?: string;
|
|
1770
|
+
};
|
|
1771
|
+
prev?: {
|
|
1772
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
1773
|
+
href?: string;
|
|
1774
|
+
};
|
|
1775
|
+
first: {
|
|
1776
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
1777
|
+
href?: string;
|
|
1778
|
+
};
|
|
1779
|
+
last: {
|
|
1780
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
1781
|
+
href?: string;
|
|
1782
|
+
};
|
|
1783
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
1784
|
+
pages: {
|
|
1785
|
+
[key: string]: {
|
|
1786
|
+
href?: string;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1790
|
+
/** @description Number representing the total number of available items */
|
|
1791
|
+
totalCount?: number;
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
/** @description Default Response */
|
|
1797
|
+
"4XX": {
|
|
1798
|
+
headers: {
|
|
1799
|
+
[name: string]: unknown;
|
|
1800
|
+
};
|
|
1801
|
+
content: {
|
|
1802
|
+
"application/json": {
|
|
1803
|
+
/** @description Code used to categorize the error */
|
|
1804
|
+
code: string;
|
|
1805
|
+
/** @description Description of the error */
|
|
1806
|
+
detail: string;
|
|
1807
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
1808
|
+
requestId: string;
|
|
1809
|
+
/** @description Name of the error type */
|
|
1810
|
+
name: string;
|
|
1811
|
+
/** @description List of the validation errors */
|
|
1812
|
+
validation?: {
|
|
1813
|
+
fieldName: string;
|
|
1814
|
+
message: string;
|
|
1815
|
+
}[];
|
|
1816
|
+
validationContext?: string;
|
|
1817
|
+
statusCode: number;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
/** @description Default Response */
|
|
1822
|
+
"5XX": {
|
|
1823
|
+
headers: {
|
|
1824
|
+
[name: string]: unknown;
|
|
1825
|
+
};
|
|
1826
|
+
content: {
|
|
1827
|
+
"application/json": {
|
|
1828
|
+
/** @description Code used to categorize the error */
|
|
1829
|
+
code: string;
|
|
1830
|
+
/** @description Description of the error */
|
|
1831
|
+
detail: string;
|
|
1832
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
1833
|
+
requestId: string;
|
|
1834
|
+
/** @description Name of the error type */
|
|
1835
|
+
name: string;
|
|
1836
|
+
/** @description List of the validation errors */
|
|
1837
|
+
validation?: {
|
|
1838
|
+
fieldName: string;
|
|
1839
|
+
message: string;
|
|
1840
|
+
}[];
|
|
1841
|
+
validationContext?: string;
|
|
1842
|
+
statusCode: number;
|
|
1843
|
+
};
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1562
1848
|
ListProviders: {
|
|
1563
1849
|
parameters: {
|
|
1564
1850
|
query: {
|
|
@@ -2720,6 +3006,8 @@ export interface operations {
|
|
|
2720
3006
|
offset?: string;
|
|
2721
3007
|
/** @description Indicates the maximum number (100) of items that will be returned in a single request */
|
|
2722
3008
|
limit?: string;
|
|
3009
|
+
/** @description Filter messages deleted after specified date */
|
|
3010
|
+
deletedAfterDateTime?: string;
|
|
2723
3011
|
};
|
|
2724
3012
|
header?: never;
|
|
2725
3013
|
path?: never;
|
|
@@ -3000,4 +3288,591 @@ export interface operations {
|
|
|
3000
3288
|
};
|
|
3001
3289
|
};
|
|
3002
3290
|
};
|
|
3291
|
+
ListTags: {
|
|
3292
|
+
parameters: {
|
|
3293
|
+
query?: never;
|
|
3294
|
+
header?: never;
|
|
3295
|
+
path?: never;
|
|
3296
|
+
cookie?: never;
|
|
3297
|
+
};
|
|
3298
|
+
requestBody?: never;
|
|
3299
|
+
responses: {
|
|
3300
|
+
/** @description Default Response */
|
|
3301
|
+
200: {
|
|
3302
|
+
headers: {
|
|
3303
|
+
[name: string]: unknown;
|
|
3304
|
+
};
|
|
3305
|
+
content: {
|
|
3306
|
+
"application/json": {
|
|
3307
|
+
data: {
|
|
3308
|
+
/**
|
|
3309
|
+
* Format: uuid
|
|
3310
|
+
* @description Unique Id of the tag
|
|
3311
|
+
*/
|
|
3312
|
+
id: string;
|
|
3313
|
+
/** @description Owner user id */
|
|
3314
|
+
userId: string;
|
|
3315
|
+
/** @description Display name of the tag */
|
|
3316
|
+
label: string;
|
|
3317
|
+
parentTagId: string | null;
|
|
3318
|
+
/** @description Materialized ltree path */
|
|
3319
|
+
path: string;
|
|
3320
|
+
/** @description Creation date time */
|
|
3321
|
+
createdAt: string;
|
|
3322
|
+
/** @description Last update date time */
|
|
3323
|
+
updatedAt: string;
|
|
3324
|
+
}[];
|
|
3325
|
+
metadata?: {
|
|
3326
|
+
/** @description Object containing the links to the related endpoints */
|
|
3327
|
+
links?: {
|
|
3328
|
+
self: {
|
|
3329
|
+
/** @description URL pointing to the request itself */
|
|
3330
|
+
href?: string;
|
|
3331
|
+
};
|
|
3332
|
+
next?: {
|
|
3333
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3334
|
+
href?: string;
|
|
3335
|
+
};
|
|
3336
|
+
prev?: {
|
|
3337
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3338
|
+
href?: string;
|
|
3339
|
+
};
|
|
3340
|
+
first: {
|
|
3341
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3342
|
+
href?: string;
|
|
3343
|
+
};
|
|
3344
|
+
last: {
|
|
3345
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3346
|
+
href?: string;
|
|
3347
|
+
};
|
|
3348
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
3349
|
+
pages: {
|
|
3350
|
+
[key: string]: {
|
|
3351
|
+
href?: string;
|
|
3352
|
+
};
|
|
3353
|
+
};
|
|
3354
|
+
};
|
|
3355
|
+
/** @description Number representing the total number of available items */
|
|
3356
|
+
totalCount?: number;
|
|
3357
|
+
};
|
|
3358
|
+
};
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3361
|
+
/** @description Default Response */
|
|
3362
|
+
"4XX": {
|
|
3363
|
+
headers: {
|
|
3364
|
+
[name: string]: unknown;
|
|
3365
|
+
};
|
|
3366
|
+
content: {
|
|
3367
|
+
"application/json": {
|
|
3368
|
+
/** @description Code used to categorize the error */
|
|
3369
|
+
code: string;
|
|
3370
|
+
/** @description Description of the error */
|
|
3371
|
+
detail: string;
|
|
3372
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3373
|
+
requestId: string;
|
|
3374
|
+
/** @description Name of the error type */
|
|
3375
|
+
name: string;
|
|
3376
|
+
/** @description List of the validation errors */
|
|
3377
|
+
validation?: {
|
|
3378
|
+
fieldName: string;
|
|
3379
|
+
message: string;
|
|
3380
|
+
}[];
|
|
3381
|
+
validationContext?: string;
|
|
3382
|
+
statusCode: number;
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
};
|
|
3386
|
+
/** @description Default Response */
|
|
3387
|
+
"5XX": {
|
|
3388
|
+
headers: {
|
|
3389
|
+
[name: string]: unknown;
|
|
3390
|
+
};
|
|
3391
|
+
content: {
|
|
3392
|
+
"application/json": {
|
|
3393
|
+
/** @description Code used to categorize the error */
|
|
3394
|
+
code: string;
|
|
3395
|
+
/** @description Description of the error */
|
|
3396
|
+
detail: string;
|
|
3397
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3398
|
+
requestId: string;
|
|
3399
|
+
/** @description Name of the error type */
|
|
3400
|
+
name: string;
|
|
3401
|
+
/** @description List of the validation errors */
|
|
3402
|
+
validation?: {
|
|
3403
|
+
fieldName: string;
|
|
3404
|
+
message: string;
|
|
3405
|
+
}[];
|
|
3406
|
+
validationContext?: string;
|
|
3407
|
+
statusCode: number;
|
|
3408
|
+
};
|
|
3409
|
+
};
|
|
3410
|
+
};
|
|
3411
|
+
};
|
|
3412
|
+
};
|
|
3413
|
+
CreateTag: {
|
|
3414
|
+
parameters: {
|
|
3415
|
+
query?: never;
|
|
3416
|
+
header?: never;
|
|
3417
|
+
path?: never;
|
|
3418
|
+
cookie?: never;
|
|
3419
|
+
};
|
|
3420
|
+
requestBody: {
|
|
3421
|
+
content: {
|
|
3422
|
+
"application/json": {
|
|
3423
|
+
/** @description Display name of the tag */
|
|
3424
|
+
label: string;
|
|
3425
|
+
/**
|
|
3426
|
+
* Format: uuid
|
|
3427
|
+
* @description Parent tag id (omit for root-level tag)
|
|
3428
|
+
*/
|
|
3429
|
+
parentTagId?: string;
|
|
3430
|
+
};
|
|
3431
|
+
};
|
|
3432
|
+
};
|
|
3433
|
+
responses: {
|
|
3434
|
+
/** @description Default Response */
|
|
3435
|
+
201: {
|
|
3436
|
+
headers: {
|
|
3437
|
+
[name: string]: unknown;
|
|
3438
|
+
};
|
|
3439
|
+
content: {
|
|
3440
|
+
"application/json": {
|
|
3441
|
+
data: {
|
|
3442
|
+
/**
|
|
3443
|
+
* Format: uuid
|
|
3444
|
+
* @description Unique Id of the created tag
|
|
3445
|
+
*/
|
|
3446
|
+
id: string;
|
|
3447
|
+
};
|
|
3448
|
+
metadata?: {
|
|
3449
|
+
/** @description Object containing the links to the related endpoints */
|
|
3450
|
+
links?: {
|
|
3451
|
+
self: {
|
|
3452
|
+
/** @description URL pointing to the request itself */
|
|
3453
|
+
href?: string;
|
|
3454
|
+
};
|
|
3455
|
+
next?: {
|
|
3456
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3457
|
+
href?: string;
|
|
3458
|
+
};
|
|
3459
|
+
prev?: {
|
|
3460
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3461
|
+
href?: string;
|
|
3462
|
+
};
|
|
3463
|
+
first: {
|
|
3464
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3465
|
+
href?: string;
|
|
3466
|
+
};
|
|
3467
|
+
last: {
|
|
3468
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3469
|
+
href?: string;
|
|
3470
|
+
};
|
|
3471
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
3472
|
+
pages: {
|
|
3473
|
+
[key: string]: {
|
|
3474
|
+
href?: string;
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
};
|
|
3478
|
+
/** @description Number representing the total number of available items */
|
|
3479
|
+
totalCount?: number;
|
|
3480
|
+
};
|
|
3481
|
+
};
|
|
3482
|
+
};
|
|
3483
|
+
};
|
|
3484
|
+
/** @description Default Response */
|
|
3485
|
+
"4XX": {
|
|
3486
|
+
headers: {
|
|
3487
|
+
[name: string]: unknown;
|
|
3488
|
+
};
|
|
3489
|
+
content: {
|
|
3490
|
+
"application/json": {
|
|
3491
|
+
/** @description Code used to categorize the error */
|
|
3492
|
+
code: string;
|
|
3493
|
+
/** @description Description of the error */
|
|
3494
|
+
detail: string;
|
|
3495
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3496
|
+
requestId: string;
|
|
3497
|
+
/** @description Name of the error type */
|
|
3498
|
+
name: string;
|
|
3499
|
+
/** @description List of the validation errors */
|
|
3500
|
+
validation?: {
|
|
3501
|
+
fieldName: string;
|
|
3502
|
+
message: string;
|
|
3503
|
+
}[];
|
|
3504
|
+
validationContext?: string;
|
|
3505
|
+
statusCode: number;
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3508
|
+
};
|
|
3509
|
+
/** @description Default Response */
|
|
3510
|
+
"5XX": {
|
|
3511
|
+
headers: {
|
|
3512
|
+
[name: string]: unknown;
|
|
3513
|
+
};
|
|
3514
|
+
content: {
|
|
3515
|
+
"application/json": {
|
|
3516
|
+
/** @description Code used to categorize the error */
|
|
3517
|
+
code: string;
|
|
3518
|
+
/** @description Description of the error */
|
|
3519
|
+
detail: string;
|
|
3520
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3521
|
+
requestId: string;
|
|
3522
|
+
/** @description Name of the error type */
|
|
3523
|
+
name: string;
|
|
3524
|
+
/** @description List of the validation errors */
|
|
3525
|
+
validation?: {
|
|
3526
|
+
fieldName: string;
|
|
3527
|
+
message: string;
|
|
3528
|
+
}[];
|
|
3529
|
+
validationContext?: string;
|
|
3530
|
+
statusCode: number;
|
|
3531
|
+
};
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3534
|
+
};
|
|
3535
|
+
};
|
|
3536
|
+
GetTagTree: {
|
|
3537
|
+
parameters: {
|
|
3538
|
+
query?: never;
|
|
3539
|
+
header?: never;
|
|
3540
|
+
path?: never;
|
|
3541
|
+
cookie?: never;
|
|
3542
|
+
};
|
|
3543
|
+
requestBody?: never;
|
|
3544
|
+
responses: {
|
|
3545
|
+
/** @description Default Response */
|
|
3546
|
+
200: {
|
|
3547
|
+
headers: {
|
|
3548
|
+
[name: string]: unknown;
|
|
3549
|
+
};
|
|
3550
|
+
content: {
|
|
3551
|
+
"application/json": {
|
|
3552
|
+
data: {
|
|
3553
|
+
/** Format: uuid */
|
|
3554
|
+
id: string;
|
|
3555
|
+
label: string;
|
|
3556
|
+
/** @description Number of unread messages for the tag */
|
|
3557
|
+
unreadMessages: number;
|
|
3558
|
+
children: unknown[];
|
|
3559
|
+
}[];
|
|
3560
|
+
metadata?: {
|
|
3561
|
+
/** @description Object containing the links to the related endpoints */
|
|
3562
|
+
links?: {
|
|
3563
|
+
self: {
|
|
3564
|
+
/** @description URL pointing to the request itself */
|
|
3565
|
+
href?: string;
|
|
3566
|
+
};
|
|
3567
|
+
next?: {
|
|
3568
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3569
|
+
href?: string;
|
|
3570
|
+
};
|
|
3571
|
+
prev?: {
|
|
3572
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3573
|
+
href?: string;
|
|
3574
|
+
};
|
|
3575
|
+
first: {
|
|
3576
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3577
|
+
href?: string;
|
|
3578
|
+
};
|
|
3579
|
+
last: {
|
|
3580
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3581
|
+
href?: string;
|
|
3582
|
+
};
|
|
3583
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
3584
|
+
pages: {
|
|
3585
|
+
[key: string]: {
|
|
3586
|
+
href?: string;
|
|
3587
|
+
};
|
|
3588
|
+
};
|
|
3589
|
+
};
|
|
3590
|
+
/** @description Number representing the total number of available items */
|
|
3591
|
+
totalCount?: number;
|
|
3592
|
+
};
|
|
3593
|
+
};
|
|
3594
|
+
};
|
|
3595
|
+
};
|
|
3596
|
+
/** @description Default Response */
|
|
3597
|
+
"4XX": {
|
|
3598
|
+
headers: {
|
|
3599
|
+
[name: string]: unknown;
|
|
3600
|
+
};
|
|
3601
|
+
content: {
|
|
3602
|
+
"application/json": {
|
|
3603
|
+
/** @description Code used to categorize the error */
|
|
3604
|
+
code: string;
|
|
3605
|
+
/** @description Description of the error */
|
|
3606
|
+
detail: string;
|
|
3607
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3608
|
+
requestId: string;
|
|
3609
|
+
/** @description Name of the error type */
|
|
3610
|
+
name: string;
|
|
3611
|
+
/** @description List of the validation errors */
|
|
3612
|
+
validation?: {
|
|
3613
|
+
fieldName: string;
|
|
3614
|
+
message: string;
|
|
3615
|
+
}[];
|
|
3616
|
+
validationContext?: string;
|
|
3617
|
+
statusCode: number;
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
3621
|
+
/** @description Default Response */
|
|
3622
|
+
"5XX": {
|
|
3623
|
+
headers: {
|
|
3624
|
+
[name: string]: unknown;
|
|
3625
|
+
};
|
|
3626
|
+
content: {
|
|
3627
|
+
"application/json": {
|
|
3628
|
+
/** @description Code used to categorize the error */
|
|
3629
|
+
code: string;
|
|
3630
|
+
/** @description Description of the error */
|
|
3631
|
+
detail: string;
|
|
3632
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3633
|
+
requestId: string;
|
|
3634
|
+
/** @description Name of the error type */
|
|
3635
|
+
name: string;
|
|
3636
|
+
/** @description List of the validation errors */
|
|
3637
|
+
validation?: {
|
|
3638
|
+
fieldName: string;
|
|
3639
|
+
message: string;
|
|
3640
|
+
}[];
|
|
3641
|
+
validationContext?: string;
|
|
3642
|
+
statusCode: number;
|
|
3643
|
+
};
|
|
3644
|
+
};
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
};
|
|
3648
|
+
DeleteTag: {
|
|
3649
|
+
parameters: {
|
|
3650
|
+
query?: never;
|
|
3651
|
+
header?: never;
|
|
3652
|
+
path: {
|
|
3653
|
+
/** @description Unique Id of the tag */
|
|
3654
|
+
tagId: string;
|
|
3655
|
+
};
|
|
3656
|
+
cookie?: never;
|
|
3657
|
+
};
|
|
3658
|
+
requestBody?: never;
|
|
3659
|
+
responses: {
|
|
3660
|
+
/** @description Default Response */
|
|
3661
|
+
200: {
|
|
3662
|
+
headers: {
|
|
3663
|
+
[name: string]: unknown;
|
|
3664
|
+
};
|
|
3665
|
+
content: {
|
|
3666
|
+
"application/json": {
|
|
3667
|
+
data: {
|
|
3668
|
+
/** Format: uuid */
|
|
3669
|
+
id: string;
|
|
3670
|
+
};
|
|
3671
|
+
metadata?: {
|
|
3672
|
+
/** @description Object containing the links to the related endpoints */
|
|
3673
|
+
links?: {
|
|
3674
|
+
self: {
|
|
3675
|
+
/** @description URL pointing to the request itself */
|
|
3676
|
+
href?: string;
|
|
3677
|
+
};
|
|
3678
|
+
next?: {
|
|
3679
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3680
|
+
href?: string;
|
|
3681
|
+
};
|
|
3682
|
+
prev?: {
|
|
3683
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3684
|
+
href?: string;
|
|
3685
|
+
};
|
|
3686
|
+
first: {
|
|
3687
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3688
|
+
href?: string;
|
|
3689
|
+
};
|
|
3690
|
+
last: {
|
|
3691
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3692
|
+
href?: string;
|
|
3693
|
+
};
|
|
3694
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
3695
|
+
pages: {
|
|
3696
|
+
[key: string]: {
|
|
3697
|
+
href?: string;
|
|
3698
|
+
};
|
|
3699
|
+
};
|
|
3700
|
+
};
|
|
3701
|
+
/** @description Number representing the total number of available items */
|
|
3702
|
+
totalCount?: number;
|
|
3703
|
+
};
|
|
3704
|
+
};
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3707
|
+
/** @description Default Response */
|
|
3708
|
+
"4XX": {
|
|
3709
|
+
headers: {
|
|
3710
|
+
[name: string]: unknown;
|
|
3711
|
+
};
|
|
3712
|
+
content: {
|
|
3713
|
+
"application/json": {
|
|
3714
|
+
/** @description Code used to categorize the error */
|
|
3715
|
+
code: string;
|
|
3716
|
+
/** @description Description of the error */
|
|
3717
|
+
detail: string;
|
|
3718
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3719
|
+
requestId: string;
|
|
3720
|
+
/** @description Name of the error type */
|
|
3721
|
+
name: string;
|
|
3722
|
+
/** @description List of the validation errors */
|
|
3723
|
+
validation?: {
|
|
3724
|
+
fieldName: string;
|
|
3725
|
+
message: string;
|
|
3726
|
+
}[];
|
|
3727
|
+
validationContext?: string;
|
|
3728
|
+
statusCode: number;
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
};
|
|
3732
|
+
/** @description Default Response */
|
|
3733
|
+
"5XX": {
|
|
3734
|
+
headers: {
|
|
3735
|
+
[name: string]: unknown;
|
|
3736
|
+
};
|
|
3737
|
+
content: {
|
|
3738
|
+
"application/json": {
|
|
3739
|
+
/** @description Code used to categorize the error */
|
|
3740
|
+
code: string;
|
|
3741
|
+
/** @description Description of the error */
|
|
3742
|
+
detail: string;
|
|
3743
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3744
|
+
requestId: string;
|
|
3745
|
+
/** @description Name of the error type */
|
|
3746
|
+
name: string;
|
|
3747
|
+
/** @description List of the validation errors */
|
|
3748
|
+
validation?: {
|
|
3749
|
+
fieldName: string;
|
|
3750
|
+
message: string;
|
|
3751
|
+
}[];
|
|
3752
|
+
validationContext?: string;
|
|
3753
|
+
statusCode: number;
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3758
|
+
};
|
|
3759
|
+
UpdateTag: {
|
|
3760
|
+
parameters: {
|
|
3761
|
+
query?: never;
|
|
3762
|
+
header?: never;
|
|
3763
|
+
path: {
|
|
3764
|
+
/** @description Unique Id of the tag */
|
|
3765
|
+
tagId: string;
|
|
3766
|
+
};
|
|
3767
|
+
cookie?: never;
|
|
3768
|
+
};
|
|
3769
|
+
requestBody: {
|
|
3770
|
+
content: {
|
|
3771
|
+
"application/json": {
|
|
3772
|
+
/** @description New display name */
|
|
3773
|
+
label?: string;
|
|
3774
|
+
parentTagId?: string | null;
|
|
3775
|
+
};
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3778
|
+
responses: {
|
|
3779
|
+
/** @description Default Response */
|
|
3780
|
+
200: {
|
|
3781
|
+
headers: {
|
|
3782
|
+
[name: string]: unknown;
|
|
3783
|
+
};
|
|
3784
|
+
content: {
|
|
3785
|
+
"application/json": {
|
|
3786
|
+
data: {
|
|
3787
|
+
/** Format: uuid */
|
|
3788
|
+
id: string;
|
|
3789
|
+
};
|
|
3790
|
+
metadata?: {
|
|
3791
|
+
/** @description Object containing the links to the related endpoints */
|
|
3792
|
+
links?: {
|
|
3793
|
+
self: {
|
|
3794
|
+
/** @description URL pointing to the request itself */
|
|
3795
|
+
href?: string;
|
|
3796
|
+
};
|
|
3797
|
+
next?: {
|
|
3798
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3799
|
+
href?: string;
|
|
3800
|
+
};
|
|
3801
|
+
prev?: {
|
|
3802
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
3803
|
+
href?: string;
|
|
3804
|
+
};
|
|
3805
|
+
first: {
|
|
3806
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3807
|
+
href?: string;
|
|
3808
|
+
};
|
|
3809
|
+
last: {
|
|
3810
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
3811
|
+
href?: string;
|
|
3812
|
+
};
|
|
3813
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
3814
|
+
pages: {
|
|
3815
|
+
[key: string]: {
|
|
3816
|
+
href?: string;
|
|
3817
|
+
};
|
|
3818
|
+
};
|
|
3819
|
+
};
|
|
3820
|
+
/** @description Number representing the total number of available items */
|
|
3821
|
+
totalCount?: number;
|
|
3822
|
+
};
|
|
3823
|
+
};
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
/** @description Default Response */
|
|
3827
|
+
"4XX": {
|
|
3828
|
+
headers: {
|
|
3829
|
+
[name: string]: unknown;
|
|
3830
|
+
};
|
|
3831
|
+
content: {
|
|
3832
|
+
"application/json": {
|
|
3833
|
+
/** @description Code used to categorize the error */
|
|
3834
|
+
code: string;
|
|
3835
|
+
/** @description Description of the error */
|
|
3836
|
+
detail: string;
|
|
3837
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3838
|
+
requestId: string;
|
|
3839
|
+
/** @description Name of the error type */
|
|
3840
|
+
name: string;
|
|
3841
|
+
/** @description List of the validation errors */
|
|
3842
|
+
validation?: {
|
|
3843
|
+
fieldName: string;
|
|
3844
|
+
message: string;
|
|
3845
|
+
}[];
|
|
3846
|
+
validationContext?: string;
|
|
3847
|
+
statusCode: number;
|
|
3848
|
+
};
|
|
3849
|
+
};
|
|
3850
|
+
};
|
|
3851
|
+
/** @description Default Response */
|
|
3852
|
+
"5XX": {
|
|
3853
|
+
headers: {
|
|
3854
|
+
[name: string]: unknown;
|
|
3855
|
+
};
|
|
3856
|
+
content: {
|
|
3857
|
+
"application/json": {
|
|
3858
|
+
/** @description Code used to categorize the error */
|
|
3859
|
+
code: string;
|
|
3860
|
+
/** @description Description of the error */
|
|
3861
|
+
detail: string;
|
|
3862
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
3863
|
+
requestId: string;
|
|
3864
|
+
/** @description Name of the error type */
|
|
3865
|
+
name: string;
|
|
3866
|
+
/** @description List of the validation errors */
|
|
3867
|
+
validation?: {
|
|
3868
|
+
fieldName: string;
|
|
3869
|
+
message: string;
|
|
3870
|
+
}[];
|
|
3871
|
+
validationContext?: string;
|
|
3872
|
+
statusCode: number;
|
|
3873
|
+
};
|
|
3874
|
+
};
|
|
3875
|
+
};
|
|
3876
|
+
};
|
|
3877
|
+
};
|
|
3003
3878
|
}
|