@rlvt/contents-openapi-client 0.0.0-ea19968 → 0.0.0-efd4eaa
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 +29 -168
- package/build/api.js +2 -24
- package/build/definitions.d.ts +0 -34
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
2
|
import type { ContentStatus } from "./definitions";
|
|
3
|
-
export {
|
|
3
|
+
export { Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, AnyValue, Readable, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
7
|
-
private listContentFontResource;
|
|
8
|
-
private createContentFontResource;
|
|
9
|
-
private getContentFontResource;
|
|
10
|
-
private updateContentFontResource;
|
|
11
7
|
private listContent;
|
|
12
8
|
private createContent;
|
|
13
9
|
private getContent;
|
|
@@ -15,147 +11,12 @@ export default class {
|
|
|
15
11
|
private deleteContent;
|
|
16
12
|
private publishContent;
|
|
17
13
|
private renderContent;
|
|
18
|
-
get ContentResource(): {
|
|
19
|
-
listContentFontResource: (params: {
|
|
20
|
-
ids?: string[];
|
|
21
|
-
resourceGroupIds?: string[];
|
|
22
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
23
|
-
status: "success";
|
|
24
|
-
program: string;
|
|
25
|
-
version: string;
|
|
26
|
-
datetime: string;
|
|
27
|
-
code?: number;
|
|
28
|
-
message: string;
|
|
29
|
-
data: {
|
|
30
|
-
resourceGroupIds: string[];
|
|
31
|
-
readonly id: string & {
|
|
32
|
-
readonly?: "__readonly";
|
|
33
|
-
};
|
|
34
|
-
readonly createdAt: Date & {
|
|
35
|
-
readonly?: "__readonly";
|
|
36
|
-
};
|
|
37
|
-
readonly updatedAt: Date & {
|
|
38
|
-
readonly?: "__readonly";
|
|
39
|
-
};
|
|
40
|
-
family: string;
|
|
41
|
-
files: {
|
|
42
|
-
[x: string]: string;
|
|
43
|
-
};
|
|
44
|
-
readonly companyId: string & {
|
|
45
|
-
readonly?: "__readonly";
|
|
46
|
-
};
|
|
47
|
-
type: "font";
|
|
48
|
-
}[];
|
|
49
|
-
}>>;
|
|
50
|
-
createContentFontResource: (data: {
|
|
51
|
-
resourceGroupIds: string[];
|
|
52
|
-
family: string;
|
|
53
|
-
files: {
|
|
54
|
-
[x: string]: string;
|
|
55
|
-
};
|
|
56
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
57
|
-
status: "success";
|
|
58
|
-
program: string;
|
|
59
|
-
version: string;
|
|
60
|
-
datetime: string;
|
|
61
|
-
code?: number;
|
|
62
|
-
message: string;
|
|
63
|
-
data: {
|
|
64
|
-
resourceGroupIds: string[];
|
|
65
|
-
readonly id: string & {
|
|
66
|
-
readonly?: "__readonly";
|
|
67
|
-
};
|
|
68
|
-
readonly createdAt: Date & {
|
|
69
|
-
readonly?: "__readonly";
|
|
70
|
-
};
|
|
71
|
-
readonly updatedAt: Date & {
|
|
72
|
-
readonly?: "__readonly";
|
|
73
|
-
};
|
|
74
|
-
family: string;
|
|
75
|
-
files: {
|
|
76
|
-
[x: string]: string;
|
|
77
|
-
};
|
|
78
|
-
readonly companyId: string & {
|
|
79
|
-
readonly?: "__readonly";
|
|
80
|
-
};
|
|
81
|
-
type: "font";
|
|
82
|
-
};
|
|
83
|
-
}>>;
|
|
84
|
-
getContentFontResource: (params: {
|
|
85
|
-
id: string;
|
|
86
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
87
|
-
status: "success";
|
|
88
|
-
program: string;
|
|
89
|
-
version: string;
|
|
90
|
-
datetime: string;
|
|
91
|
-
code?: number;
|
|
92
|
-
message: string;
|
|
93
|
-
data: {
|
|
94
|
-
resourceGroupIds: string[];
|
|
95
|
-
readonly id: string & {
|
|
96
|
-
readonly?: "__readonly";
|
|
97
|
-
};
|
|
98
|
-
readonly createdAt: Date & {
|
|
99
|
-
readonly?: "__readonly";
|
|
100
|
-
};
|
|
101
|
-
readonly updatedAt: Date & {
|
|
102
|
-
readonly?: "__readonly";
|
|
103
|
-
};
|
|
104
|
-
family: string;
|
|
105
|
-
files: {
|
|
106
|
-
[x: string]: string;
|
|
107
|
-
};
|
|
108
|
-
readonly companyId: string & {
|
|
109
|
-
readonly?: "__readonly";
|
|
110
|
-
};
|
|
111
|
-
type: "font";
|
|
112
|
-
};
|
|
113
|
-
}>>;
|
|
114
|
-
updateContentFontResource: (params: {
|
|
115
|
-
id: string;
|
|
116
|
-
}, data: {
|
|
117
|
-
resourceGroupIds?: string[];
|
|
118
|
-
family?: string;
|
|
119
|
-
files?: {
|
|
120
|
-
[x: string]: string;
|
|
121
|
-
};
|
|
122
|
-
type?: "font";
|
|
123
|
-
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
124
|
-
status: "success";
|
|
125
|
-
program: string;
|
|
126
|
-
version: string;
|
|
127
|
-
datetime: string;
|
|
128
|
-
code?: number;
|
|
129
|
-
message: string;
|
|
130
|
-
data: {
|
|
131
|
-
resourceGroupIds: string[];
|
|
132
|
-
readonly id: string & {
|
|
133
|
-
readonly?: "__readonly";
|
|
134
|
-
};
|
|
135
|
-
readonly createdAt: Date & {
|
|
136
|
-
readonly?: "__readonly";
|
|
137
|
-
};
|
|
138
|
-
readonly updatedAt: Date & {
|
|
139
|
-
readonly?: "__readonly";
|
|
140
|
-
};
|
|
141
|
-
family: string;
|
|
142
|
-
files: {
|
|
143
|
-
[x: string]: string;
|
|
144
|
-
};
|
|
145
|
-
readonly companyId: string & {
|
|
146
|
-
readonly?: "__readonly";
|
|
147
|
-
};
|
|
148
|
-
type: "font";
|
|
149
|
-
};
|
|
150
|
-
}>>;
|
|
151
|
-
};
|
|
152
14
|
get Content(): {
|
|
153
15
|
list: (params: {
|
|
154
|
-
ids?: string[];
|
|
155
16
|
name?: string;
|
|
156
17
|
resourceGroupIds?: string[];
|
|
157
18
|
status?: ContentStatus[];
|
|
158
|
-
sortBy?: "
|
|
19
|
+
sortBy?: "updatedAt" | "createdAt";
|
|
159
20
|
sortOrder?: "desc" | "asc";
|
|
160
21
|
page?: number;
|
|
161
22
|
perPage?: number;
|
|
@@ -171,17 +32,14 @@ export default class {
|
|
|
171
32
|
message: string;
|
|
172
33
|
data: {
|
|
173
34
|
description?: string;
|
|
174
|
-
|
|
175
|
-
readonly id: string & {
|
|
35
|
+
readonly updatedAt: Date & {
|
|
176
36
|
readonly?: "__readonly";
|
|
177
37
|
};
|
|
178
38
|
readonly createdAt: Date & {
|
|
179
39
|
readonly?: "__readonly";
|
|
180
40
|
};
|
|
181
|
-
readonly updatedAt: Date & {
|
|
182
|
-
readonly?: "__readonly";
|
|
183
|
-
};
|
|
184
41
|
name: string;
|
|
42
|
+
resourceGroupIds: string[];
|
|
185
43
|
readonly status: (ContentStatus.DRAFT & {
|
|
186
44
|
readonly?: "__readonly";
|
|
187
45
|
}) | (ContentStatus.PUBLISHING & {
|
|
@@ -191,6 +49,9 @@ export default class {
|
|
|
191
49
|
}) | (ContentStatus.ERROR & {
|
|
192
50
|
readonly?: "__readonly";
|
|
193
51
|
});
|
|
52
|
+
readonly id: string & {
|
|
53
|
+
readonly?: "__readonly";
|
|
54
|
+
};
|
|
194
55
|
readonly companyId: string & {
|
|
195
56
|
readonly?: "__readonly";
|
|
196
57
|
};
|
|
@@ -303,8 +164,8 @@ export default class {
|
|
|
303
164
|
}>>;
|
|
304
165
|
create: (data: {
|
|
305
166
|
description?: string;
|
|
306
|
-
resourceGroupIds: string[];
|
|
307
167
|
name: string;
|
|
168
|
+
resourceGroupIds: string[];
|
|
308
169
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
309
170
|
status: "success";
|
|
310
171
|
program: string;
|
|
@@ -314,17 +175,14 @@ export default class {
|
|
|
314
175
|
message: string;
|
|
315
176
|
data: {
|
|
316
177
|
description?: string;
|
|
317
|
-
|
|
318
|
-
readonly id: string & {
|
|
178
|
+
readonly updatedAt: Date & {
|
|
319
179
|
readonly?: "__readonly";
|
|
320
180
|
};
|
|
321
181
|
readonly createdAt: Date & {
|
|
322
182
|
readonly?: "__readonly";
|
|
323
183
|
};
|
|
324
|
-
readonly updatedAt: Date & {
|
|
325
|
-
readonly?: "__readonly";
|
|
326
|
-
};
|
|
327
184
|
name: string;
|
|
185
|
+
resourceGroupIds: string[];
|
|
328
186
|
readonly status: (ContentStatus.DRAFT & {
|
|
329
187
|
readonly?: "__readonly";
|
|
330
188
|
}) | (ContentStatus.PUBLISHING & {
|
|
@@ -334,6 +192,9 @@ export default class {
|
|
|
334
192
|
}) | (ContentStatus.ERROR & {
|
|
335
193
|
readonly?: "__readonly";
|
|
336
194
|
});
|
|
195
|
+
readonly id: string & {
|
|
196
|
+
readonly?: "__readonly";
|
|
197
|
+
};
|
|
337
198
|
readonly companyId: string & {
|
|
338
199
|
readonly?: "__readonly";
|
|
339
200
|
};
|
|
@@ -455,17 +316,14 @@ export default class {
|
|
|
455
316
|
message: string;
|
|
456
317
|
data: {
|
|
457
318
|
description?: string;
|
|
458
|
-
|
|
459
|
-
readonly id: string & {
|
|
319
|
+
readonly updatedAt: Date & {
|
|
460
320
|
readonly?: "__readonly";
|
|
461
321
|
};
|
|
462
322
|
readonly createdAt: Date & {
|
|
463
323
|
readonly?: "__readonly";
|
|
464
324
|
};
|
|
465
|
-
readonly updatedAt: Date & {
|
|
466
|
-
readonly?: "__readonly";
|
|
467
|
-
};
|
|
468
325
|
name: string;
|
|
326
|
+
resourceGroupIds: string[];
|
|
469
327
|
readonly status: (ContentStatus.DRAFT & {
|
|
470
328
|
readonly?: "__readonly";
|
|
471
329
|
}) | (ContentStatus.PUBLISHING & {
|
|
@@ -475,6 +333,9 @@ export default class {
|
|
|
475
333
|
}) | (ContentStatus.ERROR & {
|
|
476
334
|
readonly?: "__readonly";
|
|
477
335
|
});
|
|
336
|
+
readonly id: string & {
|
|
337
|
+
readonly?: "__readonly";
|
|
338
|
+
};
|
|
478
339
|
readonly companyId: string & {
|
|
479
340
|
readonly?: "__readonly";
|
|
480
341
|
};
|
|
@@ -589,8 +450,8 @@ export default class {
|
|
|
589
450
|
id: string;
|
|
590
451
|
}, data: {
|
|
591
452
|
description?: string;
|
|
592
|
-
resourceGroupIds?: string[];
|
|
593
453
|
name?: string;
|
|
454
|
+
resourceGroupIds?: string[];
|
|
594
455
|
} & {
|
|
595
456
|
previewUrl?: string;
|
|
596
457
|
metadata?: {
|
|
@@ -697,17 +558,14 @@ export default class {
|
|
|
697
558
|
message: string;
|
|
698
559
|
data: {
|
|
699
560
|
description?: string;
|
|
700
|
-
|
|
701
|
-
readonly id: string & {
|
|
561
|
+
readonly updatedAt: Date & {
|
|
702
562
|
readonly?: "__readonly";
|
|
703
563
|
};
|
|
704
564
|
readonly createdAt: Date & {
|
|
705
565
|
readonly?: "__readonly";
|
|
706
566
|
};
|
|
707
|
-
readonly updatedAt: Date & {
|
|
708
|
-
readonly?: "__readonly";
|
|
709
|
-
};
|
|
710
567
|
name: string;
|
|
568
|
+
resourceGroupIds: string[];
|
|
711
569
|
readonly status: (ContentStatus.DRAFT & {
|
|
712
570
|
readonly?: "__readonly";
|
|
713
571
|
}) | (ContentStatus.PUBLISHING & {
|
|
@@ -717,6 +575,9 @@ export default class {
|
|
|
717
575
|
}) | (ContentStatus.ERROR & {
|
|
718
576
|
readonly?: "__readonly";
|
|
719
577
|
});
|
|
578
|
+
readonly id: string & {
|
|
579
|
+
readonly?: "__readonly";
|
|
580
|
+
};
|
|
720
581
|
readonly companyId: string & {
|
|
721
582
|
readonly?: "__readonly";
|
|
722
583
|
};
|
|
@@ -850,17 +711,14 @@ export default class {
|
|
|
850
711
|
message: string;
|
|
851
712
|
data: {
|
|
852
713
|
description?: string;
|
|
853
|
-
|
|
854
|
-
readonly id: string & {
|
|
714
|
+
readonly updatedAt: Date & {
|
|
855
715
|
readonly?: "__readonly";
|
|
856
716
|
};
|
|
857
717
|
readonly createdAt: Date & {
|
|
858
718
|
readonly?: "__readonly";
|
|
859
719
|
};
|
|
860
|
-
readonly updatedAt: Date & {
|
|
861
|
-
readonly?: "__readonly";
|
|
862
|
-
};
|
|
863
720
|
name: string;
|
|
721
|
+
resourceGroupIds: string[];
|
|
864
722
|
readonly status: (ContentStatus.DRAFT & {
|
|
865
723
|
readonly?: "__readonly";
|
|
866
724
|
}) | (ContentStatus.PUBLISHING & {
|
|
@@ -870,6 +728,9 @@ export default class {
|
|
|
870
728
|
}) | (ContentStatus.ERROR & {
|
|
871
729
|
readonly?: "__readonly";
|
|
872
730
|
});
|
|
731
|
+
readonly id: string & {
|
|
732
|
+
readonly?: "__readonly";
|
|
733
|
+
};
|
|
873
734
|
readonly companyId: string & {
|
|
874
735
|
readonly?: "__readonly";
|
|
875
736
|
};
|
package/build/api.js
CHANGED
|
@@ -15,23 +15,9 @@ class default_1 {
|
|
|
15
15
|
? configOrInstance
|
|
16
16
|
: axios_1.default.create(configOrInstance);
|
|
17
17
|
}
|
|
18
|
-
listContentFontResource(params, options) {
|
|
19
|
-
return this.axios.get("/contents/fonts", Object.assign({}, {
|
|
20
|
-
params: pick(params, "ids", "resourceGroupIds"),
|
|
21
|
-
}, options));
|
|
22
|
-
}
|
|
23
|
-
createContentFontResource(data, options) {
|
|
24
|
-
return this.axios.post("/contents/fonts", data, options);
|
|
25
|
-
}
|
|
26
|
-
getContentFontResource(params, options) {
|
|
27
|
-
return this.axios.get("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), options);
|
|
28
|
-
}
|
|
29
|
-
updateContentFontResource(params, data, options) {
|
|
30
|
-
return this.axios.patch("/contents/fonts/{id}".replace(/{id}/, String(params["id"])), data, options);
|
|
31
|
-
}
|
|
32
18
|
listContent(params, options) {
|
|
33
19
|
return this.axios.get("/contents", Object.assign({}, {
|
|
34
|
-
params: pick(params, "
|
|
20
|
+
params: pick(params, "name", "resourceGroupIds", "status", "sortBy", "sortOrder", "page", "perPage"),
|
|
35
21
|
}, options));
|
|
36
22
|
}
|
|
37
23
|
createContent(data, options) {
|
|
@@ -56,14 +42,6 @@ class default_1 {
|
|
|
56
42
|
headers: pick(params, "x-rlvt-no-cache"),
|
|
57
43
|
}, options));
|
|
58
44
|
}
|
|
59
|
-
get ContentResource() {
|
|
60
|
-
return {
|
|
61
|
-
listContentFontResource: this.listContentFontResource.bind(this),
|
|
62
|
-
createContentFontResource: this.createContentFontResource.bind(this),
|
|
63
|
-
getContentFontResource: this.getContentFontResource.bind(this),
|
|
64
|
-
updateContentFontResource: this.updateContentFontResource.bind(this)
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
45
|
get Content() {
|
|
68
46
|
return {
|
|
69
47
|
list: this.listContent.bind(this),
|
|
@@ -85,4 +63,4 @@ function pick(obj, ...keys) {
|
|
|
85
63
|
});
|
|
86
64
|
return ret;
|
|
87
65
|
}
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUFnUDtBQUE3Tiw0R0FBQSxhQUFhLE9BQUE7QUFFaEM7SUFHSSxZQUFZLGdCQUFvRDtRQUM1RCxJQUFJLENBQUMsS0FBSyxHQUFHLGNBQWMsSUFBSSxnQkFBZ0I7WUFDM0MsQ0FBQyxDQUFDLGdCQUFnQjtZQUNsQixDQUFDLENBQUMsZUFBSyx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
17
17
|
export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : {
|
|
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 SerializedContentResource = {
|
|
21
|
-
readonly id: (string) & readonlyP;
|
|
22
|
-
readonly companyId: (string) & readonlyP;
|
|
23
|
-
resourceGroupIds: string[];
|
|
24
|
-
readonly createdAt: (Date) & readonlyP;
|
|
25
|
-
readonly updatedAt: (Date) & readonlyP;
|
|
26
|
-
};
|
|
27
|
-
export declare type Pick_ContentFontResources_type_or_family_or_files_ = {
|
|
28
|
-
type: "font";
|
|
29
|
-
family: string;
|
|
30
|
-
files: {
|
|
31
|
-
[key: string]: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare type ContentFontResources = SerializedContentResource & Pick_ContentFontResources_type_or_family_or_files_;
|
|
35
|
-
export declare type Pick_SerializedContentFontResource_resourceGroupIds_or_family_or_files_ = {
|
|
36
|
-
resourceGroupIds: string[];
|
|
37
|
-
family: string;
|
|
38
|
-
files: {
|
|
39
|
-
[key: string]: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare type Partial_SerializedContentFontResource_ = {
|
|
43
|
-
readonly id?: (string) & readonlyP;
|
|
44
|
-
readonly companyId?: (string) & readonlyP;
|
|
45
|
-
resourceGroupIds?: string[];
|
|
46
|
-
readonly createdAt?: (Date) & readonlyP;
|
|
47
|
-
readonly updatedAt?: (Date) & readonlyP;
|
|
48
|
-
type?: "font";
|
|
49
|
-
family?: string;
|
|
50
|
-
files?: {
|
|
51
|
-
[key: string]: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
20
|
export declare enum ContentVersionState {
|
|
55
21
|
DRAFT = "draft",
|
|
56
22
|
LIVE = "live",
|
package/build/definitions.js
CHANGED
|
@@ -16,4 +16,4 @@ var ContentStatus;
|
|
|
16
16
|
ContentStatus["PUBLISHED"] = "published";
|
|
17
17
|
ContentStatus["ERROR"] = "error";
|
|
18
18
|
})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUF1SEQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
|
package/package.json
CHANGED