@rlvt/contents-openapi-client 1.0.541 → 1.0.543
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/build/api.d.ts +108 -176
- package/build/api.js +34 -34
- package/build/definitions.d.ts +73 -64
- package/build/definitions.js +8 -8
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -9,6 +9,13 @@ export default class {
|
|
|
9
9
|
private getFontContentResource;
|
|
10
10
|
private updateFontContentResource;
|
|
11
11
|
private getFontTtf;
|
|
12
|
+
private listContentsWithDatasourceUsage;
|
|
13
|
+
private getUploadedContentResource;
|
|
14
|
+
private uploadContentResource;
|
|
15
|
+
private uploadContentResourceWithIdentifier;
|
|
16
|
+
private forwardContentResource;
|
|
17
|
+
private renderContent;
|
|
18
|
+
private listHierarchyContent;
|
|
12
19
|
private listContent;
|
|
13
20
|
private createContent;
|
|
14
21
|
private getContent;
|
|
@@ -16,13 +23,6 @@ export default class {
|
|
|
16
23
|
private deleteContent;
|
|
17
24
|
private duplicateContent;
|
|
18
25
|
private publishContent;
|
|
19
|
-
private listHierarchyContent;
|
|
20
|
-
private renderContent;
|
|
21
|
-
private getUploadedContentResource;
|
|
22
|
-
private uploadContentResource;
|
|
23
|
-
private uploadContentResourceWithIdentifier;
|
|
24
|
-
private forwardContentResource;
|
|
25
|
-
private listContentsWithDatasourceUsage;
|
|
26
26
|
get ContentResource(): {
|
|
27
27
|
listFonts: (params: {
|
|
28
28
|
ids?: string[] | undefined;
|
|
@@ -31,19 +31,11 @@ export default class {
|
|
|
31
31
|
} & {
|
|
32
32
|
data: {
|
|
33
33
|
family: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
readonly companyId: string & {
|
|
38
|
-
readonly?: "__readonly" | undefined;
|
|
39
|
-
};
|
|
34
|
+
id: string;
|
|
35
|
+
companyId: string;
|
|
40
36
|
resourceGroupIds: string[];
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
44
|
-
readonly updatedAt: string & {
|
|
45
|
-
readonly?: "__readonly" | undefined;
|
|
46
|
-
};
|
|
37
|
+
createdAt: string;
|
|
38
|
+
updatedAt: string;
|
|
47
39
|
type: "font";
|
|
48
40
|
files: {
|
|
49
41
|
[x: string]: string;
|
|
@@ -66,19 +58,11 @@ export default class {
|
|
|
66
58
|
} & {
|
|
67
59
|
data: {
|
|
68
60
|
family: string;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
readonly companyId: string & {
|
|
73
|
-
readonly?: "__readonly" | undefined;
|
|
74
|
-
};
|
|
61
|
+
id: string;
|
|
62
|
+
companyId: string;
|
|
75
63
|
resourceGroupIds: string[];
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
};
|
|
79
|
-
readonly updatedAt: string & {
|
|
80
|
-
readonly?: "__readonly" | undefined;
|
|
81
|
-
};
|
|
64
|
+
createdAt: string;
|
|
65
|
+
updatedAt: string;
|
|
82
66
|
type: "font";
|
|
83
67
|
files: {
|
|
84
68
|
[x: string]: string;
|
|
@@ -98,19 +82,11 @@ export default class {
|
|
|
98
82
|
} & {
|
|
99
83
|
data: {
|
|
100
84
|
family: string;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
};
|
|
104
|
-
readonly companyId: string & {
|
|
105
|
-
readonly?: "__readonly" | undefined;
|
|
106
|
-
};
|
|
85
|
+
id: string;
|
|
86
|
+
companyId: string;
|
|
107
87
|
resourceGroupIds: string[];
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
};
|
|
111
|
-
readonly updatedAt: string & {
|
|
112
|
-
readonly?: "__readonly" | undefined;
|
|
113
|
-
};
|
|
88
|
+
createdAt: string;
|
|
89
|
+
updatedAt: string;
|
|
114
90
|
type: "font";
|
|
115
91
|
files: {
|
|
116
92
|
[x: string]: string;
|
|
@@ -137,19 +113,11 @@ export default class {
|
|
|
137
113
|
} & {
|
|
138
114
|
data: {
|
|
139
115
|
family: string;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
};
|
|
143
|
-
readonly companyId: string & {
|
|
144
|
-
readonly?: "__readonly" | undefined;
|
|
145
|
-
};
|
|
116
|
+
id: string;
|
|
117
|
+
companyId: string;
|
|
146
118
|
resourceGroupIds: string[];
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
150
|
-
readonly updatedAt: string & {
|
|
151
|
-
readonly?: "__readonly" | undefined;
|
|
152
|
-
};
|
|
119
|
+
createdAt: string;
|
|
120
|
+
updatedAt: string;
|
|
153
121
|
type: "font";
|
|
154
122
|
files: {
|
|
155
123
|
[x: string]: string;
|
|
@@ -321,7 +289,47 @@ export default class {
|
|
|
321
289
|
};
|
|
322
290
|
}, any, {}>>;
|
|
323
291
|
};
|
|
292
|
+
get Usage(): {
|
|
293
|
+
listContentsWithDatasource: (params: {
|
|
294
|
+
id: string;
|
|
295
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
296
|
+
status: "success";
|
|
297
|
+
} & {
|
|
298
|
+
data: {
|
|
299
|
+
id: string;
|
|
300
|
+
fields: string[];
|
|
301
|
+
}[];
|
|
302
|
+
program: string;
|
|
303
|
+
version: string;
|
|
304
|
+
datetime: string;
|
|
305
|
+
status: string;
|
|
306
|
+
code?: number | undefined;
|
|
307
|
+
message: string;
|
|
308
|
+
}, any, {}>>;
|
|
309
|
+
};
|
|
324
310
|
get Content(): {
|
|
311
|
+
render: (params: {
|
|
312
|
+
id: string;
|
|
313
|
+
'x-rlvt-no-cache'?: boolean | undefined;
|
|
314
|
+
}, data: {
|
|
315
|
+
dependenciesData: {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
renderType?: string | undefined;
|
|
319
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
320
|
+
listHierarchy: (params: {
|
|
321
|
+
hierarchy?: string[] | undefined;
|
|
322
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
323
|
+
status: "success";
|
|
324
|
+
} & {
|
|
325
|
+
data: string[];
|
|
326
|
+
program: string;
|
|
327
|
+
version: string;
|
|
328
|
+
datetime: string;
|
|
329
|
+
status: string;
|
|
330
|
+
code?: number | undefined;
|
|
331
|
+
message: string;
|
|
332
|
+
}, any, {}>>;
|
|
325
333
|
list: (params: {
|
|
326
334
|
ids?: string[] | undefined;
|
|
327
335
|
name?: string | undefined;
|
|
@@ -351,20 +359,17 @@ export default class {
|
|
|
351
359
|
readonly?: "__readonly" | undefined;
|
|
352
360
|
};
|
|
353
361
|
id: string;
|
|
354
|
-
|
|
355
|
-
readonly?: "__readonly" | undefined;
|
|
356
|
-
};
|
|
362
|
+
companyId: string;
|
|
357
363
|
resourceGroupIds: string[];
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
};
|
|
361
|
-
readonly updatedAt: string & {
|
|
362
|
-
readonly?: "__readonly" | undefined;
|
|
363
|
-
};
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
364
366
|
name: string;
|
|
365
367
|
hierarchy: string[];
|
|
366
368
|
description?: string | undefined;
|
|
367
|
-
readonly
|
|
369
|
+
readonly archivedAt: string & {
|
|
370
|
+
readonly?: "__readonly" | undefined;
|
|
371
|
+
};
|
|
372
|
+
versions: {
|
|
368
373
|
id: string;
|
|
369
374
|
createdAt: string;
|
|
370
375
|
updatedAt: string;
|
|
@@ -510,9 +515,6 @@ export default class {
|
|
|
510
515
|
};
|
|
511
516
|
};
|
|
512
517
|
}[];
|
|
513
|
-
readonly archivedAt: string & {
|
|
514
|
-
readonly?: "__readonly" | undefined;
|
|
515
|
-
};
|
|
516
518
|
}[];
|
|
517
519
|
program: string;
|
|
518
520
|
version: string;
|
|
@@ -541,20 +543,17 @@ export default class {
|
|
|
541
543
|
readonly?: "__readonly" | undefined;
|
|
542
544
|
};
|
|
543
545
|
id: string;
|
|
544
|
-
|
|
545
|
-
readonly?: "__readonly" | undefined;
|
|
546
|
-
};
|
|
546
|
+
companyId: string;
|
|
547
547
|
resourceGroupIds: string[];
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
};
|
|
551
|
-
readonly updatedAt: string & {
|
|
552
|
-
readonly?: "__readonly" | undefined;
|
|
553
|
-
};
|
|
548
|
+
createdAt: string;
|
|
549
|
+
updatedAt: string;
|
|
554
550
|
name: string;
|
|
555
551
|
hierarchy: string[];
|
|
556
552
|
description?: string | undefined;
|
|
557
|
-
readonly
|
|
553
|
+
readonly archivedAt: string & {
|
|
554
|
+
readonly?: "__readonly" | undefined;
|
|
555
|
+
};
|
|
556
|
+
versions: {
|
|
558
557
|
id: string;
|
|
559
558
|
createdAt: string;
|
|
560
559
|
updatedAt: string;
|
|
@@ -700,9 +699,6 @@ export default class {
|
|
|
700
699
|
};
|
|
701
700
|
};
|
|
702
701
|
}[];
|
|
703
|
-
readonly archivedAt: string & {
|
|
704
|
-
readonly?: "__readonly" | undefined;
|
|
705
|
-
};
|
|
706
702
|
};
|
|
707
703
|
program: string;
|
|
708
704
|
version: string;
|
|
@@ -726,20 +722,17 @@ export default class {
|
|
|
726
722
|
readonly?: "__readonly" | undefined;
|
|
727
723
|
};
|
|
728
724
|
id: string;
|
|
729
|
-
|
|
730
|
-
readonly?: "__readonly" | undefined;
|
|
731
|
-
};
|
|
725
|
+
companyId: string;
|
|
732
726
|
resourceGroupIds: string[];
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
};
|
|
736
|
-
readonly updatedAt: string & {
|
|
737
|
-
readonly?: "__readonly" | undefined;
|
|
738
|
-
};
|
|
727
|
+
createdAt: string;
|
|
728
|
+
updatedAt: string;
|
|
739
729
|
name: string;
|
|
740
730
|
hierarchy: string[];
|
|
741
731
|
description?: string | undefined;
|
|
742
|
-
readonly
|
|
732
|
+
readonly archivedAt: string & {
|
|
733
|
+
readonly?: "__readonly" | undefined;
|
|
734
|
+
};
|
|
735
|
+
versions: {
|
|
743
736
|
id: string;
|
|
744
737
|
createdAt: string;
|
|
745
738
|
updatedAt: string;
|
|
@@ -885,9 +878,6 @@ export default class {
|
|
|
885
878
|
};
|
|
886
879
|
};
|
|
887
880
|
}[];
|
|
888
|
-
readonly archivedAt: string & {
|
|
889
|
-
readonly?: "__readonly" | undefined;
|
|
890
|
-
};
|
|
891
881
|
};
|
|
892
882
|
program: string;
|
|
893
883
|
version: string;
|
|
@@ -920,6 +910,9 @@ export default class {
|
|
|
920
910
|
name?: string | undefined;
|
|
921
911
|
hierarchy?: string[] | undefined;
|
|
922
912
|
description?: string | undefined;
|
|
913
|
+
readonly archivedAt?: (string & {
|
|
914
|
+
readonly?: "__readonly" | undefined;
|
|
915
|
+
}) | undefined;
|
|
923
916
|
readonly versions?: {
|
|
924
917
|
id: string;
|
|
925
918
|
createdAt: string;
|
|
@@ -1063,9 +1056,6 @@ export default class {
|
|
|
1063
1056
|
};
|
|
1064
1057
|
};
|
|
1065
1058
|
}[] | undefined;
|
|
1066
|
-
readonly archivedAt?: (string & {
|
|
1067
|
-
readonly?: "__readonly" | undefined;
|
|
1068
|
-
}) | undefined;
|
|
1069
1059
|
} & {
|
|
1070
1060
|
id?: string | undefined;
|
|
1071
1061
|
createdAt?: string | undefined;
|
|
@@ -1223,20 +1213,17 @@ export default class {
|
|
|
1223
1213
|
readonly?: "__readonly" | undefined;
|
|
1224
1214
|
};
|
|
1225
1215
|
id: string;
|
|
1226
|
-
|
|
1227
|
-
readonly?: "__readonly" | undefined;
|
|
1228
|
-
};
|
|
1216
|
+
companyId: string;
|
|
1229
1217
|
resourceGroupIds: string[];
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
};
|
|
1233
|
-
readonly updatedAt: string & {
|
|
1234
|
-
readonly?: "__readonly" | undefined;
|
|
1235
|
-
};
|
|
1218
|
+
createdAt: string;
|
|
1219
|
+
updatedAt: string;
|
|
1236
1220
|
name: string;
|
|
1237
1221
|
hierarchy: string[];
|
|
1238
1222
|
description?: string | undefined;
|
|
1239
|
-
readonly
|
|
1223
|
+
readonly archivedAt: string & {
|
|
1224
|
+
readonly?: "__readonly" | undefined;
|
|
1225
|
+
};
|
|
1226
|
+
versions: {
|
|
1240
1227
|
id: string;
|
|
1241
1228
|
createdAt: string;
|
|
1242
1229
|
updatedAt: string;
|
|
@@ -1382,9 +1369,6 @@ export default class {
|
|
|
1382
1369
|
};
|
|
1383
1370
|
};
|
|
1384
1371
|
}[];
|
|
1385
|
-
readonly archivedAt: string & {
|
|
1386
|
-
readonly?: "__readonly" | undefined;
|
|
1387
|
-
};
|
|
1388
1372
|
};
|
|
1389
1373
|
program: string;
|
|
1390
1374
|
version: string;
|
|
@@ -1423,20 +1407,17 @@ export default class {
|
|
|
1423
1407
|
readonly?: "__readonly" | undefined;
|
|
1424
1408
|
};
|
|
1425
1409
|
id: string;
|
|
1426
|
-
|
|
1427
|
-
readonly?: "__readonly" | undefined;
|
|
1428
|
-
};
|
|
1410
|
+
companyId: string;
|
|
1429
1411
|
resourceGroupIds: string[];
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
};
|
|
1433
|
-
readonly updatedAt: string & {
|
|
1434
|
-
readonly?: "__readonly" | undefined;
|
|
1435
|
-
};
|
|
1412
|
+
createdAt: string;
|
|
1413
|
+
updatedAt: string;
|
|
1436
1414
|
name: string;
|
|
1437
1415
|
hierarchy: string[];
|
|
1438
1416
|
description?: string | undefined;
|
|
1439
|
-
readonly
|
|
1417
|
+
readonly archivedAt: string & {
|
|
1418
|
+
readonly?: "__readonly" | undefined;
|
|
1419
|
+
};
|
|
1420
|
+
versions: {
|
|
1440
1421
|
id: string;
|
|
1441
1422
|
createdAt: string;
|
|
1442
1423
|
updatedAt: string;
|
|
@@ -1582,9 +1563,6 @@ export default class {
|
|
|
1582
1563
|
};
|
|
1583
1564
|
};
|
|
1584
1565
|
}[];
|
|
1585
|
-
readonly archivedAt: string & {
|
|
1586
|
-
readonly?: "__readonly" | undefined;
|
|
1587
|
-
};
|
|
1588
1566
|
};
|
|
1589
1567
|
program: string;
|
|
1590
1568
|
version: string;
|
|
@@ -1609,20 +1587,17 @@ export default class {
|
|
|
1609
1587
|
readonly?: "__readonly" | undefined;
|
|
1610
1588
|
};
|
|
1611
1589
|
id: string;
|
|
1612
|
-
|
|
1613
|
-
readonly?: "__readonly" | undefined;
|
|
1614
|
-
};
|
|
1590
|
+
companyId: string;
|
|
1615
1591
|
resourceGroupIds: string[];
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
};
|
|
1619
|
-
readonly updatedAt: string & {
|
|
1620
|
-
readonly?: "__readonly" | undefined;
|
|
1621
|
-
};
|
|
1592
|
+
createdAt: string;
|
|
1593
|
+
updatedAt: string;
|
|
1622
1594
|
name: string;
|
|
1623
1595
|
hierarchy: string[];
|
|
1624
1596
|
description?: string | undefined;
|
|
1625
|
-
readonly
|
|
1597
|
+
readonly archivedAt: string & {
|
|
1598
|
+
readonly?: "__readonly" | undefined;
|
|
1599
|
+
};
|
|
1600
|
+
versions: {
|
|
1626
1601
|
id: string;
|
|
1627
1602
|
createdAt: string;
|
|
1628
1603
|
updatedAt: string;
|
|
@@ -1768,9 +1743,6 @@ export default class {
|
|
|
1768
1743
|
};
|
|
1769
1744
|
};
|
|
1770
1745
|
}[];
|
|
1771
|
-
readonly archivedAt: string & {
|
|
1772
|
-
readonly?: "__readonly" | undefined;
|
|
1773
|
-
};
|
|
1774
1746
|
};
|
|
1775
1747
|
program: string;
|
|
1776
1748
|
version: string;
|
|
@@ -1779,45 +1751,5 @@ export default class {
|
|
|
1779
1751
|
code?: number | undefined;
|
|
1780
1752
|
message: string;
|
|
1781
1753
|
}, any, {}>>;
|
|
1782
|
-
listHierarchy: (params: {
|
|
1783
|
-
hierarchy?: string[] | undefined;
|
|
1784
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
1785
|
-
status: "success";
|
|
1786
|
-
} & {
|
|
1787
|
-
data: string[];
|
|
1788
|
-
program: string;
|
|
1789
|
-
version: string;
|
|
1790
|
-
datetime: string;
|
|
1791
|
-
status: string;
|
|
1792
|
-
code?: number | undefined;
|
|
1793
|
-
message: string;
|
|
1794
|
-
}, any, {}>>;
|
|
1795
|
-
render: (params: {
|
|
1796
|
-
id: string;
|
|
1797
|
-
'x-rlvt-no-cache'?: boolean | undefined;
|
|
1798
|
-
}, data: {
|
|
1799
|
-
dependenciesData: {
|
|
1800
|
-
[key: string]: unknown;
|
|
1801
|
-
};
|
|
1802
|
-
renderType?: string | undefined;
|
|
1803
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
1804
|
-
};
|
|
1805
|
-
get Usage(): {
|
|
1806
|
-
listContentsWithDatasource: (params: {
|
|
1807
|
-
id: string;
|
|
1808
|
-
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
1809
|
-
status: "success";
|
|
1810
|
-
} & {
|
|
1811
|
-
data: {
|
|
1812
|
-
id: string;
|
|
1813
|
-
fields: string[];
|
|
1814
|
-
}[];
|
|
1815
|
-
program: string;
|
|
1816
|
-
version: string;
|
|
1817
|
-
datetime: string;
|
|
1818
|
-
status: string;
|
|
1819
|
-
code?: number | undefined;
|
|
1820
|
-
message: string;
|
|
1821
|
-
}, any, {}>>;
|
|
1822
1754
|
};
|
|
1823
1755
|
}
|
package/build/api.js
CHANGED
|
@@ -44,6 +44,31 @@ class default_1 {
|
|
|
44
44
|
getFontTtf(params, options) {
|
|
45
45
|
return this.axios.get("/contents/fonts/file/{id}/{type}".replace(/{id}/, String(params["id"])).replace(/{type}/, String(params["type"])), options);
|
|
46
46
|
}
|
|
47
|
+
listContentsWithDatasourceUsage(params, options) {
|
|
48
|
+
return this.axios.get("/contents/usage/datasource/{id}".replace(/{id}/, String(params["id"])), options);
|
|
49
|
+
}
|
|
50
|
+
getUploadedContentResource(params, options) {
|
|
51
|
+
return this.axios.get("/contents/resources/upload/{namespace}/{identifier}".replace(/{namespace}/, String(params["namespace"])).replace(/{identifier}/, String(params["identifier"])), options);
|
|
52
|
+
}
|
|
53
|
+
uploadContentResource(params, data, options) {
|
|
54
|
+
return this.axios.post("/contents/resources/upload", data, options);
|
|
55
|
+
}
|
|
56
|
+
uploadContentResourceWithIdentifier(params, data, options) {
|
|
57
|
+
return this.axios.post("/contents/resources/upload/{id}".replace(/{id}/, String(params["id"])), data, options);
|
|
58
|
+
}
|
|
59
|
+
forwardContentResource(params, options) {
|
|
60
|
+
return this.axios.get("/contents/resources/forward/{url}".replace(/{url}/, String(params["url"])), options);
|
|
61
|
+
}
|
|
62
|
+
renderContent(params, data, options) {
|
|
63
|
+
return this.axios.post("/contents/render/{id}".replace(/{id}/, String(params["id"])), data, Object.assign({}, {
|
|
64
|
+
headers: pick(params, "x-rlvt-no-cache"),
|
|
65
|
+
}, options));
|
|
66
|
+
}
|
|
67
|
+
listHierarchyContent(params, options) {
|
|
68
|
+
return this.axios.get("/contents/hierarchy/values", Object.assign({}, {
|
|
69
|
+
params: pick(params, "hierarchy"),
|
|
70
|
+
}, options));
|
|
71
|
+
}
|
|
47
72
|
listContent(params, options) {
|
|
48
73
|
return this.axios.get("/contents", Object.assign({}, {
|
|
49
74
|
params: pick(params, "ids", "name", "resourceGroupIds", "status", "includeArchived", "sortBy", "sortOrder", "hierarchy", "includeLiveOnly", "select", "page", "perPage"),
|
|
@@ -71,31 +96,6 @@ class default_1 {
|
|
|
71
96
|
publishContent(params, data, options) {
|
|
72
97
|
return this.axios.post("/contents/{id}/publish".replace(/{id}/, String(params["id"])), data, options);
|
|
73
98
|
}
|
|
74
|
-
listHierarchyContent(params, options) {
|
|
75
|
-
return this.axios.get("/contents/hierarchy/values", Object.assign({}, {
|
|
76
|
-
params: pick(params, "hierarchy"),
|
|
77
|
-
}, options));
|
|
78
|
-
}
|
|
79
|
-
renderContent(params, data, options) {
|
|
80
|
-
return this.axios.post("/contents/render/{id}".replace(/{id}/, String(params["id"])), data, Object.assign({}, {
|
|
81
|
-
headers: pick(params, "x-rlvt-no-cache"),
|
|
82
|
-
}, options));
|
|
83
|
-
}
|
|
84
|
-
getUploadedContentResource(params, options) {
|
|
85
|
-
return this.axios.get("/contents/resources/upload/{namespace}/{identifier}".replace(/{namespace}/, String(params["namespace"])).replace(/{identifier}/, String(params["identifier"])), options);
|
|
86
|
-
}
|
|
87
|
-
uploadContentResource(params, data, options) {
|
|
88
|
-
return this.axios.post("/contents/resources/upload", data, options);
|
|
89
|
-
}
|
|
90
|
-
uploadContentResourceWithIdentifier(params, data, options) {
|
|
91
|
-
return this.axios.post("/contents/resources/upload/{id}".replace(/{id}/, String(params["id"])), data, options);
|
|
92
|
-
}
|
|
93
|
-
forwardContentResource(params, options) {
|
|
94
|
-
return this.axios.get("/contents/resources/forward/{url}".replace(/{url}/, String(params["url"])), options);
|
|
95
|
-
}
|
|
96
|
-
listContentsWithDatasourceUsage(params, options) {
|
|
97
|
-
return this.axios.get("/contents/usage/datasource/{id}".replace(/{id}/, String(params["id"])), options);
|
|
98
|
-
}
|
|
99
99
|
get ContentResource() {
|
|
100
100
|
return {
|
|
101
101
|
listFonts: this.listFontsContentResource.bind(this),
|
|
@@ -109,22 +109,22 @@ class default_1 {
|
|
|
109
109
|
forward: this.forwardContentResource.bind(this)
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
+
get Usage() {
|
|
113
|
+
return {
|
|
114
|
+
listContentsWithDatasource: this.listContentsWithDatasourceUsage.bind(this)
|
|
115
|
+
};
|
|
116
|
+
}
|
|
112
117
|
get Content() {
|
|
113
118
|
return {
|
|
119
|
+
render: this.renderContent.bind(this),
|
|
120
|
+
listHierarchy: this.listHierarchyContent.bind(this),
|
|
114
121
|
list: this.listContent.bind(this),
|
|
115
122
|
create: this.createContent.bind(this),
|
|
116
123
|
get: this.getContent.bind(this),
|
|
117
124
|
update: this.updateContent.bind(this),
|
|
118
125
|
delete: this.deleteContent.bind(this),
|
|
119
126
|
duplicate: this.duplicateContent.bind(this),
|
|
120
|
-
publish: this.publishContent.bind(this)
|
|
121
|
-
listHierarchy: this.listHierarchyContent.bind(this),
|
|
122
|
-
render: this.renderContent.bind(this)
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
get Usage() {
|
|
126
|
-
return {
|
|
127
|
-
listContentsWithDatasource: this.listContentsWithDatasourceUsage.bind(this)
|
|
127
|
+
publish: this.publishContent.bind(this)
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -137,4 +137,4 @@ function pick(obj, ...keys) {
|
|
|
137
137
|
});
|
|
138
138
|
return ret;
|
|
139
139
|
}
|
|
140
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
140
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRXBCLGtEQUFpRTtBQUdqRSxnREFBOEI7QUFFOUI7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQUMsZUFBSyxDQUFDLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBO0lBQ3hDLENBQUM7SUFFTyx3QkFBd0IsQ0FBQyxNQUVoQyxFQUFFLE9BQTRCO1FBQzNCLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBR2pCLGlCQUFpQixFQUNqQixNQUFNLENBQUMsTUFBTSxDQUNULEVBQUUsRUFDRjtZQUNJLE1BQU0sRUFBRSxJQUFJLENBQUMsTUFBTSxFQUFFLEtBQUssQ0FBQztTQUM5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BQyxJQUFJLENBQUM7WUFDL0IsTUFBTSxFQUFFLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUNyQyxNQUFNLEVBQUUsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1lBQ3JDLFNBQVMsRUFBRSxJQUFJLENBQUMsZ0JBQWdCLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQztZQUMzQyxPQUFPLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1NBQzFDLENBQUM7SUFDTixDQUFDO0NBQ0o7QUEzU0QsNEJBMlNDO0FBRUQsU0FBUyxJQUFJLENBQXVCLEdBQU0sRUFBRSxHQUFHLElBQVM7SUFDcEQsTUFBTSxHQUFHLEdBQWUsRUFBZ0IsQ0FBQztJQUN6QyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFO1FBQ2YsSUFBSSxHQUFHLElBQUksTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxRQUFRLENBQUMsR0FBYSxDQUFDO1lBQy9DLEdBQUcsQ0FBQyxHQUFHLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDNUIsQ0FBQyxDQUFDLENBQUM7SUFDSCxPQUFPLEdBQUcsQ0FBQztBQUNmLENBQUMifQ==
|
package/build/definitions.d.ts
CHANGED
|
@@ -17,12 +17,13 @@ declare type PropsWithoutWriteonly<T> = {
|
|
|
17
17
|
export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
|
|
18
18
|
[key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
|
|
19
19
|
} : never;
|
|
20
|
-
export declare type
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
export declare type ContentResource_Without_CompanyId_ResourceGroupIds_ToJSON = {};
|
|
21
|
+
export declare type SerializedContentResource = ContentResource_Without_CompanyId_ResourceGroupIds_ToJSON & {
|
|
22
|
+
id: string;
|
|
23
|
+
companyId: string;
|
|
23
24
|
resourceGroupIds: string[];
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
26
27
|
};
|
|
27
28
|
export declare type ContentFontResource_Without_CompanyId_ResourceGroupIds_ToJSON = {
|
|
28
29
|
type: "font";
|
|
@@ -91,6 +92,60 @@ export declare type InternalResponse = {
|
|
|
91
92
|
[key: string]: string[];
|
|
92
93
|
};
|
|
93
94
|
};
|
|
95
|
+
export declare type InternalResponse_Array_id_string_fields_Array_string = {
|
|
96
|
+
program: string;
|
|
97
|
+
version: string;
|
|
98
|
+
datetime: string;
|
|
99
|
+
status: string;
|
|
100
|
+
code?: number;
|
|
101
|
+
message: string;
|
|
102
|
+
data: {
|
|
103
|
+
id: string;
|
|
104
|
+
fields: string[];
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
export declare type InternalResponse_location_string_size_number = {
|
|
108
|
+
program: string;
|
|
109
|
+
version: string;
|
|
110
|
+
datetime: string;
|
|
111
|
+
status: string;
|
|
112
|
+
code?: number;
|
|
113
|
+
message: string;
|
|
114
|
+
data: {
|
|
115
|
+
location: string;
|
|
116
|
+
size: number;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export declare type InternalResponse_Array_string = {
|
|
120
|
+
program: string;
|
|
121
|
+
version: string;
|
|
122
|
+
datetime: string;
|
|
123
|
+
status: string;
|
|
124
|
+
code?: number;
|
|
125
|
+
message: string;
|
|
126
|
+
data: string[];
|
|
127
|
+
};
|
|
128
|
+
export declare enum ContentStatus {
|
|
129
|
+
DRAFT = "draft",
|
|
130
|
+
PUBLISHING = "publishing",
|
|
131
|
+
PUBLISHED = "published",
|
|
132
|
+
ERROR = "error"
|
|
133
|
+
}
|
|
134
|
+
export declare type ContentOptions = {
|
|
135
|
+
compression: boolean;
|
|
136
|
+
compressionThreshold: number;
|
|
137
|
+
};
|
|
138
|
+
export declare type Content_Without_CompanyId_ResourceGroupIds_ToJSON__id_Versions = {
|
|
139
|
+
name: string;
|
|
140
|
+
id: string;
|
|
141
|
+
createdAt?: string;
|
|
142
|
+
updatedAt?: string;
|
|
143
|
+
hierarchy: string[];
|
|
144
|
+
description?: string;
|
|
145
|
+
readonly status: (ContentStatus) & readonlyP;
|
|
146
|
+
readonly archivedAt: (string | null) & readonlyP;
|
|
147
|
+
options?: ContentOptions;
|
|
148
|
+
};
|
|
94
149
|
export declare enum ContentVersionState {
|
|
95
150
|
DRAFT = "draft",
|
|
96
151
|
LIVE = "live",
|
|
@@ -233,10 +288,10 @@ export declare type BaseTemplate = {
|
|
|
233
288
|
};
|
|
234
289
|
};
|
|
235
290
|
};
|
|
236
|
-
export declare type
|
|
237
|
-
createdAt: string;
|
|
238
|
-
updatedAt: string;
|
|
291
|
+
export declare type ContentVersion_Without_ToJSON__id = {
|
|
239
292
|
id: string;
|
|
293
|
+
createdAt?: string;
|
|
294
|
+
updatedAt?: string;
|
|
240
295
|
readonly state: (ContentVersionState) & readonlyP;
|
|
241
296
|
previewUrl?: string;
|
|
242
297
|
metadata?: {
|
|
@@ -244,29 +299,16 @@ export declare type SerializedContentVersions = {
|
|
|
244
299
|
};
|
|
245
300
|
template: BaseTemplate;
|
|
246
301
|
};
|
|
247
|
-
export declare
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
PUBLISHED = "published",
|
|
251
|
-
ERROR = "error"
|
|
252
|
-
}
|
|
253
|
-
export declare type ContentOptions = {
|
|
254
|
-
compression: boolean;
|
|
255
|
-
compressionThreshold: number;
|
|
302
|
+
export declare type SerializedContentVersions = ContentVersion_Without_ToJSON__id & {
|
|
303
|
+
createdAt: string;
|
|
304
|
+
updatedAt: string;
|
|
256
305
|
};
|
|
257
|
-
export declare type SerializedContent = {
|
|
258
|
-
|
|
306
|
+
export declare type SerializedContent = Content_Without_CompanyId_ResourceGroupIds_ToJSON__id_Versions & {
|
|
307
|
+
companyId: string;
|
|
259
308
|
resourceGroupIds: string[];
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
name: string;
|
|
264
|
-
id: string;
|
|
265
|
-
description?: string;
|
|
266
|
-
readonly status: (ContentStatus) & readonlyP;
|
|
267
|
-
readonly archivedAt: (string | null) & readonlyP;
|
|
268
|
-
options?: ContentOptions;
|
|
269
|
-
hierarchy: string[];
|
|
309
|
+
versions: SerializedContentVersions[];
|
|
310
|
+
createdAt: string;
|
|
311
|
+
updatedAt: string;
|
|
270
312
|
};
|
|
271
313
|
export declare type Content = SerializedContent;
|
|
272
314
|
export declare type InternalResponse_Array_Content = {
|
|
@@ -301,11 +343,11 @@ export declare type SerializedContent_Partial = {
|
|
|
301
343
|
readonly updatedAt?: (string) & readonlyP;
|
|
302
344
|
name?: string;
|
|
303
345
|
id?: string;
|
|
346
|
+
hierarchy?: string[];
|
|
304
347
|
description?: string;
|
|
305
348
|
readonly status?: (ContentStatus) & readonlyP;
|
|
306
|
-
readonly archivedAt?: (string) & readonlyP;
|
|
349
|
+
readonly archivedAt?: (string | null) & readonlyP;
|
|
307
350
|
options?: ContentOptions;
|
|
308
|
-
hierarchy?: string[];
|
|
309
351
|
};
|
|
310
352
|
export declare type SerializedContentVersions_Partial = {
|
|
311
353
|
createdAt?: string;
|
|
@@ -318,37 +360,4 @@ export declare type SerializedContentVersions_Partial = {
|
|
|
318
360
|
};
|
|
319
361
|
template?: BaseTemplate;
|
|
320
362
|
};
|
|
321
|
-
export declare type InternalResponse_Array_string = {
|
|
322
|
-
program: string;
|
|
323
|
-
version: string;
|
|
324
|
-
datetime: string;
|
|
325
|
-
status: string;
|
|
326
|
-
code?: number;
|
|
327
|
-
message: string;
|
|
328
|
-
data: string[];
|
|
329
|
-
};
|
|
330
|
-
export declare type InternalResponse_location_string_size_number = {
|
|
331
|
-
program: string;
|
|
332
|
-
version: string;
|
|
333
|
-
datetime: string;
|
|
334
|
-
status: string;
|
|
335
|
-
code?: number;
|
|
336
|
-
message: string;
|
|
337
|
-
data: {
|
|
338
|
-
location: string;
|
|
339
|
-
size: number;
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
export declare type InternalResponse_Array_id_string_fields_Array_string = {
|
|
343
|
-
program: string;
|
|
344
|
-
version: string;
|
|
345
|
-
datetime: string;
|
|
346
|
-
status: string;
|
|
347
|
-
code?: number;
|
|
348
|
-
message: string;
|
|
349
|
-
data: {
|
|
350
|
-
id: string;
|
|
351
|
-
fields: string[];
|
|
352
|
-
}[];
|
|
353
|
-
};
|
|
354
363
|
export {};
|
package/build/definitions.js
CHANGED
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
var ContentVersionState;
|
|
7
|
-
(function (ContentVersionState) {
|
|
8
|
-
ContentVersionState["DRAFT"] = "draft";
|
|
9
|
-
ContentVersionState["LIVE"] = "live";
|
|
10
|
-
ContentVersionState["INACTIVE"] = "inactive";
|
|
11
|
-
})(ContentVersionState = exports.ContentVersionState || (exports.ContentVersionState = {}));
|
|
5
|
+
exports.ContentVersionState = exports.ContentStatus = void 0;
|
|
12
6
|
var ContentStatus;
|
|
13
7
|
(function (ContentStatus) {
|
|
14
8
|
ContentStatus["DRAFT"] = "draft";
|
|
@@ -16,4 +10,10 @@ var ContentStatus;
|
|
|
16
10
|
ContentStatus["PUBLISHED"] = "published";
|
|
17
11
|
ContentStatus["ERROR"] = "error";
|
|
18
12
|
})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
|
|
19
|
-
|
|
13
|
+
var ContentVersionState;
|
|
14
|
+
(function (ContentVersionState) {
|
|
15
|
+
ContentVersionState["DRAFT"] = "draft";
|
|
16
|
+
ContentVersionState["LIVE"] = "live";
|
|
17
|
+
ContentVersionState["INACTIVE"] = "inactive";
|
|
18
|
+
})(ContentVersionState = exports.ContentVersionState || (exports.ContentVersionState = {}));
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBOElwQixJQUFZLGFBS1g7QUFMRCxXQUFZLGFBQWE7SUFDckIsZ0NBQWUsQ0FBQTtJQUNmLDBDQUF5QixDQUFBO0lBQ3pCLHdDQUF1QixDQUFBO0lBQ3ZCLGdDQUFlLENBQUE7QUFDbkIsQ0FBQyxFQUxXLGFBQWEsR0FBYixxQkFBYSxLQUFiLHFCQUFhLFFBS3hCO0FBa0JELElBQVksbUJBSVg7QUFKRCxXQUFZLG1CQUFtQjtJQUMzQixzQ0FBZSxDQUFBO0lBQ2Ysb0NBQWEsQ0FBQTtJQUNiLDRDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxtQkFBbUIsR0FBbkIsMkJBQW1CLEtBQW5CLDJCQUFtQixRQUk5QiJ9
|
package/package.json
CHANGED