@teemill/blog 0.1.1
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/.openapi-generator/FILES +13 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/api.ts +828 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +545 -0
- package/dist/api.js +461 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +545 -0
- package/dist/esm/api.js +454 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blog API
|
|
3
|
+
* Read and write blogs on the PodOS platform. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.1
|
|
6
|
+
* Contact: hello@teemill.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiError
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiError
|
|
26
|
+
*/
|
|
27
|
+
'code'?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiError
|
|
32
|
+
*/
|
|
33
|
+
'message': string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface Blog
|
|
39
|
+
*/
|
|
40
|
+
export interface Blog {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Blog
|
|
45
|
+
*/
|
|
46
|
+
'id': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Blog
|
|
51
|
+
*/
|
|
52
|
+
'title': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Blog
|
|
57
|
+
*/
|
|
58
|
+
'slug': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Blog
|
|
63
|
+
*/
|
|
64
|
+
'description': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Blog
|
|
69
|
+
*/
|
|
70
|
+
'metaImage': string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Blog
|
|
75
|
+
*/
|
|
76
|
+
'publishedAt': string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Blog
|
|
81
|
+
*/
|
|
82
|
+
'createdAt': string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof Blog
|
|
87
|
+
*/
|
|
88
|
+
'updatedAt': string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof Blog
|
|
93
|
+
*/
|
|
94
|
+
'content': string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @export
|
|
99
|
+
* @interface BlogListing
|
|
100
|
+
*/
|
|
101
|
+
export interface BlogListing {
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BlogListing
|
|
106
|
+
*/
|
|
107
|
+
'id': string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof BlogListing
|
|
112
|
+
*/
|
|
113
|
+
'title': string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof BlogListing
|
|
118
|
+
*/
|
|
119
|
+
'slug': string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof BlogListing
|
|
124
|
+
*/
|
|
125
|
+
'description': string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof BlogListing
|
|
130
|
+
*/
|
|
131
|
+
'metaImage': string | null;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof BlogListing
|
|
136
|
+
*/
|
|
137
|
+
'publishedAt': string | null;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof BlogListing
|
|
142
|
+
*/
|
|
143
|
+
'createdAt': string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof BlogListing
|
|
148
|
+
*/
|
|
149
|
+
'updatedAt': string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
* @interface CreateBlogRequest
|
|
155
|
+
*/
|
|
156
|
+
export interface CreateBlogRequest {
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof CreateBlogRequest
|
|
161
|
+
*/
|
|
162
|
+
'title': string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof CreateBlogRequest
|
|
167
|
+
*/
|
|
168
|
+
'content': string;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof CreateBlogRequest
|
|
173
|
+
*/
|
|
174
|
+
'slug': string;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof CreateBlogRequest
|
|
179
|
+
*/
|
|
180
|
+
'description': string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof CreateBlogRequest
|
|
185
|
+
*/
|
|
186
|
+
'metaImage': string;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {boolean}
|
|
190
|
+
* @memberof CreateBlogRequest
|
|
191
|
+
*/
|
|
192
|
+
'published'?: boolean;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @export
|
|
197
|
+
* @interface ListBlogsResponse
|
|
198
|
+
*/
|
|
199
|
+
export interface ListBlogsResponse {
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {Array<BlogListing>}
|
|
203
|
+
* @memberof ListBlogsResponse
|
|
204
|
+
*/
|
|
205
|
+
'blogs': Array<BlogListing>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @export
|
|
210
|
+
* @interface UpdateBlogRequest
|
|
211
|
+
*/
|
|
212
|
+
export interface UpdateBlogRequest {
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof UpdateBlogRequest
|
|
217
|
+
*/
|
|
218
|
+
'title'?: string;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof UpdateBlogRequest
|
|
223
|
+
*/
|
|
224
|
+
'content'?: string;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof UpdateBlogRequest
|
|
229
|
+
*/
|
|
230
|
+
'slug'?: string;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof UpdateBlogRequest
|
|
235
|
+
*/
|
|
236
|
+
'description'?: string;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof UpdateBlogRequest
|
|
241
|
+
*/
|
|
242
|
+
'metaImage'?: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {boolean}
|
|
246
|
+
* @memberof UpdateBlogRequest
|
|
247
|
+
*/
|
|
248
|
+
'published'?: boolean;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* BlogApi - axios parameter creator
|
|
252
|
+
* @export
|
|
253
|
+
*/
|
|
254
|
+
export declare const BlogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @summary Create a blog
|
|
258
|
+
* @param {string} project
|
|
259
|
+
* @param {CreateBlogRequest} createBlogRequest
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
createBlog: (project: string, createBlogRequest: CreateBlogRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary Delete a blog
|
|
267
|
+
* @param {string} project
|
|
268
|
+
* @param {string} blogId
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
deleteBlog: (project: string, blogId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @summary Get a blog
|
|
276
|
+
* @param {string} project
|
|
277
|
+
* @param {string} blogId
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
getBlog: (project: string, blogId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @summary List blogs
|
|
285
|
+
* @param {string} project
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
listBlogs: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Update a blog
|
|
293
|
+
* @param {string} project
|
|
294
|
+
* @param {string} blogId
|
|
295
|
+
* @param {UpdateBlogRequest} updateBlogRequest
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
updateBlog: (project: string, blogId: string, updateBlogRequest: UpdateBlogRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* BlogApi - functional programming interface
|
|
303
|
+
* @export
|
|
304
|
+
*/
|
|
305
|
+
export declare const BlogApiFp: (configuration?: Configuration) => {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary Create a blog
|
|
309
|
+
* @param {string} project
|
|
310
|
+
* @param {CreateBlogRequest} createBlogRequest
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
createBlog(project: string, createBlogRequest: CreateBlogRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>>;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @summary Delete a blog
|
|
318
|
+
* @param {string} project
|
|
319
|
+
* @param {string} blogId
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
deleteBlog(project: string, blogId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @summary Get a blog
|
|
327
|
+
* @param {string} project
|
|
328
|
+
* @param {string} blogId
|
|
329
|
+
* @param {*} [options] Override http request option.
|
|
330
|
+
* @throws {RequiredError}
|
|
331
|
+
*/
|
|
332
|
+
getBlog(project: string, blogId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>>;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary List blogs
|
|
336
|
+
* @param {string} project
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
listBlogs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBlogsResponse>>;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary Update a blog
|
|
344
|
+
* @param {string} project
|
|
345
|
+
* @param {string} blogId
|
|
346
|
+
* @param {UpdateBlogRequest} updateBlogRequest
|
|
347
|
+
* @param {*} [options] Override http request option.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
*/
|
|
350
|
+
updateBlog(project: string, blogId: string, updateBlogRequest: UpdateBlogRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>>;
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* BlogApi - factory interface
|
|
354
|
+
* @export
|
|
355
|
+
*/
|
|
356
|
+
export declare const BlogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary Create a blog
|
|
360
|
+
* @param {BlogApiCreateBlogRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
createBlog(requestParameters: BlogApiCreateBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog>;
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary Delete a blog
|
|
368
|
+
* @param {BlogApiDeleteBlogRequest} requestParameters Request parameters.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
deleteBlog(requestParameters: BlogApiDeleteBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Get a blog
|
|
376
|
+
* @param {BlogApiGetBlogRequest} requestParameters Request parameters.
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
*/
|
|
380
|
+
getBlog(requestParameters: BlogApiGetBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog>;
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @summary List blogs
|
|
384
|
+
* @param {BlogApiListBlogsRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
*/
|
|
388
|
+
listBlogs(requestParameters: BlogApiListBlogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListBlogsResponse>;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @summary Update a blog
|
|
392
|
+
* @param {BlogApiUpdateBlogRequest} requestParameters Request parameters.
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
updateBlog(requestParameters: BlogApiUpdateBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog>;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Request parameters for createBlog operation in BlogApi.
|
|
400
|
+
* @export
|
|
401
|
+
* @interface BlogApiCreateBlogRequest
|
|
402
|
+
*/
|
|
403
|
+
export interface BlogApiCreateBlogRequest {
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof BlogApiCreateBlog
|
|
408
|
+
*/
|
|
409
|
+
readonly project: string;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {CreateBlogRequest}
|
|
413
|
+
* @memberof BlogApiCreateBlog
|
|
414
|
+
*/
|
|
415
|
+
readonly createBlogRequest: CreateBlogRequest;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Request parameters for deleteBlog operation in BlogApi.
|
|
419
|
+
* @export
|
|
420
|
+
* @interface BlogApiDeleteBlogRequest
|
|
421
|
+
*/
|
|
422
|
+
export interface BlogApiDeleteBlogRequest {
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @type {string}
|
|
426
|
+
* @memberof BlogApiDeleteBlog
|
|
427
|
+
*/
|
|
428
|
+
readonly project: string;
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof BlogApiDeleteBlog
|
|
433
|
+
*/
|
|
434
|
+
readonly blogId: string;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Request parameters for getBlog operation in BlogApi.
|
|
438
|
+
* @export
|
|
439
|
+
* @interface BlogApiGetBlogRequest
|
|
440
|
+
*/
|
|
441
|
+
export interface BlogApiGetBlogRequest {
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof BlogApiGetBlog
|
|
446
|
+
*/
|
|
447
|
+
readonly project: string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof BlogApiGetBlog
|
|
452
|
+
*/
|
|
453
|
+
readonly blogId: string;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Request parameters for listBlogs operation in BlogApi.
|
|
457
|
+
* @export
|
|
458
|
+
* @interface BlogApiListBlogsRequest
|
|
459
|
+
*/
|
|
460
|
+
export interface BlogApiListBlogsRequest {
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof BlogApiListBlogs
|
|
465
|
+
*/
|
|
466
|
+
readonly project: string;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Request parameters for updateBlog operation in BlogApi.
|
|
470
|
+
* @export
|
|
471
|
+
* @interface BlogApiUpdateBlogRequest
|
|
472
|
+
*/
|
|
473
|
+
export interface BlogApiUpdateBlogRequest {
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof BlogApiUpdateBlog
|
|
478
|
+
*/
|
|
479
|
+
readonly project: string;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof BlogApiUpdateBlog
|
|
484
|
+
*/
|
|
485
|
+
readonly blogId: string;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {UpdateBlogRequest}
|
|
489
|
+
* @memberof BlogApiUpdateBlog
|
|
490
|
+
*/
|
|
491
|
+
readonly updateBlogRequest: UpdateBlogRequest;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* BlogApi - object-oriented interface
|
|
495
|
+
* @export
|
|
496
|
+
* @class BlogApi
|
|
497
|
+
* @extends {BaseAPI}
|
|
498
|
+
*/
|
|
499
|
+
export declare class BlogApi extends BaseAPI {
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @summary Create a blog
|
|
503
|
+
* @param {BlogApiCreateBlogRequest} requestParameters Request parameters.
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
* @memberof BlogApi
|
|
507
|
+
*/
|
|
508
|
+
createBlog(requestParameters: BlogApiCreateBlogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Blog, any>>;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @summary Delete a blog
|
|
512
|
+
* @param {BlogApiDeleteBlogRequest} requestParameters Request parameters.
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
* @memberof BlogApi
|
|
516
|
+
*/
|
|
517
|
+
deleteBlog(requestParameters: BlogApiDeleteBlogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @summary Get a blog
|
|
521
|
+
* @param {BlogApiGetBlogRequest} requestParameters Request parameters.
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
* @memberof BlogApi
|
|
525
|
+
*/
|
|
526
|
+
getBlog(requestParameters: BlogApiGetBlogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Blog, any>>;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @summary List blogs
|
|
530
|
+
* @param {BlogApiListBlogsRequest} requestParameters Request parameters.
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
* @memberof BlogApi
|
|
534
|
+
*/
|
|
535
|
+
listBlogs(requestParameters: BlogApiListBlogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBlogsResponse, any>>;
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @summary Update a blog
|
|
539
|
+
* @param {BlogApiUpdateBlogRequest} requestParameters Request parameters.
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
* @memberof BlogApi
|
|
543
|
+
*/
|
|
544
|
+
updateBlog(requestParameters: BlogApiUpdateBlogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Blog, any>>;
|
|
545
|
+
}
|